vue-data-ui 2.3.90 → 2.3.91
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-C_Fnn6al.js → Arrow-CHTslrAF.js} +1 -1
- package/dist/{Arrow-D1pymKl6.cjs → Arrow-DpuaFuue.cjs} +1 -1
- package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-DfaCNBgc.js} +1 -1
- package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
- package/dist/{DataTable-Cmbf3abv.js → DataTable-BKc3r3k3.js} +2 -2
- package/dist/{DataTable-cOEA6Z37.cjs → DataTable-CnkdsvIo.cjs} +1 -1
- package/dist/{Legend-XqP6-7Ac.cjs → Legend-BQJV6Xk4.cjs} +1 -1
- package/dist/{Legend-CCq0mNRg.js → Legend-WNL92WSx.js} +1 -1
- package/dist/PackageVersion-D9PU8glB.js +10 -0
- package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
- package/dist/{Shape-B51JGReT.cjs → Shape-CgW0V2Og.cjs} +1 -1
- package/dist/{Shape-BNocET8E.js → Shape-DPvoEBm9.js} +1 -1
- package/dist/{Slicer-BKszZXjM.js → Slicer-DE9nFM_c.js} +2 -2
- package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-Dma3nlzi.cjs} +1 -1
- package/dist/{Title-BaR4XyXa.cjs → Title-Bg_BK11V.cjs} +1 -1
- package/dist/{Title-DlBwa3-X.js → Title-CECK1w9L.js} +1 -1
- package/dist/{Tooltip-w32n-8sY.js → Tooltip-Ci3AprCm.js} +1 -1
- package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
- package/dist/{index-B8EMsnjU.cjs → index-BhH89oF0.cjs} +1 -1
- package/dist/{index-DQl1TFXa.js → index-mBy4elhB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-BrIRtQj1.js} +1 -1
- package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
- package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
- package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Ck-yukK2.js} +1 -1
- package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
- package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-BuL-2aYA.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-C9a-AsIX.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
- package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
- package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-dyF20BlD.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
- package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
- package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
- package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
- package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
- package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
- package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
- package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
- package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
- package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
- package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
- package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
- package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
- package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
- package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-DZJI0YuX.js} +2 -2
- package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-CBG9ECp8.js} +118 -116
- package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
- package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
- package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
- package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CXqGztWj.js} +65 -63
- package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
- package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
- package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
- package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BEludqYn.js} +56 -54
- package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
- package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
- package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
- package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
- package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
- package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
- package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-zr721ux9.js} +3 -3
- package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
- package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
- package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
- package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
- package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
- package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
- package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-CmUXelhy.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
- package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
- package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
- package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
- package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
- package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
- package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
- package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
- package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-DuRLpMwk.js} +2 -2
- package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
- package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
- package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
- package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
- package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
- package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
- package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
- package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
- package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
- package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
- package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
- package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
- package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
- package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
- package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
- package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
- package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
- package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
- package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
- package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-BS9I8en7.js} +46 -44
- package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
- package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
- package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
- package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
- package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
- package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
- package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-Dtfv71zG.js} +1 -1
- package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
- package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
- package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
- package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-2PRDq1w6.js} +62 -60
- package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
- package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
- package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
- package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
- package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
- package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
- package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
- package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
- package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-wikAjwZY.js} +72 -70
- package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
- package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
- package/dist/{vue-ui-word-cloud-dMBTVGVk.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
- package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
- package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-CUjllUSv.js} +507 -504
- package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Ce-Re50D.cjs +0 -19
- package/dist/vue-ui-age-pyramid-C08rTXJn.cjs +0 -1
- package/dist/vue-ui-candlestick-m8fjxbj-.cjs +0 -2
- package/dist/vue-ui-chestnut-Y0gQvbbf.cjs +0 -6
- package/dist/vue-ui-donut-CCm7GJsm.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DiN8Jm0n.cjs +0 -1
- package/dist/vue-ui-dumbbell-lb72j7bY.cjs +0 -9
- package/dist/vue-ui-flow-B5Gxaqvl.cjs +0 -1
- package/dist/vue-ui-galaxy-Ck5cPkrh.cjs +0 -1
- package/dist/vue-ui-gauge-BwIhwSUw.cjs +0 -1
- package/dist/vue-ui-gizmo-DrGaoiM_.cjs +0 -1
- package/dist/vue-ui-heatmap-BLc6thGZ.cjs +0 -1
- package/dist/vue-ui-molecule-CAj1HFit.cjs +0 -1
- package/dist/vue-ui-mood-radar-CV2in2wO.cjs +0 -1
- package/dist/vue-ui-nested-donuts-4vO23n9z.cjs +0 -17
- package/dist/vue-ui-onion-B3mtn6xf.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DFMbhLY9.cjs +0 -8
- package/dist/vue-ui-quadrant-CpJX1Jwa.cjs +0 -1
- package/dist/vue-ui-quick-chart-CTxsI2tk.cjs +0 -15
- package/dist/vue-ui-radar-DFjsXmJ3.cjs +0 -1
- package/dist/vue-ui-relation-circle-DXuKdCih.cjs +0 -1
- package/dist/vue-ui-scatter-DPByFMNL.cjs +0 -1
- package/dist/vue-ui-skeleton-Bli7jLZ7.cjs +0 -41
- package/dist/vue-ui-spark-trend-sfgUJ32Q.cjs +0 -1
- package/dist/vue-ui-sparkbar-CKWYzriN.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D0q9F9Nz.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-CywhBkm2.cjs +0 -1
- package/dist/vue-ui-sparkline-Besp8Ffy.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-qXm8Ozzm.cjs +0 -1
- package/dist/vue-ui-stackbar-D0fGVkCR.cjs +0 -6
- package/dist/vue-ui-strip-plot-XDj8rL9m.cjs +0 -1
- package/dist/vue-ui-thermometer-C3T56ras.cjs +0 -1
- package/dist/vue-ui-timer-B_ZvV1ON.cjs +0 -64
- package/dist/vue-ui-tiremarks-DRbSpTgq.cjs +0 -1
- package/dist/vue-ui-treemap-CtKUTs2G.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BBIWdeXH.cjs +0 -4
- package/dist/vue-ui-waffle-9a3C4Nj-.cjs +0 -1
- package/dist/vue-ui-wheel-CErxlmqw.cjs +0 -1
- package/dist/vue-ui-word-cloud-nmx846H2.cjs +0 -1
- package/dist/vue-ui-xy-CLYgZk3Y.cjs +0 -3
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { useCssVars as Ye, computed as b, ref as d, watch 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 Se, 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, createVNode as ue, Fragment as U, renderList as H, 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 se, i as Z, f as I, X as nt, s as re, w as ut, x as st, y as rt, q as it, r as dt } from "./index-mBy4elhB.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-
|
|
12
|
-
import { _ as _t } from "./
|
|
13
|
-
|
|
4
|
+
import { _ as ht } from "./Title-CECK1w9L.js";
|
|
5
|
+
import { u as pt, U as gt } from "./usePrinter-Ck-yukK2.js";
|
|
6
|
+
import { _ as yt } from "./Tooltip-Ci3AprCm.js";
|
|
7
|
+
import { L as ze } from "./Legend-WNL92WSx.js";
|
|
8
|
+
import ft from "./vue-ui-skeleton-DDhwPZd_.js";
|
|
9
|
+
import bt from "./BaseIcon-DfaCNBgc.js";
|
|
10
|
+
import mt from "./vue-ui-accordion-dyF20BlD.js";
|
|
11
|
+
import { u as Fe } from "./useNestedProp-BrIRtQj1.js";
|
|
12
|
+
import { _ as _t } from "./PackageVersion-D9PU8glB.js";
|
|
13
|
+
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const kt = ["id"], $t = ["onClick"], wt = ["xmlns", "viewBox"], Ct = ["id"], Tt = ["stop-color"], Lt = ["stop-color"], Nt = ["x", "y", "width", "height", "fill", "rx"], Pt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], St = ["x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = ["x", "y", "font-size", "fill", "font-weight"], It = ["x", "y", "font-size", "fill", "font-weight"], Bt = ["y", "width", "height", "fill", "onMouseenter"], Ot = {
|
|
14
15
|
key: 4,
|
|
15
16
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
17
|
+
}, Dt = ["onClick"], Rt = { style: "width:100%;padding-top: 36px;position:relative" }, Xt = { class: "vue-ui-data-table" }, At = { key: 0 }, Et = { style: { width: "100%" } }, 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 = ["data-cell"], Qt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Zt = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = {
|
|
17
18
|
__name: "vue-ui-vertical-bar",
|
|
18
19
|
props: {
|
|
19
20
|
config: {
|
|
@@ -33,13 +34,13 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
33
34
|
setup(Me, { expose: Ie, emit: Be }) {
|
|
34
35
|
const w = Me;
|
|
35
36
|
Ye((a) => ({
|
|
36
|
-
"
|
|
37
|
+
"3d035ab4": a.tdo
|
|
37
38
|
}));
|
|
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),
|
|
39
|
-
get: () =>
|
|
39
|
+
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), ie = d(0), X = d(null), de = d(null), ae = d(null), ce = d(0), le = d(0), e = b({
|
|
40
|
+
get: () => ve(),
|
|
40
41
|
set: (a) => a
|
|
41
42
|
});
|
|
42
|
-
function
|
|
43
|
+
function ve() {
|
|
43
44
|
const a = Fe({
|
|
44
45
|
userConfig: w.config,
|
|
45
46
|
defaultConfig: Oe
|
|
@@ -52,17 +53,17 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
52
53
|
customPalette: lt[a.theme] || M
|
|
53
54
|
} : a;
|
|
54
55
|
}
|
|
55
|
-
|
|
56
|
-
e.value =
|
|
57
|
-
}, { deep: !0 }),
|
|
58
|
-
const { isPrinting:
|
|
56
|
+
Se(() => w.config, (a) => {
|
|
57
|
+
e.value = ve(), _e(), ce.value += 1, le.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap;
|
|
58
|
+
}, { deep: !0 }), Se(() => w.dataset, q, { deep: !0 });
|
|
59
|
+
const { isPrinting: he, isImaging: pe, generatePdf: ge, generateImage: ye } = pt({
|
|
59
60
|
elementId: `vue-ui-vertical-bar_${V.value}`,
|
|
60
61
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
61
|
-
}),
|
|
62
|
+
}), fe = b(() => ot(e.value.customPalette)), be = d(null), me = d(!1), Xe = b(() => e.value.table.responsiveBreakpoint), Y = d(null);
|
|
62
63
|
qe(() => {
|
|
63
|
-
|
|
64
|
+
_e();
|
|
64
65
|
});
|
|
65
|
-
function
|
|
66
|
+
function _e() {
|
|
66
67
|
if (Ve(w.dataset) && Q({
|
|
67
68
|
componentName: "VueUiVerticalBar",
|
|
68
69
|
type: "dataset"
|
|
@@ -70,10 +71,10 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
70
71
|
const a = ct(() => {
|
|
71
72
|
const { width: l, height: t } = vt({
|
|
72
73
|
chart: X.value,
|
|
73
|
-
title: e.value.style.chart.title.text ?
|
|
74
|
+
title: e.value.style.chart.title.text ? de.value : null,
|
|
74
75
|
legend: e.value.style.chart.legend.show ? ae.value : null
|
|
75
76
|
});
|
|
76
|
-
|
|
77
|
+
$e.value = l, v.value = t / j.value - g.value * 2;
|
|
77
78
|
});
|
|
78
79
|
Y.value = new ResizeObserver(a), Y.value.observe(X.value.parentNode);
|
|
79
80
|
}
|
|
@@ -84,15 +85,15 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
84
85
|
function Ae() {
|
|
85
86
|
new ResizeObserver((l) => {
|
|
86
87
|
l.forEach((t) => {
|
|
87
|
-
|
|
88
|
+
me.value = t.contentRect.width < Xe.value;
|
|
88
89
|
});
|
|
89
|
-
}).observe(
|
|
90
|
+
}).observe(be.value);
|
|
90
91
|
}
|
|
91
92
|
const $ = d({
|
|
92
93
|
showTable: e.value.table.show,
|
|
93
94
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
94
95
|
showTooltip: e.value.style.chart.tooltip.show
|
|
95
|
-
}),
|
|
96
|
+
}), xe = b(() => $.value.sortDesc), z = b(() => (w.dataset.forEach((a, l) => {
|
|
96
97
|
!a.value && !a.children && Q({
|
|
97
98
|
componentName: "VueUiVerticalBar",
|
|
98
99
|
type: "datasetAttributeEmpty",
|
|
@@ -123,8 +124,8 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
123
124
|
isChild: !1,
|
|
124
125
|
segregate: () => A(t),
|
|
125
126
|
isSegregated: T.value.includes(t),
|
|
126
|
-
color:
|
|
127
|
-
children: !a.children || !a.children.length ? [] : a.children.toSorted((_, N) =>
|
|
127
|
+
color: se(a.color) || fe.value[l] || M[l] || M[l % M.length],
|
|
128
|
+
children: !a.children || !a.children.length ? [] : a.children.toSorted((_, N) => xe.value ? N.value - _.value : _.value - N.value).map((_, N) => ({
|
|
128
129
|
..._,
|
|
129
130
|
value: S(Math.abs(_.value)),
|
|
130
131
|
sign: _.value >= 0 ? 1 : -1,
|
|
@@ -135,22 +136,22 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
135
136
|
parentSign: p,
|
|
136
137
|
id: `vertical_child_${l}_${N}_${V.value}`,
|
|
137
138
|
childIndex: N,
|
|
138
|
-
color:
|
|
139
|
+
color: se(_.color) || se(a.color) || fe.value[l] || M[l] || M[l % M.length]
|
|
139
140
|
})).map((_, N) => ({
|
|
140
141
|
..._,
|
|
141
142
|
isFirstChild: N === 0,
|
|
142
143
|
isLastChild: N === a.children.length - 1
|
|
143
144
|
}))
|
|
144
145
|
};
|
|
145
|
-
}).toSorted((a, l) =>
|
|
146
|
+
}).toSorted((a, l) => xe.value ? l.value - a.value : a.value - l.value))), ke = b(() => ({
|
|
146
147
|
cy: "vertical-bar-div-legend",
|
|
147
148
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
148
149
|
color: e.value.style.chart.legend.color,
|
|
149
150
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
150
151
|
paddingBottom: 12,
|
|
151
152
|
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:
|
|
153
|
+
})), 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), $e = d(512), y = b(() => ({
|
|
154
|
+
width: $e.value,
|
|
154
155
|
height: Ee.value,
|
|
155
156
|
padding: {
|
|
156
157
|
top: 12,
|
|
@@ -174,7 +175,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
174
175
|
T.value.includes(a) ? T.value = T.value.filter((l) => l !== a) : T.value.push(a), q(), Be("selectLegend", F.value);
|
|
175
176
|
}
|
|
176
177
|
const F = b(() => z.value.filter((a) => !T.value.includes(a.id))), L = b(() => F.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
|
|
177
|
-
function
|
|
178
|
+
function we(a, l = !1, t = 0) {
|
|
178
179
|
return l ? I({
|
|
179
180
|
v: S(Math.abs(a) / L.value * 100),
|
|
180
181
|
s: "%",
|
|
@@ -195,7 +196,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
195
196
|
y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
196
197
|
name: t.name,
|
|
197
198
|
value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
|
|
198
|
-
percentageToTotal: isNaN(t.value / L.value) ? "" :
|
|
199
|
+
percentageToTotal: isNaN(t.value / L.value) ? "" : we(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
|
|
199
200
|
sign: t.sign
|
|
200
201
|
};
|
|
201
202
|
}
|
|
@@ -245,7 +246,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
245
246
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
246
247
|
})}</b></div>`)), te.value = `<div style="text-align:left">${t}</div>`);
|
|
247
248
|
}
|
|
248
|
-
function
|
|
249
|
+
function Ce(a, l, t, o) {
|
|
249
250
|
if (!e.value.style.chart.layout.bars.dataLabels.value.show)
|
|
250
251
|
return "";
|
|
251
252
|
const f = Z(
|
|
@@ -258,7 +259,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
258
259
|
r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
|
|
259
260
|
}),
|
|
260
261
|
{ datapoint: l, seriesIndex: t }
|
|
261
|
-
), p = `(${
|
|
262
|
+
), p = `(${we(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
262
263
|
return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${p}` : ""}`;
|
|
263
264
|
}
|
|
264
265
|
const C = b(() => {
|
|
@@ -300,7 +301,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
300
301
|
});
|
|
301
302
|
return { head: a, body: l };
|
|
302
303
|
});
|
|
303
|
-
function
|
|
304
|
+
function Te() {
|
|
304
305
|
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
306
|
p.parentName,
|
|
306
307
|
p.parentValue,
|
|
@@ -314,26 +315,26 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
314
315
|
}
|
|
315
316
|
const G = d(!1);
|
|
316
317
|
function je(a) {
|
|
317
|
-
G.value = a,
|
|
318
|
+
G.value = a, ie.value += 1;
|
|
318
319
|
}
|
|
319
|
-
function
|
|
320
|
+
function Le() {
|
|
320
321
|
$.value.showTable = !$.value.showTable;
|
|
321
322
|
}
|
|
322
|
-
function
|
|
323
|
+
function Ne() {
|
|
323
324
|
$.value.sortDesc = !$.value.sortDesc, q();
|
|
324
325
|
}
|
|
325
|
-
function
|
|
326
|
+
function Pe() {
|
|
326
327
|
$.value.showTooltip = !$.value.showTooltip;
|
|
327
328
|
}
|
|
328
329
|
return Ie({
|
|
329
330
|
getData: He,
|
|
330
331
|
recalculateHeight: q,
|
|
331
|
-
generatePdf:
|
|
332
|
-
generateCsv:
|
|
333
|
-
generateImage:
|
|
334
|
-
toggleTable:
|
|
335
|
-
toggleSort:
|
|
336
|
-
toggleTooltip:
|
|
332
|
+
generatePdf: ge,
|
|
333
|
+
generateCsv: Te,
|
|
334
|
+
generateImage: ye,
|
|
335
|
+
toggleTable: Le,
|
|
336
|
+
toggleSort: Ne,
|
|
337
|
+
toggleTooltip: Pe
|
|
337
338
|
}), (a, l) => (u(), c("div", {
|
|
338
339
|
class: D(`vue-ui-vertical-bar ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
339
340
|
ref_key: "verticalBarChart",
|
|
@@ -344,11 +345,11 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
344
345
|
e.value.style.chart.title.text ? (u(), c("div", {
|
|
345
346
|
key: 0,
|
|
346
347
|
ref_key: "chartTitle",
|
|
347
|
-
ref:
|
|
348
|
+
ref: de,
|
|
348
349
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
349
350
|
}, [
|
|
350
351
|
(u(), R(ht, {
|
|
351
|
-
key: `title_${
|
|
352
|
+
key: `title_${ce.value}`,
|
|
352
353
|
config: {
|
|
353
354
|
title: {
|
|
354
355
|
cy: "vertical-bar-div-title",
|
|
@@ -364,11 +365,11 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
364
365
|
e.value.userOptions.show && W.value ? (u(), R(gt, {
|
|
365
366
|
ref_key: "details",
|
|
366
367
|
ref: De,
|
|
367
|
-
key: `user_options_${
|
|
368
|
+
key: `user_options_${ie.value}`,
|
|
368
369
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
369
370
|
color: e.value.style.chart.color,
|
|
370
|
-
isImaging: h(
|
|
371
|
-
isPrinting: h(
|
|
371
|
+
isImaging: h(pe),
|
|
372
|
+
isPrinting: h(he),
|
|
372
373
|
uid: V.value,
|
|
373
374
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
374
375
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -383,12 +384,12 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
383
384
|
chartElement: X.value,
|
|
384
385
|
position: e.value.userOptions.position,
|
|
385
386
|
onToggleFullscreen: je,
|
|
386
|
-
onGeneratePdf: h(
|
|
387
|
-
onGenerateCsv:
|
|
388
|
-
onGenerateImage: h(
|
|
389
|
-
onToggleTable:
|
|
390
|
-
onToggleSort:
|
|
391
|
-
onToggleTooltip:
|
|
387
|
+
onGeneratePdf: h(ge),
|
|
388
|
+
onGenerateCsv: Te,
|
|
389
|
+
onGenerateImage: h(ye),
|
|
390
|
+
onToggleTable: Le,
|
|
391
|
+
onToggleSort: Ne,
|
|
392
|
+
onToggleTooltip: Pe
|
|
392
393
|
}, Je({ _: 2 }, [
|
|
393
394
|
a.$slots.optionTooltip ? {
|
|
394
395
|
name: "optionTooltip",
|
|
@@ -455,7 +456,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
455
456
|
(u(), R(ze, {
|
|
456
457
|
key: `legend_top_${le.value}`,
|
|
457
458
|
legendSet: z.value,
|
|
458
|
-
config:
|
|
459
|
+
config: ke.value,
|
|
459
460
|
onClickMarker: l[0] || (l[0] = ({ legend: t }) => A(t.id))
|
|
460
461
|
}, {
|
|
461
462
|
item: x(({ legend: t, index: o }) => [
|
|
@@ -473,7 +474,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
473
474
|
r: e.value.style.chart.legend.roundingValue
|
|
474
475
|
}),
|
|
475
476
|
{ datapoint: t, seriesIndex: o }
|
|
476
|
-
)), 13,
|
|
477
|
+
)), 13, $t)
|
|
477
478
|
]),
|
|
478
479
|
_: 1
|
|
479
480
|
}, 8, ["legendSet", "config"]))
|
|
@@ -485,6 +486,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
485
486
|
viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
|
|
486
487
|
style: i(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
487
488
|
}, [
|
|
489
|
+
ue(_t),
|
|
488
490
|
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("linearGradient", {
|
|
489
491
|
x1: "0%",
|
|
490
492
|
y1: "0%",
|
|
@@ -495,12 +497,12 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
495
497
|
n("stop", {
|
|
496
498
|
offset: "0%",
|
|
497
499
|
"stop-color": t.color
|
|
498
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, Tt),
|
|
499
501
|
n("stop", {
|
|
500
502
|
offset: "100%",
|
|
501
|
-
"stop-color": h(
|
|
502
|
-
}, null, 8,
|
|
503
|
-
], 8,
|
|
503
|
+
"stop-color": h(re)(h(ut)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
|
|
504
|
+
}, null, 8, Lt)
|
|
505
|
+
], 8, Ct))), 256)),
|
|
504
506
|
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("g", null, [
|
|
505
507
|
n("rect", {
|
|
506
508
|
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),
|
|
@@ -510,7 +512,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
510
512
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
511
513
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
512
514
|
class: D({ animated: e.value.useCssAnimation })
|
|
513
|
-
}, null, 10,
|
|
515
|
+
}, null, 10, Nt)
|
|
514
516
|
]))), 256)),
|
|
515
517
|
(u(!0), c(U, null, H(B.value, (t, o) => (u(), c("g", null, [
|
|
516
518
|
n("rect", {
|
|
@@ -518,12 +520,12 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
518
520
|
y: s.value.top + (g.value + v.value) * o,
|
|
519
521
|
width: h(S)(P(t.value) <= 0 ? 1e-4 : P(t.value)),
|
|
520
522
|
height: v.value <= 0 ? 1e-4 : v.value,
|
|
521
|
-
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` : h(
|
|
523
|
+
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` : h(re)(t.color, e.value.style.chart.layout.bars.fillOpacity),
|
|
522
524
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
523
525
|
stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
524
526
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
525
527
|
class: D({ animated: e.value.useCssAnimation })
|
|
526
|
-
}, null, 10,
|
|
528
|
+
}, null, 10, Pt),
|
|
527
529
|
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), c("line", {
|
|
528
530
|
key: 0,
|
|
529
531
|
x1: 0,
|
|
@@ -533,7 +535,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
533
535
|
stroke: e.value.style.chart.layout.separators.color,
|
|
534
536
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
535
537
|
"stroke-linecap": "round"
|
|
536
|
-
}, null, 8,
|
|
538
|
+
}, null, 8, St)) : m("", !0),
|
|
537
539
|
O.value && e.value.style.chart.layout.separators.show ? (u(), c("line", {
|
|
538
540
|
key: 1,
|
|
539
541
|
x1: s.value.left + s.value.width / 2,
|
|
@@ -543,7 +545,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
543
545
|
stroke: e.value.style.chart.layout.separators.color,
|
|
544
546
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
545
547
|
"stroke-linecap": "round"
|
|
546
|
-
}, null, 8,
|
|
548
|
+
}, null, 8, Vt)) : m("", !0),
|
|
547
549
|
n("text", {
|
|
548
550
|
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,
|
|
549
551
|
y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
@@ -551,7 +553,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
551
553
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
552
554
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
553
555
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
554
|
-
}, r(
|
|
556
|
+
}, r(Ce(t.value, t, o, t.sign)), 9, zt),
|
|
555
557
|
(t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), c("text", {
|
|
556
558
|
key: 2,
|
|
557
559
|
"text-anchor": "end",
|
|
@@ -560,7 +562,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
560
562
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
561
563
|
fill: e.value.style.chart.layout.bars.nameLabels.color,
|
|
562
564
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
|
|
563
|
-
}, r(t.name), 9,
|
|
565
|
+
}, r(t.name), 9, Ft)) : m("", !0),
|
|
564
566
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
|
|
565
567
|
key: 3,
|
|
566
568
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
@@ -569,7 +571,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
569
571
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
570
572
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
571
573
|
"text-anchor": "start"
|
|
572
|
-
}, r(E(t, o).name), 9,
|
|
574
|
+
}, r(E(t, o).name), 9, Mt)) : m("", !0),
|
|
573
575
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), c("text", {
|
|
574
576
|
key: 4,
|
|
575
577
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
@@ -578,24 +580,24 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
578
580
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
579
581
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
580
582
|
"text-anchor": "start"
|
|
581
|
-
}, r(
|
|
583
|
+
}, r(Ce(E(t, o).value), E(t, o), o, t.parentSign || t.sign), 9, It)) : m("", !0),
|
|
582
584
|
n("rect", {
|
|
583
585
|
"data-cy-trap": "",
|
|
584
586
|
x: 0,
|
|
585
587
|
y: s.value.top + (g.value + v.value) * o - g.value / 2,
|
|
586
588
|
width: y.value.width <= 0 ? 1e-4 : y.value.width,
|
|
587
589
|
height: v.value + g.value <= 0 ? 1e-4 : v.value + g.value,
|
|
588
|
-
fill: oe.value === t.id ? h(
|
|
590
|
+
fill: oe.value === t.id ? h(re)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
|
|
589
591
|
onMouseenter: (f) => We(t, o),
|
|
590
592
|
onMouseleave: l[1] || (l[1] = (f) => {
|
|
591
593
|
Re.value = null, ee.value = !1, oe.value = null;
|
|
592
594
|
})
|
|
593
|
-
}, null, 40,
|
|
595
|
+
}, null, 40, Bt)
|
|
594
596
|
]))), 256)),
|
|
595
597
|
k(a.$slots, "svg", { svg: y.value }, void 0, !0)
|
|
596
|
-
], 14,
|
|
597
|
-
a.$slots.watermark ? (u(), c("div",
|
|
598
|
-
k(a.$slots, "watermark", K(J({ isPrinting: h(
|
|
598
|
+
], 14, wt)) : m("", !0),
|
|
599
|
+
a.$slots.watermark ? (u(), c("div", Ot, [
|
|
600
|
+
k(a.$slots, "watermark", K(J({ isPrinting: h(he) || h(pe) })), void 0, !0)
|
|
599
601
|
])) : m("", !0),
|
|
600
602
|
W.value ? m("", !0) : (u(), R(ft, {
|
|
601
603
|
key: 5,
|
|
@@ -620,7 +622,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
620
622
|
(u(), R(ze, {
|
|
621
623
|
key: `legend_bottom_${le.value}`,
|
|
622
624
|
legendSet: z.value,
|
|
623
|
-
config:
|
|
625
|
+
config: ke.value,
|
|
624
626
|
onClickMarker: l[2] || (l[2] = ({ legend: t }) => A(t.id))
|
|
625
627
|
}, {
|
|
626
628
|
item: x(({ legend: t, index: o }) => [
|
|
@@ -637,13 +639,13 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
637
639
|
r: e.value.style.chart.legend.roundingValue
|
|
638
640
|
}),
|
|
639
641
|
{ datapoint: t, seriesIndex: o }
|
|
640
|
-
)), 13,
|
|
642
|
+
)), 13, Dt)
|
|
641
643
|
]),
|
|
642
644
|
_: 1
|
|
643
645
|
}, 8, ["legendSet", "config"]))
|
|
644
646
|
], 512)) : m("", !0),
|
|
645
647
|
k(a.$slots, "legend", { legend: z.value }, void 0, !0),
|
|
646
|
-
|
|
648
|
+
ue(yt, {
|
|
647
649
|
show: $.value.showTooltip && ee.value && T.value.length < w.dataset.length,
|
|
648
650
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
649
651
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -685,10 +687,10 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
685
687
|
content: x(() => [
|
|
686
688
|
n("div", {
|
|
687
689
|
ref_key: "tableContainer",
|
|
688
|
-
ref:
|
|
690
|
+
ref: be,
|
|
689
691
|
class: "vue-ui-vertical-bar-table"
|
|
690
692
|
}, [
|
|
691
|
-
n("div",
|
|
693
|
+
n("div", Rt, [
|
|
692
694
|
n("div", {
|
|
693
695
|
role: "button",
|
|
694
696
|
tabindex: "0",
|
|
@@ -696,7 +698,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
696
698
|
onClick: l[3] || (l[3] = (t) => $.value.showTable = !1),
|
|
697
699
|
onKeypress: l[4] || (l[4] = Qe((t) => $.value.showTable = !1, ["enter"]))
|
|
698
700
|
}, [
|
|
699
|
-
|
|
701
|
+
ue(bt, {
|
|
700
702
|
name: "close",
|
|
701
703
|
stroke: e.value.table.th.color,
|
|
702
704
|
"stroke-width": 2
|
|
@@ -704,15 +706,15 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
704
706
|
], 36),
|
|
705
707
|
n("div", {
|
|
706
708
|
style: { width: "100%", "container-type": "inline-size" },
|
|
707
|
-
class: D({ "vue-ui-responsive":
|
|
709
|
+
class: D({ "vue-ui-responsive": me.value })
|
|
708
710
|
}, [
|
|
709
|
-
n("table",
|
|
711
|
+
n("table", Xt, [
|
|
710
712
|
n("caption", {
|
|
711
713
|
style: i({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
712
714
|
class: "vue-ui-data-table__caption"
|
|
713
715
|
}, [
|
|
714
716
|
Ze(r(e.value.style.chart.title.text) + " ", 1),
|
|
715
|
-
e.value.style.chart.title.subtitle.text ? (u(), c("span",
|
|
717
|
+
e.value.style.chart.title.subtitle.text ? (u(), c("span", At, r(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
|
|
716
718
|
], 4),
|
|
717
719
|
n("thead", null, [
|
|
718
720
|
n("tr", {
|
|
@@ -722,7 +724,7 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
722
724
|
(u(!0), c(U, null, H(C.value.head, (t) => (u(), c("th", {
|
|
723
725
|
style: i(`outline:${e.value.table.th.outline}`)
|
|
724
726
|
}, [
|
|
725
|
-
n("div",
|
|
727
|
+
n("div", Et, r(t), 1)
|
|
726
728
|
], 4))), 256))
|
|
727
729
|
], 4),
|
|
728
730
|
n("tr", null, [
|
|
@@ -759,56 +761,56 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
759
761
|
style: i(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
760
762
|
"data-cell": C.value.head[0] ?? ""
|
|
761
763
|
}, [
|
|
762
|
-
n("div",
|
|
764
|
+
n("div", Ut, [
|
|
763
765
|
t.color ? (u(), c("span", {
|
|
764
766
|
key: 0,
|
|
765
767
|
style: i(`color:${t.color};margin-right:3px`)
|
|
766
768
|
}, "⬤", 4)) : m("", !0),
|
|
767
769
|
n("span", null, r(t.parentName), 1)
|
|
768
770
|
])
|
|
769
|
-
], 12,
|
|
771
|
+
], 12, Gt),
|
|
770
772
|
n("td", {
|
|
771
773
|
class: "vue-ui-data-table__tbody__td",
|
|
772
774
|
style: i(`outline:${e.value.table.td.outline}`),
|
|
773
775
|
"data-cell": C.value.head[1] ?? ""
|
|
774
776
|
}, [
|
|
775
|
-
n("div",
|
|
776
|
-
], 12,
|
|
777
|
+
n("div", Wt, 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)
|
|
778
|
+
], 12, Ht),
|
|
777
779
|
n("td", {
|
|
778
780
|
class: "vue-ui-data-table__tbody__td",
|
|
779
781
|
style: i(`outline:${e.value.table.td.outline}`),
|
|
780
782
|
"data-cell": C.value.head[2] ?? ""
|
|
781
783
|
}, [
|
|
782
|
-
n("div",
|
|
783
|
-
], 12,
|
|
784
|
+
n("div", Yt, r(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
785
|
+
], 12, jt),
|
|
784
786
|
n("td", {
|
|
785
787
|
class: "vue-ui-data-table__tbody__td",
|
|
786
788
|
style: i(`outline:${e.value.table.td.outline}`),
|
|
787
789
|
"data-cell": C.value.head[3] ?? ""
|
|
788
790
|
}, [
|
|
789
|
-
n("div",
|
|
790
|
-
], 12,
|
|
791
|
+
n("div", Kt, r(t.childName), 1)
|
|
792
|
+
], 12, qt),
|
|
791
793
|
n("td", {
|
|
792
794
|
class: "vue-ui-data-table__tbody__td",
|
|
793
795
|
style: i(`outline:${e.value.table.td.outline}`),
|
|
794
796
|
"data-cell": C.value.head[4] ?? ""
|
|
795
797
|
}, [
|
|
796
|
-
n("div",
|
|
797
|
-
], 12,
|
|
798
|
+
n("div", Qt, 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)
|
|
799
|
+
], 12, Jt),
|
|
798
800
|
n("td", {
|
|
799
801
|
class: "vue-ui-data-table__tbody__td",
|
|
800
802
|
style: i(`outline:${e.value.table.td.outline}`),
|
|
801
803
|
"data-cell": C.value.head[5] ?? ""
|
|
802
804
|
}, [
|
|
803
|
-
n("div",
|
|
804
|
-
], 12,
|
|
805
|
+
n("div", ea, r(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
806
|
+
], 12, Zt),
|
|
805
807
|
n("td", {
|
|
806
808
|
class: "vue-ui-data-table__tbody__td",
|
|
807
809
|
style: i(`outline:${e.value.table.td.outline}`),
|
|
808
810
|
"data-cell": C.value.head[6] ?? ""
|
|
809
811
|
}, [
|
|
810
|
-
n("div",
|
|
811
|
-
], 12,
|
|
812
|
+
n("div", aa, r(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
813
|
+
], 12, ta)
|
|
812
814
|
], 6))), 256))
|
|
813
815
|
])
|
|
814
816
|
])
|
|
@@ -818,9 +820,9 @@ const xt = ["id"], kt = ["onClick"], $t = ["xmlns", "viewBox"], wt = ["id"], Ct
|
|
|
818
820
|
]),
|
|
819
821
|
_: 1
|
|
820
822
|
}, 8, ["config"])) : m("", !0)
|
|
821
|
-
], 14,
|
|
823
|
+
], 14, kt));
|
|
822
824
|
}
|
|
823
|
-
},
|
|
825
|
+
}, fa = /* @__PURE__ */ xt(la, [["__scopeId", "data-v-008d2191"]]);
|
|
824
826
|
export {
|
|
825
|
-
|
|
827
|
+
fa as default
|
|
826
828
|
};
|