vue-data-ui 2.4.55 → 2.4.57
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-Lu-rJXGl.cjs → Arrow-BhwhLRcU.cjs} +1 -1
- package/dist/{Arrow-D9oPJhO0.js → Arrow-DelnKkT1.js} +1 -1
- package/dist/{BaseIcon-mHeKnX4-.js → BaseIcon-9gdEHMWK.js} +1 -1
- package/dist/{BaseIcon-DxRKjbz1.cjs → BaseIcon-DujPvdJ_.cjs} +1 -1
- package/dist/{DataTable-rMMvio1U.cjs → DataTable-BUflha5V.cjs} +1 -1
- package/dist/{DataTable-D8MTezlM.js → DataTable-DgbrnD__.js} +2 -2
- package/dist/{Legend-wr5XLSfL.js → Legend-HooNAKB_.js} +1 -1
- package/dist/{Legend-Ba34oTdO.cjs → Legend-V3K-4ipN.cjs} +1 -1
- package/dist/{PackageVersion-xnKIqody.js → PackageVersion-S3SzpuwC.js} +1 -1
- package/dist/{PackageVersion-BJi2ywG9.cjs → PackageVersion-dQYEsTLp.cjs} +1 -1
- package/dist/{PenAndPaper-CX6N7FR7.cjs → PenAndPaper-1h87IVla.cjs} +1 -1
- package/dist/{PenAndPaper-iek0aH4r.js → PenAndPaper-v846FwcH.js} +3 -3
- package/dist/{Shape-B_lWjwmP.js → Shape-D7aacHaz.js} +1 -1
- package/dist/{Shape-9v-w5i6N.cjs → Shape-DV5sH0dX.cjs} +1 -1
- package/dist/{Slicer--m1nOwbO.cjs → Slicer-BRxR5OYL.cjs} +1 -1
- package/dist/{Slicer-Bwg4WzZf.js → Slicer-BXCORSCz.js} +2 -2
- package/dist/{Title-BWhYDGb-.cjs → Title-B-EsW0Q2.cjs} +1 -1
- package/dist/{Title-BecmraNn.js → Title-DLjHHdyq.js} +1 -1
- package/dist/{Tooltip-cPxZzSgr.cjs → Tooltip-B7gYRLGN.cjs} +1 -1
- package/dist/{Tooltip-BZYApG0d.js → Tooltip-BDaa-67h.js} +1 -1
- package/dist/{index-Dhlyke5j.js → index-CI-N9klv.js} +5 -1
- package/dist/index-o6tXRhOr.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-C9KmUVBy.cjs → useNestedProp-D-zaZbSR.cjs} +1 -1
- package/dist/{useNestedProp-D9eTQKze.js → useNestedProp-D1eJ0dvv.js} +1 -1
- package/dist/{usePrinter-BnBk8gnl.js → usePrinter-CXc8xCKk.js} +1 -1
- package/dist/{usePrinter-DpEuGyLP.cjs → usePrinter-H2UFIe6n.cjs} +1 -1
- package/dist/{vue-data-ui-CGGZHtx3.cjs → vue-data-ui-CvfX2D1d.cjs} +1 -1
- package/dist/{vue-data-ui-aSR5-7gp.js → vue-data-ui-DuXblXhF.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D9pXx9fJ.js → vue-ui-3d-bar-fvTVGk8O.js} +9 -9
- package/dist/{vue-ui-3d-bar-Dm2wnS6e.cjs → vue-ui-3d-bar-zKUnnMOY.cjs} +1 -1
- package/dist/{vue-ui-accordion-CGpOsWNN.js → vue-ui-accordion-CYLks1fW.js} +3 -3
- package/dist/{vue-ui-accordion-mtZIFAv9.cjs → vue-ui-accordion-paZXh-GD.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BcMERmA5.cjs → vue-ui-age-pyramid-Bg8Bexac.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-dbX4WaaY.js → vue-ui-age-pyramid-Ch3nY1Dx.js} +10 -10
- package/dist/{vue-ui-annotator-CY-rCEDB.cjs → vue-ui-annotator-BXbLcJ1L.cjs} +1 -1
- package/dist/{vue-ui-annotator-DfRkh1D_.js → vue-ui-annotator-DGupSF-o.js} +1 -1
- package/dist/{vue-ui-bullet-CUoiQcb5.js → vue-ui-bullet-BSRXabBe.js} +8 -8
- package/dist/{vue-ui-bullet-jsXAmYsX.cjs → vue-ui-bullet-DqM9h81O.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BD58hsql.cjs → vue-ui-candlestick-C0PkovyK.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BLIICgdz.js → vue-ui-candlestick-Dww4XHwQ.js} +11 -11
- package/dist/vue-ui-carousel-table-BZs-sxxu.js +396 -0
- package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +1 -0
- package/dist/{vue-ui-chestnut-vivMozHy.cjs → vue-ui-chestnut-Be4Lagdr.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DIPBJ5D2.js → vue-ui-chestnut-CnupXXAM.js} +8 -8
- package/dist/{vue-ui-cursor-CzLtzn7N.js → vue-ui-cursor-oqfOA98Q.js} +2 -2
- package/dist/{vue-ui-cursor-Cgv_2p2T.cjs → vue-ui-cursor-smlBNiGG.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DqZVcLlQ.js → vue-ui-dashboard-BNu7yNYm.js} +2 -2
- package/dist/{vue-ui-dashboard-CtlrjFxl.cjs → vue-ui-dashboard-Dw_90R29.cjs} +1 -1
- package/dist/{vue-ui-digits-e1HQVXb9.cjs → vue-ui-digits-_8FbgFrI.cjs} +1 -1
- package/dist/{vue-ui-digits-CGFznMkY.js → vue-ui-digits-qztPrOEN.js} +2 -2
- package/dist/{vue-ui-donut-z2eOcEI5.cjs → vue-ui-donut-B7orj3vV.cjs} +1 -1
- package/dist/{vue-ui-donut-DmLq2iWK.js → vue-ui-donut-CK9dINFS.js} +11 -11
- package/dist/{vue-ui-donut-evolution-4odFZbUM.cjs → vue-ui-donut-evolution-BmTzjKlH.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DpollzkH.js → vue-ui-donut-evolution-DpDpYw3f.js} +11 -11
- package/dist/{vue-ui-dumbbell-i7E-B6zN.cjs → vue-ui-dumbbell-5yfcA-Of.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DLr4Lh3u.js → vue-ui-dumbbell-Dx1I89N9.js} +10 -10
- package/dist/{vue-ui-flow-BuYhmRed.cjs → vue-ui-flow-Bar7LG9t.cjs} +1 -1
- package/dist/{vue-ui-flow-CosxAYPJ.js → vue-ui-flow-DJNqydD1.js} +9 -9
- package/dist/{vue-ui-funnel-BNPISgC0.cjs → vue-ui-funnel-lxHehCUr.cjs} +1 -1
- package/dist/{vue-ui-funnel-C_2YAtFj.js → vue-ui-funnel-mP8ftcS5.js} +8 -8
- package/dist/{vue-ui-galaxy-D1cWyHG9.js → vue-ui-galaxy-3cOLS6lh.js} +11 -11
- package/dist/{vue-ui-galaxy-DMOx2Le7.cjs → vue-ui-galaxy-B8zbGikp.cjs} +1 -1
- package/dist/{vue-ui-gauge-Dw7QvZei.cjs → vue-ui-gauge-Bz1nzveF.cjs} +1 -1
- package/dist/{vue-ui-gauge-Dnq0t_eH.js → vue-ui-gauge-CN_zo833.js} +7 -7
- package/dist/{vue-ui-gizmo-DcT9tTS-.cjs → vue-ui-gizmo-C9XQ-7Sj.cjs} +1 -1
- package/dist/{vue-ui-gizmo-vHQVGdpR.js → vue-ui-gizmo-akkNcCWf.js} +3 -3
- package/dist/{vue-ui-heatmap-CtxQI5Mq.js → vue-ui-heatmap-B3ClLioV.js} +10 -10
- package/dist/{vue-ui-heatmap-D-r7qdj0.cjs → vue-ui-heatmap-BW6dmp8j.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BjcPvcaK.js → vue-ui-history-plot-C-EqVFW-.js} +11 -11
- package/dist/{vue-ui-history-plot-B8pP20QN.cjs → vue-ui-history-plot-Mp0zDeR-.cjs} +1 -1
- package/dist/{vue-ui-kpi-BjuKXuQM.js → vue-ui-kpi-C-axCKZx.js} +3 -3
- package/dist/{vue-ui-kpi-BPwU5pay.cjs → vue-ui-kpi-D8hh3p8f.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DE2NXywp.cjs → vue-ui-mini-loader-Cal5W_q6.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DZYw7bD6.js → vue-ui-mini-loader-CsZ1zxJz.js} +2 -2
- package/dist/{vue-ui-molecule-A3yHt8cl.js → vue-ui-molecule-BvNh7REY.js} +11 -11
- package/dist/{vue-ui-molecule-B8I4iuBQ.cjs → vue-ui-molecule-RkdIX-iW.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Dh1qbcXz.js → vue-ui-mood-radar-C7v4dBNw.js} +11 -11
- package/dist/{vue-ui-mood-radar-BKtVVOZz.cjs → vue-ui-mood-radar-DLpDoq0G.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-B5ixdGsx.cjs → vue-ui-nested-donuts-BO249_PV.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DPuIU4IX.js → vue-ui-nested-donuts-C08kpvMd.js} +11 -11
- package/dist/{vue-ui-onion-BTMaTU2a.cjs → vue-ui-onion-BjNQgHPX.cjs} +1 -1
- package/dist/{vue-ui-onion-BgcJBzxI.js → vue-ui-onion-CTLBemDj.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-Cye2V8MQ.cjs → vue-ui-parallel-coordinate-plot-CoeVi-98.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Ksh3Tuvx.js → vue-ui-parallel-coordinate-plot-H1FdP6AE.js} +12 -12
- package/dist/{vue-ui-quadrant-DOet5Q47.cjs → vue-ui-quadrant-D701bdNz.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DGBXeeOe.js → vue-ui-quadrant-Dd-LDy4T.js} +12 -12
- package/dist/{vue-ui-quick-chart-DQcck_x6.js → vue-ui-quick-chart-BeNivWrg.js} +9 -9
- package/dist/{vue-ui-quick-chart-DhCA-7B5.cjs → vue-ui-quick-chart-CRNEkxoM.cjs} +1 -1
- package/dist/{vue-ui-radar-qk20LKHr.cjs → vue-ui-radar-3W9NRklj.cjs} +1 -1
- package/dist/{vue-ui-radar-CI5egNer.js → vue-ui-radar-D9U_vOad.js} +12 -12
- package/dist/{vue-ui-rating-Ch2PSMeW.js → vue-ui-rating-B7AlAqCY.js} +2 -2
- package/dist/{vue-ui-rating-CYhvKLSi.cjs → vue-ui-rating-DeuaL_cU.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-t-WDgqtA.cjs → vue-ui-relation-circle-B8JtK-JM.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-G6KC4zs0.js → vue-ui-relation-circle-CT23BNcW.js} +7 -7
- package/dist/{vue-ui-rings-NIIfGve4.js → vue-ui-rings-BZ7FYYxr.js} +11 -11
- package/dist/{vue-ui-rings-DxpkXXwJ.cjs → vue-ui-rings-CZCTLghE.cjs} +1 -1
- package/dist/{vue-ui-scatter-BqxcKjb2.js → vue-ui-scatter-DMr8OrC3.js} +12 -12
- package/dist/{vue-ui-scatter-DynxMn7l.cjs → vue-ui-scatter-DlA0xU5U.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BUP9G_uK.cjs → vue-ui-screenshot-BFV1qEsF.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DreZMmrO.js → vue-ui-screenshot-DHiX35pR.js} +1 -1
- package/dist/{vue-ui-skeleton-D_lU-hWK.cjs → vue-ui-skeleton-BIWgLDDf.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DQqwDUqP.js → vue-ui-skeleton-owIhXtQF.js} +3 -3
- package/dist/{vue-ui-smiley-AGwF1X7u.cjs → vue-ui-smiley-BISneB7t.cjs} +1 -1
- package/dist/{vue-ui-smiley-CdmO39JE.js → vue-ui-smiley-CCOQ6zjo.js} +2 -2
- package/dist/{vue-ui-spark-trend-BUx5YwEZ.js → vue-ui-spark-trend-B56DI3Mc.js} +5 -5
- package/dist/{vue-ui-spark-trend-DD1s6Thz.cjs → vue-ui-spark-trend-lMzod-5S.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-KZd6YQwQ.js → vue-ui-sparkbar-CMkozDkx.js} +4 -4
- package/dist/{vue-ui-sparkbar-mlrF_QEO.cjs → vue-ui-sparkbar-DcdDLl8l.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-B4J8ZYzs.cjs → vue-ui-sparkgauge-BhwNRzrD.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Db-d9x9r.js → vue-ui-sparkgauge-De06LRPj.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B61JDza9.js → vue-ui-sparkhistogram-CBDd7jIn.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DzJ5NNi9.cjs → vue-ui-sparkhistogram-D00ahrgs.cjs} +1 -1
- package/dist/{vue-ui-sparkline-P6ubVgp0.js → vue-ui-sparkline-BJejWvTN.js} +4 -4
- package/dist/{vue-ui-sparkline-S6HehQ0a.cjs → vue-ui-sparkline-CY92qVz0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BDBqoeJQ.cjs → vue-ui-sparkstackbar-BjKL_6dq.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DKtOqh-Y.js → vue-ui-sparkstackbar-DlnmPom2.js} +5 -5
- package/dist/{vue-ui-stackbar-WShCS9A1.js → vue-ui-stackbar-19XdLQXB.js} +306 -291
- package/dist/vue-ui-stackbar-T4VBFpDo.cjs +6 -0
- package/dist/{vue-ui-strip-plot-Bq3u8k2l.js → vue-ui-strip-plot-Bly8GoNP.js} +11 -11
- package/dist/{vue-ui-strip-plot-DH4LQTfB.cjs → vue-ui-strip-plot-CtjbMamo.cjs} +1 -1
- package/dist/{vue-ui-table-sJN2rS51.js → vue-ui-table-BUF6Pyfp.js} +1 -1
- package/dist/{vue-ui-table-aV4pHrWD.cjs → vue-ui-table-BisPh85-.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DsdyE14x.js → vue-ui-table-heatmap-By-MmFiq.js} +4 -4
- package/dist/{vue-ui-table-heatmap-CruECEYA.cjs → vue-ui-table-heatmap-CPn-jC0n.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CcsNg6th.cjs → vue-ui-table-sparkline-CIDuWZZs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BlUe2QFV.js → vue-ui-table-sparkline-DG70UNkU.js} +5 -5
- package/dist/{vue-ui-thermometer-ButIh820.cjs → vue-ui-thermometer-CMvk1D7J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-80aa72_6.js → vue-ui-thermometer-Vr2IP_p0.js} +7 -7
- package/dist/{vue-ui-timer-CuUSpISM.js → vue-ui-timer-CD7gFOjN.js} +5 -5
- package/dist/{vue-ui-timer-Dk4I7cRn.cjs → vue-ui-timer-CUHgN89f.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CQ98xHZ5.js → vue-ui-tiremarks-44pO3jx1.js} +7 -7
- package/dist/{vue-ui-tiremarks-BsYfeNCN.cjs → vue-ui-tiremarks-w_gxHFeB.cjs} +1 -1
- package/dist/{vue-ui-treemap-CHXb8mBG.cjs → vue-ui-treemap-CFhTEaxa.cjs} +1 -1
- package/dist/{vue-ui-treemap-s1nZAhAS.js → vue-ui-treemap-CyOUM3-P.js} +11 -11
- package/dist/{vue-ui-vertical-bar-iZWowEik.cjs → vue-ui-vertical-bar-C51RKLB8.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Dd306Z10.js → vue-ui-vertical-bar-wngOp0Zc.js} +11 -11
- package/dist/{vue-ui-waffle-BJgSuNVY.cjs → vue-ui-waffle-CXZc4t27.cjs} +1 -1
- package/dist/{vue-ui-waffle-CQfOCZjf.js → vue-ui-waffle-CuN7i0ci.js} +11 -11
- package/dist/{vue-ui-wheel-DB-4Rn84.js → vue-ui-wheel-B_gLugLx.js} +7 -7
- package/dist/{vue-ui-wheel-s8UTbo9G.cjs → vue-ui-wheel-u9Vc7ZTZ.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-C-l2Z3Dd.js → vue-ui-word-cloud-DKHGS0my.js} +10 -10
- package/dist/{vue-ui-word-cloud-DvfOJe4M.cjs → vue-ui-word-cloud-tSXyXvd6.cjs} +1 -1
- package/dist/{vue-ui-xy-P_VLOaMg.js → vue-ui-xy-BK9R8MrJ.js} +14 -14
- package/dist/{vue-ui-xy-D1Nkk2Gp.cjs → vue-ui-xy-bX3g4COC.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-BwNEs-cY.js → vue-ui-xy-canvas-DaT4HoWD.js} +11 -11
- package/dist/{vue-ui-xy-canvas-CIKl9AXf.cjs → vue-ui-xy-canvas-gDaRsnBI.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-DGcOW0vL.cjs +0 -9
- package/dist/vue-ui-carousel-table-CCmB_BJ7.cjs +0 -1
- package/dist/vue-ui-carousel-table-NUliqwxA.js +0 -379
- package/dist/vue-ui-stackbar-DCCcEgQZ.cjs +0 -6
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
import { ref as n, onMounted as I, computed as F, watch as M, onBeforeUnmount as pe, nextTick as ce, openBlock as s, createElementBlock as d, unref as u, createElementVNode as S, normalizeStyle as v, normalizeClass as xe, createTextVNode as G, toDisplayString as q, renderSlot as p, Fragment as D, renderList as X, normalizeProps as j, guardReactiveProps as J, createCommentVNode as B, createBlock as he, createSlots as Oe, withCtx as P } from "vue";
|
|
2
|
-
import { u as Ie, c as Fe, o as K, e as Q, s as Be, q as Pe, r as Re } from "./index-Dhlyke5j.js";
|
|
3
|
-
import { u as ze } from "./useNestedProp-D9eTQKze.js";
|
|
4
|
-
import { u as Ee, U as Se } from "./usePrinter-BnBk8gnl.js";
|
|
5
|
-
import Ne from "./vue-ui-skeleton-DQqwDUqP.js";
|
|
6
|
-
import { u as Ue } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
-
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
9
|
-
key: 2,
|
|
10
|
-
ref: "source",
|
|
11
|
-
dir: "auto"
|
|
12
|
-
}, qe = {
|
|
13
|
-
__name: "vue-ui-carousel-table",
|
|
14
|
-
props: {
|
|
15
|
-
config: {
|
|
16
|
-
type: Object,
|
|
17
|
-
default() {
|
|
18
|
-
return {};
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
dataset: {
|
|
22
|
-
type: Object,
|
|
23
|
-
default() {
|
|
24
|
-
return {};
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
setup(m, { expose: fe }) {
|
|
29
|
-
const l = m, { vue_ui_carousel_table: ge } = Ie(), N = n(Fe()), W = n(!1), $ = n(!!l.dataset);
|
|
30
|
-
I(() => {
|
|
31
|
-
Y();
|
|
32
|
-
});
|
|
33
|
-
function Y() {
|
|
34
|
-
K(l.dataset) ? Q({
|
|
35
|
-
componentName: "VueUiCarouselTable",
|
|
36
|
-
type: "dataset"
|
|
37
|
-
}) : ((!l.dataset.head || K(l.dataset.head)) && (Q({
|
|
38
|
-
componentName: "VueUiCarouselTable",
|
|
39
|
-
type: "datasetAttribute",
|
|
40
|
-
property: "head"
|
|
41
|
-
}), $.value = !1), (!l.dataset.body || K(l.dataset.body)) && (Q({
|
|
42
|
-
componentName: "VueUiCarouselTable",
|
|
43
|
-
type: "datasetAttribute",
|
|
44
|
-
property: "body"
|
|
45
|
-
}), $.value = !1));
|
|
46
|
-
}
|
|
47
|
-
const e = F({
|
|
48
|
-
get: () => ee(),
|
|
49
|
-
set: (t) => t
|
|
50
|
-
}), { userOptionsVisible: U, setUserOptionsVisibility: Z, keepUserOptionState: _ } = Ue({ config: e.value });
|
|
51
|
-
function ee() {
|
|
52
|
-
return ze({
|
|
53
|
-
userConfig: l.config,
|
|
54
|
-
defaultConfig: ge
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
M(() => l.config, (t) => {
|
|
58
|
-
e.value = ee(), U.value = !e.value.showOnChartHover, Y();
|
|
59
|
-
}, { deep: !0 }), M(() => l.dataset, (t) => {
|
|
60
|
-
H();
|
|
61
|
-
}, { deep: !0 });
|
|
62
|
-
const { isPrinting: te, isImaging: ae, generatePdf: me, generateImage: oe } = Ee({
|
|
63
|
-
elementId: `carousel-table_${N.value}`,
|
|
64
|
-
fileName: e.value.caption.text || "vue-ui-carousel-table"
|
|
65
|
-
}), c = n({
|
|
66
|
-
showAnimation: e.value.animation.use
|
|
67
|
-
}), r = n(null), ne = n(null), T = n(null), k = n(null), A = n(0), R = n(0), z = n(!1), w = n(null), f = n(null), x = n(0);
|
|
68
|
-
function H() {
|
|
69
|
-
w.value && (f.value = {
|
|
70
|
-
elements: w.value.getElementsByTagName("tr"),
|
|
71
|
-
heights: Array.from(w.value.getElementsByTagName("tr")).map((t) => t.getBoundingClientRect().height)
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
I(H);
|
|
75
|
-
const be = F(() => !f.value || !f.value.heights.length ? 0 : Math.max(...f.value.heights) + A.value + R.value), ye = F(() => l.dataset.body ? e.value.tbody.tr.visible <= l.dataset.body.length ? e.value.tbody.tr.visible : l.dataset.body.length : 0), Ce = F(() => (e.value.tbody.tr.height + e.value.tbody.tr.td.padding.top + e.value.tbody.tr.td.padding.bottom + e.value.tbody.tr.border.size * 2) * ye.value + A.value + R.value), E = n(0), O = n(null), b = n(0), y = n(!1), le = n(0);
|
|
76
|
-
I(() => {
|
|
77
|
-
T.value && (A.value = T.value.getBoundingClientRect().height), k.value && (R.value = k.value.getBoundingClientRect().height), c.value.showAnimation && f.value && ie();
|
|
78
|
-
}), I(() => {
|
|
79
|
-
if (r.value) {
|
|
80
|
-
let o = function() {
|
|
81
|
-
const i = t.getBoundingClientRect().bottom;
|
|
82
|
-
a.forEach((h) => {
|
|
83
|
-
h.getBoundingClientRect().top < i ? h.style.visibility = "hidden" : h.style.visibility = "visible";
|
|
84
|
-
});
|
|
85
|
-
};
|
|
86
|
-
const t = r.value.querySelector("thead"), a = Array.from(w.value.querySelectorAll("tr"));
|
|
87
|
-
r.value.addEventListener("scroll", o), o(), pe(() => {
|
|
88
|
-
r.value.removeEventListener("scroll", o);
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
function $e(t) {
|
|
93
|
-
W.value = t, le.value += 1;
|
|
94
|
-
}
|
|
95
|
-
function ie() {
|
|
96
|
-
!O.value && !y.value && (O.value = requestAnimationFrame(se));
|
|
97
|
-
}
|
|
98
|
-
function Te() {
|
|
99
|
-
if (!r.value) return !1;
|
|
100
|
-
const { scrollTop: t, scrollHeight: a, clientHeight: o } = r.value;
|
|
101
|
-
return t + o >= a;
|
|
102
|
-
}
|
|
103
|
-
function se(t) {
|
|
104
|
-
if (y.value) return;
|
|
105
|
-
b.value || (b.value = t), t - b.value >= e.value.animation.speedMs && (E.value += f.value.heights[x.value], (Te() || x.value >= f.value.heights.length) && (E.value = 0, x.value = -1), x.value += 1, r.value && r.value.scrollTo({
|
|
106
|
-
top: E.value,
|
|
107
|
-
behavior: "smooth"
|
|
108
|
-
}), b.value = t), O.value = requestAnimationFrame(se);
|
|
109
|
-
}
|
|
110
|
-
function g() {
|
|
111
|
-
y.value = !0, cancelAnimationFrame(O.value), O.value = null;
|
|
112
|
-
}
|
|
113
|
-
pe(g);
|
|
114
|
-
function C() {
|
|
115
|
-
!y.value || !c.value.showAnimation || (y.value = !1, b.value = 0, ie());
|
|
116
|
-
}
|
|
117
|
-
function ke() {
|
|
118
|
-
e.value.animation.pauseOnHover && g();
|
|
119
|
-
}
|
|
120
|
-
const L = n(null);
|
|
121
|
-
function Ae() {
|
|
122
|
-
g(), clearTimeout(L.value);
|
|
123
|
-
}
|
|
124
|
-
function ue() {
|
|
125
|
-
clearTimeout(L.value), L.value = setTimeout(C, 1e3);
|
|
126
|
-
}
|
|
127
|
-
M(
|
|
128
|
-
() => e.value.animation.use,
|
|
129
|
-
(t) => {
|
|
130
|
-
t ? (c.value.showAnimation = !0, C()) : (c.value.showAnimation = !1, g());
|
|
131
|
-
}
|
|
132
|
-
);
|
|
133
|
-
const we = F(() => e.value.responsiveBreakpoint);
|
|
134
|
-
I(() => {
|
|
135
|
-
const t = new ResizeObserver((a) => {
|
|
136
|
-
a.forEach((o) => {
|
|
137
|
-
z.value = o.contentRect.width < we.value;
|
|
138
|
-
}), A.value = T.value ? T.value.getBoundingClientRect().height : 0, R.value = k.value ? k.value.getBoundingClientRect().height : 0, x.value = 0, ce(() => {
|
|
139
|
-
g(), b.value = 0, E.value = 0, H(), C();
|
|
140
|
-
});
|
|
141
|
-
});
|
|
142
|
-
r.value && t.observe(r.value);
|
|
143
|
-
});
|
|
144
|
-
function re() {
|
|
145
|
-
me();
|
|
146
|
-
}
|
|
147
|
-
function de() {
|
|
148
|
-
c.value.showAnimation = !c.value.showAnimation, c.value.showAnimation ? C() : g();
|
|
149
|
-
}
|
|
150
|
-
function ve() {
|
|
151
|
-
ce(() => {
|
|
152
|
-
const t = l.dataset.head.map((i, h) => [
|
|
153
|
-
[l.dataset.body[h]]
|
|
154
|
-
]), a = [
|
|
155
|
-
[e.value.caption.text],
|
|
156
|
-
[l.dataset.head.map((i) => [i])]
|
|
157
|
-
].concat(t), o = Pe(a);
|
|
158
|
-
Re({
|
|
159
|
-
csvContent: o,
|
|
160
|
-
title: e.value.caption.text || "vue-ui-carousel-table"
|
|
161
|
-
});
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
return fe({
|
|
165
|
-
pauseAnimation: g,
|
|
166
|
-
resumeAnimation: C,
|
|
167
|
-
toggleAnimation: de,
|
|
168
|
-
generateCsv: ve,
|
|
169
|
-
generatePdf: re,
|
|
170
|
-
generateImage: oe
|
|
171
|
-
}), (t, a) => (s(), d("div", {
|
|
172
|
-
style: { position: "relative", overflow: "visible" },
|
|
173
|
-
ref_key: "chartContainer",
|
|
174
|
-
ref: ne,
|
|
175
|
-
onMouseenter: a[5] || (a[5] = () => u(Z)(!0)),
|
|
176
|
-
onMouseleave: a[6] || (a[6] = () => u(Z)(!1))
|
|
177
|
-
}, [
|
|
178
|
-
S("div", {
|
|
179
|
-
ref_key: "tableContainer",
|
|
180
|
-
ref: r,
|
|
181
|
-
id: `carousel-table_${N.value}`,
|
|
182
|
-
style: v({
|
|
183
|
-
height: u(te) || u(ae) ? "auto" : `${Math.max(Ce.value, be.value)}px`,
|
|
184
|
-
containerType: "inline-size",
|
|
185
|
-
position: "relative",
|
|
186
|
-
overflow: "auto",
|
|
187
|
-
fontFamily: e.value.fontFamily
|
|
188
|
-
}),
|
|
189
|
-
class: xe({ "vue-ui-responsive": z.value, "is-playing": e.value.scrollbar.hide || !y.value && e.value.scrollbar.showOnlyOnHover }),
|
|
190
|
-
onMouseover: a[0] || (a[0] = (o) => ke()),
|
|
191
|
-
onMouseleave: a[1] || (a[1] = (o) => C()),
|
|
192
|
-
onTouchstart: a[2] || (a[2] = (o) => Ae()),
|
|
193
|
-
onTouchend: a[3] || (a[3] = (o) => ue()),
|
|
194
|
-
onTouchcancel: a[4] || (a[4] = (o) => ue())
|
|
195
|
-
}, [
|
|
196
|
-
$.value ? (s(), d("table", {
|
|
197
|
-
key: 0,
|
|
198
|
-
class: "vue-data-ui-carousel-table",
|
|
199
|
-
style: v({
|
|
200
|
-
...e.value.style,
|
|
201
|
-
border: `${e.value.border.size}px solid ${e.value.border.color}`,
|
|
202
|
-
width: "100%",
|
|
203
|
-
borderCollapse: "collapse",
|
|
204
|
-
backgroundColor: e.value.tbody.backgroundColor
|
|
205
|
-
})
|
|
206
|
-
}, [
|
|
207
|
-
S("caption", {
|
|
208
|
-
ref_key: "caption",
|
|
209
|
-
ref: T,
|
|
210
|
-
class: "vue-data-ui-carousel-table-caption",
|
|
211
|
-
style: v({
|
|
212
|
-
...e.value.caption.style,
|
|
213
|
-
fontFamily: "inherit",
|
|
214
|
-
position: "sticky",
|
|
215
|
-
top: 0,
|
|
216
|
-
zIndex: 2,
|
|
217
|
-
paddingTop: e.value.caption.padding.top + "px",
|
|
218
|
-
paddingRight: e.value.caption.padding.right + "px",
|
|
219
|
-
paddingBottom: e.value.caption.padding.bottom + "px",
|
|
220
|
-
paddingLeft: e.value.caption.padding.left + "px",
|
|
221
|
-
boxShadow: z.value ? e.value.thead.tr.style.boxShadow : "none",
|
|
222
|
-
minHeight: "36px",
|
|
223
|
-
display: t.$slots.caption || e.value.caption.text || e.value.userOptions.show ? "" : "none"
|
|
224
|
-
})
|
|
225
|
-
}, [
|
|
226
|
-
G(q(e.value.caption.text && !t.$slots.caption ? e.value.caption.text : "") + " ", 1),
|
|
227
|
-
p(t.$slots, "caption", {}, void 0, !0)
|
|
228
|
-
], 4),
|
|
229
|
-
S("thead", {
|
|
230
|
-
style: v({ ...e.value.thead.style, position: "sticky", top: `${t.$slots.caption || e.value.caption.text || e.value.userOptions.show ? A.value : 0}px`, zIndex: 1 })
|
|
231
|
-
}, [
|
|
232
|
-
S("tr", {
|
|
233
|
-
ref_key: "tableRow",
|
|
234
|
-
ref: k,
|
|
235
|
-
role: "row",
|
|
236
|
-
style: v({
|
|
237
|
-
...e.value.thead.tr.style,
|
|
238
|
-
border: e.value.thead.tr.border.size ? `${e.value.thead.tr.border.size}px solid ${e.value.thead.tr.border.color}` : "none",
|
|
239
|
-
boxShadow: z.value ? "none" : e.value.thead.tr.style.boxShadow
|
|
240
|
-
}),
|
|
241
|
-
height: `${e.value.thead.tr.height}px`
|
|
242
|
-
}, [
|
|
243
|
-
(s(!0), d(D, null, X(m.dataset.head, (o, i) => (s(), d("th", {
|
|
244
|
-
role: "cell",
|
|
245
|
-
key: `th_${i}`,
|
|
246
|
-
style: v({
|
|
247
|
-
...e.value.thead.tr.th.style,
|
|
248
|
-
border: e.value.thead.tr.th.border.size ? `${e.value.thead.tr.th.border.size}px solid ${e.value.thead.tr.th.border.color}` : "none",
|
|
249
|
-
paddingTop: e.value.thead.tr.th.padding.top + "px",
|
|
250
|
-
paddingRight: e.value.thead.tr.th.padding.right + "px",
|
|
251
|
-
paddingBottom: e.value.thead.tr.th.padding.bottom + "px",
|
|
252
|
-
paddingLeft: e.value.thead.tr.th.padding.left + "px"
|
|
253
|
-
})
|
|
254
|
-
}, [
|
|
255
|
-
G(q(t.$slots.th ? "" : o) + " ", 1),
|
|
256
|
-
p(t.$slots, "th", j(J({ th: o, colIndex: i })), void 0, !0)
|
|
257
|
-
], 4))), 128))
|
|
258
|
-
], 12, Ve)
|
|
259
|
-
], 4),
|
|
260
|
-
m.dataset.body && m.dataset.head ? (s(), d("tbody", {
|
|
261
|
-
key: 0,
|
|
262
|
-
ref_key: "tbody",
|
|
263
|
-
ref: w,
|
|
264
|
-
style: v({
|
|
265
|
-
clipPath: "inset(0,0,0,0)"
|
|
266
|
-
})
|
|
267
|
-
}, [
|
|
268
|
-
(s(!0), d(D, null, X(m.dataset.body, (o, i) => (s(), d("tr", {
|
|
269
|
-
style: v({
|
|
270
|
-
...e.value.tbody.tr.style,
|
|
271
|
-
border: `${e.value.tbody.tr.border.size}px solid ${e.value.tbody.tr.border.color}`,
|
|
272
|
-
verticalAlign: "middle"
|
|
273
|
-
})
|
|
274
|
-
}, [
|
|
275
|
-
(s(!0), d(D, null, X(o, (h, V) => (s(), d("td", {
|
|
276
|
-
role: "cell",
|
|
277
|
-
"data-cell": m.dataset.head[V] || "",
|
|
278
|
-
style: v({
|
|
279
|
-
...e.value.tbody.tr.td.style,
|
|
280
|
-
border: `${e.value.tbody.tr.td.border.size}px solid ${e.value.tbody.tr.td.border.color}`,
|
|
281
|
-
backgroundColor: u(Be)(e.value.tbody.tr.td.style.backgroundColor, i % 2 === 0 && e.value.tbody.tr.td.alternateColor ? e.value.tbody.tr.td.alternateOpacity * 100 : 100),
|
|
282
|
-
paddingTop: e.value.tbody.tr.td.padding.top + "px",
|
|
283
|
-
paddingRight: e.value.tbody.tr.td.padding.right + "px",
|
|
284
|
-
paddingBottom: e.value.tbody.tr.td.padding.bottom + "px",
|
|
285
|
-
paddingLeft: e.value.tbody.tr.td.padding.left + "px",
|
|
286
|
-
verticalAlign: "middle"
|
|
287
|
-
}),
|
|
288
|
-
height: `${e.value.tbody.tr.height}px`
|
|
289
|
-
}, [
|
|
290
|
-
G(q(t.$slots.td ? "" : h) + " ", 1),
|
|
291
|
-
p(t.$slots, "td", j(J({ td: h, rowIndex: i, colIndex: V })), void 0, !0)
|
|
292
|
-
], 12, Me))), 256))
|
|
293
|
-
], 4))), 256))
|
|
294
|
-
], 4)) : B("", !0)
|
|
295
|
-
], 4)) : B("", !0)
|
|
296
|
-
], 46, Le),
|
|
297
|
-
$.value ? B("", !0) : (s(), he(Ne, {
|
|
298
|
-
key: 0,
|
|
299
|
-
config: {
|
|
300
|
-
type: "table"
|
|
301
|
-
}
|
|
302
|
-
})),
|
|
303
|
-
e.value.userOptions.show && $.value && (u(_) || u(U)) ? (s(), he(Se, {
|
|
304
|
-
ref: "details",
|
|
305
|
-
key: `user_option_${le.value}`,
|
|
306
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
307
|
-
color: e.value.style.color,
|
|
308
|
-
isPrinting: u(te),
|
|
309
|
-
isImaging: u(ae),
|
|
310
|
-
uid: N.value,
|
|
311
|
-
hasTooltip: !1,
|
|
312
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
313
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
314
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
315
|
-
hasTable: !1,
|
|
316
|
-
hasLabel: !1,
|
|
317
|
-
hasAnimation: e.value.userOptions.buttons.animation,
|
|
318
|
-
isAnimation: !c.value.showAnimation,
|
|
319
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
320
|
-
isFullscreen: W.value,
|
|
321
|
-
chartElement: ne.value,
|
|
322
|
-
position: e.value.userOptions.position,
|
|
323
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
324
|
-
zIndex: 3,
|
|
325
|
-
offsetX: 12,
|
|
326
|
-
onGeneratePdf: re,
|
|
327
|
-
onGenerateCsv: ve,
|
|
328
|
-
onGenerateImage: u(oe),
|
|
329
|
-
onToggleAnimation: de,
|
|
330
|
-
onToggleFullscreen: $e,
|
|
331
|
-
style: v({
|
|
332
|
-
visibility: u(_) ? u(U) ? "visible" : "hidden" : "visible"
|
|
333
|
-
})
|
|
334
|
-
}, Oe({ _: 2 }, [
|
|
335
|
-
t.$slots.optionPdf ? {
|
|
336
|
-
name: "optionPdf",
|
|
337
|
-
fn: P(() => [
|
|
338
|
-
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
339
|
-
]),
|
|
340
|
-
key: "0"
|
|
341
|
-
} : void 0,
|
|
342
|
-
t.$slots.optionCsv ? {
|
|
343
|
-
name: "optionCsv",
|
|
344
|
-
fn: P(() => [
|
|
345
|
-
p(t.$slots, "optionCsv", {}, void 0, !0)
|
|
346
|
-
]),
|
|
347
|
-
key: "1"
|
|
348
|
-
} : void 0,
|
|
349
|
-
t.$slots.optionImg ? {
|
|
350
|
-
name: "optionImg",
|
|
351
|
-
fn: P(() => [
|
|
352
|
-
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
353
|
-
]),
|
|
354
|
-
key: "2"
|
|
355
|
-
} : void 0,
|
|
356
|
-
t.$slots.optionAnimation ? {
|
|
357
|
-
name: "optionAnimation",
|
|
358
|
-
fn: P(() => [
|
|
359
|
-
p(t.$slots, "optionAnimation", {}, void 0, !0)
|
|
360
|
-
]),
|
|
361
|
-
key: "3"
|
|
362
|
-
} : void 0,
|
|
363
|
-
t.$slots.optionFullscreen ? {
|
|
364
|
-
name: "optionFullscreen",
|
|
365
|
-
fn: P(({ toggleFullscreen: o, isFullscreen: i }) => [
|
|
366
|
-
p(t.$slots, "optionFullscreen", j(J({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
|
|
367
|
-
]),
|
|
368
|
-
key: "4"
|
|
369
|
-
} : void 0
|
|
370
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasAnimation", "isAnimation", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "onGenerateImage", "style"])) : B("", !0),
|
|
371
|
-
t.$slots.source ? (s(), d("div", Ge, [
|
|
372
|
-
p(t.$slots, "source", {}, void 0, !0)
|
|
373
|
-
], 512)) : B("", !0)
|
|
374
|
-
], 544));
|
|
375
|
-
}
|
|
376
|
-
}, Ye = /* @__PURE__ */ He(qe, [["__scopeId", "data-v-9d3c0699"]]);
|
|
377
|
-
export {
|
|
378
|
-
Ye as default
|
|
379
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-DGcOW0vL.cjs"),$e=require("./useNestedProp-C9KmUVBy.cjs"),Me=require("./useResponsive-BJ7DTGpm.cjs"),Te=require("./usePrinter-DpEuGyLP.cjs"),et=require("./Slicer--m1nOwbO.cjs"),tt=require("./Tooltip-cPxZzSgr.cjs"),at=require("./Title-BWhYDGb-.cjs"),lt=require("./Legend-Ba34oTdO.cjs"),ot=require("./vue-ui-accordion-mtZIFAv9.cjs"),rt=require("./DataTable-rMMvio1U.cjs"),st=require("./vue-ui-skeleton-D_lU-hWK.cjs"),nt=require("./PackageVersion-BJi2ywG9.cjs"),it=require("./PenAndPaper-CX6N7FR7.cjs"),ut=require("./useUserOptionState-BgepsfED.cjs"),ct=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),dt=["id"],vt=["xmlns","viewBox"],ht={key:0},gt=["id"],mt=["stop-color"],yt=["stop-color"],pt=["stop-color"],bt=["x1","x2","y1","y2","stroke"],ft=["x1","x2","y1","y2","stroke"],kt=["x1","x2","y1","y2","stroke"],xt=["x1","x2","y1","y2","stroke"],wt=["x","y","height","rx","width","fill","stroke","stroke-width"],Bt=["x","y","width","rx","height","fill","stroke","stroke-width"],Ct=["x1","x2","y1","y2","stroke","stroke-width"],zt=["x1","x2","y1","y2","stroke","stroke-width"],St=["x","y","font-size","fill","font-weight"],Lt=["transform","font-size","fill","font-weight"],_t=["x","y","font-size","fill","font-weight"],Nt={key:0},Et=["x","y","font-size","font-weight","fill"],$t=["x","y","font-size","fill","font-weight"],Mt={key:0},Tt=["x","y","font-size","font-weight","fill"],Vt=["x1","x2","y1","y2","stroke"],Pt=["x","y","font-size","font-weight","fill"],Ft=["x1","x2","y1","y2","stroke"],It=["font-size","font-weight","fill","text-anchor","transform"],Ot={key:0},Rt={key:1},Dt=["text-anchor","font-size","font-weight","fill","transform","onClick"],At={key:0},qt={key:1},Ht=["font-size","font-weight","fill","x","y","onClick"],Ut=["x","y","width","height","onClick","onMouseenter","fill"],Wt=["x","y","width","height","onClick","onMouseenter","fill"],Yt={key:4,class:"vue-data-ui-watermark"},Xt=["onClick"],Gt=["innerHTML"],Jt={__name:"vue-ui-stackbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint","selectLegend","selectTimeLabel"],setup(X,{expose:Ve,emit:G}){const v=X,{vue_ui_stackbar:Pe}=c.useConfig(),$=e.computed({get(){return!!v.dataset&&v.dataset.length},set(l){return l}}),M=e.ref(null),J=e.ref(c.createUid()),R=e.ref(!1),ee=e.ref(null),Z=e.ref(""),b=e.ref([]),te=e.ref(0),ae=e.ref(null),le=e.ref(null),oe=e.ref(null),re=e.ref(null),se=e.ref(0),D=e.ref(!1),V=e.ref(null),P=e.ref(!1),Fe=e.ref(0),Ie=e.ref(0),Oe=e.ref(0),T=e.ref(null);e.onMounted(()=>{Q()});const t=e.computed({get:()=>ue(),set:l=>l}),{userOptionsVisible:K,setUserOptionsVisibility:ne,keepUserOptionState:ie}=ut.useUserOptionState({config:t.value});function ue(){const l=$e.useNestedProp({userConfig:v.config,defaultConfig:Pe});let o={};return l.theme?o={...$e.useNestedProp({userConfig:c.themes.vue_ui_stackbar[l.theme]||v.config,defaultConfig:l}),customPalette:c.themePalettes[l.theme]||c.palette}:o=l,v.config&&c.hasDeepProperty(v.config,"style.chart.grid.scale.scaleMin")?o.style.chart.grid.scale.scaleMin=v.config.style.chart.grid.scale.scaleMin:o.style.chart.grid.scale.scaleMin=null,v.config&&c.hasDeepProperty(v.config,"style.chart.grid.scale.scaleMax")?o.style.chart.grid.scale.scaleMax=v.config.style.chart.grid.scale.scaleMax:o.style.chart.grid.scale.scaleMax=null,v.config&&c.hasDeepProperty(v.config,"style.chart.zoom.startIndex")?o.style.chart.zoom.startIndex=v.config.style.chart.zoom.startIndex:o.style.chart.zoom.startIndex=null,v.config&&c.hasDeepProperty(v.config,"style.chart.zoom.endIndex")?o.style.chart.zoom.endIndex=v.config.style.chart.zoom.endIndex:o.style.chart.zoom.endIndex=null,o}e.watch(()=>v.config,l=>{t.value=ue(),K.value=!t.value.showOnChartHover,Q(),Fe.value+=1,Ie.value+=1,Oe.value+=1},{deep:!0}),e.watch(()=>v.dataset,l=>{ye()},{deep:!0});const p=e.ref({dataLabels:{show:t.value.style.chart.bars.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),{isPrinting:ce,isImaging:de,generatePdf:ve,generateImage:he}=Te.usePrinter({elementId:`stackbar_${J.value}`,fileName:t.value.style.chart.title.text||"vue-ui-stackbar"}),A=e.ref({width:t.value.style.chart.width,height:t.value.style.chart.height,paddingRatio:{top:t.value.style.chart.padding.top/t.value.style.chart.height,right:t.value.style.chart.padding.right/t.value.style.chart.width,bottom:t.value.style.chart.padding.bottom/t.value.style.chart.height,left:t.value.style.chart.padding.left/t.value.style.chart.width}}),Re=e.computed(()=>c.convertCustomPalette(t.value.customPalette)),ge=e.ref(null),me=e.ref(null);e.onMounted(()=>{Q()});function Q(){if(c.objectIsEmpty(v.dataset)?c.error({componentName:"VueUiStackbar",type:"dataset"}):v.dataset.forEach((l,o)=>{c.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{$.value=!1,c.error({componentName:"VueUiStackbar",type:"datasetSerieAttribute",property:a,index:o})})}),setTimeout(()=>{P.value=!0},10),t.value.responsive){const l=Me.throttle(()=>{P.value=!1;const{width:o,height:a}=Me.useResponsive({chart:M.value,title:t.value.style.chart.title.text?ae.value:null,legend:t.value.style.chart.legend.show?le.value:null,slicer:t.value.style.chart.zoom.show&&z.value>1?oe.value:null,source:re.value});A.value.width=o,A.value.height=a,clearTimeout(me.value),me.value=setTimeout(()=>{P.value=!0},10)});ge.value=new ResizeObserver(l),ge.value.observe(M.value.parentNode)}pe()}const s=e.computed(()=>{const{height:l,width:o}=A.value,{right:a}=A.value.paddingRatio,r=t.value.style.chart.padding.top,n=o-o*a,i=l-t.value.style.chart.padding.bottom,y=t.value.style.chart.padding.left,L=o-y-o*a,_=l-r-t.value.style.chart.padding.bottom;return{chartHeight:l,chartWidth:o,top:r,right:n,bottom:i,left:y,width:L,height:_<0?0:_}}),C=e.computed(()=>v.dataset.map((l,o)=>{const a=c.convertColorToHex(l.color)||Re.value[o]||c.palette[o]||c.palette[o%c.palette.length];return{...l,series:JSON.parse(JSON.stringify(l.series)).map(r=>t.value.style.chart.bars.distributed?Math.abs(r):r),signedSeries:l.series.map(r=>r>=0?1:-1),absoluteIndex:o,id:c.createUid(),color:a}})),z=e.computed(()=>Math.max(...C.value.filter(l=>!b.value.includes(l.id)).map(l=>l.series.length))),u=e.ref({start:0,end:Math.max(...v.dataset.map(l=>l.series.length))});function ye(){pe()}async function pe(){(t.value.style.chart.zoom.startIndex!==null||t.value.style.chart.zoom.endIndex!==null)&&T.value?(t.value.style.chart.zoom.startIndex!==null&&(await e.nextTick(),await e.nextTick(),T.value&&T.value.setStartValue(t.value.style.chart.zoom.startIndex)),t.value.style.chart.zoom.endIndex!==null&&(await e.nextTick(),await e.nextTick(),T.value&&T.value.setEndValue(De(t.value.style.chart.zoom.endIndex+1)))):(u.value={start:0,end:Math.max(...v.dataset.map(l=>l.series.length))},se.value+=1)}function De(l){const o=Math.max(...v.dataset.map(a=>a.series.length));return l>o?o:l<0||t.value.style.chart.zoom.startIndex!==null&&l<t.value.style.chart.zoom.startIndex?t.value.style.chart.zoom.startIndex!==null?t.value.style.chart.zoom.startIndex+1:1:l}const d=e.computed(()=>{let l;return t.value.orientation==="vertical"?l=s.value.width/(u.value.end-u.value.start):l=s.value.height/(u.value.end-u.value.start),l<=0?0:l}),F=e.computed(()=>c.sumSeries(C.value.filter(l=>!b.value.includes(l.id))).slice(u.value.start,u.value.end)),Ae=e.computed(()=>c.sumSeries(C.value.filter(l=>!b.value.includes(l.id)).map(l=>({...l,series:l.series.map((o,a)=>l.signedSeries[a]===-1&&o>=0?-o:o)}))).slice(u.value.start,u.value.end)),q=e.computed(()=>{const l=C.value.filter(o=>!b.value.includes(o.id));return{positive:c.sumSeries(l.map(o=>({...o,series:o.series.slice(u.value.start,u.value.end).map(a=>a>=0?a:0)}))),negative:c.sumSeries(l.map(o=>({...o,series:o.series.slice(u.value.start,u.value.end).map(a=>a<0?a:0)})))}}),w=e.computed(()=>{const l=t.value.style.chart.grid.scale.scaleMax!==null&&!t.value.style.chart.bars.distributed?t.value.style.chart.grid.scale.scaleMax:Math.max(...q.value.positive),o=Math.min(...q.value.negative),a=t.value.style.chart.grid.scale.scaleMin!==null&&!t.value.style.chart.bars.distributed?t.value.style.chart.grid.scale.scaleMin:[-1/0,1/0,NaN,void 0,null].includes(o)?0:o,r=!t.value.style.chart.bars.distributed&&(t.value.style.chart.grid.scale.scaleMax!==null||t.value.style.chart.grid.scale.scaleMin!==null)?c.calculateNiceScaleWithExactExtremes(a>0?0:a,l<0?0:l,t.value.style.chart.grid.scale.ticks):c.calculateNiceScale(a>0?0:a,l<0?0:l,t.value.style.chart.grid.scale.ticks);return r.ticks.map(n=>({zero:s.value.bottom-s.value.height*(Math.abs(r.min)/(r.max+Math.abs(r.min))),y:s.value.bottom-s.value.height*((n+Math.abs(r.min))/(r.max+Math.abs(r.min))),x:s.value.left-8,horizontal_zero:s.value.left+s.value.width*(Math.abs(r.min)/(r.max+Math.abs(r.min))),horizontal_x:s.value.left+s.value.width*((n+Math.abs(r.min))/(r.max+Math.abs(r.min))),horizontal_y:s.value.bottom-8,value:n}))}),S=e.computed(()=>{const l=[];for(let o=0;o<z.value;o+=1)l.push({text:t.value.style.chart.grid.x.timeLabels.values[o]||String(o),absoluteIndex:o});return l.slice(u.value.start,u.value.end)}),m=e.computed(()=>{if(!$.value)return[];let l=Array(z.value).fill(0),o=Array(z.value).fill(0),a=Array(z.value).fill(0),r=Array(z.value).fill(0);const n=Math.max(...q.value.positive)||0,i=Math.min(...q.value.negative),y=[-1/0,1/0,NaN,void 0,null].includes(i)?0:i,L=!t.value.style.chart.bars.distributed&&(t.value.style.chart.grid.scale.scaleMax!==null||t.value.style.chart.grid.scale.scaleMin!==null)?c.calculateNiceScaleWithExactExtremes(t.value.style.chart.grid.scale.scaleMin!==null?t.value.style.chart.grid.scale.scaleMin:y>0?0:y,t.value.style.chart.grid.scale.scaleMax!==null?t.value.style.chart.grid.scale.scaleMax:n<0?0:n,t.value.style.chart.grid.scale.ticks):c.calculateNiceScale(t.value.style.chart.grid.scale.scaleMin!==null?t.value.style.chart.grid.scale.scaleMin:y>0?0:y,t.value.style.chart.grid.scale.scaleMax!==null?t.value.style.chart.grid.scale.scaleMax:n<0?0:n,t.value.style.chart.grid.scale.ticks),{min:_,max:I}=L,N=I+(_>=0?0:Math.abs(_))||1,f=s.value.height,Y=s.value.width,Ne=w.value[0]?w.value[0].zero:s.value.bottom,Ee=w.value[0]?w.value[0].horizontal_zero:s.value.left;return C.value.filter(O=>!b.value.includes(O.id)).map(O=>{const B=O.series.slice(u.value.start,u.value.end),Ye=O.signedSeries.slice(u.value.start,u.value.end),Xe=B.map((h,g)=>s.value.left+d.value*g+d.value*t.value.style.chart.bars.gapRatio/4),Ge=B.map((h,g)=>s.value.top+d.value*g+d.value*t.value.style.chart.bars.gapRatio/4),Je=B.map((h,g)=>{const k=t.value.style.chart.bars.distributed?(h||0)/F.value[g]:(h||0)/N;let E,x;return h>0?(x=f*k,E=Ne-x-l[g],l[g]+=x):(x=f*k,E=Ne+a[g],a[g]+=Math.abs(x)),E}),Ze=B.map((h,g)=>{const k=t.value.style.chart.bars.distributed?(h||0)/F.value[g]:(h||0)/N;let E,x;return h>0?(x=Y*k,E=Ee+o[g],o[g]+=x):(x=Y*k,E=Ee-Math.abs(x)-r[g],r[g]+=Math.abs(x)),E}),Ke=B.map((h,g)=>{const k=t.value.style.chart.bars.distributed?(h||0)/F.value[g]:(h||0)/N;return h>0?f*k:f*Math.abs(k)}),Qe=B.map((h,g)=>{const k=t.value.style.chart.bars.distributed?(h||0)/F.value[g]:(h||0)/N;return h>0?Y*k:Y*Math.abs(k)}),je=B.map(h=>Math.abs(h)).reduce((h,g)=>h+g,0);return{...O,proportions:B.map((h,g)=>t.value.style.chart.bars.distributed?(h||0)/F.value[g]:(h||0)/je),series:B,signedSeries:Ye,x:Xe,y:Je,height:Ke,horizontal_width:Qe,horizontal_y:Ge,horizontal_x:Ze}})}),be=e.computed(()=>Ae.value.map((l,o)=>({value:l,sign:l>=0?1:-1})));function H(l,o,a,r,n){const i=n===-1&&l>=0?-l:l;return c.applyDataLabel(t.value.style.chart.bars.dataLabels.formatter,i,c.dataLabel({p:t.value.style.chart.bars.dataLabels.prefix,v:i,s:t.value.style.chart.bars.dataLabels.suffix,r:t.value.style.chart.bars.dataLabels.rounding}),{datapoint:o,seriesIndex:a,datapointIndex:r})}function fe(l,o,a,r){return c.applyDataLabel(t.value.style.chart.bars.dataLabels.formatter,l,c.dataLabel({v:l,s:"%",r:t.value.style.chart.bars.dataLabels.rounding}),{datapoint:o,seriesIndex:a,datapointIndex:r})}function ke(l){const o=JSON.parse(JSON.stringify(m.value)).map(a=>({name:a.name,value:a.series[l]===0?0:a.series[l]||null,proportion:a.proportions[l]||null,color:a.color,id:a.id}));G("selectDatapoint",{datapoint:o,period:S.value[l]})}function xe(l){V.value=l,R.value=!0;const o=t.value.style.chart.tooltip.customFormat,a=JSON.parse(JSON.stringify(m.value)).map(n=>({name:n.name,value:n.series[l]===0?0:(n.signedSeries[l]===-1&&n.series[l]>=0?-n.series[l]:n.series[l])||null,proportion:n.proportions[l]||null,color:n.color,id:n.id})),r=a.map(n=>Math.abs(n.value)).reduce((n,i)=>n+i,0);if(c.isFunction(o)&&c.functionReturnsString(()=>o({seriesIndex:l,datapoint:a,series:m.value,config:t.value})))Z.value=o({seriesIndex:l,datapoint:a,series:m.value,config:t.value});else{const{showValue:n,showPercentage:i,borderColor:y,roundingValue:L,roundingPercentage:_}=t.value.style.chart.tooltip;let I="";S.value[l]&&S.value[l].text&&t.value.style.chart.tooltip.showTimeLabel&&(I+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${y};padding-bottom:6px;margin-bottom:3px;">${S.value[l].text}</div>`);const N=[n&&i?"(":"",n&&i?")":""];a.reverse().forEach(f=>{I+=`
|
|
2
|
-
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
3
|
-
<svg viewBox="0 0 12 12" height="14" width="14"><rect rx="1" x="0" y="0" height="12" width="12" stroke="none" fill="${t.value.style.chart.bars.gradient.show?`url(#gradient_${f.id})`:f.color}"/></svg>
|
|
4
|
-
${f.name}${n||i?":":""} ${n?c.dataLabel({p:t.value.style.chart.bars.dataLabels.prefix,v:f.value,s:t.value.style.chart.bars.dataLabels.suffix,r:L}):""} ${N[0]}${i?c.dataLabel({v:isNaN(f.value/r)?0:Math.abs(f.value)/r*100,s:"%",r:_}):""}${N[1]}
|
|
5
|
-
</div>
|
|
6
|
-
`}),Z.value=`<div>${I}</div>`}}function qe(l){D.value=l,te.value+=1}function we(){p.value.showTable=!p.value.showTable}function Be(){p.value.dataLabels.show=!p.value.dataLabels.show}function Ce(){p.value.showTooltip=!p.value.showTooltip}function He(){return m.value}const ze=e.computed(()=>{if(m.value.length===0)return{head:[],body:[],config:{},columnNames:[]};const l=m.value.map(({name:a,color:r})=>({label:a,color:r})),o=[];for(let a=u.value.start;a<u.value.end;a+=1){const r=[t.value.style.chart.grid.x.timeLabels.values[a]||a+1];C.value.forEach(n=>{r.push(Number((n.series[a]||0).toFixed(t.value.table.td.roundingValue)))}),o.push(r)}return{head:l,body:o}});function Se(){const l=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],o=["",...ze.value.head.map(i=>i.label)],a=ze.value.body,r=l.concat([o]).concat(a),n=c.createCsvContent(r);c.downloadCsv({csvContent:n,title:t.value.style.chart.title.text||"vue-ui-stackbar"})}const U=e.computed(()=>{const l=[""].concat(m.value.map(n=>n.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');let o=[];for(let n=0;n<z.value;n+=1){const i=m.value.map(y=>y.series[n]??0).reduce((y,L)=>y+L,0);o.push([t.value.style.chart.grid.x.timeLabels.values.slice(u.value.start,u.value.end)[n]??n+1].concat(m.value.map(y=>(y.series[n]??0).toFixed(t.value.table.td.roundingValue))).concat((i??0).toFixed(t.value.table.td.roundingValue)))}const a={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint},r=[t.value.table.columnNames.period].concat(m.value.map(n=>n.name)).concat(t.value.table.columnNames.total);return{head:l,body:o.slice(0,u.value.end-u.value.start),config:a,colNames:r}});function Ue(l,o){if(G("selectLegend",m.value.find(a=>a.absoluteIndex===l)),b.value.includes(o.id))b.value=b.value.filter(a=>a!==o.id);else{if(b.value.length===C.value.length-1)return;b.value.push(o.id)}}const Le=e.computed(()=>C.value.map((l,o)=>({...l,shape:"square"})).map(l=>({...l,opacity:b.value.includes(l.id)?.5:1,segregate:()=>Ue(l.absoluteIndex,l),isSegregated:b.value.includes(l.id)}))),We=e.computed(()=>({cy:"stackbar-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),W=e.ref(!1);function j(){W.value=!W.value}function _e(l,o){const a=JSON.parse(JSON.stringify(m.value)).map(r=>({name:r.name,value:r.series[o]===0?0:(r.signedSeries[o]===-1&&r.series[o]>=0?-r.series[o]:r.series[o])||null,proportion:r.proportions[o]||null,color:r.color,id:r.id}));G("selectTimeLabel",{datapoint:a,absoluteIndex:l.absoluteIndex,label:l.text})}return Ve({getData:He,generatePdf:ve,generateCsv:Se,generateImage:he,toggleTable:we,toggleLabels:Be,toggleTooltip:Ce,toggleAnnotator:j}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{id:`stackbar_${J.value}`,ref_key:"stackbarChart",ref:M,class:e.normalizeClass({"vue-ui-stackbar":!0,"vue-data-ui-wrapper-fullscreen":D.value}),style:e.normalizeStyle(`background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color};font-family:${t.value.style.fontFamily}; position: relative; ${t.value.responsive?"height: 100%":""}`),onMouseenter:o[6]||(o[6]=()=>e.unref(ne)(!0)),onMouseleave:o[7]||(o[7]=()=>e.unref(ne)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(it.PenAndPaper,{key:0,parent:M.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:W.value,onClose:j},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"userConfig",{},void 0,!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"chartTitle",ref:ae,style:"width:100%;background:transparent;padding-bottom:24px"},[e.createVNode(at._sfc_main,{config:{title:{cy:"stackbar-title",...t.value.style.chart.title},subtitle:{cy:"stackbar-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"])],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value&&(e.unref(ie)||e.unref(K))?(e.openBlock(),e.createBlock(Te.UserOptions,{ref:"details",key:`user_option_${te.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(ce),isImaging:e.unref(de),uid:J.value,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:D.value,chartElement:M.value,position:t.value.userOptions.position,isTooltip:p.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:W.value,onToggleFullscreen:qe,onGeneratePdf:e.unref(ve),onGenerateCsv:Se,onGenerateImage:e.unref(he),onToggleTable:we,onToggleLabels:Be,onToggleTooltip:Ce,onToggleAnnotator:j,style:e.normalizeStyle({visibility:e.unref(ie)?e.unref(K)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionLabels",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:r})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:r})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:r})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:r})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasLabel","hasFullscreen","isFullscreen","chartElement","position","isTooltip","titles","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(c.XMLNS),viewBox:`0 0 ${s.value.chartWidth<=0?10:s.value.chartWidth} ${s.value.chartHeight<=0?10:s.value.chartHeight}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(nt._sfc_main),t.value.style.chart.bars.gradient.show?(e.openBlock(),e.createElementBlock("defs",ht,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,r)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`gradient_${a.id}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":a.color},null,8,mt),e.createElementVNode("stop",{offset:"61.8%","stop-color":e.unref(c.lightenHexColor)(a.color,t.value.style.chart.bars.gradient.intensity/100)},null,8,yt),e.createElementVNode("stop",{offset:"100%","stop-color":a.color},null,8,pt)],8,gt))),256))])):e.createCommentVNode("",!0),t.value.style.chart.grid.x.showHorizontalLines&&t.value.orientation==="vertical"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:s.value.left,x2:s.value.right,y1:a.y,y2:a.y,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,bt))),256)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.showHorizontalLines&&t.value.orientation==="horizontal"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(u.value.end-u.value.start+1,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:s.value.left,x2:s.value.right,y1:s.value.top+d.value*r,y2:s.value.top+d.value*r,stroke:t.value.style.chart.grid.y.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,ft))),256)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.showVerticalLines&&t.value.orientation==="vertical"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(u.value.end-u.value.start+1,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:s.value.left+d.value*r,x2:s.value.left+d.value*r,y1:s.value.top,y2:s.value.bottom,stroke:t.value.style.chart.grid.y.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,kt))),256)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.showHorizontalLines&&t.value.orientation==="horizontal"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:a.horizontal_x,x2:a.horizontal_x,y1:s.value.top,y2:s.value.bottom,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,xt))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.orientation==="vertical"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.x,(n,i)=>(e.openBlock(),e.createElementBlock("rect",{x:n,y:a.y[i]<0?0:a.y[i],height:a.height[i]<0?1e-4:a.height[i],rx:t.value.style.chart.bars.borderRadius>a.height[i]/2?(a.height[i]<0?0:a.height[i])/2:t.value.style.chart.bars.borderRadius,width:d.value*(1-t.value.style.chart.bars.gapRatio/2),fill:t.value.style.chart.bars.gradient.show?`url(#gradient_${a.id})`:a.color,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.bars.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass({"vue-data-ui-bar-animated":t.value.useCssAnimation,"vue-data-ui-bar-transition":P.value})},null,10,wt))),256)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.horizontal_x,(n,i)=>(e.openBlock(),e.createElementBlock("rect",{x:n,y:a.horizontal_y[i]<0?0:a.horizontal_y[i],width:a.horizontal_width[i]<0?1e-4:a.horizontal_width[i],rx:t.value.style.chart.bars.borderRadius>a.height[i]/2?(a.height[i]<0?0:a.height[i])/2:t.value.style.chart.bars.borderRadius,height:d.value*(1-t.value.style.chart.bars.gapRatio/2),fill:t.value.style.chart.bars.gradient.show?`url(#gradient_${a.id})`:a.color,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.bars.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass({"vue-data-ui-bar-animated":t.value.useCssAnimation,"vue-data-ui-bar-transition":P.value})},null,10,Bt))),256))]))),256)),t.value.style.chart.grid.x.showAxis?(e.openBlock(),e.createElementBlock("line",{key:5,x1:s.value.left,x2:s.value.right,y1:s.value.bottom,y2:s.value.bottom,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":t.value.style.chart.grid.x.axisThickness,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ct)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.showAxis&&!t.value.style.chart.bars.distributed?(e.openBlock(),e.createElementBlock("line",{key:6,x1:s.value.left,x2:s.value.left,y1:s.value.top,y2:s.value.bottom,stroke:t.value.style.chart.grid.y.axisColor,"stroke-width":t.value.style.chart.grid.y.axisThickness,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,zt)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.axisName.show&&t.value.style.chart.grid.x.axisName.text?(e.openBlock(),e.createElementBlock("text",{key:7,x:s.value.left+s.value.width/2,y:s.value.chartHeight+t.value.style.chart.grid.x.axisName.offsetY,"font-size":t.value.style.chart.grid.x.axisName.fontSize,fill:t.value.style.chart.grid.x.axisName.color,"font-weight":t.value.style.chart.grid.x.axisName.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(t.value.style.chart.grid.x.axisName.text),9,St)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.axisName.show&&t.value.style.chart.grid.y.axisName.text?(e.openBlock(),e.createElementBlock("text",{key:8,transform:`translate(${t.value.style.chart.grid.y.axisName.fontSize+t.value.style.chart.grid.y.axisName.offsetX}, ${s.value.top+s.value.height/2}) rotate(-90)`,"font-size":t.value.style.chart.grid.y.axisName.fontSize,fill:t.value.style.chart.grid.y.axisName.color,"font-weight":t.value.style.chart.grid.y.axisName.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(t.value.style.chart.grid.y.axisName.text),9,Lt)):e.createCommentVNode("",!0),p.value.dataLabels.show&&t.value.orientation==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:9},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.x,(n,i)=>(e.openBlock(),e.createElementBlock("text",{x:n+d.value*(1-t.value.style.chart.bars.gapRatio/2)/2,y:a.y[i]+a.height[i]/2+t.value.style.chart.bars.dataLabels.fontSize/3,"font-size":t.value.style.chart.bars.dataLabels.fontSize,fill:t.value.style.chart.bars.dataLabels.adaptColorToBackground?e.unref(c.adaptColorToBackground)(a.color):t.value.style.chart.bars.dataLabels.color,"font-weight":t.value.style.chart.bars.dataLabels.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(t.value.style.chart.bars.showDistributedPercentage&&t.value.style.chart.bars.distributed?fe(a.proportions[i]*100,a,r,i):H(a.series[i],a,r,i,a.signedSeries[i])),9,_t))),256))]))),256)),t.value.style.chart.bars.totalValues.show&&m.value.length>1?(e.openBlock(),e.createElementBlock("g",Nt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(be.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{x:s.value.left+d.value*r+d.value/2,y:s.value.top-t.value.style.chart.bars.totalValues.fontSize/3,"text-anchor":"middle","font-size":t.value.style.chart.bars.totalValues.fontSize,"font-weight":t.value.style.chart.bars.totalValues.bold?"bold":"normal",fill:t.value.style.chart.bars.totalValues.color},e.toDisplayString(H(a.value,a,r,a.sign)),9,Et))),256))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),p.value.dataLabels.show&&t.value.orientation==="horizontal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:10},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.horizontal_x,(n,i)=>(e.openBlock(),e.createElementBlock("text",{x:n+(a.horizontal_width[i]<0?1e-4:a.horizontal_width[i])/2,y:a.horizontal_y[i]+d.value*(1-t.value.style.chart.bars.gapRatio/2)/2+t.value.style.chart.bars.dataLabels.fontSize/3,"font-size":t.value.style.chart.bars.dataLabels.fontSize,fill:t.value.style.chart.bars.dataLabels.adaptColorToBackground?e.unref(c.adaptColorToBackground)(a.color):t.value.style.chart.bars.dataLabels.color,"font-weight":t.value.style.chart.bars.dataLabels.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(t.value.style.chart.bars.showDistributedPercentage&&t.value.style.chart.bars.distributed?fe(a.proportions[i]*100,a,r,i):H(a.series[i],a,r,i,a.signedSeries[i])),9,$t))),256))]))),256)),t.value.style.chart.bars.totalValues.show&&m.value.length>1?(e.openBlock(),e.createElementBlock("g",Mt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(be.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{x:s.value.right+t.value.style.chart.bars.totalValues.fontSize/3,y:s.value.top+d.value*r+d.value/2,"text-anchor":"start","font-size":t.value.style.chart.bars.totalValues.fontSize,"font-weight":t.value.style.chart.bars.totalValues.bold?"bold":"normal",fill:t.value.style.chart.bars.totalValues.color},e.toDisplayString(H(a.value,a,r,a.sign)),9,Tt))),256))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.axisLabels.show&&!t.value.style.chart.bars.distributed&&t.value.orientation==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:11},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:s.value.left,x2:s.value.left-6,y1:a.y,y2:a.y,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":1},null,8,Vt))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{x:a.x,y:a.y+t.value.style.chart.grid.y.axisLabels.fontSize/3,"font-size":t.value.style.chart.grid.y.axisLabels.fontSize,"font-weight":t.value.style.chart.grid.y.axisLabels.bold?"bold":"normal",fill:t.value.style.chart.grid.y.axisLabels.color,"text-anchor":"end"},e.toDisplayString(e.unref(c.dataLabel)({p:t.value.style.chart.bars.dataLabels.prefix,v:a.value,s:t.value.style.chart.bars.dataLabels.suffix,r:t.value.style.chart.grid.y.axisLabels.rounding})),9,Pt))),256))],64)):e.createCommentVNode("",!0),t.value.style.chart.grid.y.axisLabels.show&&!t.value.style.chart.bars.distributed&&t.value.orientation==="horizontal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:12},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:a.horizontal_x,x2:a.horizontal_x,y1:s.value.bottom,y2:s.value.bottom+6,stroke:t.value.style.chart.grid.x.axisColor,"stroke-width":1,"stroke-linecap":"round"},null,8,Ft))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{"font-size":t.value.style.chart.grid.x.timeLabels.fontSize,"font-weight":t.value.style.chart.grid.y.axisLabels.bold?"bold":"normal",fill:t.value.style.chart.grid.y.axisLabels.color,"text-anchor":t.value.style.chart.grid.x.timeLabels.rotation>0?"start":t.value.style.chart.grid.x.timeLabels.rotation<0?"end":"middle",transform:`translate(${a.horizontal_x}, ${s.value.bottom+t.value.style.chart.grid.x.timeLabels.fontSize*1.3+t.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${t.value.style.chart.grid.x.timeLabels.rotation})`},e.toDisplayString(e.unref(c.dataLabel)({p:t.value.style.chart.bars.dataLabels.prefix,v:a.value,s:t.value.style.chart.bars.dataLabels.suffix,r:t.value.style.chart.grid.y.axisLabels.rounding})),9,It))),256))],64)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.timeLabels.show&&t.value.orientation==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:13},[l.$slots["time-label"]?(e.openBlock(),e.createElementBlock("g",Ot,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.renderSlot(l.$slots,"time-label",e.normalizeProps(e.guardReactiveProps({x:s.value.left+d.value*r+d.value/2,y:s.value.bottom+t.value.style.chart.grid.x.timeLabels.fontSize*1.3+t.value.style.chart.grid.x.timeLabels.offsetY,fontSize:t.value.style.chart.grid.x.timeLabels.fontSize,fill:t.value.style.chart.grid.x.timeLabels.color,transform:`translate(${s.value.left+d.value*r+d.value/2}, ${s.value.bottom+t.value.style.chart.grid.x.timeLabels.fontSize*1.3+t.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${t.value.style.chart.grid.x.timeLabels.rotation})`,absoluteIndex:a.absoluteIndex,content:a.text,textAnchor:t.value.style.chart.grid.x.timeLabels.rotation>0?"start":t.value.style.chart.grid.x.timeLabels.rotation<0?"end":"middle",show:!0})),void 0,!0)]))),256))])):(e.openBlock(),e.createElementBlock("g",Rt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":t.value.style.chart.grid.x.timeLabels.rotation>0?"start":t.value.style.chart.grid.x.timeLabels.rotation<0?"end":"middle","font-size":t.value.style.chart.grid.x.timeLabels.fontSize,"font-weight":t.value.style.chart.grid.x.timeLabels.bold?"bold":"normal",fill:t.value.style.chart.grid.x.timeLabels.color,transform:`translate(${s.value.left+d.value*r+d.value/2}, ${s.value.bottom+t.value.style.chart.grid.x.timeLabels.fontSize*1.3+t.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${t.value.style.chart.grid.x.timeLabels.rotation})`,style:{cursor:"pointer"},onClick:()=>_e(a,r)},e.toDisplayString(a.text),9,Dt))),256))]))],64)):e.createCommentVNode("",!0),t.value.style.chart.grid.x.timeLabels.show&&t.value.orientation==="horizontal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:14},[l.$slots["time-label"]?(e.openBlock(),e.createElementBlock("g",At,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.renderSlot(l.$slots,"time-label",e.normalizeProps(e.guardReactiveProps({x:s.value.left-8,y:s.value.top+d.value*r+d.value/2+t.value.style.chart.grid.y.axisLabels.fontSize/3,fontSize:t.value.style.chart.grid.x.timeLabels.fontSize,fill:t.value.style.chart.grid.x.timeLabels.color,transform:null,absoluteIndex:a.absoluteIndex,content:a.text,textAnchor:"end",show:!0})),void 0,!0)]))),256))])):(e.openBlock(),e.createElementBlock("g",qt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(a,r)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":"end","font-size":t.value.style.chart.grid.y.axisLabels.fontSize,"font-weight":t.value.style.chart.grid.y.axisLabels.bold?"bold":"normal",fill:t.value.style.chart.grid.y.axisLabels.color,x:s.value.left-8,y:s.value.top+d.value*r+d.value/2+t.value.style.chart.grid.y.axisLabels.fontSize/3,style:{cursor:"pointer"},onClick:()=>_e(a,r)},e.toDisplayString(a.text),9,Ht))),256))]))],64)):e.createCommentVNode("",!0),p.value.showTooltip&&t.value.orientation==="vertical"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:15},e.renderList(u.value.end-u.value.start,(a,r)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value.left+r*d.value,y:s.value.top,width:d.value,height:s.value.height<0?0:s.value.height,onClick:n=>ke(r),onMouseenter:n=>xe(r),onMouseleave:o[0]||(o[0]=n=>{V.value=null,R.value=!1}),fill:r===V.value?t.value.style.chart.highlighter.color:"transparent",style:e.normalizeStyle({opacity:t.value.style.chart.highlighter.opacity/100})},null,44,Ut))),256)):e.createCommentVNode("",!0),p.value.showTooltip&&t.value.orientation==="horizontal"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:16},e.renderList(u.value.end-u.value.start,(a,r)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value.left,y:s.value.top+r*d.value,width:s.value.width<0?0:s.value.width,height:d.value,onClick:n=>ke(r),onMouseenter:n=>xe(r),onMouseleave:o[1]||(o[1]=n=>{V.value=null,R.value=!1}),fill:r===V.value?t.value.style.chart.highlighter.color:"transparent",style:e.normalizeStyle({opacity:t.value.style.chart.highlighter.opacity/100})},null,44,Wt))),256)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",e.normalizeProps(e.guardReactiveProps({...s.value})),void 0,!0)],12,vt)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Yt,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ce)||e.unref(de)})),void 0,!0)])):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(st.default,{key:5,config:{type:"bar",style:{backgroundColor:t.value.style.chart.backgroundColor,bar:{axis:{color:"#CCCCCC"},color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartSlicer",ref:oe,style:e.normalizeStyle(`width:100%;background:${t.value.style.chart.backgroundColor}`),"data-html2canvas-ignore":""},[t.value.style.chart.zoom.show&&z.value>1?(e.openBlock(),e.createBlock(et.Slicer,{ref_key:"slicerComponent",ref:T,key:`slicer_${se.value}`,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,fontSize:t.value.style.chart.zoom.fontSize,useResetSlot:t.value.style.chart.zoom.useResetSlot,labelLeft:t.value.style.chart.grid.x.timeLabels.values[u.value.start]?t.value.style.chart.grid.x.timeLabels.values[u.value.start]:"",labelRight:t.value.style.chart.grid.x.timeLabels.values[u.value.end-1]?t.value.style.chart.grid.x.timeLabels.values[u.value.end-1]:"",textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,max:Math.max(...X.dataset.map(a=>a.series.length)),min:0,valueStart:u.value.start,valueEnd:u.value.end,start:u.value.start,"onUpdate:start":o[2]||(o[2]=a=>u.value.start=a),end:u.value.end,"onUpdate:end":o[3]||(o[3]=a=>u.value.end=a),refreshStartPoint:t.value.style.chart.zoom.startIndex!==null?t.value.style.chart.zoom.startIndex:0,refreshEndPoint:t.value.style.chart.zoom.endIndex!==null?t.value.style.chart.zoom.endIndex+1:Math.max(...X.dataset.map(a=>a.series.length)),onReset:ye},{"reset-action":e.withCtx(({reset:a})=>[e.renderSlot(l.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:a})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end","refreshStartPoint","refreshEndPoint"])):e.createCommentVNode("",!0)],4),e.createVNode(tt._sfc_main,{show:p.value.showTooltip&&R.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:M.value,content:Z.value,isFullscreen:D.value,isCustom:e.unref(c.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...ee.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...ee.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),e.createElementVNode("div",{ref_key:"chartLegend",ref:le},[t.value.style.chart.legend.show&&$.value?(e.openBlock(),e.createBlock(lt.Legend,{key:0,legendSet:Le.value,config:We.value,onClickMarker:o[4]||(o[4]=({legend:a})=>a.segregate())},{item:e.withCtx(({legend:a})=>[e.createElementVNode("div",{onClick:r=>a.segregate(),style:e.normalizeStyle(`opacity:${b.value.includes(a.id)?.5:1}`)},e.toDisplayString(a.name),13,Xt)]),_:1},8,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:Le.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:6,ref_key:"source",ref:re,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),u.value.end-u.value.start<200?(e.openBlock(),e.createBlock(ot.default,{key:7,hideDetails:"",config:{open:p.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(rt.DataTable,{colNames:U.value.colNames,head:U.value.head,body:U.value.body,config:U.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[5]||(o[5]=a=>p.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a},null,8,Gt)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(isNaN(Number(a))?a:e.unref(c.dataLabel)({p:t.value.style.chart.bars.dataLabels.prefix,v:a,s:t.value.style.chart.bars.dataLabels.suffix,r:t.value.table.td.roundingValue})),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,dt))}},Zt=ct._export_sfc(Jt,[["__scopeId","data-v-b660e69e"]]);exports.default=Zt;
|