vue-data-ui 3.0.0-next.4 → 3.0.0-next.6

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.
Files changed (90) hide show
  1. package/dist/{Arrow-COeGcYaf.js → Arrow-Ul64M9UV.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B6a_nUd1.js → BaseDraggableDialog-Q2ajCztp.js} +2 -2
  3. package/dist/{BaseIcon-C_m_NEgt.js → BaseIcon-BKR7AGeP.js} +1 -1
  4. package/dist/{ColorPicker-_xpvmgl6.js → ColorPicker-BagIs8-K.js} +2 -2
  5. package/dist/{DataTable-kd4xY9pT.js → DataTable-CDwApkI_.js} +2 -2
  6. package/dist/{Legend-Bow74t3d.js → Legend-BSLj7tYc.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-cUcAGGV2.js → NonSvgPenAndPaper-DjJe5fXu.js} +3 -3
  8. package/dist/{PackageVersion-3ZfzB951.js → PackageVersion-BsKpz6KS.js} +1 -1
  9. package/dist/{PenAndPaper-BZddJqUG.js → PenAndPaper-BYRk8xrS.js} +3 -3
  10. package/dist/{Shape-BsptIVCm.js → Shape-DK7zYTKa.js} +1 -1
  11. package/dist/{Slicer-i0BAmgHn.js → Slicer-B_Hb6qSk.js} +2 -2
  12. package/dist/{SparkTooltip-BdD0e0jv.js → SparkTooltip-Dy2sVTb_.js} +1 -1
  13. package/dist/{Title-FiH2Kirc.js → Title-Cednydse.js} +1 -1
  14. package/dist/{Tooltip-BLtR7DBZ.js → Tooltip-DJlwW-XP.js} +1 -1
  15. package/dist/{UserOptions-DOwmMJId.js → UserOptions-DxIzWere.js} +2 -2
  16. package/dist/{dom-to-png-DnsK-Zal.js → dom-to-png-lZcM-YfK.js} +1 -1
  17. package/dist/{img-CP2uNkKq.js → img-DqlIAUF6.js} +1 -1
  18. package/dist/{index-BnnNoGGd.js → index-BQcLOx39.js} +270 -261
  19. package/dist/{pdf-urw1sGoX.js → pdf-CjIXhsyg.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +4 -0
  22. package/dist/types/vue-data-ui.d.ts +4 -0
  23. package/dist/{useNestedProp-B6Dz15k2.js → useNestedProp-DefBVltl.js} +1 -1
  24. package/dist/{usePrinter-Dd-RkmL8.js → usePrinter-BRY5saEA.js} +2 -2
  25. package/dist/{vue-data-ui-Dql75T3d.js → vue-data-ui-CWRlSsiN.js} +64 -64
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-CUDEgTKp.js → vue-ui-3d-bar-CJMZqDo1.js} +6 -6
  28. package/dist/{vue-ui-accordion-qNR0BQCP.js → vue-ui-accordion-Df-5BRRg.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-BFWU1VGZ.js → vue-ui-age-pyramid-B6WAMtPk.js} +6 -6
  30. package/dist/{vue-ui-annotator-CeMOjHpf.js → vue-ui-annotator-BxC5dcIv.js} +2 -2
  31. package/dist/{vue-ui-bullet-CmNollxj.js → vue-ui-bullet-NmtltFbU.js} +7 -7
  32. package/dist/{vue-ui-candlestick-CkoAVYNh.js → vue-ui-candlestick-BzqQtynP.js} +7 -7
  33. package/dist/{vue-ui-carousel-table-CAr64-2F.js → vue-ui-carousel-table-NTDzafWQ.js} +4 -4
  34. package/dist/{vue-ui-chestnut-B0zNp1jY.js → vue-ui-chestnut-k21Qqjjq.js} +5 -5
  35. package/dist/{vue-ui-chord-C-_tz6Tb.js → vue-ui-chord-BVoA6nfI.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-BSTkkKx-.js → vue-ui-circle-pack-CEBgImRX.js} +6 -6
  37. package/dist/{vue-ui-cursor-Dqd6RkcK.js → vue-ui-cursor-BQcz8xw2.js} +2 -2
  38. package/dist/{vue-ui-dashboard-CspqjC6x.js → vue-ui-dashboard-CyzEpJoI.js} +62 -62
  39. package/dist/{vue-ui-digits-CazGAGyM.js → vue-ui-digits-Dafw1UsT.js} +2 -2
  40. package/dist/{vue-ui-donut-BK35Gt-7.js → vue-ui-donut-DKfux8XT.js} +407 -392
  41. package/dist/{vue-ui-donut-evolution-SomhFGJh.js → vue-ui-donut-evolution-D7cNk_6l.js} +8 -8
  42. package/dist/{vue-ui-dumbbell-CJal89Ud.js → vue-ui-dumbbell--H80zebk.js} +7 -7
  43. package/dist/{vue-ui-flow-BFsmk2iL.js → vue-ui-flow-lk_HU5NB.js} +7 -7
  44. package/dist/{vue-ui-funnel-Dm0LCakq.js → vue-ui-funnel-CuN8HWwP.js} +6 -6
  45. package/dist/{vue-ui-galaxy-C9poCSSD.js → vue-ui-galaxy-BHCLFlmy.js} +5 -5
  46. package/dist/{vue-ui-gauge-CYXXfMRC.js → vue-ui-gauge-DWlCh2_B.js} +6 -6
  47. package/dist/{vue-ui-gizmo-B-8rhor5.js → vue-ui-gizmo-DHEEfdp9.js} +3 -3
  48. package/dist/{vue-ui-heatmap-BQzObiF9.js → vue-ui-heatmap-BK6BNOY_.js} +7 -7
  49. package/dist/{vue-ui-history-plot-C_Si7S5S.js → vue-ui-history-plot-CGF6lE-7.js} +7 -7
  50. package/dist/{vue-ui-kpi-BYYBkt55.js → vue-ui-kpi-C4i2w_Yd.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-DmHE-wrb.js → vue-ui-mini-loader-BeetGv_m.js} +2 -2
  52. package/dist/{vue-ui-molecule-I2ZUVtal.js → vue-ui-molecule-F_gDXjJr.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-BYUr9rcv.js → vue-ui-mood-radar-BJMOEqlu.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-DEm7s2uC.js → vue-ui-nested-donuts-BX0Z0rb1.js} +7 -7
  55. package/dist/{vue-ui-onion-BpGz1RFC.js → vue-ui-onion-BhjUET_W.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-SkVvzSSQ.js → vue-ui-parallel-coordinate-plot-n7QPVLrW.js} +8 -8
  57. package/dist/{vue-ui-quadrant-CByC4r8k.js → vue-ui-quadrant-DTyRC1_v.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-GEYFXShR.js → vue-ui-quick-chart-5xX-yBIY.js} +6 -6
  59. package/dist/{vue-ui-radar-CBVb6GyN.js → vue-ui-radar-De2iznwo.js} +7 -7
  60. package/dist/{vue-ui-rating-Thf6P6AF.js → vue-ui-rating-CarXXyD-.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-Blg3GkeU.js → vue-ui-relation-circle-CKkK9D4E.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-D6kxALQN.js → vue-ui-ridgeline-DQ8RQf3E.js} +8 -8
  63. package/dist/{vue-ui-rings-bBHc4cwe.js → vue-ui-rings-Cze6OsmO.js} +8 -8
  64. package/dist/{vue-ui-scatter-DS6-kGZL.js → vue-ui-scatter-CwI3_Dn7.js} +8 -8
  65. package/dist/{vue-ui-skeleton-gHkpLBcj.js → vue-ui-skeleton-C7maR60-.js} +3 -3
  66. package/dist/{vue-ui-smiley-S7qJ-dRf.js → vue-ui-smiley-DzCCn5Oc.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-Co-sKoQX.js → vue-ui-spark-trend-Db-Fnp8C.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-G1Jhr305.js → vue-ui-sparkbar-C6wsNMMO.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-Bzm5X8us.js → vue-ui-sparkgauge-DAQ4zozy.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-IGnxrQK9.js → vue-ui-sparkhistogram-CMEaO0CW.js} +4 -4
  71. package/dist/{vue-ui-sparkline-ezu4qjgC.js → vue-ui-sparkline-R7pfxRWN.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-C_cbbRT_.js → vue-ui-sparkstackbar-DV_XqJQ2.js} +3 -3
  73. package/dist/{vue-ui-stackbar-BD9gyxAb.js → vue-ui-stackbar-gReSujA_.js} +9 -9
  74. package/dist/{vue-ui-strip-plot-Cw1CDIL0.js → vue-ui-strip-plot-8fsm3nn2.js} +7 -7
  75. package/dist/{vue-ui-table-C4A73F9D.js → vue-ui-table-Dck8Pyg9.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-DDlDAXMI.js → vue-ui-table-heatmap-DknIGf9_.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-CQDLqNvX.js → vue-ui-table-sparkline-G4HAzUt6.js} +4 -4
  78. package/dist/{vue-ui-thermometer-DgBtT1Ts.js → vue-ui-thermometer-BIkXa4hY.js} +6 -6
  79. package/dist/{vue-ui-timer-DwL2EUHc.js → vue-ui-timer-Dmr-HCSc.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-J9v9JAmf.js → vue-ui-tiremarks-YWbRk0dm.js} +6 -6
  81. package/dist/{vue-ui-treemap-BSPd3wFo.js → vue-ui-treemap-D2OnG3Fh.js} +8 -8
  82. package/dist/vue-ui-vertical-bar--QFtoFje.js +1092 -0
  83. package/dist/{vue-ui-waffle-Bh_gS8y2.js → vue-ui-waffle-BdaCXuWc.js} +8 -8
  84. package/dist/{vue-ui-wheel-B_r_vUFd.js → vue-ui-wheel-Bw3XSa8N.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-DqvRfwF3.js → vue-ui-word-cloud-BH8UZH_J.js} +6 -6
  86. package/dist/{vue-ui-world-DguPtgux.js → vue-ui-world-BcK_brDq.js} +6 -6
  87. package/dist/{vue-ui-xy-MFNbJqgb.js → vue-ui-xy-Be--zwe9.js} +8 -8
  88. package/dist/{vue-ui-xy-canvas-Cv4Fs6Jw.js → vue-ui-xy-canvas--88oKdGN.js} +8 -8
  89. package/package.json +1 -1
  90. package/dist/vue-ui-vertical-bar-B5b5tXjT.js +0 -1029
@@ -0,0 +1,1092 @@
1
+ import { useCssVars as Mt, defineAsyncComponent as ae, useSlots as Ft, computed as b, ref as i, toRefs as Bt, watch as lt, shallowRef as ot, onMounted as nt, nextTick as ve, onBeforeUnmount as Et, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as h, normalizeClass as D, createBlock as X, createCommentVNode as g, renderSlot as x, createVNode as le, createSlots as Te, withCtx as w, normalizeProps as q, guardReactiveProps as Y, createElementVNode as n, toDisplayString as p, Fragment as K, renderList as J, mergeProps as Rt, withKeys as Dt, createTextVNode as Xt } from "vue";
2
+ import { u as Ut, c as Gt, A as Wt, t as Ht, p as U, a as jt, C as Se, b as qt, v as L, o as Le, e as oe, d as Ne, i as de, f as G, X as Yt, s as Pe, w as Kt, q as Jt, r as Qt, x as Zt, y as ea } from "./index-BQcLOx39.js";
3
+ import { t as ta, u as aa } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ut } from "./useNestedProp-DefBVltl.js";
5
+ import { u as la } from "./usePrinter-BRY5saEA.js";
6
+ import { u as oa } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as na } from "./useChartAccessibility-9icAAmYg.js";
8
+ import ua from "./vue-ui-accordion-Df-5BRRg.js";
9
+ import st from "./Legend-BSLj7tYc.js";
10
+ import sa from "./Title-Cednydse.js";
11
+ import { _ as rt } from "./Shape-DK7zYTKa.js";
12
+ import ra from "./img-DqlIAUF6.js";
13
+ import { u as ia, B as va } from "./useLoading-Bt5Doa8m.js";
14
+ import { _ as da } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const ca = ["id"], ha = ["onClick"], pa = ["xmlns", "viewBox"], fa = ["x", "width", "height"], ga = ["id"], ya = ["stop-color"], ba = ["stop-color"], ma = { key: 1 }, ka = ["x", "y", "width", "height", "fill", "rx"], xa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], _a = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = { class: "vue-ui-horizontal-bar-child-label" }, Ta = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Sa = ["x", "y", "font-size", "fill", "font-weight"], La = { class: "vue-ui-horizontal-bar-parent-label" }, Na = ["x", "y", "font-size", "fill", "font-weight"], Pa = ["x", "y", "font-size", "fill", "font-weight"], Aa = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], za = {
16
+ key: 5,
17
+ class: "vue-data-ui-watermark"
18
+ }, Va = ["onClick"], Ia = { style: "width:100%;padding-top: 36px;position:relative" }, Oa = { class: "vue-ui-data-table" }, Ma = { key: 0 }, Fa = { style: { width: "100%" } }, Ba = ["data-cell"], Ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ra = ["data-cell"], Da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Xa = ["data-cell"], Ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ga = ["data-cell"], Wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ha = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ka = ["data-cell"], Ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qa = {
19
+ __name: "vue-ui-vertical-bar",
20
+ props: {
21
+ config: {
22
+ type: Object,
23
+ default() {
24
+ return {};
25
+ }
26
+ },
27
+ dataset: {
28
+ type: Array,
29
+ default() {
30
+ return [];
31
+ }
32
+ }
33
+ },
34
+ emits: ["selectLegend"],
35
+ setup(it, { expose: vt, emit: dt }) {
36
+ Mt((t) => ({
37
+ "1a570c93": t.tdo
38
+ }));
39
+ const ct = ae(() => import("./BaseIcon-BKR7AGeP.js")), ht = ae(() => import("./PackageVersion-BsKpz6KS.js")), pt = ae(() => import("./PenAndPaper-BYRk8xrS.js")), ft = ae(() => import("./Tooltip-DJlwW-XP.js")), gt = ae(() => import("./UserOptions-DxIzWere.js")), { vue_ui_vertical_bar: yt } = Ut(), bt = Ft(), y = it, ce = b({
40
+ get() {
41
+ return !!y.dataset && y.dataset.length;
42
+ },
43
+ set(t) {
44
+ return t;
45
+ }
46
+ }), S = i(Gt()), mt = i(null), he = i(!1), pe = i(""), Q = i(0), kt = i(null), Ae = i(0), V = i(null), ze = i(null), fe = i(null), Ve = i(null), Ie = i(null), Oe = i(0), ge = i(0), ne = i(null), xt = dt, e = i(xe()), _t = b(() => [
47
+ { name: "", value: 6, color: "#d9d9d9" },
48
+ { name: "", value: 5, color: "#d9d9d9" },
49
+ { name: "", value: 4, color: "#d9d9d9" },
50
+ { name: "", value: 3, color: "#d9d9d9" },
51
+ { name: "", value: 2, color: "#d9d9d9" },
52
+ { name: "", value: 1, color: "#d9d9d9" }
53
+ ]), { loading: ye, FINAL_DATASET: be, manualLoading: me } = ia({
54
+ ...Bt(y),
55
+ FINAL_CONFIG: e,
56
+ prepareConfig: xe,
57
+ callback: () => {
58
+ Promise.resolve().then(async () => {
59
+ Z(), await F();
60
+ });
61
+ },
62
+ skeletonDataset: _t.value,
63
+ skeletonConfig: Wt({
64
+ defaultConfig: e.value,
65
+ userConfig: {
66
+ useCssAnimation: !1,
67
+ userOptions: { show: !1 },
68
+ table: { show: !1 },
69
+ style: {
70
+ chart: {
71
+ backgroundColor: "#999999",
72
+ layout: {
73
+ bars: {
74
+ offsetX: 110,
75
+ dataLabels: {
76
+ color: "transparent",
77
+ value: {
78
+ prefix: "",
79
+ suffix: "",
80
+ formatter: null
81
+ }
82
+ },
83
+ nameLabels: {
84
+ color: "transparent"
85
+ }
86
+ },
87
+ separators: {
88
+ color: "#7A7A7A"
89
+ }
90
+ },
91
+ legend: {
92
+ show: !0,
93
+ backgroundColor: "#999999",
94
+ color: "transparent",
95
+ prefix: "",
96
+ suffix: "",
97
+ formatter: null
98
+ },
99
+ title: {
100
+ color: "#1A1A1A",
101
+ subtitle: {
102
+ color: "#5A5A5A"
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ })
109
+ }), { userOptionsVisible: ke, setUserOptionsVisibility: Me, keepUserOptionState: Fe } = oa({ config: e.value }), { svgRef: Be } = na({ config: e.value.style.chart.title });
110
+ function xe() {
111
+ const t = ut({
112
+ userConfig: y.config,
113
+ defaultConfig: yt
114
+ });
115
+ let l = {};
116
+ return t.theme ? l = {
117
+ ...ut({
118
+ userConfig: jt.vue_ui_vertical_bar[t.theme] || y.config,
119
+ defaultConfig: t
120
+ }),
121
+ customPalette: Ht[t.theme] || U
122
+ } : l = t, y.config && Se(y.config, "events.datapointEnter") ? l.events.datapointEnter = y.config.events.datapointEnter : l.events.datapointEnter = null, y.config && Se(y.config, "events.datapointLeave") ? l.events.datapointLeave = y.config.events.datapointLeave : l.events.datapointLeave = null, y.config && Se(y.config, "events.datapointClick") ? l.events.datapointClick = y.config.events.datapointClick : l.events.datapointClick = null, l;
123
+ }
124
+ lt(() => y.config, (t) => {
125
+ ye.value || (e.value = xe()), ke.value = !e.value.userOptions.showOnChartHover, He(), Oe.value += 1, ge.value += 1, c.value = e.value.style.chart.layout.bars.height, m.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
126
+ }, { deep: !0 }), lt(() => y.dataset, (t) => {
127
+ Array.isArray(t) && t.length > 0 && (me.value = !1), Z();
128
+ }, { deep: !0 });
129
+ const { isPrinting: Ee, isImaging: Re, generatePdf: De, generateImage: Xe } = la({
130
+ elementId: `vue-ui-vertical-bar_${S.value}`,
131
+ fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
132
+ options: e.value.userOptions.print
133
+ }), wt = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ue = b(() => qt(e.value.customPalette)), Ge = i(null), We = i(!1), $t = b(() => e.value.table.responsiveBreakpoint), I = ot(null), W = ot(null), ue = i("0 0 10 10"), N = b(() => {
134
+ const [t, l, a, o] = ue.value.split(" ").map(Number);
135
+ return { x: t, y: l, width: a, height: o };
136
+ });
137
+ nt(async () => {
138
+ await ve(), He(), F();
139
+ });
140
+ async function F() {
141
+ if (ue.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize) return;
142
+ const t = ne.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = ne.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
143
+ if (t.length) {
144
+ const f = Math.max(...Array.from(t).flatMap((d) => {
145
+ const k = d.querySelectorAll("text");
146
+ return k.length ? Array.from(k).map((j) => j.getBBox().width) : 0;
147
+ })), _ = Math.max(...Array.from(l).flatMap((d) => {
148
+ const k = d.querySelectorAll("text");
149
+ return k.length ? Array.from(k).map((j) => j.getBBox().width) : 0;
150
+ }));
151
+ Array.from(t).forEach((d) => {
152
+ const k = d.querySelectorAll("text");
153
+ Array.from(k).forEach(async (j) => {
154
+ j.setAttribute("x", 0), j.setAttribute("x", L(-f - _));
155
+ });
156
+ });
157
+ }
158
+ await ve();
159
+ const a = ne.value.getBBox(), o = e.value.style.chart.layout.bars.dataLabels.offsetX;
160
+ ue.value = [
161
+ a.x + -o,
162
+ 0,
163
+ a.width + o * 2,
164
+ r.value.fullHeight
165
+ ].join(" ");
166
+ }
167
+ const se = b(() => !!e.value.debug), _e = i(0);
168
+ function He() {
169
+ if (Le(y.dataset) && (oe({
170
+ componentName: "VueUiVerticalBar",
171
+ type: "dataset",
172
+ debug: se.value
173
+ }), ce.value = !1, me.value = !0), Q.value = be.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ct(), Le(y.dataset) || (me.value = e.value.loading), e.value.responsive) {
174
+ const t = ta(() => {
175
+ const { width: l, height: a } = aa({
176
+ chart: V.value,
177
+ title: e.value.style.chart.title.text ? ze.value : null,
178
+ legend: e.value.style.chart.legend.show ? fe.value : null,
179
+ source: Ve.value,
180
+ noTitle: Ie.value
181
+ });
182
+ _e.value = a / 3, requestAnimationFrame(async () => {
183
+ Ye.value = l;
184
+ const o = m.value * (Q.value - 1);
185
+ c.value = (a - o) / Q.value, await ve(), F();
186
+ });
187
+ });
188
+ I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect()), I.value = new ResizeObserver(t), W.value = V.value.parentNode, I.value.observe(W.value), e.value.autoSize && F();
189
+ }
190
+ }
191
+ Et(() => {
192
+ I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect());
193
+ });
194
+ function Ct() {
195
+ if (ye.value) return;
196
+ new ResizeObserver((l) => {
197
+ l.forEach((a) => {
198
+ We.value = a.contentRect.width < $t.value;
199
+ });
200
+ }).observe(Ge.value);
201
+ }
202
+ const $ = i({
203
+ showTable: e.value.table.show,
204
+ sortDesc: e.value.style.chart.layout.bars.sort === "desc",
205
+ showTooltip: e.value.style.chart.tooltip.show
206
+ }), je = b(() => $.value.sortDesc), O = b(() => (be.value.forEach((t, l) => {
207
+ !t.value && !t.children && oe({
208
+ componentName: "VueUiVerticalBar",
209
+ type: "datasetAttributeEmpty",
210
+ property: `value (index ${l})`,
211
+ debug: se.value
212
+ }), t.children && (Le(t.children) ? oe({
213
+ componentName: "VueUiVerticalBar",
214
+ type: "datasetAttributeEmpty",
215
+ property: `children (index ${l})`,
216
+ debug: se.value
217
+ }) : t.children.forEach((a, o) => {
218
+ [null, void 0].includes(a.name) && oe({
219
+ componentName: "VueUiVerticalBar",
220
+ type: "datasetSerieAttribute",
221
+ property: "name",
222
+ key: "children",
223
+ index: o,
224
+ debug: se.value
225
+ });
226
+ }));
227
+ }), be.value.map((t, l) => {
228
+ const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, f = L(t.value ? t.value : o ? t.children.map((d) => d.value || 0).reduce((d, k) => d + k, 0) : 0), _ = f >= 0 ? 1 : -1;
229
+ return {
230
+ ...t,
231
+ id: a,
232
+ absoluteIndex: l,
233
+ shape: "square",
234
+ opacity: P.value.includes(a) ? 0.5 : 1,
235
+ value: Math.abs(f),
236
+ sign: _,
237
+ hasChildren: o,
238
+ isChild: !1,
239
+ segregate: () => ee(a),
240
+ isSegregated: P.value.includes(a),
241
+ color: Ne(t.color) || Ue.value[l] || U[l] || U[l % U.length],
242
+ children: !t.children || !t.children.length ? [] : t.children.toSorted(re.value ? () => 0 : (d, k) => je.value ? k.value - d.value : d.value - k.value).map((d, k) => ({
243
+ ...d,
244
+ value: L(Math.abs(d.value)),
245
+ absoluteIndex: l,
246
+ sign: d.value >= 0 ? 1 : -1,
247
+ isChild: !0,
248
+ parentId: a,
249
+ parentName: t.name,
250
+ parentValue: f,
251
+ parentSign: _,
252
+ id: `vertical_child_${l}_${k}_${S.value}`,
253
+ childIndex: k,
254
+ color: Ne(d.color) || Ne(t.color) || Ue.value[l] || U[l] || U[l % U.length]
255
+ })).map((d, k) => ({
256
+ ...d,
257
+ isFirstChild: k === 0,
258
+ isLastChild: k === t.children.length - 1
259
+ }))
260
+ };
261
+ }).toSorted(re.value ? () => 0 : (t, l) => je.value ? l.value - t.value : t.value - l.value))), qe = b(() => ({
262
+ cy: "vertical-bar-div-legend",
263
+ backgroundColor: e.value.style.chart.legend.backgroundColor,
264
+ color: e.value.style.chart.legend.color,
265
+ fontSize: e.value.style.chart.legend.fontSize,
266
+ paddingBottom: 12,
267
+ fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
268
+ })), c = i(e.value.style.chart.layout.bars.height), m = i(e.value.style.chart.layout.bars.gap), Tt = b(() => (c.value + m.value) * Q.value), Ye = i(512), C = b(() => ({
269
+ width: Ye.value,
270
+ height: Tt.value,
271
+ padding: {
272
+ top: 12,
273
+ left: (e.value.autoSize ? 0 : 128) + e.value.style.chart.layout.bars.offsetX,
274
+ right: (e.value.autoSize ? 0 : 64) + e.value.style.chart.layout.bars.paddingRight,
275
+ bottom: 12
276
+ }
277
+ })), r = b(() => ({
278
+ fullHeight: C.value.padding.top + C.value.padding.bottom + C.value.height,
279
+ top: C.value.padding.top,
280
+ left: C.value.padding.left,
281
+ right: C.value.width - C.value.padding.right,
282
+ bottom: C.value.padding.top + C.value.height,
283
+ width: C.value.width - (C.value.padding.left + C.value.padding.right)
284
+ }));
285
+ async function Z() {
286
+ Q.value = B.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await F();
287
+ }
288
+ const P = i([]);
289
+ async function ee(t) {
290
+ if (P.value.includes(t))
291
+ P.value = P.value.filter((l) => l !== t);
292
+ else {
293
+ if (P.value.length === O.value.length - 1) return;
294
+ P.value.push(t);
295
+ }
296
+ Z(), await ve(), e.value.autoSize && F(), xt("selectLegend", B.value);
297
+ }
298
+ const B = b(() => O.value.filter((t) => !P.value.includes(t.id))), z = b(() => B.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
299
+ function Ke(t, l = !1, a = 0) {
300
+ return l ? G({
301
+ v: L(Math.abs(t) / z.value * 100),
302
+ s: "%",
303
+ r: a
304
+ }) : Math.abs(t) / z.value;
305
+ }
306
+ const E = b(() => B.value.flatMap((t) => t.hasChildren ? t.children : t)), R = b(() => E.value.map((t) => t.sign).includes(-1)), St = b(() => Math.max(...B.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
307
+ function T(t) {
308
+ const l = t / St.value;
309
+ return r.value.width / (R.value ? 2 : 1) * l;
310
+ }
311
+ function Lt(t) {
312
+ return T(t) + r.value.left;
313
+ }
314
+ function te(t, l) {
315
+ const a = B.value.find((_) => _.id === t.parentId), o = r.value.top + (m.value + c.value) * l, f = a.children.length * (m.value + c.value);
316
+ return {
317
+ y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
318
+ name: a.name,
319
+ value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
320
+ percentageToTotal: isNaN(a.value / z.value) ? "" : Ke(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
321
+ sign: a.sign
322
+ };
323
+ }
324
+ function Nt() {
325
+ return B.value;
326
+ }
327
+ const we = i(null), $e = i(null);
328
+ function Pt({ datapoint: t, seriesIndex: l }) {
329
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
330
+ }
331
+ function At({ datapoint: t, seriesIndex: l }) {
332
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), kt.value = null, he.value = !1, we.value = null;
333
+ }
334
+ function zt(t, l) {
335
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), $e.value = {
336
+ datapoint: t,
337
+ seriesIndex: l,
338
+ series: O.value,
339
+ config: e.value
340
+ }, he.value = !0, we.value = t.id;
341
+ let a = "";
342
+ const o = t.isChild ? t.parentName : t.name, f = t.isChild ? t.name : "", _ = e.value.style.chart.tooltip.customFormat;
343
+ Zt(_) && ea(() => _({
344
+ datapoint: t,
345
+ series: O.value,
346
+ config: e.value,
347
+ seriesIndex: l
348
+ })) ? pe.value = _({
349
+ datapoint: t,
350
+ series: O.value,
351
+ config: e.value,
352
+ seriesIndex: l
353
+ }) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
354
+ <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${bt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${S.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
355
+ ${f ? `<div>${f}</div>` : ""}
356
+ </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${de(
357
+ e.value.style.chart.layout.bars.dataLabels.value.formatter,
358
+ t.sign === 1 ? t.value : -t.value,
359
+ G({
360
+ p: e.value.style.chart.tooltip.prefix,
361
+ v: t.sign === 1 ? t.value : -t.value,
362
+ s: e.value.style.chart.tooltip.suffix,
363
+ r: e.value.style.chart.tooltip.roundingValue
364
+ }),
365
+ { datapoint: t, seriesIndex: l }
366
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${G({
367
+ v: Math.abs(t.value) / z.value * 100,
368
+ s: "%",
369
+ r: e.value.style.chart.tooltip.roundingPercentage
370
+ })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${G({
371
+ v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
372
+ s: "%",
373
+ r: e.value.style.chart.tooltip.roundingPercentage
374
+ })}</b></div>`)), pe.value = `<div style="text-align:left">${a}</div>`);
375
+ }
376
+ function Je(t, l, a, o) {
377
+ if (!e.value.style.chart.layout.bars.dataLabels.value.show)
378
+ return "";
379
+ const f = de(
380
+ e.value.style.chart.layout.bars.dataLabels.value.formatter,
381
+ L(o === -1 && t >= 0 ? -t : t),
382
+ G({
383
+ p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
384
+ v: L(o === -1 && t >= 0 ? -t : t),
385
+ s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
386
+ r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
387
+ }),
388
+ { datapoint: l, seriesIndex: a }
389
+ ), _ = `(${Ke(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
390
+ return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${_}` : ""}`;
391
+ }
392
+ const A = b(() => {
393
+ const t = [
394
+ e.value.translations.parentName,
395
+ e.value.translations.value,
396
+ e.value.translations.percentageToTotal,
397
+ e.value.translations.childName,
398
+ e.value.translations.value,
399
+ e.value.translations.percentageToSerie,
400
+ e.value.translations.percentageToTotal
401
+ ], l = E.value.map((a) => a.isChild ? a.isFirstChild ? {
402
+ color: a.color,
403
+ parentName: a.parentName,
404
+ parentValue: a.parentValue,
405
+ percentageToTotal: a.parentValue / z.value,
406
+ childName: a.name,
407
+ childValue: a.sign === 1 ? a.value : -a.value,
408
+ childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
409
+ childPercentageToTotal: Math.abs(a.value) / z.value
410
+ } : {
411
+ color: "",
412
+ parentName: "",
413
+ parentValue: "",
414
+ percentageToTotal: "",
415
+ childName: a.name,
416
+ childValue: a.sign === 1 ? a.value : -a.value,
417
+ childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
418
+ childPercentageToTotal: Math.abs(a.value) / z.value
419
+ } : {
420
+ color: a.color,
421
+ parentName: a.name,
422
+ parentValue: a.sign === 1 ? a.value : -a.value,
423
+ percentageToTotal: Math.abs(a.value) / z.value,
424
+ childName: "",
425
+ childValue: "",
426
+ childPercentageToParent: "",
427
+ childPercentageToTotal: ""
428
+ });
429
+ return { head: t, body: l };
430
+ });
431
+ function Qe(t = null) {
432
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = A.value.head, o = A.value.body.map((d) => [
433
+ d.parentName,
434
+ d.parentValue,
435
+ d.percentageToTotal,
436
+ d.childName,
437
+ d.childValue,
438
+ d.childPercentageToParent,
439
+ d.childPercentageToTotal
440
+ ]), f = l.concat([a]).concat(o), _ = Jt(f);
441
+ t ? t(_) : Qt({ csvContent: _, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
442
+ }
443
+ const H = i(!1);
444
+ function Ze(t) {
445
+ H.value = t, Ae.value += 1;
446
+ }
447
+ function et() {
448
+ $.value.showTable = !$.value.showTable;
449
+ }
450
+ const Vt = i({
451
+ none: 0,
452
+ asc: 1,
453
+ desc: 2
454
+ }), M = i(0), re = i(!1);
455
+ nt(() => {
456
+ ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || oe({
457
+ componentName: "VueUiVerticalBar",
458
+ type: "attributeWrongValue",
459
+ property: "style.chart.layout.bars.sort",
460
+ key: e.value.style.chart.layout.bars.sort
461
+ }), M.value = Vt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, re.value = M.value === 0;
462
+ });
463
+ function It() {
464
+ M.value += 1, M.value > 2 && (M.value = 0);
465
+ }
466
+ function tt() {
467
+ It(), $.value.sortDesc = M.value === 2, re.value = M.value === 0, Z();
468
+ }
469
+ function at() {
470
+ $.value.showTooltip = !$.value.showTooltip;
471
+ }
472
+ const ie = i(!1);
473
+ function Ce() {
474
+ ie.value = !ie.value;
475
+ }
476
+ async function Ot({ scale: t = 2 } = {}) {
477
+ if (!V.value) return;
478
+ const { width: l, height: a } = V.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: _ } = await ra({ domElement: V.value, base64: !0, img: !0, scale: t });
479
+ return {
480
+ imageUri: f,
481
+ base64: _,
482
+ title: e.value.style.chart.title.text,
483
+ width: l,
484
+ height: a,
485
+ aspectRatio: o
486
+ };
487
+ }
488
+ return vt({
489
+ autoSize: F,
490
+ // v3
491
+ getData: Nt,
492
+ getImage: Ot,
493
+ recalculateHeight: Z,
494
+ generatePdf: De,
495
+ generateCsv: Qe,
496
+ generateImage: Xe,
497
+ toggleTable: et,
498
+ toggleSort: tt,
499
+ toggleTooltip: at,
500
+ toggleAnnotator: Ce,
501
+ toggleFullscreen: Ze
502
+ }), (t, l) => (u(), v("div", {
503
+ class: D(`vue-ui-vertical-bar ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
504
+ ref_key: "verticalBarChart",
505
+ ref: V,
506
+ id: `vue-ui-vertical-bar_${S.value}`,
507
+ style: h(`margin-top:${e.value.responsive && e.value.autoSize ? `${_e.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${_e.value}px` : "height: 100%" : ""}`),
508
+ onMouseenter: l[4] || (l[4] = () => s(Me)(!0)),
509
+ onMouseleave: l[5] || (l[5] = () => s(Me)(!1))
510
+ }, [
511
+ e.value.userOptions.buttons.annotator ? (u(), X(s(pt), {
512
+ key: 0,
513
+ svgRef: s(Be),
514
+ backgroundColor: e.value.style.chart.backgroundColor,
515
+ color: e.value.style.chart.color,
516
+ active: ie.value,
517
+ onClose: Ce
518
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
519
+ wt.value ? (u(), v("div", {
520
+ key: 1,
521
+ ref_key: "noTitle",
522
+ ref: Ie,
523
+ class: "vue-data-ui-no-title-space",
524
+ style: "height:36px; width: 100%;background:transparent"
525
+ }, null, 512)) : g("", !0),
526
+ e.value.style.chart.title.text ? (u(), v("div", {
527
+ key: 2,
528
+ ref_key: "chartTitle",
529
+ ref: ze,
530
+ style: "width:100%;background:transparent;padding-bottom:12px"
531
+ }, [
532
+ (u(), X(sa, {
533
+ key: `title_${Oe.value}`,
534
+ config: {
535
+ title: {
536
+ cy: "vertical-bar-div-title",
537
+ ...e.value.style.chart.title
538
+ },
539
+ subtitle: {
540
+ cy: "vertical-bar-div-subtitle",
541
+ ...e.value.style.chart.title.subtitle
542
+ }
543
+ }
544
+ }, null, 8, ["config"]))
545
+ ], 512)) : g("", !0),
546
+ e.value.userOptions.show && ce.value && (s(Fe) || s(ke)) ? (u(), X(s(gt), {
547
+ ref_key: "details",
548
+ ref: mt,
549
+ key: `user_options_${Ae.value}`,
550
+ backgroundColor: e.value.style.chart.backgroundColor,
551
+ color: e.value.style.chart.color,
552
+ isImaging: s(Re),
553
+ isPrinting: s(Ee),
554
+ uid: S.value,
555
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
556
+ hasPdf: e.value.userOptions.buttons.pdf,
557
+ hasImg: e.value.userOptions.buttons.img,
558
+ hasXls: e.value.userOptions.buttons.csv,
559
+ hasTable: e.value.userOptions.buttons.table,
560
+ hasSort: e.value.userOptions.buttons.sort,
561
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
562
+ isFullscreen: H.value,
563
+ isTooltip: $.value.showTooltip,
564
+ titles: { ...e.value.userOptions.buttonTitles },
565
+ chartElement: V.value,
566
+ position: e.value.userOptions.position,
567
+ hasAnnotator: e.value.userOptions.buttons.annotator,
568
+ isAnnotation: ie.value,
569
+ callbacks: e.value.userOptions.callbacks,
570
+ printScale: e.value.userOptions.print.scale,
571
+ onToggleFullscreen: Ze,
572
+ onGeneratePdf: s(De),
573
+ onGenerateCsv: Qe,
574
+ onGenerateImage: s(Xe),
575
+ onToggleTable: et,
576
+ onToggleSort: tt,
577
+ onToggleTooltip: at,
578
+ onToggleAnnotator: Ce,
579
+ style: h({
580
+ visibility: s(Fe) ? s(ke) ? "visible" : "hidden" : "visible"
581
+ })
582
+ }, Te({ _: 2 }, [
583
+ t.$slots.menuIcon ? {
584
+ name: "menuIcon",
585
+ fn: w(({ isOpen: a, color: o }) => [
586
+ x(t.$slots, "menuIcon", q(Y({ isOpen: a, color: o })), void 0, !0)
587
+ ]),
588
+ key: "0"
589
+ } : void 0,
590
+ t.$slots.optionTooltip ? {
591
+ name: "optionTooltip",
592
+ fn: w(() => [
593
+ x(t.$slots, "optionTooltip", {}, void 0, !0)
594
+ ]),
595
+ key: "1"
596
+ } : void 0,
597
+ t.$slots.optionPdf ? {
598
+ name: "optionPdf",
599
+ fn: w(() => [
600
+ x(t.$slots, "optionPdf", {}, void 0, !0)
601
+ ]),
602
+ key: "2"
603
+ } : void 0,
604
+ t.$slots.optionCsv ? {
605
+ name: "optionCsv",
606
+ fn: w(() => [
607
+ x(t.$slots, "optionCsv", {}, void 0, !0)
608
+ ]),
609
+ key: "3"
610
+ } : void 0,
611
+ t.$slots.optionImg ? {
612
+ name: "optionImg",
613
+ fn: w(() => [
614
+ x(t.$slots, "optionImg", {}, void 0, !0)
615
+ ]),
616
+ key: "4"
617
+ } : void 0,
618
+ t.$slots.optionTable ? {
619
+ name: "optionTable",
620
+ fn: w(() => [
621
+ x(t.$slots, "optionTable", {}, void 0, !0)
622
+ ]),
623
+ key: "5"
624
+ } : void 0,
625
+ t.$slots.optionLabels ? {
626
+ name: "optionLabels",
627
+ fn: w(() => [
628
+ x(t.$slots, "optionLabels", {}, void 0, !0)
629
+ ]),
630
+ key: "6"
631
+ } : void 0,
632
+ t.$slots.optionSort ? {
633
+ name: "optionSort",
634
+ fn: w(() => [
635
+ x(t.$slots, "optionSort", {}, void 0, !0)
636
+ ]),
637
+ key: "7"
638
+ } : void 0,
639
+ t.$slots.optionFullscreen ? {
640
+ name: "optionFullscreen",
641
+ fn: w(({ toggleFullscreen: a, isFullscreen: o }) => [
642
+ x(t.$slots, "optionFullscreen", q(Y({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
643
+ ]),
644
+ key: "8"
645
+ } : void 0,
646
+ t.$slots.optionAnnotator ? {
647
+ name: "optionAnnotator",
648
+ fn: w(({ toggleAnnotator: a, isAnnotator: o }) => [
649
+ x(t.$slots, "optionAnnotator", q(Y({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
650
+ ]),
651
+ key: "9"
652
+ } : void 0
653
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
654
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), v("div", {
655
+ key: 4,
656
+ ref_key: "chartLegend",
657
+ ref: fe
658
+ }, [
659
+ (u(), X(st, {
660
+ key: `legend_top_${ge.value}`,
661
+ legendSet: O.value,
662
+ config: qe.value,
663
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => ee(a.id))
664
+ }, Te({
665
+ item: w(({ legend: a, index: o }) => [
666
+ n("div", {
667
+ onClick: (f) => ee(a.id),
668
+ style: h(`opacity:${P.value.includes(a.id) ? 0.5 : 1}`)
669
+ }, p(a.name) + ": " + p(s(de)(
670
+ e.value.style.chart.layout.bars.dataLabels.value.formatter,
671
+ a.value,
672
+ s(G)({
673
+ p: e.value.style.chart.legend.prefix,
674
+ v: a.value,
675
+ s: e.value.style.chart.legend.suffix,
676
+ r: e.value.style.chart.legend.roundingValue
677
+ }),
678
+ { datapoint: a, seriesIndex: o }
679
+ )), 13, ha)
680
+ ]),
681
+ _: 2
682
+ }, [
683
+ t.$slots.pattern ? {
684
+ name: "legend-pattern",
685
+ fn: w(({ legend: a, index: o }) => [
686
+ le(rt, {
687
+ shape: a.shape,
688
+ radius: 30,
689
+ stroke: "none",
690
+ plot: { x: 30, y: 30 },
691
+ fill: `url(#pattern_${S.value}_${o})`
692
+ }, null, 8, ["shape", "fill"])
693
+ ]),
694
+ key: "0"
695
+ } : void 0
696
+ ]), 1032, ["legendSet", "config"]))
697
+ ], 512)) : g("", !0),
698
+ (u(), v("svg", {
699
+ ref_key: "svgRef",
700
+ ref: Be,
701
+ xmlns: s(Yt),
702
+ class: D({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
703
+ viewBox: ue.value,
704
+ style: h(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
705
+ }, [
706
+ n("g", {
707
+ ref_key: "G",
708
+ ref: ne,
709
+ class: "vue-data-ui-g"
710
+ }, [
711
+ le(s(ht)),
712
+ t.$slots["chart-background"] ? (u(), v("foreignObject", {
713
+ key: 0,
714
+ x: N.value.x,
715
+ y: 0,
716
+ width: N.value.width,
717
+ height: N.value.height,
718
+ style: {
719
+ pointerEvents: "none"
720
+ }
721
+ }, [
722
+ x(t.$slots, "chart-background", {}, void 0, !0)
723
+ ], 8, fa)) : g("", !0),
724
+ (u(!0), v(K, null, J(E.value, (a, o) => (u(), v("linearGradient", {
725
+ x1: "0%",
726
+ y1: "0%",
727
+ x2: "100%",
728
+ y2: "0%",
729
+ id: `vertical_bar_gradient_${S.value}_${o}`
730
+ }, [
731
+ n("stop", {
732
+ offset: "0%",
733
+ "stop-color": a.color
734
+ }, null, 8, ya),
735
+ n("stop", {
736
+ offset: "100%",
737
+ "stop-color": s(Pe)(s(Kt)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
738
+ }, null, 8, ba)
739
+ ], 8, ga))), 256)),
740
+ t.$slots.pattern ? (u(), v("g", ma, [
741
+ (u(!0), v(K, null, J(E.value, (a) => (u(), v("defs", null, [
742
+ x(t.$slots, "pattern", Rt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
743
+ ]))), 256))
744
+ ])) : g("", !0),
745
+ (u(!0), v(K, null, J(E.value, (a, o) => (u(), v("g", null, [
746
+ n("rect", {
747
+ x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
748
+ y: r.value.top + (m.value + c.value) * o,
749
+ width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
750
+ height: c.value <= 0 ? 1e-4 : c.value,
751
+ fill: e.value.style.chart.layout.bars.underlayerColor,
752
+ rx: e.value.style.chart.layout.bars.borderRadius,
753
+ class: D({ animated: e.value.useCssAnimation })
754
+ }, null, 10, ka)
755
+ ]))), 256)),
756
+ (u(!0), v(K, null, J(E.value, (a, o) => (u(), v("g", null, [
757
+ n("rect", {
758
+ x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
759
+ y: r.value.top + (m.value + c.value) * o,
760
+ width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
761
+ height: c.value <= 0 ? 1e-4 : c.value,
762
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : s(Pe)(a.color, e.value.style.chart.layout.bars.fillOpacity),
763
+ rx: e.value.style.chart.layout.bars.borderRadius,
764
+ stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
765
+ "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
766
+ class: D({ animated: e.value.useCssAnimation })
767
+ }, null, 10, xa),
768
+ t.$slots.pattern ? (u(), v("rect", {
769
+ key: 0,
770
+ x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
771
+ y: r.value.top + (m.value + c.value) * o,
772
+ width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
773
+ height: c.value <= 0 ? 1e-4 : c.value,
774
+ fill: `url(#pattern_${S.value}_${a.absoluteIndex})`,
775
+ rx: e.value.style.chart.layout.bars.borderRadius,
776
+ stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
777
+ "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
778
+ class: D({ animated: e.value.useCssAnimation })
779
+ }, null, 10, _a)) : g("", !0),
780
+ (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== E.value.length - 1 ? (u(), v("line", {
781
+ key: 1,
782
+ x1: N.value.x,
783
+ x2: e.value.style.chart.layout.separators.fullWidth ? N.value.width - Math.abs(N.value.x) : r.value.left,
784
+ y1: c.value + m.value / 2 + r.value.top + (m.value + c.value) * o,
785
+ y2: c.value + m.value / 2 + r.value.top + (m.value + c.value) * o,
786
+ stroke: e.value.style.chart.layout.separators.color,
787
+ "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
788
+ "stroke-linecap": "round",
789
+ style: { transition: "none !important", animation: "none !important" }
790
+ }, null, 8, wa)) : g("", !0),
791
+ R.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
792
+ key: 2,
793
+ x1: r.value.left + r.value.width / 2,
794
+ x2: r.value.left + r.value.width / 2,
795
+ y1: r.value.top,
796
+ y2: r.value.bottom,
797
+ stroke: e.value.style.chart.layout.separators.color,
798
+ "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
799
+ "stroke-linecap": "round"
800
+ }, null, 8, $a)) : g("", !0),
801
+ n("g", Ca, [
802
+ n("text", {
803
+ x: R.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Lt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
804
+ y: r.value.top + (m.value + c.value) * o + c.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
805
+ "text-anchor": !R.value || a.sign === -1 ? "start" : "end",
806
+ "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
807
+ fill: e.value.style.chart.layout.bars.dataLabels.color,
808
+ "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
809
+ }, p(Je(a.value, a, o, a.sign)), 9, Ta),
810
+ (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), v("text", {
811
+ key: 0,
812
+ "text-anchor": "end",
813
+ x: r.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
814
+ y: r.value.top + (m.value + c.value) * o + c.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
815
+ "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
816
+ fill: e.value.style.chart.layout.bars.nameLabels.color,
817
+ "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
818
+ }, p(a.name), 9, Sa)) : g("", !0)
819
+ ]),
820
+ n("g", La, [
821
+ a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
822
+ key: 0,
823
+ x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
824
+ y: te(a, o).y,
825
+ "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
826
+ fill: e.value.style.chart.layout.bars.parentLabels.color,
827
+ "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
828
+ "text-anchor": "start"
829
+ }, p(te(a, o).name), 9, Na)) : g("", !0),
830
+ a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
831
+ key: 1,
832
+ x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
833
+ y: te(a, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
834
+ "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
835
+ fill: e.value.style.chart.layout.bars.parentLabels.color,
836
+ "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
837
+ "text-anchor": "start"
838
+ }, p(Je(te(a, o).value), te(a, o), o, a.parentSign || a.sign), 9, Pa)) : g("", !0)
839
+ ]),
840
+ n("rect", {
841
+ x: N.value.x,
842
+ y: r.value.top + (m.value + c.value) * o - m.value / 2,
843
+ width: N.value.width,
844
+ height: c.value + m.value <= 0 ? 1e-4 : c.value + m.value,
845
+ fill: we.value === a.id ? s(Pe)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
846
+ onMouseenter: (f) => zt(a, o),
847
+ onMouseleave: (f) => At({ datapoint: a, seriesIndex: o }),
848
+ onClick: (f) => Pt({ datapoint: a, seriesIndex: o })
849
+ }, null, 40, Aa)
850
+ ]))), 256)),
851
+ x(t.$slots, "svg", { svg: N.value }, void 0, !0)
852
+ ], 512)
853
+ ], 14, pa)),
854
+ t.$slots.watermark ? (u(), v("div", za, [
855
+ x(t.$slots, "watermark", q(Y({ isPrinting: s(Ee) || s(Re) })), void 0, !0)
856
+ ])) : g("", !0),
857
+ e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
858
+ key: 6,
859
+ ref_key: "chartLegend",
860
+ ref: fe
861
+ }, [
862
+ (u(), X(st, {
863
+ key: `legend_bottom_${ge.value}`,
864
+ legendSet: O.value,
865
+ config: qe.value,
866
+ onClickMarker: l[1] || (l[1] = ({ legend: a }) => ee(a.id))
867
+ }, Te({
868
+ item: w(({ legend: a, index: o }) => [
869
+ n("div", {
870
+ onClick: (f) => ee(a.id),
871
+ style: h(`opacity:${P.value.includes(a.id) ? 0.5 : 1}`)
872
+ }, p(a.name) + ": " + p(s(de)(
873
+ e.value.style.chart.layout.bars.dataLabels.value.formatter,
874
+ a.value,
875
+ s(G)({
876
+ p: e.value.style.chart.legend.prefix,
877
+ v: a.value,
878
+ s: e.value.style.chart.legend.suffix,
879
+ r: e.value.style.chart.legend.roundingValue
880
+ }),
881
+ { datapoint: a, seriesIndex: o }
882
+ )), 13, Va)
883
+ ]),
884
+ _: 2
885
+ }, [
886
+ t.$slots.pattern ? {
887
+ name: "legend-pattern",
888
+ fn: w(({ legend: a, index: o }) => [
889
+ le(rt, {
890
+ shape: a.shape,
891
+ radius: 30,
892
+ stroke: "none",
893
+ plot: { x: 30, y: 30 },
894
+ fill: `url(#pattern_${S.value}_${o})`
895
+ }, null, 8, ["shape", "fill"])
896
+ ]),
897
+ key: "0"
898
+ } : void 0
899
+ ]), 1032, ["legendSet", "config"]))
900
+ ], 512)) : g("", !0),
901
+ x(t.$slots, "legend", { legend: O.value }, void 0, !0),
902
+ t.$slots.source ? (u(), v("div", {
903
+ key: 7,
904
+ ref_key: "source",
905
+ ref: Ve,
906
+ dir: "auto"
907
+ }, [
908
+ x(t.$slots, "source", {}, void 0, !0)
909
+ ], 512)) : g("", !0),
910
+ le(s(ft), {
911
+ show: $.value.showTooltip && he.value && P.value.length < y.dataset.length,
912
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
913
+ color: e.value.style.chart.tooltip.color,
914
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
915
+ borderColor: e.value.style.chart.tooltip.borderColor,
916
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
917
+ fontSize: e.value.style.chart.tooltip.fontSize,
918
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
919
+ position: e.value.style.chart.tooltip.position,
920
+ offsetY: e.value.style.chart.tooltip.offsetY,
921
+ parent: V.value,
922
+ content: pe.value,
923
+ isFullscreen: H.value,
924
+ isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
925
+ }, {
926
+ "tooltip-before": w(() => [
927
+ x(t.$slots, "tooltip-before", q(Y({ ...$e.value })), void 0, !0)
928
+ ]),
929
+ "tooltip-after": w(() => [
930
+ x(t.$slots, "tooltip-after", q(Y({ ...$e.value })), void 0, !0)
931
+ ]),
932
+ _: 3
933
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
934
+ ce.value ? (u(), X(ua, {
935
+ key: 8,
936
+ hideDetails: "",
937
+ config: {
938
+ open: $.value.showTable,
939
+ maxHeight: 1e4,
940
+ body: {
941
+ backgroundColor: e.value.style.chart.backgroundColor,
942
+ color: e.value.style.chart.color
943
+ },
944
+ head: {
945
+ backgroundColor: e.value.style.chart.backgroundColor,
946
+ color: e.value.style.chart.color
947
+ }
948
+ }
949
+ }, {
950
+ content: w(() => [
951
+ n("div", {
952
+ ref_key: "tableContainer",
953
+ ref: Ge,
954
+ class: "vue-ui-vertical-bar-table atom-data-table"
955
+ }, [
956
+ n("div", Ia, [
957
+ n("div", {
958
+ role: "button",
959
+ tabindex: "0",
960
+ style: h(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
961
+ onClick: l[2] || (l[2] = (a) => $.value.showTable = !1),
962
+ onKeypress: l[3] || (l[3] = Dt((a) => $.value.showTable = !1, ["enter"]))
963
+ }, [
964
+ le(s(ct), {
965
+ name: "close",
966
+ stroke: e.value.table.th.color,
967
+ "stroke-width": 2
968
+ }, null, 8, ["stroke"])
969
+ ], 36),
970
+ n("div", {
971
+ style: { width: "100%", "container-type": "inline-size" },
972
+ class: D({ "vue-ui-responsive": We.value })
973
+ }, [
974
+ n("table", Oa, [
975
+ n("caption", {
976
+ style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
977
+ class: "vue-ui-data-table__caption"
978
+ }, [
979
+ Xt(p(e.value.style.chart.title.text) + " ", 1),
980
+ e.value.style.chart.title.subtitle.text ? (u(), v("span", Ma, p(e.value.style.chart.title.subtitle.text), 1)) : g("", !0)
981
+ ], 4),
982
+ n("thead", null, [
983
+ n("tr", {
984
+ role: "row",
985
+ style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
986
+ }, [
987
+ (u(!0), v(K, null, J(A.value.head, (a) => (u(), v("th", {
988
+ style: h(`outline:${e.value.table.th.outline}`)
989
+ }, [
990
+ n("div", Fa, p(a), 1)
991
+ ], 4))), 256))
992
+ ], 4),
993
+ n("tr", null, [
994
+ n("th", {
995
+ style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
996
+ }, null, 4),
997
+ n("th", {
998
+ style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
999
+ }, "∑ " + p(e.value.table.td.prefix) + p(isNaN(z.value) ? "" : z.value.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 5),
1000
+ n("th", {
1001
+ style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1002
+ }, "100%", 4),
1003
+ n("th", {
1004
+ style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1005
+ }, null, 4),
1006
+ n("th", {
1007
+ style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1008
+ }, null, 4),
1009
+ n("th", {
1010
+ style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1011
+ }, null, 4),
1012
+ n("th", {
1013
+ style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1014
+ }, null, 4)
1015
+ ])
1016
+ ]),
1017
+ n("tbody", null, [
1018
+ (u(!0), v(K, null, J(A.value.body, (a, o) => (u(), v("tr", {
1019
+ class: D({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
1020
+ style: h(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1021
+ }, [
1022
+ n("td", {
1023
+ class: "vue-ui-data-table__tbody__td",
1024
+ style: h(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1025
+ "data-cell": A.value.head[0] ?? ""
1026
+ }, [
1027
+ n("div", Ea, [
1028
+ a.color ? (u(), v("span", {
1029
+ key: 0,
1030
+ style: h(`color:${a.color};margin-right:3px`)
1031
+ }, "⬤", 4)) : g("", !0),
1032
+ n("span", null, p(a.parentName), 1)
1033
+ ])
1034
+ ], 12, Ba),
1035
+ n("td", {
1036
+ class: "vue-ui-data-table__tbody__td",
1037
+ style: h(`outline:${e.value.table.td.outline}`),
1038
+ "data-cell": A.value.head[1] ?? ""
1039
+ }, [
1040
+ n("div", Da, p(e.value.table.td.prefix) + p(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 1)
1041
+ ], 12, Ra),
1042
+ n("td", {
1043
+ class: "vue-ui-data-table__tbody__td",
1044
+ style: h(`outline:${e.value.table.td.outline}`),
1045
+ "data-cell": A.value.head[2] ?? ""
1046
+ }, [
1047
+ n("div", Ua, p(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1048
+ ], 12, Xa),
1049
+ n("td", {
1050
+ class: "vue-ui-data-table__tbody__td",
1051
+ style: h(`outline:${e.value.table.td.outline}`),
1052
+ "data-cell": A.value.head[3] ?? ""
1053
+ }, [
1054
+ n("div", Wa, p(a.childName), 1)
1055
+ ], 12, Ga),
1056
+ n("td", {
1057
+ class: "vue-ui-data-table__tbody__td",
1058
+ style: h(`outline:${e.value.table.td.outline}`),
1059
+ "data-cell": A.value.head[4] ?? ""
1060
+ }, [
1061
+ n("div", ja, p(e.value.table.td.prefix) + p(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 1)
1062
+ ], 12, Ha),
1063
+ n("td", {
1064
+ class: "vue-ui-data-table__tbody__td",
1065
+ style: h(`outline:${e.value.table.td.outline}`),
1066
+ "data-cell": A.value.head[5] ?? ""
1067
+ }, [
1068
+ n("div", Ya, p(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1069
+ ], 12, qa),
1070
+ n("td", {
1071
+ class: "vue-ui-data-table__tbody__td",
1072
+ style: h(`outline:${e.value.table.td.outline}`),
1073
+ "data-cell": A.value.head[6] ?? ""
1074
+ }, [
1075
+ n("div", Ja, p(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1076
+ ], 12, Ka)
1077
+ ], 6))), 256))
1078
+ ])
1079
+ ])
1080
+ ], 2)
1081
+ ])
1082
+ ], 512)
1083
+ ]),
1084
+ _: 1
1085
+ }, 8, ["config"])) : g("", !0),
1086
+ s(ye) ? (u(), X(va, { key: 9 })) : g("", !0)
1087
+ ], 46, ca));
1088
+ }
1089
+ }, hl = /* @__PURE__ */ da(Qa, [["__scopeId", "data-v-0b88d62d"]]);
1090
+ export {
1091
+ hl as default
1092
+ };