vue-data-ui 2.6.18 → 2.6.20
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 +8 -0
- package/dist/{Arrow-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
- package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
- package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
- package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
- package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
- package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
- package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
- package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
- package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
- package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
- package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
- package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
- package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
- package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
- package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
- package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
- package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
- package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
- package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
- package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
- package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
- package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
- package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
- package/dist/usePrinter-DhZH4pcR.cjs +1 -0
- package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
- package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
- package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.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-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
- package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
- package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
- package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
- package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
- package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
- package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
- package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
- package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
- package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
- package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
- package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
- package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
- package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
- package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
- package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
- package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
- package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
- package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
- package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
- package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
- package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
- package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
- package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
- package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
- package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
- package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
- package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
- package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
- package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
- package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
- package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
- package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
- package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
- package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
- package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
- package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
- package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
- package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
- package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
- package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
- package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
- package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
- package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
- package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
- package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
- package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
- package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
- package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
- package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
- package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
- package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
- package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
- package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
- package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
- package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
- package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
- package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
- package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
- package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
- package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
- package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
- package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
- package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
- package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
- package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
- package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
- package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
- package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
- package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
- package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
- package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
- package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
- package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
- package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
- package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
- package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
- package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
- package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
- package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
- package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
- package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
- package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
- package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
- package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
- package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
- package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
- package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
- package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
- package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
- package/package.json +1 -1
- package/dist/usePrinter-DB2FudbZ.cjs +0 -1
- package/dist/vue-ui-heatmap-Bz5l9BbM.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { useCssVars as Re, computed as h, ref as p, watch as Ce, onMounted as Be, createElementBlock as n, openBlock as
|
|
2
|
-
import { u as Xe, o as De, e as Le, c as ue, a as je, C as We, g as Ye, O as ne, X as qe, G as ie, i as
|
|
3
|
-
import { _ as et } from "./Title-
|
|
4
|
-
import { u as tt, U as lt } from "./usePrinter-
|
|
5
|
-
import { _ as at } from "./Tooltip-
|
|
6
|
-
import ot from "./vue-ui-skeleton-
|
|
7
|
-
import st from "./BaseIcon-
|
|
8
|
-
import ut from "./vue-ui-accordion-
|
|
9
|
-
import { u as Ae } from "./useNestedProp-
|
|
10
|
-
import { _ as nt } from "./PackageVersion-
|
|
11
|
-
import { P as it } from "./PenAndPaper-
|
|
1
|
+
import { useCssVars as Re, computed as h, ref as p, watch as Ce, onMounted as Be, createElementBlock as n, openBlock as s, unref as u, normalizeStyle as k, normalizeClass as q, createBlock as H, createCommentVNode as c, createVNode as se, createSlots as Ee, withCtx as _, renderSlot as f, normalizeProps as V, guardReactiveProps as P, Fragment as A, renderList as M, createElementVNode as i, toDisplayString as b, withKeys as Ge, createTextVNode as Ue, nextTick as He } from "vue";
|
|
2
|
+
import { u as Xe, o as De, e as Le, c as ue, a as je, C as We, g as Ye, O as ne, X as qe, G as ie, i as I, f as S, v as T, q as Ke, r as Je, x as Qe, y as Ze } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { _ as et } from "./Title-CUHNtIyE.js";
|
|
4
|
+
import { u as tt, U as lt } from "./usePrinter-jRjc8Naz.js";
|
|
5
|
+
import { _ as at } from "./Tooltip-BuAQ8HVL.js";
|
|
6
|
+
import ot from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
7
|
+
import st from "./BaseIcon-CR8s5lLC.js";
|
|
8
|
+
import ut from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
9
|
+
import { u as Ae } from "./useNestedProp-BEyJNlaO.js";
|
|
10
|
+
import { _ as nt } from "./PackageVersion-CURzw4q1.js";
|
|
11
|
+
import { P as it } from "./PenAndPaper-CjiJra09.js";
|
|
12
12
|
import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
13
|
import { u as vt } from "./useChartAccessibility-BWojgys7.js";
|
|
14
14
|
import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -46,37 +46,37 @@ const yt = ["id"], ct = {
|
|
|
46
46
|
},
|
|
47
47
|
setup(X, { expose: Te }) {
|
|
48
48
|
Re((t) => ({
|
|
49
|
-
|
|
49
|
+
d6e15a20: t.tdo
|
|
50
50
|
}));
|
|
51
|
-
const { vue_ui_heatmap: ze } = Xe(),
|
|
52
|
-
De(
|
|
51
|
+
const { vue_ui_heatmap: ze } = Xe(), v = X, D = h(() => !!v.dataset && v.dataset.length);
|
|
52
|
+
De(v.dataset) && Le({
|
|
53
53
|
componentName: "VueUiHeatmap",
|
|
54
54
|
type: "dataset"
|
|
55
55
|
});
|
|
56
|
-
const
|
|
56
|
+
const R = p(ue()), K = p(null), Oe = p(null), J = p(!1), Q = p(""), re = p(void 0), B = p(null), ve = p(0), de = p(null), Me = p(null), ye = p(!1), ce = p(0), e = h({
|
|
57
57
|
get: () => fe(),
|
|
58
58
|
set: (t) => t
|
|
59
59
|
}), { userOptionsVisible: Z, setUserOptionsVisibility: he, keepUserOptionState: pe } = rt({ config: e.value }), { svgRef: ge } = vt({ config: e.value.style.title });
|
|
60
60
|
function fe() {
|
|
61
61
|
const t = Ae({
|
|
62
|
-
userConfig:
|
|
62
|
+
userConfig: v.config,
|
|
63
63
|
defaultConfig: ze
|
|
64
64
|
});
|
|
65
65
|
let l = {};
|
|
66
66
|
return t.theme ? l = {
|
|
67
67
|
...Ae({
|
|
68
|
-
userConfig: je.vue_ui_heatmap[t.theme] ||
|
|
68
|
+
userConfig: je.vue_ui_heatmap[t.theme] || v.config,
|
|
69
69
|
defaultConfig: t
|
|
70
70
|
})
|
|
71
|
-
} : l = t,
|
|
71
|
+
} : l = t, v.config && We(v.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? l.style.layout.dataLabels.xAxis.showOnlyAtModulo = v.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : l.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, l;
|
|
72
72
|
}
|
|
73
|
-
Ce(() =>
|
|
73
|
+
Ce(() => v.config, (t) => {
|
|
74
74
|
e.value = fe(), Z.value = !e.value.userOptions.showOnChartHover, ee(), ce.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.tooltip.show;
|
|
75
|
-
}, { deep: !0 }), Ce(() =>
|
|
75
|
+
}, { deep: !0 }), Ce(() => v.dataset, () => {
|
|
76
76
|
ee();
|
|
77
77
|
}, { deep: !0 });
|
|
78
78
|
const { isPrinting: be, isImaging: me, generatePdf: xe, generateImage: we } = tt({
|
|
79
|
-
elementId: `heatmap__${
|
|
79
|
+
elementId: `heatmap__${R.value}`,
|
|
80
80
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
81
81
|
}), Se = h(() => e.value.userOptions.show && !e.value.style.title.text), m = p({
|
|
82
82
|
showTable: e.value.table.show,
|
|
@@ -84,8 +84,8 @@ const yt = ["id"], ct = {
|
|
|
84
84
|
}), Ne = h(() => e.value.table.responsiveBreakpoint);
|
|
85
85
|
function Fe() {
|
|
86
86
|
new ResizeObserver((l) => {
|
|
87
|
-
l.forEach((
|
|
88
|
-
ye.value =
|
|
87
|
+
l.forEach((o) => {
|
|
88
|
+
ye.value = o.contentRect.width < Ne.value;
|
|
89
89
|
});
|
|
90
90
|
}).observe(de.value);
|
|
91
91
|
}
|
|
@@ -93,11 +93,11 @@ const yt = ["id"], ct = {
|
|
|
93
93
|
function ee() {
|
|
94
94
|
Fe();
|
|
95
95
|
}
|
|
96
|
-
const N = h(() => Math.max(...
|
|
97
|
-
const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom +
|
|
96
|
+
const N = h(() => Math.max(...v.dataset.flatMap((t) => (t.values || []).length))), x = h(() => {
|
|
97
|
+
const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + v.dataset.length * e.value.style.layout.cells.height, l = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (N.value < v.dataset.length ? v.dataset.length : N.value) * e.value.style.layout.cells.height, o = t + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
98
98
|
return {
|
|
99
99
|
height: t,
|
|
100
|
-
heightWithLegend:
|
|
100
|
+
heightWithLegend: o,
|
|
101
101
|
width: l
|
|
102
102
|
};
|
|
103
103
|
}), j = h(() => e.value.style.legend.position), a = h(() => ({
|
|
@@ -107,23 +107,23 @@ const yt = ["id"], ct = {
|
|
|
107
107
|
bottom: x.value.height - e.value.style.layout.padding.bottom,
|
|
108
108
|
height: x.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
109
109
|
width: x.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (j.value === "right" && e.value.style.legend.show ? 92 : 0)
|
|
110
|
-
})), te = h(() => d.value.height *
|
|
111
|
-
const t =
|
|
112
|
-
return t.reduce((
|
|
110
|
+
})), te = h(() => d.value.height * v.dataset.length), w = h(() => Math.max(...v.dataset.flatMap((t) => t.values))), z = h(() => Math.min(...v.dataset.flatMap((t) => t.values))), O = h(() => {
|
|
111
|
+
const t = v.dataset.flatMap((o) => o.values);
|
|
112
|
+
return t.reduce((o, r) => o + r, 0) / t.length;
|
|
113
113
|
}), d = h(() => ({
|
|
114
114
|
width: a.value.width / N.value,
|
|
115
|
-
height: a.value.width / (N.value <
|
|
115
|
+
height: a.value.width / (N.value < v.dataset.length ? v.dataset.length : N.value)
|
|
116
116
|
})), $ = h(() => {
|
|
117
|
-
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values :
|
|
117
|
+
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : v.dataset.map((o) => o.name), l = e.value.style.layout.dataLabels.xAxis.values;
|
|
118
118
|
return {
|
|
119
119
|
yLabels: t,
|
|
120
120
|
xLabels: l.slice(0, N.value)
|
|
121
121
|
};
|
|
122
|
-
}), W = h(() => (
|
|
122
|
+
}), W = h(() => (v.dataset.forEach((t, l) => {
|
|
123
123
|
Ye({
|
|
124
124
|
datasetObject: t,
|
|
125
125
|
requiredAttributes: ["values"]
|
|
126
|
-
}).forEach((
|
|
126
|
+
}).forEach((o) => {
|
|
127
127
|
Le({
|
|
128
128
|
componentName: "VueUiHeatmap",
|
|
129
129
|
type: "datasetSerieAttribute",
|
|
@@ -131,15 +131,15 @@ const yt = ["id"], ct = {
|
|
|
131
131
|
index: l
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
|
-
}),
|
|
134
|
+
}), v.dataset.map((t) => ({
|
|
135
135
|
...t,
|
|
136
|
-
temperatures: (t.values || []).map((l,
|
|
136
|
+
temperatures: (t.values || []).map((l, o) => l >= O.value ? {
|
|
137
137
|
side: "up",
|
|
138
138
|
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, l),
|
|
139
139
|
ratio: Math.abs(Math.abs(l - O.value) / Math.abs(w.value - O.value)) > 1 ? 1 : Math.abs(Math.abs(l - O.value) / Math.abs(w.value - O.value)),
|
|
140
140
|
value: l,
|
|
141
141
|
yAxisName: t.name,
|
|
142
|
-
xAxisName: $.value.xLabels[
|
|
142
|
+
xAxisName: $.value.xLabels[o],
|
|
143
143
|
id: `vue-data-ui-heatmap-cell-${ue()}`
|
|
144
144
|
} : {
|
|
145
145
|
side: "down",
|
|
@@ -147,14 +147,14 @@ const yt = ["id"], ct = {
|
|
|
147
147
|
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, l),
|
|
148
148
|
value: l,
|
|
149
149
|
yAxisName: t.name,
|
|
150
|
-
xAxisName: $.value.xLabels[
|
|
150
|
+
xAxisName: $.value.xLabels[o],
|
|
151
151
|
id: `vue-data-ui-heatmap-cell-${ue()}`
|
|
152
152
|
})
|
|
153
|
-
})))), C = p(null),
|
|
154
|
-
function Ve(t, l,
|
|
155
|
-
|
|
153
|
+
})))), C = p(null), E = p(null);
|
|
154
|
+
function Ve(t, l, o, r) {
|
|
155
|
+
B.value = { x: o, y: r };
|
|
156
156
|
const { value: y, yAxisName: g, xAxisName: L, id: Ie } = t;
|
|
157
|
-
re.value = Ie, C.value = y,
|
|
157
|
+
re.value = Ie, C.value = y, E.value = {
|
|
158
158
|
datapoint: t,
|
|
159
159
|
seriesIndex: l,
|
|
160
160
|
series: W.value,
|
|
@@ -172,7 +172,7 @@ const yt = ["id"], ct = {
|
|
|
172
172
|
seriesIndex: l,
|
|
173
173
|
series: W.value,
|
|
174
174
|
config: e.value
|
|
175
|
-
}) : (ae += `<div>${g} ${L ? `${L}` : ""}</div>`, ae += `<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:${ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, y)}">⬤</span><span>${isNaN(y) ? "-" :
|
|
175
|
+
}) : (ae += `<div>${g} ${L ? `${L}` : ""}</div>`, ae += `<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:${ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, y)}">⬤</span><span>${isNaN(y) ? "-" : I(
|
|
176
176
|
e.value.style.layout.cells.value.formatter,
|
|
177
177
|
y,
|
|
178
178
|
S({
|
|
@@ -184,24 +184,24 @@ const yt = ["id"], ct = {
|
|
|
184
184
|
{ datapoint: t, seriesIndex: l }
|
|
185
185
|
)}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${ae}</div>`);
|
|
186
186
|
}
|
|
187
|
-
const
|
|
187
|
+
const G = h(() => a.value.top + te.value * (1 - C.value / w.value)), U = h(() => a.value.left + (x.value.width - a.value.left - e.value.style.layout.padding.right) * (C.value / w.value));
|
|
188
188
|
h(() => {
|
|
189
|
-
const t =
|
|
190
|
-
name:
|
|
191
|
-
})), l =
|
|
189
|
+
const t = v.dataset.map((o) => ({
|
|
190
|
+
name: o.name
|
|
191
|
+
})), l = v.dataset.map((o) => o.values);
|
|
192
192
|
return { head: t, body: l };
|
|
193
193
|
});
|
|
194
194
|
function ke() {
|
|
195
195
|
He(() => {
|
|
196
|
-
const t = ["", ...
|
|
196
|
+
const t = ["", ...v.dataset.map((y, g) => y.name)], l = [];
|
|
197
197
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
198
198
|
const g = [$.value.xLabels[y]];
|
|
199
|
-
for (let L = 0; L <
|
|
200
|
-
g.push([
|
|
199
|
+
for (let L = 0; L < v.dataset.length; L += 1)
|
|
200
|
+
g.push([v.dataset[L].values[y]]);
|
|
201
201
|
l.push(g);
|
|
202
202
|
}
|
|
203
|
-
const
|
|
204
|
-
Je({ csvContent:
|
|
203
|
+
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(l), r = Ke(o);
|
|
204
|
+
Je({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
207
|
const F = p(!1);
|
|
@@ -225,16 +225,16 @@ const yt = ["id"], ct = {
|
|
|
225
225
|
toggleTable: _e,
|
|
226
226
|
toggleTooltip: $e,
|
|
227
227
|
toggleAnnotator: le
|
|
228
|
-
}), (t, l) => (
|
|
228
|
+
}), (t, l) => (s(), n("div", {
|
|
229
229
|
ref_key: "heatmapChart",
|
|
230
230
|
ref: K,
|
|
231
231
|
class: q(`vue-ui-heatmap ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
232
232
|
style: k(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
|
|
233
|
-
id: `heatmap__${
|
|
233
|
+
id: `heatmap__${R.value}`,
|
|
234
234
|
onMouseenter: l[3] || (l[3] = () => u(he)(!0)),
|
|
235
235
|
onMouseleave: l[4] || (l[4] = () => u(he)(!1))
|
|
236
236
|
}, [
|
|
237
|
-
e.value.userOptions.buttons.annotator ? (
|
|
237
|
+
e.value.userOptions.buttons.annotator ? (s(), H(it, {
|
|
238
238
|
key: 0,
|
|
239
239
|
svgRef: u(ge),
|
|
240
240
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -242,15 +242,15 @@ const yt = ["id"], ct = {
|
|
|
242
242
|
active: Y.value,
|
|
243
243
|
onClose: le
|
|
244
244
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
245
|
-
Se.value ? (
|
|
245
|
+
Se.value ? (s(), n("div", {
|
|
246
246
|
key: 1,
|
|
247
247
|
ref_key: "noTitle",
|
|
248
248
|
ref: Me,
|
|
249
249
|
class: "vue-data-ui-no-title-space",
|
|
250
250
|
style: "height:36px; width: 100%;background:transparent"
|
|
251
251
|
}, null, 512)) : c("", !0),
|
|
252
|
-
e.value.style.title.text ? (
|
|
253
|
-
(
|
|
252
|
+
e.value.style.title.text ? (s(), n("div", ct, [
|
|
253
|
+
(s(), H(et, {
|
|
254
254
|
key: `title_${ce.value}`,
|
|
255
255
|
config: {
|
|
256
256
|
title: {
|
|
@@ -264,7 +264,7 @@ const yt = ["id"], ct = {
|
|
|
264
264
|
}
|
|
265
265
|
}, null, 8, ["config"]))
|
|
266
266
|
])) : c("", !0),
|
|
267
|
-
e.value.userOptions.show && D.value && (u(pe) || u(Z)) ? (
|
|
267
|
+
e.value.userOptions.show && D.value && (u(pe) || u(Z)) ? (s(), H(lt, {
|
|
268
268
|
ref_key: "details",
|
|
269
269
|
ref: Oe,
|
|
270
270
|
key: `user_options_${ve.value}`,
|
|
@@ -272,7 +272,7 @@ const yt = ["id"], ct = {
|
|
|
272
272
|
color: e.value.style.color,
|
|
273
273
|
isImaging: u(me),
|
|
274
274
|
isPrinting: u(be),
|
|
275
|
-
uid:
|
|
275
|
+
uid: R.value,
|
|
276
276
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
277
277
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
278
278
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -297,57 +297,64 @@ const yt = ["id"], ct = {
|
|
|
297
297
|
visibility: u(pe) ? u(Z) ? "visible" : "hidden" : "visible"
|
|
298
298
|
})
|
|
299
299
|
}, Ee({ _: 2 }, [
|
|
300
|
+
t.$slots.menuIcon ? {
|
|
301
|
+
name: "menuIcon",
|
|
302
|
+
fn: _(({ isOpen: o, color: r }) => [
|
|
303
|
+
f(t.$slots, "menuIcon", V(P({ isOpen: o, color: r })), void 0, !0)
|
|
304
|
+
]),
|
|
305
|
+
key: "0"
|
|
306
|
+
} : void 0,
|
|
300
307
|
t.$slots.optionTooltip ? {
|
|
301
308
|
name: "optionTooltip",
|
|
302
309
|
fn: _(() => [
|
|
303
310
|
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
304
311
|
]),
|
|
305
|
-
key: "
|
|
312
|
+
key: "1"
|
|
306
313
|
} : void 0,
|
|
307
314
|
t.$slots.optionPdf ? {
|
|
308
315
|
name: "optionPdf",
|
|
309
316
|
fn: _(() => [
|
|
310
317
|
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
311
318
|
]),
|
|
312
|
-
key: "
|
|
319
|
+
key: "2"
|
|
313
320
|
} : void 0,
|
|
314
321
|
t.$slots.optionCsv ? {
|
|
315
322
|
name: "optionCsv",
|
|
316
323
|
fn: _(() => [
|
|
317
324
|
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
318
325
|
]),
|
|
319
|
-
key: "
|
|
326
|
+
key: "3"
|
|
320
327
|
} : void 0,
|
|
321
328
|
t.$slots.optionImg ? {
|
|
322
329
|
name: "optionImg",
|
|
323
330
|
fn: _(() => [
|
|
324
331
|
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
325
332
|
]),
|
|
326
|
-
key: "
|
|
333
|
+
key: "4"
|
|
327
334
|
} : void 0,
|
|
328
335
|
t.$slots.optionTable ? {
|
|
329
336
|
name: "optionTable",
|
|
330
337
|
fn: _(() => [
|
|
331
338
|
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
332
339
|
]),
|
|
333
|
-
key: "
|
|
340
|
+
key: "5"
|
|
334
341
|
} : void 0,
|
|
335
342
|
t.$slots.optionFullscreen ? {
|
|
336
343
|
name: "optionFullscreen",
|
|
337
|
-
fn: _(({ toggleFullscreen:
|
|
338
|
-
f(t.$slots, "optionFullscreen",
|
|
344
|
+
fn: _(({ toggleFullscreen: o, isFullscreen: r }) => [
|
|
345
|
+
f(t.$slots, "optionFullscreen", V(P({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
|
|
339
346
|
]),
|
|
340
|
-
key: "
|
|
347
|
+
key: "6"
|
|
341
348
|
} : void 0,
|
|
342
349
|
t.$slots.optionAnnotator ? {
|
|
343
350
|
name: "optionAnnotator",
|
|
344
|
-
fn: _(({ toggleAnnotator:
|
|
345
|
-
f(t.$slots, "optionAnnotator",
|
|
351
|
+
fn: _(({ toggleAnnotator: o, isAnnotator: r }) => [
|
|
352
|
+
f(t.$slots, "optionAnnotator", V(P({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
|
|
346
353
|
]),
|
|
347
|
-
key: "
|
|
354
|
+
key: "7"
|
|
348
355
|
} : void 0
|
|
349
356
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
350
|
-
D.value ? (
|
|
357
|
+
D.value ? (s(), n("svg", {
|
|
351
358
|
key: 4,
|
|
352
359
|
ref_key: "svgRef",
|
|
353
360
|
ref: ge,
|
|
@@ -357,7 +364,7 @@ const yt = ["id"], ct = {
|
|
|
357
364
|
style: k(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
358
365
|
}, [
|
|
359
366
|
se(nt),
|
|
360
|
-
t.$slots["chart-background"] ? (
|
|
367
|
+
t.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
361
368
|
key: 0,
|
|
362
369
|
x: 0,
|
|
363
370
|
y: 0,
|
|
@@ -369,11 +376,11 @@ const yt = ["id"], ct = {
|
|
|
369
376
|
}, [
|
|
370
377
|
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
371
378
|
], 8, pt)) : c("", !0),
|
|
372
|
-
(
|
|
373
|
-
(
|
|
379
|
+
(s(!0), n(A, null, M(W.value, (o, r) => (s(), n("g", null, [
|
|
380
|
+
(s(!0), n(A, null, M(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
374
381
|
i("rect", {
|
|
375
382
|
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
376
|
-
y: a.value.top + d.value.height *
|
|
383
|
+
y: a.value.top + d.value.height * r + e.value.style.layout.cells.spacing / 2,
|
|
377
384
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
378
385
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
379
386
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
@@ -382,22 +389,22 @@ const yt = ["id"], ct = {
|
|
|
382
389
|
}, null, 8, gt),
|
|
383
390
|
i("rect", {
|
|
384
391
|
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
385
|
-
y: a.value.top + d.value.height *
|
|
392
|
+
y: a.value.top + d.value.height * r + e.value.style.layout.cells.spacing / 2,
|
|
386
393
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
387
394
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
388
395
|
fill: y.color,
|
|
389
396
|
stroke: e.value.style.backgroundColor,
|
|
390
397
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
391
398
|
}, null, 8, ft),
|
|
392
|
-
e.value.style.layout.cells.value.show ? (
|
|
399
|
+
e.value.style.layout.cells.value.show ? (s(), n("text", {
|
|
393
400
|
key: 0,
|
|
394
401
|
"text-anchor": "middle",
|
|
395
402
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
396
403
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
397
404
|
fill: u(ie)(y.color),
|
|
398
405
|
x: a.value.left + d.value.width * g + d.value.width / 2,
|
|
399
|
-
y: a.value.top + d.value.height *
|
|
400
|
-
}, b(u(
|
|
406
|
+
y: a.value.top + d.value.height * r + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
407
|
+
}, b(u(I)(
|
|
401
408
|
e.value.style.layout.cells.value.formatter,
|
|
402
409
|
y.value,
|
|
403
410
|
u(S)({
|
|
@@ -409,48 +416,48 @@ const yt = ["id"], ct = {
|
|
|
409
416
|
{ datapoint: y }
|
|
410
417
|
)), 9, bt)) : c("", !0)
|
|
411
418
|
]))), 256)),
|
|
412
|
-
(
|
|
419
|
+
(s(!0), n(A, null, M(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
413
420
|
i("rect", {
|
|
414
421
|
x: a.value.left + d.value.width * g,
|
|
415
|
-
y: a.value.top + d.value.height *
|
|
422
|
+
y: a.value.top + d.value.height * r,
|
|
416
423
|
width: d.value.width,
|
|
417
424
|
height: d.value.height,
|
|
418
425
|
fill: "transparent",
|
|
419
426
|
stroke: "none",
|
|
420
|
-
onMouseover: (L) => Ve(y,
|
|
427
|
+
onMouseover: (L) => Ve(y, r, a.value.left + d.value.width * g, a.value.top + d.value.height * r),
|
|
421
428
|
onMouseout: l[0] || (l[0] = (L) => {
|
|
422
|
-
J.value = !1, re.value = void 0, C.value = null,
|
|
429
|
+
J.value = !1, re.value = void 0, C.value = null, B.value = null;
|
|
423
430
|
})
|
|
424
431
|
}, null, 40, mt)
|
|
425
432
|
]))), 256)),
|
|
426
|
-
e.value.style.layout.dataLabels.yAxis.show ? (
|
|
433
|
+
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", xt, [
|
|
427
434
|
i("text", {
|
|
428
435
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
429
436
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
430
437
|
x: a.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
|
|
431
|
-
y: a.value.top + d.value.height *
|
|
438
|
+
y: a.value.top + d.value.height * r + d.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
432
439
|
"text-anchor": "end",
|
|
433
440
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
434
|
-
}, b($.value.yLabels[
|
|
441
|
+
}, b($.value.yLabels[r]), 9, wt)
|
|
435
442
|
])) : c("", !0)
|
|
436
443
|
]))), 256)),
|
|
437
|
-
e.value.style.layout.dataLabels.xAxis.show ? (
|
|
438
|
-
(
|
|
439
|
-
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo &&
|
|
444
|
+
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", kt, [
|
|
445
|
+
(s(!0), n(A, null, M($.value.xLabels, (o, r) => (s(), n(A, null, [
|
|
446
|
+
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && r % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), n("text", {
|
|
440
447
|
key: 0,
|
|
441
448
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
442
449
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
443
450
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
444
451
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
445
|
-
transform: `translate(${a.value.left + d.value.width / 2 + a.value.width / $.value.xLabels.length *
|
|
446
|
-
}, b(
|
|
452
|
+
transform: `translate(${a.value.left + d.value.width / 2 + a.value.width / $.value.xLabels.length * r + e.value.style.layout.dataLabels.xAxis.offsetX}, ${a.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
453
|
+
}, b(o), 9, _t)) : c("", !0)
|
|
447
454
|
], 64))), 256))
|
|
448
455
|
])) : c("", !0),
|
|
449
|
-
|
|
456
|
+
B.value ? (s(), n("g", $t, [
|
|
450
457
|
i("rect", {
|
|
451
458
|
style: { "pointer-events": "none" },
|
|
452
|
-
x:
|
|
453
|
-
y:
|
|
459
|
+
x: B.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
460
|
+
y: B.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
454
461
|
width: d.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
455
462
|
height: d.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
456
463
|
fill: "transparent",
|
|
@@ -459,10 +466,10 @@ const yt = ["id"], ct = {
|
|
|
459
466
|
rx: 1
|
|
460
467
|
}, null, 8, Ct)
|
|
461
468
|
])) : c("", !0),
|
|
462
|
-
e.value.style.legend.show && j.value === "right" ? (
|
|
469
|
+
e.value.style.legend.show && j.value === "right" ? (s(), n("g", Lt, [
|
|
463
470
|
i("defs", null, [
|
|
464
471
|
i("linearGradient", {
|
|
465
|
-
id: `colorScaleVertical_${
|
|
472
|
+
id: `colorScaleVertical_${R.value}`,
|
|
466
473
|
x2: "0%",
|
|
467
474
|
y2: "100%"
|
|
468
475
|
}, [
|
|
@@ -482,7 +489,7 @@ const yt = ["id"], ct = {
|
|
|
482
489
|
"text-anchor": "middle",
|
|
483
490
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
484
491
|
fill: e.value.style.legend.color
|
|
485
|
-
}, b(u(
|
|
492
|
+
}, b(u(I)(
|
|
486
493
|
e.value.style.layout.cells.value.formatter,
|
|
487
494
|
u(T)(w.value),
|
|
488
495
|
u(S)({
|
|
@@ -498,7 +505,7 @@ const yt = ["id"], ct = {
|
|
|
498
505
|
width: 36,
|
|
499
506
|
height: te.value,
|
|
500
507
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
501
|
-
fill: `url(#colorScaleVertical_${
|
|
508
|
+
fill: `url(#colorScaleVertical_${R.value})`
|
|
502
509
|
}, null, 8, Mt),
|
|
503
510
|
i("text", {
|
|
504
511
|
x: a.value.right + 36 + 18,
|
|
@@ -506,7 +513,7 @@ const yt = ["id"], ct = {
|
|
|
506
513
|
"text-anchor": "middle",
|
|
507
514
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
508
515
|
fill: e.value.style.legend.color
|
|
509
|
-
}, b(u(
|
|
516
|
+
}, b(u(I)(
|
|
510
517
|
e.value.style.layout.cells.value.formatter,
|
|
511
518
|
u(T)(z.value),
|
|
512
519
|
u(S)({
|
|
@@ -516,23 +523,23 @@ const yt = ["id"], ct = {
|
|
|
516
523
|
r: e.value.style.legend.roundingValue
|
|
517
524
|
})
|
|
518
525
|
)), 9, St),
|
|
519
|
-
C.value !== null ? (
|
|
526
|
+
C.value !== null ? (s(), n("line", {
|
|
520
527
|
key: 0,
|
|
521
|
-
stroke: u(ie)(
|
|
528
|
+
stroke: u(ie)(E.value.datapoint.color),
|
|
522
529
|
"stroke-width": "2",
|
|
523
530
|
x1: a.value.right + 36,
|
|
524
531
|
x2: a.value.right + 72,
|
|
525
|
-
y1:
|
|
526
|
-
y2:
|
|
532
|
+
y1: G.value,
|
|
533
|
+
y2: G.value
|
|
527
534
|
}, null, 8, Nt)) : c("", !0),
|
|
528
|
-
C.value !== null ? (
|
|
535
|
+
C.value !== null ? (s(), n("path", {
|
|
529
536
|
key: 1,
|
|
530
537
|
fill: e.value.style.color,
|
|
531
538
|
stroke: "none",
|
|
532
|
-
d: `M ${a.value.right + 36},${
|
|
539
|
+
d: `M ${a.value.right + 36},${G.value} ${a.value.right + 26},${G.value - 8} ${a.value.right + 26},${G.value + 8}z`
|
|
533
540
|
}, null, 8, Ft)) : c("", !0)
|
|
534
541
|
])) : c("", !0),
|
|
535
|
-
e.value.style.legend.show && j.value === "bottom" ? (
|
|
542
|
+
e.value.style.legend.show && j.value === "bottom" ? (s(), n("g", Vt, [
|
|
536
543
|
i("defs", null, [
|
|
537
544
|
i("linearGradient", Pt, [
|
|
538
545
|
i("stop", {
|
|
@@ -559,7 +566,7 @@ const yt = ["id"], ct = {
|
|
|
559
566
|
"text-anchor": "start",
|
|
560
567
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
561
568
|
fill: e.value.style.legend.color
|
|
562
|
-
}, b(u(
|
|
569
|
+
}, b(u(I)(
|
|
563
570
|
e.value.style.layout.cells.value.formatter,
|
|
564
571
|
u(T)(z.value),
|
|
565
572
|
u(S)({
|
|
@@ -575,7 +582,7 @@ const yt = ["id"], ct = {
|
|
|
575
582
|
"text-anchor": "end",
|
|
576
583
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
577
584
|
fill: e.value.style.legend.color
|
|
578
|
-
}, b(u(
|
|
585
|
+
}, b(u(I)(
|
|
579
586
|
e.value.style.layout.cells.value.formatter,
|
|
580
587
|
u(T)(w.value),
|
|
581
588
|
u(S)({
|
|
@@ -585,31 +592,31 @@ const yt = ["id"], ct = {
|
|
|
585
592
|
r: e.value.style.legend.roundingValue
|
|
586
593
|
})
|
|
587
594
|
)), 9, Gt),
|
|
588
|
-
C.value !== null ? (
|
|
595
|
+
C.value !== null ? (s(), n("line", {
|
|
589
596
|
key: 0,
|
|
590
|
-
stroke: u(ie)(
|
|
597
|
+
stroke: u(ie)(E.value.datapoint.color),
|
|
591
598
|
"stroke-width": "2",
|
|
592
|
-
x1:
|
|
593
|
-
x2:
|
|
599
|
+
x1: U.value,
|
|
600
|
+
x2: U.value,
|
|
594
601
|
y1: a.value.bottom + e.value.style.layout.cells.height,
|
|
595
602
|
y2: a.value.bottom + e.value.style.layout.cells.height * 2
|
|
596
603
|
}, null, 8, Ut)) : c("", !0),
|
|
597
|
-
C.value !== null ? (
|
|
604
|
+
C.value !== null ? (s(), n("path", {
|
|
598
605
|
key: 1,
|
|
599
606
|
fill: e.value.style.color,
|
|
600
607
|
stroke: "none",
|
|
601
|
-
d: `M ${
|
|
608
|
+
d: `M ${U.value},${a.value.bottom + e.value.style.layout.cells.height} ${U.value - 12},${a.value.bottom + e.value.style.layout.cells.height - 20} ${U.value + 12},${a.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
602
609
|
}, null, 8, Ht)) : c("", !0)
|
|
603
610
|
])) : c("", !0),
|
|
604
611
|
f(t.$slots, "svg", { svg: x.value }, void 0, !0)
|
|
605
612
|
], 14, ht)) : c("", !0),
|
|
606
|
-
t.$slots.watermark ? (
|
|
607
|
-
f(t.$slots, "watermark",
|
|
613
|
+
t.$slots.watermark ? (s(), n("div", Xt, [
|
|
614
|
+
f(t.$slots, "watermark", V(P({ isPrinting: u(be) || u(me) })), void 0, !0)
|
|
608
615
|
])) : c("", !0),
|
|
609
|
-
t.$slots.source ? (
|
|
616
|
+
t.$slots.source ? (s(), n("div", Dt, [
|
|
610
617
|
f(t.$slots, "source", {}, void 0, !0)
|
|
611
618
|
], 512)) : c("", !0),
|
|
612
|
-
D.value ? c("", !0) : (
|
|
619
|
+
D.value ? c("", !0) : (s(), H(ot, {
|
|
613
620
|
key: 7,
|
|
614
621
|
config: {
|
|
615
622
|
type: "heatmap",
|
|
@@ -638,14 +645,14 @@ const yt = ["id"], ct = {
|
|
|
638
645
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
639
646
|
}, {
|
|
640
647
|
"tooltip-before": _(() => [
|
|
641
|
-
f(t.$slots, "tooltip-before",
|
|
648
|
+
f(t.$slots, "tooltip-before", V(P({ ...E.value })), void 0, !0)
|
|
642
649
|
]),
|
|
643
650
|
"tooltip-after": _(() => [
|
|
644
|
-
f(t.$slots, "tooltip-after",
|
|
651
|
+
f(t.$slots, "tooltip-after", V(P({ ...E.value })), void 0, !0)
|
|
645
652
|
]),
|
|
646
653
|
_: 3
|
|
647
654
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
648
|
-
D.value ? (
|
|
655
|
+
D.value ? (s(), H(ut, {
|
|
649
656
|
key: 8,
|
|
650
657
|
hideDetails: "",
|
|
651
658
|
config: {
|
|
@@ -675,8 +682,8 @@ const yt = ["id"], ct = {
|
|
|
675
682
|
role: "button",
|
|
676
683
|
tabindex: "0",
|
|
677
684
|
style: k(`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};`),
|
|
678
|
-
onClick: l[1] || (l[1] = (
|
|
679
|
-
onKeypress: l[2] || (l[2] = Ge((
|
|
685
|
+
onClick: l[1] || (l[1] = (o) => m.value.showTable = !1),
|
|
686
|
+
onKeypress: l[2] || (l[2] = Ge((o) => m.value.showTable = !1, ["enter"]))
|
|
680
687
|
}, [
|
|
681
688
|
se(st, {
|
|
682
689
|
name: "close",
|
|
@@ -689,7 +696,7 @@ const yt = ["id"], ct = {
|
|
|
689
696
|
style: k(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
690
697
|
}, [
|
|
691
698
|
Ue(b(e.value.style.title.text) + " ", 1),
|
|
692
|
-
e.value.style.title.subtitle.text ? (
|
|
699
|
+
e.value.style.title.subtitle.text ? (s(), n("span", Wt, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
693
700
|
], 4),
|
|
694
701
|
i("thead", null, [
|
|
695
702
|
i("tr", {
|
|
@@ -699,16 +706,16 @@ const yt = ["id"], ct = {
|
|
|
699
706
|
i("th", {
|
|
700
707
|
style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
701
708
|
}, null, 4),
|
|
702
|
-
(
|
|
709
|
+
(s(!0), n(A, null, M(X.dataset, (o, r) => (s(), n("th", {
|
|
703
710
|
align: "right",
|
|
704
711
|
style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
705
|
-
}, b(
|
|
712
|
+
}, b(o.name), 5))), 256))
|
|
706
713
|
], 4)
|
|
707
714
|
]),
|
|
708
715
|
i("tbody", null, [
|
|
709
|
-
(
|
|
716
|
+
(s(!0), n(A, null, M($.value.xLabels, (o, r) => (s(), n("tr", {
|
|
710
717
|
role: "row",
|
|
711
|
-
class: q({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even":
|
|
718
|
+
class: q({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": r % 2 === 0, "vue-ui-data-table__tbody__row-odd": r % 2 !== 0 }),
|
|
712
719
|
style: k(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
713
720
|
}, [
|
|
714
721
|
i("td", {
|
|
@@ -716,14 +723,14 @@ const yt = ["id"], ct = {
|
|
|
716
723
|
class: "vue-ui-data-table__tbody__td",
|
|
717
724
|
style: k(`outline:${e.value.table.td.outline}`)
|
|
718
725
|
}, [
|
|
719
|
-
i("div", qt, b(
|
|
726
|
+
i("div", qt, b(o), 1)
|
|
720
727
|
], 12, Yt),
|
|
721
|
-
(
|
|
728
|
+
(s(!0), n(A, null, M(X.dataset, (y, g) => (s(), n("td", {
|
|
722
729
|
class: "vue-ui-data-table__tbody__td",
|
|
723
730
|
"data-cell": X.dataset[g].name,
|
|
724
731
|
style: k(`outline:${e.value.table.td.outline}`)
|
|
725
732
|
}, [
|
|
726
|
-
i("div", Jt, b(isNaN(y.values[
|
|
733
|
+
i("div", Jt, b(isNaN(y.values[r]) ? "-" : u(S)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[r], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
727
734
|
], 12, Kt))), 256))
|
|
728
735
|
], 6))), 256))
|
|
729
736
|
])
|
|
@@ -735,7 +742,7 @@ const yt = ["id"], ct = {
|
|
|
735
742
|
}, 8, ["config"])) : c("", !0)
|
|
736
743
|
], 46, yt));
|
|
737
744
|
}
|
|
738
|
-
}, cl = /* @__PURE__ */ dt(Qt, [["__scopeId", "data-v-
|
|
745
|
+
}, cl = /* @__PURE__ */ dt(Qt, [["__scopeId", "data-v-83ad9004"]]);
|
|
739
746
|
export {
|
|
740
747
|
cl as default
|
|
741
748
|
};
|