vue-data-ui 2.3.84 → 2.3.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CLOh6oi7.cjs} +1 -1
- package/dist/{Arrow-CQ1ubni5.js → Arrow-JwDgP3de.js} +1 -1
- package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-BBQHz_Sf.cjs} +1 -1
- package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-BysUnfCR.js} +1 -1
- package/dist/{DataTable-C-iU_7h7.js → DataTable-MkG5Dqrn.js} +2 -2
- package/dist/{DataTable-CEtr89Og.cjs → DataTable-pVXaNplZ.cjs} +1 -1
- package/dist/{Legend-pU_BwhaW.js → Legend-KW7sTwN3.js} +1 -1
- package/dist/{Legend-D2ZBCCXe.cjs → Legend-k2mcTp7z.cjs} +1 -1
- package/dist/{Shape-CyM44biU.js → Shape-BFiZBf3X.js} +1 -1
- package/dist/{Shape-BO_KyCq8.cjs → Shape-COoEWeGM.cjs} +1 -1
- package/dist/{Slicer-CZobytqL.js → Slicer-CALc-Q4W.js} +2 -2
- package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-DCyxUSsn.cjs} +1 -1
- package/dist/{Title-B1_d29Eh.cjs → Title-BaKZYHEx.cjs} +1 -1
- package/dist/{Title-Bk3h09h9.js → Title-ISDbzCH8.js} +1 -1
- package/dist/{Tooltip-CdB80DsD.js → Tooltip-BHmMXOej.js} +1 -1
- package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-okAYzo5Y.cjs} +1 -1
- package/dist/{index-DI4DaxVG.js → index-BiuHBtkZ.js} +1 -1
- package/dist/{index-Cx-40Fnz.cjs → index-D-vy9N1v.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B9yDavuy.cjs} +1 -1
- package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-Ck5_RzLu.js} +1 -1
- package/dist/{usePrinter-D9bNzUQP.js → usePrinter-Do8KiK5h.js} +1 -1
- package/dist/{usePrinter-DbhL59iY.cjs → usePrinter-P4nLcXX-.cjs} +1 -1
- package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-CAl2KJv9.js} +57 -57
- package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-CVYCyzY-.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-lKgwKkVj.js → vue-ui-3d-bar-CploAEkY.js} +163 -163
- package/dist/vue-ui-3d-bar-DlUqKETN.cjs +19 -0
- package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-D2fhyKpk.js} +3 -3
- package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-btKAUUTu.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-CvSoQ1op.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-DkaM5MrK.js} +55 -55
- package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-38FBI0Pn.js} +1 -1
- package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-BMYk78DR.cjs} +1 -1
- package/dist/vue-ui-candlestick-BJulnyV3.cjs +2 -0
- package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CKsjq0Uw.js} +81 -81
- package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-Cx72LlTd.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-DjGaEuM7.js} +4 -4
- package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-DAiBfoPN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-TLyh4dIZ.js} +9 -9
- package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-B1xa5yua.js} +2 -2
- package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-BunDuWpK.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-CMZ736DL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-DdcubzWu.js} +2 -2
- package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-BUpjWWnD.js} +2 -2
- package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-z5g__gqs.cjs} +1 -1
- package/dist/vue-ui-donut-TY2Z9Ljx.cjs +1 -0
- package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-ZLpfm-XT.js} +73 -73
- package/dist/vue-ui-donut-evolution-BEm2dOxe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-Bn4asQO3.js} +81 -81
- package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-CY6X8J1K.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-D2R9tJ99.js} +21 -21
- package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-Dd5uPNTQ.js} +52 -52
- package/dist/vue-ui-flow-DswsuPwy.cjs +1 -0
- package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-B7CoWLhj.js} +85 -85
- package/dist/vue-ui-galaxy-Dxy6jzus.cjs +1 -0
- package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-CGh_m922.js} +61 -61
- package/dist/vue-ui-gauge-CWd_ol6u.cjs +1 -0
- package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-BY3hnKSH.js} +2 -2
- package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-D5Kn7w7L.cjs} +1 -1
- package/dist/vue-ui-heatmap-AUm42a1v.cjs +1 -0
- package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-yYN0u0I6.js} +150 -150
- package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-B4zr_geL.js} +3 -3
- package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-Q20yM3IP.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-GFSZofpE.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-GImbaGsN.js} +2 -2
- package/dist/vue-ui-molecule-C9FcDH4x.cjs +1 -0
- package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-DmrB3kgA.js} +54 -54
- package/dist/vue-ui-mood-radar-CRwStVTV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-sEkQtzI2.js} +100 -100
- package/dist/{vue-ui-nested-donuts-C3CMWjgk.cjs → vue-ui-nested-donuts-BcOgxtZV.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-DvpZLcYd.js} +43 -43
- package/dist/vue-ui-onion-C9v9YjdJ.cjs +5 -0
- package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-DQMLPe3M.js} +88 -88
- package/dist/vue-ui-parallel-coordinate-plot-BBuPdl2K.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-DN2LPNyS.js} +38 -38
- package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-D2GpeXI6.js} +49 -49
- package/dist/vue-ui-quadrant-ulY-rCMI.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-C5K9DfUV.js} +12 -12
- package/dist/vue-ui-quick-chart-DFj17h6h.cjs +15 -0
- package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-B9TZPujK.js} +42 -42
- package/dist/vue-ui-radar-KA287Tp-.cjs +1 -0
- package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-B0pNsmGB.js} +2 -2
- package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DpxzUDQq.cjs} +1 -1
- package/dist/vue-ui-relation-circle-D3B-lpdM.cjs +1 -0
- package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-DSnlpLHt.js} +54 -54
- package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-BuvFDBXg.js} +77 -77
- package/dist/vue-ui-rings-cmeFVitd.cjs +2 -0
- package/dist/vue-ui-scatter-BWPqoSUN.cjs +1 -0
- package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-D_chvOSJ.js} +51 -51
- package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-CwrXLMru.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-DSHeHshf.js} +1 -1
- package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-DJhwv2oY.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-Du4zw-c1.js} +2 -2
- package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-BNkk6suC.cjs} +1 -1
- package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BtQLJ7rA.js} +2 -2
- package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-BgA79g7a.js} +29 -29
- package/dist/vue-ui-spark-trend-DFIjxBTY.cjs +1 -0
- package/dist/vue-ui-sparkbar-BlwQfhlY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-DQAWZReF.js} +27 -27
- package/dist/vue-ui-sparkgauge-BCRSQDpt.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-CCApU38s.js} +22 -22
- package/dist/vue-ui-sparkhistogram-CTxG1Vtn.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-PKTt4EmH.js} +52 -52
- package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-BUaixngQ.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-EESAiZyt.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-TnLNixdf.js} +6 -6
- package/dist/vue-ui-sparkstackbar-iQnc0zcO.cjs +1 -0
- package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-Ci04sup3.js} +62 -62
- package/dist/vue-ui-stackbar-Rrcyg4CC.cjs +6 -0
- package/dist/vue-ui-strip-plot-CowHumiU.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-DbvW0BuF.js} +72 -72
- package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-328De4vk.cjs} +1 -1
- package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-CamkBCdL.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BnwiB4id.cjs → vue-ui-table-heatmap-CCHre3Gt.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-D-YdrvGV.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-Cmg7wnQ0.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Dg2RKv6f.js} +5 -5
- package/dist/vue-ui-thermometer-BDeKErC9.cjs +1 -0
- package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-jWHbZTc2.js} +47 -47
- package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-BPepr5eV.js} +4 -4
- package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-B_FyRAU7.cjs} +1 -1
- package/dist/vue-ui-tiremarks-CaJWlyz8.cjs +1 -0
- package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-DW8Q2IBl.js} +94 -94
- package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-B9GpvA0k.cjs} +1 -1
- package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-CWu43qLo.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-CndASePh.js} +178 -178
- package/dist/vue-ui-vertical-bar-a_41JdIn.cjs +4 -0
- package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-CdyqwJwN.js} +71 -71
- package/dist/vue-ui-waffle-c9ycdoKz.cjs +1 -0
- package/dist/vue-ui-wheel-B3BMfKmd.cjs +1 -0
- package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Byq_BLhl.js} +57 -57
- package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-BRxN5uFD.js} +107 -107
- package/dist/{vue-ui-word-cloud-D5JLdr9g.cjs → vue-ui-word-cloud-BVOcsuMP.cjs} +1 -1
- package/dist/vue-ui-xy-CsS5ny0q.cjs +3 -0
- package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-DgEdZz0O.js} +356 -361
- package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-BI7jUOTn.js} +10 -10
- package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Td0WNYN0.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
- package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
- package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
- package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
- package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
- package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
- package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
- package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
- package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
- package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
- package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
- package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
- package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
- package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
- package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
- package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
- package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
- package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
- package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
- package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
- package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
- package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
- package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
- package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
- package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
- package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
- package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { useCssVars as Ye, computed as b, ref as d, watch as Pe, onMounted as qe, onBeforeUnmount as Ke, openBlock as
|
|
2
|
-
import { u as et, c as tt, t as at, a as lt, p as M, b as ot, o as Ve, e as Q, v as S, d as
|
|
1
|
+
import { useCssVars as Ye, computed as b, ref as d, watch as Pe, onMounted as qe, onBeforeUnmount as Ke, openBlock as u, createElementBlock as c, normalizeClass as D, normalizeStyle as i, createBlock as R, createCommentVNode as m, unref as h, createSlots as Je, withCtx as x, renderSlot as k, normalizeProps as K, guardReactiveProps as J, createElementVNode as n, toDisplayString as r, Fragment as U, renderList as H, createVNode as Se, withKeys as Qe, createTextVNode as Ze } from "vue";
|
|
2
|
+
import { u as et, c as tt, t as at, a as lt, p as M, b as ot, o as Ve, e as Q, v as S, d as ue, i as Z, f as I, X as nt, s as se, w as ut, x as st, y as rt, q as it, r as dt } from "./index-BiuHBtkZ.js";
|
|
3
3
|
import { t as ct, u as vt } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { _ as ht } from "./Title-
|
|
5
|
-
import { u as pt, U as gt } from "./usePrinter-
|
|
6
|
-
import { _ as yt } from "./Tooltip-
|
|
7
|
-
import { L as ze } from "./Legend-
|
|
8
|
-
import ft from "./vue-ui-skeleton-
|
|
9
|
-
import bt from "./BaseIcon-
|
|
10
|
-
import mt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Fe } from "./useNestedProp-
|
|
4
|
+
import { _ as ht } from "./Title-ISDbzCH8.js";
|
|
5
|
+
import { u as pt, U as gt } from "./usePrinter-Do8KiK5h.js";
|
|
6
|
+
import { _ as yt } from "./Tooltip-BHmMXOej.js";
|
|
7
|
+
import { L as ze } from "./Legend-KW7sTwN3.js";
|
|
8
|
+
import ft from "./vue-ui-skeleton-Du4zw-c1.js";
|
|
9
|
+
import bt from "./BaseIcon-BysUnfCR.js";
|
|
10
|
+
import mt from "./vue-ui-accordion-D2fhyKpk.js";
|
|
11
|
+
import { u as Fe } from "./useNestedProp-Ck5_RzLu.js";
|
|
12
12
|
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const
|
|
13
|
+
const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct = ["stop-color"], Tt = ["stop-color"], Lt = ["x", "y", "width", "height", "fill", "rx"], Nt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pt = ["x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], zt = ["x", "y", "font-size", "fill", "font-weight"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = ["x", "y", "font-size", "fill", "font-weight"], It = ["y", "width", "height", "fill", "onMouseenter"], Bt = {
|
|
14
14
|
key: 4,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
16
|
}, Ot = ["onClick"], Dt = { style: "width:100%;padding-top: 36px;position:relative" }, Rt = { class: "vue-ui-data-table" }, Xt = { key: 0 }, At = { style: { width: "100%" } }, Et = ["data-cell"], Gt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ut = ["data-cell"], Ht = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Wt = ["data-cell"], jt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Yt = ["data-cell"], qt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Kt = ["data-cell"], Jt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qt = ["data-cell"], Zt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, aa = {
|
|
@@ -31,30 +31,30 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectLegend"],
|
|
33
33
|
setup(Me, { expose: Ie, emit: Be }) {
|
|
34
|
-
const
|
|
34
|
+
const w = Me;
|
|
35
35
|
Ye((a) => ({
|
|
36
|
-
"
|
|
36
|
+
"116fd88e": a.tdo
|
|
37
37
|
}));
|
|
38
|
-
const { vue_ui_vertical_bar: Oe } = et(), W = b(() => !!
|
|
38
|
+
const { vue_ui_vertical_bar: Oe } = et(), W = b(() => !!w.dataset && w.dataset.length), V = d(tt()), De = d(null), ee = d(!1), te = d(""), j = d(0), Re = d(null), re = d(0), X = d(null), ie = d(null), ae = d(null), de = d(0), le = d(0), e = b({
|
|
39
39
|
get: () => ce(),
|
|
40
40
|
set: (a) => a
|
|
41
41
|
});
|
|
42
42
|
function ce() {
|
|
43
43
|
const a = Fe({
|
|
44
|
-
userConfig:
|
|
44
|
+
userConfig: w.config,
|
|
45
45
|
defaultConfig: Oe
|
|
46
46
|
});
|
|
47
47
|
return a.theme ? {
|
|
48
48
|
...Fe({
|
|
49
|
-
userConfig: at.vue_ui_vertical_bar[a.theme] ||
|
|
49
|
+
userConfig: at.vue_ui_vertical_bar[a.theme] || w.config,
|
|
50
50
|
defaultConfig: a
|
|
51
51
|
}),
|
|
52
52
|
customPalette: lt[a.theme] || M
|
|
53
53
|
} : a;
|
|
54
54
|
}
|
|
55
|
-
Pe(() =>
|
|
55
|
+
Pe(() => w.config, (a) => {
|
|
56
56
|
e.value = ce(), me(), de.value += 1, le.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap;
|
|
57
|
-
}, { deep: !0 }), Pe(() =>
|
|
57
|
+
}, { deep: !0 }), Pe(() => w.dataset, q, { deep: !0 });
|
|
58
58
|
const { isPrinting: ve, isImaging: he, generatePdf: pe, generateImage: ge } = pt({
|
|
59
59
|
elementId: `vue-ui-vertical-bar_${V.value}`,
|
|
60
60
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
@@ -63,17 +63,17 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
63
63
|
me();
|
|
64
64
|
});
|
|
65
65
|
function me() {
|
|
66
|
-
if (Ve(
|
|
66
|
+
if (Ve(w.dataset) && Q({
|
|
67
67
|
componentName: "VueUiVerticalBar",
|
|
68
68
|
type: "dataset"
|
|
69
|
-
}), j.value =
|
|
69
|
+
}), j.value = w.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Ae(), e.value.responsive) {
|
|
70
70
|
const a = ct(() => {
|
|
71
71
|
const { width: l, height: t } = vt({
|
|
72
72
|
chart: X.value,
|
|
73
73
|
title: e.value.style.chart.title.text ? ie.value : null,
|
|
74
74
|
legend: e.value.style.chart.legend.show ? ae.value : null
|
|
75
75
|
});
|
|
76
|
-
|
|
76
|
+
ke.value = l, v.value = t / j.value - g.value * 2;
|
|
77
77
|
});
|
|
78
78
|
Y.value = new ResizeObserver(a), Y.value.observe(X.value.parentNode);
|
|
79
79
|
}
|
|
@@ -92,7 +92,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
92
92
|
showTable: e.value.table.show,
|
|
93
93
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
94
94
|
showTooltip: e.value.style.chart.tooltip.show
|
|
95
|
-
}), _e = b(() => $.value.sortDesc), z = b(() => (
|
|
95
|
+
}), _e = b(() => $.value.sortDesc), z = b(() => (w.dataset.forEach((a, l) => {
|
|
96
96
|
!a.value && !a.children && Q({
|
|
97
97
|
componentName: "VueUiVerticalBar",
|
|
98
98
|
type: "datasetAttributeEmpty",
|
|
@@ -110,7 +110,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
110
110
|
index: o
|
|
111
111
|
});
|
|
112
112
|
}));
|
|
113
|
-
}),
|
|
113
|
+
}), w.dataset.map((a, l) => {
|
|
114
114
|
const t = `vertical_parent_${l}_${V.value}`, o = a.children && a.children.length > 0, f = S(a.value ? a.value : o ? a.children.map((_) => _.value || 0).reduce((_, N) => _ + N, 0) : 0), p = f >= 0 ? 1 : -1;
|
|
115
115
|
return {
|
|
116
116
|
...a,
|
|
@@ -123,7 +123,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
123
123
|
isChild: !1,
|
|
124
124
|
segregate: () => A(t),
|
|
125
125
|
isSegregated: T.value.includes(t),
|
|
126
|
-
color:
|
|
126
|
+
color: ue(a.color) || ye.value[l] || M[l] || M[l % M.length],
|
|
127
127
|
children: !a.children || !a.children.length ? [] : a.children.toSorted((_, N) => _e.value ? N.value - _.value : _.value - N.value).map((_, N) => ({
|
|
128
128
|
..._,
|
|
129
129
|
value: S(Math.abs(_.value)),
|
|
@@ -135,22 +135,22 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
135
135
|
parentSign: p,
|
|
136
136
|
id: `vertical_child_${l}_${N}_${V.value}`,
|
|
137
137
|
childIndex: N,
|
|
138
|
-
color:
|
|
138
|
+
color: ue(_.color) || ue(a.color) || ye.value[l] || M[l] || M[l % M.length]
|
|
139
139
|
})).map((_, N) => ({
|
|
140
140
|
..._,
|
|
141
141
|
isFirstChild: N === 0,
|
|
142
142
|
isLastChild: N === a.children.length - 1
|
|
143
143
|
}))
|
|
144
144
|
};
|
|
145
|
-
}).toSorted((a, l) => _e.value ? l.value - a.value : a.value - l.value))),
|
|
145
|
+
}).toSorted((a, l) => _e.value ? l.value - a.value : a.value - l.value))), xe = b(() => ({
|
|
146
146
|
cy: "vertical-bar-div-legend",
|
|
147
147
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
148
148
|
color: e.value.style.chart.legend.color,
|
|
149
149
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
150
150
|
paddingBottom: 12,
|
|
151
151
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
152
|
-
})), v = d(e.value.style.chart.layout.bars.height), g = d(e.value.style.chart.layout.bars.gap), Ee = b(() => (v.value + g.value) * j.value),
|
|
153
|
-
width:
|
|
152
|
+
})), v = d(e.value.style.chart.layout.bars.height), g = d(e.value.style.chart.layout.bars.gap), Ee = b(() => (v.value + g.value) * j.value), ke = d(512), y = b(() => ({
|
|
153
|
+
width: ke.value,
|
|
154
154
|
height: Ee.value,
|
|
155
155
|
padding: {
|
|
156
156
|
top: 12,
|
|
@@ -202,9 +202,9 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
202
202
|
function He() {
|
|
203
203
|
return F.value;
|
|
204
204
|
}
|
|
205
|
-
const oe = d(null),
|
|
205
|
+
const oe = d(null), ne = d(null);
|
|
206
206
|
function We(a, l) {
|
|
207
|
-
|
|
207
|
+
ne.value = {
|
|
208
208
|
datapoint: a,
|
|
209
209
|
seriesIndex: l,
|
|
210
210
|
series: z.value,
|
|
@@ -245,7 +245,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
245
245
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
246
246
|
})}</b></div>`)), te.value = `<div style="text-align:left">${t}</div>`);
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function we(a, l, t, o) {
|
|
249
249
|
if (!e.value.style.chart.layout.bars.dataLabels.value.show)
|
|
250
250
|
return "";
|
|
251
251
|
const f = Z(
|
|
@@ -261,7 +261,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
261
261
|
), p = `(${$e(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
262
262
|
return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${p}` : ""}`;
|
|
263
263
|
}
|
|
264
|
-
const
|
|
264
|
+
const C = b(() => {
|
|
265
265
|
const a = [
|
|
266
266
|
e.value.translations.parentName,
|
|
267
267
|
e.value.translations.value,
|
|
@@ -300,8 +300,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
300
300
|
});
|
|
301
301
|
return { head: a, body: l };
|
|
302
302
|
});
|
|
303
|
-
function
|
|
304
|
-
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l =
|
|
303
|
+
function Ce() {
|
|
304
|
+
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = C.value.head, t = C.value.body.map((p) => [
|
|
305
305
|
p.parentName,
|
|
306
306
|
p.parentValue,
|
|
307
307
|
p.percentageToTotal,
|
|
@@ -329,25 +329,25 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
329
329
|
getData: He,
|
|
330
330
|
recalculateHeight: q,
|
|
331
331
|
generatePdf: pe,
|
|
332
|
-
generateCsv:
|
|
332
|
+
generateCsv: Ce,
|
|
333
333
|
generateImage: ge,
|
|
334
334
|
toggleTable: Te,
|
|
335
335
|
toggleSort: Le,
|
|
336
336
|
toggleTooltip: Ne
|
|
337
|
-
}), (a, l) => (
|
|
337
|
+
}), (a, l) => (u(), c("div", {
|
|
338
338
|
class: D(`vue-ui-vertical-bar ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
339
339
|
ref_key: "verticalBarChart",
|
|
340
340
|
ref: X,
|
|
341
341
|
id: `vue-ui-vertical-bar_${V.value}`,
|
|
342
|
-
style:
|
|
342
|
+
style: i(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
343
343
|
}, [
|
|
344
|
-
e.value.style.chart.title.text ? (
|
|
344
|
+
e.value.style.chart.title.text ? (u(), c("div", {
|
|
345
345
|
key: 0,
|
|
346
346
|
ref_key: "chartTitle",
|
|
347
347
|
ref: ie,
|
|
348
|
-
style:
|
|
348
|
+
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
349
349
|
}, [
|
|
350
|
-
(
|
|
350
|
+
(u(), R(ht, {
|
|
351
351
|
key: `title_${de.value}`,
|
|
352
352
|
config: {
|
|
353
353
|
title: {
|
|
@@ -360,8 +360,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
}, null, 8, ["config"]))
|
|
363
|
-
],
|
|
364
|
-
e.value.userOptions.show && W.value ? (
|
|
363
|
+
], 512)) : m("", !0),
|
|
364
|
+
e.value.userOptions.show && W.value ? (u(), R(gt, {
|
|
365
365
|
ref_key: "details",
|
|
366
366
|
ref: De,
|
|
367
367
|
key: `user_options_${re.value}`,
|
|
@@ -383,7 +383,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
383
383
|
chartElement: X.value,
|
|
384
384
|
onToggleFullscreen: je,
|
|
385
385
|
onGeneratePdf: h(pe),
|
|
386
|
-
onGenerateCsv:
|
|
386
|
+
onGenerateCsv: Ce,
|
|
387
387
|
onGenerateImage: h(ge),
|
|
388
388
|
onToggleTable: Te,
|
|
389
389
|
onToggleSort: Le,
|
|
@@ -391,78 +391,78 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
391
391
|
}, Je({ _: 2 }, [
|
|
392
392
|
a.$slots.optionTooltip ? {
|
|
393
393
|
name: "optionTooltip",
|
|
394
|
-
fn:
|
|
395
|
-
|
|
394
|
+
fn: x(() => [
|
|
395
|
+
k(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
396
396
|
]),
|
|
397
397
|
key: "0"
|
|
398
398
|
} : void 0,
|
|
399
399
|
a.$slots.optionPdf ? {
|
|
400
400
|
name: "optionPdf",
|
|
401
|
-
fn:
|
|
402
|
-
|
|
401
|
+
fn: x(() => [
|
|
402
|
+
k(a.$slots, "optionPdf", {}, void 0, !0)
|
|
403
403
|
]),
|
|
404
404
|
key: "1"
|
|
405
405
|
} : void 0,
|
|
406
406
|
a.$slots.optionCsv ? {
|
|
407
407
|
name: "optionCsv",
|
|
408
|
-
fn:
|
|
409
|
-
|
|
408
|
+
fn: x(() => [
|
|
409
|
+
k(a.$slots, "optionCsv", {}, void 0, !0)
|
|
410
410
|
]),
|
|
411
411
|
key: "2"
|
|
412
412
|
} : void 0,
|
|
413
413
|
a.$slots.optionImg ? {
|
|
414
414
|
name: "optionImg",
|
|
415
|
-
fn:
|
|
416
|
-
|
|
415
|
+
fn: x(() => [
|
|
416
|
+
k(a.$slots, "optionImg", {}, void 0, !0)
|
|
417
417
|
]),
|
|
418
418
|
key: "3"
|
|
419
419
|
} : void 0,
|
|
420
420
|
a.$slots.optionTable ? {
|
|
421
421
|
name: "optionTable",
|
|
422
|
-
fn:
|
|
423
|
-
|
|
422
|
+
fn: x(() => [
|
|
423
|
+
k(a.$slots, "optionTable", {}, void 0, !0)
|
|
424
424
|
]),
|
|
425
425
|
key: "4"
|
|
426
426
|
} : void 0,
|
|
427
427
|
a.$slots.optionLabels ? {
|
|
428
428
|
name: "optionLabels",
|
|
429
|
-
fn:
|
|
430
|
-
|
|
429
|
+
fn: x(() => [
|
|
430
|
+
k(a.$slots, "optionLabels", {}, void 0, !0)
|
|
431
431
|
]),
|
|
432
432
|
key: "5"
|
|
433
433
|
} : void 0,
|
|
434
434
|
a.$slots.optionSort ? {
|
|
435
435
|
name: "optionSort",
|
|
436
|
-
fn:
|
|
437
|
-
|
|
436
|
+
fn: x(() => [
|
|
437
|
+
k(a.$slots, "optionSort", {}, void 0, !0)
|
|
438
438
|
]),
|
|
439
439
|
key: "6"
|
|
440
440
|
} : void 0,
|
|
441
441
|
a.$slots.optionFullscreen ? {
|
|
442
442
|
name: "optionFullscreen",
|
|
443
|
-
fn:
|
|
444
|
-
|
|
443
|
+
fn: x(({ toggleFullscreen: t, isFullscreen: o }) => [
|
|
444
|
+
k(a.$slots, "optionFullscreen", K(J({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
|
|
445
445
|
]),
|
|
446
446
|
key: "7"
|
|
447
447
|
} : void 0
|
|
448
448
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
|
|
449
|
-
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (
|
|
449
|
+
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), c("div", {
|
|
450
450
|
key: 2,
|
|
451
451
|
ref_key: "chartLegend",
|
|
452
452
|
ref: ae
|
|
453
453
|
}, [
|
|
454
|
-
(
|
|
454
|
+
(u(), R(ze, {
|
|
455
455
|
key: `legend_top_${le.value}`,
|
|
456
456
|
legendSet: z.value,
|
|
457
|
-
config:
|
|
457
|
+
config: xe.value,
|
|
458
458
|
onClickMarker: l[0] || (l[0] = ({ legend: t }) => A(t.id))
|
|
459
459
|
}, {
|
|
460
|
-
item:
|
|
461
|
-
|
|
460
|
+
item: x(({ legend: t, index: o }) => [
|
|
461
|
+
n("div", {
|
|
462
462
|
"data-cy-legend-item": "",
|
|
463
463
|
onClick: (f) => A(t.id),
|
|
464
|
-
style:
|
|
465
|
-
},
|
|
464
|
+
style: i(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
|
|
465
|
+
}, r(t.name) + ": " + r(h(Z)(
|
|
466
466
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
467
467
|
t.value,
|
|
468
468
|
h(I)({
|
|
@@ -472,36 +472,36 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
472
472
|
r: e.value.style.chart.legend.roundingValue
|
|
473
473
|
}),
|
|
474
474
|
{ datapoint: t, seriesIndex: o }
|
|
475
|
-
)), 13,
|
|
475
|
+
)), 13, kt)
|
|
476
476
|
]),
|
|
477
477
|
_: 1
|
|
478
478
|
}, 8, ["legendSet", "config"]))
|
|
479
479
|
], 512)) : m("", !0),
|
|
480
|
-
W.value ? (
|
|
480
|
+
W.value ? (u(), c("svg", {
|
|
481
481
|
key: 3,
|
|
482
|
-
xmlns: h(
|
|
482
|
+
xmlns: h(nt),
|
|
483
483
|
class: D({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
|
|
484
484
|
viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
|
|
485
|
-
style:
|
|
485
|
+
style: i(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
486
486
|
}, [
|
|
487
|
-
(
|
|
487
|
+
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("linearGradient", {
|
|
488
488
|
x1: "0%",
|
|
489
489
|
y1: "0%",
|
|
490
490
|
x2: "100%",
|
|
491
491
|
y2: "0%",
|
|
492
492
|
id: `vertical_bar_gradient_${V.value}_${o}`
|
|
493
493
|
}, [
|
|
494
|
-
|
|
494
|
+
n("stop", {
|
|
495
495
|
offset: "0%",
|
|
496
496
|
"stop-color": t.color
|
|
497
|
-
}, null, 8,
|
|
498
|
-
|
|
497
|
+
}, null, 8, Ct),
|
|
498
|
+
n("stop", {
|
|
499
499
|
offset: "100%",
|
|
500
|
-
"stop-color": h(se)(h(
|
|
500
|
+
"stop-color": h(se)(h(ut)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
|
|
501
501
|
}, null, 8, Tt)
|
|
502
|
-
], 8,
|
|
503
|
-
(
|
|
504
|
-
|
|
502
|
+
], 8, wt))), 256)),
|
|
503
|
+
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("g", null, [
|
|
504
|
+
n("rect", {
|
|
505
505
|
x: h(S)(O.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : P(t.value) <= 0 ? 1e-4 : P(t.value)) : s.value.left),
|
|
506
506
|
y: s.value.top + (g.value + v.value) * o,
|
|
507
507
|
width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
|
|
@@ -511,8 +511,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
511
511
|
class: D({ animated: e.value.useCssAnimation })
|
|
512
512
|
}, null, 10, Lt)
|
|
513
513
|
]))), 256)),
|
|
514
|
-
(
|
|
515
|
-
|
|
514
|
+
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("g", null, [
|
|
515
|
+
n("rect", {
|
|
516
516
|
x: h(S)(O.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : P(t.value) <= 0 ? 1e-4 : P(t.value)) : s.value.left),
|
|
517
517
|
y: s.value.top + (g.value + v.value) * o,
|
|
518
518
|
width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
|
|
@@ -523,7 +523,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
523
523
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
524
524
|
class: D({ animated: e.value.useCssAnimation })
|
|
525
525
|
}, null, 10, Nt),
|
|
526
|
-
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (
|
|
526
|
+
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), c("line", {
|
|
527
527
|
key: 0,
|
|
528
528
|
x1: 0,
|
|
529
529
|
x2: s.value.left,
|
|
@@ -533,7 +533,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
533
533
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
534
534
|
"stroke-linecap": "round"
|
|
535
535
|
}, null, 8, Pt)) : m("", !0),
|
|
536
|
-
O.value && e.value.style.chart.layout.separators.show ? (
|
|
536
|
+
O.value && e.value.style.chart.layout.separators.show ? (u(), c("line", {
|
|
537
537
|
key: 1,
|
|
538
538
|
x1: s.value.left + s.value.width / 2,
|
|
539
539
|
x2: s.value.left + s.value.width / 2,
|
|
@@ -543,15 +543,15 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
543
543
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
544
544
|
"stroke-linecap": "round"
|
|
545
545
|
}, null, 8, St)) : m("", !0),
|
|
546
|
-
|
|
546
|
+
n("text", {
|
|
547
547
|
x: O.value ? s.value.left + s.value.width / 2 + (t.sign === 1 ? -12 : 12) + (t.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Ue(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
|
|
548
548
|
y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
549
549
|
"text-anchor": !O.value || t.sign === -1 ? "start" : "end",
|
|
550
550
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
551
551
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
552
552
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
553
|
-
},
|
|
554
|
-
(t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (
|
|
553
|
+
}, r(we(t.value, t, o, t.sign)), 9, Vt),
|
|
554
|
+
(t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), c("text", {
|
|
555
555
|
key: 2,
|
|
556
556
|
"text-anchor": "end",
|
|
557
557
|
x: s.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
|
|
@@ -559,8 +559,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
559
559
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
560
560
|
fill: e.value.style.chart.layout.bars.nameLabels.color,
|
|
561
561
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
|
|
562
|
-
},
|
|
563
|
-
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (
|
|
562
|
+
}, r(t.name), 9, zt)) : m("", !0),
|
|
563
|
+
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
|
|
564
564
|
key: 3,
|
|
565
565
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
566
566
|
y: E(t, o).y,
|
|
@@ -568,8 +568,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
568
568
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
569
569
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
570
570
|
"text-anchor": "start"
|
|
571
|
-
},
|
|
572
|
-
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (
|
|
571
|
+
}, r(E(t, o).name), 9, Ft)) : m("", !0),
|
|
572
|
+
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
|
|
573
573
|
key: 4,
|
|
574
574
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
575
575
|
y: E(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
|
|
@@ -577,8 +577,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
577
577
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
578
578
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
579
579
|
"text-anchor": "start"
|
|
580
|
-
},
|
|
581
|
-
|
|
580
|
+
}, r(we(E(t, o).value), E(t, o), o, t.parentSign || t.sign), 9, Mt)) : m("", !0),
|
|
581
|
+
n("rect", {
|
|
582
582
|
"data-cy-trap": "",
|
|
583
583
|
x: 0,
|
|
584
584
|
y: s.value.top + (g.value + v.value) * o - g.value / 2,
|
|
@@ -591,12 +591,12 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
591
591
|
})
|
|
592
592
|
}, null, 40, It)
|
|
593
593
|
]))), 256)),
|
|
594
|
-
|
|
594
|
+
k(a.$slots, "svg", { svg: y.value }, void 0, !0)
|
|
595
595
|
], 14, $t)) : m("", !0),
|
|
596
|
-
a.$slots.watermark ? (
|
|
597
|
-
|
|
596
|
+
a.$slots.watermark ? (u(), c("div", Bt, [
|
|
597
|
+
k(a.$slots, "watermark", K(J({ isPrinting: h(ve) || h(he) })), void 0, !0)
|
|
598
598
|
])) : m("", !0),
|
|
599
|
-
W.value ? m("", !0) : (
|
|
599
|
+
W.value ? m("", !0) : (u(), R(ft, {
|
|
600
600
|
key: 5,
|
|
601
601
|
config: {
|
|
602
602
|
type: "verticalBar",
|
|
@@ -611,22 +611,22 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
}, null, 8, ["config"])),
|
|
614
|
-
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (
|
|
614
|
+
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), c("div", {
|
|
615
615
|
key: 6,
|
|
616
616
|
ref_key: "chartLegend",
|
|
617
617
|
ref: ae
|
|
618
618
|
}, [
|
|
619
|
-
(
|
|
619
|
+
(u(), R(ze, {
|
|
620
620
|
key: `legend_bottom_${le.value}`,
|
|
621
621
|
legendSet: z.value,
|
|
622
|
-
config:
|
|
622
|
+
config: xe.value,
|
|
623
623
|
onClickMarker: l[2] || (l[2] = ({ legend: t }) => A(t.id))
|
|
624
624
|
}, {
|
|
625
|
-
item:
|
|
626
|
-
|
|
625
|
+
item: x(({ legend: t, index: o }) => [
|
|
626
|
+
n("div", {
|
|
627
627
|
onClick: (f) => A(t.id),
|
|
628
|
-
style:
|
|
629
|
-
},
|
|
628
|
+
style: i(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
|
|
629
|
+
}, r(t.name) + ": " + r(h(Z)(
|
|
630
630
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
631
631
|
t.value,
|
|
632
632
|
h(I)({
|
|
@@ -641,9 +641,9 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["legendSet", "config"]))
|
|
643
643
|
], 512)) : m("", !0),
|
|
644
|
-
|
|
644
|
+
k(a.$slots, "legend", { legend: z.value }, void 0, !0),
|
|
645
645
|
Se(yt, {
|
|
646
|
-
show: $.value.showTooltip && ee.value && T.value.length <
|
|
646
|
+
show: $.value.showTooltip && ee.value && T.value.length < w.dataset.length,
|
|
647
647
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
648
648
|
color: e.value.style.chart.tooltip.color,
|
|
649
649
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -657,15 +657,15 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
657
657
|
content: te.value,
|
|
658
658
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
659
659
|
}, {
|
|
660
|
-
"tooltip-before":
|
|
661
|
-
|
|
660
|
+
"tooltip-before": x(() => [
|
|
661
|
+
k(a.$slots, "tooltip-before", K(J({ ...ne.value })), void 0, !0)
|
|
662
662
|
]),
|
|
663
|
-
"tooltip-after":
|
|
664
|
-
|
|
663
|
+
"tooltip-after": x(() => [
|
|
664
|
+
k(a.$slots, "tooltip-after", K(J({ ...ne.value })), void 0, !0)
|
|
665
665
|
]),
|
|
666
666
|
_: 3
|
|
667
667
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
668
|
-
W.value ? (
|
|
668
|
+
W.value ? (u(), R(mt, {
|
|
669
669
|
key: 7,
|
|
670
670
|
hideDetails: "",
|
|
671
671
|
config: {
|
|
@@ -681,17 +681,17 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
681
681
|
}
|
|
682
682
|
}
|
|
683
683
|
}, {
|
|
684
|
-
content:
|
|
685
|
-
|
|
684
|
+
content: x(() => [
|
|
685
|
+
n("div", {
|
|
686
686
|
ref_key: "tableContainer",
|
|
687
687
|
ref: fe,
|
|
688
688
|
class: "vue-ui-vertical-bar-table"
|
|
689
689
|
}, [
|
|
690
|
-
|
|
691
|
-
|
|
690
|
+
n("div", Dt, [
|
|
691
|
+
n("div", {
|
|
692
692
|
role: "button",
|
|
693
693
|
tabindex: "0",
|
|
694
|
-
style:
|
|
694
|
+
style: i(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
695
695
|
onClick: l[3] || (l[3] = (t) => $.value.showTable = !1),
|
|
696
696
|
onKeypress: l[4] || (l[4] = Qe((t) => $.value.showTable = !1, ["enter"]))
|
|
697
697
|
}, [
|
|
@@ -701,112 +701,112 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
701
701
|
"stroke-width": 2
|
|
702
702
|
}, null, 8, ["stroke"])
|
|
703
703
|
], 36),
|
|
704
|
-
|
|
704
|
+
n("div", {
|
|
705
705
|
style: { width: "100%", "container-type": "inline-size" },
|
|
706
706
|
class: D({ "vue-ui-responsive": be.value })
|
|
707
707
|
}, [
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
style:
|
|
708
|
+
n("table", Rt, [
|
|
709
|
+
n("caption", {
|
|
710
|
+
style: i({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
711
711
|
class: "vue-ui-data-table__caption"
|
|
712
712
|
}, [
|
|
713
|
-
Ze(
|
|
714
|
-
e.value.style.chart.title.subtitle.text ? (
|
|
713
|
+
Ze(r(e.value.style.chart.title.text) + " ", 1),
|
|
714
|
+
e.value.style.chart.title.subtitle.text ? (u(), c("span", Xt, r(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
|
|
715
715
|
], 4),
|
|
716
|
-
|
|
717
|
-
|
|
716
|
+
n("thead", null, [
|
|
717
|
+
n("tr", {
|
|
718
718
|
role: "row",
|
|
719
|
-
style:
|
|
719
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
720
720
|
}, [
|
|
721
|
-
(
|
|
722
|
-
style:
|
|
721
|
+
(u(!0), c(U, null, H(C.value.head, (t) => (u(), c("th", {
|
|
722
|
+
style: i(`outline:${e.value.table.th.outline}`)
|
|
723
723
|
}, [
|
|
724
|
-
|
|
724
|
+
n("div", At, r(t), 1)
|
|
725
725
|
], 4))), 256))
|
|
726
726
|
], 4),
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
style:
|
|
727
|
+
n("tr", null, [
|
|
728
|
+
n("th", {
|
|
729
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
730
730
|
}, null, 4),
|
|
731
|
-
|
|
732
|
-
style:
|
|
733
|
-
}, "∑ " +
|
|
734
|
-
|
|
735
|
-
style:
|
|
731
|
+
n("th", {
|
|
732
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
|
|
733
|
+
}, "∑ " + r(e.value.table.td.prefix) + r(isNaN(L.value) ? "" : L.value.toFixed(e.value.table.td.roundingValue)) + r(e.value.table.td.suffix), 5),
|
|
734
|
+
n("th", {
|
|
735
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
|
|
736
736
|
}, "100%", 4),
|
|
737
|
-
|
|
738
|
-
style:
|
|
737
|
+
n("th", {
|
|
738
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
739
739
|
}, null, 4),
|
|
740
|
-
|
|
741
|
-
style:
|
|
740
|
+
n("th", {
|
|
741
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
742
742
|
}, null, 4),
|
|
743
|
-
|
|
744
|
-
style:
|
|
743
|
+
n("th", {
|
|
744
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
745
745
|
}, null, 4),
|
|
746
|
-
|
|
747
|
-
style:
|
|
746
|
+
n("th", {
|
|
747
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
748
748
|
}, null, 4)
|
|
749
749
|
])
|
|
750
750
|
]),
|
|
751
|
-
|
|
752
|
-
(
|
|
751
|
+
n("tbody", null, [
|
|
752
|
+
(u(!0), c(U, null, H(C.value.body, (t, o) => (u(), c("tr", {
|
|
753
753
|
class: D({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
|
|
754
|
-
style:
|
|
754
|
+
style: i(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
755
755
|
}, [
|
|
756
|
-
|
|
756
|
+
n("td", {
|
|
757
757
|
class: "vue-ui-data-table__tbody__td",
|
|
758
|
-
style:
|
|
759
|
-
"data-cell":
|
|
758
|
+
style: i(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
759
|
+
"data-cell": C.value.head[0] ?? ""
|
|
760
760
|
}, [
|
|
761
|
-
|
|
762
|
-
t.color ? (
|
|
761
|
+
n("div", Gt, [
|
|
762
|
+
t.color ? (u(), c("span", {
|
|
763
763
|
key: 0,
|
|
764
|
-
style:
|
|
764
|
+
style: i(`color:${t.color};margin-right:3px`)
|
|
765
765
|
}, "⬤", 4)) : m("", !0),
|
|
766
|
-
|
|
766
|
+
n("span", null, r(t.parentName), 1)
|
|
767
767
|
])
|
|
768
768
|
], 12, Et),
|
|
769
|
-
|
|
769
|
+
n("td", {
|
|
770
770
|
class: "vue-ui-data-table__tbody__td",
|
|
771
|
-
style:
|
|
772
|
-
"data-cell":
|
|
771
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
772
|
+
"data-cell": C.value.head[1] ?? ""
|
|
773
773
|
}, [
|
|
774
|
-
|
|
774
|
+
n("div", Ht, r(e.value.table.td.prefix) + r(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + r(e.value.table.td.suffix), 1)
|
|
775
775
|
], 12, Ut),
|
|
776
|
-
|
|
776
|
+
n("td", {
|
|
777
777
|
class: "vue-ui-data-table__tbody__td",
|
|
778
|
-
style:
|
|
779
|
-
"data-cell":
|
|
778
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
779
|
+
"data-cell": C.value.head[2] ?? ""
|
|
780
780
|
}, [
|
|
781
|
-
|
|
781
|
+
n("div", jt, r(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
782
782
|
], 12, Wt),
|
|
783
|
-
|
|
783
|
+
n("td", {
|
|
784
784
|
class: "vue-ui-data-table__tbody__td",
|
|
785
|
-
style:
|
|
786
|
-
"data-cell":
|
|
785
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
786
|
+
"data-cell": C.value.head[3] ?? ""
|
|
787
787
|
}, [
|
|
788
|
-
|
|
788
|
+
n("div", qt, r(t.childName), 1)
|
|
789
789
|
], 12, Yt),
|
|
790
|
-
|
|
790
|
+
n("td", {
|
|
791
791
|
class: "vue-ui-data-table__tbody__td",
|
|
792
|
-
style:
|
|
793
|
-
"data-cell":
|
|
792
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
793
|
+
"data-cell": C.value.head[4] ?? ""
|
|
794
794
|
}, [
|
|
795
|
-
|
|
795
|
+
n("div", Jt, r(e.value.table.td.prefix) + r(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + r(e.value.table.td.suffix), 1)
|
|
796
796
|
], 12, Kt),
|
|
797
|
-
|
|
797
|
+
n("td", {
|
|
798
798
|
class: "vue-ui-data-table__tbody__td",
|
|
799
|
-
style:
|
|
800
|
-
"data-cell":
|
|
799
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
800
|
+
"data-cell": C.value.head[5] ?? ""
|
|
801
801
|
}, [
|
|
802
|
-
|
|
802
|
+
n("div", Zt, r(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
803
803
|
], 12, Qt),
|
|
804
|
-
|
|
804
|
+
n("td", {
|
|
805
805
|
class: "vue-ui-data-table__tbody__td",
|
|
806
|
-
style:
|
|
807
|
-
"data-cell":
|
|
806
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
807
|
+
"data-cell": C.value.head[6] ?? ""
|
|
808
808
|
}, [
|
|
809
|
-
|
|
809
|
+
n("div", ta, r(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
810
810
|
], 12, ea)
|
|
811
811
|
], 6))), 256))
|
|
812
812
|
])
|
|
@@ -817,9 +817,9 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
817
817
|
]),
|
|
818
818
|
_: 1
|
|
819
819
|
}, 8, ["config"])) : m("", !0)
|
|
820
|
-
], 14,
|
|
820
|
+
], 14, xt));
|
|
821
821
|
}
|
|
822
|
-
}, ga = /* @__PURE__ */ _t(aa, [["__scopeId", "data-v-
|
|
822
|
+
}, ga = /* @__PURE__ */ _t(aa, [["__scopeId", "data-v-1326ee1f"]]);
|
|
823
823
|
export {
|
|
824
824
|
ga as default
|
|
825
825
|
};
|