vue-data-ui 2.10.3-beta.3 → 2.10.4
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 +1 -1
- package/dist/{Arrow-ClADeuRV.cjs → Arrow-D5FZABKM.cjs} +1 -1
- package/dist/{Arrow-CsFRQWgn.js → Arrow-rShoZLPF.js} +1 -1
- package/dist/{BaseIcon-DuZmhYGx.js → BaseIcon-DOAYHMqC.js} +1 -1
- package/dist/{BaseIcon-BZiTtIp-.cjs → BaseIcon-YEUagT3T.cjs} +1 -1
- package/dist/{ColorPicker-ajFBO-uj.cjs → ColorPicker-BvmBswSD.cjs} +1 -1
- package/dist/{ColorPicker-CWTWiV6N.js → ColorPicker-C2sp7L2o.js} +3 -3
- package/dist/{DataTable-D8vcDzp3.js → DataTable-BcZpw2Di.js} +2 -2
- package/dist/{DataTable-D8eve3Rv.cjs → DataTable-xRbw3M1w.cjs} +1 -1
- package/dist/{Legend-C-9Va34F.cjs → Legend-BgW2m6h5.cjs} +1 -1
- package/dist/{Legend-BXkorlVx.js → Legend-BkMSze3l.js} +2 -2
- package/dist/PackageVersion-DMBva7ES.cjs +1 -0
- package/dist/{PackageVersion-Cwa-KDYy.js → PackageVersion-DfvwvFMQ.js} +3 -3
- package/dist/{PenAndPaper-mD8Ft9s0.cjs → PenAndPaper-C4nRoDeG.cjs} +1 -1
- package/dist/{PenAndPaper-bYremuGq.js → PenAndPaper-Hpxqpf-9.js} +3 -3
- package/dist/{Shape-C-MjxBzW.cjs → Shape-Bo-gVwFn.cjs} +1 -1
- package/dist/{Shape-BKl_8fSs.js → Shape-DSzj99gT.js} +1 -1
- package/dist/{Slicer-D-8HCnPl.js → Slicer-DTzGSpQM.js} +2 -2
- package/dist/{Slicer-BbnCHEKM.cjs → Slicer-TTZu2wl_.cjs} +1 -1
- package/dist/{Title-g0Df2kQZ.cjs → Title-D5Q-MAw-.cjs} +1 -1
- package/dist/{Title-A3qdvX3g.js → Title-DmYM5yAv.js} +1 -1
- package/dist/{Tooltip-CzFLZsDA.cjs → Tooltip-BHaUk1Am.cjs} +1 -1
- package/dist/{Tooltip-C3RycjbN.js → Tooltip-jO3E09l_.js} +1 -1
- package/dist/documentation/installation.md +1 -1
- package/dist/{dom-to-png-BycXzYPI.js → dom-to-png-BXOrDSxu.js} +1 -1
- package/dist/{dom-to-png-CDJbBbow.cjs → dom-to-png-BvQvLpA3.cjs} +1 -1
- package/dist/{img-Daf6wWtq.cjs → img-BtrW_ClW.cjs} +1 -1
- package/dist/{img-BCG9afle.js → img-Buxs9IJl.js} +1 -1
- package/dist/{index-CLiv4lWF.cjs → index-C992Ntxe.cjs} +1 -1
- package/dist/{index-DO87eA2V.js → index-gaj0gmhW.js} +1 -1
- package/dist/{pdf-BO4SP770.cjs → pdf-Bk3zFpjP.cjs} +1 -1
- package/dist/{pdf-CUKGQwXz.js → pdf-U6PPEV5v.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-DWYmdrE5.cjs → useNestedProp-BItlw8tg.cjs} +1 -1
- package/dist/{useNestedProp-fOy4tvij.js → useNestedProp-R77oENB4.js} +1 -1
- package/dist/{usePrinter-BjvSt_Yu.js → usePrinter-BAF6jSop.js} +3 -3
- package/dist/{usePrinter-sfF-cTSO.cjs → usePrinter-C-PBqYFC.cjs} +1 -1
- package/dist/{vue-data-ui-BnXm4F7y.js → vue-data-ui-7sxceCOs.js} +62 -62
- package/dist/{vue-data-ui-BGjhB0IM.cjs → vue-data-ui-cxE28JIm.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-B_iIJS6A.js → vue-ui-3d-bar-DYgZ1gpv.js} +9 -9
- package/dist/{vue-ui-3d-bar-eQPQ37P9.cjs → vue-ui-3d-bar-WgsqJXq8.cjs} +1 -1
- package/dist/{vue-ui-accordion-DQ-y4bL8.cjs → vue-ui-accordion-DPRiCTQ4.cjs} +1 -1
- package/dist/{vue-ui-accordion-CMJOxHWq.js → vue-ui-accordion-DiPdvaEC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BKcb5h0_.cjs → vue-ui-age-pyramid-Bwb1ij77.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DSelZbfg.js → vue-ui-age-pyramid-VH8hdgnJ.js} +10 -10
- package/dist/{vue-ui-annotator-BnfB4-1v.cjs → vue-ui-annotator-CDnvUWKy.cjs} +1 -1
- package/dist/{vue-ui-annotator-Ae8rLlRh.js → vue-ui-annotator-CH5MDZDG.js} +2 -2
- package/dist/{vue-ui-bullet-CV7t3yQK.js → vue-ui-bullet-DVd_q5Un.js} +8 -8
- package/dist/{vue-ui-bullet-D3wD3j73.cjs → vue-ui-bullet-Dd3zjxP1.cjs} +1 -1
- package/dist/{vue-ui-candlestick-ylYUQUkS.js → vue-ui-candlestick-CxP2KPB8.js} +11 -11
- package/dist/{vue-ui-candlestick-CP-TFhQo.cjs → vue-ui-candlestick-DlXoO49B.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-B5FwZhGC.cjs → vue-ui-carousel-table-CNbutc12.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-B8Yes-sQ.js → vue-ui-carousel-table-DOnU2A0U.js} +4 -4
- package/dist/{vue-ui-chestnut-De2g4Q2p.cjs → vue-ui-chestnut-DhqbQ1sS.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DAskg0cX.js → vue-ui-chestnut-p9hkQsyK.js} +8 -8
- package/dist/{vue-ui-circle-pack-BlKPb01P.js → vue-ui-circle-pack---RzxPp6.js} +9 -9
- package/dist/{vue-ui-circle-pack-BRLoGdmB.cjs → vue-ui-circle-pack-B3W2Y1t8.cjs} +1 -1
- package/dist/{vue-ui-cursor-3vZlEDs4.cjs → vue-ui-cursor-5dWqpQFo.cjs} +1 -1
- package/dist/{vue-ui-cursor-Fw7eOKi1.js → vue-ui-cursor-CglmYKER.js} +2 -2
- package/dist/{vue-ui-dashboard-B_02OPVe.cjs → vue-ui-dashboard-BWOv55Rq.cjs} +1 -1
- package/dist/{vue-ui-dashboard-jeg6HmFh.js → vue-ui-dashboard-Dl0OuKWA.js} +62 -62
- package/dist/{vue-ui-digits-D9COqRtQ.cjs → vue-ui-digits-BOvznf5b.cjs} +1 -1
- package/dist/{vue-ui-digits-1inXKiGc.js → vue-ui-digits-JrJAbiv1.js} +2 -2
- package/dist/{vue-ui-donut-evolution-CwGD6UCG.js → vue-ui-donut-evolution-BeFnRUkD.js} +11 -11
- package/dist/{vue-ui-donut-evolution-t8NE1QRt.cjs → vue-ui-donut-evolution-C01vP_bJ.cjs} +1 -1
- package/dist/{vue-ui-donut-B4HiTFOD.js → vue-ui-donut-l56OERlb.js} +12 -12
- package/dist/{vue-ui-donut-snJ23_B8.cjs → vue-ui-donut-sN_2gTJP.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DdFlUsZF.js → vue-ui-dumbbell-6i03Kc-b.js} +10 -10
- package/dist/{vue-ui-dumbbell-BItso2iE.cjs → vue-ui-dumbbell-CUe41gOr.cjs} +1 -1
- package/dist/{vue-ui-flow-CR-74ZdV.js → vue-ui-flow-CbufmJJA.js} +9 -9
- package/dist/{vue-ui-flow-DZrVpkqa.cjs → vue-ui-flow-Ck5SOd1u.cjs} +1 -1
- package/dist/{vue-ui-funnel-P6dph9rO.cjs → vue-ui-funnel-GFfZuzKx.cjs} +1 -1
- package/dist/{vue-ui-funnel-C6Q9kDZj.js → vue-ui-funnel-hwI_EP3E.js} +9 -9
- package/dist/{vue-ui-galaxy-BzfQwtb7.cjs → vue-ui-galaxy-CZLFsZ-H.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CRvj8ew8.js → vue-ui-galaxy-D53mRATC.js} +11 -11
- package/dist/{vue-ui-gauge-CrrDIYlt.js → vue-ui-gauge-CGYibwq2.js} +7 -7
- package/dist/{vue-ui-gauge-BOmHo3_2.cjs → vue-ui-gauge-DQkS_KRm.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CdBHJhKH.cjs → vue-ui-gizmo-BjqQd4dy.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BjKqctlX.js → vue-ui-gizmo-DSackCMx.js} +3 -3
- package/dist/vue-ui-heatmap-C0A7hdO3.cjs +1 -0
- package/dist/{vue-ui-heatmap-DQZsO55U.js → vue-ui-heatmap-dP-JR5__.js} +195 -190
- package/dist/{vue-ui-history-plot-BwmxWdM2.cjs → vue-ui-history-plot-CiGA7yW6.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DR6KcO-n.js → vue-ui-history-plot-tmASFo_J.js} +11 -11
- package/dist/{vue-ui-kpi-CL1YEty9.cjs → vue-ui-kpi-CIs7-KON.cjs} +1 -1
- package/dist/{vue-ui-kpi-DPbpUZ9S.js → vue-ui-kpi-DRvyo41m.js} +3 -3
- package/dist/{vue-ui-mini-loader-DH6ZNRTg.js → vue-ui-mini-loader-DG07RzCx.js} +2 -2
- package/dist/{vue-ui-mini-loader-sEeyMkrd.cjs → vue-ui-mini-loader-DWqpp3i2.cjs} +1 -1
- package/dist/{vue-ui-molecule-CRnMyuuZ.cjs → vue-ui-molecule-Du_Xk6K3.cjs} +1 -1
- package/dist/{vue-ui-molecule-DLK2q-Oq.js → vue-ui-molecule-Tfp48uxj.js} +11 -11
- package/dist/{vue-ui-mood-radar-W5IVToCL.js → vue-ui-mood-radar-Bk9g5Nb7.js} +11 -11
- package/dist/{vue-ui-mood-radar-lnAFfrjE.cjs → vue-ui-mood-radar-HHIsYVgB.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DtgPU-KX.js → vue-ui-nested-donuts-C4bZMsu7.js} +11 -11
- package/dist/{vue-ui-nested-donuts-CeuU6oEJ.cjs → vue-ui-nested-donuts-CmPyTnt9.cjs} +1 -1
- package/dist/{vue-ui-onion-BeNPgG7G.js → vue-ui-onion-B4sfUuJR.js} +11 -11
- package/dist/{vue-ui-onion-WwdP8EpV.cjs → vue-ui-onion-CAJFRvBG.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Cv68PCn5.cjs → vue-ui-parallel-coordinate-plot-DWjcM8x6.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Ck3SJsIG.js → vue-ui-parallel-coordinate-plot-PoPTvKXt.js} +12 -12
- package/dist/{vue-ui-quadrant-DZ6ybcaY.cjs → vue-ui-quadrant-DNVWkP6Q.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CMkw88lO.js → vue-ui-quadrant-DyWGltEe.js} +12 -12
- package/dist/{vue-ui-quick-chart-Cl6gJp5T.js → vue-ui-quick-chart-DpFle9Th.js} +9 -9
- package/dist/{vue-ui-quick-chart-DJa7vHnr.cjs → vue-ui-quick-chart-jrs7sM-L.cjs} +1 -1
- package/dist/{vue-ui-radar-DJQ9V5u3.cjs → vue-ui-radar-DlJcEKBT.cjs} +1 -1
- package/dist/{vue-ui-radar-D18-CVYt.js → vue-ui-radar-uGd1724l.js} +12 -12
- package/dist/{vue-ui-rating-DJ8riM4Y.cjs → vue-ui-rating-DyT2cuTa.cjs} +1 -1
- package/dist/{vue-ui-rating-4aeU2wx4.js → vue-ui-rating-zlL_fohp.js} +2 -2
- package/dist/{vue-ui-relation-circle-D5fbkhA5.js → vue-ui-relation-circle-BSJWSSj3.js} +7 -7
- package/dist/{vue-ui-relation-circle-CNmTYbJn.cjs → vue-ui-relation-circle-C_mwuWBA.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-DcP5wra6.cjs → vue-ui-ridgeline-Itzed46M.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-DYu8Ye38.js → vue-ui-ridgeline-huB4GUmG.js} +12 -12
- package/dist/{vue-ui-rings-BVR1q--q.js → vue-ui-rings-DdxMJYrC.js} +12 -12
- package/dist/{vue-ui-rings-CLex25i0.cjs → vue-ui-rings-OmEU3StJ.cjs} +1 -1
- package/dist/{vue-ui-scatter-1nnDmU8p.js → vue-ui-scatter-BMr3eo6N.js} +12 -12
- package/dist/{vue-ui-scatter-CSsBerNk.cjs → vue-ui-scatter-vvzbobaJ.cjs} +1 -1
- package/dist/{vue-ui-skeleton-3odYNTi5.cjs → vue-ui-skeleton-DO7G5Y5g.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BTg31tSs.js → vue-ui-skeleton-JA0W8tXn.js} +3 -3
- package/dist/{vue-ui-smiley-DAbOc9Sm.cjs → vue-ui-smiley-BO0MFGFu.cjs} +1 -1
- package/dist/{vue-ui-smiley-BIzjWlLm.js → vue-ui-smiley-CIw8667G.js} +2 -2
- package/dist/{vue-ui-spark-trend-CFYnfyEb.js → vue-ui-spark-trend-C1DXyadL.js} +5 -5
- package/dist/{vue-ui-spark-trend-CRKk0fMc.cjs → vue-ui-spark-trend-CuQH76Jo.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-V1FyDpDn.js → vue-ui-sparkbar-BmhE-99J.js} +4 -4
- package/dist/{vue-ui-sparkbar-CCZDQYle.cjs → vue-ui-sparkbar-kvbWgfWC.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CrirH2LX.cjs → vue-ui-sparkgauge-BbxVytfF.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-MgywKNqC.js → vue-ui-sparkgauge-CYJpGB9W.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-U__aSGYT.cjs → vue-ui-sparkhistogram-DPwQshte.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CwBviGI7.js → vue-ui-sparkhistogram-jt13-xyA.js} +5 -5
- package/dist/{vue-ui-sparkline-BHiVgcfL.cjs → vue-ui-sparkline-DzFmdpXy.cjs} +1 -1
- package/dist/{vue-ui-sparkline-D3v5ydDD.js → vue-ui-sparkline-EaNvjpb9.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-BrBQ2Vby.cjs → vue-ui-sparkstackbar-BIfIWVD6.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar--tnnBrOu.js → vue-ui-sparkstackbar-D20-H_RH.js} +5 -5
- package/dist/{vue-ui-stackbar-D7htqdCz.cjs → vue-ui-stackbar-BlQFS50f.cjs} +1 -1
- package/dist/{vue-ui-stackbar-C-dJRiXT.js → vue-ui-stackbar-IfVjvxly.js} +13 -13
- package/dist/{vue-ui-strip-plot-B-Mc-qGK.js → vue-ui-strip-plot-C0JJwLZs.js} +11 -11
- package/dist/{vue-ui-strip-plot-hNrBW3SU.cjs → vue-ui-strip-plot-Cj7pyIjv.cjs} +1 -1
- package/dist/{vue-ui-table-ByDKzqNM.cjs → vue-ui-table-DtRcQV5j.cjs} +1 -1
- package/dist/{vue-ui-table-CQp16PNe.js → vue-ui-table-Dv15sJ0a.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BNl4iQhq.js → vue-ui-table-heatmap-2yiRD9Ye.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DaEPU0kc.cjs → vue-ui-table-heatmap-BPbQGrNC.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-lTHfuO-u.js → vue-ui-table-sparkline-DLmFiLHF.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BgV9zEpQ.cjs → vue-ui-table-sparkline-DYRqyIVx.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BN6Hyr3r.js → vue-ui-thermometer-DLCjJe6v.js} +7 -7
- package/dist/{vue-ui-thermometer-HB6BdSZ7.cjs → vue-ui-thermometer-gL74aWA3.cjs} +1 -1
- package/dist/{vue-ui-timer-6NZga1VA.cjs → vue-ui-timer-BIk_79G3.cjs} +1 -1
- package/dist/{vue-ui-timer-DpIbKhWx.js → vue-ui-timer-C7-qvY5L.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bssfpj2T.cjs → vue-ui-tiremarks-1_fqbLdG.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BDlFLwmy.js → vue-ui-tiremarks-BxAQR-XE.js} +7 -7
- package/dist/{vue-ui-treemap-CSEqsnF6.js → vue-ui-treemap-DQD2Xuuh.js} +12 -12
- package/dist/{vue-ui-treemap-X9VKUYSw.cjs → vue-ui-treemap-DRyEb-BU.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Bv35bg1C.cjs → vue-ui-vertical-bar-BJel3_6V.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-SgM2OnqX.js → vue-ui-vertical-bar-BaIRmMNm.js} +12 -12
- package/dist/{vue-ui-waffle-C1L34KiX.cjs → vue-ui-waffle-DeOPUPQx.cjs} +1 -1
- package/dist/{vue-ui-waffle-CPwuaVId.js → vue-ui-waffle-DkvyTGgQ.js} +12 -12
- package/dist/{vue-ui-wheel-D2HqXb2O.cjs → vue-ui-wheel-CG5T2hIG.cjs} +1 -1
- package/dist/{vue-ui-wheel-DbNXTA9I.js → vue-ui-wheel-YF9GWFaZ.js} +7 -7
- package/dist/{vue-ui-word-cloud-Cmm3wp39.cjs → vue-ui-word-cloud-BuZu35M3.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-B7VTWsl2.js → vue-ui-word-cloud-_D3SXGDc.js} +10 -10
- package/dist/{vue-ui-world-51vUWrqr.js → vue-ui-world-DZED00QY.js} +11 -11
- package/dist/{vue-ui-world-Bi32aYtK.cjs → vue-ui-world-Dfe3q7_e.cjs} +1 -1
- package/dist/{vue-ui-xy-BxJgh4xL.cjs → vue-ui-xy-BWkU6RgD.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DsZxaeOo.js → vue-ui-xy-canvas-CQaxl6Cr.js} +12 -12
- package/dist/{vue-ui-xy-canvas-DbS90DFy.cjs → vue-ui-xy-canvas-OMHgq4d8.cjs} +1 -1
- package/dist/{vue-ui-xy-D1O0m03x.js → vue-ui-xy-g8d2AKdu.js} +16 -16
- package/package.json +1 -1
- package/dist/PackageVersion-B6hD3Tku.cjs +0 -1
- package/dist/vue-ui-heatmap-CfeV2PVZ.cjs +0 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { u as ze } from "./useNestedProp-
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
1
|
+
import { useCssVars as Ue, computed as f, ref as b, watch as Te, onMounted as Ye, createElementBlock as i, openBlock as o, unref as r, normalizeStyle as T, normalizeClass as Q, createBlock as H, createCommentVNode as c, createVNode as ie, createSlots as He, withCtx as A, renderSlot as m, normalizeProps as R, guardReactiveProps as X, Fragment as _, renderList as z, createElementVNode as v, toDisplayString as x, withKeys as je, createTextVNode as We, nextTick as qe } from "vue";
|
|
2
|
+
import { u as Ke, o as Je, e as Ae, c as re, a as Qe, C as Ze, N as j, g as el, X as ll, G as ve, i as O, f as M, v as N, q as tl, r as al, x as ol, y as sl } from "./index-gaj0gmhW.js";
|
|
3
|
+
import { _ as ul } from "./Title-DmYM5yAv.js";
|
|
4
|
+
import { u as nl, U as il } from "./usePrinter-BAF6jSop.js";
|
|
5
|
+
import { _ as rl } from "./Tooltip-jO3E09l_.js";
|
|
6
|
+
import vl from "./vue-ui-skeleton-JA0W8tXn.js";
|
|
7
|
+
import yl from "./BaseIcon-DOAYHMqC.js";
|
|
8
|
+
import dl from "./vue-ui-accordion-DiPdvaEC.js";
|
|
9
|
+
import { u as ze } from "./useNestedProp-R77oENB4.js";
|
|
10
|
+
import { _ as cl } from "./PackageVersion-DfvwvFMQ.js";
|
|
11
|
+
import { _ as hl } from "./PenAndPaper-Hpxqpf-9.js";
|
|
12
|
+
import { u as gl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
|
+
import { u as pl } from "./useChartAccessibility-BWojgys7.js";
|
|
14
|
+
import { _ as fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const bl = ["id"], ml = {
|
|
16
16
|
key: 2,
|
|
17
17
|
style: "width:100%;background:transparent"
|
|
18
|
-
},
|
|
18
|
+
}, xl = ["xmlns", "viewBox"], wl = ["width", "height"], kl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], _l = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], $l = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Cl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ll = ["font-size", "font-weight", "fill", "x", "y"], Tl = ["x", "y", "width", "height", "onMouseover", "onClick"], Al = { key: 0 }, zl = ["font-size", "fill", "x", "y", "font-weight"], Ml = ["font-size", "fill", "x", "y", "font-weight"], Sl = { key: 1 }, Ol = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Nl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Vl = { key: 2 }, Fl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Il = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Pl = { key: 4 }, Rl = ["x", "y", "width", "height", "stroke", "stroke-width"], Xl = { key: 5 }, Bl = ["id"], Dl = ["stop-color"], El = ["stop-color"], Gl = ["x", "y", "font-size", "fill"], Ul = ["x", "y", "height", "rx", "fill"], Yl = ["x", "y", "font-size", "fill"], Hl = ["stroke", "x1", "x2", "y1", "y2"], jl = ["fill", "d"], Wl = { key: 6 }, ql = {
|
|
19
19
|
id: "colorScaleHorizontal",
|
|
20
20
|
x1: "0%",
|
|
21
21
|
x2: "100%",
|
|
22
22
|
y1: "0%",
|
|
23
23
|
y2: "0%"
|
|
24
|
-
},
|
|
24
|
+
}, Kl = ["stop-color"], Jl = ["stop-color"], Ql = ["x", "y", "width", "height", "rx"], Zl = ["x", "y", "font-size", "fill"], et = ["x", "y", "font-size", "fill"], lt = ["stroke", "x1", "x2", "y1", "y2"], tt = ["fill", "d"], at = {
|
|
25
25
|
key: 5,
|
|
26
26
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
27
|
+
}, ot = {
|
|
28
28
|
key: 6,
|
|
29
29
|
ref: "source",
|
|
30
30
|
dir: "auto"
|
|
31
|
-
},
|
|
31
|
+
}, st = { class: "vue-ui-data-table" }, ut = { key: 0 }, nt = ["data-cell"], it = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, rt = ["data-cell"], vt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, yt = {
|
|
32
32
|
__name: "vue-ui-heatmap",
|
|
33
33
|
props: {
|
|
34
34
|
config: {
|
|
@@ -44,57 +44,58 @@ const gl = ["id"], pl = {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
emits: ["selectDatapoint"],
|
|
48
|
+
setup(B, { expose: Me, emit: Se }) {
|
|
49
|
+
Ue((l) => ({
|
|
50
|
+
"6b84a214": l.tdo
|
|
50
51
|
}));
|
|
51
|
-
const { vue_ui_heatmap:
|
|
52
|
-
|
|
52
|
+
const { vue_ui_heatmap: Oe } = Ke(), y = B, Ne = Se, W = f(() => !!y.dataset && y.dataset.length);
|
|
53
|
+
Je(y.dataset) && Ae({
|
|
53
54
|
componentName: "VueUiHeatmap",
|
|
54
55
|
type: "dataset"
|
|
55
56
|
});
|
|
56
|
-
const
|
|
57
|
+
const D = b(re()), Z = b(null), Ve = b(null), ee = b(!1), le = b(""), ye = b(void 0), E = b(null), de = b(0), ce = b(null), Fe = b(null), he = b(!1), ge = b(0), e = f({
|
|
57
58
|
get: () => me(),
|
|
58
59
|
set: (l) => l
|
|
59
|
-
}), { userOptionsVisible: te, setUserOptionsVisibility: pe, keepUserOptionState: fe } =
|
|
60
|
+
}), { userOptionsVisible: te, setUserOptionsVisibility: pe, keepUserOptionState: fe } = gl({ config: e.value }), { svgRef: be } = pl({ config: e.value.style.title });
|
|
60
61
|
function me() {
|
|
61
62
|
const l = ze({
|
|
62
63
|
userConfig: y.config,
|
|
63
|
-
defaultConfig:
|
|
64
|
+
defaultConfig: Oe
|
|
64
65
|
});
|
|
65
66
|
let s = {};
|
|
66
67
|
return l.theme ? s = {
|
|
67
68
|
...ze({
|
|
68
|
-
userConfig:
|
|
69
|
+
userConfig: Qe.vue_ui_heatmap[l.theme] || y.config,
|
|
69
70
|
defaultConfig: l
|
|
70
71
|
})
|
|
71
|
-
} : s = l, y.config &&
|
|
72
|
+
} : s = l, y.config && Ze(y.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = y.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
|
|
72
73
|
}
|
|
73
74
|
Te(() => y.config, (l) => {
|
|
74
75
|
e.value = me(), te.value = !e.value.userOptions.showOnChartHover, ae(), ge.value += 1, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.tooltip.show;
|
|
75
76
|
}, { deep: !0 }), Te(() => y.dataset, () => {
|
|
76
77
|
ae();
|
|
77
78
|
}, { deep: !0 });
|
|
78
|
-
const { isPrinting: xe, isImaging: we, generatePdf: ke, generateImage: _e } =
|
|
79
|
-
elementId: `heatmap__${
|
|
79
|
+
const { isPrinting: xe, isImaging: we, generatePdf: ke, generateImage: _e } = nl({
|
|
80
|
+
elementId: `heatmap__${D.value}`,
|
|
80
81
|
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
81
82
|
options: e.value.userOptions.print
|
|
82
|
-
}),
|
|
83
|
+
}), Ie = f(() => e.value.userOptions.show && !e.value.style.title.text), $ = b({
|
|
83
84
|
showTable: e.value.table.show,
|
|
84
85
|
showTooltip: e.value.style.tooltip.show
|
|
85
|
-
}),
|
|
86
|
-
function
|
|
86
|
+
}), Pe = f(() => e.value.table.responsiveBreakpoint);
|
|
87
|
+
function Re() {
|
|
87
88
|
new ResizeObserver((s) => {
|
|
88
89
|
s.forEach((n) => {
|
|
89
|
-
he.value = n.contentRect.width <
|
|
90
|
+
he.value = n.contentRect.width < Pe.value;
|
|
90
91
|
});
|
|
91
92
|
}).observe(ce.value);
|
|
92
93
|
}
|
|
93
|
-
|
|
94
|
+
Ye(ae);
|
|
94
95
|
function ae() {
|
|
95
|
-
|
|
96
|
+
Re();
|
|
96
97
|
}
|
|
97
|
-
const V = f(() => Math.max(...y.dataset.flatMap((l) => (l.values || []).length))),
|
|
98
|
+
const V = f(() => Math.max(...y.dataset.flatMap((l) => (l.values || []).length))), C = f(() => {
|
|
98
99
|
const l = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + y.dataset.length * e.value.style.layout.cells.height, s = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (V.value < y.dataset.length ? y.dataset.length : V.value) * e.value.style.layout.cells.height, n = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
99
100
|
return {
|
|
100
101
|
height: l,
|
|
@@ -104,18 +105,18 @@ const gl = ["id"], pl = {
|
|
|
104
105
|
}), q = f(() => e.value.style.legend.position), t = f(() => ({
|
|
105
106
|
top: e.value.style.layout.padding.top,
|
|
106
107
|
left: e.value.style.layout.padding.left,
|
|
107
|
-
right:
|
|
108
|
-
bottom:
|
|
109
|
-
height:
|
|
110
|
-
width:
|
|
111
|
-
})), oe = f(() => a.value.height * y.dataset.length),
|
|
108
|
+
right: C.value.width - e.value.style.layout.padding.right - (q.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
109
|
+
bottom: C.value.height - e.value.style.layout.padding.bottom,
|
|
110
|
+
height: C.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
111
|
+
width: C.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (q.value === "right" && e.value.style.legend.show ? 92 : 0)
|
|
112
|
+
})), oe = f(() => a.value.height * y.dataset.length), L = f(() => Math.max(...y.dataset.flatMap((l) => l.values))), F = f(() => Math.min(...y.dataset.flatMap((l) => l.values))), I = f(() => {
|
|
112
113
|
const l = y.dataset.flatMap((n) => n.values);
|
|
113
114
|
return l.reduce((n, u) => n + u, 0) / l.length;
|
|
114
115
|
}), a = f(() => ({
|
|
115
116
|
width: t.value.width / V.value,
|
|
116
117
|
height: t.value.width / (V.value < y.dataset.length ? y.dataset.length : V.value)
|
|
117
118
|
})), g = f(() => {
|
|
118
|
-
const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((h) => h.name), s = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((h) => h.values.reduce((w, ne) => w + ne, 0)), u = Math.max(...n),
|
|
119
|
+
const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((h) => h.name), s = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((h) => h.values.reduce((w, ne) => w + ne, 0)), u = Math.max(...n), d = Math.min(...n), p = [];
|
|
119
120
|
for (let h = 0; h < V.value; h += 1)
|
|
120
121
|
p.push(y.dataset.map((w) => w.values[h] || 0).reduce((w, ne) => w + ne, 0));
|
|
121
122
|
const k = Math.max(...p), ue = Math.min(...p);
|
|
@@ -125,7 +126,7 @@ const gl = ["id"], pl = {
|
|
|
125
126
|
return {
|
|
126
127
|
total: h,
|
|
127
128
|
proportion: w,
|
|
128
|
-
color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot,
|
|
129
|
+
color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, d, u, h)
|
|
129
130
|
};
|
|
130
131
|
}),
|
|
131
132
|
xTotals: p.map((h) => {
|
|
@@ -140,7 +141,7 @@ const gl = ["id"], pl = {
|
|
|
140
141
|
xLabels: s.slice(0, V.value)
|
|
141
142
|
};
|
|
142
143
|
}), K = f(() => (y.dataset.forEach((l, s) => {
|
|
143
|
-
|
|
144
|
+
el({
|
|
144
145
|
datasetObject: l,
|
|
145
146
|
requiredAttributes: ["values"]
|
|
146
147
|
}).forEach((n) => {
|
|
@@ -155,8 +156,8 @@ const gl = ["id"], pl = {
|
|
|
155
156
|
...l,
|
|
156
157
|
temperatures: (l.values || []).map((s, n) => s >= I.value ? {
|
|
157
158
|
side: "up",
|
|
158
|
-
color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value,
|
|
159
|
-
ratio: Math.abs(Math.abs(s - I.value) / Math.abs(
|
|
159
|
+
color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, s),
|
|
160
|
+
ratio: Math.abs(Math.abs(s - I.value) / Math.abs(L.value - I.value)) > 1 ? 1 : Math.abs(Math.abs(s - I.value) / Math.abs(L.value - I.value)),
|
|
160
161
|
value: s,
|
|
161
162
|
yAxisName: l.name,
|
|
162
163
|
xAxisName: g.value.xLabels[n],
|
|
@@ -164,17 +165,17 @@ const gl = ["id"], pl = {
|
|
|
164
165
|
} : {
|
|
165
166
|
side: "down",
|
|
166
167
|
ratio: Math.abs(1 - Math.abs(s) / Math.abs(I.value)) > 1 ? 1 : Math.abs(1 - Math.abs(s) / Math.abs(I.value)),
|
|
167
|
-
color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value,
|
|
168
|
+
color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, s),
|
|
168
169
|
value: s,
|
|
169
170
|
yAxisName: l.name,
|
|
170
171
|
xAxisName: g.value.xLabels[n],
|
|
171
172
|
id: `vue-data-ui-heatmap-cell-${re()}`
|
|
172
173
|
})
|
|
173
|
-
})))), S = b(null),
|
|
174
|
-
function
|
|
175
|
-
|
|
176
|
-
const { value:
|
|
177
|
-
ye.value = ue, S.value =
|
|
174
|
+
})))), S = b(null), G = b(null);
|
|
175
|
+
function Xe(l, s, n, u) {
|
|
176
|
+
E.value = { x: n, y: u };
|
|
177
|
+
const { value: d, yAxisName: p, xAxisName: k, id: ue } = l;
|
|
178
|
+
ye.value = ue, S.value = d, G.value = {
|
|
178
179
|
datapoint: l,
|
|
179
180
|
seriesIndex: s,
|
|
180
181
|
series: K.value,
|
|
@@ -182,7 +183,7 @@ const gl = ["id"], pl = {
|
|
|
182
183
|
}, ee.value = !0;
|
|
183
184
|
let h = "";
|
|
184
185
|
const w = e.value.style.tooltip.customFormat;
|
|
185
|
-
|
|
186
|
+
ol(w) && sl(() => w({
|
|
186
187
|
datapoint: l,
|
|
187
188
|
seriesIndex: s,
|
|
188
189
|
series: K.value,
|
|
@@ -192,20 +193,20 @@ const gl = ["id"], pl = {
|
|
|
192
193
|
seriesIndex: s,
|
|
193
194
|
series: K.value,
|
|
194
195
|
config: e.value
|
|
195
|
-
}) : (h += `<div>${p} ${k ? `${k}` : ""}</div>`, h += `<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:${j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value,
|
|
196
|
+
}) : (h += `<div>${p} ${k ? `${k}` : ""}</div>`, h += `<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:${j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, d)}">⬤</span><span>${isNaN(d) ? "-" : O(
|
|
196
197
|
e.value.style.layout.cells.value.formatter,
|
|
197
|
-
|
|
198
|
+
d,
|
|
198
199
|
M({
|
|
199
200
|
p: e.value.style.layout.dataLabels.prefix,
|
|
200
|
-
v:
|
|
201
|
+
v: d,
|
|
201
202
|
s: e.value.style.layout.dataLabels.suffix,
|
|
202
203
|
r: e.value.style.tooltip.roundingValue
|
|
203
204
|
}),
|
|
204
205
|
{ datapoint: l, seriesIndex: s }
|
|
205
206
|
)}</span></div>`, le.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
|
|
206
207
|
}
|
|
207
|
-
const
|
|
208
|
-
function
|
|
208
|
+
const U = f(() => t.value.top + oe.value * (1 - S.value / L.value)), Y = f(() => t.value.left + (C.value.width - t.value.left - e.value.style.layout.padding.right) * (S.value / L.value));
|
|
209
|
+
function Be(l) {
|
|
209
210
|
return O(
|
|
210
211
|
e.value.style.layout.cells.value.formatter,
|
|
211
212
|
g.value.yTotals[l].total,
|
|
@@ -218,7 +219,7 @@ const gl = ["id"], pl = {
|
|
|
218
219
|
{ datapoint: g.value.yTotals[l], rowIndex: l }
|
|
219
220
|
);
|
|
220
221
|
}
|
|
221
|
-
function
|
|
222
|
+
function De(l) {
|
|
222
223
|
return O(
|
|
223
224
|
e.value.style.layout.cells.value.formatter,
|
|
224
225
|
g.value.xTotals[l].total,
|
|
@@ -238,65 +239,68 @@ const gl = ["id"], pl = {
|
|
|
238
239
|
return { head: l, body: s };
|
|
239
240
|
});
|
|
240
241
|
function $e() {
|
|
241
|
-
|
|
242
|
-
const l = ["", ...y.dataset.map((
|
|
243
|
-
for (let
|
|
244
|
-
const p = [g.value.xLabels[
|
|
242
|
+
qe(() => {
|
|
243
|
+
const l = ["", ...y.dataset.map((d, p) => d.name)], s = [];
|
|
244
|
+
for (let d = 0; d < g.value.xLabels.length; d += 1) {
|
|
245
|
+
const p = [g.value.xLabels[d]];
|
|
245
246
|
for (let k = 0; k < y.dataset.length; k += 1)
|
|
246
|
-
p.push([y.dataset[k].values[
|
|
247
|
+
p.push([y.dataset[k].values[d]]);
|
|
247
248
|
s.push(p);
|
|
248
249
|
}
|
|
249
|
-
const n = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(s), u =
|
|
250
|
-
|
|
250
|
+
const n = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(s), u = tl(n);
|
|
251
|
+
al({ csvContent: u, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
251
252
|
});
|
|
252
253
|
}
|
|
253
254
|
const P = b(!1);
|
|
254
|
-
function
|
|
255
|
+
function Ee(l) {
|
|
255
256
|
P.value = l, de.value += 1;
|
|
256
257
|
}
|
|
257
|
-
function
|
|
258
|
+
function Ce() {
|
|
258
259
|
$.value.showTable = !$.value.showTable;
|
|
259
260
|
}
|
|
260
|
-
function
|
|
261
|
+
function Le() {
|
|
261
262
|
$.value.showTooltip = !$.value.showTooltip;
|
|
262
263
|
}
|
|
263
264
|
const J = b(!1);
|
|
264
265
|
function se() {
|
|
265
266
|
J.value = !J.value;
|
|
266
267
|
}
|
|
268
|
+
function Ge(l) {
|
|
269
|
+
Ne("selectDatapoint", l);
|
|
270
|
+
}
|
|
267
271
|
return Me({
|
|
268
272
|
generatePdf: ke,
|
|
269
273
|
generateCsv: $e,
|
|
270
274
|
generateImage: _e,
|
|
271
|
-
toggleTable:
|
|
272
|
-
toggleTooltip:
|
|
275
|
+
toggleTable: Ce,
|
|
276
|
+
toggleTooltip: Le,
|
|
273
277
|
toggleAnnotator: se
|
|
274
278
|
}), (l, s) => (o(), i("div", {
|
|
275
279
|
ref_key: "heatmapChart",
|
|
276
280
|
ref: Z,
|
|
277
281
|
class: Q(`vue-ui-heatmap ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
278
282
|
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
|
|
279
|
-
id: `heatmap__${
|
|
283
|
+
id: `heatmap__${D.value}`,
|
|
280
284
|
onMouseenter: s[3] || (s[3] = () => r(pe)(!0)),
|
|
281
285
|
onMouseleave: s[4] || (s[4] = () => r(pe)(!1))
|
|
282
286
|
}, [
|
|
283
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
287
|
+
e.value.userOptions.buttons.annotator ? (o(), H(hl, {
|
|
284
288
|
key: 0,
|
|
285
289
|
svgRef: r(be),
|
|
286
290
|
backgroundColor: e.value.style.backgroundColor,
|
|
287
291
|
color: e.value.style.color,
|
|
288
292
|
active: J.value,
|
|
289
293
|
onClose: se
|
|
290
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
291
|
-
|
|
294
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
295
|
+
Ie.value ? (o(), i("div", {
|
|
292
296
|
key: 1,
|
|
293
297
|
ref_key: "noTitle",
|
|
294
|
-
ref:
|
|
298
|
+
ref: Fe,
|
|
295
299
|
class: "vue-data-ui-no-title-space",
|
|
296
300
|
style: "height:36px; width: 100%;background:transparent"
|
|
297
|
-
}, null, 512)) :
|
|
298
|
-
e.value.style.title.text ? (o(), i("div",
|
|
299
|
-
(o(),
|
|
301
|
+
}, null, 512)) : c("", !0),
|
|
302
|
+
e.value.style.title.text ? (o(), i("div", ml, [
|
|
303
|
+
(o(), H(ul, {
|
|
300
304
|
key: `title_${ge.value}`,
|
|
301
305
|
config: {
|
|
302
306
|
title: {
|
|
@@ -309,16 +313,16 @@ const gl = ["id"], pl = {
|
|
|
309
313
|
}
|
|
310
314
|
}
|
|
311
315
|
}, null, 8, ["config"]))
|
|
312
|
-
])) :
|
|
313
|
-
e.value.userOptions.show && W.value && (r(fe) || r(te)) ? (o(),
|
|
316
|
+
])) : c("", !0),
|
|
317
|
+
e.value.userOptions.show && W.value && (r(fe) || r(te)) ? (o(), H(il, {
|
|
314
318
|
ref_key: "details",
|
|
315
|
-
ref:
|
|
319
|
+
ref: Ve,
|
|
316
320
|
key: `user_options_${de.value}`,
|
|
317
321
|
backgroundColor: e.value.style.backgroundColor,
|
|
318
322
|
color: e.value.style.color,
|
|
319
323
|
isImaging: r(we),
|
|
320
324
|
isPrinting: r(xe),
|
|
321
|
-
uid:
|
|
325
|
+
uid: D.value,
|
|
322
326
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
323
327
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
324
328
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -332,17 +336,17 @@ const gl = ["id"], pl = {
|
|
|
332
336
|
position: e.value.userOptions.position,
|
|
333
337
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
334
338
|
isAnnotation: J.value,
|
|
335
|
-
onToggleFullscreen:
|
|
339
|
+
onToggleFullscreen: Ee,
|
|
336
340
|
onGeneratePdf: r(ke),
|
|
337
341
|
onGenerateCsv: $e,
|
|
338
342
|
onGenerateImage: r(_e),
|
|
339
|
-
onToggleTable:
|
|
340
|
-
onToggleTooltip:
|
|
343
|
+
onToggleTable: Ce,
|
|
344
|
+
onToggleTooltip: Le,
|
|
341
345
|
onToggleAnnotator: se,
|
|
342
346
|
style: T({
|
|
343
347
|
visibility: r(fe) ? r(te) ? "visible" : "hidden" : "visible"
|
|
344
348
|
})
|
|
345
|
-
},
|
|
349
|
+
}, He({ _: 2 }, [
|
|
346
350
|
l.$slots.menuIcon ? {
|
|
347
351
|
name: "menuIcon",
|
|
348
352
|
fn: A(({ isOpen: n, color: u }) => [
|
|
@@ -399,29 +403,29 @@ const gl = ["id"], pl = {
|
|
|
399
403
|
]),
|
|
400
404
|
key: "7"
|
|
401
405
|
} : void 0
|
|
402
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
406
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
403
407
|
W.value ? (o(), i("svg", {
|
|
404
408
|
key: 4,
|
|
405
409
|
ref_key: "svgRef",
|
|
406
410
|
ref: be,
|
|
407
|
-
xmlns: r(
|
|
411
|
+
xmlns: r(ll),
|
|
408
412
|
class: Q({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
409
|
-
viewBox: `0 0 ${
|
|
413
|
+
viewBox: `0 0 ${C.value.width} ${C.value.heightWithLegend}`,
|
|
410
414
|
style: T(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
411
415
|
}, [
|
|
412
|
-
ie(
|
|
416
|
+
ie(cl),
|
|
413
417
|
l.$slots["chart-background"] ? (o(), i("foreignObject", {
|
|
414
418
|
key: 0,
|
|
415
419
|
x: 0,
|
|
416
420
|
y: 0,
|
|
417
|
-
width:
|
|
418
|
-
height:
|
|
421
|
+
width: C.value.width,
|
|
422
|
+
height: C.value.heightWithLegend,
|
|
419
423
|
style: {
|
|
420
424
|
pointerEvents: "none"
|
|
421
425
|
}
|
|
422
426
|
}, [
|
|
423
427
|
m(l.$slots, "chart-background", {}, void 0, !0)
|
|
424
|
-
], 8,
|
|
428
|
+
], 8, wl)) : c("", !0),
|
|
425
429
|
e.value.style.layout.cells.columnTotal.color.show ? (o(), i(_, { key: 1 }, [
|
|
426
430
|
(o(!0), i(_, null, z(g.value.xTotals, (n, u) => (o(), i("rect", {
|
|
427
431
|
x: t.value.left + a.value.width * u + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
@@ -431,7 +435,7 @@ const gl = ["id"], pl = {
|
|
|
431
435
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
432
436
|
stroke: e.value.style.backgroundColor,
|
|
433
437
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
434
|
-
}, null, 8,
|
|
438
|
+
}, null, 8, kl))), 256)),
|
|
435
439
|
(o(!0), i(_, null, z(g.value.xTotals, (n, u) => (o(), i("rect", {
|
|
436
440
|
x: t.value.left + a.value.width * u + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
437
441
|
y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
|
|
@@ -440,10 +444,10 @@ const gl = ["id"], pl = {
|
|
|
440
444
|
fill: n.color,
|
|
441
445
|
stroke: e.value.style.backgroundColor,
|
|
442
446
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
443
|
-
}, null, 8,
|
|
444
|
-
], 64)) :
|
|
447
|
+
}, null, 8, _l))), 256))
|
|
448
|
+
], 64)) : c("", !0),
|
|
445
449
|
(o(!0), i(_, null, z(K.value, (n, u) => (o(), i("g", null, [
|
|
446
|
-
(o(!0), i(_, null, z(n.temperatures, (
|
|
450
|
+
(o(!0), i(_, null, z(n.temperatures, (d, p) => (o(), i("g", null, [
|
|
447
451
|
v("rect", {
|
|
448
452
|
x: t.value.left + a.value.width * p + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
449
453
|
y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
|
|
@@ -452,37 +456,37 @@ const gl = ["id"], pl = {
|
|
|
452
456
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
453
457
|
stroke: e.value.style.backgroundColor,
|
|
454
458
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
455
|
-
}, null, 8,
|
|
459
|
+
}, null, 8, $l),
|
|
456
460
|
v("rect", {
|
|
457
461
|
x: t.value.left + a.value.width * p + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
458
462
|
y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
|
|
459
463
|
width: a.value.width - e.value.style.layout.cells.spacing,
|
|
460
464
|
height: a.value.height - e.value.style.layout.cells.spacing,
|
|
461
|
-
fill:
|
|
465
|
+
fill: d.color,
|
|
462
466
|
stroke: e.value.style.backgroundColor,
|
|
463
467
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
464
|
-
}, null, 8,
|
|
468
|
+
}, null, 8, Cl),
|
|
465
469
|
e.value.style.layout.cells.value.show ? (o(), i("text", {
|
|
466
470
|
key: 0,
|
|
467
471
|
"text-anchor": "middle",
|
|
468
472
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
469
473
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
470
|
-
fill: r(ve)(
|
|
474
|
+
fill: r(ve)(d.color),
|
|
471
475
|
x: t.value.left + a.value.width * p + a.value.width / 2 + +(e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
472
476
|
y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
473
477
|
}, x(r(O)(
|
|
474
478
|
e.value.style.layout.cells.value.formatter,
|
|
475
|
-
|
|
479
|
+
d.value,
|
|
476
480
|
r(M)({
|
|
477
481
|
p: e.value.style.layout.dataLabels.prefix,
|
|
478
|
-
v:
|
|
482
|
+
v: d.value,
|
|
479
483
|
s: e.value.style.layout.dataLabels.suffix,
|
|
480
484
|
r: e.value.style.layout.cells.value.roundingValue
|
|
481
485
|
}),
|
|
482
|
-
{ datapoint:
|
|
483
|
-
)), 9,
|
|
486
|
+
{ datapoint: d }
|
|
487
|
+
)), 9, Ll)) : c("", !0)
|
|
484
488
|
]))), 256)),
|
|
485
|
-
(o(!0), i(_, null, z(n.temperatures, (
|
|
489
|
+
(o(!0), i(_, null, z(n.temperatures, (d, p) => (o(), i("g", null, [
|
|
486
490
|
v("rect", {
|
|
487
491
|
x: t.value.left + a.value.width * p + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
488
492
|
y: t.value.top + a.value.height * u,
|
|
@@ -490,13 +494,14 @@ const gl = ["id"], pl = {
|
|
|
490
494
|
height: a.value.height,
|
|
491
495
|
fill: "transparent",
|
|
492
496
|
stroke: "none",
|
|
493
|
-
onMouseover: (k) =>
|
|
497
|
+
onMouseover: (k) => Xe(d, u, t.value.left + a.value.width * p, t.value.top + a.value.height * u),
|
|
494
498
|
onMouseout: s[0] || (s[0] = (k) => {
|
|
495
|
-
ee.value = !1, ye.value = void 0, S.value = null,
|
|
496
|
-
})
|
|
497
|
-
|
|
499
|
+
ee.value = !1, ye.value = void 0, S.value = null, E.value = null;
|
|
500
|
+
}),
|
|
501
|
+
onClick: () => Ge(d)
|
|
502
|
+
}, null, 40, Tl)
|
|
498
503
|
]))), 256)),
|
|
499
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g",
|
|
504
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Al, [
|
|
500
505
|
v("text", {
|
|
501
506
|
class: "vue-ui-heatmap-row-name",
|
|
502
507
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
@@ -505,7 +510,7 @@ const gl = ["id"], pl = {
|
|
|
505
510
|
y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY - (e.value.style.layout.cells.rowTotal.value.show ? e.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
506
511
|
"text-anchor": "end",
|
|
507
512
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
508
|
-
}, x(g.value.yLabels[u]), 9,
|
|
513
|
+
}, x(g.value.yLabels[u]), 9, zl),
|
|
509
514
|
e.value.style.layout.cells.rowTotal.value.show ? (o(), i("text", {
|
|
510
515
|
key: 0,
|
|
511
516
|
class: "vue-ui-heatmap-row-total",
|
|
@@ -515,9 +520,9 @@ const gl = ["id"], pl = {
|
|
|
515
520
|
y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
516
521
|
"text-anchor": "end",
|
|
517
522
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
518
|
-
}, x(
|
|
519
|
-
])) :
|
|
520
|
-
e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g",
|
|
523
|
+
}, x(Be(u)), 9, Ml)) : c("", !0)
|
|
524
|
+
])) : c("", !0),
|
|
525
|
+
e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g", Sl, [
|
|
521
526
|
v("rect", {
|
|
522
527
|
x: t.value.left,
|
|
523
528
|
y: t.value.top + a.value.height * u,
|
|
@@ -526,7 +531,7 @@ const gl = ["id"], pl = {
|
|
|
526
531
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
527
532
|
stroke: e.value.style.backgroundColor,
|
|
528
533
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
529
|
-
}, null, 8,
|
|
534
|
+
}, null, 8, Ol),
|
|
530
535
|
v("rect", {
|
|
531
536
|
x: t.value.left,
|
|
532
537
|
y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
|
|
@@ -535,10 +540,10 @@ const gl = ["id"], pl = {
|
|
|
535
540
|
fill: g.value.yTotals[u].color,
|
|
536
541
|
stroke: e.value.style.backgroundColor,
|
|
537
542
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
538
|
-
}, null, 8,
|
|
539
|
-
])) :
|
|
543
|
+
}, null, 8, Nl)
|
|
544
|
+
])) : c("", !0)
|
|
540
545
|
]))), 256)),
|
|
541
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g",
|
|
546
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Vl, [
|
|
542
547
|
(o(!0), i(_, null, z(g.value.xLabels, (n, u) => (o(), i(_, null, [
|
|
543
548
|
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && u % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), i("text", {
|
|
544
549
|
key: 0,
|
|
@@ -548,9 +553,9 @@ const gl = ["id"], pl = {
|
|
|
548
553
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
549
554
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
550
555
|
transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + e.value.style.layout.dataLabels.xAxis.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${t.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6 - (e.value.style.layout.cells.columnTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
551
|
-
}, x(n), 9,
|
|
556
|
+
}, x(n), 9, Fl)) : c("", !0)
|
|
552
557
|
], 64))), 256))
|
|
553
|
-
])) :
|
|
558
|
+
])) : c("", !0),
|
|
554
559
|
e.value.style.layout.cells.columnTotal.value.show ? (o(!0), i(_, { key: 3 }, z(g.value.xLabels, (n, u) => (o(), i("text", {
|
|
555
560
|
class: "vue-ui-heatmap-col-total",
|
|
556
561
|
"text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
@@ -558,36 +563,36 @@ const gl = ["id"], pl = {
|
|
|
558
563
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
559
564
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
560
565
|
transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${(a.value.height + e.value.style.layout.cells.spacing) * (B.dataset.length + 1) + e.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
|
|
561
|
-
}, x(
|
|
562
|
-
|
|
566
|
+
}, x(De(u)), 9, Il))), 256)) : c("", !0),
|
|
567
|
+
E.value ? (o(), i("g", Pl, [
|
|
563
568
|
v("rect", {
|
|
564
569
|
style: { "pointer-events": "none" },
|
|
565
|
-
x:
|
|
566
|
-
y:
|
|
570
|
+
x: E.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
571
|
+
y: E.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
567
572
|
width: a.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
568
573
|
height: a.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
569
574
|
fill: "transparent",
|
|
570
575
|
stroke: e.value.style.layout.cells.selected.color,
|
|
571
576
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
572
577
|
rx: 1
|
|
573
|
-
}, null, 8,
|
|
574
|
-
])) :
|
|
575
|
-
e.value.style.legend.show && q.value === "right" ? (o(), i("g",
|
|
578
|
+
}, null, 8, Rl)
|
|
579
|
+
])) : c("", !0),
|
|
580
|
+
e.value.style.legend.show && q.value === "right" ? (o(), i("g", Xl, [
|
|
576
581
|
v("defs", null, [
|
|
577
582
|
v("linearGradient", {
|
|
578
|
-
id: `colorScaleVertical_${
|
|
583
|
+
id: `colorScaleVertical_${D.value}`,
|
|
579
584
|
x2: "0%",
|
|
580
585
|
y2: "100%"
|
|
581
586
|
}, [
|
|
582
587
|
v("stop", {
|
|
583
588
|
offset: "0%",
|
|
584
589
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
585
|
-
}, null, 8,
|
|
590
|
+
}, null, 8, Dl),
|
|
586
591
|
v("stop", {
|
|
587
592
|
offset: "100%",
|
|
588
593
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
589
|
-
}, null, 8,
|
|
590
|
-
], 8,
|
|
594
|
+
}, null, 8, El)
|
|
595
|
+
], 8, Bl)
|
|
591
596
|
]),
|
|
592
597
|
v("text", {
|
|
593
598
|
x: t.value.right + 36 + 18,
|
|
@@ -597,22 +602,22 @@ const gl = ["id"], pl = {
|
|
|
597
602
|
fill: e.value.style.legend.color
|
|
598
603
|
}, x(r(O)(
|
|
599
604
|
e.value.style.layout.cells.value.formatter,
|
|
600
|
-
r(N)(
|
|
605
|
+
r(N)(L.value),
|
|
601
606
|
r(M)({
|
|
602
607
|
p: e.value.style.layout.dataLabels.prefix,
|
|
603
|
-
v: r(N)(
|
|
608
|
+
v: r(N)(L.value),
|
|
604
609
|
s: e.value.style.layout.dataLabels.suffix,
|
|
605
610
|
r: e.value.style.legend.roundingValue
|
|
606
611
|
})
|
|
607
|
-
)), 9,
|
|
612
|
+
)), 9, Gl),
|
|
608
613
|
v("rect", {
|
|
609
614
|
x: t.value.right + 36,
|
|
610
615
|
y: t.value.top,
|
|
611
616
|
width: 36,
|
|
612
617
|
height: oe.value,
|
|
613
618
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
614
|
-
fill: `url(#colorScaleVertical_${
|
|
615
|
-
}, null, 8,
|
|
619
|
+
fill: `url(#colorScaleVertical_${D.value})`
|
|
620
|
+
}, null, 8, Ul),
|
|
616
621
|
v("text", {
|
|
617
622
|
x: t.value.right + 36 + 18,
|
|
618
623
|
y: t.value.top + oe.value + e.value.style.legend.fontSize * 2.5,
|
|
@@ -628,44 +633,44 @@ const gl = ["id"], pl = {
|
|
|
628
633
|
s: e.value.style.layout.dataLabels.suffix,
|
|
629
634
|
r: e.value.style.legend.roundingValue
|
|
630
635
|
})
|
|
631
|
-
)), 9,
|
|
636
|
+
)), 9, Yl),
|
|
632
637
|
S.value !== null ? (o(), i("line", {
|
|
633
638
|
key: 0,
|
|
634
|
-
stroke: r(ve)(
|
|
639
|
+
stroke: r(ve)(G.value.datapoint.color),
|
|
635
640
|
"stroke-width": "2",
|
|
636
641
|
x1: t.value.right + 36,
|
|
637
642
|
x2: t.value.right + 72,
|
|
638
|
-
y1:
|
|
639
|
-
y2:
|
|
640
|
-
}, null, 8,
|
|
643
|
+
y1: U.value,
|
|
644
|
+
y2: U.value
|
|
645
|
+
}, null, 8, Hl)) : c("", !0),
|
|
641
646
|
S.value !== null ? (o(), i("path", {
|
|
642
647
|
key: 1,
|
|
643
648
|
fill: e.value.style.color,
|
|
644
649
|
stroke: "none",
|
|
645
|
-
d: `M ${t.value.right + 36},${
|
|
646
|
-
}, null, 8,
|
|
647
|
-
])) :
|
|
648
|
-
e.value.style.legend.show && q.value === "bottom" ? (o(), i("g",
|
|
650
|
+
d: `M ${t.value.right + 36},${U.value} ${t.value.right + 26},${U.value - 8} ${t.value.right + 26},${U.value + 8}z`
|
|
651
|
+
}, null, 8, jl)) : c("", !0)
|
|
652
|
+
])) : c("", !0),
|
|
653
|
+
e.value.style.legend.show && q.value === "bottom" ? (o(), i("g", Wl, [
|
|
649
654
|
v("defs", null, [
|
|
650
|
-
v("linearGradient",
|
|
655
|
+
v("linearGradient", ql, [
|
|
651
656
|
v("stop", {
|
|
652
657
|
offset: "0%",
|
|
653
658
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
654
|
-
}, null, 8,
|
|
659
|
+
}, null, 8, Kl),
|
|
655
660
|
v("stop", {
|
|
656
661
|
offset: "100%",
|
|
657
662
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
658
|
-
}, null, 8,
|
|
663
|
+
}, null, 8, Jl)
|
|
659
664
|
])
|
|
660
665
|
]),
|
|
661
666
|
v("rect", {
|
|
662
667
|
x: t.value.left,
|
|
663
668
|
y: t.value.bottom + e.value.style.layout.cells.height,
|
|
664
|
-
width:
|
|
669
|
+
width: C.value.width - t.value.left - e.value.style.layout.padding.right,
|
|
665
670
|
height: e.value.style.layout.cells.height,
|
|
666
671
|
rx: e.value.style.legend.scaleBorderRadius > e.value.style.layout.cells.height / 2 ? e.value.style.layout.cells.height / 2 : e.value.style.legend.scaleBorderRadius,
|
|
667
672
|
fill: "url(#colorScaleHorizontal)"
|
|
668
|
-
}, null, 8,
|
|
673
|
+
}, null, 8, Ql),
|
|
669
674
|
v("text", {
|
|
670
675
|
x: t.value.left,
|
|
671
676
|
y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -681,7 +686,7 @@ const gl = ["id"], pl = {
|
|
|
681
686
|
s: e.value.style.layout.dataLabels.suffix,
|
|
682
687
|
r: e.value.style.legend.roundingValue
|
|
683
688
|
})
|
|
684
|
-
)), 9,
|
|
689
|
+
)), 9, Zl),
|
|
685
690
|
v("text", {
|
|
686
691
|
x: t.value.right,
|
|
687
692
|
y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -690,39 +695,39 @@ const gl = ["id"], pl = {
|
|
|
690
695
|
fill: e.value.style.legend.color
|
|
691
696
|
}, x(r(O)(
|
|
692
697
|
e.value.style.layout.cells.value.formatter,
|
|
693
|
-
r(N)(
|
|
698
|
+
r(N)(L.value),
|
|
694
699
|
r(M)({
|
|
695
700
|
p: e.value.style.layout.dataLabels.prefix,
|
|
696
|
-
v: r(N)(
|
|
701
|
+
v: r(N)(L.value),
|
|
697
702
|
s: e.value.style.layout.dataLabels.suffix,
|
|
698
703
|
r: e.value.style.legend.roundingValue
|
|
699
704
|
})
|
|
700
|
-
)), 9,
|
|
705
|
+
)), 9, et),
|
|
701
706
|
S.value !== null ? (o(), i("line", {
|
|
702
707
|
key: 0,
|
|
703
|
-
stroke: r(ve)(
|
|
708
|
+
stroke: r(ve)(G.value.datapoint.color),
|
|
704
709
|
"stroke-width": "2",
|
|
705
|
-
x1:
|
|
706
|
-
x2:
|
|
710
|
+
x1: Y.value,
|
|
711
|
+
x2: Y.value,
|
|
707
712
|
y1: t.value.bottom + e.value.style.layout.cells.height,
|
|
708
713
|
y2: t.value.bottom + e.value.style.layout.cells.height * 2
|
|
709
|
-
}, null, 8,
|
|
714
|
+
}, null, 8, lt)) : c("", !0),
|
|
710
715
|
S.value !== null ? (o(), i("path", {
|
|
711
716
|
key: 1,
|
|
712
717
|
fill: e.value.style.color,
|
|
713
718
|
stroke: "none",
|
|
714
|
-
d: `M ${
|
|
715
|
-
}, null, 8,
|
|
716
|
-
])) :
|
|
717
|
-
m(l.$slots, "svg", { svg:
|
|
718
|
-
], 14,
|
|
719
|
-
l.$slots.watermark ? (o(), i("div",
|
|
719
|
+
d: `M ${Y.value},${t.value.bottom + e.value.style.layout.cells.height} ${Y.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${Y.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
720
|
+
}, null, 8, tt)) : c("", !0)
|
|
721
|
+
])) : c("", !0),
|
|
722
|
+
m(l.$slots, "svg", { svg: C.value }, void 0, !0)
|
|
723
|
+
], 14, xl)) : c("", !0),
|
|
724
|
+
l.$slots.watermark ? (o(), i("div", at, [
|
|
720
725
|
m(l.$slots, "watermark", R(X({ isPrinting: r(xe) || r(we) })), void 0, !0)
|
|
721
|
-
])) :
|
|
722
|
-
l.$slots.source ? (o(), i("div",
|
|
726
|
+
])) : c("", !0),
|
|
727
|
+
l.$slots.source ? (o(), i("div", ot, [
|
|
723
728
|
m(l.$slots, "source", {}, void 0, !0)
|
|
724
|
-
], 512)) :
|
|
725
|
-
W.value ?
|
|
729
|
+
], 512)) : c("", !0),
|
|
730
|
+
W.value ? c("", !0) : (o(), H(vl, {
|
|
726
731
|
key: 7,
|
|
727
732
|
config: {
|
|
728
733
|
type: "heatmap",
|
|
@@ -734,7 +739,7 @@ const gl = ["id"], pl = {
|
|
|
734
739
|
}
|
|
735
740
|
}
|
|
736
741
|
}, null, 8, ["config"])),
|
|
737
|
-
ie(
|
|
742
|
+
ie(rl, {
|
|
738
743
|
show: $.value.showTooltip && ee.value,
|
|
739
744
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
740
745
|
color: e.value.style.tooltip.color,
|
|
@@ -751,14 +756,14 @@ const gl = ["id"], pl = {
|
|
|
751
756
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
752
757
|
}, {
|
|
753
758
|
"tooltip-before": A(() => [
|
|
754
|
-
m(l.$slots, "tooltip-before", R(X({ ...
|
|
759
|
+
m(l.$slots, "tooltip-before", R(X({ ...G.value })), void 0, !0)
|
|
755
760
|
]),
|
|
756
761
|
"tooltip-after": A(() => [
|
|
757
|
-
m(l.$slots, "tooltip-after", R(X({ ...
|
|
762
|
+
m(l.$slots, "tooltip-after", R(X({ ...G.value })), void 0, !0)
|
|
758
763
|
]),
|
|
759
764
|
_: 3
|
|
760
765
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
761
|
-
W.value ? (o(),
|
|
766
|
+
W.value ? (o(), H(dl, {
|
|
762
767
|
key: 8,
|
|
763
768
|
hideDetails: "",
|
|
764
769
|
config: {
|
|
@@ -789,20 +794,20 @@ const gl = ["id"], pl = {
|
|
|
789
794
|
tabindex: "0",
|
|
790
795
|
style: T(`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};`),
|
|
791
796
|
onClick: s[1] || (s[1] = (n) => $.value.showTable = !1),
|
|
792
|
-
onKeypress: s[2] || (s[2] =
|
|
797
|
+
onKeypress: s[2] || (s[2] = je((n) => $.value.showTable = !1, ["enter"]))
|
|
793
798
|
}, [
|
|
794
|
-
ie(
|
|
799
|
+
ie(yl, {
|
|
795
800
|
name: "close",
|
|
796
801
|
stroke: e.value.table.th.color,
|
|
797
802
|
"stroke-width": 2
|
|
798
803
|
}, null, 8, ["stroke"])
|
|
799
804
|
], 36),
|
|
800
|
-
v("table",
|
|
805
|
+
v("table", st, [
|
|
801
806
|
v("caption", {
|
|
802
807
|
style: T(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
803
808
|
}, [
|
|
804
|
-
|
|
805
|
-
e.value.style.title.subtitle.text ? (o(), i("span",
|
|
809
|
+
We(x(e.value.style.title.text) + " ", 1),
|
|
810
|
+
e.value.style.title.subtitle.text ? (o(), i("span", ut, x(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
806
811
|
], 4),
|
|
807
812
|
v("thead", null, [
|
|
808
813
|
v("tr", {
|
|
@@ -829,15 +834,15 @@ const gl = ["id"], pl = {
|
|
|
829
834
|
class: "vue-ui-data-table__tbody__td",
|
|
830
835
|
style: T(`outline:${e.value.table.td.outline}`)
|
|
831
836
|
}, [
|
|
832
|
-
v("div",
|
|
833
|
-
], 12,
|
|
834
|
-
(o(!0), i(_, null, z(B.dataset, (
|
|
837
|
+
v("div", it, x(n), 1)
|
|
838
|
+
], 12, nt),
|
|
839
|
+
(o(!0), i(_, null, z(B.dataset, (d, p) => (o(), i("td", {
|
|
835
840
|
class: "vue-ui-data-table__tbody__td",
|
|
836
841
|
"data-cell": B.dataset[p].name,
|
|
837
842
|
style: T(`outline:${e.value.table.td.outline}`)
|
|
838
843
|
}, [
|
|
839
|
-
v("div",
|
|
840
|
-
], 12,
|
|
844
|
+
v("div", vt, x(isNaN(d.values[u]) ? "-" : r(M)({ p: e.value.style.layout.dataLabels.prefix, v: d.values[u], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
845
|
+
], 12, rt))), 256))
|
|
841
846
|
], 6))), 256))
|
|
842
847
|
])
|
|
843
848
|
])
|
|
@@ -845,10 +850,10 @@ const gl = ["id"], pl = {
|
|
|
845
850
|
], 512)
|
|
846
851
|
]),
|
|
847
852
|
_: 1
|
|
848
|
-
}, 8, ["config"])) :
|
|
849
|
-
], 46,
|
|
853
|
+
}, 8, ["config"])) : c("", !0)
|
|
854
|
+
], 46, bl));
|
|
850
855
|
}
|
|
851
|
-
},
|
|
856
|
+
}, Lt = /* @__PURE__ */ fl(yt, [["__scopeId", "data-v-cd2b0b4d"]]);
|
|
852
857
|
export {
|
|
853
|
-
|
|
858
|
+
Lt as default
|
|
854
859
|
};
|