vue-data-ui 2.3.90 → 2.3.91
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-C_Fnn6al.js → Arrow-CHTslrAF.js} +1 -1
- package/dist/{Arrow-D1pymKl6.cjs → Arrow-DpuaFuue.cjs} +1 -1
- package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-DfaCNBgc.js} +1 -1
- package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
- package/dist/{DataTable-Cmbf3abv.js → DataTable-BKc3r3k3.js} +2 -2
- package/dist/{DataTable-cOEA6Z37.cjs → DataTable-CnkdsvIo.cjs} +1 -1
- package/dist/{Legend-XqP6-7Ac.cjs → Legend-BQJV6Xk4.cjs} +1 -1
- package/dist/{Legend-CCq0mNRg.js → Legend-WNL92WSx.js} +1 -1
- package/dist/PackageVersion-D9PU8glB.js +10 -0
- package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
- package/dist/{Shape-B51JGReT.cjs → Shape-CgW0V2Og.cjs} +1 -1
- package/dist/{Shape-BNocET8E.js → Shape-DPvoEBm9.js} +1 -1
- package/dist/{Slicer-BKszZXjM.js → Slicer-DE9nFM_c.js} +2 -2
- package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-Dma3nlzi.cjs} +1 -1
- package/dist/{Title-BaR4XyXa.cjs → Title-Bg_BK11V.cjs} +1 -1
- package/dist/{Title-DlBwa3-X.js → Title-CECK1w9L.js} +1 -1
- package/dist/{Tooltip-w32n-8sY.js → Tooltip-Ci3AprCm.js} +1 -1
- package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
- package/dist/{index-B8EMsnjU.cjs → index-BhH89oF0.cjs} +1 -1
- package/dist/{index-DQl1TFXa.js → index-mBy4elhB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-BrIRtQj1.js} +1 -1
- package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
- package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
- package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Ck-yukK2.js} +1 -1
- package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
- package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-BuL-2aYA.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-C9a-AsIX.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
- package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
- package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-dyF20BlD.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
- package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
- package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
- package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
- package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
- package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
- package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
- package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
- package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
- package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
- package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
- package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
- package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
- package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
- package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-DZJI0YuX.js} +2 -2
- package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-CBG9ECp8.js} +118 -116
- package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
- package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
- package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
- package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CXqGztWj.js} +65 -63
- package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
- package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
- package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
- package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BEludqYn.js} +56 -54
- package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
- package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
- package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
- package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
- package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
- package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
- package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-zr721ux9.js} +3 -3
- package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
- package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
- package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
- package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
- package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
- package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
- package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-CmUXelhy.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
- package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
- package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
- package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
- package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
- package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
- package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
- package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
- package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-DuRLpMwk.js} +2 -2
- package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
- package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
- package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
- package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
- package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
- package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
- package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
- package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
- package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
- package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
- package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
- package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
- package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
- package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
- package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
- package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
- package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
- package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
- package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
- package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-BS9I8en7.js} +46 -44
- package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
- package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
- package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
- package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
- package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
- package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
- package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-Dtfv71zG.js} +1 -1
- package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
- package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
- package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
- package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-2PRDq1w6.js} +62 -60
- package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
- package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
- package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
- package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
- package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
- package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
- package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
- package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
- package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-wikAjwZY.js} +72 -70
- package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
- package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
- package/dist/{vue-ui-word-cloud-dMBTVGVk.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
- package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
- package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-CUjllUSv.js} +507 -504
- package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Ce-Re50D.cjs +0 -19
- package/dist/vue-ui-age-pyramid-C08rTXJn.cjs +0 -1
- package/dist/vue-ui-candlestick-m8fjxbj-.cjs +0 -2
- package/dist/vue-ui-chestnut-Y0gQvbbf.cjs +0 -6
- package/dist/vue-ui-donut-CCm7GJsm.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DiN8Jm0n.cjs +0 -1
- package/dist/vue-ui-dumbbell-lb72j7bY.cjs +0 -9
- package/dist/vue-ui-flow-B5Gxaqvl.cjs +0 -1
- package/dist/vue-ui-galaxy-Ck5cPkrh.cjs +0 -1
- package/dist/vue-ui-gauge-BwIhwSUw.cjs +0 -1
- package/dist/vue-ui-gizmo-DrGaoiM_.cjs +0 -1
- package/dist/vue-ui-heatmap-BLc6thGZ.cjs +0 -1
- package/dist/vue-ui-molecule-CAj1HFit.cjs +0 -1
- package/dist/vue-ui-mood-radar-CV2in2wO.cjs +0 -1
- package/dist/vue-ui-nested-donuts-4vO23n9z.cjs +0 -17
- package/dist/vue-ui-onion-B3mtn6xf.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DFMbhLY9.cjs +0 -8
- package/dist/vue-ui-quadrant-CpJX1Jwa.cjs +0 -1
- package/dist/vue-ui-quick-chart-CTxsI2tk.cjs +0 -15
- package/dist/vue-ui-radar-DFjsXmJ3.cjs +0 -1
- package/dist/vue-ui-relation-circle-DXuKdCih.cjs +0 -1
- package/dist/vue-ui-scatter-DPByFMNL.cjs +0 -1
- package/dist/vue-ui-skeleton-Bli7jLZ7.cjs +0 -41
- package/dist/vue-ui-spark-trend-sfgUJ32Q.cjs +0 -1
- package/dist/vue-ui-sparkbar-CKWYzriN.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D0q9F9Nz.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-CywhBkm2.cjs +0 -1
- package/dist/vue-ui-sparkline-Besp8Ffy.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-qXm8Ozzm.cjs +0 -1
- package/dist/vue-ui-stackbar-D0fGVkCR.cjs +0 -6
- package/dist/vue-ui-strip-plot-XDj8rL9m.cjs +0 -1
- package/dist/vue-ui-thermometer-C3T56ras.cjs +0 -1
- package/dist/vue-ui-timer-B_ZvV1ON.cjs +0 -64
- package/dist/vue-ui-tiremarks-DRbSpTgq.cjs +0 -1
- package/dist/vue-ui-treemap-CtKUTs2G.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BBIWdeXH.cjs +0 -4
- package/dist/vue-ui-waffle-9a3C4Nj-.cjs +0 -1
- package/dist/vue-ui-wheel-CErxlmqw.cjs +0 -1
- package/dist/vue-ui-word-cloud-nmx846H2.cjs +0 -1
- package/dist/vue-ui-xy-CLYgZk3Y.cjs +0 -3
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { useCssVars as Me, computed as h, ref as p, watch 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-
|
|
10
|
-
import { _ as Ze } from "./
|
|
11
|
-
|
|
1
|
+
import { useCssVars as Me, computed as h, ref as p, watch as me, 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, createVNode as le, Fragment as A, renderList as S, createElementVNode as u, toDisplayString as f, withKeys as Oe, createTextVNode as Fe, nextTick as Ve } from "vue";
|
|
2
|
+
import { u as Pe, o as Ie, e as xe, c as ae, t as Be, L as Re, g as Ee, M as oe, X as Ge, F as se, i as F, f as N, v as z, x as Xe, y as He, q as De, r as Ue } from "./index-mBy4elhB.js";
|
|
3
|
+
import { _ as Ye } from "./Title-CECK1w9L.js";
|
|
4
|
+
import { u as je, U as We } from "./usePrinter-Ck-yukK2.js";
|
|
5
|
+
import { _ as qe } from "./Tooltip-Ci3AprCm.js";
|
|
6
|
+
import Ke from "./vue-ui-skeleton-DDhwPZd_.js";
|
|
7
|
+
import Je from "./BaseIcon-DfaCNBgc.js";
|
|
8
|
+
import Qe from "./vue-ui-accordion-dyF20BlD.js";
|
|
9
|
+
import { u as we } from "./useNestedProp-BrIRtQj1.js";
|
|
10
|
+
import { _ as Ze } from "./PackageVersion-D9PU8glB.js";
|
|
11
|
+
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const tt = ["id"], lt = {
|
|
12
13
|
key: 0,
|
|
13
14
|
style: "width:100%;background:transparent"
|
|
14
|
-
},
|
|
15
|
+
}, at = ["xmlns", "viewBox"], ot = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], st = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ut = ["font-size", "font-weight", "fill", "x", "y"], nt = ["x", "y", "width", "height", "onMouseover"], it = { key: 0 }, rt = ["font-size", "fill", "x", "y", "font-weight"], vt = { key: 0 }, dt = ["text-anchor", "font-size", "fill", "font-weight", "transform"], yt = { key: 1 }, ct = ["x", "y", "width", "height", "stroke", "stroke-width"], ht = { key: 2 }, pt = ["id"], gt = ["stop-color"], ft = ["stop-color"], bt = ["x", "y", "font-size", "fill"], mt = ["x", "y", "height", "rx", "fill"], xt = ["x", "y", "font-size", "fill"], wt = ["stroke", "x1", "x2", "y1", "y2"], _t = ["fill", "d"], kt = { key: 3 }, $t = {
|
|
15
16
|
id: "colorScaleHorizontal",
|
|
16
17
|
x1: "0%",
|
|
17
18
|
x2: "100%",
|
|
18
19
|
y1: "0%",
|
|
19
20
|
y2: "0%"
|
|
20
|
-
},
|
|
21
|
+
}, Ct = ["stop-color"], Lt = ["stop-color"], At = ["x", "y", "width", "height", "rx"], zt = ["x", "y", "font-size", "fill"], Tt = ["x", "y", "font-size", "fill"], Mt = ["stroke", "x1", "x2", "y1", "y2"], St = ["fill", "d"], Nt = {
|
|
21
22
|
key: 3,
|
|
22
23
|
class: "vue-data-ui-watermark"
|
|
23
|
-
},
|
|
24
|
+
}, Ot = { class: "vue-ui-data-table" }, Ft = { key: 0 }, Vt = ["data-cell"], Pt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, It = ["data-cell"], Bt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Rt = {
|
|
24
25
|
__name: "vue-ui-heatmap",
|
|
25
26
|
props: {
|
|
26
27
|
config: {
|
|
@@ -39,18 +40,18 @@ const et = ["id"], tt = {
|
|
|
39
40
|
setup(G, { expose: _e }) {
|
|
40
41
|
const r = G;
|
|
41
42
|
Me((t) => ({
|
|
42
|
-
|
|
43
|
+
"1678b056": t.tdo
|
|
43
44
|
}));
|
|
44
45
|
const { vue_ui_heatmap: ke } = Pe(), X = h(() => !!r.dataset && r.dataset.length);
|
|
45
46
|
Ie(r.dataset) && xe({
|
|
46
47
|
componentName: "VueUiHeatmap",
|
|
47
48
|
type: "dataset"
|
|
48
49
|
});
|
|
49
|
-
const V = p(
|
|
50
|
-
get: () =>
|
|
50
|
+
const V = p(ae()), q = p(null), $e = p(null), K = p(!1), J = p(""), ue = p(void 0), P = p(null), ne = p(0), ie = p(null), re = p(!1), ve = p(0), e = h({
|
|
51
|
+
get: () => de(),
|
|
51
52
|
set: (t) => t
|
|
52
53
|
});
|
|
53
|
-
function
|
|
54
|
+
function de() {
|
|
54
55
|
const t = we({
|
|
55
56
|
userConfig: r.config,
|
|
56
57
|
defaultConfig: ke
|
|
@@ -63,12 +64,12 @@ const et = ["id"], tt = {
|
|
|
63
64
|
})
|
|
64
65
|
} : 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;
|
|
65
66
|
}
|
|
66
|
-
|
|
67
|
-
e.value =
|
|
68
|
-
}, { deep: !0 }),
|
|
67
|
+
me(() => r.config, (t) => {
|
|
68
|
+
e.value = de(), Q(), ve.value += 1;
|
|
69
|
+
}, { deep: !0 }), me(() => r.dataset, () => {
|
|
69
70
|
Q();
|
|
70
71
|
}, { deep: !0 });
|
|
71
|
-
const { isPrinting:
|
|
72
|
+
const { isPrinting: ye, isImaging: ce, generatePdf: he, generateImage: pe } = je({
|
|
72
73
|
elementId: `heatmap__${V.value}`,
|
|
73
74
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
74
75
|
}), w = p({
|
|
@@ -78,9 +79,9 @@ const et = ["id"], tt = {
|
|
|
78
79
|
function Le() {
|
|
79
80
|
new ResizeObserver((a) => {
|
|
80
81
|
a.forEach((o) => {
|
|
81
|
-
|
|
82
|
+
re.value = o.contentRect.width < Ce.value;
|
|
82
83
|
});
|
|
83
|
-
}).observe(
|
|
84
|
+
}).observe(ie.value);
|
|
84
85
|
}
|
|
85
86
|
Se(Q);
|
|
86
87
|
function Q() {
|
|
@@ -128,26 +129,26 @@ const et = ["id"], tt = {
|
|
|
128
129
|
...t,
|
|
129
130
|
temperatures: (t.values || []).map((a, o) => a >= M.value ? {
|
|
130
131
|
side: "up",
|
|
131
|
-
color:
|
|
132
|
+
color: oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
|
|
132
133
|
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)),
|
|
133
134
|
value: a,
|
|
134
135
|
yAxisName: t.name,
|
|
135
136
|
xAxisName: $.value.xLabels[o],
|
|
136
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
137
|
+
id: `vue-data-ui-heatmap-cell-${ae()}`
|
|
137
138
|
} : {
|
|
138
139
|
side: "down",
|
|
139
140
|
ratio: Math.abs(1 - Math.abs(a) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(M.value)),
|
|
140
|
-
color:
|
|
141
|
+
color: oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
|
|
141
142
|
value: a,
|
|
142
143
|
yAxisName: t.name,
|
|
143
144
|
xAxisName: $.value.xLabels[o],
|
|
144
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
145
|
+
id: `vue-data-ui-heatmap-cell-${ae()}`
|
|
145
146
|
})
|
|
146
147
|
})))), C = p(null), I = p(null);
|
|
147
148
|
function Ae(t, a, o, v) {
|
|
148
149
|
P.value = { x: o, y: v };
|
|
149
150
|
const { value: y, yAxisName: g, xAxisName: L, id: Te } = t;
|
|
150
|
-
|
|
151
|
+
ue.value = Te, C.value = y, I.value = {
|
|
151
152
|
datapoint: t,
|
|
152
153
|
seriesIndex: a,
|
|
153
154
|
series: D.value,
|
|
@@ -165,7 +166,7 @@ const et = ["id"], tt = {
|
|
|
165
166
|
seriesIndex: a,
|
|
166
167
|
series: D.value,
|
|
167
168
|
config: e.value
|
|
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:${
|
|
169
|
+
}) : (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:${oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
|
|
169
170
|
e.value.style.layout.cells.value.formatter,
|
|
170
171
|
y,
|
|
171
172
|
N({
|
|
@@ -184,7 +185,7 @@ const et = ["id"], tt = {
|
|
|
184
185
|
})), a = r.dataset.map((o) => o.values);
|
|
185
186
|
return { head: t, body: a };
|
|
186
187
|
});
|
|
187
|
-
function
|
|
188
|
+
function ge() {
|
|
188
189
|
Ve(() => {
|
|
189
190
|
const t = ["", ...r.dataset.map((y, g) => y.name)], a = [];
|
|
190
191
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
@@ -199,20 +200,20 @@ const et = ["id"], tt = {
|
|
|
199
200
|
}
|
|
200
201
|
const E = p(!1);
|
|
201
202
|
function ze(t) {
|
|
202
|
-
E.value = t,
|
|
203
|
+
E.value = t, ne.value += 1;
|
|
203
204
|
}
|
|
204
|
-
function
|
|
205
|
+
function fe() {
|
|
205
206
|
w.value.showTable = !w.value.showTable;
|
|
206
207
|
}
|
|
207
|
-
function
|
|
208
|
+
function be() {
|
|
208
209
|
w.value.showTooltip = !w.value.showTooltip;
|
|
209
210
|
}
|
|
210
211
|
return _e({
|
|
211
|
-
generatePdf:
|
|
212
|
-
generateCsv:
|
|
213
|
-
generateImage:
|
|
214
|
-
toggleTable:
|
|
215
|
-
toggleTooltip:
|
|
212
|
+
generatePdf: he,
|
|
213
|
+
generateCsv: ge,
|
|
214
|
+
generateImage: pe,
|
|
215
|
+
toggleTable: fe,
|
|
216
|
+
toggleTooltip: be
|
|
216
217
|
}), (t, a) => (s(), n("div", {
|
|
217
218
|
ref_key: "heatmapChart",
|
|
218
219
|
ref: q,
|
|
@@ -220,9 +221,9 @@ const et = ["id"], tt = {
|
|
|
220
221
|
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}`),
|
|
221
222
|
id: `heatmap__${V.value}`
|
|
222
223
|
}, [
|
|
223
|
-
e.value.style.title.text ? (s(), n("div",
|
|
224
|
+
e.value.style.title.text ? (s(), n("div", lt, [
|
|
224
225
|
(s(), Y(Ye, {
|
|
225
|
-
key: `title_${
|
|
226
|
+
key: `title_${ve.value}`,
|
|
226
227
|
config: {
|
|
227
228
|
title: {
|
|
228
229
|
cy: "heatmap-div-title",
|
|
@@ -238,11 +239,11 @@ const et = ["id"], tt = {
|
|
|
238
239
|
e.value.userOptions.show && X.value ? (s(), Y(We, {
|
|
239
240
|
ref_key: "details",
|
|
240
241
|
ref: $e,
|
|
241
|
-
key: `user_options_${
|
|
242
|
+
key: `user_options_${ne.value}`,
|
|
242
243
|
backgroundColor: e.value.style.backgroundColor,
|
|
243
244
|
color: e.value.style.color,
|
|
244
|
-
isImaging: i(
|
|
245
|
-
isPrinting: i(
|
|
245
|
+
isImaging: i(ce),
|
|
246
|
+
isPrinting: i(ye),
|
|
246
247
|
uid: V.value,
|
|
247
248
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
248
249
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -256,11 +257,11 @@ const et = ["id"], tt = {
|
|
|
256
257
|
chartElement: q.value,
|
|
257
258
|
position: e.value.userOptions.position,
|
|
258
259
|
onToggleFullscreen: ze,
|
|
259
|
-
onGeneratePdf: i(
|
|
260
|
-
onGenerateCsv:
|
|
261
|
-
onGenerateImage: i(
|
|
262
|
-
onToggleTable:
|
|
263
|
-
onToggleTooltip:
|
|
260
|
+
onGeneratePdf: i(he),
|
|
261
|
+
onGenerateCsv: ge,
|
|
262
|
+
onGenerateImage: i(pe),
|
|
263
|
+
onToggleTable: fe,
|
|
264
|
+
onToggleTooltip: be
|
|
264
265
|
}, Ne({ _: 2 }, [
|
|
265
266
|
t.$slots.optionTooltip ? {
|
|
266
267
|
name: "optionTooltip",
|
|
@@ -312,6 +313,7 @@ const et = ["id"], tt = {
|
|
|
312
313
|
viewBox: `0 0 ${_.value.width} ${_.value.heightWithLegend}`,
|
|
313
314
|
style: m(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
314
315
|
}, [
|
|
316
|
+
le(Ze),
|
|
315
317
|
(s(!0), n(A, null, S(D.value, (o, v) => (s(), n("g", null, [
|
|
316
318
|
(s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
317
319
|
u("rect", {
|
|
@@ -322,7 +324,7 @@ const et = ["id"], tt = {
|
|
|
322
324
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
323
325
|
stroke: e.value.style.backgroundColor,
|
|
324
326
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
325
|
-
}, null, 8,
|
|
327
|
+
}, null, 8, ot),
|
|
326
328
|
u("rect", {
|
|
327
329
|
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
328
330
|
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
@@ -331,13 +333,13 @@ const et = ["id"], tt = {
|
|
|
331
333
|
fill: y.color,
|
|
332
334
|
stroke: e.value.style.backgroundColor,
|
|
333
335
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
334
|
-
}, null, 8,
|
|
336
|
+
}, null, 8, st),
|
|
335
337
|
e.value.style.layout.cells.value.show ? (s(), n("text", {
|
|
336
338
|
key: 0,
|
|
337
339
|
"text-anchor": "middle",
|
|
338
340
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
339
341
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
340
|
-
fill: i(
|
|
342
|
+
fill: i(se)(y.color),
|
|
341
343
|
x: l.value.left + d.value.width * g + d.value.width / 2,
|
|
342
344
|
y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
343
345
|
}, f(i(F)(
|
|
@@ -350,7 +352,7 @@ const et = ["id"], tt = {
|
|
|
350
352
|
r: e.value.style.layout.cells.value.roundingValue
|
|
351
353
|
}),
|
|
352
354
|
{ datapoint: y }
|
|
353
|
-
)), 9,
|
|
355
|
+
)), 9, ut)) : c("", !0)
|
|
354
356
|
]))), 256)),
|
|
355
357
|
(s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
356
358
|
u("rect", {
|
|
@@ -362,11 +364,11 @@ const et = ["id"], tt = {
|
|
|
362
364
|
stroke: "none",
|
|
363
365
|
onMouseover: (L) => Ae(y, v, l.value.left + d.value.width * g, l.value.top + d.value.height * v),
|
|
364
366
|
onMouseout: a[0] || (a[0] = (L) => {
|
|
365
|
-
K.value = !1,
|
|
367
|
+
K.value = !1, ue.value = void 0, C.value = null, P.value = null;
|
|
366
368
|
})
|
|
367
|
-
}, null, 40,
|
|
369
|
+
}, null, 40, nt)
|
|
368
370
|
]))), 256)),
|
|
369
|
-
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g",
|
|
371
|
+
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", it, [
|
|
370
372
|
u("text", {
|
|
371
373
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
372
374
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -374,10 +376,10 @@ const et = ["id"], tt = {
|
|
|
374
376
|
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,
|
|
375
377
|
"text-anchor": "end",
|
|
376
378
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
377
|
-
}, f($.value.yLabels[v]), 9,
|
|
379
|
+
}, f($.value.yLabels[v]), 9, rt)
|
|
378
380
|
])) : c("", !0)
|
|
379
381
|
]))), 256)),
|
|
380
|
-
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g",
|
|
382
|
+
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", vt, [
|
|
381
383
|
(s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n(A, null, [
|
|
382
384
|
!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", {
|
|
383
385
|
key: 0,
|
|
@@ -386,10 +388,10 @@ const et = ["id"], tt = {
|
|
|
386
388
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
387
389
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
388
390
|
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,
|
|
391
|
+
}, f(o), 9, dt)) : c("", !0)
|
|
390
392
|
], 64))), 256))
|
|
391
393
|
])) : c("", !0),
|
|
392
|
-
P.value ? (s(), n("g",
|
|
394
|
+
P.value ? (s(), n("g", yt, [
|
|
393
395
|
u("rect", {
|
|
394
396
|
style: { "pointer-events": "none" },
|
|
395
397
|
x: P.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
@@ -400,9 +402,9 @@ const et = ["id"], tt = {
|
|
|
400
402
|
stroke: e.value.style.layout.cells.selected.color,
|
|
401
403
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
402
404
|
rx: 1
|
|
403
|
-
}, null, 8,
|
|
405
|
+
}, null, 8, ct)
|
|
404
406
|
])) : c("", !0),
|
|
405
|
-
e.value.style.legend.show && H.value === "right" ? (s(), n("g",
|
|
407
|
+
e.value.style.legend.show && H.value === "right" ? (s(), n("g", ht, [
|
|
406
408
|
u("defs", null, [
|
|
407
409
|
u("linearGradient", {
|
|
408
410
|
id: `colorScaleVertical_${V.value}`,
|
|
@@ -412,12 +414,12 @@ const et = ["id"], tt = {
|
|
|
412
414
|
u("stop", {
|
|
413
415
|
offset: "0%",
|
|
414
416
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
415
|
-
}, null, 8,
|
|
417
|
+
}, null, 8, gt),
|
|
416
418
|
u("stop", {
|
|
417
419
|
offset: "100%",
|
|
418
420
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
419
|
-
}, null, 8,
|
|
420
|
-
], 8,
|
|
421
|
+
}, null, 8, ft)
|
|
422
|
+
], 8, pt)
|
|
421
423
|
]),
|
|
422
424
|
u("text", {
|
|
423
425
|
x: l.value.right + 36 + 18,
|
|
@@ -434,7 +436,7 @@ const et = ["id"], tt = {
|
|
|
434
436
|
s: e.value.style.layout.dataLabels.suffix,
|
|
435
437
|
r: e.value.style.legend.roundingValue
|
|
436
438
|
})
|
|
437
|
-
)), 9,
|
|
439
|
+
)), 9, bt),
|
|
438
440
|
u("rect", {
|
|
439
441
|
x: l.value.right + 36,
|
|
440
442
|
y: l.value.top,
|
|
@@ -442,7 +444,7 @@ const et = ["id"], tt = {
|
|
|
442
444
|
height: Z.value,
|
|
443
445
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
444
446
|
fill: `url(#colorScaleVertical_${V.value})`
|
|
445
|
-
}, null, 8,
|
|
447
|
+
}, null, 8, mt),
|
|
446
448
|
u("text", {
|
|
447
449
|
x: l.value.right + 36 + 18,
|
|
448
450
|
y: l.value.top + Z.value + e.value.style.legend.fontSize * 2.5,
|
|
@@ -458,34 +460,34 @@ const et = ["id"], tt = {
|
|
|
458
460
|
s: e.value.style.layout.dataLabels.suffix,
|
|
459
461
|
r: e.value.style.legend.roundingValue
|
|
460
462
|
})
|
|
461
|
-
)), 9,
|
|
463
|
+
)), 9, xt),
|
|
462
464
|
C.value !== null ? (s(), n("line", {
|
|
463
465
|
key: 0,
|
|
464
|
-
stroke: i(
|
|
466
|
+
stroke: i(se)(I.value.datapoint.color),
|
|
465
467
|
"stroke-width": "2",
|
|
466
468
|
x1: l.value.right + 36,
|
|
467
469
|
x2: l.value.right + 72,
|
|
468
470
|
y1: B.value,
|
|
469
471
|
y2: B.value
|
|
470
|
-
}, null, 8,
|
|
472
|
+
}, null, 8, wt)) : c("", !0),
|
|
471
473
|
C.value !== null ? (s(), n("path", {
|
|
472
474
|
key: 1,
|
|
473
475
|
fill: e.value.style.color,
|
|
474
476
|
stroke: "none",
|
|
475
477
|
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,
|
|
478
|
+
}, null, 8, _t)) : c("", !0)
|
|
477
479
|
])) : c("", !0),
|
|
478
|
-
e.value.style.legend.show && H.value === "bottom" ? (s(), n("g",
|
|
480
|
+
e.value.style.legend.show && H.value === "bottom" ? (s(), n("g", kt, [
|
|
479
481
|
u("defs", null, [
|
|
480
|
-
u("linearGradient",
|
|
482
|
+
u("linearGradient", $t, [
|
|
481
483
|
u("stop", {
|
|
482
484
|
offset: "0%",
|
|
483
485
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
484
|
-
}, null, 8,
|
|
486
|
+
}, null, 8, Ct),
|
|
485
487
|
u("stop", {
|
|
486
488
|
offset: "100%",
|
|
487
489
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
488
|
-
}, null, 8,
|
|
490
|
+
}, null, 8, Lt)
|
|
489
491
|
])
|
|
490
492
|
]),
|
|
491
493
|
u("rect", {
|
|
@@ -495,7 +497,7 @@ const et = ["id"], tt = {
|
|
|
495
497
|
height: e.value.style.layout.cells.height,
|
|
496
498
|
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,
|
|
497
499
|
fill: "url(#colorScaleHorizontal)"
|
|
498
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, At),
|
|
499
501
|
u("text", {
|
|
500
502
|
x: l.value.left,
|
|
501
503
|
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -511,7 +513,7 @@ const et = ["id"], tt = {
|
|
|
511
513
|
s: e.value.style.layout.dataLabels.suffix,
|
|
512
514
|
r: e.value.style.legend.roundingValue
|
|
513
515
|
})
|
|
514
|
-
)), 9,
|
|
516
|
+
)), 9, zt),
|
|
515
517
|
u("text", {
|
|
516
518
|
x: l.value.right,
|
|
517
519
|
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -527,27 +529,27 @@ const et = ["id"], tt = {
|
|
|
527
529
|
s: e.value.style.layout.dataLabels.suffix,
|
|
528
530
|
r: e.value.style.legend.roundingValue
|
|
529
531
|
})
|
|
530
|
-
)), 9,
|
|
532
|
+
)), 9, Tt),
|
|
531
533
|
C.value !== null ? (s(), n("line", {
|
|
532
534
|
key: 0,
|
|
533
|
-
stroke: i(
|
|
535
|
+
stroke: i(se)(I.value.datapoint.color),
|
|
534
536
|
"stroke-width": "2",
|
|
535
537
|
x1: R.value,
|
|
536
538
|
x2: R.value,
|
|
537
539
|
y1: l.value.bottom + e.value.style.layout.cells.height,
|
|
538
540
|
y2: l.value.bottom + e.value.style.layout.cells.height * 2
|
|
539
|
-
}, null, 8,
|
|
541
|
+
}, null, 8, Mt)) : c("", !0),
|
|
540
542
|
C.value !== null ? (s(), n("path", {
|
|
541
543
|
key: 1,
|
|
542
544
|
fill: e.value.style.color,
|
|
543
545
|
stroke: "none",
|
|
544
546
|
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,
|
|
547
|
+
}, null, 8, St)) : c("", !0)
|
|
546
548
|
])) : c("", !0),
|
|
547
549
|
x(t.$slots, "svg", { svg: _.value }, void 0, !0)
|
|
548
|
-
], 14,
|
|
549
|
-
t.$slots.watermark ? (s(), n("div",
|
|
550
|
-
x(t.$slots, "watermark", j(W({ isPrinting: i(
|
|
550
|
+
], 14, at)) : c("", !0),
|
|
551
|
+
t.$slots.watermark ? (s(), n("div", Nt, [
|
|
552
|
+
x(t.$slots, "watermark", j(W({ isPrinting: i(ye) || i(ce) })), void 0, !0)
|
|
551
553
|
])) : c("", !0),
|
|
552
554
|
X.value ? c("", !0) : (s(), Y(Ke, {
|
|
553
555
|
key: 4,
|
|
@@ -561,7 +563,7 @@ const et = ["id"], tt = {
|
|
|
561
563
|
}
|
|
562
564
|
}
|
|
563
565
|
}, null, 8, ["config"])),
|
|
564
|
-
|
|
566
|
+
le(qe, {
|
|
565
567
|
show: w.value.showTooltip && K.value,
|
|
566
568
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
567
569
|
color: e.value.style.tooltip.color,
|
|
@@ -603,12 +605,12 @@ const et = ["id"], tt = {
|
|
|
603
605
|
content: k(() => [
|
|
604
606
|
u("div", {
|
|
605
607
|
ref_key: "tableContainer",
|
|
606
|
-
ref:
|
|
608
|
+
ref: ie,
|
|
607
609
|
class: "vue-ui-heatmap-table"
|
|
608
610
|
}, [
|
|
609
611
|
u("div", {
|
|
610
612
|
style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
|
|
611
|
-
class: U({ "vue-ui-responsive":
|
|
613
|
+
class: U({ "vue-ui-responsive": re.value })
|
|
612
614
|
}, [
|
|
613
615
|
u("div", {
|
|
614
616
|
role: "button",
|
|
@@ -617,18 +619,18 @@ const et = ["id"], tt = {
|
|
|
617
619
|
onClick: a[1] || (a[1] = (o) => w.value.showTable = !1),
|
|
618
620
|
onKeypress: a[2] || (a[2] = Oe((o) => w.value.showTable = !1, ["enter"]))
|
|
619
621
|
}, [
|
|
620
|
-
|
|
622
|
+
le(Je, {
|
|
621
623
|
name: "close",
|
|
622
624
|
stroke: e.value.table.th.color,
|
|
623
625
|
"stroke-width": 2
|
|
624
626
|
}, null, 8, ["stroke"])
|
|
625
627
|
], 36),
|
|
626
|
-
u("table",
|
|
628
|
+
u("table", Ot, [
|
|
627
629
|
u("caption", {
|
|
628
630
|
style: m(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
629
631
|
}, [
|
|
630
632
|
Fe(f(e.value.style.title.text) + " ", 1),
|
|
631
|
-
e.value.style.title.subtitle.text ? (s(), n("span",
|
|
633
|
+
e.value.style.title.subtitle.text ? (s(), n("span", Ft, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
632
634
|
], 4),
|
|
633
635
|
u("thead", null, [
|
|
634
636
|
u("tr", {
|
|
@@ -655,15 +657,15 @@ const et = ["id"], tt = {
|
|
|
655
657
|
class: "vue-ui-data-table__tbody__td",
|
|
656
658
|
style: m(`outline:${e.value.table.td.outline}`)
|
|
657
659
|
}, [
|
|
658
|
-
u("div",
|
|
659
|
-
], 12,
|
|
660
|
+
u("div", Pt, f(o), 1)
|
|
661
|
+
], 12, Vt),
|
|
660
662
|
(s(!0), n(A, null, S(G.dataset, (y, g) => (s(), n("td", {
|
|
661
663
|
class: "vue-ui-data-table__tbody__td",
|
|
662
664
|
"data-cell": G.dataset[g].name,
|
|
663
665
|
style: m(`outline:${e.value.table.td.outline}`)
|
|
664
666
|
}, [
|
|
665
|
-
u("div",
|
|
666
|
-
], 12,
|
|
667
|
+
u("div", Bt, 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)
|
|
668
|
+
], 12, It))), 256))
|
|
667
669
|
], 6))), 256))
|
|
668
670
|
])
|
|
669
671
|
])
|
|
@@ -672,9 +674,9 @@ const et = ["id"], tt = {
|
|
|
672
674
|
]),
|
|
673
675
|
_: 1
|
|
674
676
|
}, 8, ["config"])) : c("", !0)
|
|
675
|
-
], 14,
|
|
677
|
+
], 14, tt));
|
|
676
678
|
}
|
|
677
|
-
},
|
|
679
|
+
}, Jt = /* @__PURE__ */ et(Rt, [["__scopeId", "data-v-c67467bd"]]);
|
|
678
680
|
export {
|
|
679
|
-
|
|
681
|
+
Jt as default
|
|
680
682
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),g=require("./useNestedProp-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),g=require("./useNestedProp-m8IH8hWW.cjs"),u=require("./index-BhH89oF0.cjs"),p=require("./vue-ui-digits-BBho1-xO.cjs"),y={__name:"vue-ui-kpi",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(n){const o=n,{vue_ui_kpi:m}=u.useConfig(),e=a.computed({get:()=>i(),set:t=>t});function i(){return g.useNestedProp({userConfig:o.config,defaultConfig:m})}a.watch(()=>o.config,t=>{e.value=i(),r()},{deep:!0});const f=a.ref((typeof o.dataset=="number",o.dataset)),l=a.ref(e.value.useAnimation?e.value.animationValueStart:f.value),s=t=>{const v=e.value.animationFrames,c=Math.abs(t-l.value)/v;function d(){l.value<t?l.value=Math.min(l.value+c,t):l.value>t&&(l.value=Math.max(l.value-c,t)),l.value!==t&&requestAnimationFrame(d)}d()};a.onMounted(()=>{r()});function r(){e.value.useAnimation?(l.value=e.value.animationValueStart,s(o.dataset)):l.value=o.dataset}return a.watch(()=>o.dataset,t=>{e.value.useAnimation?s(t):l.value=t}),(t,v)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(`vue-ui-kpi ${e.value.layoutClass}`),style:a.normalizeStyle(`background:${e.value.backgroundColor}; ${e.value.layoutCss}`)},[a.createElementVNode("div",{class:a.normalizeClass(`vue-ui-kpi-title ${e.value.titleClass}`),style:a.normalizeStyle(`font-family: ${e.value.fontFamily}; font-size:${e.value.titleFontSize}px; color:${e.value.titleColor}; font-weight:${e.value.titleBold?"bold":"normal"}; ${e.value.titleCss}`)},[a.renderSlot(t.$slots,"title",{comment:n.dataset}),a.createTextVNode(" "+a.toDisplayString(e.value.title),1)],6),a.renderSlot(t.$slots,"comment-before",{comment:n.dataset}),a.createElementVNode("div",{class:a.normalizeClass(`vue-ui-kpi-value ${e.value.valueClass}`),style:a.normalizeStyle(`font-family: ${e.value.fontFamily}; font-size:${e.value.valueFontSize}px; color:${e.value.valueColor}; font-weight:${e.value.valueBold?"bold":"normal"}; ${e.value.valueCss}`)},[a.renderSlot(t.$slots,"value",{comment:n.dataset}),e.value.analogDigits.show?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle({height:e.value.analogDigits.height+"px"})},[a.createVNode(p.default,{dataset:Number(l.value.toFixed(e.value.valueRounding)),config:{backgroundColor:e.value.backgroundColor,digits:{color:e.value.analogDigits.color,skeletonColor:e.value.analogDigits.skeletonColor}}},null,8,["dataset","config"])],4)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(a.unref(u.applyDataLabel)(e.value.formatter,l.value,a.unref(u.dataLabel)({p:e.value.prefix,v:l.value,s:e.value.suffix,r:e.value.valueRounding}))),1)],64))],6),a.renderSlot(t.$slots,"comment-after",{comment:n.dataset})],6))}};exports.default=y;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as N, watch as p, ref as C, onMounted as D, openBlock as i, createElementBlock as s, normalizeClass as v, normalizeStyle as u, createElementVNode as $, renderSlot as n, createTextVNode as y, toDisplayString as k, createVNode as S, Fragment as x, unref as h } from "vue";
|
|
2
|
-
import { u as z } from "./useNestedProp-
|
|
3
|
-
import { u as A, i as w, f as B } from "./index-
|
|
4
|
-
import L from "./vue-ui-digits-
|
|
2
|
+
import { u as z } from "./useNestedProp-BrIRtQj1.js";
|
|
3
|
+
import { u as A, i as w, f as B } from "./index-mBy4elhB.js";
|
|
4
|
+
import L from "./vue-ui-digits-DZJI0YuX.js";
|
|
5
5
|
const T = {
|
|
6
6
|
__name: "vue-ui-kpi",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as r, ref as f, openBlock as n, createElementBlock as u, unref as M, createElementVNode as t, normalizeStyle as l, createCommentVNode as a } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import { u as y, X as L } from "./index-
|
|
2
|
+
import { u as m } from "./useNestedProp-BrIRtQj1.js";
|
|
3
|
+
import { u as y, X as L } from "./index-mBy4elhB.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./useNestedProp-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./useNestedProp-m8IH8hWW.cjs"),n=require("./index-BhH89oF0.cjs"),m=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),g=["xmlns","viewBox"],C={key:0},_=["stroke"],h=["stroke"],M=["stroke"],y={key:1},B=["stroke"],f={key:2},L=["stroke"],b={__name:"vue-ui-mini-loader",props:{config:{type:Object,default(){return{}}}},setup(u){const a=u;e.useCssVars(k=>({"221651ee":c.value,d11bae38:d.value,d85c00de:p.value}));const{vue_ui_mini_loader:i}=n.useConfig(),t=e.computed(()=>v.useNestedProp({userConfig:a.config,defaultConfig:i})),s=e.ref({onion:"-10 -10 84 84",line:"-10 -10 112 84",bar:"-10 -10 106 84"}),r=e.computed(()=>({gutter:`stroke:${t.value.line.gutterColor};opacity:${t.value.line.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.line.gutterBlur}px);`})),l=e.computed(()=>({gutter:`stroke:${t.value.bar.gutterColor};opacity:${t.value.bar.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.bar.gutterBlur}px);`})),o=e.computed(()=>({gutter:`stroke:${t.value.onion.gutterColor};opacity:${t.value.onion.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.onion.gutterBlur}px);`})),c=e.computed(()=>`blur(${t.value.onion.trackBlur}px) hue-rotate(${t.value.onion.trackHueRotate}deg)`),d=e.computed(()=>`blur(${t.value.line.trackBlur}px) hue-rotate(${t.value.line.trackHueRotate}deg)`),p=e.computed(()=>`blur(${t.value.bar.trackBlur}px) hue-rotate(${t.value.bar.trackHueRotate}deg)`);return(k,x)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(n.XMLNS),viewBox:s.value[t.value.type],style:{background:"transparent"},width:"100%"},[t.value.type==="onion"?(e.openBlock(),e.createElementBlock("g",C,[e.createElementVNode("path",{d:"M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,_),e.createElementVNode("path",{d:"M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,h),e.createElementVNode("path",{d:"M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,M)])):e.createCommentVNode("",!0),t.value.type==="line"?(e.openBlock(),e.createElementBlock("g",y,[e.createElementVNode("path",{d:"M 3 62 C 6 57 6 48 11 45 C 16 44 17 53 22 52 C 27 49 25 32 30 31 C 34 29 37 47 42 47 C 46 47 45 38 49 36 C 53 34 56 45 61 45 C 66 45 65 24 69 24 C 73 22 75 35 79 34 C 84 34 83 11 91 5","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(r.value.gutter+r.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 62 C 6 57 6 48 11 45 C 16 44 17 53 22 52 C 27 49 25 32 30 31 C 34 29 37 47 42 47 C 46 47 45 38 49 36 C 53 34 56 45 61 45 C 66 45 65 24 69 24 C 73 22 75 35 79 34 C 84 34 83 11 91 5",stroke:t.value.line.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"line-animated"},null,8,B)])):e.createCommentVNode("",!0),t.value.type==="bar"?(e.openBlock(),e.createElementBlock("g",f,[e.createElementVNode("path",{d:"M 3 62 L 3 44 M 12 62 L 12 49 M 21 62 L 21 37 M 30 62 L 30 29 M 39 62 L 39 43 M 48 62 L 48 16 M 57 62 L 57 24 M 66 62 L 66 35 M 75 62 L 75 20 M 84 62 L 84 5","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(l.value.gutter+l.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 62 L 3 44 M 12 62 L 12 49 M 21 62 L 21 37 M 30 62 L 30 29 M 39 62 L 39 43 M 48 62 L 48 16 M 57 62 L 57 24 M 66 62 L 66 35 M 75 62 L 75 20 M 84 62 L 84 5",stroke:t.value.bar.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"bar-animated"},null,8,L)])):e.createCommentVNode("",!0)],8,g))}},N=m._export_sfc(b,[["__scopeId","data-v-20f54e0e"]]);exports.default=N;
|