vue-data-ui 2.3.84 → 2.3.86
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-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
- package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
- package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
- package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
- package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
- package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
- package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
- package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
- package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
- package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
- package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
- package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
- package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
- package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
- package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
- package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
- package/dist/index-CVgBMJU6.cjs +4 -0
- package/dist/{index-DI4DaxVG.js → index-D2epy0rJ.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
- package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-C_ZrJBd9.js} +1 -1
- package/dist/usePrinter-B6qtXaHk.js +527 -0
- package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
- package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
- package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-vegY0BJm.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
- package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
- package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
- package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
- package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
- package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
- package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
- package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
- package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
- package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
- package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
- package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
- package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
- package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
- package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
- package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
- package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
- package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
- package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
- package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
- package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
- package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
- package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
- package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
- package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
- package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
- package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
- package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
- package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
- package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
- package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
- package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
- package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
- package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
- package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
- package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
- package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
- package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
- package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
- package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
- package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
- package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
- package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
- package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
- package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
- package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
- package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
- package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
- package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
- package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
- package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
- package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
- package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
- package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
- package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
- package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
- package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
- package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
- package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
- package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
- package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
- package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
- package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
- package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
- package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
- package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
- package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
- package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
- package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
- package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
- package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
- package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
- package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
- package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
- package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
- package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
- package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
- package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
- package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
- package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
- package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
- package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
- package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-Cx-40Fnz.cjs +0 -4
- package/dist/usePrinter-D9bNzUQP.js +0 -513
- package/dist/usePrinter-DbhL59iY.cjs +0 -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-nested-donuts-C3CMWjgk.cjs +0 -17
- 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-table-heatmap-BnwiB4id.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-word-cloud-D5JLdr9g.cjs +0 -1
- package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import { useCssVars as Me, computed as h, ref as
|
|
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-
|
|
1
|
+
import { useCssVars as Me, computed as h, ref as p, 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 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-D2epy0rJ.js";
|
|
3
|
+
import { _ as Ye } from "./Title-DJ2FNrSN.js";
|
|
4
|
+
import { u as je, U as We } from "./usePrinter-B6qtXaHk.js";
|
|
5
|
+
import { _ as qe } from "./Tooltip-CQpXRqRC.js";
|
|
6
|
+
import Ke from "./vue-ui-skeleton-BLiYyX95.js";
|
|
7
|
+
import Je from "./BaseIcon-B9istAKo.js";
|
|
8
|
+
import Qe from "./vue-ui-accordion-DzTB2FL0.js";
|
|
9
|
+
import { u as we } from "./useNestedProp-C_ZrJBd9.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"], pt = ["stop-color"], gt = ["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
|
+
52850410: 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 =
|
|
49
|
+
const V = p(le()), q = p(null), $e = p(null), K = p(!1), J = p(""), se = p(void 0), P = p(null), ue = p(0), ne = p(null), ie = p(!1), re = p(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();
|
|
@@ -68,7 +71,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
68
71
|
const { isPrinting: de, isImaging: ye, generatePdf: ce, generateImage: he } = je({
|
|
69
72
|
elementId: `heatmap__${V.value}`,
|
|
70
73
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
71
|
-
}), w =
|
|
74
|
+
}), w = p({
|
|
72
75
|
showTable: e.value.table.show,
|
|
73
76
|
showTooltip: e.value.style.tooltip.show
|
|
74
77
|
}), Ce = h(() => e.value.table.responsiveBreakpoint);
|
|
@@ -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,48 +124,48 @@ 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
|
-
})))), C =
|
|
144
|
-
function Ae(
|
|
146
|
+
})))), C = p(null), I = p(null);
|
|
147
|
+
function Ae(t, a, o, v) {
|
|
145
148
|
P.value = { x: o, y: v };
|
|
146
|
-
const { value: y, yAxisName:
|
|
149
|
+
const { value: y, yAxisName: g, 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
|
|
165
|
-
}) : (ee += `<div>${
|
|
168
|
+
}) : (ee += `<div>${g} ${L ? `${L}` : ""}</div>`, ee += `<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:${ae(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
|
|
166
169
|
e.value.style.layout.cells.value.formatter,
|
|
167
170
|
y,
|
|
168
171
|
N({
|
|
@@ -171,34 +174,34 @@ 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
|
-
function
|
|
187
|
+
function pe() {
|
|
185
188
|
Ve(() => {
|
|
186
|
-
const
|
|
189
|
+
const t = ["", ...r.dataset.map((y, g) => y.name)], a = [];
|
|
187
190
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
188
|
-
const
|
|
191
|
+
const g = [$.value.xLabels[y]];
|
|
189
192
|
for (let L = 0; L < r.dataset.length; L += 1)
|
|
190
|
-
|
|
191
|
-
a.push(
|
|
193
|
+
g.push([r.dataset[L].values[y]]);
|
|
194
|
+
a.push(g);
|
|
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
|
-
const E =
|
|
198
|
-
function ze(
|
|
199
|
-
E.value =
|
|
200
|
+
const E = p(!1);
|
|
201
|
+
function ze(t) {
|
|
202
|
+
E.value = t, ue.value += 1;
|
|
200
203
|
}
|
|
201
|
-
function
|
|
204
|
+
function ge() {
|
|
202
205
|
w.value.showTable = !w.value.showTable;
|
|
203
206
|
}
|
|
204
207
|
function fe() {
|
|
@@ -206,21 +209,18 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
206
209
|
}
|
|
207
210
|
return _e({
|
|
208
211
|
generatePdf: ce,
|
|
209
|
-
generateCsv:
|
|
212
|
+
generateCsv: pe,
|
|
210
213
|
generateImage: he,
|
|
211
|
-
toggleTable:
|
|
214
|
+
toggleTable: ge,
|
|
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,
|
|
@@ -254,91 +254,92 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
254
254
|
isTooltip: w.value.showTooltip,
|
|
255
255
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
256
256
|
chartElement: q.value,
|
|
257
|
+
position: e.value.userOptions.position,
|
|
257
258
|
onToggleFullscreen: ze,
|
|
258
259
|
onGeneratePdf: i(ce),
|
|
259
|
-
onGenerateCsv:
|
|
260
|
+
onGenerateCsv: pe,
|
|
260
261
|
onGenerateImage: i(he),
|
|
261
|
-
onToggleTable:
|
|
262
|
+
onToggleTable: ge,
|
|
262
263
|
onToggleTooltip: fe
|
|
263
264
|
}, Ne({ _: 2 }, [
|
|
264
|
-
|
|
265
|
+
t.$slots.optionTooltip ? {
|
|
265
266
|
name: "optionTooltip",
|
|
266
267
|
fn: k(() => [
|
|
267
|
-
x(
|
|
268
|
+
x(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
268
269
|
]),
|
|
269
270
|
key: "0"
|
|
270
271
|
} : void 0,
|
|
271
|
-
|
|
272
|
+
t.$slots.optionPdf ? {
|
|
272
273
|
name: "optionPdf",
|
|
273
274
|
fn: k(() => [
|
|
274
|
-
x(
|
|
275
|
+
x(t.$slots, "optionPdf", {}, void 0, !0)
|
|
275
276
|
]),
|
|
276
277
|
key: "1"
|
|
277
278
|
} : void 0,
|
|
278
|
-
|
|
279
|
+
t.$slots.optionCsv ? {
|
|
279
280
|
name: "optionCsv",
|
|
280
281
|
fn: k(() => [
|
|
281
|
-
x(
|
|
282
|
+
x(t.$slots, "optionCsv", {}, void 0, !0)
|
|
282
283
|
]),
|
|
283
284
|
key: "2"
|
|
284
285
|
} : void 0,
|
|
285
|
-
|
|
286
|
+
t.$slots.optionImg ? {
|
|
286
287
|
name: "optionImg",
|
|
287
288
|
fn: k(() => [
|
|
288
|
-
x(
|
|
289
|
+
x(t.$slots, "optionImg", {}, void 0, !0)
|
|
289
290
|
]),
|
|
290
291
|
key: "3"
|
|
291
292
|
} : void 0,
|
|
292
|
-
|
|
293
|
+
t.$slots.optionTable ? {
|
|
293
294
|
name: "optionTable",
|
|
294
295
|
fn: k(() => [
|
|
295
|
-
x(
|
|
296
|
+
x(t.$slots, "optionTable", {}, void 0, !0)
|
|
296
297
|
]),
|
|
297
298
|
key: "4"
|
|
298
299
|
} : void 0,
|
|
299
|
-
|
|
300
|
+
t.$slots.optionFullscreen ? {
|
|
300
301
|
name: "optionFullscreen",
|
|
301
302
|
fn: k(({ toggleFullscreen: o, isFullscreen: v }) => [
|
|
302
|
-
x(
|
|
303
|
+
x(t.$slots, "optionFullscreen", j(W({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
|
|
303
304
|
]),
|
|
304
305
|
key: "5"
|
|
305
306
|
} : void 0
|
|
306
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
307
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
307
308
|
X.value ? (s(), n("svg", {
|
|
308
309
|
key: 2,
|
|
309
310
|
xmlns: i(Ge),
|
|
310
311
|
class: U({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
311
312
|
viewBox: `0 0 ${_.value.width} ${_.value.heightWithLegend}`,
|
|
312
|
-
style: m(`max-width:100%;overflow:visible;background
|
|
313
|
+
style: m(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
313
314
|
}, [
|
|
314
315
|
(s(!0), n(A, null, S(D.value, (o, v) => (s(), n("g", null, [
|
|
315
|
-
(s(!0), n(A, null, S(o.temperatures, (y,
|
|
316
|
+
(s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
316
317
|
u("rect", {
|
|
317
|
-
x:
|
|
318
|
-
y:
|
|
318
|
+
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
319
|
+
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
319
320
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
320
321
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
321
322
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
322
323
|
stroke: e.value.style.backgroundColor,
|
|
323
324
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
324
|
-
}, null, 8,
|
|
325
|
+
}, null, 8, at),
|
|
325
326
|
u("rect", {
|
|
326
|
-
x:
|
|
327
|
-
y:
|
|
327
|
+
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
328
|
+
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
328
329
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
329
330
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
330
331
|
fill: y.color,
|
|
331
332
|
stroke: e.value.style.backgroundColor,
|
|
332
333
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
333
|
-
}, null, 8,
|
|
334
|
+
}, null, 8, ot),
|
|
334
335
|
e.value.style.layout.cells.value.show ? (s(), n("text", {
|
|
335
336
|
key: 0,
|
|
336
337
|
"text-anchor": "middle",
|
|
337
338
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
338
339
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
339
340
|
fill: i(oe)(y.color),
|
|
340
|
-
x:
|
|
341
|
-
y:
|
|
341
|
+
x: l.value.left + d.value.width * g + d.value.width / 2,
|
|
342
|
+
y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
342
343
|
}, f(i(F)(
|
|
343
344
|
e.value.style.layout.cells.value.formatter,
|
|
344
345
|
y.value,
|
|
@@ -349,34 +350,34 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
349
350
|
r: e.value.style.layout.cells.value.roundingValue
|
|
350
351
|
}),
|
|
351
352
|
{ datapoint: y }
|
|
352
|
-
)), 9,
|
|
353
|
+
)), 9, st)) : c("", !0)
|
|
353
354
|
]))), 256)),
|
|
354
|
-
(s(!0), n(A, null, S(o.temperatures, (y,
|
|
355
|
+
(s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
355
356
|
u("rect", {
|
|
356
|
-
x:
|
|
357
|
-
y:
|
|
357
|
+
x: l.value.left + d.value.width * g,
|
|
358
|
+
y: l.value.top + d.value.height * v,
|
|
358
359
|
width: d.value.width,
|
|
359
360
|
height: d.value.height,
|
|
360
361
|
fill: "transparent",
|
|
361
362
|
stroke: "none",
|
|
362
|
-
onMouseover: (L) => Ae(y, v,
|
|
363
|
+
onMouseover: (L) => Ae(y, v, l.value.left + d.value.width * g, l.value.top + d.value.height * v),
|
|
363
364
|
onMouseout: a[0] || (a[0] = (L) => {
|
|
364
365
|
K.value = !1, se.value = void 0, C.value = null, P.value = null;
|
|
365
366
|
})
|
|
366
|
-
}, null, 40,
|
|
367
|
+
}, null, 40, ut)
|
|
367
368
|
]))), 256)),
|
|
368
|
-
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g",
|
|
369
|
+
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", nt, [
|
|
369
370
|
u("text", {
|
|
370
371
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
371
372
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
372
|
-
x:
|
|
373
|
-
y:
|
|
373
|
+
x: l.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
|
|
374
|
+
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
375
|
"text-anchor": "end",
|
|
375
376
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
376
|
-
}, f($.value.yLabels[v]), 9,
|
|
377
|
+
}, f($.value.yLabels[v]), 9, it)
|
|
377
378
|
])) : c("", !0)
|
|
378
379
|
]))), 256)),
|
|
379
|
-
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g",
|
|
380
|
+
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", rt, [
|
|
380
381
|
(s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n(A, null, [
|
|
381
382
|
!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
383
|
key: 0,
|
|
@@ -384,11 +385,11 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
384
385
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
385
386
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
386
387
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
387
|
-
transform: `translate(${
|
|
388
|
-
}, f(o), 9,
|
|
388
|
+
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})`
|
|
389
|
+
}, f(o), 9, vt)) : c("", !0)
|
|
389
390
|
], 64))), 256))
|
|
390
391
|
])) : c("", !0),
|
|
391
|
-
P.value ? (s(), n("g",
|
|
392
|
+
P.value ? (s(), n("g", dt, [
|
|
392
393
|
u("rect", {
|
|
393
394
|
style: { "pointer-events": "none" },
|
|
394
395
|
x: P.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
@@ -399,9 +400,9 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
399
400
|
stroke: e.value.style.layout.cells.selected.color,
|
|
400
401
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
401
402
|
rx: 1
|
|
402
|
-
}, null, 8,
|
|
403
|
+
}, null, 8, yt)
|
|
403
404
|
])) : c("", !0),
|
|
404
|
-
e.value.style.legend.show && H.value === "right" ? (s(), n("g",
|
|
405
|
+
e.value.style.legend.show && H.value === "right" ? (s(), n("g", ct, [
|
|
405
406
|
u("defs", null, [
|
|
406
407
|
u("linearGradient", {
|
|
407
408
|
id: `colorScaleVertical_${V.value}`,
|
|
@@ -411,16 +412,16 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
411
412
|
u("stop", {
|
|
412
413
|
offset: "0%",
|
|
413
414
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
414
|
-
}, null, 8,
|
|
415
|
+
}, null, 8, pt),
|
|
415
416
|
u("stop", {
|
|
416
417
|
offset: "100%",
|
|
417
418
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
418
|
-
}, null, 8,
|
|
419
|
-
], 8,
|
|
419
|
+
}, null, 8, gt)
|
|
420
|
+
], 8, ht)
|
|
420
421
|
]),
|
|
421
422
|
u("text", {
|
|
422
|
-
x:
|
|
423
|
-
y:
|
|
423
|
+
x: l.value.right + 36 + 18,
|
|
424
|
+
y: l.value.top - e.value.style.legend.fontSize * 1.5,
|
|
424
425
|
"text-anchor": "middle",
|
|
425
426
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
426
427
|
fill: e.value.style.legend.color
|
|
@@ -433,18 +434,18 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
433
434
|
s: e.value.style.layout.dataLabels.suffix,
|
|
434
435
|
r: e.value.style.legend.roundingValue
|
|
435
436
|
})
|
|
436
|
-
)), 9,
|
|
437
|
+
)), 9, ft),
|
|
437
438
|
u("rect", {
|
|
438
|
-
x:
|
|
439
|
-
y:
|
|
439
|
+
x: l.value.right + 36,
|
|
440
|
+
y: l.value.top,
|
|
440
441
|
width: 36,
|
|
441
442
|
height: Z.value,
|
|
442
443
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
443
444
|
fill: `url(#colorScaleVertical_${V.value})`
|
|
444
|
-
}, null, 8,
|
|
445
|
+
}, null, 8, bt),
|
|
445
446
|
u("text", {
|
|
446
|
-
x:
|
|
447
|
-
y:
|
|
447
|
+
x: l.value.right + 36 + 18,
|
|
448
|
+
y: l.value.top + Z.value + e.value.style.legend.fontSize * 2.5,
|
|
448
449
|
"text-anchor": "middle",
|
|
449
450
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
450
451
|
fill: e.value.style.legend.color
|
|
@@ -457,47 +458,47 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
457
458
|
s: e.value.style.layout.dataLabels.suffix,
|
|
458
459
|
r: e.value.style.legend.roundingValue
|
|
459
460
|
})
|
|
460
|
-
)), 9,
|
|
461
|
+
)), 9, mt),
|
|
461
462
|
C.value !== null ? (s(), n("line", {
|
|
462
463
|
key: 0,
|
|
463
464
|
stroke: i(oe)(I.value.datapoint.color),
|
|
464
465
|
"stroke-width": "2",
|
|
465
|
-
x1:
|
|
466
|
-
x2:
|
|
466
|
+
x1: l.value.right + 36,
|
|
467
|
+
x2: l.value.right + 72,
|
|
467
468
|
y1: B.value,
|
|
468
469
|
y2: B.value
|
|
469
|
-
}, null, 8,
|
|
470
|
+
}, null, 8, xt)) : c("", !0),
|
|
470
471
|
C.value !== null ? (s(), n("path", {
|
|
471
472
|
key: 1,
|
|
472
473
|
fill: e.value.style.color,
|
|
473
474
|
stroke: "none",
|
|
474
|
-
d: `M ${
|
|
475
|
-
}, null, 8,
|
|
475
|
+
d: `M ${l.value.right + 36},${B.value} ${l.value.right + 26},${B.value - 8} ${l.value.right + 26},${B.value + 8}z`
|
|
476
|
+
}, null, 8, wt)) : c("", !0)
|
|
476
477
|
])) : c("", !0),
|
|
477
|
-
e.value.style.legend.show && H.value === "bottom" ? (s(), n("g",
|
|
478
|
+
e.value.style.legend.show && H.value === "bottom" ? (s(), n("g", _t, [
|
|
478
479
|
u("defs", null, [
|
|
479
|
-
u("linearGradient",
|
|
480
|
+
u("linearGradient", kt, [
|
|
480
481
|
u("stop", {
|
|
481
482
|
offset: "0%",
|
|
482
483
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
483
|
-
}, null, 8,
|
|
484
|
+
}, null, 8, $t),
|
|
484
485
|
u("stop", {
|
|
485
486
|
offset: "100%",
|
|
486
487
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
487
|
-
}, null, 8,
|
|
488
|
+
}, null, 8, Ct)
|
|
488
489
|
])
|
|
489
490
|
]),
|
|
490
491
|
u("rect", {
|
|
491
|
-
x:
|
|
492
|
-
y:
|
|
493
|
-
width: _.value.width -
|
|
492
|
+
x: l.value.left,
|
|
493
|
+
y: l.value.bottom + e.value.style.layout.cells.height,
|
|
494
|
+
width: _.value.width - l.value.left - e.value.style.layout.padding.right,
|
|
494
495
|
height: e.value.style.layout.cells.height,
|
|
495
496
|
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
497
|
fill: "url(#colorScaleHorizontal)"
|
|
497
|
-
}, null, 8,
|
|
498
|
+
}, null, 8, Lt),
|
|
498
499
|
u("text", {
|
|
499
|
-
x:
|
|
500
|
-
y:
|
|
500
|
+
x: l.value.left,
|
|
501
|
+
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
501
502
|
"text-anchor": "start",
|
|
502
503
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
503
504
|
fill: e.value.style.legend.color
|
|
@@ -510,10 +511,10 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
510
511
|
s: e.value.style.layout.dataLabels.suffix,
|
|
511
512
|
r: e.value.style.legend.roundingValue
|
|
512
513
|
})
|
|
513
|
-
)), 9,
|
|
514
|
+
)), 9, At),
|
|
514
515
|
u("text", {
|
|
515
|
-
x:
|
|
516
|
-
y:
|
|
516
|
+
x: l.value.right,
|
|
517
|
+
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
517
518
|
"text-anchor": "end",
|
|
518
519
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
519
520
|
fill: e.value.style.legend.color
|
|
@@ -526,27 +527,27 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
526
527
|
s: e.value.style.layout.dataLabels.suffix,
|
|
527
528
|
r: e.value.style.legend.roundingValue
|
|
528
529
|
})
|
|
529
|
-
)), 9,
|
|
530
|
+
)), 9, zt),
|
|
530
531
|
C.value !== null ? (s(), n("line", {
|
|
531
532
|
key: 0,
|
|
532
533
|
stroke: i(oe)(I.value.datapoint.color),
|
|
533
534
|
"stroke-width": "2",
|
|
534
535
|
x1: R.value,
|
|
535
536
|
x2: R.value,
|
|
536
|
-
y1:
|
|
537
|
-
y2:
|
|
538
|
-
}, null, 8,
|
|
537
|
+
y1: l.value.bottom + e.value.style.layout.cells.height,
|
|
538
|
+
y2: l.value.bottom + e.value.style.layout.cells.height * 2
|
|
539
|
+
}, null, 8, Tt)) : c("", !0),
|
|
539
540
|
C.value !== null ? (s(), n("path", {
|
|
540
541
|
key: 1,
|
|
541
542
|
fill: e.value.style.color,
|
|
542
543
|
stroke: "none",
|
|
543
|
-
d: `M ${R.value},${
|
|
544
|
-
}, null, 8,
|
|
544
|
+
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`
|
|
545
|
+
}, null, 8, Mt)) : c("", !0)
|
|
545
546
|
])) : c("", !0),
|
|
546
|
-
x(
|
|
547
|
-
], 14,
|
|
548
|
-
|
|
549
|
-
x(
|
|
547
|
+
x(t.$slots, "svg", { svg: _.value }, void 0, !0)
|
|
548
|
+
], 14, lt)) : c("", !0),
|
|
549
|
+
t.$slots.watermark ? (s(), n("div", St, [
|
|
550
|
+
x(t.$slots, "watermark", j(W({ isPrinting: i(de) || i(ye) })), void 0, !0)
|
|
550
551
|
])) : c("", !0),
|
|
551
552
|
X.value ? c("", !0) : (s(), Y(Ke, {
|
|
552
553
|
key: 4,
|
|
@@ -576,10 +577,10 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
576
577
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
577
578
|
}, {
|
|
578
579
|
"tooltip-before": k(() => [
|
|
579
|
-
x(
|
|
580
|
+
x(t.$slots, "tooltip-before", j(W({ ...I.value })), void 0, !0)
|
|
580
581
|
]),
|
|
581
582
|
"tooltip-after": k(() => [
|
|
582
|
-
x(
|
|
583
|
+
x(t.$slots, "tooltip-after", j(W({ ...I.value })), void 0, !0)
|
|
583
584
|
]),
|
|
584
585
|
_: 3
|
|
585
586
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
@@ -622,12 +623,12 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
622
623
|
"stroke-width": 2
|
|
623
624
|
}, null, 8, ["stroke"])
|
|
624
625
|
], 36),
|
|
625
|
-
u("table",
|
|
626
|
+
u("table", Nt, [
|
|
626
627
|
u("caption", {
|
|
627
628
|
style: m(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
628
629
|
}, [
|
|
629
630
|
Fe(f(e.value.style.title.text) + " ", 1),
|
|
630
|
-
e.value.style.title.subtitle.text ? (s(), n("span",
|
|
631
|
+
e.value.style.title.subtitle.text ? (s(), n("span", Ot, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
631
632
|
], 4),
|
|
632
633
|
u("thead", null, [
|
|
633
634
|
u("tr", {
|
|
@@ -654,15 +655,15 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
654
655
|
class: "vue-ui-data-table__tbody__td",
|
|
655
656
|
style: m(`outline:${e.value.table.td.outline}`)
|
|
656
657
|
}, [
|
|
657
|
-
u("div",
|
|
658
|
-
], 12,
|
|
659
|
-
(s(!0), n(A, null, S(G.dataset, (y,
|
|
658
|
+
u("div", Vt, f(o), 1)
|
|
659
|
+
], 12, Ft),
|
|
660
|
+
(s(!0), n(A, null, S(G.dataset, (y, g) => (s(), n("td", {
|
|
660
661
|
class: "vue-ui-data-table__tbody__td",
|
|
661
|
-
"data-cell": G.dataset[
|
|
662
|
+
"data-cell": G.dataset[g].name,
|
|
662
663
|
style: m(`outline:${e.value.table.td.outline}`)
|
|
663
664
|
}, [
|
|
664
|
-
u("div",
|
|
665
|
-
], 12,
|
|
665
|
+
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)
|
|
666
|
+
], 12, Pt))), 256))
|
|
666
667
|
], 6))), 256))
|
|
667
668
|
])
|
|
668
669
|
])
|
|
@@ -671,9 +672,9 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
|
|
|
671
672
|
]),
|
|
672
673
|
_: 1
|
|
673
674
|
}, 8, ["config"])) : c("", !0)
|
|
674
|
-
], 14,
|
|
675
|
+
], 14, et));
|
|
675
676
|
}
|
|
676
|
-
},
|
|
677
|
+
}, qt = /* @__PURE__ */ Ze(Bt, [["__scopeId", "data-v-ba280e32"]]);
|
|
677
678
|
export {
|
|
678
|
-
|
|
679
|
+
qt as default
|
|
679
680
|
};
|