vue-data-ui 2.3.60 → 2.3.62
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-BJ47KXjY.js → Arrow-Dho8ylDy.js} +1 -1
- package/dist/{Arrow-VxZlHkwt.cjs → Arrow-ov-EIAPu.cjs} +1 -1
- package/dist/{BaseIcon-Bv5uh10R.cjs → BaseIcon-B6v-Txn-.cjs} +1 -1
- package/dist/{BaseIcon-Fm7sUbd2.js → BaseIcon-BNStcP8c.js} +1 -1
- package/dist/{DataTable-1VV0us-8.js → DataTable-luIjNnne.js} +2 -2
- package/dist/{DataTable-CPAt686N.cjs → DataTable-yf_eyv8c.cjs} +1 -1
- package/dist/{Legend-BJ2Mynop.cjs → Legend-6JY5pUsT.cjs} +1 -1
- package/dist/{Legend-DB6v_LvZ.js → Legend-B9dawQa7.js} +1 -1
- package/dist/{Shape-DWZSJJ6-.cjs → Shape-BoXM3HKY.cjs} +1 -1
- package/dist/{Shape-B_f1_6Ob.js → Shape-BsAETTif.js} +1 -1
- package/dist/Slicer-DoMAeSUY.cjs +1 -0
- package/dist/{Slicer-CHiUxRAh.js → Slicer-iGmqxtRQ.js} +51 -54
- package/dist/{Title-CR-JDJwq.cjs → Title-CBcoQe02.cjs} +1 -1
- package/dist/{Title-xP0rAF4q.js → Title-fb3BzoXj.js} +1 -1
- package/dist/{Tooltip-B4DNihSF.cjs → Tooltip-BhuD1Kc5.cjs} +1 -1
- package/dist/{Tooltip-DfBa_7Ur.js → Tooltip-CBugtvWB.js} +5 -5
- package/dist/{index-CpHoINpJ.js → index-BshV7sX1.js} +538 -515
- package/dist/{index-CDK3omwG.cjs → index-D2ZScauW.cjs} +4 -4
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BOjw3Yqn.js → useNestedProp-B235bkr5.js} +1 -1
- package/dist/{useNestedProp-CaaW8JIS.cjs → useNestedProp-BU7yyXFA.cjs} +1 -1
- package/dist/{usePrinter-BHy-mfVg.js → usePrinter-Culo-aKo.js} +1 -1
- package/dist/{usePrinter-vQu-8tRD.cjs → usePrinter-eqT4IYET.cjs} +1 -1
- package/dist/{vue-data-ui-Ccdrn4OV.cjs → vue-data-ui-B7ebF4_E.cjs} +1 -1
- package/dist/{vue-data-ui-Dcg7DPMn.js → vue-data-ui-aJ6K70wA.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +7 -7
- package/dist/{vue-ui-3d-bar-BqtnNU7h.js → vue-ui-3d-bar-BYgxIW27.js} +7 -7
- package/dist/{vue-ui-3d-bar-DdBlV5AX.cjs → vue-ui-3d-bar-DFv8qpsI.cjs} +1 -1
- package/dist/{vue-ui-accordion-BZloYo0L.js → vue-ui-accordion-B6AxEnAr.js} +3 -3
- package/dist/{vue-ui-accordion-EVAolVkD.cjs → vue-ui-accordion-BhCJcWDd.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BBRjCRtS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CTxkOn4v.js → vue-ui-age-pyramid-yZrvdnPP.js} +226 -226
- package/dist/{vue-ui-annotator-D_AK0JCi.cjs → vue-ui-annotator-CEVmAufb.cjs} +1 -1
- package/dist/{vue-ui-annotator-BDWKiQ6S.js → vue-ui-annotator-ZKUlOqUq.js} +1 -1
- package/dist/{vue-ui-candlestick-CIKgu0F2.cjs → vue-ui-candlestick-CUNLZRIM.cjs} +2 -2
- package/dist/{vue-ui-candlestick-ByA9FGZb.js → vue-ui-candlestick-De4WgpPk.js} +158 -158
- package/dist/{vue-ui-carousel-table-ez9gbOZ7.cjs → vue-ui-carousel-table-C968uL6J.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BnYxbq5A.js → vue-ui-carousel-table-DJ0AWPea.js} +4 -4
- package/dist/{vue-ui-chestnut-BumsSmCv.js → vue-ui-chestnut-Cl0UKWsI.js} +65 -64
- package/dist/{vue-ui-chestnut-CnYqa2Fx.cjs → vue-ui-chestnut-DmjmL02K.cjs} +3 -3
- package/dist/{vue-ui-cursor-D-4-MMw7.js → vue-ui-cursor-BWyE3tgm.js} +2 -2
- package/dist/{vue-ui-cursor-Drl8jibt.cjs → vue-ui-cursor-D5XEblLW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CX0jA181.cjs → vue-ui-dashboard-BJLi81kg.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_iV-3hq.js → vue-ui-dashboard-D9dQIIti.js} +2 -2
- package/dist/{vue-ui-digits-DMhl9plv.js → vue-ui-digits-DkYpomD9.js} +2 -2
- package/dist/{vue-ui-digits-RAZl_4Kb.cjs → vue-ui-digits-IIiSTczs.cjs} +1 -1
- package/dist/{vue-ui-donut-BG28U01c.cjs → vue-ui-donut-Bq66xmG0.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DPU-Nd8y.js → vue-ui-donut-evolution-Bto1ZaWx.js} +95 -95
- package/dist/vue-ui-donut-evolution-CNVUtEEk.cjs +1 -0
- package/dist/{vue-ui-donut-BpQC9-Uz.js → vue-ui-donut-uujhj36t.js} +42 -42
- package/dist/vue-ui-dumbbell-CLNVYG0j.cjs +9 -0
- package/dist/{vue-ui-dumbbell-C4JnuC1b.js → vue-ui-dumbbell-D6Xyfvff.js} +72 -72
- package/dist/vue-ui-flow-BwrqexSU.cjs +1 -0
- package/dist/vue-ui-flow-Cg4oKZz8.js +469 -0
- package/dist/{vue-ui-galaxy-148JtEdK.js → vue-ui-galaxy-D_s9dfYN.js} +91 -91
- package/dist/vue-ui-galaxy-DixlciaO.cjs +1 -0
- package/dist/{vue-ui-gauge-DOJ98R_N.js → vue-ui-gauge-DGQVW6UO.js} +84 -84
- package/dist/vue-ui-gauge-Jse5ZYyj.cjs +1 -0
- package/dist/{vue-ui-gizmo-KeWvd226.js → vue-ui-gizmo-DDTaLaSI.js} +2 -2
- package/dist/{vue-ui-gizmo-a6WNWyf7.cjs → vue-ui-gizmo-sgq75uBG.cjs} +1 -1
- package/dist/vue-ui-heatmap-4-gnNgQ_.cjs +1 -0
- package/dist/{vue-ui-heatmap-BGsSOTPJ.js → vue-ui-heatmap-Dvd5ZGVw.js} +257 -239
- package/dist/{vue-ui-kpi-Dhah6Fgx.cjs → vue-ui-kpi-Co1WqN3k.cjs} +1 -1
- package/dist/{vue-ui-kpi-Leb1rK38.js → vue-ui-kpi-aLwUkIjv.js} +3 -3
- package/dist/{vue-ui-mini-loader-BLH4ncUB.js → vue-ui-mini-loader-Bm2xpTIh.js} +2 -2
- package/dist/{vue-ui-mini-loader-Dpa9uYkn.cjs → vue-ui-mini-loader-D98KCpoT.cjs} +1 -1
- package/dist/{vue-ui-molecule-DjvOvDUa.cjs → vue-ui-molecule-C3-9ojnv.cjs} +1 -1
- package/dist/{vue-ui-molecule-DuPAOQcj.js → vue-ui-molecule-Dv4hYPVd.js} +20 -20
- package/dist/{vue-ui-mood-radar-AOHK6R10.cjs → vue-ui-mood-radar-Dh3Q2NiI.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BmcIz0JR.js → vue-ui-mood-radar-DsIPsXTh.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CMmcmAd9.cjs → vue-ui-nested-donuts-CFC8tyGY.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-BYLc86qs.js → vue-ui-nested-donuts-CZ9vcclX.js} +120 -120
- package/dist/{vue-ui-onion-BjG8xbMh.cjs → vue-ui-onion-BLV33CBr.cjs} +1 -1
- package/dist/{vue-ui-onion-shZ4g9mJ.js → vue-ui-onion-CI9ARfRM.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-O7lS6u2q.cjs → vue-ui-parallel-coordinate-plot-CIhpHeCI.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-wv0O9t7U.js → vue-ui-parallel-coordinate-plot-CxzFJuza.js} +69 -69
- package/dist/{vue-ui-quadrant-CuB8sYgF.cjs → vue-ui-quadrant-CS3LAiCu.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BRF5Czj4.js → vue-ui-quadrant-DenUcNcS.js} +36 -36
- package/dist/{vue-ui-quick-chart-BQdUHrm2.js → vue-ui-quick-chart-BdpKv0ES.js} +549 -515
- package/dist/vue-ui-quick-chart-UxaO0jzI.cjs +15 -0
- package/dist/vue-ui-radar-CQ-LymAS.cjs +1 -0
- package/dist/{vue-ui-radar-CLUs0tD9.js → vue-ui-radar-Dd24aGwh.js} +59 -59
- package/dist/{vue-ui-rating-Dcy1l1PB.js → vue-ui-rating-CQWK2lk1.js} +9 -9
- package/dist/{vue-ui-rating-CA25nHJe.cjs → vue-ui-rating-DTuDjrt8.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DC-RFa9X.js → vue-ui-relation-circle-BcOzK8Iz.js} +5 -5
- package/dist/{vue-ui-relation-circle-Drr6Gdnq.cjs → vue-ui-relation-circle-DMhNCwpg.cjs} +1 -1
- package/dist/vue-ui-rings--pu1fIcl.cjs +2 -0
- package/dist/{vue-ui-rings-DbPbelCU.js → vue-ui-rings-yyFx2W1b.js} +188 -185
- package/dist/{vue-ui-scatter-D2jYZ4Wu.js → vue-ui-scatter-BV4sXNqz.js} +378 -375
- package/dist/{vue-ui-scatter-xyLvaw0d.cjs → vue-ui-scatter-CrmsJjjl.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DXCBzrPZ.js → vue-ui-screenshot-C6wYv3cc.js} +6 -6
- package/dist/{vue-ui-screenshot-DGqjaE1x.cjs → vue-ui-screenshot-eoAWixSo.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DuM6yey6.js → vue-ui-skeleton-7qakoAGH.js} +23 -23
- package/dist/{vue-ui-skeleton-DRDC3yxK.cjs → vue-ui-skeleton-BLhbQje-.cjs} +1 -1
- package/dist/{vue-ui-smiley-DQrvx_S9.js → vue-ui-smiley-DG3_ORXA.js} +2 -2
- package/dist/{vue-ui-smiley-BCmY1siL.cjs → vue-ui-smiley-sS92V85O.cjs} +1 -1
- package/dist/vue-ui-spark-trend-C9Ii4Ue5.cjs +1 -0
- package/dist/vue-ui-spark-trend-D8_rEspZ.js +251 -0
- package/dist/{vue-ui-sparkbar-C_vNsxM_.cjs → vue-ui-sparkbar-CQz9GWxh.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DiU5Yt-V.js → vue-ui-sparkbar-DuNNnbs9.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BnF9Vbs0.js → vue-ui-sparkgauge-Buo2ms6b.js} +64 -64
- package/dist/vue-ui-sparkgauge-Dxsnkehz.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-BUBwn9A4.cjs → vue-ui-sparkhistogram-Cw-w_Rhv.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CsOfCo_3.js → vue-ui-sparkhistogram-edeeQ1HN.js} +4 -4
- package/dist/{vue-ui-sparkline-CoUeD8Np.cjs → vue-ui-sparkline-Cyddej9t.cjs} +1 -1
- package/dist/{vue-ui-sparkline-B628G3Nl.js → vue-ui-sparkline-DGIqGoR2.js} +25 -25
- package/dist/{vue-ui-sparkstackbar-Cr-Q7uDo.cjs → vue-ui-sparkstackbar-DN0XiDpQ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DIHGbrF5.js → vue-ui-sparkstackbar-G7Ojd39B.js} +3 -3
- package/dist/{vue-ui-stackbar-DCbJhdZy.js → vue-ui-stackbar-CfK9lv_E.js} +35 -35
- package/dist/{vue-ui-stackbar-DMyP3IRK.cjs → vue-ui-stackbar-kiZ9J1eh.cjs} +1 -1
- package/dist/vue-ui-strip-plot-Bd4NwUia.cjs +1 -0
- package/dist/{vue-ui-strip-plot-CNb3VtYF.js → vue-ui-strip-plot-d-bNHZDG.js} +64 -64
- package/dist/{vue-ui-table-CjuXpy2d.cjs → vue-ui-table-ChORiy2h.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D6px_Z1a.cjs → vue-ui-table-heatmap-BcA1TmV1.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-nbBDuSiw.js → vue-ui-table-heatmap-BcPqaYXz.js} +26 -26
- package/dist/{vue-ui-table-BqcI8E7E.js → vue-ui-table-ipCsGZPx.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Blbaz2zX.js → vue-ui-table-sparkline-BwwiWOX_.js} +13 -13
- package/dist/{vue-ui-table-sparkline-CqNPx5Zw.cjs → vue-ui-table-sparkline-dXyBTv6X.cjs} +1 -1
- package/dist/vue-ui-thermometer-DpWtOskJ.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCGHbgj9.js → vue-ui-thermometer-U5IIot6j.js} +116 -116
- package/dist/{vue-ui-timer-BjqbxjQO.cjs → vue-ui-timer-DqVQjRdU.cjs} +1 -1
- package/dist/{vue-ui-timer-DhpBvc_5.js → vue-ui-timer-cCfNkOpe.js} +4 -4
- package/dist/{vue-ui-tiremarks-CNhB7Iqe.js → vue-ui-tiremarks-BcXrnO0N.js} +71 -71
- package/dist/vue-ui-tiremarks-C8pNPR_E.cjs +1 -0
- package/dist/vue-ui-treemap-24TuOX-H.cjs +1 -0
- package/dist/{vue-ui-treemap-C4memkYu.js → vue-ui-treemap-CVCaxcwW.js} +89 -82
- package/dist/{vue-ui-vertical-bar-LZ-GMZ2T.js → vue-ui-vertical-bar-Cuz2Qxi6.js} +246 -242
- package/dist/vue-ui-vertical-bar-kZxc3vG5.cjs +4 -0
- package/dist/{vue-ui-waffle-Cd4IU62n.js → vue-ui-waffle-BVFZf7mm.js} +44 -44
- package/dist/{vue-ui-waffle-CtY5CSX9.cjs → vue-ui-waffle-X-mNfs6F.cjs} +1 -1
- package/dist/{vue-ui-wheel-Do3pWPFB.cjs → vue-ui-wheel-CWOh-9CT.cjs} +1 -1
- package/dist/{vue-ui-wheel-CaEAQhJt.js → vue-ui-wheel-SUtbKs4l.js} +5 -5
- package/dist/vue-ui-word-cloud-BE_jkp2h.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BSalPYqO.js → vue-ui-word-cloud-DAa0far7.js} +68 -65
- package/dist/vue-ui-xy-BTocPMsA.cjs +3 -0
- package/dist/{vue-ui-xy-C7tpVpGu.js → vue-ui-xy-B_dmMYPU.js} +82 -82
- package/dist/vue-ui-xy-canvas-BtuD8xjy.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-rHcYmvec.js → vue-ui-xy-canvas-jq1j84oA.js} +122 -121
- package/package.json +1 -1
- package/dist/Slicer-PPS43jOo.cjs +0 -1
- package/dist/vue-ui-age-pyramid-Ce3DbeqC.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BWvrYKlH.cjs +0 -1
- package/dist/vue-ui-dumbbell-2Lsks-8o.cjs +0 -9
- package/dist/vue-ui-flow-DBhdVKxF.cjs +0 -1
- package/dist/vue-ui-flow-DSdWqWgh.js +0 -465
- package/dist/vue-ui-galaxy-BMsdd9Rh.cjs +0 -1
- package/dist/vue-ui-gauge-fVk9B_1W.cjs +0 -1
- package/dist/vue-ui-heatmap-DFpSo2gr.cjs +0 -1
- package/dist/vue-ui-quick-chart-DsVFRO68.cjs +0 -15
- package/dist/vue-ui-radar-lcS6n5TC.cjs +0 -1
- package/dist/vue-ui-rings-DxqSAs9h.cjs +0 -2
- package/dist/vue-ui-spark-trend-B9PR0wxN.js +0 -251
- package/dist/vue-ui-spark-trend-Kj1bJmBL.cjs +0 -1
- package/dist/vue-ui-sparkgauge-SlYA1lqc.cjs +0 -1
- package/dist/vue-ui-strip-plot-Da_TQpOq.cjs +0 -1
- package/dist/vue-ui-thermometer-coTC0T6k.cjs +0 -1
- package/dist/vue-ui-tiremarks-DgbTo_Cb.cjs +0 -1
- package/dist/vue-ui-treemap-B5moKzuO.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DtkGW5Tk.cjs +0 -4
- package/dist/vue-ui-word-cloud-pzaBe3Et.cjs +0 -1
- package/dist/vue-ui-xy-BgLF5ZNP.cjs +0 -3
- package/dist/vue-ui-xy-canvas-OuDGiOOW.cjs +0 -9
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { L as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
const gt = ["id"],
|
|
1
|
+
import { useCssVars as Ge, computed as b, ref as p, onMounted as Ue, onBeforeUnmount as He, openBlock as i, createElementBlock as v, normalizeClass as O, normalizeStyle as d, createVNode as A, createCommentVNode as m, createBlock as oe, unref as y, createSlots as We, withCtx as _, renderSlot as x, normalizeProps as j, guardReactiveProps as Y, createElementVNode as u, toDisplayString as c, Fragment as E, renderList as G, withKeys as je, createTextVNode as Ye } from "vue";
|
|
2
|
+
import { u as qe, c as Ke, t as Je, a as Qe, p as z, b as Ze, o as Ce, e as q, s as T, d as ue, i as K, f as F, X as et, v as tt, w as ne, x as at, y as lt, q as ot, r as ut } from "./index-BshV7sX1.js";
|
|
3
|
+
import { t as nt, u as st } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as rt } from "./Title-fb3BzoXj.js";
|
|
5
|
+
import { u as it, U as dt } from "./usePrinter-Culo-aKo.js";
|
|
6
|
+
import { _ as ct } from "./Tooltip-CBugtvWB.js";
|
|
7
|
+
import { L as Te } from "./Legend-B9dawQa7.js";
|
|
8
|
+
import vt from "./vue-ui-skeleton-7qakoAGH.js";
|
|
9
|
+
import ht from "./BaseIcon-BNStcP8c.js";
|
|
10
|
+
import pt from "./vue-ui-accordion-B6AxEnAr.js";
|
|
11
|
+
import { u as Le } from "./useNestedProp-B235bkr5.js";
|
|
12
|
+
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t = ["stop-color"], xt = ["stop-color"], kt = ["x", "y", "width", "height", "fill", "rx"], $t = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], wt = ["x2", "y1", "y2", "stroke", "stroke-width"], Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Lt = ["x", "y", "font-size", "fill", "font-weight"], Nt = ["x", "y", "font-size", "fill", "font-weight"], Pt = ["x", "y", "font-size", "fill", "font-weight"], St = ["y", "width", "height", "fill", "onMouseenter"], Vt = {
|
|
14
14
|
key: 4,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
16
|
+
}, zt = ["onClick"], Ft = { style: "width:100%;padding-top: 36px;position:relative" }, Mt = { class: "vue-ui-data-table" }, It = { key: 0 }, Bt = { style: { width: "100%" } }, Ot = ["data-cell"], Dt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Rt = ["data-cell"], Xt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, At = ["data-cell"], Et = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Gt = ["data-cell"], Ut = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ht = ["data-cell"], Wt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jt = ["data-cell"], Yt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qt = ["data-cell"], Kt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jt = {
|
|
17
17
|
__name: "vue-ui-vertical-bar",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -30,63 +30,67 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectLegend"],
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
"
|
|
33
|
+
setup(Ne, { expose: Pe, emit: Se }) {
|
|
34
|
+
const L = Ne;
|
|
35
|
+
Ge((a) => ({
|
|
36
|
+
"7bc84c58": a.tdo
|
|
37
37
|
}));
|
|
38
|
-
const { vue_ui_vertical_bar:
|
|
39
|
-
const a =
|
|
40
|
-
userConfig:
|
|
41
|
-
defaultConfig:
|
|
38
|
+
const { vue_ui_vertical_bar: Ve } = qe(), U = b(() => !!L.dataset && L.dataset.length), P = p(Ke()), ze = p(null), J = p(!1), Q = p(""), H = p(0), Fe = p(null), se = p(0), D = p(null), re = p(null), Z = p(null), e = b(() => {
|
|
39
|
+
const a = Le({
|
|
40
|
+
userConfig: L.config,
|
|
41
|
+
defaultConfig: Ve
|
|
42
42
|
});
|
|
43
43
|
return a.theme ? {
|
|
44
|
-
...
|
|
45
|
-
userConfig:
|
|
44
|
+
...Le({
|
|
45
|
+
userConfig: Je.vue_ui_vertical_bar[a.theme] || L.config,
|
|
46
46
|
defaultConfig: a
|
|
47
47
|
}),
|
|
48
|
-
customPalette:
|
|
48
|
+
customPalette: Qe[a.theme] || z
|
|
49
49
|
} : a;
|
|
50
|
-
}), { isPrinting:
|
|
50
|
+
}), { isPrinting: ie, isImaging: de, generatePdf: ce, generateImage: ve } = it({
|
|
51
51
|
elementId: `vue-ui-vertical-bar_${P.value}`,
|
|
52
52
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
53
|
-
}),
|
|
54
|
-
|
|
55
|
-
if (
|
|
53
|
+
}), he = b(() => Ze(e.value.customPalette)), pe = p(null), ye = p(!1), Me = b(() => e.value.table.responsiveBreakpoint), W = p(null);
|
|
54
|
+
Ue(() => {
|
|
55
|
+
if (Ce(L.dataset) && q({
|
|
56
56
|
componentName: "VueUiVerticalBar",
|
|
57
57
|
type: "dataset"
|
|
58
|
-
}), H.value =
|
|
59
|
-
const a =
|
|
60
|
-
const { width: l, height: t } =
|
|
61
|
-
chart:
|
|
62
|
-
title: e.value.style.chart.title.text ?
|
|
63
|
-
legend: e.value.style.chart.legend.show ?
|
|
58
|
+
}), H.value = L.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Ie(), e.value.responsive) {
|
|
59
|
+
const a = nt(() => {
|
|
60
|
+
const { width: l, height: t } = st({
|
|
61
|
+
chart: D.value,
|
|
62
|
+
title: e.value.style.chart.title.text ? re.value : null,
|
|
63
|
+
legend: e.value.style.chart.legend.show ? Z.value : null
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
be.value = l, h.value = t / H.value - f.value * 2;
|
|
66
66
|
});
|
|
67
|
-
|
|
67
|
+
W.value = new ResizeObserver(a), W.value.observe(D.value.parentNode);
|
|
68
68
|
}
|
|
69
69
|
}), He(() => {
|
|
70
|
-
|
|
70
|
+
W.value && W.value.disconnect();
|
|
71
71
|
});
|
|
72
|
-
function
|
|
72
|
+
function Ie() {
|
|
73
73
|
new ResizeObserver((l) => {
|
|
74
74
|
l.forEach((t) => {
|
|
75
|
-
|
|
75
|
+
ye.value = t.contentRect.width < Me.value;
|
|
76
76
|
});
|
|
77
|
-
}).observe(
|
|
77
|
+
}).observe(pe.value);
|
|
78
78
|
}
|
|
79
79
|
const k = p({
|
|
80
80
|
showTable: e.value.table.show,
|
|
81
81
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
82
82
|
showTooltip: e.value.style.chart.tooltip.show
|
|
83
|
-
}), ge =
|
|
84
|
-
a.
|
|
83
|
+
}), ge = b(() => k.value.sortDesc), S = b(() => (L.dataset.forEach((a, l) => {
|
|
84
|
+
!a.value && !a.children && q({
|
|
85
|
+
componentName: "VueUiVerticalBar",
|
|
86
|
+
type: "datasetAttributeEmpty",
|
|
87
|
+
property: `value (index ${l})`
|
|
88
|
+
}), a.children && (Ce(a.children) ? q({
|
|
85
89
|
componentName: "VueUiVerticalBar",
|
|
86
90
|
type: "datasetAttributeEmpty",
|
|
87
91
|
property: `children (index ${l})`
|
|
88
92
|
}) : a.children.forEach((t, o) => {
|
|
89
|
-
[null, void 0].includes(t.name) &&
|
|
93
|
+
[null, void 0].includes(t.name) && q({
|
|
90
94
|
componentName: "VueUiVerticalBar",
|
|
91
95
|
type: "datasetSerieAttribute",
|
|
92
96
|
property: "name",
|
|
@@ -94,54 +98,54 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
94
98
|
index: o
|
|
95
99
|
});
|
|
96
100
|
}));
|
|
97
|
-
}),
|
|
101
|
+
}), L.dataset.map((a, l) => {
|
|
98
102
|
const t = `vertical_parent_${l}_${P.value}`, o = !!a.children && a.children.length > 0;
|
|
99
103
|
return {
|
|
100
104
|
...a,
|
|
101
105
|
id: t,
|
|
102
106
|
shape: "square",
|
|
103
107
|
opacity: w.value.includes(t) ? 0.5 : 1,
|
|
104
|
-
value: o ? a.children.map((s) => s.value || 0).reduce((s, r) => s + r, 0) : Math.abs(a.value) || 0,
|
|
108
|
+
value: T(o ? a.children.map((s) => s.value || 0).reduce((s, r) => s + r, 0) : Math.abs(a.value) || 0),
|
|
105
109
|
sign: a.value >= 0 ? 1 : -1,
|
|
106
110
|
hasChildren: o,
|
|
107
111
|
isChild: !1,
|
|
108
|
-
segregate: () =>
|
|
112
|
+
segregate: () => R(t),
|
|
109
113
|
isSegregated: w.value.includes(t),
|
|
110
|
-
color:
|
|
114
|
+
color: ue(a.color) || he.value[l] || z[l] || z[l % z.length],
|
|
111
115
|
children: !a.children || !a.children.length ? [] : a.children.toSorted((s, r) => ge.value ? r.value - s.value : s.value - r.value).map((s, r) => ({
|
|
112
116
|
...s,
|
|
113
|
-
value: Math.abs(s.value)
|
|
117
|
+
value: T(Math.abs(s.value)),
|
|
114
118
|
sign: s.value >= 0 ? 1 : -1,
|
|
115
119
|
isChild: !0,
|
|
116
120
|
parentId: t,
|
|
117
121
|
parentName: a.name,
|
|
118
|
-
parentValue: a.value || o ? a.children.map((
|
|
122
|
+
parentValue: T(a.value || o ? a.children.map((le) => le.value || 0).reduce((le, Ee) => le + Ee, 0) : 0),
|
|
119
123
|
id: `vertical_child_${l}_${r}_${P.value}`,
|
|
120
124
|
childIndex: r,
|
|
121
|
-
color:
|
|
125
|
+
color: ue(s.color) || ue(a.color) || he.value[l] || z[l] || z[l % z.length]
|
|
122
126
|
})).map((s, r) => ({
|
|
123
127
|
...s,
|
|
124
128
|
isFirstChild: r === 0,
|
|
125
129
|
isLastChild: r === a.children.length - 1
|
|
126
130
|
}))
|
|
127
131
|
};
|
|
128
|
-
}).toSorted((a, l) => ge.value ? l.value - a.value : a.value - l.value))),
|
|
132
|
+
}).toSorted((a, l) => ge.value ? l.value - a.value : a.value - l.value))), fe = b(() => ({
|
|
129
133
|
cy: "vertical-bar-div-legend",
|
|
130
134
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
131
135
|
color: e.value.style.chart.legend.color,
|
|
132
136
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
133
137
|
paddingBottom: 12,
|
|
134
138
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
135
|
-
})), h = p(e.value.style.chart.layout.bars.height),
|
|
136
|
-
width:
|
|
137
|
-
height:
|
|
139
|
+
})), h = p(e.value.style.chart.layout.bars.height), f = p(e.value.style.chart.layout.bars.gap), Be = b(() => (h.value + f.value) * H.value), be = p(512), g = b(() => ({
|
|
140
|
+
width: be.value,
|
|
141
|
+
height: Be.value,
|
|
138
142
|
padding: {
|
|
139
143
|
top: 12,
|
|
140
144
|
left: 128 + e.value.style.chart.layout.bars.offsetX,
|
|
141
145
|
right: 64 + e.value.style.chart.layout.bars.paddingRight,
|
|
142
146
|
bottom: 12
|
|
143
147
|
}
|
|
144
|
-
})), n =
|
|
148
|
+
})), n = b(() => ({
|
|
145
149
|
fullHeight: g.value.padding.top + g.value.padding.bottom + g.value.height,
|
|
146
150
|
top: g.value.padding.top,
|
|
147
151
|
left: g.value.padding.left,
|
|
@@ -149,102 +153,102 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
149
153
|
bottom: g.value.padding.top + g.value.height,
|
|
150
154
|
width: g.value.width - (g.value.padding.left + g.value.padding.right)
|
|
151
155
|
}));
|
|
152
|
-
function
|
|
153
|
-
H.value =
|
|
156
|
+
function ee() {
|
|
157
|
+
H.value = V.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
|
|
154
158
|
}
|
|
155
159
|
const w = p([]);
|
|
156
|
-
function
|
|
157
|
-
w.value.includes(a) ? w.value = w.value.filter((l) => l !== a) : w.value.push(a),
|
|
160
|
+
function R(a) {
|
|
161
|
+
w.value.includes(a) ? w.value = w.value.filter((l) => l !== a) : w.value.push(a), ee(), Se("selectLegend", V.value);
|
|
158
162
|
}
|
|
159
|
-
const
|
|
160
|
-
function
|
|
161
|
-
return l ?
|
|
162
|
-
v: Math.abs(a) / C.value * 100,
|
|
163
|
+
const V = b(() => S.value.filter((a) => !w.value.includes(a.id))), C = b(() => V.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
|
|
164
|
+
function me(a, l = !1, t = 0) {
|
|
165
|
+
return l ? F({
|
|
166
|
+
v: T(Math.abs(a) / C.value * 100),
|
|
163
167
|
s: "%",
|
|
164
168
|
r: t
|
|
165
169
|
}) : Math.abs(a) / C.value;
|
|
166
170
|
}
|
|
167
|
-
const
|
|
168
|
-
function
|
|
169
|
-
const l = a /
|
|
170
|
-
return n.value.width / (
|
|
171
|
+
const M = b(() => V.value.flatMap((a) => a.hasChildren ? a.children : a)), I = b(() => M.value.map((a) => a.sign).includes(-1)), Oe = b(() => Math.max(...V.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
|
|
172
|
+
function N(a) {
|
|
173
|
+
const l = a / Oe.value;
|
|
174
|
+
return n.value.width / (I.value ? 2 : 1) * l;
|
|
171
175
|
}
|
|
172
|
-
function
|
|
173
|
-
return
|
|
176
|
+
function De(a) {
|
|
177
|
+
return N(a) + n.value.left;
|
|
174
178
|
}
|
|
175
|
-
function
|
|
176
|
-
const t =
|
|
179
|
+
function B(a, l) {
|
|
180
|
+
const t = V.value.find((r) => r.id === a.parentId), o = n.value.top + (f.value + h.value) * l, s = t.children.length * (f.value + h.value);
|
|
177
181
|
return {
|
|
178
182
|
y: o + s / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
179
183
|
name: t.name,
|
|
180
184
|
value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
|
|
181
|
-
percentageToTotal: isNaN(t.value / C.value) ? "" :
|
|
185
|
+
percentageToTotal: isNaN(t.value / C.value) ? "" : me(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
|
|
182
186
|
sign: t.sign
|
|
183
187
|
};
|
|
184
188
|
}
|
|
185
|
-
function
|
|
186
|
-
return
|
|
189
|
+
function Re() {
|
|
190
|
+
return V.value;
|
|
187
191
|
}
|
|
188
|
-
const
|
|
189
|
-
function
|
|
190
|
-
|
|
192
|
+
const te = p(null), ae = p(null);
|
|
193
|
+
function Xe(a, l) {
|
|
194
|
+
ae.value = {
|
|
191
195
|
datapoint: a,
|
|
192
196
|
seriesIndex: l,
|
|
193
|
-
series:
|
|
197
|
+
series: S.value,
|
|
194
198
|
config: e.value
|
|
195
|
-
},
|
|
199
|
+
}, J.value = !0, te.value = a.id;
|
|
196
200
|
let t = "";
|
|
197
201
|
const o = a.isChild ? a.parentName : a.name, s = a.isChild ? a.name : "", r = e.value.style.chart.tooltip.customFormat;
|
|
198
|
-
|
|
202
|
+
at(r) && lt(() => r({
|
|
199
203
|
datapoint: a,
|
|
200
|
-
series:
|
|
204
|
+
series: S.value,
|
|
201
205
|
config: e.value,
|
|
202
206
|
seriesIndex: l
|
|
203
|
-
})) ?
|
|
207
|
+
})) ? Q.value = r({
|
|
204
208
|
datapoint: a,
|
|
205
|
-
series:
|
|
209
|
+
series: S.value,
|
|
206
210
|
config: e.value,
|
|
207
211
|
seriesIndex: l
|
|
208
212
|
}) : (t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
209
213
|
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" rx="2" stroke="none" fill="${a.color}"/></svg> ${o}</div>
|
|
210
214
|
${s ? `<div>${s}</div>` : ""}
|
|
211
|
-
</div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${
|
|
215
|
+
</div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${K(
|
|
212
216
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
213
217
|
a.sign === 1 ? a.value : -a.value,
|
|
214
|
-
|
|
218
|
+
F({
|
|
215
219
|
p: e.value.style.chart.tooltip.prefix,
|
|
216
220
|
v: a.sign === 1 ? a.value : -a.value,
|
|
217
221
|
s: e.value.style.chart.tooltip.suffix,
|
|
218
222
|
r: e.value.style.chart.tooltip.roundingValue
|
|
219
223
|
}),
|
|
220
224
|
{ datapoint: a, seriesIndex: l }
|
|
221
|
-
)}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${
|
|
225
|
+
)}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${F({
|
|
222
226
|
v: Math.abs(a.value) / C.value * 100,
|
|
223
227
|
s: "%",
|
|
224
228
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
225
|
-
})}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${
|
|
229
|
+
})}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${F({
|
|
226
230
|
v: Math.abs(a.value) / Math.abs(a.parentValue) * 100,
|
|
227
231
|
s: "%",
|
|
228
232
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
229
|
-
})}</b></div>`)),
|
|
233
|
+
})}</b></div>`)), Q.value = `<div style="text-align:left">${t}</div>`);
|
|
230
234
|
}
|
|
231
|
-
function
|
|
235
|
+
function _e(a, l, t, o) {
|
|
232
236
|
if (!e.value.style.chart.layout.bars.dataLabels.value.show)
|
|
233
237
|
return "";
|
|
234
|
-
const s =
|
|
238
|
+
const s = K(
|
|
235
239
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
236
|
-
o === -1 && a >= 0 ? -a : a,
|
|
237
|
-
|
|
240
|
+
T(o === -1 && a >= 0 ? -a : a),
|
|
241
|
+
F({
|
|
238
242
|
p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
|
|
239
|
-
v: o === -1 && a >= 0 ? -a : a,
|
|
243
|
+
v: T(o === -1 && a >= 0 ? -a : a),
|
|
240
244
|
s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
|
|
241
245
|
r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
|
|
242
246
|
}),
|
|
243
247
|
{ datapoint: l, seriesIndex: t }
|
|
244
|
-
), r = `(${
|
|
248
|
+
), r = `(${me(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
245
249
|
return `${s}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${r}` : ""}`;
|
|
246
250
|
}
|
|
247
|
-
const $ =
|
|
251
|
+
const $ = b(() => {
|
|
248
252
|
const a = [
|
|
249
253
|
e.value.translations.parentName,
|
|
250
254
|
e.value.translations.value,
|
|
@@ -253,7 +257,7 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
253
257
|
e.value.translations.value,
|
|
254
258
|
e.value.translations.percentageToSerie,
|
|
255
259
|
e.value.translations.percentageToTotal
|
|
256
|
-
], l =
|
|
260
|
+
], l = M.value.map((t) => t.isChild ? t.isFirstChild ? {
|
|
257
261
|
color: t.color,
|
|
258
262
|
parentName: t.parentName,
|
|
259
263
|
parentValue: t.parentValue,
|
|
@@ -283,7 +287,7 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
283
287
|
});
|
|
284
288
|
return { head: a, body: l };
|
|
285
289
|
});
|
|
286
|
-
function
|
|
290
|
+
function xe() {
|
|
287
291
|
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = $.value.head, t = $.value.body.map((r) => [
|
|
288
292
|
r.parentName,
|
|
289
293
|
r.parentValue,
|
|
@@ -292,45 +296,45 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
292
296
|
r.childValue,
|
|
293
297
|
r.childPercentageToParent,
|
|
294
298
|
r.childPercentageToTotal
|
|
295
|
-
]), o = a.concat([l]).concat(t), s =
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
const R = p(!1);
|
|
299
|
-
function Xe(a) {
|
|
300
|
-
R.value = a, ne.value += 1;
|
|
299
|
+
]), o = a.concat([l]).concat(t), s = ot(o);
|
|
300
|
+
ut({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
|
|
301
301
|
}
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
const X = p(!1);
|
|
303
|
+
function Ae(a) {
|
|
304
|
+
X.value = a, se.value += 1;
|
|
304
305
|
}
|
|
305
306
|
function ke() {
|
|
306
|
-
k.value.
|
|
307
|
+
k.value.showTable = !k.value.showTable;
|
|
307
308
|
}
|
|
308
309
|
function $e() {
|
|
310
|
+
k.value.sortDesc = !k.value.sortDesc, ee();
|
|
311
|
+
}
|
|
312
|
+
function we() {
|
|
309
313
|
k.value.showTooltip = !k.value.showTooltip;
|
|
310
314
|
}
|
|
311
315
|
return Pe({
|
|
312
|
-
getData:
|
|
313
|
-
recalculateHeight:
|
|
314
|
-
generatePdf:
|
|
315
|
-
generateCsv:
|
|
316
|
-
generateImage:
|
|
317
|
-
toggleTable:
|
|
318
|
-
toggleSort:
|
|
319
|
-
toggleTooltip:
|
|
316
|
+
getData: Re,
|
|
317
|
+
recalculateHeight: ee,
|
|
318
|
+
generatePdf: ce,
|
|
319
|
+
generateCsv: xe,
|
|
320
|
+
generateImage: ve,
|
|
321
|
+
toggleTable: ke,
|
|
322
|
+
toggleSort: $e,
|
|
323
|
+
toggleTooltip: we
|
|
320
324
|
}), (a, l) => (i(), v("div", {
|
|
321
|
-
class:
|
|
325
|
+
class: O(`vue-ui-vertical-bar ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
322
326
|
ref_key: "verticalBarChart",
|
|
323
|
-
ref:
|
|
327
|
+
ref: D,
|
|
324
328
|
id: `vue-ui-vertical-bar_${P.value}`,
|
|
325
329
|
style: d(`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%" : ""}`)
|
|
326
330
|
}, [
|
|
327
331
|
e.value.style.chart.title.text ? (i(), v("div", {
|
|
328
332
|
key: 0,
|
|
329
333
|
ref_key: "chartTitle",
|
|
330
|
-
ref:
|
|
334
|
+
ref: re,
|
|
331
335
|
style: d(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
|
|
332
336
|
}, [
|
|
333
|
-
|
|
337
|
+
A(rt, {
|
|
334
338
|
config: {
|
|
335
339
|
title: {
|
|
336
340
|
cy: "vertical-bar-div-title",
|
|
@@ -342,15 +346,15 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
342
346
|
}
|
|
343
347
|
}
|
|
344
348
|
}, null, 8, ["config"])
|
|
345
|
-
], 4)) :
|
|
346
|
-
e.value.userOptions.show &&
|
|
349
|
+
], 4)) : m("", !0),
|
|
350
|
+
e.value.userOptions.show && U.value ? (i(), oe(dt, {
|
|
347
351
|
ref_key: "details",
|
|
348
|
-
ref:
|
|
349
|
-
key: `user_options_${
|
|
352
|
+
ref: ze,
|
|
353
|
+
key: `user_options_${se.value}`,
|
|
350
354
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
351
355
|
color: e.value.style.chart.color,
|
|
352
|
-
isImaging:
|
|
353
|
-
isPrinting:
|
|
356
|
+
isImaging: y(de),
|
|
357
|
+
isPrinting: y(ie),
|
|
354
358
|
uid: P.value,
|
|
355
359
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
356
360
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -359,18 +363,18 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
359
363
|
hasTable: e.value.userOptions.buttons.table,
|
|
360
364
|
hasSort: e.value.userOptions.buttons.sort,
|
|
361
365
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
362
|
-
isFullscreen:
|
|
366
|
+
isFullscreen: X.value,
|
|
363
367
|
isTooltip: k.value.showTooltip,
|
|
364
368
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
365
|
-
chartElement:
|
|
366
|
-
onToggleFullscreen:
|
|
367
|
-
onGeneratePdf:
|
|
368
|
-
onGenerateCsv:
|
|
369
|
-
onGenerateImage:
|
|
370
|
-
onToggleTable:
|
|
371
|
-
onToggleSort:
|
|
372
|
-
onToggleTooltip:
|
|
373
|
-
},
|
|
369
|
+
chartElement: D.value,
|
|
370
|
+
onToggleFullscreen: Ae,
|
|
371
|
+
onGeneratePdf: y(ce),
|
|
372
|
+
onGenerateCsv: xe,
|
|
373
|
+
onGenerateImage: y(ve),
|
|
374
|
+
onToggleTable: ke,
|
|
375
|
+
onToggleSort: $e,
|
|
376
|
+
onToggleTooltip: we
|
|
377
|
+
}, We({ _: 2 }, [
|
|
374
378
|
a.$slots.optionTooltip ? {
|
|
375
379
|
name: "optionTooltip",
|
|
376
380
|
fn: _(() => [
|
|
@@ -423,49 +427,49 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
423
427
|
a.$slots.optionFullscreen ? {
|
|
424
428
|
name: "optionFullscreen",
|
|
425
429
|
fn: _(({ toggleFullscreen: t, isFullscreen: o }) => [
|
|
426
|
-
x(a.$slots, "optionFullscreen",
|
|
430
|
+
x(a.$slots, "optionFullscreen", j(Y({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
|
|
427
431
|
]),
|
|
428
432
|
key: "7"
|
|
429
433
|
} : void 0
|
|
430
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
434
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
|
|
431
435
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (i(), v("div", {
|
|
432
436
|
key: 2,
|
|
433
437
|
ref_key: "chartLegend",
|
|
434
|
-
ref:
|
|
438
|
+
ref: Z
|
|
435
439
|
}, [
|
|
436
|
-
|
|
437
|
-
legendSet:
|
|
438
|
-
config:
|
|
439
|
-
onClickMarker: l[0] || (l[0] = ({ legend: t }) =>
|
|
440
|
+
A(Te, {
|
|
441
|
+
legendSet: S.value,
|
|
442
|
+
config: fe.value,
|
|
443
|
+
onClickMarker: l[0] || (l[0] = ({ legend: t }) => R(t.id))
|
|
440
444
|
}, {
|
|
441
445
|
item: _(({ legend: t, index: o }) => [
|
|
442
446
|
u("div", {
|
|
443
447
|
"data-cy-legend-item": "",
|
|
444
|
-
onClick: (s) =>
|
|
448
|
+
onClick: (s) => R(t.id),
|
|
445
449
|
style: d(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
|
|
446
|
-
}, c(t.name) + ": " + c(
|
|
450
|
+
}, c(t.name) + ": " + c(y(K)(
|
|
447
451
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
448
452
|
t.value,
|
|
449
|
-
|
|
453
|
+
y(F)({
|
|
450
454
|
p: e.value.style.chart.legend.prefix,
|
|
451
455
|
v: t.value,
|
|
452
456
|
s: e.value.style.chart.legend.suffix,
|
|
453
457
|
r: e.value.style.chart.legend.roundingValue
|
|
454
458
|
}),
|
|
455
459
|
{ datapoint: t, seriesIndex: o }
|
|
456
|
-
)), 13,
|
|
460
|
+
)), 13, ft)
|
|
457
461
|
]),
|
|
458
462
|
_: 1
|
|
459
463
|
}, 8, ["legendSet", "config"])
|
|
460
|
-
], 512)) :
|
|
461
|
-
|
|
464
|
+
], 512)) : m("", !0),
|
|
465
|
+
U.value ? (i(), v("svg", {
|
|
462
466
|
key: 3,
|
|
463
|
-
xmlns:
|
|
464
|
-
class:
|
|
467
|
+
xmlns: y(et),
|
|
468
|
+
class: O({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
465
469
|
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${n.value.fullHeight <= 0 ? 10 : n.value.fullHeight}`,
|
|
466
470
|
style: d(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
467
471
|
}, [
|
|
468
|
-
(i(!0), v(
|
|
472
|
+
(i(!0), v(E, null, G(M.value, (t, o) => (i(), v("linearGradient", {
|
|
469
473
|
x1: "0%",
|
|
470
474
|
y1: "0%",
|
|
471
475
|
x2: "100%",
|
|
@@ -475,46 +479,46 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
475
479
|
u("stop", {
|
|
476
480
|
offset: "0%",
|
|
477
481
|
"stop-color": t.color
|
|
478
|
-
}, null, 8,
|
|
482
|
+
}, null, 8, _t),
|
|
479
483
|
u("stop", {
|
|
480
484
|
offset: "100%",
|
|
481
|
-
"stop-color": `${
|
|
482
|
-
}, null, 8,
|
|
483
|
-
], 8,
|
|
484
|
-
(i(!0), v(
|
|
485
|
+
"stop-color": `${y(tt)(t.color, 0.03)}${y(ne)[100 - e.value.style.chart.layout.bars.gradientIntensity]}`
|
|
486
|
+
}, null, 8, xt)
|
|
487
|
+
], 8, mt))), 256)),
|
|
488
|
+
(i(!0), v(E, null, G(M.value, (t, o) => (i(), v("g", null, [
|
|
485
489
|
u("rect", {
|
|
486
|
-
x:
|
|
487
|
-
y: n.value.top + (
|
|
488
|
-
width:
|
|
490
|
+
x: y(T)(I.value ? n.value.left + n.value.width / 2 - (t.sign === 1 ? 0 : N(t.value) <= 0 ? 1e-4 : N(t.value)) : n.value.left),
|
|
491
|
+
y: n.value.top + (f.value + h.value) * o,
|
|
492
|
+
width: y(T)(N(t.value) <= 0 ? 1e-4 : N(t.value)),
|
|
489
493
|
height: h.value <= 0 ? 1e-4 : h.value,
|
|
490
494
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
491
495
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
492
|
-
class:
|
|
493
|
-
}, null, 10,
|
|
496
|
+
class: O({ animated: e.value.useCssAnimation })
|
|
497
|
+
}, null, 10, kt)
|
|
494
498
|
]))), 256)),
|
|
495
|
-
(i(!0), v(
|
|
499
|
+
(i(!0), v(E, null, G(M.value, (t, o) => (i(), v("g", null, [
|
|
496
500
|
u("rect", {
|
|
497
|
-
x:
|
|
498
|
-
y: n.value.top + (
|
|
499
|
-
width:
|
|
501
|
+
x: y(T)(I.value ? n.value.left + n.value.width / 2 - (t.sign === 1 ? 0 : N(t.value) <= 0 ? 1e-4 : N(t.value)) : n.value.left),
|
|
502
|
+
y: n.value.top + (f.value + h.value) * o,
|
|
503
|
+
width: y(T)(N(t.value) <= 0 ? 1e-4 : N(t.value)),
|
|
500
504
|
height: h.value <= 0 ? 1e-4 : h.value,
|
|
501
|
-
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${P.value}_${o})` : `${t.color}${
|
|
505
|
+
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${P.value}_${o})` : `${t.color}${y(ne)[e.value.style.chart.layout.bars.fillOpacity]}`,
|
|
502
506
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
503
507
|
stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
504
508
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
505
|
-
class:
|
|
506
|
-
}, null, 10,
|
|
507
|
-
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !==
|
|
509
|
+
class: O({ animated: e.value.useCssAnimation })
|
|
510
|
+
}, null, 10, $t),
|
|
511
|
+
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== M.value.length - 1 ? (i(), v("line", {
|
|
508
512
|
key: 0,
|
|
509
513
|
x1: 0,
|
|
510
514
|
x2: n.value.left,
|
|
511
|
-
y1: h.value +
|
|
512
|
-
y2: h.value +
|
|
515
|
+
y1: h.value + f.value / 2 + n.value.top + (f.value + h.value) * o,
|
|
516
|
+
y2: h.value + f.value / 2 + n.value.top + (f.value + h.value) * o,
|
|
513
517
|
stroke: e.value.style.chart.layout.separators.color,
|
|
514
518
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
515
519
|
"stroke-linecap": "round"
|
|
516
|
-
}, null, 8,
|
|
517
|
-
|
|
520
|
+
}, null, 8, wt)) : m("", !0),
|
|
521
|
+
I.value && e.value.style.chart.layout.separators.show ? (i(), v("line", {
|
|
518
522
|
key: 1,
|
|
519
523
|
x1: n.value.left + n.value.width / 2,
|
|
520
524
|
x2: n.value.left + n.value.width / 2,
|
|
@@ -523,61 +527,61 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
523
527
|
stroke: e.value.style.chart.layout.separators.color,
|
|
524
528
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
525
529
|
"stroke-linecap": "round"
|
|
526
|
-
}, null, 8,
|
|
530
|
+
}, null, 8, Ct)) : m("", !0),
|
|
527
531
|
u("text", {
|
|
528
|
-
x:
|
|
529
|
-
y: n.value.top + (
|
|
530
|
-
"text-anchor": !
|
|
532
|
+
x: I.value ? n.value.left + n.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) : De(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
|
|
533
|
+
y: n.value.top + (f.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
534
|
+
"text-anchor": !I.value || t.sign === -1 ? "start" : "end",
|
|
531
535
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
532
536
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
533
537
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
534
|
-
}, c(
|
|
538
|
+
}, c(_e(t.value, t, o, t.sign)), 9, Tt),
|
|
535
539
|
(t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (i(), v("text", {
|
|
536
540
|
key: 2,
|
|
537
541
|
"text-anchor": "end",
|
|
538
542
|
x: n.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
|
|
539
|
-
y: n.value.top + (
|
|
543
|
+
y: n.value.top + (f.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
|
|
540
544
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
541
545
|
fill: e.value.style.chart.layout.bars.nameLabels.color,
|
|
542
546
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
|
|
543
|
-
}, c(t.name), 9,
|
|
547
|
+
}, c(t.name), 9, Lt)) : m("", !0),
|
|
544
548
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (i(), v("text", {
|
|
545
549
|
key: 3,
|
|
546
550
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
547
|
-
y:
|
|
551
|
+
y: B(t, o).y,
|
|
548
552
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
549
553
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
550
554
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
551
555
|
"text-anchor": "start"
|
|
552
|
-
}, c(
|
|
556
|
+
}, c(B(t, o).name), 9, Nt)) : m("", !0),
|
|
553
557
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (i(), v("text", {
|
|
554
558
|
key: 4,
|
|
555
559
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
556
|
-
y:
|
|
560
|
+
y: B(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
|
|
557
561
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
558
562
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
559
563
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
560
564
|
"text-anchor": "start"
|
|
561
|
-
}, c(
|
|
565
|
+
}, c(_e(B(t, o).value), B(t, o), o, B(t, o).sign), 9, Pt)) : m("", !0),
|
|
562
566
|
u("rect", {
|
|
563
567
|
"data-cy-trap": "",
|
|
564
568
|
x: 0,
|
|
565
|
-
y: n.value.top + (
|
|
569
|
+
y: n.value.top + (f.value + h.value) * o - f.value / 2,
|
|
566
570
|
width: g.value.width <= 0 ? 1e-4 : g.value.width,
|
|
567
|
-
height: h.value +
|
|
568
|
-
fill:
|
|
569
|
-
onMouseenter: (s) =>
|
|
571
|
+
height: h.value + f.value <= 0 ? 1e-4 : h.value + f.value,
|
|
572
|
+
fill: te.value === t.id ? `${e.value.style.chart.layout.highlighter.color}${y(ne)[e.value.style.chart.layout.highlighter.opacity]}` : "transparent",
|
|
573
|
+
onMouseenter: (s) => Xe(t, o),
|
|
570
574
|
onMouseleave: l[1] || (l[1] = (s) => {
|
|
571
|
-
|
|
575
|
+
Fe.value = null, J.value = !1, te.value = null;
|
|
572
576
|
})
|
|
573
|
-
}, null, 40,
|
|
577
|
+
}, null, 40, St)
|
|
574
578
|
]))), 256)),
|
|
575
579
|
x(a.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
576
|
-
], 14,
|
|
577
|
-
a.$slots.watermark ? (i(), v("div",
|
|
578
|
-
x(a.$slots, "watermark",
|
|
579
|
-
])) :
|
|
580
|
-
|
|
580
|
+
], 14, bt)) : m("", !0),
|
|
581
|
+
a.$slots.watermark ? (i(), v("div", Vt, [
|
|
582
|
+
x(a.$slots, "watermark", j(Y({ isPrinting: y(ie) || y(de) })), void 0, !0)
|
|
583
|
+
])) : m("", !0),
|
|
584
|
+
U.value ? m("", !0) : (i(), oe(vt, {
|
|
581
585
|
key: 5,
|
|
582
586
|
config: {
|
|
583
587
|
type: "verticalBar",
|
|
@@ -595,35 +599,35 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
595
599
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (i(), v("div", {
|
|
596
600
|
key: 6,
|
|
597
601
|
ref_key: "chartLegend",
|
|
598
|
-
ref:
|
|
602
|
+
ref: Z
|
|
599
603
|
}, [
|
|
600
|
-
|
|
601
|
-
legendSet:
|
|
602
|
-
config:
|
|
603
|
-
onClickMarker: l[2] || (l[2] = ({ legend: t }) =>
|
|
604
|
+
A(Te, {
|
|
605
|
+
legendSet: S.value,
|
|
606
|
+
config: fe.value,
|
|
607
|
+
onClickMarker: l[2] || (l[2] = ({ legend: t }) => R(t.id))
|
|
604
608
|
}, {
|
|
605
609
|
item: _(({ legend: t, index: o }) => [
|
|
606
610
|
u("div", {
|
|
607
|
-
onClick: (s) =>
|
|
611
|
+
onClick: (s) => R(t.id),
|
|
608
612
|
style: d(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
|
|
609
|
-
}, c(t.name) + ": " + c(
|
|
613
|
+
}, c(t.name) + ": " + c(y(K)(
|
|
610
614
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
611
615
|
t.value,
|
|
612
|
-
|
|
616
|
+
y(F)({
|
|
613
617
|
p: e.value.style.chart.legend.prefix,
|
|
614
618
|
v: t.value,
|
|
615
619
|
s: e.value.style.chart.legend.suffix,
|
|
616
620
|
r: e.value.style.chart.legend.roundingValue
|
|
617
621
|
}),
|
|
618
622
|
{ datapoint: t, seriesIndex: o }
|
|
619
|
-
)), 13,
|
|
623
|
+
)), 13, zt)
|
|
620
624
|
]),
|
|
621
625
|
_: 1
|
|
622
626
|
}, 8, ["legendSet", "config"])
|
|
623
|
-
], 512)) :
|
|
624
|
-
x(a.$slots, "legend", { legend:
|
|
625
|
-
|
|
626
|
-
show: k.value.showTooltip &&
|
|
627
|
+
], 512)) : m("", !0),
|
|
628
|
+
x(a.$slots, "legend", { legend: S.value }, void 0, !0),
|
|
629
|
+
A(ct, {
|
|
630
|
+
show: k.value.showTooltip && J.value && w.value.length < L.dataset.length,
|
|
627
631
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
628
632
|
color: e.value.style.chart.tooltip.color,
|
|
629
633
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -633,19 +637,19 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
633
637
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
634
638
|
position: e.value.style.chart.tooltip.position,
|
|
635
639
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
636
|
-
parent:
|
|
637
|
-
content:
|
|
640
|
+
parent: D.value,
|
|
641
|
+
content: Q.value,
|
|
638
642
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
639
643
|
}, {
|
|
640
644
|
"tooltip-before": _(() => [
|
|
641
|
-
x(a.$slots, "tooltip-before",
|
|
645
|
+
x(a.$slots, "tooltip-before", j(Y({ ...ae.value })), void 0, !0)
|
|
642
646
|
]),
|
|
643
647
|
"tooltip-after": _(() => [
|
|
644
|
-
x(a.$slots, "tooltip-after",
|
|
648
|
+
x(a.$slots, "tooltip-after", j(Y({ ...ae.value })), void 0, !0)
|
|
645
649
|
]),
|
|
646
650
|
_: 3
|
|
647
651
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
648
|
-
|
|
652
|
+
U.value ? (i(), oe(pt, {
|
|
649
653
|
key: 7,
|
|
650
654
|
hideDetails: "",
|
|
651
655
|
config: {
|
|
@@ -664,18 +668,18 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
664
668
|
content: _(() => [
|
|
665
669
|
u("div", {
|
|
666
670
|
ref_key: "tableContainer",
|
|
667
|
-
ref:
|
|
671
|
+
ref: pe,
|
|
668
672
|
class: "vue-ui-vertical-bar-table"
|
|
669
673
|
}, [
|
|
670
|
-
u("div",
|
|
674
|
+
u("div", Ft, [
|
|
671
675
|
u("div", {
|
|
672
676
|
role: "button",
|
|
673
677
|
tabindex: "0",
|
|
674
678
|
style: d(`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};`),
|
|
675
679
|
onClick: l[3] || (l[3] = (t) => k.value.showTable = !1),
|
|
676
|
-
onKeypress: l[4] || (l[4] =
|
|
680
|
+
onKeypress: l[4] || (l[4] = je((t) => k.value.showTable = !1, ["enter"]))
|
|
677
681
|
}, [
|
|
678
|
-
|
|
682
|
+
A(ht, {
|
|
679
683
|
name: "close",
|
|
680
684
|
stroke: e.value.table.th.color,
|
|
681
685
|
"stroke-width": 2
|
|
@@ -683,25 +687,25 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
683
687
|
], 36),
|
|
684
688
|
u("div", {
|
|
685
689
|
style: { width: "100%", "container-type": "inline-size" },
|
|
686
|
-
class:
|
|
690
|
+
class: O({ "vue-ui-responsive": ye.value })
|
|
687
691
|
}, [
|
|
688
|
-
u("table",
|
|
692
|
+
u("table", Mt, [
|
|
689
693
|
u("caption", {
|
|
690
694
|
style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
691
695
|
class: "vue-ui-data-table__caption"
|
|
692
696
|
}, [
|
|
693
|
-
|
|
694
|
-
e.value.style.chart.title.subtitle.text ? (i(), v("span",
|
|
697
|
+
Ye(c(e.value.style.chart.title.text) + " ", 1),
|
|
698
|
+
e.value.style.chart.title.subtitle.text ? (i(), v("span", It, c(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
|
|
695
699
|
], 4),
|
|
696
700
|
u("thead", null, [
|
|
697
701
|
u("tr", {
|
|
698
702
|
role: "row",
|
|
699
703
|
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
700
704
|
}, [
|
|
701
|
-
(i(!0), v(
|
|
705
|
+
(i(!0), v(E, null, G($.value.head, (t) => (i(), v("th", {
|
|
702
706
|
style: d(`outline:${e.value.table.th.outline}`)
|
|
703
707
|
}, [
|
|
704
|
-
u("div",
|
|
708
|
+
u("div", Bt, c(t), 1)
|
|
705
709
|
], 4))), 256))
|
|
706
710
|
], 4),
|
|
707
711
|
u("tr", null, [
|
|
@@ -729,8 +733,8 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
729
733
|
])
|
|
730
734
|
]),
|
|
731
735
|
u("tbody", null, [
|
|
732
|
-
(i(!0), v(
|
|
733
|
-
class:
|
|
736
|
+
(i(!0), v(E, null, G($.value.body, (t, o) => (i(), v("tr", {
|
|
737
|
+
class: O({ "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 }),
|
|
734
738
|
style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
735
739
|
}, [
|
|
736
740
|
u("td", {
|
|
@@ -738,56 +742,56 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
738
742
|
style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
739
743
|
"data-cell": $.value.head[0] ?? ""
|
|
740
744
|
}, [
|
|
741
|
-
u("div",
|
|
745
|
+
u("div", Dt, [
|
|
742
746
|
t.color ? (i(), v("span", {
|
|
743
747
|
key: 0,
|
|
744
748
|
style: d(`color:${t.color};margin-right:3px`)
|
|
745
|
-
}, "⬤", 4)) :
|
|
749
|
+
}, "⬤", 4)) : m("", !0),
|
|
746
750
|
u("span", null, c(t.parentName), 1)
|
|
747
751
|
])
|
|
748
|
-
], 12,
|
|
752
|
+
], 12, Ot),
|
|
749
753
|
u("td", {
|
|
750
754
|
class: "vue-ui-data-table__tbody__td",
|
|
751
755
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
752
756
|
"data-cell": $.value.head[1] ?? ""
|
|
753
757
|
}, [
|
|
754
|
-
u("div",
|
|
755
|
-
], 12,
|
|
758
|
+
u("div", Xt, c(e.value.table.td.prefix) + c(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + c(e.value.table.td.suffix), 1)
|
|
759
|
+
], 12, Rt),
|
|
756
760
|
u("td", {
|
|
757
761
|
class: "vue-ui-data-table__tbody__td",
|
|
758
762
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
759
763
|
"data-cell": $.value.head[2] ?? ""
|
|
760
764
|
}, [
|
|
761
|
-
u("div",
|
|
762
|
-
], 12,
|
|
765
|
+
u("div", Et, c(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
766
|
+
], 12, At),
|
|
763
767
|
u("td", {
|
|
764
768
|
class: "vue-ui-data-table__tbody__td",
|
|
765
769
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
766
770
|
"data-cell": $.value.head[3] ?? ""
|
|
767
771
|
}, [
|
|
768
|
-
u("div",
|
|
769
|
-
], 12,
|
|
772
|
+
u("div", Ut, c(t.childName), 1)
|
|
773
|
+
], 12, Gt),
|
|
770
774
|
u("td", {
|
|
771
775
|
class: "vue-ui-data-table__tbody__td",
|
|
772
776
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
773
777
|
"data-cell": $.value.head[4] ?? ""
|
|
774
778
|
}, [
|
|
775
|
-
u("div",
|
|
779
|
+
u("div", Wt, c(e.value.table.td.prefix) + c(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + c(e.value.table.td.suffix), 1)
|
|
776
780
|
], 12, Ht),
|
|
777
781
|
u("td", {
|
|
778
782
|
class: "vue-ui-data-table__tbody__td",
|
|
779
783
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
780
784
|
"data-cell": $.value.head[5] ?? ""
|
|
781
785
|
}, [
|
|
782
|
-
u("div",
|
|
783
|
-
], 12,
|
|
786
|
+
u("div", Yt, c(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
787
|
+
], 12, jt),
|
|
784
788
|
u("td", {
|
|
785
789
|
class: "vue-ui-data-table__tbody__td",
|
|
786
790
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
787
791
|
"data-cell": $.value.head[6] ?? ""
|
|
788
792
|
}, [
|
|
789
|
-
u("div",
|
|
790
|
-
], 12,
|
|
793
|
+
u("div", Kt, c(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
794
|
+
], 12, qt)
|
|
791
795
|
], 6))), 256))
|
|
792
796
|
])
|
|
793
797
|
])
|
|
@@ -796,10 +800,10 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
796
800
|
], 512)
|
|
797
801
|
]),
|
|
798
802
|
_: 1
|
|
799
|
-
}, 8, ["config"])) :
|
|
803
|
+
}, 8, ["config"])) : m("", !0)
|
|
800
804
|
], 14, gt));
|
|
801
805
|
}
|
|
802
|
-
},
|
|
806
|
+
}, da = /* @__PURE__ */ yt(Jt, [["__scopeId", "data-v-1dd68cde"]]);
|
|
803
807
|
export {
|
|
804
|
-
|
|
808
|
+
da as default
|
|
805
809
|
};
|