vue-data-ui 2.3.73 → 2.3.75
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-B9ZuNkP-.js → Arrow-BTG7M25z.js} +1 -1
- package/dist/{Arrow-B8nZeqNJ.cjs → Arrow-CZK77NmC.cjs} +1 -1
- package/dist/{BaseIcon-CXbZK6D-.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
- package/dist/{BaseIcon-_V_BEdy8.js → BaseIcon-BAOfPaXs.js} +1 -1
- package/dist/{DataTable-BOdJVZzF.js → DataTable-CQANRZju.js} +2 -2
- package/dist/{DataTable-wmKwMbsJ.cjs → DataTable-DjQzrklZ.cjs} +1 -1
- package/dist/{Legend-DdndVhHV.cjs → Legend-CtbPB0Bo.cjs} +1 -1
- package/dist/{Legend-CHd5QFPM.js → Legend-DX1kv21U.js} +1 -1
- package/dist/{Shape-CLRxBhyM.cjs → Shape-CadGs1Am.cjs} +1 -1
- package/dist/{Shape-DNbJlwSU.js → Shape-kqcyauhC.js} +1 -1
- package/dist/{Slicer-Dts-BToH.cjs → Slicer-i_oECHxH.cjs} +1 -1
- package/dist/{Slicer-8Gg45iGX.js → Slicer-yaJs-izT.js} +2 -2
- package/dist/{Title-Ngy9HNqO.js → Title-C26I_HC3.js} +1 -1
- package/dist/{Title-CujodUjt.cjs → Title-XBiDFYKD.cjs} +1 -1
- package/dist/{Tooltip-BCtg7xYX.js → Tooltip-CH8GmDCG.js} +1 -1
- package/dist/{Tooltip-DsmWz8gF.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
- package/dist/{index-Dvs5Ra-u.js → index-Cm4Iry5c.js} +1 -1
- package/dist/{index-sFjJ2dIj.cjs → index-DYUBiaGS.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-UohhCyBz.js → useNestedProp-CurQIHTa.js} +1 -1
- package/dist/{useNestedProp-ir0jEo5M.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
- package/dist/{usePrinter-B8-keRMa.js → usePrinter-B8RnF8_q.js} +1 -1
- package/dist/{usePrinter-DSMMs1w9.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
- package/dist/{vue-data-ui-NvV5qa--.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
- package/dist/{vue-data-ui-Bgo6YUhl.js → vue-data-ui-Bj6kEIpq.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-BAz41kL7.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DckNIYgA.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
- package/dist/{vue-ui-accordion-RuCkf_li.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
- package/dist/{vue-ui-accordion-C-qAry7P.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CamjaXUw.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
- package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
- package/dist/{vue-ui-annotator-D0kYZ56C.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
- package/dist/{vue-ui-annotator-DMmdqorj.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
- package/dist/{vue-ui-candlestick-DRi8lDTn.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
- package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
- package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
- package/dist/{vue-ui-carousel-table-u5OoOMr1.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
- package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
- package/dist/{vue-ui-chestnut-D5a4OH1D.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
- package/dist/{vue-ui-cursor-Bp_PHbz4.js → vue-ui-cursor-BP04_XbB.js} +2 -2
- package/dist/{vue-ui-cursor-DpBsZNEE.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BwBYH8V_.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
- package/dist/{vue-ui-dashboard--kjU0uMc.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
- package/dist/{vue-ui-digits-CIV9J3SW.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
- package/dist/{vue-ui-digits-t2G4B6uD.js → vue-ui-digits-DUhkLcmd.js} +2 -2
- package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
- package/dist/{vue-ui-donut-BTug2gsP.js → vue-ui-donut-DRPSwmGr.js} +376 -362
- package/dist/{vue-ui-donut-evolution-DTD0Hfgh.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
- package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BZw7lntE.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
- package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
- package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
- package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
- package/dist/{vue-ui-galaxy-Bjlm3WtB.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
- package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
- package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
- package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
- package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
- package/dist/{vue-ui-gizmo-CiutQM-A.js → vue-ui-gizmo-bV148qAf.js} +66 -53
- package/dist/{vue-ui-heatmap-C933pQPU.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
- package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
- package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
- package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
- package/dist/{vue-ui-mini-loader-B5XG2gKd.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
- package/dist/{vue-ui-mini-loader-C67Z1C6r.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
- package/dist/{vue-ui-molecule-DzIeuL8t.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
- package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
- package/dist/{vue-ui-mood-radar-02L4M-n_.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
- package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BY50trfJ.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
- package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
- package/dist/{vue-ui-onion-BmQ7B9xY.js → vue-ui-onion-CFa4VD-w.js} +191 -177
- package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BdfcqlfT.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
- package/dist/{vue-ui-quadrant-CLimyRoA.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
- package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CX8Kas-o.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
- package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
- package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
- package/dist/{vue-ui-radar-CK0PB5oY.js → vue-ui-radar-CW8EKW4o.js} +202 -189
- package/dist/{vue-ui-rating-Ceu3pXmF.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
- package/dist/{vue-ui-rating-BnqWN2ui.js → vue-ui-rating-eSWsmJUU.js} +2 -2
- package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
- package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
- package/dist/{vue-ui-rings-CYthauSM.js → vue-ui-rings-BxhLbyG0.js} +203 -189
- package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
- package/dist/{vue-ui-scatter-Cxr9eymz.js → vue-ui-scatter-DQchX_mM.js} +284 -270
- package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
- package/dist/{vue-ui-screenshot-CVWC5rbJ.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
- package/dist/{vue-ui-screenshot-sBd8-Oyh.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CAvlIcgk.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
- package/dist/{vue-ui-skeleton-CqF0NJ4g.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
- package/dist/{vue-ui-smiley-CXbipVsb.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
- package/dist/{vue-ui-smiley-c_I60YOy.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
- package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Dm-2_5Ef.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
- package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
- package/dist/{vue-ui-sparkhistogram-qf87TXA-.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
- package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
- package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
- package/dist/{vue-ui-sparkline-CZBgvY1A.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
- package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-GtkDZDXZ.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
- package/dist/{vue-ui-stackbar-D_Ui7xec.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
- package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
- package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
- package/dist/{vue-ui-strip-plot--VJ3f5UV.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
- package/dist/{vue-ui-table-BCQ7voEV.js → vue-ui-table-BSi_cHh7.js} +1 -1
- package/dist/{vue-ui-table-B_6N0VOD.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-UwpQQMHB.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
- package/dist/{vue-ui-table-sparkline-Bzqs2Hcp.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
- package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
- package/dist/{vue-ui-thermometer-BQbYzsSV.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
- package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
- package/dist/{vue-ui-timer-KGEswANF.js → vue-ui-timer-CkB7eZaE.js} +191 -176
- package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
- package/dist/{vue-ui-tiremarks-BSkMCIu1.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
- package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
- package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
- package/dist/{vue-ui-treemap-DIWveOrq.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
- package/dist/{vue-ui-vertical-bar-Dx6wReOw.js → vue-ui-vertical-bar-BA43_uHV.js} +374 -358
- package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
- package/dist/{vue-ui-waffle-D3jMPOd3.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
- package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
- package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
- package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
- package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
- package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
- package/dist/{vue-ui-xy-9_2IHEOX.js → vue-ui-xy-BMBYAC4z.js} +300 -274
- package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
- package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DGuGy69l.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DhzN0gd4.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CfUUEeKt.cjs +0 -1
- package/dist/vue-ui-candlestick-DJIJnnI_.cjs +0 -2
- package/dist/vue-ui-carousel-table-uYt1zVjx.cjs +0 -1
- package/dist/vue-ui-chestnut-CG5krVO-.cjs +0 -6
- package/dist/vue-ui-donut-D6SrEIEJ.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Cb45erSA.cjs +0 -1
- package/dist/vue-ui-dumbbell-DVabaAYH.cjs +0 -9
- package/dist/vue-ui-flow-Bn1EP9Z1.cjs +0 -1
- package/dist/vue-ui-flow-Cz_xaLAs.js +0 -469
- package/dist/vue-ui-galaxy-Drnhlmmw.cjs +0 -1
- package/dist/vue-ui-gauge-CxIVYnG2.js +0 -488
- package/dist/vue-ui-gauge-D2reVZ-b.cjs +0 -1
- package/dist/vue-ui-gizmo-B6ZwXwFY.cjs +0 -1
- package/dist/vue-ui-heatmap-ClFm7qUu.cjs +0 -1
- package/dist/vue-ui-kpi-CdPFWSHA.cjs +0 -1
- package/dist/vue-ui-kpi-ClreiT4V.js +0 -84
- package/dist/vue-ui-molecule-JJQ3af-R.cjs +0 -1
- package/dist/vue-ui-mood-radar-DT4JU_6B.cjs +0 -1
- package/dist/vue-ui-nested-donuts-D6Dihmne.cjs +0 -17
- package/dist/vue-ui-onion-DoNDCpth.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CJMjEDXR.cjs +0 -8
- package/dist/vue-ui-quadrant-DWqmU3-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-CB5VelG0.cjs +0 -15
- package/dist/vue-ui-radar-aTceo-HQ.cjs +0 -1
- package/dist/vue-ui-relation-circle-D1z8MBVH.js +0 -310
- package/dist/vue-ui-relation-circle-DWGtziD_.cjs +0 -1
- package/dist/vue-ui-rings-gp0sEMy6.cjs +0 -2
- package/dist/vue-ui-scatter-BKl2fUIR.cjs +0 -1
- package/dist/vue-ui-spark-trend-C3sBXu8D.js +0 -251
- package/dist/vue-ui-spark-trend-CXkkMK6N.cjs +0 -1
- package/dist/vue-ui-sparkbar-BkN5iTUq.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D4EqU3x3.cjs +0 -1
- package/dist/vue-ui-sparkgauge-FKTXvE7e.js +0 -167
- package/dist/vue-ui-sparkhistogram-BkJz2dBD.cjs +0 -1
- package/dist/vue-ui-sparkline-TPkuvKtA.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-CzzfnPDS.cjs +0 -1
- package/dist/vue-ui-stackbar-NHgsl2-Z.cjs +0 -6
- package/dist/vue-ui-strip-plot-CU6OtKt7.cjs +0 -1
- package/dist/vue-ui-table-heatmap-DFMF1RZ0.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DWvOKdPb.cjs +0 -1
- package/dist/vue-ui-thermometer-BOuuVWuf.cjs +0 -1
- package/dist/vue-ui-timer-BCiMjXdm.cjs +0 -64
- package/dist/vue-ui-tiremarks-DuEz8cO5.cjs +0 -1
- package/dist/vue-ui-treemap-BO8gKQ4O.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Dpzyha_P.cjs +0 -4
- package/dist/vue-ui-waffle-C0-IVDjk.cjs +0 -1
- package/dist/vue-ui-wheel-B10kCoLD.js +0 -242
- package/dist/vue-ui-wheel-mWdIHlXV.cjs +0 -1
- package/dist/vue-ui-word-cloud-CYtRxpdV.cjs +0 -1
- package/dist/vue-ui-word-cloud-rhrsHes4.js +0 -498
- package/dist/vue-ui-xy-CFqs5rtd.cjs +0 -3
- package/dist/vue-ui-xy-canvas-sLH0pM-i.cjs +0 -9
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { u as
|
|
10
|
-
import { _ as
|
|
11
|
-
const
|
|
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 te, t as Be, K as Re, g as Ee, L as ae, X as Ge, E as oe, i as F, f as N, s as z, x as Xe, y as He, q as De, r as Ue } from "./index-Cm4Iry5c.js";
|
|
3
|
+
import { _ as Ye } from "./Title-C26I_HC3.js";
|
|
4
|
+
import { u as je, U as We } from "./usePrinter-B8RnF8_q.js";
|
|
5
|
+
import { _ as Ke } from "./Tooltip-CH8GmDCG.js";
|
|
6
|
+
import qe from "./vue-ui-skeleton-C1oUnz7R.js";
|
|
7
|
+
import Je from "./BaseIcon-BAOfPaXs.js";
|
|
8
|
+
import Qe from "./vue-ui-accordion-Cb6XBCbu.js";
|
|
9
|
+
import { u as we } from "./useNestedProp-CurQIHTa.js";
|
|
10
|
+
import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ol = ["font-size", "font-weight", "fill", "x", "y"], sl = ["x", "y", "width", "height", "onMouseover"], ul = { key: 0 }, nl = ["font-size", "fill", "x", "y", "font-weight"], il = { key: 0 }, rl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], vl = { key: 1 }, dl = ["x", "y", "width", "height", "stroke", "stroke-width"], yl = { key: 2 }, cl = ["id"], hl = ["stop-color"], gl = ["stop-color"], pl = ["x", "y", "font-size", "fill"], fl = ["x", "y", "height", "rx", "fill"], bl = ["x", "y", "font-size", "fill"], ml = ["stroke", "x1", "x2", "y1", "y2"], xl = ["fill", "d"], wl = { key: 3 }, _l = {
|
|
12
12
|
id: "colorScaleHorizontal",
|
|
13
13
|
x1: "0%",
|
|
14
14
|
x2: "100%",
|
|
15
15
|
y1: "0%",
|
|
16
16
|
y2: "0%"
|
|
17
|
-
},
|
|
17
|
+
}, kl = ["stop-color"], $l = ["stop-color"], Cl = ["x", "y", "width", "height", "rx"], Ll = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], zl = ["stroke", "x1", "x2", "y1", "y2"], Tl = ["fill", "d"], Ml = {
|
|
18
18
|
key: 3,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, Sl = { class: "vue-ui-data-table" }, Nl = { key: 0 }, Ol = ["data-cell"], Fl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Vl = ["data-cell"], Pl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Il = {
|
|
21
21
|
__name: "vue-ui-heatmap",
|
|
22
22
|
props: {
|
|
23
23
|
config: {
|
|
@@ -33,43 +33,56 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
setup(G, { expose:
|
|
36
|
+
setup(G, { expose: _e }) {
|
|
37
37
|
const r = G;
|
|
38
|
-
|
|
39
|
-
"
|
|
38
|
+
Me((l) => ({
|
|
39
|
+
"53660b06": l.tdo
|
|
40
40
|
}));
|
|
41
|
-
const { vue_ui_heatmap:
|
|
42
|
-
|
|
41
|
+
const { vue_ui_heatmap: ke } = Pe(), X = h(() => !!r.dataset && r.dataset.length);
|
|
42
|
+
Ie(r.dataset) && xe({
|
|
43
43
|
componentName: "VueUiHeatmap",
|
|
44
44
|
type: "dataset"
|
|
45
45
|
});
|
|
46
|
-
const V =
|
|
47
|
-
|
|
46
|
+
const V = g(te()), K = g(null), $e = g(null), q = 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
|
+
get: () => ve(),
|
|
48
|
+
set: (l) => l
|
|
49
|
+
});
|
|
50
|
+
function ve() {
|
|
51
|
+
const l = we({
|
|
48
52
|
userConfig: r.config,
|
|
49
|
-
defaultConfig:
|
|
53
|
+
defaultConfig: ke
|
|
50
54
|
});
|
|
51
55
|
let a = {};
|
|
52
56
|
return l.theme ? a = {
|
|
53
|
-
...
|
|
54
|
-
userConfig:
|
|
57
|
+
...we({
|
|
58
|
+
userConfig: Be.vue_ui_heatmap[l.theme] || r.config,
|
|
55
59
|
defaultConfig: l
|
|
56
60
|
})
|
|
57
|
-
} : a = l, r.config &&
|
|
58
|
-
}
|
|
61
|
+
} : a = l, 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
|
+
}
|
|
63
|
+
be(() => r.config, (l) => {
|
|
64
|
+
e.value = ve(), Q(), re.value += 1;
|
|
65
|
+
}, { deep: !0 }), be(() => r.dataset, () => {
|
|
66
|
+
Q();
|
|
67
|
+
}, { deep: !0 });
|
|
68
|
+
const { isPrinting: de, isImaging: ye, generatePdf: ce, generateImage: he } = je({
|
|
59
69
|
elementId: `heatmap__${V.value}`,
|
|
60
70
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
61
|
-
}), w =
|
|
71
|
+
}), w = g({
|
|
62
72
|
showTable: e.value.table.show,
|
|
63
73
|
showTooltip: e.value.style.tooltip.show
|
|
64
|
-
}),
|
|
65
|
-
function
|
|
74
|
+
}), Ce = h(() => e.value.table.responsiveBreakpoint);
|
|
75
|
+
function Le() {
|
|
66
76
|
new ResizeObserver((a) => {
|
|
67
77
|
a.forEach((o) => {
|
|
68
|
-
ie.value = o.contentRect.width <
|
|
78
|
+
ie.value = o.contentRect.width < Ce.value;
|
|
69
79
|
});
|
|
70
80
|
}).observe(ne.value);
|
|
71
81
|
}
|
|
72
|
-
|
|
82
|
+
Se(Q);
|
|
83
|
+
function Q() {
|
|
84
|
+
Le();
|
|
85
|
+
}
|
|
73
86
|
const O = h(() => Math.max(...r.dataset.flatMap((l) => (l.values || []).length))), _ = h(() => {
|
|
74
87
|
const l = 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 = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
75
88
|
return {
|
|
@@ -84,7 +97,7 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
84
97
|
bottom: _.value.height - e.value.style.layout.padding.bottom,
|
|
85
98
|
height: _.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
86
99
|
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)
|
|
87
|
-
})),
|
|
100
|
+
})), Z = h(() => d.value.height * r.dataset.length), b = h(() => Math.max(...r.dataset.flatMap((l) => l.values))), T = h(() => Math.min(...r.dataset.flatMap((l) => l.values))), M = h(() => {
|
|
88
101
|
const l = r.dataset.flatMap((o) => o.values);
|
|
89
102
|
return l.reduce((o, v) => o + v, 0) / l.length;
|
|
90
103
|
}), d = h(() => ({
|
|
@@ -97,11 +110,11 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
97
110
|
xLabels: a.slice(0, O.value)
|
|
98
111
|
};
|
|
99
112
|
}), D = h(() => (r.dataset.forEach((l, a) => {
|
|
100
|
-
|
|
113
|
+
Ee({
|
|
101
114
|
datasetObject: l,
|
|
102
115
|
requiredAttributes: ["values"]
|
|
103
116
|
}).forEach((o) => {
|
|
104
|
-
|
|
117
|
+
xe({
|
|
105
118
|
componentName: "VueUiHeatmap",
|
|
106
119
|
type: "datasetSerieAttribute",
|
|
107
120
|
property: "values",
|
|
@@ -127,29 +140,29 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
127
140
|
xAxisName: $.value.xLabels[o],
|
|
128
141
|
id: `vue-data-ui-heatmap-cell-${te()}`
|
|
129
142
|
})
|
|
130
|
-
})))), C =
|
|
131
|
-
function
|
|
143
|
+
})))), C = g(null), I = g(null);
|
|
144
|
+
function Ae(l, a, o, v) {
|
|
132
145
|
P.value = { x: o, y: v };
|
|
133
|
-
const { value: y, yAxisName:
|
|
134
|
-
se.value =
|
|
146
|
+
const { value: y, yAxisName: p, xAxisName: L, id: Te } = l;
|
|
147
|
+
se.value = Te, C.value = y, I.value = {
|
|
135
148
|
datapoint: l,
|
|
136
149
|
seriesIndex: a,
|
|
137
150
|
series: D.value,
|
|
138
151
|
config: e.value
|
|
139
|
-
},
|
|
140
|
-
let
|
|
141
|
-
const
|
|
142
|
-
|
|
152
|
+
}, q.value = !0;
|
|
153
|
+
let ee = "";
|
|
154
|
+
const le = e.value.style.tooltip.customFormat;
|
|
155
|
+
Xe(le) && He(() => le({
|
|
143
156
|
datapoint: l,
|
|
144
157
|
seriesIndex: a,
|
|
145
158
|
series: D.value,
|
|
146
159
|
config: e.value
|
|
147
|
-
})) ?
|
|
160
|
+
})) ? J.value = le({
|
|
148
161
|
datapoint: l,
|
|
149
162
|
seriesIndex: a,
|
|
150
163
|
series: D.value,
|
|
151
164
|
config: e.value
|
|
152
|
-
}) : (
|
|
165
|
+
}) : (ee += `<div>${p} ${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(
|
|
153
166
|
e.value.style.layout.cells.value.formatter,
|
|
154
167
|
y,
|
|
155
168
|
N({
|
|
@@ -159,47 +172,47 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
159
172
|
r: e.value.style.tooltip.roundingValue
|
|
160
173
|
}),
|
|
161
174
|
{ datapoint: l, seriesIndex: a }
|
|
162
|
-
)}</span></div>`,
|
|
175
|
+
)}</span></div>`, J.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${ee}</div>`);
|
|
163
176
|
}
|
|
164
|
-
const B = h(() => t.value.top +
|
|
177
|
+
const B = h(() => t.value.top + Z.value * (1 - C.value / b.value)), R = h(() => t.value.left + (_.value.width - t.value.left - e.value.style.layout.padding.right) * (C.value / b.value));
|
|
165
178
|
h(() => {
|
|
166
179
|
const l = r.dataset.map((o) => ({
|
|
167
180
|
name: o.name
|
|
168
181
|
})), a = r.dataset.map((o) => o.values);
|
|
169
182
|
return { head: l, body: a };
|
|
170
183
|
});
|
|
171
|
-
function
|
|
172
|
-
|
|
173
|
-
const l = ["", ...r.dataset.map((y,
|
|
184
|
+
function ge() {
|
|
185
|
+
Ve(() => {
|
|
186
|
+
const l = ["", ...r.dataset.map((y, p) => y.name)], a = [];
|
|
174
187
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
175
|
-
const
|
|
188
|
+
const p = [$.value.xLabels[y]];
|
|
176
189
|
for (let L = 0; L < r.dataset.length; L += 1)
|
|
177
|
-
|
|
178
|
-
a.push(
|
|
190
|
+
p.push([r.dataset[L].values[y]]);
|
|
191
|
+
a.push(p);
|
|
179
192
|
}
|
|
180
|
-
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(a), v =
|
|
181
|
-
|
|
193
|
+
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(a), v = De(o);
|
|
194
|
+
Ue({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
182
195
|
});
|
|
183
196
|
}
|
|
184
|
-
const E =
|
|
185
|
-
function
|
|
197
|
+
const E = g(!1);
|
|
198
|
+
function ze(l) {
|
|
186
199
|
E.value = l, ue.value += 1;
|
|
187
200
|
}
|
|
188
|
-
function
|
|
201
|
+
function pe() {
|
|
189
202
|
w.value.showTable = !w.value.showTable;
|
|
190
203
|
}
|
|
191
|
-
function
|
|
204
|
+
function fe() {
|
|
192
205
|
w.value.showTooltip = !w.value.showTooltip;
|
|
193
206
|
}
|
|
194
|
-
return
|
|
195
|
-
generatePdf:
|
|
196
|
-
generateCsv:
|
|
197
|
-
generateImage:
|
|
198
|
-
toggleTable:
|
|
199
|
-
toggleTooltip:
|
|
207
|
+
return _e({
|
|
208
|
+
generatePdf: ce,
|
|
209
|
+
generateCsv: ge,
|
|
210
|
+
generateImage: he,
|
|
211
|
+
toggleTable: pe,
|
|
212
|
+
toggleTooltip: fe
|
|
200
213
|
}), (l, a) => (s(), n("div", {
|
|
201
214
|
ref_key: "heatmapChart",
|
|
202
|
-
ref:
|
|
215
|
+
ref: K,
|
|
203
216
|
class: U(`vue-ui-heatmap ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
204
217
|
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}`),
|
|
205
218
|
id: `heatmap__${V.value}`
|
|
@@ -208,7 +221,8 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
208
221
|
key: 0,
|
|
209
222
|
style: m(`width:100%;background:${e.value.style.backgroundColor}`)
|
|
210
223
|
}, [
|
|
211
|
-
|
|
224
|
+
(s(), Y(Ye, {
|
|
225
|
+
key: `title_${re.value}`,
|
|
212
226
|
config: {
|
|
213
227
|
title: {
|
|
214
228
|
cy: "heatmap-div-title",
|
|
@@ -219,16 +233,16 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
219
233
|
...e.value.style.title.subtitle
|
|
220
234
|
}
|
|
221
235
|
}
|
|
222
|
-
}, null, 8, ["config"])
|
|
236
|
+
}, null, 8, ["config"]))
|
|
223
237
|
], 4)) : c("", !0),
|
|
224
|
-
e.value.userOptions.show && X.value ? (s(),
|
|
238
|
+
e.value.userOptions.show && X.value ? (s(), Y(We, {
|
|
225
239
|
ref_key: "details",
|
|
226
|
-
ref:
|
|
240
|
+
ref: $e,
|
|
227
241
|
key: `user_options_${ue.value}`,
|
|
228
242
|
backgroundColor: e.value.style.backgroundColor,
|
|
229
243
|
color: e.value.style.color,
|
|
230
|
-
isImaging: i(
|
|
231
|
-
isPrinting: i(
|
|
244
|
+
isImaging: i(ye),
|
|
245
|
+
isPrinting: i(de),
|
|
232
246
|
uid: V.value,
|
|
233
247
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
234
248
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -239,14 +253,14 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
239
253
|
isFullscreen: E.value,
|
|
240
254
|
isTooltip: w.value.showTooltip,
|
|
241
255
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
242
|
-
chartElement:
|
|
243
|
-
onToggleFullscreen:
|
|
244
|
-
onGeneratePdf: i(
|
|
245
|
-
onGenerateCsv:
|
|
246
|
-
onGenerateImage: i(
|
|
247
|
-
onToggleTable:
|
|
248
|
-
onToggleTooltip:
|
|
249
|
-
},
|
|
256
|
+
chartElement: K.value,
|
|
257
|
+
onToggleFullscreen: ze,
|
|
258
|
+
onGeneratePdf: i(ce),
|
|
259
|
+
onGenerateCsv: ge,
|
|
260
|
+
onGenerateImage: i(he),
|
|
261
|
+
onToggleTable: pe,
|
|
262
|
+
onToggleTooltip: fe
|
|
263
|
+
}, Ne({ _: 2 }, [
|
|
250
264
|
l.$slots.optionTooltip ? {
|
|
251
265
|
name: "optionTooltip",
|
|
252
266
|
fn: k(() => [
|
|
@@ -285,45 +299,45 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
285
299
|
l.$slots.optionFullscreen ? {
|
|
286
300
|
name: "optionFullscreen",
|
|
287
301
|
fn: k(({ toggleFullscreen: o, isFullscreen: v }) => [
|
|
288
|
-
x(l.$slots, "optionFullscreen",
|
|
302
|
+
x(l.$slots, "optionFullscreen", j(W({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
|
|
289
303
|
]),
|
|
290
304
|
key: "5"
|
|
291
305
|
} : void 0
|
|
292
306
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
293
307
|
X.value ? (s(), n("svg", {
|
|
294
308
|
key: 2,
|
|
295
|
-
xmlns: i(
|
|
309
|
+
xmlns: i(Ge),
|
|
296
310
|
class: U({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
297
311
|
viewBox: `0 0 ${_.value.width} ${_.value.heightWithLegend}`,
|
|
298
312
|
style: m(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
|
|
299
313
|
}, [
|
|
300
314
|
(s(!0), n(A, null, S(D.value, (o, v) => (s(), n("g", null, [
|
|
301
|
-
(s(!0), n(A, null, S(o.temperatures, (y,
|
|
315
|
+
(s(!0), n(A, null, S(o.temperatures, (y, p) => (s(), n("g", null, [
|
|
302
316
|
u("rect", {
|
|
303
|
-
x: t.value.left + d.value.width *
|
|
317
|
+
x: t.value.left + d.value.width * p + e.value.style.layout.cells.spacing / 2,
|
|
304
318
|
y: t.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
305
319
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
306
320
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
307
321
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
308
322
|
stroke: e.value.style.backgroundColor,
|
|
309
323
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
310
|
-
}, null, 8,
|
|
324
|
+
}, null, 8, tl),
|
|
311
325
|
u("rect", {
|
|
312
|
-
x: t.value.left + d.value.width *
|
|
326
|
+
x: t.value.left + d.value.width * p + e.value.style.layout.cells.spacing / 2,
|
|
313
327
|
y: t.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
314
328
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
315
329
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
316
330
|
fill: y.color,
|
|
317
331
|
stroke: e.value.style.backgroundColor,
|
|
318
332
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
319
|
-
}, null, 8,
|
|
333
|
+
}, null, 8, al),
|
|
320
334
|
e.value.style.layout.cells.value.show ? (s(), n("text", {
|
|
321
335
|
key: 0,
|
|
322
336
|
"text-anchor": "middle",
|
|
323
337
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
324
338
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
325
339
|
fill: i(oe)(y.color),
|
|
326
|
-
x: t.value.left + d.value.width *
|
|
340
|
+
x: t.value.left + d.value.width * p + d.value.width / 2,
|
|
327
341
|
y: t.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
328
342
|
}, f(i(F)(
|
|
329
343
|
e.value.style.layout.cells.value.formatter,
|
|
@@ -335,23 +349,23 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
335
349
|
r: e.value.style.layout.cells.value.roundingValue
|
|
336
350
|
}),
|
|
337
351
|
{ datapoint: y }
|
|
338
|
-
)), 9,
|
|
352
|
+
)), 9, ol)) : c("", !0)
|
|
339
353
|
]))), 256)),
|
|
340
|
-
(s(!0), n(A, null, S(o.temperatures, (y,
|
|
354
|
+
(s(!0), n(A, null, S(o.temperatures, (y, p) => (s(), n("g", null, [
|
|
341
355
|
u("rect", {
|
|
342
|
-
x: t.value.left + d.value.width *
|
|
356
|
+
x: t.value.left + d.value.width * p,
|
|
343
357
|
y: t.value.top + d.value.height * v,
|
|
344
358
|
width: d.value.width,
|
|
345
359
|
height: d.value.height,
|
|
346
360
|
fill: "transparent",
|
|
347
361
|
stroke: "none",
|
|
348
|
-
onMouseover: (L) =>
|
|
362
|
+
onMouseover: (L) => Ae(y, v, t.value.left + d.value.width * p, t.value.top + d.value.height * v),
|
|
349
363
|
onMouseout: a[0] || (a[0] = (L) => {
|
|
350
|
-
|
|
364
|
+
q.value = !1, se.value = void 0, C.value = null, P.value = null;
|
|
351
365
|
})
|
|
352
|
-
}, null, 40,
|
|
366
|
+
}, null, 40, sl)
|
|
353
367
|
]))), 256)),
|
|
354
|
-
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g",
|
|
368
|
+
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", ul, [
|
|
355
369
|
u("text", {
|
|
356
370
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
357
371
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -359,10 +373,10 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
359
373
|
y: t.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,
|
|
360
374
|
"text-anchor": "end",
|
|
361
375
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
362
|
-
}, f($.value.yLabels[v]), 9,
|
|
376
|
+
}, f($.value.yLabels[v]), 9, nl)
|
|
363
377
|
])) : c("", !0)
|
|
364
378
|
]))), 256)),
|
|
365
|
-
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g",
|
|
379
|
+
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", il, [
|
|
366
380
|
(s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n(A, null, [
|
|
367
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", {
|
|
368
382
|
key: 0,
|
|
@@ -371,10 +385,10 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
371
385
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
372
386
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
373
387
|
transform: `translate(${t.value.left + d.value.width / 2 + t.value.width / $.value.xLabels.length * v + e.value.style.layout.dataLabels.xAxis.offsetX}, ${t.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
374
|
-
}, f(o), 9,
|
|
388
|
+
}, f(o), 9, rl)) : c("", !0)
|
|
375
389
|
], 64))), 256))
|
|
376
390
|
])) : c("", !0),
|
|
377
|
-
P.value ? (s(), n("g",
|
|
391
|
+
P.value ? (s(), n("g", vl, [
|
|
378
392
|
u("rect", {
|
|
379
393
|
style: { "pointer-events": "none" },
|
|
380
394
|
x: P.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
@@ -385,9 +399,9 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
385
399
|
stroke: e.value.style.layout.cells.selected.color,
|
|
386
400
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
387
401
|
rx: 1
|
|
388
|
-
}, null, 8,
|
|
402
|
+
}, null, 8, dl)
|
|
389
403
|
])) : c("", !0),
|
|
390
|
-
e.value.style.legend.show && H.value === "right" ? (s(), n("g",
|
|
404
|
+
e.value.style.legend.show && H.value === "right" ? (s(), n("g", yl, [
|
|
391
405
|
u("defs", null, [
|
|
392
406
|
u("linearGradient", {
|
|
393
407
|
id: `colorScaleVertical_${V.value}`,
|
|
@@ -397,12 +411,12 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
397
411
|
u("stop", {
|
|
398
412
|
offset: "0%",
|
|
399
413
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
400
|
-
}, null, 8,
|
|
414
|
+
}, null, 8, hl),
|
|
401
415
|
u("stop", {
|
|
402
416
|
offset: "100%",
|
|
403
417
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
404
|
-
}, null, 8,
|
|
405
|
-
], 8,
|
|
418
|
+
}, null, 8, gl)
|
|
419
|
+
], 8, cl)
|
|
406
420
|
]),
|
|
407
421
|
u("text", {
|
|
408
422
|
x: t.value.right + 36 + 18,
|
|
@@ -419,18 +433,18 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
419
433
|
s: e.value.style.layout.dataLabels.suffix,
|
|
420
434
|
r: e.value.style.legend.roundingValue
|
|
421
435
|
})
|
|
422
|
-
)), 9,
|
|
436
|
+
)), 9, pl),
|
|
423
437
|
u("rect", {
|
|
424
438
|
x: t.value.right + 36,
|
|
425
439
|
y: t.value.top,
|
|
426
440
|
width: 36,
|
|
427
|
-
height:
|
|
441
|
+
height: Z.value,
|
|
428
442
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
429
443
|
fill: `url(#colorScaleVertical_${V.value})`
|
|
430
|
-
}, null, 8,
|
|
444
|
+
}, null, 8, fl),
|
|
431
445
|
u("text", {
|
|
432
446
|
x: t.value.right + 36 + 18,
|
|
433
|
-
y: t.value.top +
|
|
447
|
+
y: t.value.top + Z.value + e.value.style.legend.fontSize * 2.5,
|
|
434
448
|
"text-anchor": "middle",
|
|
435
449
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
436
450
|
fill: e.value.style.legend.color
|
|
@@ -443,7 +457,7 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
443
457
|
s: e.value.style.layout.dataLabels.suffix,
|
|
444
458
|
r: e.value.style.legend.roundingValue
|
|
445
459
|
})
|
|
446
|
-
)), 9,
|
|
460
|
+
)), 9, bl),
|
|
447
461
|
C.value !== null ? (s(), n("line", {
|
|
448
462
|
key: 0,
|
|
449
463
|
stroke: i(oe)(I.value.datapoint.color),
|
|
@@ -452,25 +466,25 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
452
466
|
x2: t.value.right + 72,
|
|
453
467
|
y1: B.value,
|
|
454
468
|
y2: B.value
|
|
455
|
-
}, null, 8,
|
|
469
|
+
}, null, 8, ml)) : c("", !0),
|
|
456
470
|
C.value !== null ? (s(), n("path", {
|
|
457
471
|
key: 1,
|
|
458
472
|
fill: e.value.style.color,
|
|
459
473
|
stroke: "none",
|
|
460
474
|
d: `M ${t.value.right + 36},${B.value} ${t.value.right + 26},${B.value - 8} ${t.value.right + 26},${B.value + 8}z`
|
|
461
|
-
}, null, 8,
|
|
475
|
+
}, null, 8, xl)) : c("", !0)
|
|
462
476
|
])) : c("", !0),
|
|
463
|
-
e.value.style.legend.show && H.value === "bottom" ? (s(), n("g",
|
|
477
|
+
e.value.style.legend.show && H.value === "bottom" ? (s(), n("g", wl, [
|
|
464
478
|
u("defs", null, [
|
|
465
|
-
u("linearGradient",
|
|
479
|
+
u("linearGradient", _l, [
|
|
466
480
|
u("stop", {
|
|
467
481
|
offset: "0%",
|
|
468
482
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
469
|
-
}, null, 8,
|
|
483
|
+
}, null, 8, kl),
|
|
470
484
|
u("stop", {
|
|
471
485
|
offset: "100%",
|
|
472
486
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
473
|
-
}, null, 8,
|
|
487
|
+
}, null, 8, $l)
|
|
474
488
|
])
|
|
475
489
|
]),
|
|
476
490
|
u("rect", {
|
|
@@ -480,7 +494,7 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
480
494
|
height: e.value.style.layout.cells.height,
|
|
481
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,
|
|
482
496
|
fill: "url(#colorScaleHorizontal)"
|
|
483
|
-
}, null, 8,
|
|
497
|
+
}, null, 8, Cl),
|
|
484
498
|
u("text", {
|
|
485
499
|
x: t.value.left,
|
|
486
500
|
y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -496,7 +510,7 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
496
510
|
s: e.value.style.layout.dataLabels.suffix,
|
|
497
511
|
r: e.value.style.legend.roundingValue
|
|
498
512
|
})
|
|
499
|
-
)), 9,
|
|
513
|
+
)), 9, Ll),
|
|
500
514
|
u("text", {
|
|
501
515
|
x: t.value.right,
|
|
502
516
|
y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -512,7 +526,7 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
512
526
|
s: e.value.style.layout.dataLabels.suffix,
|
|
513
527
|
r: e.value.style.legend.roundingValue
|
|
514
528
|
})
|
|
515
|
-
)), 9,
|
|
529
|
+
)), 9, Al),
|
|
516
530
|
C.value !== null ? (s(), n("line", {
|
|
517
531
|
key: 0,
|
|
518
532
|
stroke: i(oe)(I.value.datapoint.color),
|
|
@@ -521,20 +535,20 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
521
535
|
x2: R.value,
|
|
522
536
|
y1: t.value.bottom + e.value.style.layout.cells.height,
|
|
523
537
|
y2: t.value.bottom + e.value.style.layout.cells.height * 2
|
|
524
|
-
}, null, 8,
|
|
538
|
+
}, null, 8, zl)) : c("", !0),
|
|
525
539
|
C.value !== null ? (s(), n("path", {
|
|
526
540
|
key: 1,
|
|
527
541
|
fill: e.value.style.color,
|
|
528
542
|
stroke: "none",
|
|
529
543
|
d: `M ${R.value},${t.value.bottom + e.value.style.layout.cells.height} ${R.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${R.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
530
|
-
}, null, 8,
|
|
544
|
+
}, null, 8, Tl)) : c("", !0)
|
|
531
545
|
])) : c("", !0),
|
|
532
546
|
x(l.$slots, "svg", { svg: _.value }, void 0, !0)
|
|
533
|
-
], 14,
|
|
534
|
-
l.$slots.watermark ? (s(), n("div",
|
|
535
|
-
x(l.$slots, "watermark",
|
|
547
|
+
], 14, ll)) : c("", !0),
|
|
548
|
+
l.$slots.watermark ? (s(), n("div", Ml, [
|
|
549
|
+
x(l.$slots, "watermark", j(W({ isPrinting: i(de) || i(ye) })), void 0, !0)
|
|
536
550
|
])) : c("", !0),
|
|
537
|
-
X.value ? c("", !0) : (s(),
|
|
551
|
+
X.value ? c("", !0) : (s(), Y(qe, {
|
|
538
552
|
key: 4,
|
|
539
553
|
config: {
|
|
540
554
|
type: "heatmap",
|
|
@@ -546,8 +560,8 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
546
560
|
}
|
|
547
561
|
}
|
|
548
562
|
}, null, 8, ["config"])),
|
|
549
|
-
|
|
550
|
-
show: w.value.showTooltip &&
|
|
563
|
+
me(Ke, {
|
|
564
|
+
show: w.value.showTooltip && q.value,
|
|
551
565
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
552
566
|
color: e.value.style.tooltip.color,
|
|
553
567
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -557,19 +571,19 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
557
571
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
558
572
|
position: e.value.style.tooltip.position,
|
|
559
573
|
offsetY: e.value.style.tooltip.offsetY,
|
|
560
|
-
parent:
|
|
561
|
-
content:
|
|
574
|
+
parent: K.value,
|
|
575
|
+
content: J.value,
|
|
562
576
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
563
577
|
}, {
|
|
564
578
|
"tooltip-before": k(() => [
|
|
565
|
-
x(l.$slots, "tooltip-before",
|
|
579
|
+
x(l.$slots, "tooltip-before", j(W({ ...I.value })), void 0, !0)
|
|
566
580
|
]),
|
|
567
581
|
"tooltip-after": k(() => [
|
|
568
|
-
x(l.$slots, "tooltip-after",
|
|
582
|
+
x(l.$slots, "tooltip-after", j(W({ ...I.value })), void 0, !0)
|
|
569
583
|
]),
|
|
570
584
|
_: 3
|
|
571
585
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
572
|
-
X.value ? (s(),
|
|
586
|
+
X.value ? (s(), Y(Qe, {
|
|
573
587
|
key: 5,
|
|
574
588
|
hideDetails: "",
|
|
575
589
|
config: {
|
|
@@ -600,20 +614,20 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
600
614
|
tabindex: "0",
|
|
601
615
|
style: m(`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};`),
|
|
602
616
|
onClick: a[1] || (a[1] = (o) => w.value.showTable = !1),
|
|
603
|
-
onKeypress: a[2] || (a[2] =
|
|
617
|
+
onKeypress: a[2] || (a[2] = Oe((o) => w.value.showTable = !1, ["enter"]))
|
|
604
618
|
}, [
|
|
605
|
-
|
|
619
|
+
me(Je, {
|
|
606
620
|
name: "close",
|
|
607
621
|
stroke: e.value.table.th.color,
|
|
608
622
|
"stroke-width": 2
|
|
609
623
|
}, null, 8, ["stroke"])
|
|
610
624
|
], 36),
|
|
611
|
-
u("table",
|
|
625
|
+
u("table", Sl, [
|
|
612
626
|
u("caption", {
|
|
613
627
|
style: m(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
614
628
|
}, [
|
|
615
|
-
|
|
616
|
-
e.value.style.title.subtitle.text ? (s(), n("span",
|
|
629
|
+
Fe(f(e.value.style.title.text) + " ", 1),
|
|
630
|
+
e.value.style.title.subtitle.text ? (s(), n("span", Nl, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
617
631
|
], 4),
|
|
618
632
|
u("thead", null, [
|
|
619
633
|
u("tr", {
|
|
@@ -640,15 +654,15 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
640
654
|
class: "vue-ui-data-table__tbody__td",
|
|
641
655
|
style: m(`outline:${e.value.table.td.outline}`)
|
|
642
656
|
}, [
|
|
643
|
-
u("div",
|
|
644
|
-
], 12,
|
|
645
|
-
(s(!0), n(A, null, S(G.dataset, (y,
|
|
657
|
+
u("div", Fl, f(o), 1)
|
|
658
|
+
], 12, Ol),
|
|
659
|
+
(s(!0), n(A, null, S(G.dataset, (y, p) => (s(), n("td", {
|
|
646
660
|
class: "vue-ui-data-table__tbody__td",
|
|
647
|
-
"data-cell": G.dataset[
|
|
661
|
+
"data-cell": G.dataset[p].name,
|
|
648
662
|
style: m(`outline:${e.value.table.td.outline}`)
|
|
649
663
|
}, [
|
|
650
|
-
u("div",
|
|
651
|
-
], 12,
|
|
664
|
+
u("div", Pl, 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, Vl))), 256))
|
|
652
666
|
], 6))), 256))
|
|
653
667
|
])
|
|
654
668
|
])
|
|
@@ -657,9 +671,9 @@ const qe = ["id"], Je = ["xmlns", "viewBox"], Qe = ["x", "y", "width", "height",
|
|
|
657
671
|
]),
|
|
658
672
|
_: 1
|
|
659
673
|
}, 8, ["config"])) : c("", !0)
|
|
660
|
-
], 14,
|
|
674
|
+
], 14, el));
|
|
661
675
|
}
|
|
662
|
-
},
|
|
676
|
+
}, Wl = /* @__PURE__ */ Ze(Il, [["__scopeId", "data-v-bbdd6ca7"]]);
|
|
663
677
|
export {
|
|
664
|
-
|
|
678
|
+
Wl as default
|
|
665
679
|
};
|