vue-data-ui 2.6.19 → 2.6.21
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-QMACp9z-.cjs → Arrow-C1pcd-am.cjs} +1 -1
- package/dist/{Arrow-DTtLZwne.js → Arrow-DQaZQgi6.js} +1 -1
- package/dist/{BaseIcon-BpRuwiFD.cjs → BaseIcon-BQwivF_K.cjs} +1 -1
- package/dist/{BaseIcon-nz-vbP7I.js → BaseIcon-DH34CAFx.js} +1 -1
- package/dist/{DataTable-Dr-djTUz.cjs → DataTable-D5572vAU.cjs} +1 -1
- package/dist/{DataTable-pNLWbeCL.js → DataTable-DfMqgTjL.js} +2 -2
- package/dist/{Legend-BHbX2C8f.cjs → Legend-CoREnR30.cjs} +1 -1
- package/dist/{Legend-s9DRKvJo.js → Legend-PL8rU0J1.js} +2 -2
- package/dist/{PackageVersion-hltZM-fb.js → PackageVersion-1Y7SXTrk.js} +1 -1
- package/dist/{PackageVersion-DsoqDgVf.cjs → PackageVersion-JsuXjgR_.cjs} +1 -1
- package/dist/PenAndPaper-7lGhxIH8.cjs +1 -0
- package/dist/{PenAndPaper-qmkn1GhB.js → PenAndPaper-BYhUvcy4.js} +20 -16
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-z17A_S1M.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-lH7bkq1z.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs} +1 -1
- package/dist/{Shape-YhMDtuHk.cjs → Shape-HtDeeGqp.cjs} +1 -1
- package/dist/{Shape-C3y6rj0O.js → Shape-Ov27sl2L.js} +1 -1
- package/dist/{Slicer-BIW17-XH.js → Slicer-6F4tHrZR.js} +3 -3
- package/dist/{Slicer-BA8XF-Ak.cjs → Slicer-COXIFuZ-.cjs} +1 -1
- package/dist/{Title-dsg3PqUg.js → Title-1PWD04Gh.js} +1 -1
- package/dist/{Title-DWqgN4Kv.cjs → Title-Pgt1Ixvo.cjs} +1 -1
- package/dist/{Tooltip-DRFQIslg.js → Tooltip-BTO5NGkn.js} +1 -1
- package/dist/{Tooltip-B6T_qzJD.cjs → Tooltip-te_h24w6.cjs} +1 -1
- package/dist/{index-3OrObUP-.cjs → index-DM-Bs-Ua.cjs} +1 -1
- package/dist/{index-DvAaY6OP.js → index-DUnEDLbc.js} +1 -1
- package/dist/index.es-DvaaoatM.cjs +18 -0
- package/dist/index.es-RWt7DWPC.js +6645 -0
- package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
- package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
- package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
- package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CGzX7c5Q.js → useNestedProp-CEMeoM-f.js} +1 -1
- package/dist/{useNestedProp-B53Yi1Rk.cjs → useNestedProp-CYy5g-mh.cjs} +1 -1
- package/dist/usePrinter-DbpIk44f.cjs +1 -0
- package/dist/{usePrinter-D_2jA4x8.js → usePrinter-Undaynpo.js} +73 -71
- package/dist/useResponsive-N8jl0-aC.cjs +1 -0
- package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
- package/dist/{vue-data-ui-CTjgYwlW.cjs → vue-data-ui-BapofDyJ.cjs} +1 -1
- package/dist/{vue-data-ui-DMl9rAwQ.js → vue-data-ui-DnaIYz0z.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBVRoMwv.js → vue-ui-3d-bar-DLYaW0-y.js} +105 -98
- package/dist/{vue-ui-3d-bar-OwVsZokU.cjs → vue-ui-3d-bar-DansBM76.cjs} +2 -2
- package/dist/{vue-ui-accordion-LbUarYuf.js → vue-ui-accordion-C8Couc_G.js} +3 -3
- package/dist/{vue-ui-accordion-BmScSwW2.cjs → vue-ui-accordion-ZIsT4At8.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DQ5dL4yb.cjs → vue-ui-age-pyramid-BSXnW9GF.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rmfEfmj7.js → vue-ui-age-pyramid-BdruKMmo.js} +76 -69
- package/dist/{vue-ui-annotator-nS_RSspz.cjs → vue-ui-annotator-B7Go0M7W.cjs} +1 -1
- package/dist/{vue-ui-annotator-FlMkU7Kj.js → vue-ui-annotator-DVfdPMa7.js} +2 -2
- package/dist/{vue-ui-bullet-esfPgi-9.js → vue-ui-bullet-CkCJgmoJ.js} +145 -138
- package/dist/{vue-ui-bullet-BGTTcXBJ.cjs → vue-ui-bullet-N9ud2cQ7.cjs} +4 -4
- package/dist/{vue-ui-candlestick-RHrlnUqs.js → vue-ui-candlestick-C9B13qeU.js} +116 -109
- package/dist/{vue-ui-candlestick-BUEGFHg_.cjs → vue-ui-candlestick-DPIs9tEW.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-6uP-Kk9U.js → vue-ui-carousel-table-BLo52Rqu.js} +130 -123
- package/dist/{vue-ui-carousel-table-DCcPnWRU.cjs → vue-ui-carousel-table-DgcY4j9y.cjs} +1 -1
- package/dist/{vue-ui-chestnut-B7Ep4Lho.cjs → vue-ui-chestnut-C9Zw_bey.cjs} +2 -2
- package/dist/{vue-ui-chestnut-Dh4y5s_v.js → vue-ui-chestnut-D8oXG8Tf.js} +131 -124
- package/dist/vue-ui-circle-pack-CrEdkNM7.js +648 -0
- package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +1 -0
- package/dist/{vue-ui-cursor-D-IzE_jd.cjs → vue-ui-cursor-CtSijliN.cjs} +1 -1
- package/dist/{vue-ui-cursor-C21WgpGu.js → vue-ui-cursor-DkW4pJcP.js} +2 -2
- package/dist/{vue-ui-dashboard-T0LqYCqM.js → vue-ui-dashboard-5_Du0Yr2.js} +3 -3
- package/dist/{vue-ui-dashboard-DQ_wht4B.cjs → vue-ui-dashboard-Dh5vRbdI.cjs} +1 -1
- package/dist/{vue-ui-digits-CwV6mhHZ.cjs → vue-ui-digits-DEmYk7sS.cjs} +1 -1
- package/dist/{vue-ui-digits-CLFrlUIW.js → vue-ui-digits-DhA1bHdz.js} +2 -2
- package/dist/{vue-ui-donut-dVplEheX.js → vue-ui-donut-B-G7gRdV.js} +118 -111
- package/dist/{vue-ui-donut-b_UXDeKJ.cjs → vue-ui-donut-BrZxaijU.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Bl50EWBG.js → vue-ui-donut-evolution-B4almlBq.js} +164 -157
- package/dist/{vue-ui-donut-evolution-VxNtQWGH.cjs → vue-ui-donut-evolution-CTbXi7wk.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B-7s7x7a.cjs → vue-ui-dumbbell-CAIlnhsM.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-Bp685TTG.js → vue-ui-dumbbell-kZGa__IU.js} +75 -68
- package/dist/{vue-ui-flow-CHbfoU97.js → vue-ui-flow-Bc31ZN1W.js} +177 -170
- package/dist/{vue-ui-flow-DJqOVlD7.cjs → vue-ui-flow-D2UNbwlp.cjs} +1 -1
- package/dist/{vue-ui-funnel-B77giO54.cjs → vue-ui-funnel-DfCz1GNN.cjs} +1 -1
- package/dist/{vue-ui-funnel-Bhv0XRzJ.js → vue-ui-funnel-V7hu2Iib.js} +129 -122
- package/dist/{vue-ui-galaxy-Dt4dx9bS.cjs → vue-ui-galaxy-CNBC7IbU.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DMA8AX8h.js → vue-ui-galaxy-DLCcy7Kq.js} +77 -70
- package/dist/{vue-ui-gauge-CBlurlZk.js → vue-ui-gauge-CZMHtEcr.js} +153 -146
- package/dist/{vue-ui-gauge-Bh3iSbSd.cjs → vue-ui-gauge-D8IglqIF.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CHhJKge-.js → vue-ui-gizmo-BuAVBMBp.js} +3 -3
- package/dist/{vue-ui-gizmo-BMrnNfYR.cjs → vue-ui-gizmo-fyC414Iv.cjs} +1 -1
- package/dist/vue-ui-heatmap-CDOry_F1.cjs +1 -0
- package/dist/{vue-ui-heatmap-CB4852rp.js → vue-ui-heatmap-hUfFzGck.js} +139 -132
- package/dist/{vue-ui-history-plot-AwmdEhYL.js → vue-ui-history-plot-C79l8rPm.js} +122 -115
- package/dist/{vue-ui-history-plot-BG7r0ZF7.cjs → vue-ui-history-plot-CIXgvWpk.cjs} +1 -1
- package/dist/{vue-ui-kpi-DcxE4Vv7.js → vue-ui-kpi-C3tHthXH.js} +3 -3
- package/dist/{vue-ui-kpi-BYCMEzBt.cjs → vue-ui-kpi-yiWxNLJ-.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CdDRH8Rb.js → vue-ui-mini-loader-1p1jAKx_.js} +2 -2
- package/dist/{vue-ui-mini-loader-DOqUfxRJ.cjs → vue-ui-mini-loader-26yCYjxn.cjs} +1 -1
- package/dist/{vue-ui-molecule-C-Z0Ywq1.cjs → vue-ui-molecule-Bw0dYLfu.cjs} +1 -1
- package/dist/{vue-ui-molecule-BskBKGbQ.js → vue-ui-molecule-COQ-yrBr.js} +249 -242
- package/dist/{vue-ui-mood-radar-BAPZ1LyF.js → vue-ui-mood-radar-CwfGiQ43.js} +111 -104
- package/dist/{vue-ui-mood-radar-BIrQKfVf.cjs → vue-ui-mood-radar-Cyde9hnR.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BB2Kgb5F.js → vue-ui-nested-donuts-BVaW7w1U.js} +117 -110
- package/dist/{vue-ui-nested-donuts-7YjtP-jC.cjs → vue-ui-nested-donuts-Y07lLGRa.cjs} +2 -2
- package/dist/{vue-ui-onion-BWb18zcN.cjs → vue-ui-onion-DkXss-B_.cjs} +2 -2
- package/dist/{vue-ui-onion-BjMfXAZK.js → vue-ui-onion-h6DP9kOi.js} +143 -136
- package/dist/{vue-ui-parallel-coordinate-plot-D6Vs-5Vh.cjs → vue-ui-parallel-coordinate-plot-CkI21cq2.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ryqdfkHL.js → vue-ui-parallel-coordinate-plot-O5cwKbzH.js} +113 -106
- package/dist/{vue-ui-quadrant-Cr4ypLzT.js → vue-ui-quadrant-CfywvXnV.js} +112 -105
- package/dist/{vue-ui-quadrant-BmsHBpKo.cjs → vue-ui-quadrant-F6w-QJE_.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-45IEXHb0.cjs → vue-ui-quick-chart-BeMHD_Kz.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-C9dIHRYi.js → vue-ui-quick-chart-C1AwFGSr.js} +195 -188
- package/dist/{vue-ui-radar-Nr5JmVlk.cjs → vue-ui-radar-BejYh3DW.cjs} +1 -1
- package/dist/{vue-ui-radar-T6xdl9ic.js → vue-ui-radar-DDKXLi5o.js} +101 -94
- package/dist/{vue-ui-rating-C5AaiBqZ.js → vue-ui-rating-BrGbM0Op.js} +2 -2
- package/dist/{vue-ui-rating-CFIhZlG-.cjs → vue-ui-rating-C40ktvn7.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Cw-DcsRY.cjs → vue-ui-relation-circle-C4qT13SI.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BktS594K.js → vue-ui-relation-circle-DrtdiTMX.js} +103 -96
- package/dist/{vue-ui-rings-_evAK3j7.js → vue-ui-rings-C4IdhEUE.js} +169 -162
- package/dist/{vue-ui-rings-2j5fsO_o.cjs → vue-ui-rings-Cd8WyeDZ.cjs} +2 -2
- package/dist/{vue-ui-scatter-C5ePnByD.js → vue-ui-scatter-BS8sgyMi.js} +85 -78
- package/dist/{vue-ui-scatter-W1_ChsfO.cjs → vue-ui-scatter-MmvIeu4D.cjs} +1 -1
- package/dist/{vue-ui-screenshot-B6ASKPJf.cjs → vue-ui-screenshot-BB51-eRL.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DM-PQM2g.js → vue-ui-screenshot-tnFPT1vi.js} +1 -1
- package/dist/{vue-ui-skeleton-WoggMoff.js → vue-ui-skeleton-DieABKlo.js} +3 -3
- package/dist/{vue-ui-skeleton-DaowWOKJ.cjs → vue-ui-skeleton-DlC-U64G.cjs} +1 -1
- package/dist/{vue-ui-smiley-gulDZ8i7.js → vue-ui-smiley-C32wVXgu.js} +2 -2
- package/dist/{vue-ui-smiley-hlaNlq2y.cjs → vue-ui-smiley-DSxKw3ud.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-LbApLsdt.js → vue-ui-spark-trend-B_x1dX38.js} +5 -5
- package/dist/{vue-ui-spark-trend-BcrMflk6.cjs → vue-ui-spark-trend-vexkCCy9.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BdfaDBkw.cjs → vue-ui-sparkbar-CsOEiHDQ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CnL6FbaE.js → vue-ui-sparkbar-ZSbB6Llo.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CHv1q1cO.cjs → vue-ui-sparkgauge-Bdh7X--h.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Du7PRJyB.js → vue-ui-sparkgauge-Cf3bDk98.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CyEyZvbD.js → vue-ui-sparkhistogram-CrZy1xf0.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CBqKXnvX.cjs → vue-ui-sparkhistogram-fALwb3uK.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DRHE0kK8.cjs → vue-ui-sparkline-D4WDvcZR.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BMNXPHhB.js → vue-ui-sparkline-DTW_lXgp.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-D6wuDd8h.cjs → vue-ui-sparkstackbar-DBPLhUoi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D33lwh8d.js → vue-ui-sparkstackbar-Db2Ndf0k.js} +5 -5
- package/dist/{vue-ui-stackbar-CnxGAca-.cjs → vue-ui-stackbar-B3eaSIoO.cjs} +3 -3
- package/dist/{vue-ui-stackbar-C5yoqQAY.js → vue-ui-stackbar-DbF3ZJTD.js} +211 -204
- package/dist/{vue-ui-strip-plot-Cg1B7i3X.js → vue-ui-strip-plot-CpkH2Gfd.js} +83 -76
- package/dist/{vue-ui-strip-plot-DDTTc2jA.cjs → vue-ui-strip-plot-DiCVf5u-.cjs} +1 -1
- package/dist/{vue-ui-table-BGfZl0wF.js → vue-ui-table-D6zWwikN.js} +1 -1
- package/dist/{vue-ui-table-TV5Coa0A.cjs → vue-ui-table-K13fqkDI.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Jjx8L8St.cjs → vue-ui-table-heatmap-BgenCoVa.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D0j2OFv0.js → vue-ui-table-heatmap-EAevgnzN.js} +63 -56
- package/dist/{vue-ui-table-sparkline-D0_FhhN5.cjs → vue-ui-table-sparkline-3JMqr89P.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C2sUG_7S.js → vue-ui-table-sparkline-s_oWe6MG.js} +90 -83
- package/dist/{vue-ui-thermometer-Bw35Fw8v.cjs → vue-ui-thermometer--mYRly4x.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CdLZ8te2.js → vue-ui-thermometer-Bo3l_0Kf.js} +113 -106
- package/dist/{vue-ui-timer-1-kXQ5_q.js → vue-ui-timer-C9EuUurN.js} +6 -6
- package/dist/{vue-ui-timer-Deg5YPx0.cjs → vue-ui-timer-Djh-ZDNe.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-uSgVLSbo.cjs → vue-ui-tiremarks-CKv_KApZ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHTSw0fa.js → vue-ui-tiremarks-DgdpEDJ1.js} +76 -69
- package/dist/{vue-ui-treemap-7W_lvbV0.cjs → vue-ui-treemap-AkNJjd2c.cjs} +1 -1
- package/dist/{vue-ui-treemap-C2u5sEzh.js → vue-ui-treemap-D13sISL0.js} +144 -137
- package/dist/{vue-ui-vertical-bar-BlzOi8LC.cjs → vue-ui-vertical-bar-CQlvpdJl.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-U3LQF-NS.js → vue-ui-vertical-bar-DfegzHj4.js} +120 -113
- package/dist/{vue-ui-waffle-DUXvINoC.cjs → vue-ui-waffle-Dve1LWVt.cjs} +1 -1
- package/dist/{vue-ui-waffle-qAheWwiI.js → vue-ui-waffle-f72Lq8_D.js} +78 -71
- package/dist/{vue-ui-wheel-DIoKCgCS.cjs → vue-ui-wheel-BG1GcVvN.cjs} +1 -1
- package/dist/{vue-ui-wheel-CuLQchDK.js → vue-ui-wheel-BxefMdit.js} +105 -98
- package/dist/{vue-ui-word-cloud-B-nFH7hZ.js → vue-ui-word-cloud-BYY4K2G4.js} +123 -116
- package/dist/{vue-ui-word-cloud-BSvmRQ5n.cjs → vue-ui-word-cloud-CRRR7H7h.cjs} +1 -1
- package/dist/{vue-ui-xy-DXMoSF2C.js → vue-ui-xy-BS0_aTIH.js} +73 -66
- package/dist/{vue-ui-xy-BGsFH9wE.cjs → vue-ui-xy-DGYZFgdd.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-CTymfSH6.js → vue-ui-xy-canvas-Bl2v7Z3U.js} +200 -193
- package/dist/{vue-ui-xy-canvas-i13v43UX.cjs → vue-ui-xy-canvas-R_pPaj0X.cjs} +2 -2
- package/package.json +2 -7
- package/dist/PenAndPaper-Dbw8Fph9.cjs +0 -1
- package/dist/index-Dwoe0gcF.cjs +0 -15
- package/dist/index-Fl-W8YeZ.js +0 -3971
- package/dist/usePrinter-bPnqqKha.cjs +0 -1
- package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
- package/dist/vue-ui-circle-pack-Ce1oEvgz.cjs +0 -1
- package/dist/vue-ui-circle-pack-CrgnQ_jY.js +0 -663
- package/dist/vue-ui-heatmap-DvItO4xs.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-DUnEDLbc.js";
|
|
3
|
+
import { _ as et } from "./Title-1PWD04Gh.js";
|
|
4
|
+
import { u as tt, U as lt } from "./usePrinter-Undaynpo.js";
|
|
5
|
+
import { _ as at } from "./Tooltip-BTO5NGkn.js";
|
|
6
|
+
import ot from "./vue-ui-skeleton-DieABKlo.js";
|
|
7
|
+
import st from "./BaseIcon-DH34CAFx.js";
|
|
8
|
+
import ut from "./vue-ui-accordion-C8Couc_G.js";
|
|
9
|
+
import { u as Ae } from "./useNestedProp-CEMeoM-f.js";
|
|
10
|
+
import { _ as nt } from "./PackageVersion-1Y7SXTrk.js";
|
|
11
|
+
import { P as it } from "./PenAndPaper-BYhUvcy4.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
|
};
|