vue-data-ui 2.4.3 → 2.4.5
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/README.md +3 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,32 +1,32 @@
|
|
|
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 ke } from "./useNestedProp-
|
|
10
|
-
import { _ as
|
|
11
|
-
import { P as
|
|
12
|
-
import { _ as
|
|
13
|
-
const
|
|
14
|
-
key:
|
|
1
|
+
import { useCssVars as Fe, computed as h, ref as p, watch as we, onMounted as Pe, openBlock as o, createElementBlock as u, normalizeClass as K, normalizeStyle as x, createBlock as G, createCommentVNode as c, unref as i, createSlots as Ve, withCtx as w, renderSlot as f, normalizeProps as X, guardReactiveProps as H, createVNode as oe, Fragment as A, renderList as S, createElementVNode as n, toDisplayString as b, withKeys as Ie, createTextVNode as Be, nextTick as Re } from "vue";
|
|
2
|
+
import { u as Ee, o as Ge, e as _e, c as se, t as Xe, M as He, g as De, N as ue, X as Ue, F as ne, i as F, f as O, v as T, x as Ye, y as je, q as We, r as qe } from "./index-C1GB0E49.js";
|
|
3
|
+
import { _ as Ke } from "./Title-W7iJGPjg.js";
|
|
4
|
+
import { u as Je, U as Qe } from "./usePrinter-y5uHyknw.js";
|
|
5
|
+
import { _ as Ze } from "./Tooltip-Pv3Bhir5.js";
|
|
6
|
+
import et from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
7
|
+
import tt from "./BaseIcon-D9DRVW03.js";
|
|
8
|
+
import lt from "./vue-ui-accordion-DWyRC3-h.js";
|
|
9
|
+
import { u as ke } from "./useNestedProp-CNAPgW6E.js";
|
|
10
|
+
import { _ as at } from "./PackageVersion-D9rYHrFZ.js";
|
|
11
|
+
import { P as ot } from "./PenAndPaper-C-KjtyNA.js";
|
|
12
|
+
import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const ut = ["id"], nt = {
|
|
14
|
+
key: 2,
|
|
15
15
|
style: "width:100%;background:transparent"
|
|
16
|
-
},
|
|
16
|
+
}, it = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], vt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], dt = ["font-size", "font-weight", "fill", "x", "y"], yt = ["x", "y", "width", "height", "onMouseover"], ct = { key: 0 }, ht = ["font-size", "fill", "x", "y", "font-weight"], pt = { key: 0 }, gt = ["text-anchor", "font-size", "fill", "font-weight", "transform"], ft = { key: 1 }, bt = ["x", "y", "width", "height", "stroke", "stroke-width"], mt = { key: 2 }, xt = ["id"], wt = ["stop-color"], _t = ["stop-color"], kt = ["x", "y", "font-size", "fill"], $t = ["x", "y", "height", "rx", "fill"], Ct = ["x", "y", "font-size", "fill"], Lt = ["stroke", "x1", "x2", "y1", "y2"], At = ["fill", "d"], Tt = { key: 3 }, zt = {
|
|
17
17
|
id: "colorScaleHorizontal",
|
|
18
18
|
x1: "0%",
|
|
19
19
|
x2: "100%",
|
|
20
20
|
y1: "0%",
|
|
21
21
|
y2: "0%"
|
|
22
|
-
},
|
|
23
|
-
key: 4,
|
|
24
|
-
class: "vue-data-ui-watermark"
|
|
25
|
-
}, Vt = {
|
|
22
|
+
}, Mt = ["stop-color"], St = ["stop-color"], Ot = ["x", "y", "width", "height", "rx"], Nt = ["x", "y", "font-size", "fill"], Ft = ["x", "y", "font-size", "fill"], Pt = ["stroke", "x1", "x2", "y1", "y2"], Vt = ["fill", "d"], It = {
|
|
26
23
|
key: 5,
|
|
24
|
+
class: "vue-data-ui-watermark"
|
|
25
|
+
}, Bt = {
|
|
26
|
+
key: 6,
|
|
27
27
|
ref: "source",
|
|
28
28
|
dir: "auto"
|
|
29
|
-
},
|
|
29
|
+
}, Rt = { class: "vue-ui-data-table" }, Et = { key: 0 }, Gt = ["data-cell"], Xt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ht = ["data-cell"], Dt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ut = {
|
|
30
30
|
__name: "vue-ui-heatmap",
|
|
31
31
|
props: {
|
|
32
32
|
config: {
|
|
@@ -44,15 +44,15 @@ const ot = ["id"], st = {
|
|
|
44
44
|
},
|
|
45
45
|
setup(D, { expose: $e }) {
|
|
46
46
|
const r = D;
|
|
47
|
-
|
|
48
|
-
"
|
|
47
|
+
Fe((t) => ({
|
|
48
|
+
"309b083a": t.tdo
|
|
49
49
|
}));
|
|
50
|
-
const { vue_ui_heatmap: Ce } =
|
|
51
|
-
|
|
50
|
+
const { vue_ui_heatmap: Ce } = Ee(), U = h(() => !!r.dataset && r.dataset.length);
|
|
51
|
+
Ge(r.dataset) && _e({
|
|
52
52
|
componentName: "VueUiHeatmap",
|
|
53
53
|
type: "dataset"
|
|
54
54
|
});
|
|
55
|
-
const P = p(se()), Y = p(null), Le = p(null), J = p(!1), Q = p(""), ie = p(void 0), V = p(null), re = p(0), ve = p(null), de = p(!1), ye = p(0), e = h({
|
|
55
|
+
const P = p(se()), Y = p(null), Le = p(null), J = p(!1), Q = p(""), ie = p(void 0), V = p(null), re = p(0), ve = p(null), Ae = p(null), de = p(!1), ye = p(0), e = h({
|
|
56
56
|
get: () => ce(),
|
|
57
57
|
set: (t) => t
|
|
58
58
|
});
|
|
@@ -64,39 +64,39 @@ const ot = ["id"], st = {
|
|
|
64
64
|
let a = {};
|
|
65
65
|
return t.theme ? a = {
|
|
66
66
|
...ke({
|
|
67
|
-
userConfig:
|
|
67
|
+
userConfig: Xe.vue_ui_heatmap[t.theme] || r.config,
|
|
68
68
|
defaultConfig: t
|
|
69
69
|
})
|
|
70
|
-
} : a = t, r.config &&
|
|
70
|
+
} : a = t, r.config && He(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;
|
|
71
71
|
}
|
|
72
72
|
we(() => r.config, (t) => {
|
|
73
73
|
e.value = ce(), Z(), ye.value += 1;
|
|
74
74
|
}, { deep: !0 }), we(() => r.dataset, () => {
|
|
75
75
|
Z();
|
|
76
76
|
}, { deep: !0 });
|
|
77
|
-
const { isPrinting: he, isImaging: pe, generatePdf: ge, generateImage: fe } =
|
|
77
|
+
const { isPrinting: he, isImaging: pe, generatePdf: ge, generateImage: fe } = Je({
|
|
78
78
|
elementId: `heatmap__${P.value}`,
|
|
79
79
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
80
|
-
}), _ = p({
|
|
80
|
+
}), Te = h(() => e.value.userOptions.show && !e.value.style.title.text), _ = p({
|
|
81
81
|
showTable: e.value.table.show,
|
|
82
82
|
showTooltip: e.value.style.tooltip.show
|
|
83
|
-
}),
|
|
84
|
-
function
|
|
83
|
+
}), ze = h(() => e.value.table.responsiveBreakpoint);
|
|
84
|
+
function Me() {
|
|
85
85
|
new ResizeObserver((a) => {
|
|
86
|
-
a.forEach((
|
|
87
|
-
de.value =
|
|
86
|
+
a.forEach((s) => {
|
|
87
|
+
de.value = s.contentRect.width < ze.value;
|
|
88
88
|
});
|
|
89
89
|
}).observe(ve.value);
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
Pe(Z);
|
|
92
92
|
function Z() {
|
|
93
|
-
|
|
93
|
+
Me();
|
|
94
94
|
}
|
|
95
95
|
const N = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))), k = h(() => {
|
|
96
|
-
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 + (N.value < r.dataset.length ? r.dataset.length : N.value) * e.value.style.layout.cells.height,
|
|
96
|
+
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 + (N.value < r.dataset.length ? r.dataset.length : N.value) * e.value.style.layout.cells.height, s = t + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
97
97
|
return {
|
|
98
98
|
height: t,
|
|
99
|
-
heightWithLegend:
|
|
99
|
+
heightWithLegend: s,
|
|
100
100
|
width: a
|
|
101
101
|
};
|
|
102
102
|
}), j = h(() => e.value.style.legend.position), l = h(() => ({
|
|
@@ -106,23 +106,23 @@ const ot = ["id"], st = {
|
|
|
106
106
|
bottom: k.value.height - e.value.style.layout.padding.bottom,
|
|
107
107
|
height: k.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
108
108
|
width: k.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (j.value === "right" && e.value.style.legend.show ? 92 : 0)
|
|
109
|
-
})), ee = h(() => d.value.height * r.dataset.length), m = h(() => Math.max(...r.dataset.flatMap((t) => t.values))),
|
|
110
|
-
const t = r.dataset.flatMap((
|
|
111
|
-
return t.reduce((
|
|
109
|
+
})), ee = h(() => d.value.height * r.dataset.length), m = h(() => Math.max(...r.dataset.flatMap((t) => t.values))), z = h(() => Math.min(...r.dataset.flatMap((t) => t.values))), M = h(() => {
|
|
110
|
+
const t = r.dataset.flatMap((s) => s.values);
|
|
111
|
+
return t.reduce((s, v) => s + v, 0) / t.length;
|
|
112
112
|
}), d = h(() => ({
|
|
113
113
|
width: l.value.width / N.value,
|
|
114
114
|
height: l.value.width / (N.value < r.dataset.length ? r.dataset.length : N.value)
|
|
115
115
|
})), $ = h(() => {
|
|
116
|
-
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : r.dataset.map((
|
|
116
|
+
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : r.dataset.map((s) => s.name), a = e.value.style.layout.dataLabels.xAxis.values;
|
|
117
117
|
return {
|
|
118
118
|
yLabels: t,
|
|
119
119
|
xLabels: a.slice(0, N.value)
|
|
120
120
|
};
|
|
121
121
|
}), W = h(() => (r.dataset.forEach((t, a) => {
|
|
122
|
-
|
|
122
|
+
De({
|
|
123
123
|
datasetObject: t,
|
|
124
124
|
requiredAttributes: ["values"]
|
|
125
|
-
}).forEach((
|
|
125
|
+
}).forEach((s) => {
|
|
126
126
|
_e({
|
|
127
127
|
componentName: "VueUiHeatmap",
|
|
128
128
|
type: "datasetSerieAttribute",
|
|
@@ -132,28 +132,28 @@ const ot = ["id"], st = {
|
|
|
132
132
|
});
|
|
133
133
|
}), r.dataset.map((t) => ({
|
|
134
134
|
...t,
|
|
135
|
-
temperatures: (t.values || []).map((a,
|
|
135
|
+
temperatures: (t.values || []).map((a, s) => a >= M.value ? {
|
|
136
136
|
side: "up",
|
|
137
|
-
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot,
|
|
137
|
+
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value, a),
|
|
138
138
|
ratio: Math.abs(Math.abs(a - M.value) / Math.abs(m.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(a - M.value) / Math.abs(m.value - M.value)),
|
|
139
139
|
value: a,
|
|
140
140
|
yAxisName: t.name,
|
|
141
|
-
xAxisName: $.value.xLabels[
|
|
141
|
+
xAxisName: $.value.xLabels[s],
|
|
142
142
|
id: `vue-data-ui-heatmap-cell-${se()}`
|
|
143
143
|
} : {
|
|
144
144
|
side: "down",
|
|
145
145
|
ratio: Math.abs(1 - Math.abs(a) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(M.value)),
|
|
146
|
-
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot,
|
|
146
|
+
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value, a),
|
|
147
147
|
value: a,
|
|
148
148
|
yAxisName: t.name,
|
|
149
|
-
xAxisName: $.value.xLabels[
|
|
149
|
+
xAxisName: $.value.xLabels[s],
|
|
150
150
|
id: `vue-data-ui-heatmap-cell-${se()}`
|
|
151
151
|
})
|
|
152
152
|
})))), C = p(null), I = p(null);
|
|
153
|
-
function
|
|
154
|
-
V.value = { x:
|
|
155
|
-
const { value: y, yAxisName: g, xAxisName: L, id:
|
|
156
|
-
ie.value =
|
|
153
|
+
function Se(t, a, s, v) {
|
|
154
|
+
V.value = { x: s, y: v };
|
|
155
|
+
const { value: y, yAxisName: g, xAxisName: L, id: Ne } = t;
|
|
156
|
+
ie.value = Ne, C.value = y, I.value = {
|
|
157
157
|
datapoint: t,
|
|
158
158
|
seriesIndex: a,
|
|
159
159
|
series: W.value,
|
|
@@ -161,7 +161,7 @@ const ot = ["id"], st = {
|
|
|
161
161
|
}, J.value = !0;
|
|
162
162
|
let le = "";
|
|
163
163
|
const ae = e.value.style.tooltip.customFormat;
|
|
164
|
-
|
|
164
|
+
Ye(ae) && je(() => ae({
|
|
165
165
|
datapoint: t,
|
|
166
166
|
seriesIndex: a,
|
|
167
167
|
series: W.value,
|
|
@@ -171,7 +171,7 @@ const ot = ["id"], st = {
|
|
|
171
171
|
seriesIndex: a,
|
|
172
172
|
series: W.value,
|
|
173
173
|
config: e.value
|
|
174
|
-
}) : (le += `<div>${g} ${L ? `${L}` : ""}</div>`, le += `<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:${ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot,
|
|
174
|
+
}) : (le += `<div>${g} ${L ? `${L}` : ""}</div>`, le += `<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:${ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
|
|
175
175
|
e.value.style.layout.cells.value.formatter,
|
|
176
176
|
y,
|
|
177
177
|
O({
|
|
@@ -185,13 +185,13 @@ const ot = ["id"], st = {
|
|
|
185
185
|
}
|
|
186
186
|
const B = h(() => l.value.top + ee.value * (1 - C.value / m.value)), R = h(() => l.value.left + (k.value.width - l.value.left - e.value.style.layout.padding.right) * (C.value / m.value));
|
|
187
187
|
h(() => {
|
|
188
|
-
const t = r.dataset.map((
|
|
189
|
-
name:
|
|
190
|
-
})), a = r.dataset.map((
|
|
188
|
+
const t = r.dataset.map((s) => ({
|
|
189
|
+
name: s.name
|
|
190
|
+
})), a = r.dataset.map((s) => s.values);
|
|
191
191
|
return { head: t, body: a };
|
|
192
192
|
});
|
|
193
193
|
function be() {
|
|
194
|
-
|
|
194
|
+
Re(() => {
|
|
195
195
|
const t = ["", ...r.dataset.map((y, g) => y.name)], a = [];
|
|
196
196
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
197
197
|
const g = [$.value.xLabels[y]];
|
|
@@ -199,12 +199,12 @@ const ot = ["id"], st = {
|
|
|
199
199
|
g.push([r.dataset[L].values[y]]);
|
|
200
200
|
a.push(g);
|
|
201
201
|
}
|
|
202
|
-
const
|
|
203
|
-
|
|
202
|
+
const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), v = We(s);
|
|
203
|
+
qe({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
206
|
const E = p(!1);
|
|
207
|
-
function
|
|
207
|
+
function Oe(t) {
|
|
208
208
|
E.value = t, re.value += 1;
|
|
209
209
|
}
|
|
210
210
|
function me() {
|
|
@@ -224,14 +224,14 @@ const ot = ["id"], st = {
|
|
|
224
224
|
toggleTable: me,
|
|
225
225
|
toggleTooltip: xe,
|
|
226
226
|
toggleAnnotator: te
|
|
227
|
-
}), (t, a) => (
|
|
227
|
+
}), (t, a) => (o(), u("div", {
|
|
228
228
|
ref_key: "heatmapChart",
|
|
229
229
|
ref: Y,
|
|
230
230
|
class: K(`vue-ui-heatmap ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
231
|
-
style: x(`font-family:${e.value.style.fontFamily};width:100%; text-align:center
|
|
231
|
+
style: x(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
|
|
232
232
|
id: `heatmap__${P.value}`
|
|
233
233
|
}, [
|
|
234
|
-
e.value.userOptions.buttons.annotator ? (
|
|
234
|
+
e.value.userOptions.buttons.annotator ? (o(), G(ot, {
|
|
235
235
|
key: 0,
|
|
236
236
|
parent: Y.value,
|
|
237
237
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -239,8 +239,15 @@ const ot = ["id"], st = {
|
|
|
239
239
|
active: q.value,
|
|
240
240
|
onClose: te
|
|
241
241
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
Te.value ? (o(), u("div", {
|
|
243
|
+
key: 1,
|
|
244
|
+
ref_key: "noTitle",
|
|
245
|
+
ref: Ae,
|
|
246
|
+
class: "vue-data-ui-no-title-space",
|
|
247
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
248
|
+
}, null, 512)) : c("", !0),
|
|
249
|
+
e.value.style.title.text ? (o(), u("div", nt, [
|
|
250
|
+
(o(), G(Ke, {
|
|
244
251
|
key: `title_${ye.value}`,
|
|
245
252
|
config: {
|
|
246
253
|
title: {
|
|
@@ -254,7 +261,7 @@ const ot = ["id"], st = {
|
|
|
254
261
|
}
|
|
255
262
|
}, null, 8, ["config"]))
|
|
256
263
|
])) : c("", !0),
|
|
257
|
-
e.value.userOptions.show && U.value ? (
|
|
264
|
+
e.value.userOptions.show && U.value ? (o(), G(Qe, {
|
|
258
265
|
ref_key: "details",
|
|
259
266
|
ref: Le,
|
|
260
267
|
key: `user_options_${re.value}`,
|
|
@@ -276,14 +283,14 @@ const ot = ["id"], st = {
|
|
|
276
283
|
position: e.value.userOptions.position,
|
|
277
284
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
278
285
|
isAnnotation: q.value,
|
|
279
|
-
onToggleFullscreen:
|
|
286
|
+
onToggleFullscreen: Oe,
|
|
280
287
|
onGeneratePdf: i(ge),
|
|
281
288
|
onGenerateCsv: be,
|
|
282
289
|
onGenerateImage: i(fe),
|
|
283
290
|
onToggleTable: me,
|
|
284
291
|
onToggleTooltip: xe,
|
|
285
292
|
onToggleAnnotator: te
|
|
286
|
-
},
|
|
293
|
+
}, Ve({ _: 2 }, [
|
|
287
294
|
t.$slots.optionTooltip ? {
|
|
288
295
|
name: "optionTooltip",
|
|
289
296
|
fn: w(() => [
|
|
@@ -321,29 +328,29 @@ const ot = ["id"], st = {
|
|
|
321
328
|
} : void 0,
|
|
322
329
|
t.$slots.optionFullscreen ? {
|
|
323
330
|
name: "optionFullscreen",
|
|
324
|
-
fn: w(({ toggleFullscreen:
|
|
325
|
-
f(t.$slots, "optionFullscreen", X(H({ toggleFullscreen:
|
|
331
|
+
fn: w(({ toggleFullscreen: s, isFullscreen: v }) => [
|
|
332
|
+
f(t.$slots, "optionFullscreen", X(H({ toggleFullscreen: s, isFullscreen: v })), void 0, !0)
|
|
326
333
|
]),
|
|
327
334
|
key: "5"
|
|
328
335
|
} : void 0,
|
|
329
336
|
t.$slots.optionAnnotator ? {
|
|
330
337
|
name: "optionAnnotator",
|
|
331
|
-
fn: w(({ toggleAnnotator:
|
|
332
|
-
f(t.$slots, "optionAnnotator", X(H({ toggleAnnotator:
|
|
338
|
+
fn: w(({ toggleAnnotator: s, isAnnotator: v }) => [
|
|
339
|
+
f(t.$slots, "optionAnnotator", X(H({ toggleAnnotator: s, isAnnotator: v })), void 0, !0)
|
|
333
340
|
]),
|
|
334
341
|
key: "6"
|
|
335
342
|
} : void 0
|
|
336
343
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
337
|
-
U.value ? (
|
|
338
|
-
key:
|
|
339
|
-
xmlns: i(
|
|
344
|
+
U.value ? (o(), u("svg", {
|
|
345
|
+
key: 4,
|
|
346
|
+
xmlns: i(Ue),
|
|
340
347
|
class: K({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
341
348
|
viewBox: `0 0 ${k.value.width} ${k.value.heightWithLegend}`,
|
|
342
349
|
style: x(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
343
350
|
}, [
|
|
344
|
-
oe(
|
|
345
|
-
(
|
|
346
|
-
(
|
|
351
|
+
oe(at),
|
|
352
|
+
(o(!0), u(A, null, S(W.value, (s, v) => (o(), u("g", null, [
|
|
353
|
+
(o(!0), u(A, null, S(s.temperatures, (y, g) => (o(), u("g", null, [
|
|
347
354
|
n("rect", {
|
|
348
355
|
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
349
356
|
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
@@ -352,7 +359,7 @@ const ot = ["id"], st = {
|
|
|
352
359
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
353
360
|
stroke: e.value.style.backgroundColor,
|
|
354
361
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
355
|
-
}, null, 8,
|
|
362
|
+
}, null, 8, rt),
|
|
356
363
|
n("rect", {
|
|
357
364
|
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
358
365
|
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
@@ -361,8 +368,8 @@ const ot = ["id"], st = {
|
|
|
361
368
|
fill: y.color,
|
|
362
369
|
stroke: e.value.style.backgroundColor,
|
|
363
370
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
364
|
-
}, null, 8,
|
|
365
|
-
e.value.style.layout.cells.value.show ? (
|
|
371
|
+
}, null, 8, vt),
|
|
372
|
+
e.value.style.layout.cells.value.show ? (o(), u("text", {
|
|
366
373
|
key: 0,
|
|
367
374
|
"text-anchor": "middle",
|
|
368
375
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
@@ -380,9 +387,9 @@ const ot = ["id"], st = {
|
|
|
380
387
|
r: e.value.style.layout.cells.value.roundingValue
|
|
381
388
|
}),
|
|
382
389
|
{ datapoint: y }
|
|
383
|
-
)), 9,
|
|
390
|
+
)), 9, dt)) : c("", !0)
|
|
384
391
|
]))), 256)),
|
|
385
|
-
(
|
|
392
|
+
(o(!0), u(A, null, S(s.temperatures, (y, g) => (o(), u("g", null, [
|
|
386
393
|
n("rect", {
|
|
387
394
|
x: l.value.left + d.value.width * g,
|
|
388
395
|
y: l.value.top + d.value.height * v,
|
|
@@ -390,13 +397,13 @@ const ot = ["id"], st = {
|
|
|
390
397
|
height: d.value.height,
|
|
391
398
|
fill: "transparent",
|
|
392
399
|
stroke: "none",
|
|
393
|
-
onMouseover: (L) =>
|
|
400
|
+
onMouseover: (L) => Se(y, v, l.value.left + d.value.width * g, l.value.top + d.value.height * v),
|
|
394
401
|
onMouseout: a[0] || (a[0] = (L) => {
|
|
395
402
|
J.value = !1, ie.value = void 0, C.value = null, V.value = null;
|
|
396
403
|
})
|
|
397
|
-
}, null, 40,
|
|
404
|
+
}, null, 40, yt)
|
|
398
405
|
]))), 256)),
|
|
399
|
-
e.value.style.layout.dataLabels.yAxis.show ? (
|
|
406
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), u("g", ct, [
|
|
400
407
|
n("text", {
|
|
401
408
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
402
409
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -404,22 +411,22 @@ const ot = ["id"], st = {
|
|
|
404
411
|
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,
|
|
405
412
|
"text-anchor": "end",
|
|
406
413
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
407
|
-
}, b($.value.yLabels[v]), 9,
|
|
414
|
+
}, b($.value.yLabels[v]), 9, ht)
|
|
408
415
|
])) : c("", !0)
|
|
409
416
|
]))), 256)),
|
|
410
|
-
e.value.style.layout.dataLabels.xAxis.show ? (
|
|
411
|
-
(
|
|
412
|
-
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (
|
|
417
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), u("g", pt, [
|
|
418
|
+
(o(!0), u(A, null, S($.value.xLabels, (s, v) => (o(), u(A, null, [
|
|
419
|
+
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), u("text", {
|
|
413
420
|
key: 0,
|
|
414
421
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
415
422
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
416
423
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
417
424
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
418
425
|
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})`
|
|
419
|
-
}, b(
|
|
426
|
+
}, b(s), 9, gt)) : c("", !0)
|
|
420
427
|
], 64))), 256))
|
|
421
428
|
])) : c("", !0),
|
|
422
|
-
V.value ? (
|
|
429
|
+
V.value ? (o(), u("g", ft, [
|
|
423
430
|
n("rect", {
|
|
424
431
|
style: { "pointer-events": "none" },
|
|
425
432
|
x: V.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
@@ -430,9 +437,9 @@ const ot = ["id"], st = {
|
|
|
430
437
|
stroke: e.value.style.layout.cells.selected.color,
|
|
431
438
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
432
439
|
rx: 1
|
|
433
|
-
}, null, 8,
|
|
440
|
+
}, null, 8, bt)
|
|
434
441
|
])) : c("", !0),
|
|
435
|
-
e.value.style.legend.show && j.value === "right" ? (
|
|
442
|
+
e.value.style.legend.show && j.value === "right" ? (o(), u("g", mt, [
|
|
436
443
|
n("defs", null, [
|
|
437
444
|
n("linearGradient", {
|
|
438
445
|
id: `colorScaleVertical_${P.value}`,
|
|
@@ -442,12 +449,12 @@ const ot = ["id"], st = {
|
|
|
442
449
|
n("stop", {
|
|
443
450
|
offset: "0%",
|
|
444
451
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
445
|
-
}, null, 8,
|
|
452
|
+
}, null, 8, wt),
|
|
446
453
|
n("stop", {
|
|
447
454
|
offset: "100%",
|
|
448
455
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
449
|
-
}, null, 8,
|
|
450
|
-
], 8,
|
|
456
|
+
}, null, 8, _t)
|
|
457
|
+
], 8, xt)
|
|
451
458
|
]),
|
|
452
459
|
n("text", {
|
|
453
460
|
x: l.value.right + 36 + 18,
|
|
@@ -457,14 +464,14 @@ const ot = ["id"], st = {
|
|
|
457
464
|
fill: e.value.style.legend.color
|
|
458
465
|
}, b(i(F)(
|
|
459
466
|
e.value.style.layout.cells.value.formatter,
|
|
460
|
-
i(
|
|
467
|
+
i(T)(m.value),
|
|
461
468
|
i(O)({
|
|
462
469
|
p: e.value.style.layout.dataLabels.prefix,
|
|
463
|
-
v: i(
|
|
470
|
+
v: i(T)(m.value),
|
|
464
471
|
s: e.value.style.layout.dataLabels.suffix,
|
|
465
472
|
r: e.value.style.legend.roundingValue
|
|
466
473
|
})
|
|
467
|
-
)), 9,
|
|
474
|
+
)), 9, kt),
|
|
468
475
|
n("rect", {
|
|
469
476
|
x: l.value.right + 36,
|
|
470
477
|
y: l.value.top,
|
|
@@ -472,7 +479,7 @@ const ot = ["id"], st = {
|
|
|
472
479
|
height: ee.value,
|
|
473
480
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
474
481
|
fill: `url(#colorScaleVertical_${P.value})`
|
|
475
|
-
}, null, 8,
|
|
482
|
+
}, null, 8, $t),
|
|
476
483
|
n("text", {
|
|
477
484
|
x: l.value.right + 36 + 18,
|
|
478
485
|
y: l.value.top + ee.value + e.value.style.legend.fontSize * 2.5,
|
|
@@ -481,15 +488,15 @@ const ot = ["id"], st = {
|
|
|
481
488
|
fill: e.value.style.legend.color
|
|
482
489
|
}, b(i(F)(
|
|
483
490
|
e.value.style.layout.cells.value.formatter,
|
|
484
|
-
i(
|
|
491
|
+
i(T)(z.value),
|
|
485
492
|
i(O)({
|
|
486
493
|
p: e.value.style.layout.dataLabels.prefix,
|
|
487
|
-
v: i(
|
|
494
|
+
v: i(T)(z.value),
|
|
488
495
|
s: e.value.style.layout.dataLabels.suffix,
|
|
489
496
|
r: e.value.style.legend.roundingValue
|
|
490
497
|
})
|
|
491
|
-
)), 9,
|
|
492
|
-
C.value !== null ? (
|
|
498
|
+
)), 9, Ct),
|
|
499
|
+
C.value !== null ? (o(), u("line", {
|
|
493
500
|
key: 0,
|
|
494
501
|
stroke: i(ne)(I.value.datapoint.color),
|
|
495
502
|
"stroke-width": "2",
|
|
@@ -497,25 +504,25 @@ const ot = ["id"], st = {
|
|
|
497
504
|
x2: l.value.right + 72,
|
|
498
505
|
y1: B.value,
|
|
499
506
|
y2: B.value
|
|
500
|
-
}, null, 8,
|
|
501
|
-
C.value !== null ? (
|
|
507
|
+
}, null, 8, Lt)) : c("", !0),
|
|
508
|
+
C.value !== null ? (o(), u("path", {
|
|
502
509
|
key: 1,
|
|
503
510
|
fill: e.value.style.color,
|
|
504
511
|
stroke: "none",
|
|
505
512
|
d: `M ${l.value.right + 36},${B.value} ${l.value.right + 26},${B.value - 8} ${l.value.right + 26},${B.value + 8}z`
|
|
506
|
-
}, null, 8,
|
|
513
|
+
}, null, 8, At)) : c("", !0)
|
|
507
514
|
])) : c("", !0),
|
|
508
|
-
e.value.style.legend.show && j.value === "bottom" ? (
|
|
515
|
+
e.value.style.legend.show && j.value === "bottom" ? (o(), u("g", Tt, [
|
|
509
516
|
n("defs", null, [
|
|
510
|
-
n("linearGradient",
|
|
517
|
+
n("linearGradient", zt, [
|
|
511
518
|
n("stop", {
|
|
512
519
|
offset: "0%",
|
|
513
520
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
514
|
-
}, null, 8,
|
|
521
|
+
}, null, 8, Mt),
|
|
515
522
|
n("stop", {
|
|
516
523
|
offset: "100%",
|
|
517
524
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
518
|
-
}, null, 8,
|
|
525
|
+
}, null, 8, St)
|
|
519
526
|
])
|
|
520
527
|
]),
|
|
521
528
|
n("rect", {
|
|
@@ -525,7 +532,7 @@ const ot = ["id"], st = {
|
|
|
525
532
|
height: e.value.style.layout.cells.height,
|
|
526
533
|
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,
|
|
527
534
|
fill: "url(#colorScaleHorizontal)"
|
|
528
|
-
}, null, 8,
|
|
535
|
+
}, null, 8, Ot),
|
|
529
536
|
n("text", {
|
|
530
537
|
x: l.value.left,
|
|
531
538
|
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -534,14 +541,14 @@ const ot = ["id"], st = {
|
|
|
534
541
|
fill: e.value.style.legend.color
|
|
535
542
|
}, b(i(F)(
|
|
536
543
|
e.value.style.layout.cells.value.formatter,
|
|
537
|
-
i(
|
|
544
|
+
i(T)(z.value),
|
|
538
545
|
i(O)({
|
|
539
546
|
p: e.value.style.layout.dataLabels.prefix,
|
|
540
|
-
v: i(
|
|
547
|
+
v: i(T)(z.value),
|
|
541
548
|
s: e.value.style.layout.dataLabels.suffix,
|
|
542
549
|
r: e.value.style.legend.roundingValue
|
|
543
550
|
})
|
|
544
|
-
)), 9,
|
|
551
|
+
)), 9, Nt),
|
|
545
552
|
n("text", {
|
|
546
553
|
x: l.value.right,
|
|
547
554
|
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -550,15 +557,15 @@ const ot = ["id"], st = {
|
|
|
550
557
|
fill: e.value.style.legend.color
|
|
551
558
|
}, b(i(F)(
|
|
552
559
|
e.value.style.layout.cells.value.formatter,
|
|
553
|
-
i(
|
|
560
|
+
i(T)(m.value),
|
|
554
561
|
i(O)({
|
|
555
562
|
p: e.value.style.layout.dataLabels.prefix,
|
|
556
|
-
v: i(
|
|
563
|
+
v: i(T)(m.value),
|
|
557
564
|
s: e.value.style.layout.dataLabels.suffix,
|
|
558
565
|
r: e.value.style.legend.roundingValue
|
|
559
566
|
})
|
|
560
|
-
)), 9,
|
|
561
|
-
C.value !== null ? (
|
|
567
|
+
)), 9, Ft),
|
|
568
|
+
C.value !== null ? (o(), u("line", {
|
|
562
569
|
key: 0,
|
|
563
570
|
stroke: i(ne)(I.value.datapoint.color),
|
|
564
571
|
"stroke-width": "2",
|
|
@@ -566,24 +573,24 @@ const ot = ["id"], st = {
|
|
|
566
573
|
x2: R.value,
|
|
567
574
|
y1: l.value.bottom + e.value.style.layout.cells.height,
|
|
568
575
|
y2: l.value.bottom + e.value.style.layout.cells.height * 2
|
|
569
|
-
}, null, 8,
|
|
570
|
-
C.value !== null ? (
|
|
576
|
+
}, null, 8, Pt)) : c("", !0),
|
|
577
|
+
C.value !== null ? (o(), u("path", {
|
|
571
578
|
key: 1,
|
|
572
579
|
fill: e.value.style.color,
|
|
573
580
|
stroke: "none",
|
|
574
581
|
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`
|
|
575
|
-
}, null, 8,
|
|
582
|
+
}, null, 8, Vt)) : c("", !0)
|
|
576
583
|
])) : c("", !0),
|
|
577
584
|
f(t.$slots, "svg", { svg: k.value }, void 0, !0)
|
|
578
|
-
], 14,
|
|
579
|
-
t.$slots.watermark ? (
|
|
585
|
+
], 14, it)) : c("", !0),
|
|
586
|
+
t.$slots.watermark ? (o(), u("div", It, [
|
|
580
587
|
f(t.$slots, "watermark", X(H({ isPrinting: i(he) || i(pe) })), void 0, !0)
|
|
581
588
|
])) : c("", !0),
|
|
582
|
-
t.$slots.source ? (
|
|
589
|
+
t.$slots.source ? (o(), u("div", Bt, [
|
|
583
590
|
f(t.$slots, "source", {}, void 0, !0)
|
|
584
591
|
], 512)) : c("", !0),
|
|
585
|
-
U.value ? c("", !0) : (
|
|
586
|
-
key:
|
|
592
|
+
U.value ? c("", !0) : (o(), G(et, {
|
|
593
|
+
key: 7,
|
|
587
594
|
config: {
|
|
588
595
|
type: "heatmap",
|
|
589
596
|
style: {
|
|
@@ -594,7 +601,7 @@ const ot = ["id"], st = {
|
|
|
594
601
|
}
|
|
595
602
|
}
|
|
596
603
|
}, null, 8, ["config"])),
|
|
597
|
-
oe(
|
|
604
|
+
oe(Ze, {
|
|
598
605
|
show: _.value.showTooltip && J.value,
|
|
599
606
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
600
607
|
color: e.value.style.tooltip.color,
|
|
@@ -617,8 +624,8 @@ const ot = ["id"], st = {
|
|
|
617
624
|
]),
|
|
618
625
|
_: 3
|
|
619
626
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
620
|
-
U.value ? (
|
|
621
|
-
key:
|
|
627
|
+
U.value ? (o(), G(lt, {
|
|
628
|
+
key: 8,
|
|
622
629
|
hideDetails: "",
|
|
623
630
|
config: {
|
|
624
631
|
open: _.value.showTable,
|
|
@@ -647,21 +654,21 @@ const ot = ["id"], st = {
|
|
|
647
654
|
role: "button",
|
|
648
655
|
tabindex: "0",
|
|
649
656
|
style: x(`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};`),
|
|
650
|
-
onClick: a[1] || (a[1] = (
|
|
651
|
-
onKeypress: a[2] || (a[2] =
|
|
657
|
+
onClick: a[1] || (a[1] = (s) => _.value.showTable = !1),
|
|
658
|
+
onKeypress: a[2] || (a[2] = Ie((s) => _.value.showTable = !1, ["enter"]))
|
|
652
659
|
}, [
|
|
653
|
-
oe(
|
|
660
|
+
oe(tt, {
|
|
654
661
|
name: "close",
|
|
655
662
|
stroke: e.value.table.th.color,
|
|
656
663
|
"stroke-width": 2
|
|
657
664
|
}, null, 8, ["stroke"])
|
|
658
665
|
], 36),
|
|
659
|
-
n("table",
|
|
666
|
+
n("table", Rt, [
|
|
660
667
|
n("caption", {
|
|
661
668
|
style: x(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
662
669
|
}, [
|
|
663
|
-
|
|
664
|
-
e.value.style.title.subtitle.text ? (
|
|
670
|
+
Be(b(e.value.style.title.text) + " ", 1),
|
|
671
|
+
e.value.style.title.subtitle.text ? (o(), u("span", Et, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
665
672
|
], 4),
|
|
666
673
|
n("thead", null, [
|
|
667
674
|
n("tr", {
|
|
@@ -671,14 +678,14 @@ const ot = ["id"], st = {
|
|
|
671
678
|
n("th", {
|
|
672
679
|
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
673
680
|
}, null, 4),
|
|
674
|
-
(
|
|
681
|
+
(o(!0), u(A, null, S(D.dataset, (s, v) => (o(), u("th", {
|
|
675
682
|
align: "right",
|
|
676
683
|
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
677
|
-
}, b(
|
|
684
|
+
}, b(s.name), 5))), 256))
|
|
678
685
|
], 4)
|
|
679
686
|
]),
|
|
680
687
|
n("tbody", null, [
|
|
681
|
-
(
|
|
688
|
+
(o(!0), u(A, null, S($.value.xLabels, (s, v) => (o(), u("tr", {
|
|
682
689
|
role: "row",
|
|
683
690
|
class: K({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": v % 2 === 0, "vue-ui-data-table__tbody__row-odd": v % 2 !== 0 }),
|
|
684
691
|
style: x(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
@@ -688,15 +695,15 @@ const ot = ["id"], st = {
|
|
|
688
695
|
class: "vue-ui-data-table__tbody__td",
|
|
689
696
|
style: x(`outline:${e.value.table.td.outline}`)
|
|
690
697
|
}, [
|
|
691
|
-
n("div",
|
|
692
|
-
], 12,
|
|
693
|
-
(
|
|
698
|
+
n("div", Xt, b(s), 1)
|
|
699
|
+
], 12, Gt),
|
|
700
|
+
(o(!0), u(A, null, S(D.dataset, (y, g) => (o(), u("td", {
|
|
694
701
|
class: "vue-ui-data-table__tbody__td",
|
|
695
702
|
"data-cell": D.dataset[g].name,
|
|
696
703
|
style: x(`outline:${e.value.table.td.outline}`)
|
|
697
704
|
}, [
|
|
698
|
-
n("div",
|
|
699
|
-
], 12,
|
|
705
|
+
n("div", Dt, b(isNaN(y.values[v]) ? "-" : i(O)({ 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)
|
|
706
|
+
], 12, Ht))), 256))
|
|
700
707
|
], 6))), 256))
|
|
701
708
|
])
|
|
702
709
|
])
|
|
@@ -705,9 +712,9 @@ const ot = ["id"], st = {
|
|
|
705
712
|
]),
|
|
706
713
|
_: 1
|
|
707
714
|
}, 8, ["config"])) : c("", !0)
|
|
708
|
-
], 14,
|
|
715
|
+
], 14, ut));
|
|
709
716
|
}
|
|
710
|
-
},
|
|
717
|
+
}, ol = /* @__PURE__ */ st(Ut, [["__scopeId", "data-v-569c98af"]]);
|
|
711
718
|
export {
|
|
712
|
-
|
|
719
|
+
ol as default
|
|
713
720
|
};
|