vue-data-ui 2.3.84 → 2.3.86
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-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
- package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
- package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
- package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
- package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
- package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
- package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
- package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
- package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
- package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
- package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
- package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
- package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
- package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
- package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
- package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
- package/dist/index-CVgBMJU6.cjs +4 -0
- package/dist/{index-DI4DaxVG.js → index-D2epy0rJ.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
- package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-C_ZrJBd9.js} +1 -1
- package/dist/usePrinter-B6qtXaHk.js +527 -0
- package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
- package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
- package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-vegY0BJm.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
- package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
- package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
- package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
- package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
- package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
- package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
- package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
- package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
- package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
- package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
- package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
- package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
- package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
- package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
- package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
- package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
- package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
- package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
- package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
- package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
- package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
- package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
- package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
- package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
- package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
- package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
- package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
- package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
- package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
- package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
- package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
- package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
- package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
- package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
- package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
- package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
- package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
- package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
- package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
- package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
- package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
- package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
- package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
- package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
- package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
- package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
- package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
- package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
- package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
- package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
- package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
- package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
- package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
- package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
- package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
- package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
- package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
- package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
- package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
- package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
- package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
- package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
- package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
- package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
- package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
- package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
- package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
- package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
- package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
- package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
- package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
- package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
- package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
- package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
- package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
- package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
- package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
- package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
- package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
- package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
- package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
- package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-Cx-40Fnz.cjs +0 -4
- package/dist/usePrinter-D9bNzUQP.js +0 -513
- package/dist/usePrinter-DbhL59iY.cjs +0 -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-nested-donuts-C3CMWjgk.cjs +0 -17
- 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-table-heatmap-BnwiB4id.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-word-cloud-D5JLdr9g.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-D2epy0rJ.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-DJ2FNrSN.js";
|
|
5
|
+
import { u as pt, U as gt } from "./usePrinter-B6qtXaHk.js";
|
|
6
|
+
import { _ as yt } from "./Tooltip-CQpXRqRC.js";
|
|
7
|
+
import { L as ze } from "./Legend-D3hovFqM.js";
|
|
8
|
+
import ft from "./vue-ui-skeleton-BLiYyX95.js";
|
|
9
|
+
import bt from "./BaseIcon-B9istAKo.js";
|
|
10
|
+
import mt from "./vue-ui-accordion-DzTB2FL0.js";
|
|
11
|
+
import { u as Fe } from "./useNestedProp-C_ZrJBd9.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
|
+
"3c6d5f9e": 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}`,
|
|
@@ -381,9 +381,10 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
381
381
|
isTooltip: $.value.showTooltip,
|
|
382
382
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
383
383
|
chartElement: X.value,
|
|
384
|
+
position: e.value.userOptions.position,
|
|
384
385
|
onToggleFullscreen: je,
|
|
385
386
|
onGeneratePdf: h(pe),
|
|
386
|
-
onGenerateCsv:
|
|
387
|
+
onGenerateCsv: Ce,
|
|
387
388
|
onGenerateImage: h(ge),
|
|
388
389
|
onToggleTable: Te,
|
|
389
390
|
onToggleSort: Le,
|
|
@@ -391,78 +392,78 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
391
392
|
}, Je({ _: 2 }, [
|
|
392
393
|
a.$slots.optionTooltip ? {
|
|
393
394
|
name: "optionTooltip",
|
|
394
|
-
fn:
|
|
395
|
-
|
|
395
|
+
fn: x(() => [
|
|
396
|
+
k(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
396
397
|
]),
|
|
397
398
|
key: "0"
|
|
398
399
|
} : void 0,
|
|
399
400
|
a.$slots.optionPdf ? {
|
|
400
401
|
name: "optionPdf",
|
|
401
|
-
fn:
|
|
402
|
-
|
|
402
|
+
fn: x(() => [
|
|
403
|
+
k(a.$slots, "optionPdf", {}, void 0, !0)
|
|
403
404
|
]),
|
|
404
405
|
key: "1"
|
|
405
406
|
} : void 0,
|
|
406
407
|
a.$slots.optionCsv ? {
|
|
407
408
|
name: "optionCsv",
|
|
408
|
-
fn:
|
|
409
|
-
|
|
409
|
+
fn: x(() => [
|
|
410
|
+
k(a.$slots, "optionCsv", {}, void 0, !0)
|
|
410
411
|
]),
|
|
411
412
|
key: "2"
|
|
412
413
|
} : void 0,
|
|
413
414
|
a.$slots.optionImg ? {
|
|
414
415
|
name: "optionImg",
|
|
415
|
-
fn:
|
|
416
|
-
|
|
416
|
+
fn: x(() => [
|
|
417
|
+
k(a.$slots, "optionImg", {}, void 0, !0)
|
|
417
418
|
]),
|
|
418
419
|
key: "3"
|
|
419
420
|
} : void 0,
|
|
420
421
|
a.$slots.optionTable ? {
|
|
421
422
|
name: "optionTable",
|
|
422
|
-
fn:
|
|
423
|
-
|
|
423
|
+
fn: x(() => [
|
|
424
|
+
k(a.$slots, "optionTable", {}, void 0, !0)
|
|
424
425
|
]),
|
|
425
426
|
key: "4"
|
|
426
427
|
} : void 0,
|
|
427
428
|
a.$slots.optionLabels ? {
|
|
428
429
|
name: "optionLabels",
|
|
429
|
-
fn:
|
|
430
|
-
|
|
430
|
+
fn: x(() => [
|
|
431
|
+
k(a.$slots, "optionLabels", {}, void 0, !0)
|
|
431
432
|
]),
|
|
432
433
|
key: "5"
|
|
433
434
|
} : void 0,
|
|
434
435
|
a.$slots.optionSort ? {
|
|
435
436
|
name: "optionSort",
|
|
436
|
-
fn:
|
|
437
|
-
|
|
437
|
+
fn: x(() => [
|
|
438
|
+
k(a.$slots, "optionSort", {}, void 0, !0)
|
|
438
439
|
]),
|
|
439
440
|
key: "6"
|
|
440
441
|
} : void 0,
|
|
441
442
|
a.$slots.optionFullscreen ? {
|
|
442
443
|
name: "optionFullscreen",
|
|
443
|
-
fn:
|
|
444
|
-
|
|
444
|
+
fn: x(({ toggleFullscreen: t, isFullscreen: o }) => [
|
|
445
|
+
k(a.$slots, "optionFullscreen", K(J({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
|
|
445
446
|
]),
|
|
446
447
|
key: "7"
|
|
447
448
|
} : void 0
|
|
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
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
|
|
450
|
+
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), c("div", {
|
|
450
451
|
key: 2,
|
|
451
452
|
ref_key: "chartLegend",
|
|
452
453
|
ref: ae
|
|
453
454
|
}, [
|
|
454
|
-
(
|
|
455
|
+
(u(), R(ze, {
|
|
455
456
|
key: `legend_top_${le.value}`,
|
|
456
457
|
legendSet: z.value,
|
|
457
|
-
config:
|
|
458
|
+
config: xe.value,
|
|
458
459
|
onClickMarker: l[0] || (l[0] = ({ legend: t }) => A(t.id))
|
|
459
460
|
}, {
|
|
460
|
-
item:
|
|
461
|
-
|
|
461
|
+
item: x(({ legend: t, index: o }) => [
|
|
462
|
+
n("div", {
|
|
462
463
|
"data-cy-legend-item": "",
|
|
463
464
|
onClick: (f) => A(t.id),
|
|
464
|
-
style:
|
|
465
|
-
},
|
|
465
|
+
style: i(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
|
|
466
|
+
}, r(t.name) + ": " + r(h(Z)(
|
|
466
467
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
467
468
|
t.value,
|
|
468
469
|
h(I)({
|
|
@@ -472,36 +473,36 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
472
473
|
r: e.value.style.chart.legend.roundingValue
|
|
473
474
|
}),
|
|
474
475
|
{ datapoint: t, seriesIndex: o }
|
|
475
|
-
)), 13,
|
|
476
|
+
)), 13, kt)
|
|
476
477
|
]),
|
|
477
478
|
_: 1
|
|
478
479
|
}, 8, ["legendSet", "config"]))
|
|
479
480
|
], 512)) : m("", !0),
|
|
480
|
-
W.value ? (
|
|
481
|
+
W.value ? (u(), c("svg", {
|
|
481
482
|
key: 3,
|
|
482
|
-
xmlns: h(
|
|
483
|
+
xmlns: h(nt),
|
|
483
484
|
class: D({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
|
|
484
485
|
viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
|
|
485
|
-
style:
|
|
486
|
+
style: i(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
486
487
|
}, [
|
|
487
|
-
(
|
|
488
|
+
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("linearGradient", {
|
|
488
489
|
x1: "0%",
|
|
489
490
|
y1: "0%",
|
|
490
491
|
x2: "100%",
|
|
491
492
|
y2: "0%",
|
|
492
493
|
id: `vertical_bar_gradient_${V.value}_${o}`
|
|
493
494
|
}, [
|
|
494
|
-
|
|
495
|
+
n("stop", {
|
|
495
496
|
offset: "0%",
|
|
496
497
|
"stop-color": t.color
|
|
497
|
-
}, null, 8,
|
|
498
|
-
|
|
498
|
+
}, null, 8, Ct),
|
|
499
|
+
n("stop", {
|
|
499
500
|
offset: "100%",
|
|
500
|
-
"stop-color": h(se)(h(
|
|
501
|
+
"stop-color": h(se)(h(ut)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
|
|
501
502
|
}, null, 8, Tt)
|
|
502
|
-
], 8,
|
|
503
|
-
(
|
|
504
|
-
|
|
503
|
+
], 8, wt))), 256)),
|
|
504
|
+
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("g", null, [
|
|
505
|
+
n("rect", {
|
|
505
506
|
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
507
|
y: s.value.top + (g.value + v.value) * o,
|
|
507
508
|
width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
|
|
@@ -511,8 +512,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
511
512
|
class: D({ animated: e.value.useCssAnimation })
|
|
512
513
|
}, null, 10, Lt)
|
|
513
514
|
]))), 256)),
|
|
514
|
-
(
|
|
515
|
-
|
|
515
|
+
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("g", null, [
|
|
516
|
+
n("rect", {
|
|
516
517
|
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
518
|
y: s.value.top + (g.value + v.value) * o,
|
|
518
519
|
width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
|
|
@@ -523,7 +524,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
523
524
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
524
525
|
class: D({ animated: e.value.useCssAnimation })
|
|
525
526
|
}, null, 10, Nt),
|
|
526
|
-
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (
|
|
527
|
+
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), c("line", {
|
|
527
528
|
key: 0,
|
|
528
529
|
x1: 0,
|
|
529
530
|
x2: s.value.left,
|
|
@@ -533,7 +534,7 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
533
534
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
534
535
|
"stroke-linecap": "round"
|
|
535
536
|
}, null, 8, Pt)) : m("", !0),
|
|
536
|
-
O.value && e.value.style.chart.layout.separators.show ? (
|
|
537
|
+
O.value && e.value.style.chart.layout.separators.show ? (u(), c("line", {
|
|
537
538
|
key: 1,
|
|
538
539
|
x1: s.value.left + s.value.width / 2,
|
|
539
540
|
x2: s.value.left + s.value.width / 2,
|
|
@@ -543,15 +544,15 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
543
544
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
544
545
|
"stroke-linecap": "round"
|
|
545
546
|
}, null, 8, St)) : m("", !0),
|
|
546
|
-
|
|
547
|
+
n("text", {
|
|
547
548
|
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
549
|
y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
549
550
|
"text-anchor": !O.value || t.sign === -1 ? "start" : "end",
|
|
550
551
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
551
552
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
552
553
|
"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 ? (
|
|
554
|
+
}, r(we(t.value, t, o, t.sign)), 9, Vt),
|
|
555
|
+
(t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), c("text", {
|
|
555
556
|
key: 2,
|
|
556
557
|
"text-anchor": "end",
|
|
557
558
|
x: s.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
|
|
@@ -559,8 +560,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
559
560
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
560
561
|
fill: e.value.style.chart.layout.bars.nameLabels.color,
|
|
561
562
|
"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 ? (
|
|
563
|
+
}, r(t.name), 9, zt)) : m("", !0),
|
|
564
|
+
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
|
|
564
565
|
key: 3,
|
|
565
566
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
566
567
|
y: E(t, o).y,
|
|
@@ -568,8 +569,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
568
569
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
569
570
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
570
571
|
"text-anchor": "start"
|
|
571
|
-
},
|
|
572
|
-
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (
|
|
572
|
+
}, r(E(t, o).name), 9, Ft)) : m("", !0),
|
|
573
|
+
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
|
|
573
574
|
key: 4,
|
|
574
575
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
575
576
|
y: E(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
|
|
@@ -577,8 +578,8 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
577
578
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
578
579
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
579
580
|
"text-anchor": "start"
|
|
580
|
-
},
|
|
581
|
-
|
|
581
|
+
}, r(we(E(t, o).value), E(t, o), o, t.parentSign || t.sign), 9, Mt)) : m("", !0),
|
|
582
|
+
n("rect", {
|
|
582
583
|
"data-cy-trap": "",
|
|
583
584
|
x: 0,
|
|
584
585
|
y: s.value.top + (g.value + v.value) * o - g.value / 2,
|
|
@@ -591,12 +592,12 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
591
592
|
})
|
|
592
593
|
}, null, 40, It)
|
|
593
594
|
]))), 256)),
|
|
594
|
-
|
|
595
|
+
k(a.$slots, "svg", { svg: y.value }, void 0, !0)
|
|
595
596
|
], 14, $t)) : m("", !0),
|
|
596
|
-
a.$slots.watermark ? (
|
|
597
|
-
|
|
597
|
+
a.$slots.watermark ? (u(), c("div", Bt, [
|
|
598
|
+
k(a.$slots, "watermark", K(J({ isPrinting: h(ve) || h(he) })), void 0, !0)
|
|
598
599
|
])) : m("", !0),
|
|
599
|
-
W.value ? m("", !0) : (
|
|
600
|
+
W.value ? m("", !0) : (u(), R(ft, {
|
|
600
601
|
key: 5,
|
|
601
602
|
config: {
|
|
602
603
|
type: "verticalBar",
|
|
@@ -611,22 +612,22 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
611
612
|
}
|
|
612
613
|
}
|
|
613
614
|
}, null, 8, ["config"])),
|
|
614
|
-
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (
|
|
615
|
+
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), c("div", {
|
|
615
616
|
key: 6,
|
|
616
617
|
ref_key: "chartLegend",
|
|
617
618
|
ref: ae
|
|
618
619
|
}, [
|
|
619
|
-
(
|
|
620
|
+
(u(), R(ze, {
|
|
620
621
|
key: `legend_bottom_${le.value}`,
|
|
621
622
|
legendSet: z.value,
|
|
622
|
-
config:
|
|
623
|
+
config: xe.value,
|
|
623
624
|
onClickMarker: l[2] || (l[2] = ({ legend: t }) => A(t.id))
|
|
624
625
|
}, {
|
|
625
|
-
item:
|
|
626
|
-
|
|
626
|
+
item: x(({ legend: t, index: o }) => [
|
|
627
|
+
n("div", {
|
|
627
628
|
onClick: (f) => A(t.id),
|
|
628
|
-
style:
|
|
629
|
-
},
|
|
629
|
+
style: i(`opacity:${T.value.includes(t.id) ? 0.5 : 1}`)
|
|
630
|
+
}, r(t.name) + ": " + r(h(Z)(
|
|
630
631
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
631
632
|
t.value,
|
|
632
633
|
h(I)({
|
|
@@ -641,9 +642,9 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
641
642
|
_: 1
|
|
642
643
|
}, 8, ["legendSet", "config"]))
|
|
643
644
|
], 512)) : m("", !0),
|
|
644
|
-
|
|
645
|
+
k(a.$slots, "legend", { legend: z.value }, void 0, !0),
|
|
645
646
|
Se(yt, {
|
|
646
|
-
show: $.value.showTooltip && ee.value && T.value.length <
|
|
647
|
+
show: $.value.showTooltip && ee.value && T.value.length < w.dataset.length,
|
|
647
648
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
648
649
|
color: e.value.style.chart.tooltip.color,
|
|
649
650
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -657,15 +658,15 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
657
658
|
content: te.value,
|
|
658
659
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
659
660
|
}, {
|
|
660
|
-
"tooltip-before":
|
|
661
|
-
|
|
661
|
+
"tooltip-before": x(() => [
|
|
662
|
+
k(a.$slots, "tooltip-before", K(J({ ...ne.value })), void 0, !0)
|
|
662
663
|
]),
|
|
663
|
-
"tooltip-after":
|
|
664
|
-
|
|
664
|
+
"tooltip-after": x(() => [
|
|
665
|
+
k(a.$slots, "tooltip-after", K(J({ ...ne.value })), void 0, !0)
|
|
665
666
|
]),
|
|
666
667
|
_: 3
|
|
667
668
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
668
|
-
W.value ? (
|
|
669
|
+
W.value ? (u(), R(mt, {
|
|
669
670
|
key: 7,
|
|
670
671
|
hideDetails: "",
|
|
671
672
|
config: {
|
|
@@ -681,17 +682,17 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
681
682
|
}
|
|
682
683
|
}
|
|
683
684
|
}, {
|
|
684
|
-
content:
|
|
685
|
-
|
|
685
|
+
content: x(() => [
|
|
686
|
+
n("div", {
|
|
686
687
|
ref_key: "tableContainer",
|
|
687
688
|
ref: fe,
|
|
688
689
|
class: "vue-ui-vertical-bar-table"
|
|
689
690
|
}, [
|
|
690
|
-
|
|
691
|
-
|
|
691
|
+
n("div", Dt, [
|
|
692
|
+
n("div", {
|
|
692
693
|
role: "button",
|
|
693
694
|
tabindex: "0",
|
|
694
|
-
style:
|
|
695
|
+
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
696
|
onClick: l[3] || (l[3] = (t) => $.value.showTable = !1),
|
|
696
697
|
onKeypress: l[4] || (l[4] = Qe((t) => $.value.showTable = !1, ["enter"]))
|
|
697
698
|
}, [
|
|
@@ -701,112 +702,112 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
701
702
|
"stroke-width": 2
|
|
702
703
|
}, null, 8, ["stroke"])
|
|
703
704
|
], 36),
|
|
704
|
-
|
|
705
|
+
n("div", {
|
|
705
706
|
style: { width: "100%", "container-type": "inline-size" },
|
|
706
707
|
class: D({ "vue-ui-responsive": be.value })
|
|
707
708
|
}, [
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
style:
|
|
709
|
+
n("table", Rt, [
|
|
710
|
+
n("caption", {
|
|
711
|
+
style: i({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
711
712
|
class: "vue-ui-data-table__caption"
|
|
712
713
|
}, [
|
|
713
|
-
Ze(
|
|
714
|
-
e.value.style.chart.title.subtitle.text ? (
|
|
714
|
+
Ze(r(e.value.style.chart.title.text) + " ", 1),
|
|
715
|
+
e.value.style.chart.title.subtitle.text ? (u(), c("span", Xt, r(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
|
|
715
716
|
], 4),
|
|
716
|
-
|
|
717
|
-
|
|
717
|
+
n("thead", null, [
|
|
718
|
+
n("tr", {
|
|
718
719
|
role: "row",
|
|
719
|
-
style:
|
|
720
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
720
721
|
}, [
|
|
721
|
-
(
|
|
722
|
-
style:
|
|
722
|
+
(u(!0), c(U, null, H(C.value.head, (t) => (u(), c("th", {
|
|
723
|
+
style: i(`outline:${e.value.table.th.outline}`)
|
|
723
724
|
}, [
|
|
724
|
-
|
|
725
|
+
n("div", At, r(t), 1)
|
|
725
726
|
], 4))), 256))
|
|
726
727
|
], 4),
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
style:
|
|
728
|
+
n("tr", null, [
|
|
729
|
+
n("th", {
|
|
730
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
730
731
|
}, null, 4),
|
|
731
|
-
|
|
732
|
-
style:
|
|
733
|
-
}, "∑ " +
|
|
734
|
-
|
|
735
|
-
style:
|
|
732
|
+
n("th", {
|
|
733
|
+
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`)
|
|
734
|
+
}, "∑ " + 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),
|
|
735
|
+
n("th", {
|
|
736
|
+
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
737
|
}, "100%", 4),
|
|
737
|
-
|
|
738
|
-
style:
|
|
738
|
+
n("th", {
|
|
739
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
739
740
|
}, null, 4),
|
|
740
|
-
|
|
741
|
-
style:
|
|
741
|
+
n("th", {
|
|
742
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
742
743
|
}, null, 4),
|
|
743
|
-
|
|
744
|
-
style:
|
|
744
|
+
n("th", {
|
|
745
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
745
746
|
}, null, 4),
|
|
746
|
-
|
|
747
|
-
style:
|
|
747
|
+
n("th", {
|
|
748
|
+
style: i(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
748
749
|
}, null, 4)
|
|
749
750
|
])
|
|
750
751
|
]),
|
|
751
|
-
|
|
752
|
-
(
|
|
752
|
+
n("tbody", null, [
|
|
753
|
+
(u(!0), c(U, null, H(C.value.body, (t, o) => (u(), c("tr", {
|
|
753
754
|
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:
|
|
755
|
+
style: i(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
755
756
|
}, [
|
|
756
|
-
|
|
757
|
+
n("td", {
|
|
757
758
|
class: "vue-ui-data-table__tbody__td",
|
|
758
|
-
style:
|
|
759
|
-
"data-cell":
|
|
759
|
+
style: i(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
760
|
+
"data-cell": C.value.head[0] ?? ""
|
|
760
761
|
}, [
|
|
761
|
-
|
|
762
|
-
t.color ? (
|
|
762
|
+
n("div", Gt, [
|
|
763
|
+
t.color ? (u(), c("span", {
|
|
763
764
|
key: 0,
|
|
764
|
-
style:
|
|
765
|
+
style: i(`color:${t.color};margin-right:3px`)
|
|
765
766
|
}, "⬤", 4)) : m("", !0),
|
|
766
|
-
|
|
767
|
+
n("span", null, r(t.parentName), 1)
|
|
767
768
|
])
|
|
768
769
|
], 12, Et),
|
|
769
|
-
|
|
770
|
+
n("td", {
|
|
770
771
|
class: "vue-ui-data-table__tbody__td",
|
|
771
|
-
style:
|
|
772
|
-
"data-cell":
|
|
772
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
773
|
+
"data-cell": C.value.head[1] ?? ""
|
|
773
774
|
}, [
|
|
774
|
-
|
|
775
|
+
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
776
|
], 12, Ut),
|
|
776
|
-
|
|
777
|
+
n("td", {
|
|
777
778
|
class: "vue-ui-data-table__tbody__td",
|
|
778
|
-
style:
|
|
779
|
-
"data-cell":
|
|
779
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
780
|
+
"data-cell": C.value.head[2] ?? ""
|
|
780
781
|
}, [
|
|
781
|
-
|
|
782
|
+
n("div", jt, r(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
782
783
|
], 12, Wt),
|
|
783
|
-
|
|
784
|
+
n("td", {
|
|
784
785
|
class: "vue-ui-data-table__tbody__td",
|
|
785
|
-
style:
|
|
786
|
-
"data-cell":
|
|
786
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
787
|
+
"data-cell": C.value.head[3] ?? ""
|
|
787
788
|
}, [
|
|
788
|
-
|
|
789
|
+
n("div", qt, r(t.childName), 1)
|
|
789
790
|
], 12, Yt),
|
|
790
|
-
|
|
791
|
+
n("td", {
|
|
791
792
|
class: "vue-ui-data-table__tbody__td",
|
|
792
|
-
style:
|
|
793
|
-
"data-cell":
|
|
793
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
794
|
+
"data-cell": C.value.head[4] ?? ""
|
|
794
795
|
}, [
|
|
795
|
-
|
|
796
|
+
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
797
|
], 12, Kt),
|
|
797
|
-
|
|
798
|
+
n("td", {
|
|
798
799
|
class: "vue-ui-data-table__tbody__td",
|
|
799
|
-
style:
|
|
800
|
-
"data-cell":
|
|
800
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
801
|
+
"data-cell": C.value.head[5] ?? ""
|
|
801
802
|
}, [
|
|
802
|
-
|
|
803
|
+
n("div", Zt, r(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
803
804
|
], 12, Qt),
|
|
804
|
-
|
|
805
|
+
n("td", {
|
|
805
806
|
class: "vue-ui-data-table__tbody__td",
|
|
806
|
-
style:
|
|
807
|
-
"data-cell":
|
|
807
|
+
style: i(`outline:${e.value.table.td.outline}`),
|
|
808
|
+
"data-cell": C.value.head[6] ?? ""
|
|
808
809
|
}, [
|
|
809
|
-
|
|
810
|
+
n("div", ta, r(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
810
811
|
], 12, ea)
|
|
811
812
|
], 6))), 256))
|
|
812
813
|
])
|
|
@@ -817,9 +818,9 @@ const kt = ["id"], xt = ["onClick"], $t = ["xmlns", "viewBox"], Ct = ["id"], wt
|
|
|
817
818
|
]),
|
|
818
819
|
_: 1
|
|
819
820
|
}, 8, ["config"])) : m("", !0)
|
|
820
|
-
], 14,
|
|
821
|
+
], 14, xt));
|
|
821
822
|
}
|
|
822
|
-
}, ga = /* @__PURE__ */ _t(aa, [["__scopeId", "data-v-
|
|
823
|
+
}, ga = /* @__PURE__ */ _t(aa, [["__scopeId", "data-v-c7a8f3aa"]]);
|
|
823
824
|
export {
|
|
824
825
|
ga as default
|
|
825
826
|
};
|