vue-data-ui 2.3.84 → 2.3.85
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-Uk_vwKtL.cjs → Arrow-CLOh6oi7.cjs} +1 -1
- package/dist/{Arrow-CQ1ubni5.js → Arrow-JwDgP3de.js} +1 -1
- package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-BBQHz_Sf.cjs} +1 -1
- package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-BysUnfCR.js} +1 -1
- package/dist/{DataTable-C-iU_7h7.js → DataTable-MkG5Dqrn.js} +2 -2
- package/dist/{DataTable-CEtr89Og.cjs → DataTable-pVXaNplZ.cjs} +1 -1
- package/dist/{Legend-pU_BwhaW.js → Legend-KW7sTwN3.js} +1 -1
- package/dist/{Legend-D2ZBCCXe.cjs → Legend-k2mcTp7z.cjs} +1 -1
- package/dist/{Shape-CyM44biU.js → Shape-BFiZBf3X.js} +1 -1
- package/dist/{Shape-BO_KyCq8.cjs → Shape-COoEWeGM.cjs} +1 -1
- package/dist/{Slicer-CZobytqL.js → Slicer-CALc-Q4W.js} +2 -2
- package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-DCyxUSsn.cjs} +1 -1
- package/dist/{Title-B1_d29Eh.cjs → Title-BaKZYHEx.cjs} +1 -1
- package/dist/{Title-Bk3h09h9.js → Title-ISDbzCH8.js} +1 -1
- package/dist/{Tooltip-CdB80DsD.js → Tooltip-BHmMXOej.js} +1 -1
- package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-okAYzo5Y.cjs} +1 -1
- package/dist/{index-DI4DaxVG.js → index-BiuHBtkZ.js} +1 -1
- package/dist/{index-Cx-40Fnz.cjs → index-D-vy9N1v.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B9yDavuy.cjs} +1 -1
- package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-Ck5_RzLu.js} +1 -1
- package/dist/{usePrinter-D9bNzUQP.js → usePrinter-Do8KiK5h.js} +1 -1
- package/dist/{usePrinter-DbhL59iY.cjs → usePrinter-P4nLcXX-.cjs} +1 -1
- package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-CAl2KJv9.js} +57 -57
- package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-CVYCyzY-.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-lKgwKkVj.js → vue-ui-3d-bar-CploAEkY.js} +163 -163
- package/dist/vue-ui-3d-bar-DlUqKETN.cjs +19 -0
- package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-D2fhyKpk.js} +3 -3
- package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-btKAUUTu.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-CvSoQ1op.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-DkaM5MrK.js} +55 -55
- package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-38FBI0Pn.js} +1 -1
- package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-BMYk78DR.cjs} +1 -1
- package/dist/vue-ui-candlestick-BJulnyV3.cjs +2 -0
- package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CKsjq0Uw.js} +81 -81
- package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-Cx72LlTd.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-DjGaEuM7.js} +4 -4
- package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-DAiBfoPN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-TLyh4dIZ.js} +9 -9
- package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-B1xa5yua.js} +2 -2
- package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-BunDuWpK.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-CMZ736DL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-DdcubzWu.js} +2 -2
- package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-BUpjWWnD.js} +2 -2
- package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-z5g__gqs.cjs} +1 -1
- package/dist/vue-ui-donut-TY2Z9Ljx.cjs +1 -0
- package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-ZLpfm-XT.js} +73 -73
- package/dist/vue-ui-donut-evolution-BEm2dOxe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-Bn4asQO3.js} +81 -81
- package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-CY6X8J1K.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-D2R9tJ99.js} +21 -21
- package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-Dd5uPNTQ.js} +52 -52
- package/dist/vue-ui-flow-DswsuPwy.cjs +1 -0
- package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-B7CoWLhj.js} +85 -85
- package/dist/vue-ui-galaxy-Dxy6jzus.cjs +1 -0
- package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-CGh_m922.js} +61 -61
- package/dist/vue-ui-gauge-CWd_ol6u.cjs +1 -0
- package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-BY3hnKSH.js} +2 -2
- package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-D5Kn7w7L.cjs} +1 -1
- package/dist/vue-ui-heatmap-AUm42a1v.cjs +1 -0
- package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-yYN0u0I6.js} +150 -150
- package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-B4zr_geL.js} +3 -3
- package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-Q20yM3IP.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-GFSZofpE.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-GImbaGsN.js} +2 -2
- package/dist/vue-ui-molecule-C9FcDH4x.cjs +1 -0
- package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-DmrB3kgA.js} +54 -54
- package/dist/vue-ui-mood-radar-CRwStVTV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-sEkQtzI2.js} +100 -100
- package/dist/{vue-ui-nested-donuts-C3CMWjgk.cjs → vue-ui-nested-donuts-BcOgxtZV.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-DvpZLcYd.js} +43 -43
- package/dist/vue-ui-onion-C9v9YjdJ.cjs +5 -0
- package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-DQMLPe3M.js} +88 -88
- package/dist/vue-ui-parallel-coordinate-plot-BBuPdl2K.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-DN2LPNyS.js} +38 -38
- package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-D2GpeXI6.js} +49 -49
- package/dist/vue-ui-quadrant-ulY-rCMI.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-C5K9DfUV.js} +12 -12
- package/dist/vue-ui-quick-chart-DFj17h6h.cjs +15 -0
- package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-B9TZPujK.js} +42 -42
- package/dist/vue-ui-radar-KA287Tp-.cjs +1 -0
- package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-B0pNsmGB.js} +2 -2
- package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DpxzUDQq.cjs} +1 -1
- package/dist/vue-ui-relation-circle-D3B-lpdM.cjs +1 -0
- package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-DSnlpLHt.js} +54 -54
- package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-BuvFDBXg.js} +77 -77
- package/dist/vue-ui-rings-cmeFVitd.cjs +2 -0
- package/dist/vue-ui-scatter-BWPqoSUN.cjs +1 -0
- package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-D_chvOSJ.js} +51 -51
- package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-CwrXLMru.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-DSHeHshf.js} +1 -1
- package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-DJhwv2oY.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-Du4zw-c1.js} +2 -2
- package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-BNkk6suC.cjs} +1 -1
- package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BtQLJ7rA.js} +2 -2
- package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-BgA79g7a.js} +29 -29
- package/dist/vue-ui-spark-trend-DFIjxBTY.cjs +1 -0
- package/dist/vue-ui-sparkbar-BlwQfhlY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-DQAWZReF.js} +27 -27
- package/dist/vue-ui-sparkgauge-BCRSQDpt.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-CCApU38s.js} +22 -22
- package/dist/vue-ui-sparkhistogram-CTxG1Vtn.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-PKTt4EmH.js} +52 -52
- package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-BUaixngQ.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-EESAiZyt.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-TnLNixdf.js} +6 -6
- package/dist/vue-ui-sparkstackbar-iQnc0zcO.cjs +1 -0
- package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-Ci04sup3.js} +62 -62
- package/dist/vue-ui-stackbar-Rrcyg4CC.cjs +6 -0
- package/dist/vue-ui-strip-plot-CowHumiU.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-DbvW0BuF.js} +72 -72
- package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-328De4vk.cjs} +1 -1
- package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-CamkBCdL.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BnwiB4id.cjs → vue-ui-table-heatmap-CCHre3Gt.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-D-YdrvGV.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-Cmg7wnQ0.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Dg2RKv6f.js} +5 -5
- package/dist/vue-ui-thermometer-BDeKErC9.cjs +1 -0
- package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-jWHbZTc2.js} +47 -47
- package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-BPepr5eV.js} +4 -4
- package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-B_FyRAU7.cjs} +1 -1
- package/dist/vue-ui-tiremarks-CaJWlyz8.cjs +1 -0
- package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-DW8Q2IBl.js} +94 -94
- package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-B9GpvA0k.cjs} +1 -1
- package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-CWu43qLo.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-CndASePh.js} +178 -178
- package/dist/vue-ui-vertical-bar-a_41JdIn.cjs +4 -0
- package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-CdyqwJwN.js} +71 -71
- package/dist/vue-ui-waffle-c9ycdoKz.cjs +1 -0
- package/dist/vue-ui-wheel-B3BMfKmd.cjs +1 -0
- package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Byq_BLhl.js} +57 -57
- package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-BRxN5uFD.js} +107 -107
- package/dist/{vue-ui-word-cloud-D5JLdr9g.cjs → vue-ui-word-cloud-BVOcsuMP.cjs} +1 -1
- package/dist/vue-ui-xy-CsS5ny0q.cjs +3 -0
- package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-DgEdZz0O.js} +356 -361
- package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-BI7jUOTn.js} +10 -10
- package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Td0WNYN0.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
- package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
- package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
- package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
- package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
- package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
- package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
- package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
- package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
- package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
- package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
- package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
- package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
- package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
- package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
- package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
- package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
- package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
- package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
- package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
- package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
- package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
- package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
- package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
- package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
- package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
- package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import { useCssVars as Me, computed as h, ref as g, watch as be, onMounted as Se, openBlock as s, createElementBlock as n, normalizeClass as U, normalizeStyle as m, createBlock as Y, createCommentVNode as c, unref as i, createSlots as Ne, withCtx as k, renderSlot as x, normalizeProps as j, guardReactiveProps as W, Fragment as A, renderList as S, createElementVNode as u, toDisplayString as f, createVNode as me, withKeys as Oe, createTextVNode as Fe, nextTick as Ve } from "vue";
|
|
2
|
-
import { u as Pe, o as Ie, e as xe, c as
|
|
3
|
-
import { _ as Ye } from "./Title-
|
|
4
|
-
import { u as je, U as We } from "./usePrinter-
|
|
5
|
-
import { _ as qe } from "./Tooltip-
|
|
6
|
-
import Ke from "./vue-ui-skeleton-
|
|
7
|
-
import Je from "./BaseIcon-
|
|
8
|
-
import Qe from "./vue-ui-accordion-
|
|
9
|
-
import { u as we } from "./useNestedProp-
|
|
2
|
+
import { u as Pe, o as Ie, e as xe, c as le, t as Be, L as Re, g as Ee, M as ae, X as Ge, F as oe, i as F, f as N, v as z, x as Xe, y as He, q as De, r as Ue } from "./index-BiuHBtkZ.js";
|
|
3
|
+
import { _ as Ye } from "./Title-ISDbzCH8.js";
|
|
4
|
+
import { u as je, U as We } from "./usePrinter-Do8KiK5h.js";
|
|
5
|
+
import { _ as qe } from "./Tooltip-BHmMXOej.js";
|
|
6
|
+
import Ke from "./vue-ui-skeleton-Du4zw-c1.js";
|
|
7
|
+
import Je from "./BaseIcon-BysUnfCR.js";
|
|
8
|
+
import Qe from "./vue-ui-accordion-D2fhyKpk.js";
|
|
9
|
+
import { u as we } from "./useNestedProp-Ck5_RzLu.js";
|
|
10
10
|
import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
const
|
|
11
|
+
const et = ["id"], tt = {
|
|
12
|
+
key: 0,
|
|
13
|
+
style: "width:100%;background:transparent"
|
|
14
|
+
}, lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ot = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], st = ["font-size", "font-weight", "fill", "x", "y"], ut = ["x", "y", "width", "height", "onMouseover"], nt = { key: 0 }, it = ["font-size", "fill", "x", "y", "font-weight"], rt = { key: 0 }, vt = ["text-anchor", "font-size", "fill", "font-weight", "transform"], dt = { key: 1 }, yt = ["x", "y", "width", "height", "stroke", "stroke-width"], ct = { key: 2 }, ht = ["id"], gt = ["stop-color"], pt = ["stop-color"], ft = ["x", "y", "font-size", "fill"], bt = ["x", "y", "height", "rx", "fill"], mt = ["x", "y", "font-size", "fill"], xt = ["stroke", "x1", "x2", "y1", "y2"], wt = ["fill", "d"], _t = { key: 3 }, kt = {
|
|
12
15
|
id: "colorScaleHorizontal",
|
|
13
16
|
x1: "0%",
|
|
14
17
|
x2: "100%",
|
|
15
18
|
y1: "0%",
|
|
16
19
|
y2: "0%"
|
|
17
|
-
},
|
|
20
|
+
}, $t = ["stop-color"], Ct = ["stop-color"], Lt = ["x", "y", "width", "height", "rx"], At = ["x", "y", "font-size", "fill"], zt = ["x", "y", "font-size", "fill"], Tt = ["stroke", "x1", "x2", "y1", "y2"], Mt = ["fill", "d"], St = {
|
|
18
21
|
key: 3,
|
|
19
22
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
23
|
+
}, Nt = { class: "vue-ui-data-table" }, Ot = { key: 0 }, Ft = ["data-cell"], Vt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Pt = ["data-cell"], It = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Bt = {
|
|
21
24
|
__name: "vue-ui-heatmap",
|
|
22
25
|
props: {
|
|
23
26
|
config: {
|
|
@@ -35,32 +38,32 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
35
38
|
},
|
|
36
39
|
setup(G, { expose: _e }) {
|
|
37
40
|
const r = G;
|
|
38
|
-
Me((
|
|
39
|
-
"
|
|
41
|
+
Me((t) => ({
|
|
42
|
+
"512ee76b": t.tdo
|
|
40
43
|
}));
|
|
41
44
|
const { vue_ui_heatmap: ke } = Pe(), X = h(() => !!r.dataset && r.dataset.length);
|
|
42
45
|
Ie(r.dataset) && xe({
|
|
43
46
|
componentName: "VueUiHeatmap",
|
|
44
47
|
type: "dataset"
|
|
45
48
|
});
|
|
46
|
-
const V = g(
|
|
49
|
+
const V = g(le()), q = g(null), $e = g(null), K = g(!1), J = g(""), se = g(void 0), P = g(null), ue = g(0), ne = g(null), ie = g(!1), re = g(0), e = h({
|
|
47
50
|
get: () => ve(),
|
|
48
|
-
set: (
|
|
51
|
+
set: (t) => t
|
|
49
52
|
});
|
|
50
53
|
function ve() {
|
|
51
|
-
const
|
|
54
|
+
const t = we({
|
|
52
55
|
userConfig: r.config,
|
|
53
56
|
defaultConfig: ke
|
|
54
57
|
});
|
|
55
58
|
let a = {};
|
|
56
|
-
return
|
|
59
|
+
return t.theme ? a = {
|
|
57
60
|
...we({
|
|
58
|
-
userConfig: Be.vue_ui_heatmap[
|
|
59
|
-
defaultConfig:
|
|
61
|
+
userConfig: Be.vue_ui_heatmap[t.theme] || r.config,
|
|
62
|
+
defaultConfig: t
|
|
60
63
|
})
|
|
61
|
-
} : a =
|
|
64
|
+
} : a = t, r.config && Re(r.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = r.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
|
|
62
65
|
}
|
|
63
|
-
be(() => r.config, (
|
|
66
|
+
be(() => r.config, (t) => {
|
|
64
67
|
e.value = ve(), Q(), re.value += 1;
|
|
65
68
|
}, { deep: !0 }), be(() => r.dataset, () => {
|
|
66
69
|
Q();
|
|
@@ -83,35 +86,35 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
83
86
|
function Q() {
|
|
84
87
|
Le();
|
|
85
88
|
}
|
|
86
|
-
const O = h(() => Math.max(...r.dataset.flatMap((
|
|
87
|
-
const
|
|
89
|
+
const O = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))), _ = h(() => {
|
|
90
|
+
const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + r.dataset.length * e.value.style.layout.cells.height, a = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (O.value < r.dataset.length ? r.dataset.length : O.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);
|
|
88
91
|
return {
|
|
89
|
-
height:
|
|
92
|
+
height: t,
|
|
90
93
|
heightWithLegend: o,
|
|
91
94
|
width: a
|
|
92
95
|
};
|
|
93
|
-
}), H = h(() => e.value.style.legend.position),
|
|
96
|
+
}), H = h(() => e.value.style.legend.position), l = h(() => ({
|
|
94
97
|
top: e.value.style.layout.padding.top,
|
|
95
98
|
left: e.value.style.layout.padding.left,
|
|
96
99
|
right: _.value.width - e.value.style.layout.padding.right - (H.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
97
100
|
bottom: _.value.height - e.value.style.layout.padding.bottom,
|
|
98
101
|
height: _.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
99
102
|
width: _.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (H.value === "right" && e.value.style.legend.show ? 92 : 0)
|
|
100
|
-
})), Z = h(() => d.value.height * r.dataset.length), b = h(() => Math.max(...r.dataset.flatMap((
|
|
101
|
-
const
|
|
102
|
-
return
|
|
103
|
+
})), Z = h(() => d.value.height * r.dataset.length), b = h(() => Math.max(...r.dataset.flatMap((t) => t.values))), T = h(() => Math.min(...r.dataset.flatMap((t) => t.values))), M = h(() => {
|
|
104
|
+
const t = r.dataset.flatMap((o) => o.values);
|
|
105
|
+
return t.reduce((o, v) => o + v, 0) / t.length;
|
|
103
106
|
}), d = h(() => ({
|
|
104
|
-
width:
|
|
105
|
-
height:
|
|
107
|
+
width: l.value.width / O.value,
|
|
108
|
+
height: l.value.width / (O.value < r.dataset.length ? r.dataset.length : O.value)
|
|
106
109
|
})), $ = h(() => {
|
|
107
|
-
const
|
|
110
|
+
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : r.dataset.map((o) => o.name), a = e.value.style.layout.dataLabels.xAxis.values;
|
|
108
111
|
return {
|
|
109
|
-
yLabels:
|
|
112
|
+
yLabels: t,
|
|
110
113
|
xLabels: a.slice(0, O.value)
|
|
111
114
|
};
|
|
112
|
-
}), D = h(() => (r.dataset.forEach((
|
|
115
|
+
}), D = h(() => (r.dataset.forEach((t, a) => {
|
|
113
116
|
Ee({
|
|
114
|
-
datasetObject:
|
|
117
|
+
datasetObject: t,
|
|
115
118
|
requiredAttributes: ["values"]
|
|
116
119
|
}).forEach((o) => {
|
|
117
120
|
xe({
|
|
@@ -121,44 +124,44 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
121
124
|
index: a
|
|
122
125
|
});
|
|
123
126
|
});
|
|
124
|
-
}), r.dataset.map((
|
|
125
|
-
...
|
|
126
|
-
temperatures: (
|
|
127
|
+
}), r.dataset.map((t) => ({
|
|
128
|
+
...t,
|
|
129
|
+
temperatures: (t.values || []).map((a, o) => a >= M.value ? {
|
|
127
130
|
side: "up",
|
|
128
131
|
color: ae(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
|
|
129
132
|
ratio: Math.abs(Math.abs(a - M.value) / Math.abs(b.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(a - M.value) / Math.abs(b.value - M.value)),
|
|
130
133
|
value: a,
|
|
131
|
-
yAxisName:
|
|
134
|
+
yAxisName: t.name,
|
|
132
135
|
xAxisName: $.value.xLabels[o],
|
|
133
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
136
|
+
id: `vue-data-ui-heatmap-cell-${le()}`
|
|
134
137
|
} : {
|
|
135
138
|
side: "down",
|
|
136
139
|
ratio: Math.abs(1 - Math.abs(a) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(M.value)),
|
|
137
140
|
color: ae(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
|
|
138
141
|
value: a,
|
|
139
|
-
yAxisName:
|
|
142
|
+
yAxisName: t.name,
|
|
140
143
|
xAxisName: $.value.xLabels[o],
|
|
141
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
144
|
+
id: `vue-data-ui-heatmap-cell-${le()}`
|
|
142
145
|
})
|
|
143
146
|
})))), C = g(null), I = g(null);
|
|
144
|
-
function Ae(
|
|
147
|
+
function Ae(t, a, o, v) {
|
|
145
148
|
P.value = { x: o, y: v };
|
|
146
|
-
const { value: y, yAxisName: p, xAxisName: L, id: Te } =
|
|
149
|
+
const { value: y, yAxisName: p, xAxisName: L, id: Te } = t;
|
|
147
150
|
se.value = Te, C.value = y, I.value = {
|
|
148
|
-
datapoint:
|
|
151
|
+
datapoint: t,
|
|
149
152
|
seriesIndex: a,
|
|
150
153
|
series: D.value,
|
|
151
154
|
config: e.value
|
|
152
155
|
}, K.value = !0;
|
|
153
156
|
let ee = "";
|
|
154
|
-
const
|
|
155
|
-
Xe(
|
|
156
|
-
datapoint:
|
|
157
|
+
const te = e.value.style.tooltip.customFormat;
|
|
158
|
+
Xe(te) && He(() => te({
|
|
159
|
+
datapoint: t,
|
|
157
160
|
seriesIndex: a,
|
|
158
161
|
series: D.value,
|
|
159
162
|
config: e.value
|
|
160
|
-
})) ? J.value =
|
|
161
|
-
datapoint:
|
|
163
|
+
})) ? J.value = te({
|
|
164
|
+
datapoint: t,
|
|
162
165
|
seriesIndex: a,
|
|
163
166
|
series: D.value,
|
|
164
167
|
config: e.value
|
|
@@ -171,32 +174,32 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
171
174
|
s: e.value.style.layout.dataLabels.suffix,
|
|
172
175
|
r: e.value.style.tooltip.roundingValue
|
|
173
176
|
}),
|
|
174
|
-
{ datapoint:
|
|
177
|
+
{ datapoint: t, seriesIndex: a }
|
|
175
178
|
)}</span></div>`, J.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${ee}</div>`);
|
|
176
179
|
}
|
|
177
|
-
const B = h(() =>
|
|
180
|
+
const B = h(() => l.value.top + Z.value * (1 - C.value / b.value)), R = h(() => l.value.left + (_.value.width - l.value.left - e.value.style.layout.padding.right) * (C.value / b.value));
|
|
178
181
|
h(() => {
|
|
179
|
-
const
|
|
182
|
+
const t = r.dataset.map((o) => ({
|
|
180
183
|
name: o.name
|
|
181
184
|
})), a = r.dataset.map((o) => o.values);
|
|
182
|
-
return { head:
|
|
185
|
+
return { head: t, body: a };
|
|
183
186
|
});
|
|
184
187
|
function ge() {
|
|
185
188
|
Ve(() => {
|
|
186
|
-
const
|
|
189
|
+
const t = ["", ...r.dataset.map((y, p) => y.name)], a = [];
|
|
187
190
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
188
191
|
const p = [$.value.xLabels[y]];
|
|
189
192
|
for (let L = 0; L < r.dataset.length; L += 1)
|
|
190
193
|
p.push([r.dataset[L].values[y]]);
|
|
191
194
|
a.push(p);
|
|
192
195
|
}
|
|
193
|
-
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([
|
|
196
|
+
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), v = De(o);
|
|
194
197
|
Ue({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
195
198
|
});
|
|
196
199
|
}
|
|
197
200
|
const E = g(!1);
|
|
198
|
-
function ze(
|
|
199
|
-
E.value =
|
|
201
|
+
function ze(t) {
|
|
202
|
+
E.value = t, ue.value += 1;
|
|
200
203
|
}
|
|
201
204
|
function pe() {
|
|
202
205
|
w.value.showTable = !w.value.showTable;
|
|
@@ -210,17 +213,14 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
210
213
|
generateImage: he,
|
|
211
214
|
toggleTable: pe,
|
|
212
215
|
toggleTooltip: fe
|
|
213
|
-
}), (
|
|
216
|
+
}), (t, a) => (s(), n("div", {
|
|
214
217
|
ref_key: "heatmapChart",
|
|
215
218
|
ref: q,
|
|
216
219
|
class: U(`vue-ui-heatmap ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
217
220
|
style: m(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}`),
|
|
218
221
|
id: `heatmap__${V.value}`
|
|
219
222
|
}, [
|
|
220
|
-
e.value.style.title.text ? (s(), n("div",
|
|
221
|
-
key: 0,
|
|
222
|
-
style: m(`width:100%;background:${e.value.style.backgroundColor}`)
|
|
223
|
-
}, [
|
|
223
|
+
e.value.style.title.text ? (s(), n("div", tt, [
|
|
224
224
|
(s(), Y(Ye, {
|
|
225
225
|
key: `title_${re.value}`,
|
|
226
226
|
config: {
|
|
@@ -234,7 +234,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
}, null, 8, ["config"]))
|
|
237
|
-
]
|
|
237
|
+
])) : c("", !0),
|
|
238
238
|
e.value.userOptions.show && X.value ? (s(), Y(We, {
|
|
239
239
|
ref_key: "details",
|
|
240
240
|
ref: $e,
|
|
@@ -261,45 +261,45 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
261
261
|
onToggleTable: pe,
|
|
262
262
|
onToggleTooltip: fe
|
|
263
263
|
}, Ne({ _: 2 }, [
|
|
264
|
-
|
|
264
|
+
t.$slots.optionTooltip ? {
|
|
265
265
|
name: "optionTooltip",
|
|
266
266
|
fn: k(() => [
|
|
267
|
-
x(
|
|
267
|
+
x(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
268
268
|
]),
|
|
269
269
|
key: "0"
|
|
270
270
|
} : void 0,
|
|
271
|
-
|
|
271
|
+
t.$slots.optionPdf ? {
|
|
272
272
|
name: "optionPdf",
|
|
273
273
|
fn: k(() => [
|
|
274
|
-
x(
|
|
274
|
+
x(t.$slots, "optionPdf", {}, void 0, !0)
|
|
275
275
|
]),
|
|
276
276
|
key: "1"
|
|
277
277
|
} : void 0,
|
|
278
|
-
|
|
278
|
+
t.$slots.optionCsv ? {
|
|
279
279
|
name: "optionCsv",
|
|
280
280
|
fn: k(() => [
|
|
281
|
-
x(
|
|
281
|
+
x(t.$slots, "optionCsv", {}, void 0, !0)
|
|
282
282
|
]),
|
|
283
283
|
key: "2"
|
|
284
284
|
} : void 0,
|
|
285
|
-
|
|
285
|
+
t.$slots.optionImg ? {
|
|
286
286
|
name: "optionImg",
|
|
287
287
|
fn: k(() => [
|
|
288
|
-
x(
|
|
288
|
+
x(t.$slots, "optionImg", {}, void 0, !0)
|
|
289
289
|
]),
|
|
290
290
|
key: "3"
|
|
291
291
|
} : void 0,
|
|
292
|
-
|
|
292
|
+
t.$slots.optionTable ? {
|
|
293
293
|
name: "optionTable",
|
|
294
294
|
fn: k(() => [
|
|
295
|
-
x(
|
|
295
|
+
x(t.$slots, "optionTable", {}, void 0, !0)
|
|
296
296
|
]),
|
|
297
297
|
key: "4"
|
|
298
298
|
} : void 0,
|
|
299
|
-
|
|
299
|
+
t.$slots.optionFullscreen ? {
|
|
300
300
|
name: "optionFullscreen",
|
|
301
301
|
fn: k(({ toggleFullscreen: o, isFullscreen: v }) => [
|
|
302
|
-
x(
|
|
302
|
+
x(t.$slots, "optionFullscreen", j(W({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
|
|
303
303
|
]),
|
|
304
304
|
key: "5"
|
|
305
305
|
} : void 0
|
|
@@ -309,36 +309,36 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
309
309
|
xmlns: i(Ge),
|
|
310
310
|
class: U({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
311
311
|
viewBox: `0 0 ${_.value.width} ${_.value.heightWithLegend}`,
|
|
312
|
-
style: m(`max-width:100%;overflow:visible;background
|
|
312
|
+
style: m(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
313
313
|
}, [
|
|
314
314
|
(s(!0), n(A, null, S(D.value, (o, v) => (s(), n("g", null, [
|
|
315
315
|
(s(!0), n(A, null, S(o.temperatures, (y, p) => (s(), n("g", null, [
|
|
316
316
|
u("rect", {
|
|
317
|
-
x:
|
|
318
|
-
y:
|
|
317
|
+
x: l.value.left + d.value.width * p + e.value.style.layout.cells.spacing / 2,
|
|
318
|
+
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
319
319
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
320
320
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
321
321
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
322
322
|
stroke: e.value.style.backgroundColor,
|
|
323
323
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
324
|
-
}, null, 8,
|
|
324
|
+
}, null, 8, at),
|
|
325
325
|
u("rect", {
|
|
326
|
-
x:
|
|
327
|
-
y:
|
|
326
|
+
x: l.value.left + d.value.width * p + e.value.style.layout.cells.spacing / 2,
|
|
327
|
+
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
328
328
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
329
329
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
330
330
|
fill: y.color,
|
|
331
331
|
stroke: e.value.style.backgroundColor,
|
|
332
332
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
333
|
-
}, null, 8,
|
|
333
|
+
}, null, 8, ot),
|
|
334
334
|
e.value.style.layout.cells.value.show ? (s(), n("text", {
|
|
335
335
|
key: 0,
|
|
336
336
|
"text-anchor": "middle",
|
|
337
337
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
338
338
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
339
339
|
fill: i(oe)(y.color),
|
|
340
|
-
x:
|
|
341
|
-
y:
|
|
340
|
+
x: l.value.left + d.value.width * p + d.value.width / 2,
|
|
341
|
+
y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
342
342
|
}, f(i(F)(
|
|
343
343
|
e.value.style.layout.cells.value.formatter,
|
|
344
344
|
y.value,
|
|
@@ -349,34 +349,34 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
349
349
|
r: e.value.style.layout.cells.value.roundingValue
|
|
350
350
|
}),
|
|
351
351
|
{ datapoint: y }
|
|
352
|
-
)), 9,
|
|
352
|
+
)), 9, st)) : c("", !0)
|
|
353
353
|
]))), 256)),
|
|
354
354
|
(s(!0), n(A, null, S(o.temperatures, (y, p) => (s(), n("g", null, [
|
|
355
355
|
u("rect", {
|
|
356
|
-
x:
|
|
357
|
-
y:
|
|
356
|
+
x: l.value.left + d.value.width * p,
|
|
357
|
+
y: l.value.top + d.value.height * v,
|
|
358
358
|
width: d.value.width,
|
|
359
359
|
height: d.value.height,
|
|
360
360
|
fill: "transparent",
|
|
361
361
|
stroke: "none",
|
|
362
|
-
onMouseover: (L) => Ae(y, v,
|
|
362
|
+
onMouseover: (L) => Ae(y, v, l.value.left + d.value.width * p, l.value.top + d.value.height * v),
|
|
363
363
|
onMouseout: a[0] || (a[0] = (L) => {
|
|
364
364
|
K.value = !1, se.value = void 0, C.value = null, P.value = null;
|
|
365
365
|
})
|
|
366
|
-
}, null, 40,
|
|
366
|
+
}, null, 40, ut)
|
|
367
367
|
]))), 256)),
|
|
368
|
-
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g",
|
|
368
|
+
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", nt, [
|
|
369
369
|
u("text", {
|
|
370
370
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
371
371
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
372
|
-
x:
|
|
373
|
-
y:
|
|
372
|
+
x: l.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
|
|
373
|
+
y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
374
374
|
"text-anchor": "end",
|
|
375
375
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
376
|
-
}, f($.value.yLabels[v]), 9,
|
|
376
|
+
}, f($.value.yLabels[v]), 9, it)
|
|
377
377
|
])) : c("", !0)
|
|
378
378
|
]))), 256)),
|
|
379
|
-
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g",
|
|
379
|
+
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", rt, [
|
|
380
380
|
(s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n(A, null, [
|
|
381
381
|
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), n("text", {
|
|
382
382
|
key: 0,
|
|
@@ -384,11 +384,11 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
384
384
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
385
385
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
386
386
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
387
|
-
transform: `translate(${
|
|
388
|
-
}, f(o), 9,
|
|
387
|
+
transform: `translate(${l.value.left + d.value.width / 2 + l.value.width / $.value.xLabels.length * v + e.value.style.layout.dataLabels.xAxis.offsetX}, ${l.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
388
|
+
}, f(o), 9, vt)) : c("", !0)
|
|
389
389
|
], 64))), 256))
|
|
390
390
|
])) : c("", !0),
|
|
391
|
-
P.value ? (s(), n("g",
|
|
391
|
+
P.value ? (s(), n("g", dt, [
|
|
392
392
|
u("rect", {
|
|
393
393
|
style: { "pointer-events": "none" },
|
|
394
394
|
x: P.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
@@ -399,9 +399,9 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
399
399
|
stroke: e.value.style.layout.cells.selected.color,
|
|
400
400
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
401
401
|
rx: 1
|
|
402
|
-
}, null, 8,
|
|
402
|
+
}, null, 8, yt)
|
|
403
403
|
])) : c("", !0),
|
|
404
|
-
e.value.style.legend.show && H.value === "right" ? (s(), n("g",
|
|
404
|
+
e.value.style.legend.show && H.value === "right" ? (s(), n("g", ct, [
|
|
405
405
|
u("defs", null, [
|
|
406
406
|
u("linearGradient", {
|
|
407
407
|
id: `colorScaleVertical_${V.value}`,
|
|
@@ -411,16 +411,16 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
411
411
|
u("stop", {
|
|
412
412
|
offset: "0%",
|
|
413
413
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
414
|
-
}, null, 8,
|
|
414
|
+
}, null, 8, gt),
|
|
415
415
|
u("stop", {
|
|
416
416
|
offset: "100%",
|
|
417
417
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
418
|
-
}, null, 8,
|
|
419
|
-
], 8,
|
|
418
|
+
}, null, 8, pt)
|
|
419
|
+
], 8, ht)
|
|
420
420
|
]),
|
|
421
421
|
u("text", {
|
|
422
|
-
x:
|
|
423
|
-
y:
|
|
422
|
+
x: l.value.right + 36 + 18,
|
|
423
|
+
y: l.value.top - e.value.style.legend.fontSize * 1.5,
|
|
424
424
|
"text-anchor": "middle",
|
|
425
425
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
426
426
|
fill: e.value.style.legend.color
|
|
@@ -433,18 +433,18 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
433
433
|
s: e.value.style.layout.dataLabels.suffix,
|
|
434
434
|
r: e.value.style.legend.roundingValue
|
|
435
435
|
})
|
|
436
|
-
)), 9,
|
|
436
|
+
)), 9, ft),
|
|
437
437
|
u("rect", {
|
|
438
|
-
x:
|
|
439
|
-
y:
|
|
438
|
+
x: l.value.right + 36,
|
|
439
|
+
y: l.value.top,
|
|
440
440
|
width: 36,
|
|
441
441
|
height: Z.value,
|
|
442
442
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
443
443
|
fill: `url(#colorScaleVertical_${V.value})`
|
|
444
|
-
}, null, 8,
|
|
444
|
+
}, null, 8, bt),
|
|
445
445
|
u("text", {
|
|
446
|
-
x:
|
|
447
|
-
y:
|
|
446
|
+
x: l.value.right + 36 + 18,
|
|
447
|
+
y: l.value.top + Z.value + e.value.style.legend.fontSize * 2.5,
|
|
448
448
|
"text-anchor": "middle",
|
|
449
449
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
450
450
|
fill: e.value.style.legend.color
|
|
@@ -457,47 +457,47 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
457
457
|
s: e.value.style.layout.dataLabels.suffix,
|
|
458
458
|
r: e.value.style.legend.roundingValue
|
|
459
459
|
})
|
|
460
|
-
)), 9,
|
|
460
|
+
)), 9, mt),
|
|
461
461
|
C.value !== null ? (s(), n("line", {
|
|
462
462
|
key: 0,
|
|
463
463
|
stroke: i(oe)(I.value.datapoint.color),
|
|
464
464
|
"stroke-width": "2",
|
|
465
|
-
x1:
|
|
466
|
-
x2:
|
|
465
|
+
x1: l.value.right + 36,
|
|
466
|
+
x2: l.value.right + 72,
|
|
467
467
|
y1: B.value,
|
|
468
468
|
y2: B.value
|
|
469
|
-
}, null, 8,
|
|
469
|
+
}, null, 8, xt)) : c("", !0),
|
|
470
470
|
C.value !== null ? (s(), n("path", {
|
|
471
471
|
key: 1,
|
|
472
472
|
fill: e.value.style.color,
|
|
473
473
|
stroke: "none",
|
|
474
|
-
d: `M ${
|
|
475
|
-
}, null, 8,
|
|
474
|
+
d: `M ${l.value.right + 36},${B.value} ${l.value.right + 26},${B.value - 8} ${l.value.right + 26},${B.value + 8}z`
|
|
475
|
+
}, null, 8, wt)) : c("", !0)
|
|
476
476
|
])) : c("", !0),
|
|
477
|
-
e.value.style.legend.show && H.value === "bottom" ? (s(), n("g",
|
|
477
|
+
e.value.style.legend.show && H.value === "bottom" ? (s(), n("g", _t, [
|
|
478
478
|
u("defs", null, [
|
|
479
|
-
u("linearGradient",
|
|
479
|
+
u("linearGradient", kt, [
|
|
480
480
|
u("stop", {
|
|
481
481
|
offset: "0%",
|
|
482
482
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
483
|
-
}, null, 8,
|
|
483
|
+
}, null, 8, $t),
|
|
484
484
|
u("stop", {
|
|
485
485
|
offset: "100%",
|
|
486
486
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
487
|
-
}, null, 8,
|
|
487
|
+
}, null, 8, Ct)
|
|
488
488
|
])
|
|
489
489
|
]),
|
|
490
490
|
u("rect", {
|
|
491
|
-
x:
|
|
492
|
-
y:
|
|
493
|
-
width: _.value.width -
|
|
491
|
+
x: l.value.left,
|
|
492
|
+
y: l.value.bottom + e.value.style.layout.cells.height,
|
|
493
|
+
width: _.value.width - l.value.left - e.value.style.layout.padding.right,
|
|
494
494
|
height: e.value.style.layout.cells.height,
|
|
495
495
|
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,
|
|
496
496
|
fill: "url(#colorScaleHorizontal)"
|
|
497
|
-
}, null, 8,
|
|
497
|
+
}, null, 8, Lt),
|
|
498
498
|
u("text", {
|
|
499
|
-
x:
|
|
500
|
-
y:
|
|
499
|
+
x: l.value.left,
|
|
500
|
+
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
501
501
|
"text-anchor": "start",
|
|
502
502
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
503
503
|
fill: e.value.style.legend.color
|
|
@@ -510,10 +510,10 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
510
510
|
s: e.value.style.layout.dataLabels.suffix,
|
|
511
511
|
r: e.value.style.legend.roundingValue
|
|
512
512
|
})
|
|
513
|
-
)), 9,
|
|
513
|
+
)), 9, At),
|
|
514
514
|
u("text", {
|
|
515
|
-
x:
|
|
516
|
-
y:
|
|
515
|
+
x: l.value.right,
|
|
516
|
+
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
517
517
|
"text-anchor": "end",
|
|
518
518
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
519
519
|
fill: e.value.style.legend.color
|
|
@@ -526,27 +526,27 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
526
526
|
s: e.value.style.layout.dataLabels.suffix,
|
|
527
527
|
r: e.value.style.legend.roundingValue
|
|
528
528
|
})
|
|
529
|
-
)), 9,
|
|
529
|
+
)), 9, zt),
|
|
530
530
|
C.value !== null ? (s(), n("line", {
|
|
531
531
|
key: 0,
|
|
532
532
|
stroke: i(oe)(I.value.datapoint.color),
|
|
533
533
|
"stroke-width": "2",
|
|
534
534
|
x1: R.value,
|
|
535
535
|
x2: R.value,
|
|
536
|
-
y1:
|
|
537
|
-
y2:
|
|
538
|
-
}, null, 8,
|
|
536
|
+
y1: l.value.bottom + e.value.style.layout.cells.height,
|
|
537
|
+
y2: l.value.bottom + e.value.style.layout.cells.height * 2
|
|
538
|
+
}, null, 8, Tt)) : c("", !0),
|
|
539
539
|
C.value !== null ? (s(), n("path", {
|
|
540
540
|
key: 1,
|
|
541
541
|
fill: e.value.style.color,
|
|
542
542
|
stroke: "none",
|
|
543
|
-
d: `M ${R.value},${
|
|
544
|
-
}, null, 8,
|
|
543
|
+
d: `M ${R.value},${l.value.bottom + e.value.style.layout.cells.height} ${R.value - 12},${l.value.bottom + e.value.style.layout.cells.height - 20} ${R.value + 12},${l.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
544
|
+
}, null, 8, Mt)) : c("", !0)
|
|
545
545
|
])) : c("", !0),
|
|
546
|
-
x(
|
|
547
|
-
], 14,
|
|
548
|
-
|
|
549
|
-
x(
|
|
546
|
+
x(t.$slots, "svg", { svg: _.value }, void 0, !0)
|
|
547
|
+
], 14, lt)) : c("", !0),
|
|
548
|
+
t.$slots.watermark ? (s(), n("div", St, [
|
|
549
|
+
x(t.$slots, "watermark", j(W({ isPrinting: i(de) || i(ye) })), void 0, !0)
|
|
550
550
|
])) : c("", !0),
|
|
551
551
|
X.value ? c("", !0) : (s(), Y(Ke, {
|
|
552
552
|
key: 4,
|
|
@@ -576,10 +576,10 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
576
576
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
577
577
|
}, {
|
|
578
578
|
"tooltip-before": k(() => [
|
|
579
|
-
x(
|
|
579
|
+
x(t.$slots, "tooltip-before", j(W({ ...I.value })), void 0, !0)
|
|
580
580
|
]),
|
|
581
581
|
"tooltip-after": k(() => [
|
|
582
|
-
x(
|
|
582
|
+
x(t.$slots, "tooltip-after", j(W({ ...I.value })), void 0, !0)
|
|
583
583
|
]),
|
|
584
584
|
_: 3
|
|
585
585
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
@@ -622,12 +622,12 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
622
622
|
"stroke-width": 2
|
|
623
623
|
}, null, 8, ["stroke"])
|
|
624
624
|
], 36),
|
|
625
|
-
u("table",
|
|
625
|
+
u("table", Nt, [
|
|
626
626
|
u("caption", {
|
|
627
627
|
style: m(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
628
628
|
}, [
|
|
629
629
|
Fe(f(e.value.style.title.text) + " ", 1),
|
|
630
|
-
e.value.style.title.subtitle.text ? (s(), n("span",
|
|
630
|
+
e.value.style.title.subtitle.text ? (s(), n("span", Ot, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
631
631
|
], 4),
|
|
632
632
|
u("thead", null, [
|
|
633
633
|
u("tr", {
|
|
@@ -654,15 +654,15 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
654
654
|
class: "vue-ui-data-table__tbody__td",
|
|
655
655
|
style: m(`outline:${e.value.table.td.outline}`)
|
|
656
656
|
}, [
|
|
657
|
-
u("div",
|
|
658
|
-
], 12,
|
|
657
|
+
u("div", Vt, f(o), 1)
|
|
658
|
+
], 12, Ft),
|
|
659
659
|
(s(!0), n(A, null, S(G.dataset, (y, p) => (s(), n("td", {
|
|
660
660
|
class: "vue-ui-data-table__tbody__td",
|
|
661
661
|
"data-cell": G.dataset[p].name,
|
|
662
662
|
style: m(`outline:${e.value.table.td.outline}`)
|
|
663
663
|
}, [
|
|
664
|
-
u("div",
|
|
665
|
-
], 12,
|
|
664
|
+
u("div", It, f(isNaN(y.values[v]) ? "-" : i(N)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[v], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
665
|
+
], 12, Pt))), 256))
|
|
666
666
|
], 6))), 256))
|
|
667
667
|
])
|
|
668
668
|
])
|
|
@@ -671,9 +671,9 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
671
671
|
]),
|
|
672
672
|
_: 1
|
|
673
673
|
}, 8, ["config"])) : c("", !0)
|
|
674
|
-
], 14,
|
|
674
|
+
], 14, et));
|
|
675
675
|
}
|
|
676
|
-
},
|
|
676
|
+
}, qt = /* @__PURE__ */ Ze(Bt, [["__scopeId", "data-v-f6c2deec"]]);
|
|
677
677
|
export {
|
|
678
|
-
|
|
678
|
+
qt as default
|
|
679
679
|
};
|