vue-data-ui 3.5.0 → 3.5.2

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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-Y7t79Jtq.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-BzH_LEA3.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-CReNavA0.js} +23 -9
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-BRaq4hRp.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-BB4ii8Nt.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-BmFTVF1a.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-8bUepd28.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-CcpaXBNK.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BvT4scFv.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-CMP7UL6z.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-CzOcKsDj.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-S787oASt.js} +375 -355
  83. package/dist/vue-ui-chord-Dl9Y4mcz.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-CU09BzOV.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-C3yD_TUr.js} +1 -1
  86. package/dist/vue-ui-dashboard-BfEcVRxQ.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-pRh179Gg.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-B_tEm4dT.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-DiGhMwMO.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-BlF3CLbN.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-BQi5L8mJ.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-CM_6Sare.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-BnZA62Li.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-DAk72bez.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BQzQlUJ8.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-C9MhHWpp.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-BYQh3E8U.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-jcrPjW4C.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-DTM98mRN.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-Bd1OXvl3.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-DuoiTsYn.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-BTswQFjz.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-D-1U2Qgl.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-D-7VFHas.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-CeM23s0z.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-C0RMQzjC.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-BSfxyur3.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-tj97undO.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-C7uV2mIj.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CYMfTlwI.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-C96aj57d.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CtvOXUnx.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-87TORm6s.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-B74geHT3.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-6_Ibziyv.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-BDCocMLI.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-CQ4Zk9-f.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-BlTV9wfn.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-DWESyiqL.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-DK_7X8mL.js} +2 -2
  121. package/dist/vue-ui-stackbar-BWuw8ff4.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-C1N2n39d.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-CcuoPHgI.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-C9EMEM3Z.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-BAxmZRff.js} +2 -2
  126. package/dist/vue-ui-thermometer-CDrM-WFq.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BVsUQJz_.js} +3 -3
  128. package/dist/vue-ui-tiremarks-BQH2pNkG.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-6WLoCHsH.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-B3gfBqD_.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-Bhlqo4xM.js} +219 -199
  132. package/dist/vue-ui-wheel-CqHw1WuW.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-CKuWZGLv.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-C8KVyDim.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-Cz2qIEfi.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-y4h7gEFp.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,24 +1,24 @@
1
- import { useCssVars as Zt, defineAsyncComponent as Q, useSlots as ea, computed as f, ref as i, toRefs as ta, watch as ze, shallowRef as dt, onMounted as Ve, nextTick as he, onBeforeUnmount as aa, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as G, createBlock as W, createCommentVNode as y, renderSlot as k, createVNode as J, createSlots as pe, withCtx as b, normalizeProps as Z, guardReactiveProps as ee, createElementVNode as n, toDisplayString as h, Fragment as te, renderList as ae, mergeProps as ht, resolveDynamicComponent as la, withKeys as oa, createTextVNode as pt } from "vue";
2
- import { c as na, t as ua, b as sa, p as H, O as Oe, e as ra, x as P, o as Ie, f as ue, h as Fe, a as se, d as M, X as ia, s as Be, i as va, P as ca, Q as da, G as ha, H as pa } from "./lib-C_mNZmhD.js";
1
+ import { useCssVars as Zt, defineAsyncComponent as Z, useSlots as ea, computed as g, ref as i, toRefs as ta, watch as ze, shallowRef as ct, onMounted as Ve, nextTick as he, onBeforeUnmount as aa, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as c, normalizeClass as H, createBlock as j, createCommentVNode as m, renderSlot as y, createVNode as ee, withCtx as h, normalizeProps as O, guardReactiveProps as I, createSlots as pe, createElementVNode as n, toDisplayString as p, Fragment as te, renderList as ae, mergeProps as ht, resolveDynamicComponent as la, withKeys as oa, createTextVNode as pt } from "vue";
2
+ import { c as na, t as ua, b as sa, p as q, O as Oe, e as ra, x as P, o as Ie, f as ue, h as Fe, a as se, d as R, X as ia, s as Be, i as va, P as da, Q as ca, G as ha, H as pa } from "./lib-C_mNZmhD.js";
3
3
  import { t as fa, u as ga } from "./useResponsive-DfdjqQps.js";
4
- import { u as ya, a as ft } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as ya, a as ft } from "./useNestedProp-CReNavA0.js";
5
5
  import { u as ba, B as ma } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as ka } from "./usePrinter-DTzqpYKF.js";
7
7
  import { u as xa } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as wa } from "./useTableResponsive-Cbx-ACcP.js";
9
- import { u as _a } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as $a } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as $a } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as _a } from "./useChartAccessibility-9icAAmYg.js";
11
11
  import { t as Ca } from "./themes-AUNCOb2G.js";
12
12
  import gt from "./Legend-G6GMcdAc.js";
13
- import Ta from "./vue-ui-accordion-CZ0thhxa.js";
14
- import Sa from "./Title-l36lOBMx.js";
13
+ import Ta from "./vue-ui-accordion-BmFTVF1a.js";
14
+ import Sa from "./Title-BzH_LEA3.js";
15
15
  import { _ as yt } from "./Shape-CNXKB8O0.js";
16
16
  import La from "./img-BecE5qXd.js";
17
17
  import { _ as Pa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "width", "height"], Oa = ["id"], Ia = ["stop-color"], Fa = ["stop-color"], Ba = { key: 1 }, Ma = ["x", "y", "width", "height", "fill", "rx"], Da = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ra = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xa = { class: "vue-ui-horizontal-bar-child-label" }, Ga = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Ha = { class: "vue-ui-horizontal-bar-parent-label" }, ja = ["x", "y", "font-size", "fill", "font-weight"], qa = ["x", "y", "font-size", "fill", "font-weight"], Ya = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Ka = {
19
19
  key: 5,
20
20
  class: "vue-data-ui-watermark"
21
- }, Qa = ["onClick"], Ja = { style: "width:100%;padding-top: 36px;position:relative" }, Za = { class: "vue-ui-data-table" }, el = { key: 0 }, tl = { style: { width: "100%" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = ["data-cell"], nl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ul = ["data-cell"], sl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, rl = ["data-cell"], il = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, vl = ["data-cell"], cl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, dl = ["data-cell"], hl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pl = ["data-cell"], fl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, gl = {
21
+ }, Qa = ["onClick"], Ja = { style: "width:100%;padding-top: 36px;position:relative" }, Za = { class: "vue-ui-data-table" }, el = { key: 0 }, tl = { style: { width: "100%" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = ["data-cell"], nl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ul = ["data-cell"], sl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, rl = ["data-cell"], il = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, vl = ["data-cell"], dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, cl = ["data-cell"], hl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pl = ["data-cell"], fl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, gl = {
22
22
  __name: "vue-ui-vertical-bar",
23
23
  props: {
24
24
  config: {
@@ -37,16 +37,16 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
37
37
  emits: ["selectLegend"],
38
38
  setup(bt, { expose: mt, emit: kt }) {
39
39
  Zt((t) => ({
40
- v6fce4bf0: t.tdo
40
+ bc1c4d4c: t.tdo
41
41
  }));
42
- const xt = Q(() => import("./Tooltip-oWCO1HKy.js")), Me = Q(() => import("./BaseIcon-BmMbm4d0.js")), wt = Q(() => import("./PenAndPaper-DSvu9dwa.js")), _t = Q(() => import("./UserOptions-CGnQt6Fd.js")), $t = Q(() => import("./PackageVersion-Cyx_s25h.js")), Ct = Q(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_vertical_bar: Tt } = ya(), St = ea(), m = bt, fe = f({
42
+ const xt = Z(() => import("./Tooltip-oWCO1HKy.js")), Me = Z(() => import("./BaseIcon-BmMbm4d0.js")), wt = Z(() => import("./PenAndPaper-SZQIAgkg.js")), $t = Z(() => import("./UserOptions-CGnQt6Fd.js")), _t = Z(() => import("./PackageVersion-Y7t79Jtq.js")), Ct = Z(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_vertical_bar: Tt } = ya(), St = ea(), k = bt, fe = g({
43
43
  get() {
44
- return !!m.dataset && m.dataset.length;
44
+ return !!k.dataset && k.dataset.length;
45
45
  },
46
46
  set(t) {
47
47
  return t;
48
48
  }
49
- }), L = i(na()), ge = i(!1), ye = i(""), le = i(0), Lt = i(null), De = i(0), N = i(null), Re = i(null), be = i(null), Ee = i(null), Ue = i(null), Xe = i(0), me = i(0), j = i(null), oe = i(null), ke = i(null), Pt = kt, e = i(Ce()), Nt = f(() => [
49
+ }), L = i(na()), ge = i(!1), ye = i(""), le = i(0), Lt = i(null), De = i(0), N = i(null), Re = i(null), be = i(null), Ee = i(null), Ue = i(null), Xe = i(0), me = i(0), Y = i(null), oe = i(null), ke = i(null), Pt = kt, e = i(Ce()), Nt = g(() => [
50
50
  { name: "", value: 6, color: "#d9d9d9" },
51
51
  { name: "", value: 5, color: "#d9d9d9" },
52
52
  { name: "", value: 4, color: "#d9d9d9" },
@@ -54,12 +54,12 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
54
54
  { name: "", value: 2, color: "#d9d9d9" },
55
55
  { name: "", value: 1, color: "#d9d9d9" }
56
56
  ]), { loading: Ge, FINAL_DATASET: xe, manualLoading: we } = ba({
57
- ...ta(m),
57
+ ...ta(k),
58
58
  FINAL_CONFIG: e,
59
59
  prepareConfig: Ce,
60
60
  callback: () => {
61
61
  Promise.resolve().then(async () => {
62
- Y(), $.value.showTable = e.value.table.show, await F();
62
+ Q(), _.value.showTable = e.value.table.show, await M();
63
63
  });
64
64
  },
65
65
  skeletonDataset: Nt.value,
@@ -109,57 +109,57 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
109
109
  }
110
110
  }
111
111
  })
112
- }), { userOptionsVisible: _e, setUserOptionsVisibility: We, keepUserOptionState: He } = _a({ config: e.value }), { svgRef: $e } = $a({ config: e.value.style.chart.title });
112
+ }), { userOptionsVisible: $e, setUserOptionsVisibility: We, keepUserOptionState: He } = $a({ config: e.value }), { svgRef: _e } = _a({ config: e.value.style.chart.title });
113
113
  function Ce() {
114
114
  const t = ft({
115
- userConfig: m.config,
115
+ userConfig: k.config,
116
116
  defaultConfig: Tt
117
117
  });
118
118
  let l = {};
119
119
  return t.theme ? l = {
120
120
  ...ft({
121
- userConfig: Ca.vue_ui_vertical_bar[t.theme] || m.config,
121
+ userConfig: Ca.vue_ui_vertical_bar[t.theme] || k.config,
122
122
  defaultConfig: t
123
123
  }),
124
- customPalette: sa[t.theme] || H
125
- } : l = t, m.config && Oe(m.config, "events.datapointEnter") ? l.events.datapointEnter = m.config.events.datapointEnter : l.events.datapointEnter = null, m.config && Oe(m.config, "events.datapointLeave") ? l.events.datapointLeave = m.config.events.datapointLeave : l.events.datapointLeave = null, m.config && Oe(m.config, "events.datapointClick") ? l.events.datapointClick = m.config.events.datapointClick : l.events.datapointClick = null, l;
124
+ customPalette: sa[t.theme] || q
125
+ } : l = t, k.config && Oe(k.config, "events.datapointEnter") ? l.events.datapointEnter = k.config.events.datapointEnter : l.events.datapointEnter = null, k.config && Oe(k.config, "events.datapointLeave") ? l.events.datapointLeave = k.config.events.datapointLeave : l.events.datapointLeave = null, k.config && Oe(k.config, "events.datapointClick") ? l.events.datapointClick = k.config.events.datapointClick : l.events.datapointClick = null, l;
126
126
  }
127
- ze(() => m.config, (t) => {
128
- Ge.value || (e.value = Ce()), _e.value = !e.value.userOptions.showOnChartHover, et(), Xe.value += 1, me.value += 1, p.value = e.value.style.chart.layout.bars.height, x.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;
129
- }, { deep: !0 }), ze(() => m.dataset, (t) => {
130
- Array.isArray(t) && t.length > 0 && (we.value = !1), Y();
127
+ ze(() => k.config, (t) => {
128
+ Ge.value || (e.value = Ce()), $e.value = !e.value.userOptions.showOnChartHover, et(), Xe.value += 1, me.value += 1, f.value = e.value.style.chart.layout.bars.height, x.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;
129
+ }, { deep: !0 }), ze(() => k.dataset, (t) => {
130
+ Array.isArray(t) && t.length > 0 && (we.value = !1), Q();
131
131
  }, { deep: !0 });
132
132
  const { isPrinting: je, isImaging: qe, generatePdf: Ye, generateImage: Ke } = ka({
133
133
  elementId: `vue-ui-vertical-bar_${L.value}`,
134
134
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
135
135
  options: e.value.userOptions.print
136
- }), At = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = f(() => ra(e.value.customPalette)), Je = i(null), zt = f(() => e.value.table.responsiveBreakpoint), I = dt(null), q = dt(null), re = i("0 0 10 10"), A = f(() => {
136
+ }), At = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = g(() => ra(e.value.customPalette)), Je = i(null), zt = g(() => e.value.table.responsiveBreakpoint), B = ct(null), K = ct(null), re = i("0 0 10 10"), A = g(() => {
137
137
  const [t, l, a, o] = re.value.split(" ").map(Number);
138
138
  return { x: t, y: l, width: a, height: o };
139
139
  });
140
140
  Ve(async () => {
141
- await he(), et(), F();
141
+ await he(), et(), M();
142
142
  });
143
- async function F() {
144
- if (re.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !j.value) return;
145
- const t = j.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = j.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
143
+ async function M() {
144
+ if (re.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !Y.value) return;
145
+ const t = Y.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = Y.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
146
146
  if (t && t.length) {
147
- const g = Math.max(...Array.from(t).flatMap((c) => {
148
- const w = c.querySelectorAll("text");
149
- return w.length ? Array.from(w).map((K) => K.getBBox().width) : 0;
150
- })), _ = Math.max(...Array.from(l).flatMap((c) => {
151
- const w = c.querySelectorAll("text");
152
- return w.length ? Array.from(w).map((K) => K.getBBox().width) : 0;
147
+ const b = Math.max(...Array.from(t).flatMap((d) => {
148
+ const w = d.querySelectorAll("text");
149
+ return w.length ? Array.from(w).map((J) => J.getBBox().width) : 0;
150
+ })), $ = Math.max(...Array.from(l).flatMap((d) => {
151
+ const w = d.querySelectorAll("text");
152
+ return w.length ? Array.from(w).map((J) => J.getBBox().width) : 0;
153
153
  }));
154
- Array.from(t).forEach((c) => {
155
- const w = c.querySelectorAll("text");
156
- Array.from(w).forEach(async (K) => {
157
- K.setAttribute("x", 0), K.setAttribute("x", P(-g - _));
154
+ Array.from(t).forEach((d) => {
155
+ const w = d.querySelectorAll("text");
156
+ Array.from(w).forEach(async (J) => {
157
+ J.setAttribute("x", 0), J.setAttribute("x", P(-b - $));
158
158
  });
159
159
  });
160
160
  }
161
161
  await he();
162
- const a = j.value ? j.value.getBBox() : 0, o = e.value.style.chart.layout.bars.dataLabels.offsetX;
162
+ const a = Y.value ? Y.value.getBBox() : 0, o = e.value.style.chart.layout.bars.dataLabels.offsetX;
163
163
  re.value = [
164
164
  a.x + -o,
165
165
  0,
@@ -174,20 +174,20 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
174
174
  const { width: a, height: o } = l.contentRect;
175
175
  if (a > 0 && o > 0) {
176
176
  Promise.resolve().then(async () => {
177
- Y(), await F();
177
+ Q(), await M();
178
178
  });
179
179
  break;
180
180
  }
181
181
  }
182
182
  }), Ze.observe(N.value.parentElement));
183
183
  });
184
- const ie = f(() => !!e.value.debug), Te = i(0);
184
+ const ie = g(() => !!e.value.debug), Te = i(0);
185
185
  function et() {
186
- if (Ie(m.dataset) && (ue({
186
+ if (Ie(k.dataset) && (ue({
187
187
  componentName: "VueUiVerticalBar",
188
188
  type: "dataset",
189
189
  debug: ie.value
190
- }), fe.value = !1, we.value = !0), le.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ie(m.dataset) || (we.value = e.value.loading), e.value.responsive) {
190
+ }), fe.value = !1, we.value = !0), le.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ie(k.dataset) || (we.value = e.value.loading), e.value.responsive) {
191
191
  const t = fa(() => {
192
192
  const { width: l, height: a } = ga({
193
193
  chart: N.value,
@@ -199,20 +199,20 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
199
199
  Te.value = a / 3, requestAnimationFrame(async () => {
200
200
  lt.value = l;
201
201
  const o = x.value * (le.value - 1);
202
- p.value = (a - o) / le.value, await he(), F();
202
+ f.value = (a - o) / le.value, await he(), M();
203
203
  });
204
204
  });
205
- I.value && (q.value && I.value.unobserve(q.value), I.value.disconnect()), I.value = new ResizeObserver(t), q.value = N.value.parentNode, I.value.observe(q.value), e.value.autoSize && F();
205
+ B.value && (K.value && B.value.unobserve(K.value), B.value.disconnect()), B.value = new ResizeObserver(t), K.value = N.value.parentNode, B.value.observe(K.value), e.value.autoSize && M();
206
206
  }
207
207
  }
208
208
  aa(() => {
209
- I.value && (q.value && I.value.unobserve(q.value), I.value.disconnect());
209
+ B.value && (K.value && B.value.unobserve(K.value), B.value.disconnect());
210
210
  });
211
- const $ = i({
211
+ const _ = i({
212
212
  showTable: e.value.table.show,
213
213
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
214
214
  showTooltip: e.value.style.chart.tooltip.show
215
- }), tt = f(() => $.value.sortDesc), z = f(() => (xe.value.forEach((t, l) => {
215
+ }), tt = g(() => _.value.sortDesc), z = g(() => (xe.value.forEach((t, l) => {
216
216
  !t.value && !t.children && ue({
217
217
  componentName: "VueUiVerticalBar",
218
218
  type: "datasetAttributeEmpty",
@@ -234,47 +234,47 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
234
234
  });
235
235
  }));
236
236
  }), xe.value.map((t, l) => {
237
- const a = `vertical_parent_${l}_${L.value}`, o = t.children && t.children.length > 0, g = P(t.value ? t.value : o ? t.children.map((c) => c.value || 0).reduce((c, w) => c + w, 0) : 0), _ = g >= 0 ? 1 : -1;
237
+ const a = `vertical_parent_${l}_${L.value}`, o = t.children && t.children.length > 0, b = P(t.value ? t.value : o ? t.children.map((d) => d.value || 0).reduce((d, w) => d + w, 0) : 0), $ = b >= 0 ? 1 : -1;
238
238
  return {
239
239
  ...t,
240
240
  id: a,
241
241
  absoluteIndex: l,
242
242
  shape: "square",
243
243
  opacity: T.value.includes(a) ? 0.5 : 1,
244
- value: Math.abs(g),
245
- sign: _,
244
+ value: Math.abs(b),
245
+ sign: $,
246
246
  hasChildren: o,
247
247
  isChild: !1,
248
- segregate: () => D(a),
248
+ segregate: () => E(a),
249
249
  isSegregated: T.value.includes(a),
250
- color: Fe(t.color) || Qe.value[l] || H[l] || H[l % H.length],
251
- children: !t.children || !t.children.length ? [] : t.children.toSorted(ve.value ? () => 0 : (c, w) => tt.value ? w.value - c.value : c.value - w.value).map((c, w) => ({
252
- ...c,
253
- value: P(Math.abs(c.value)),
250
+ color: Fe(t.color) || Qe.value[l] || q[l] || q[l % q.length],
251
+ children: !t.children || !t.children.length ? [] : t.children.toSorted(ve.value ? () => 0 : (d, w) => tt.value ? w.value - d.value : d.value - w.value).map((d, w) => ({
252
+ ...d,
253
+ value: P(Math.abs(d.value)),
254
254
  absoluteIndex: l,
255
- sign: c.value >= 0 ? 1 : -1,
255
+ sign: d.value >= 0 ? 1 : -1,
256
256
  isChild: !0,
257
257
  parentId: a,
258
258
  parentName: t.name,
259
- parentValue: g,
260
- parentSign: _,
259
+ parentValue: b,
260
+ parentSign: $,
261
261
  id: `vertical_child_${l}_${w}_${L.value}`,
262
262
  childIndex: w,
263
- color: Fe(c.color) || Fe(t.color) || Qe.value[l] || H[l] || H[l % H.length]
264
- })).map((c, w) => ({
265
- ...c,
263
+ color: Fe(d.color) || Fe(t.color) || Qe.value[l] || q[l] || q[l % q.length]
264
+ })).map((d, w) => ({
265
+ ...d,
266
266
  isFirstChild: w === 0,
267
267
  isLastChild: w === t.children.length - 1
268
268
  }))
269
269
  };
270
- }).toSorted(ve.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = f(() => ({
270
+ }).toSorted(ve.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = g(() => ({
271
271
  cy: "vertical-bar-div-legend",
272
272
  backgroundColor: e.value.style.chart.legend.backgroundColor,
273
273
  color: e.value.style.chart.legend.color,
274
274
  fontSize: e.value.style.chart.legend.fontSize,
275
275
  paddingBottom: 12,
276
276
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
277
- })), p = i(e.value.style.chart.layout.bars.height), x = i(e.value.style.chart.layout.bars.gap), Vt = f(() => (p.value + x.value) * le.value), lt = i(512), C = f(() => ({
277
+ })), f = i(e.value.style.chart.layout.bars.height), x = i(e.value.style.chart.layout.bars.gap), Vt = g(() => (f.value + x.value) * le.value), lt = i(512), C = g(() => ({
278
278
  width: lt.value,
279
279
  height: Vt.value,
280
280
  padding: {
@@ -283,7 +283,7 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
283
283
  right: (e.value.autoSize ? 0 : 64) + e.value.style.chart.layout.bars.paddingRight,
284
284
  bottom: 12
285
285
  }
286
- })), r = f(() => ({
286
+ })), r = g(() => ({
287
287
  fullHeight: C.value.padding.top + C.value.padding.bottom + C.value.height,
288
288
  top: C.value.padding.top,
289
289
  left: C.value.padding.left,
@@ -291,18 +291,18 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
291
291
  bottom: C.value.padding.top + C.value.height,
292
292
  width: C.value.width - (C.value.padding.left + C.value.padding.right)
293
293
  }));
294
- async function Y() {
295
- le.value = R.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await F();
294
+ async function Q() {
295
+ le.value = U.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await M();
296
296
  }
297
297
  const T = i([]);
298
- async function D(t) {
298
+ async function E(t) {
299
299
  if (T.value.includes(t))
300
300
  T.value = T.value.filter((l) => l !== t);
301
301
  else {
302
302
  if (T.value.length === z.value.length - 1) return;
303
303
  T.value.push(t);
304
304
  }
305
- Y(), await he(), e.value.autoSize && F(), Pt("selectLegend", R.value);
305
+ Q(), await he(), e.value.autoSize && M(), Pt("selectLegend", U.value);
306
306
  }
307
307
  function ot(t) {
308
308
  if (!z.value.length)
@@ -312,40 +312,40 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
312
312
  }
313
313
  function Ot(t) {
314
314
  const l = ot(t);
315
- l !== null && T.value.includes(l.id) && D(l.id);
315
+ l !== null && T.value.includes(l.id) && E(l.id);
316
316
  }
317
317
  function It(t) {
318
318
  const l = ot(t);
319
- l !== null && (T.value.includes(l.id) || D(l.id));
319
+ l !== null && (T.value.includes(l.id) || E(l.id));
320
320
  }
321
- const R = f(() => z.value.filter((t) => !T.value.includes(t.id))), O = f(() => R.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
321
+ const U = g(() => z.value.filter((t) => !T.value.includes(t.id))), F = g(() => U.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
322
322
  function nt(t, l = !1, a = 0) {
323
- return l ? M({
324
- v: P(Math.abs(t) / O.value * 100),
323
+ return l ? R({
324
+ v: P(Math.abs(t) / F.value * 100),
325
325
  s: "%",
326
326
  r: a
327
- }) : Math.abs(t) / O.value;
327
+ }) : Math.abs(t) / F.value;
328
328
  }
329
- const E = f(() => R.value.flatMap((t) => t.hasChildren ? t.children : t)), U = f(() => E.value.map((t) => t.sign).includes(-1)), Ft = f(() => Math.max(...R.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
329
+ const X = g(() => U.value.flatMap((t) => t.hasChildren ? t.children : t)), G = g(() => X.value.map((t) => t.sign).includes(-1)), Ft = g(() => Math.max(...U.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
330
330
  function S(t) {
331
331
  const l = t / Ft.value;
332
- return r.value.width / (U.value ? 2 : 1) * l;
332
+ return r.value.width / (G.value ? 2 : 1) * l;
333
333
  }
334
334
  function Bt(t) {
335
335
  return S(t) + r.value.left;
336
336
  }
337
337
  function ne(t, l) {
338
- const a = R.value.find((_) => _.id === t.parentId), o = r.value.top + (x.value + p.value) * l, g = a.children.length * (x.value + p.value);
338
+ const a = U.value.find(($) => $.id === t.parentId), o = r.value.top + (x.value + f.value) * l, b = a.children.length * (x.value + f.value);
339
339
  return {
340
- y: o + g / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
340
+ y: o + b / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
341
341
  name: a.name,
342
342
  value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
343
- percentageToTotal: isNaN(a.value / O.value) ? "" : nt(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
343
+ percentageToTotal: isNaN(a.value / F.value) ? "" : nt(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
344
344
  sign: a.sign
345
345
  };
346
346
  }
347
347
  function Mt() {
348
- return R.value;
348
+ return U.value;
349
349
  }
350
350
  const Se = i(null), Le = i(null);
351
351
  function Dt({ datapoint: t, seriesIndex: l }) {
@@ -362,35 +362,35 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
362
362
  config: e.value
363
363
  }, ge.value = !0, Se.value = t.id;
364
364
  let a = "";
365
- const o = t.isChild ? t.parentName : t.name, g = t.isChild ? t.name : "", _ = e.value.style.chart.tooltip.customFormat;
366
- ha(_) && pa(() => _({
365
+ const o = t.isChild ? t.parentName : t.name, b = t.isChild ? t.name : "", $ = e.value.style.chart.tooltip.customFormat;
366
+ ha($) && pa(() => $({
367
367
  datapoint: t,
368
368
  series: z.value,
369
369
  config: e.value,
370
370
  seriesIndex: l
371
- })) ? ye.value = _({
371
+ })) ? ye.value = $({
372
372
  datapoint: t,
373
373
  series: z.value,
374
374
  config: e.value,
375
375
  seriesIndex: l
376
376
  }) : (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;">
377
377
  <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}"/>${St.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${L.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
378
- ${g ? `<div>${g}</div>` : ""}
378
+ ${b ? `<div>${b}</div>` : ""}
379
379
  </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${se(
380
380
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
381
381
  t.sign === 1 ? t.value : -t.value,
382
- M({
382
+ R({
383
383
  p: e.value.style.chart.tooltip.prefix,
384
384
  v: t.sign === 1 ? t.value : -t.value,
385
385
  s: e.value.style.chart.tooltip.suffix,
386
386
  r: e.value.style.chart.tooltip.roundingValue
387
387
  }),
388
388
  { datapoint: t, seriesIndex: l }
389
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${M({
390
- v: Math.abs(t.value) / O.value * 100,
389
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${R({
390
+ v: Math.abs(t.value) / F.value * 100,
391
391
  s: "%",
392
392
  r: e.value.style.chart.tooltip.roundingPercentage
393
- })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${M({
393
+ })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${R({
394
394
  v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
395
395
  s: "%",
396
396
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -399,20 +399,20 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
399
399
  function ut(t, l, a, o) {
400
400
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
401
401
  return "";
402
- const g = se(
402
+ const b = se(
403
403
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
404
404
  P(o === -1 && t >= 0 ? -t : t),
405
- M({
405
+ R({
406
406
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
407
407
  v: P(o === -1 && t >= 0 ? -t : t),
408
408
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
409
409
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
410
410
  }),
411
411
  { datapoint: l, seriesIndex: a }
412
- ), _ = `(${nt(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
413
- return `${g}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${_}` : ""}`;
412
+ ), $ = `(${nt(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
413
+ return `${b}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${$}` : ""}`;
414
414
  }
415
- const V = f(() => {
415
+ const V = g(() => {
416
416
  const t = [
417
417
  e.value.translations.parentName,
418
418
  e.value.translations.value,
@@ -421,15 +421,15 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
421
421
  e.value.translations.value,
422
422
  e.value.translations.percentageToSerie,
423
423
  e.value.translations.percentageToTotal
424
- ], l = E.value.map((a) => a.isChild ? a.isFirstChild ? {
424
+ ], l = X.value.map((a) => a.isChild ? a.isFirstChild ? {
425
425
  color: a.color,
426
426
  parentName: a.parentName,
427
427
  parentValue: a.parentValue,
428
- percentageToTotal: a.parentValue / O.value,
428
+ percentageToTotal: a.parentValue / F.value,
429
429
  childName: a.name,
430
430
  childValue: a.sign === 1 ? a.value : -a.value,
431
431
  childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
432
- childPercentageToTotal: Math.abs(a.value) / O.value
432
+ childPercentageToTotal: Math.abs(a.value) / F.value
433
433
  } : {
434
434
  color: "",
435
435
  parentName: "",
@@ -438,12 +438,12 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
438
438
  childName: a.name,
439
439
  childValue: a.sign === 1 ? a.value : -a.value,
440
440
  childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
441
- childPercentageToTotal: Math.abs(a.value) / O.value
441
+ childPercentageToTotal: Math.abs(a.value) / F.value
442
442
  } : {
443
443
  color: a.color,
444
444
  parentName: a.name,
445
445
  parentValue: a.sign === 1 ? a.value : -a.value,
446
- percentageToTotal: Math.abs(a.value) / O.value,
446
+ percentageToTotal: Math.abs(a.value) / F.value,
447
447
  childName: "",
448
448
  childValue: "",
449
449
  childPercentageToParent: "",
@@ -452,64 +452,64 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
452
452
  return { head: t, body: l };
453
453
  });
454
454
  function Pe(t = null) {
455
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = V.value.head, o = V.value.body.map((c) => [
456
- c.parentName,
457
- c.parentValue,
458
- c.percentageToTotal,
459
- c.childName,
460
- c.childValue,
461
- c.childPercentageToParent,
462
- c.childPercentageToTotal
463
- ]), g = l.concat([a]).concat(o), _ = ca(g);
464
- t ? t(_) : da({ csvContent: _, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
455
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = V.value.head, o = V.value.body.map((d) => [
456
+ d.parentName,
457
+ d.parentValue,
458
+ d.percentageToTotal,
459
+ d.childName,
460
+ d.childValue,
461
+ d.childPercentageToParent,
462
+ d.childPercentageToTotal
463
+ ]), b = l.concat([a]).concat(o), $ = da(b);
464
+ t ? t($) : ca({ csvContent: $, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
465
465
  }
466
- const X = i(!1);
466
+ const W = i(!1);
467
467
  function st(t) {
468
- X.value = t, De.value += 1;
468
+ W.value = t, De.value += 1;
469
469
  }
470
470
  function rt() {
471
- $.value.showTable = !$.value.showTable;
471
+ _.value.showTable = !_.value.showTable;
472
472
  }
473
473
  const Ut = i({
474
474
  none: 0,
475
475
  asc: 1,
476
476
  desc: 2
477
- }), B = i(0), ve = i(!1);
477
+ }), D = i(0), ve = i(!1);
478
478
  Ve(() => {
479
479
  ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || ue({
480
480
  componentName: "VueUiVerticalBar",
481
481
  type: "attributeWrongValue",
482
482
  property: "style.chart.layout.bars.sort",
483
483
  key: e.value.style.chart.layout.bars.sort
484
- }), B.value = Ut.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = B.value === 2, ve.value = B.value === 0;
484
+ }), D.value = Ut.value[e.value.style.chart.layout.bars.sort], _.value.sortDesc = D.value === 2, ve.value = D.value === 0;
485
485
  });
486
486
  function Xt() {
487
- B.value += 1, B.value > 2 && (B.value = 0);
487
+ D.value += 1, D.value > 2 && (D.value = 0);
488
488
  }
489
489
  function it() {
490
- Xt(), $.value.sortDesc = B.value === 2, ve.value = B.value === 0, Y();
490
+ Xt(), _.value.sortDesc = D.value === 2, ve.value = D.value === 0, Q();
491
491
  }
492
492
  function vt() {
493
- $.value.showTooltip = !$.value.showTooltip;
493
+ _.value.showTooltip = !_.value.showTooltip;
494
494
  }
495
- const ce = i(!1);
495
+ const de = i(!1);
496
496
  function Ne() {
497
- ce.value = !ce.value;
497
+ de.value = !de.value;
498
498
  }
499
499
  async function Gt({ scale: t = 2 } = {}) {
500
500
  if (!N.value) return;
501
- const { width: l, height: a } = N.value.getBoundingClientRect(), o = l / a, { imageUri: g, base64: _ } = await La({ domElement: N.value, base64: !0, img: !0, scale: t });
501
+ const { width: l, height: a } = N.value.getBoundingClientRect(), o = l / a, { imageUri: b, base64: $ } = await La({ domElement: N.value, base64: !0, img: !0, scale: t });
502
502
  return {
503
- imageUri: g,
504
- base64: _,
503
+ imageUri: b,
504
+ base64: $,
505
505
  title: e.value.style.chart.title.text,
506
506
  width: l,
507
507
  height: a,
508
508
  aspectRatio: o
509
509
  };
510
510
  }
511
- const de = f(() => {
512
- const t = e.value.table.useDialog && !e.value.table.show, l = $.value.showTable;
511
+ const ce = g(() => {
512
+ const t = e.value.table.useDialog && !e.value.table.show, l = _.value.showTable;
513
513
  return {
514
514
  component: t ? Ct : Ta,
515
515
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -518,7 +518,7 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
518
518
  color: e.value.table.th.color,
519
519
  headerColor: e.value.table.th.color,
520
520
  headerBg: e.value.table.th.backgroundColor,
521
- isFullscreen: X.value,
521
+ isFullscreen: W.value,
522
522
  fullscreenParent: N.value,
523
523
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
524
524
  } : {
@@ -538,20 +538,20 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
538
538
  }
539
539
  };
540
540
  });
541
- ze(() => $.value.showTable, (t) => {
541
+ ze(() => _.value.showTable, (t) => {
542
542
  e.value.table.show || (t && e.value.table.useDialog && oe.value ? oe.value.open() : "close" in oe.value && oe.value.close());
543
543
  });
544
544
  const { isResponsive: Wt } = wa(Je, zt);
545
545
  function Ae() {
546
- $.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
546
+ _.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
547
547
  }
548
- const Ht = f(() => z.value.map((t, l) => ({
548
+ const Ht = g(() => z.value.map((t, l) => ({
549
549
  ...t,
550
550
  shape: "square",
551
551
  display: `${t.name}: ${se(
552
552
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
553
553
  t.value,
554
- M({
554
+ R({
555
555
  p: e.value.style.chart.legend.prefix,
556
556
  v: t.value,
557
557
  s: e.value.style.chart.legend.suffix,
@@ -559,33 +559,33 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
559
559
  }),
560
560
  { datapoint: t, seriesIndex: l }
561
561
  )}`
562
- }))), jt = f(() => e.value.style.chart.backgroundColor), qt = f(() => e.value.style.chart.legend), Yt = f(() => e.value.style.chart.title), Kt = f(() => Ht.value.map((t) => ({
562
+ }))), jt = g(() => e.value.style.chart.backgroundColor), qt = g(() => e.value.style.chart.legend), Yt = g(() => e.value.style.chart.title), Kt = g(() => Ht.value.map((t) => ({
563
563
  ...t,
564
564
  name: t.display
565
565
  }))), { exportSvg: Qt, getSvg: Jt } = xa({
566
- svg: $e,
566
+ svg: _e,
567
567
  title: Yt,
568
568
  legend: qt,
569
569
  legendItems: Kt,
570
570
  backgroundColor: jt
571
571
  });
572
- async function ct({ isCb: t }) {
572
+ async function dt({ isCb: t }) {
573
573
  if (t) {
574
- const { blob: l, url: a, text: o, dataUrl: g } = await Jt();
575
- e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: g });
574
+ const { blob: l, url: a, text: o, dataUrl: b } = await Jt();
575
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: b });
576
576
  } else
577
577
  Qt();
578
578
  }
579
579
  return mt({
580
- autoSize: F,
580
+ autoSize: M,
581
581
  // v3
582
582
  getData: Mt,
583
583
  getImage: Gt,
584
- recalculateHeight: Y,
584
+ recalculateHeight: Q,
585
585
  generatePdf: Ye,
586
586
  generateCsv: Pe,
587
587
  generateImage: Ke,
588
- generateSvg: ct,
588
+ generateSvg: dt,
589
589
  hideSeries: It,
590
590
  showSeries: Ot,
591
591
  toggleTable: rt,
@@ -594,36 +594,56 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
594
594
  toggleAnnotator: Ne,
595
595
  toggleFullscreen: st
596
596
  }), (t, l) => (u(), v("div", {
597
- class: G(`vue-data-ui-component vue-ui-vertical-bar ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
597
+ class: H(`vue-data-ui-component vue-ui-vertical-bar ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
598
598
  ref_key: "verticalBarChart",
599
599
  ref: N,
600
600
  id: `vue-ui-vertical-bar_${L.value}`,
601
- style: d(`padding-top:${e.value.responsive && e.value.autoSize ? `${Te.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% - ${Te.value}px` : "height: 100%" : ""}`),
601
+ style: c(`padding-top:${e.value.responsive && e.value.autoSize ? `${Te.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% - ${Te.value}px` : "height: 100%" : ""}`),
602
602
  onMouseenter: l[3] || (l[3] = () => s(We)(!0)),
603
603
  onMouseleave: l[4] || (l[4] = () => s(We)(!1))
604
604
  }, [
605
- e.value.userOptions.buttons.annotator ? (u(), W(s(wt), {
605
+ e.value.userOptions.buttons.annotator ? (u(), j(s(wt), {
606
606
  key: 0,
607
- svgRef: s($e),
607
+ svgRef: s(_e),
608
608
  backgroundColor: e.value.style.chart.backgroundColor,
609
609
  color: e.value.style.chart.color,
610
- active: ce.value,
610
+ active: de.value,
611
611
  onClose: Ne
612
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
612
+ }, {
613
+ "annotator-action-close": h(() => [
614
+ y(t.$slots, "annotator-action-close", {}, void 0, !0)
615
+ ]),
616
+ "annotator-action-color": h(({ color: a }) => [
617
+ y(t.$slots, "annotator-action-color", O(I({ color: a })), void 0, !0)
618
+ ]),
619
+ "annotator-action-draw": h(({ mode: a }) => [
620
+ y(t.$slots, "annotator-action-draw", O(I({ mode: a })), void 0, !0)
621
+ ]),
622
+ "annotator-action-undo": h(({ disabled: a }) => [
623
+ y(t.$slots, "annotator-action-undo", O(I({ disabled: a })), void 0, !0)
624
+ ]),
625
+ "annotator-action-redo": h(({ disabled: a }) => [
626
+ y(t.$slots, "annotator-action-redo", O(I({ disabled: a })), void 0, !0)
627
+ ]),
628
+ "annotator-action-delete": h(({ disabled: a }) => [
629
+ y(t.$slots, "annotator-action-delete", O(I({ disabled: a })), void 0, !0)
630
+ ]),
631
+ _: 3
632
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
613
633
  At.value ? (u(), v("div", {
614
634
  key: 1,
615
635
  ref_key: "noTitle",
616
636
  ref: Ue,
617
637
  class: "vue-data-ui-no-title-space",
618
638
  style: "height:36px; width: 100%;background:transparent"
619
- }, null, 512)) : y("", !0),
639
+ }, null, 512)) : m("", !0),
620
640
  e.value.style.chart.title.text ? (u(), v("div", {
621
641
  key: 2,
622
642
  ref_key: "chartTitle",
623
643
  ref: Re,
624
644
  style: "width:100%;background:transparent;padding-bottom:12px"
625
645
  }, [
626
- (u(), W(Sa, {
646
+ (u(), j(Sa, {
627
647
  key: `title_${Xe.value}`,
628
648
  config: {
629
649
  title: {
@@ -636,8 +656,8 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
636
656
  }
637
657
  }
638
658
  }, null, 8, ["config"]))
639
- ], 512)) : y("", !0),
640
- e.value.userOptions.show && fe.value && (s(He) || s(_e)) ? (u(), W(s(_t), {
659
+ ], 512)) : m("", !0),
660
+ e.value.userOptions.show && fe.value && (s(He) || s($e)) ? (u(), j(s($t), {
641
661
  ref_key: "userOptionsRef",
642
662
  ref: ke,
643
663
  key: `user_options_${De.value}`,
@@ -654,13 +674,13 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
654
674
  hasTable: e.value.userOptions.buttons.table,
655
675
  hasSort: e.value.userOptions.buttons.sort,
656
676
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
657
- isFullscreen: X.value,
658
- isTooltip: $.value.showTooltip,
677
+ isFullscreen: W.value,
678
+ isTooltip: _.value.showTooltip,
659
679
  titles: { ...e.value.userOptions.buttonTitles },
660
680
  chartElement: N.value,
661
681
  position: e.value.userOptions.position,
662
682
  hasAnnotator: e.value.userOptions.buttons.annotator,
663
- isAnnotation: ce.value,
683
+ isAnnotation: de.value,
664
684
  callbacks: e.value.userOptions.callbacks,
665
685
  printScale: e.value.userOptions.print.scale,
666
686
  tableDialog: e.value.table.useDialog,
@@ -668,112 +688,112 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
668
688
  onGeneratePdf: s(Ye),
669
689
  onGenerateCsv: Pe,
670
690
  onGenerateImage: s(Ke),
671
- onGenerateSvg: ct,
691
+ onGenerateSvg: dt,
672
692
  onToggleTable: rt,
673
693
  onToggleSort: it,
674
694
  onToggleTooltip: vt,
675
695
  onToggleAnnotator: Ne,
676
- style: d({
677
- visibility: s(He) ? s(_e) ? "visible" : "hidden" : "visible"
696
+ style: c({
697
+ visibility: s(He) ? s($e) ? "visible" : "hidden" : "visible"
678
698
  })
679
699
  }, pe({ _: 2 }, [
680
700
  t.$slots.menuIcon ? {
681
701
  name: "menuIcon",
682
- fn: b(({ isOpen: a, color: o }) => [
683
- k(t.$slots, "menuIcon", Z(ee({ isOpen: a, color: o })), void 0, !0)
702
+ fn: h(({ isOpen: a, color: o }) => [
703
+ y(t.$slots, "menuIcon", O(I({ isOpen: a, color: o })), void 0, !0)
684
704
  ]),
685
705
  key: "0"
686
706
  } : void 0,
687
707
  t.$slots.optionTooltip ? {
688
708
  name: "optionTooltip",
689
- fn: b(() => [
690
- k(t.$slots, "optionTooltip", {}, void 0, !0)
709
+ fn: h(() => [
710
+ y(t.$slots, "optionTooltip", {}, void 0, !0)
691
711
  ]),
692
712
  key: "1"
693
713
  } : void 0,
694
714
  t.$slots.optionPdf ? {
695
715
  name: "optionPdf",
696
- fn: b(() => [
697
- k(t.$slots, "optionPdf", {}, void 0, !0)
716
+ fn: h(() => [
717
+ y(t.$slots, "optionPdf", {}, void 0, !0)
698
718
  ]),
699
719
  key: "2"
700
720
  } : void 0,
701
721
  t.$slots.optionCsv ? {
702
722
  name: "optionCsv",
703
- fn: b(() => [
704
- k(t.$slots, "optionCsv", {}, void 0, !0)
723
+ fn: h(() => [
724
+ y(t.$slots, "optionCsv", {}, void 0, !0)
705
725
  ]),
706
726
  key: "3"
707
727
  } : void 0,
708
728
  t.$slots.optionImg ? {
709
729
  name: "optionImg",
710
- fn: b(() => [
711
- k(t.$slots, "optionImg", {}, void 0, !0)
730
+ fn: h(() => [
731
+ y(t.$slots, "optionImg", {}, void 0, !0)
712
732
  ]),
713
733
  key: "4"
714
734
  } : void 0,
715
735
  t.$slots.optionSvg ? {
716
736
  name: "optionSvg",
717
- fn: b(() => [
718
- k(t.$slots, "optionSvg", {}, void 0, !0)
737
+ fn: h(() => [
738
+ y(t.$slots, "optionSvg", {}, void 0, !0)
719
739
  ]),
720
740
  key: "5"
721
741
  } : void 0,
722
742
  t.$slots.optionTable ? {
723
743
  name: "optionTable",
724
- fn: b(() => [
725
- k(t.$slots, "optionTable", {}, void 0, !0)
744
+ fn: h(() => [
745
+ y(t.$slots, "optionTable", {}, void 0, !0)
726
746
  ]),
727
747
  key: "6"
728
748
  } : void 0,
729
749
  t.$slots.optionLabels ? {
730
750
  name: "optionLabels",
731
- fn: b(() => [
732
- k(t.$slots, "optionLabels", {}, void 0, !0)
751
+ fn: h(() => [
752
+ y(t.$slots, "optionLabels", {}, void 0, !0)
733
753
  ]),
734
754
  key: "7"
735
755
  } : void 0,
736
756
  t.$slots.optionSort ? {
737
757
  name: "optionSort",
738
- fn: b(() => [
739
- k(t.$slots, "optionSort", {}, void 0, !0)
758
+ fn: h(() => [
759
+ y(t.$slots, "optionSort", {}, void 0, !0)
740
760
  ]),
741
761
  key: "8"
742
762
  } : void 0,
743
763
  t.$slots.optionFullscreen ? {
744
764
  name: "optionFullscreen",
745
- fn: b(({ toggleFullscreen: a, isFullscreen: o }) => [
746
- k(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
765
+ fn: h(({ toggleFullscreen: a, isFullscreen: o }) => [
766
+ y(t.$slots, "optionFullscreen", O(I({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
747
767
  ]),
748
768
  key: "9"
749
769
  } : void 0,
750
770
  t.$slots.optionAnnotator ? {
751
771
  name: "optionAnnotator",
752
- fn: b(({ toggleAnnotator: a, isAnnotator: o }) => [
753
- k(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
772
+ fn: h(({ toggleAnnotator: a, isAnnotator: o }) => [
773
+ y(t.$slots, "optionAnnotator", O(I({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
754
774
  ]),
755
775
  key: "10"
756
776
  } : void 0
757
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
777
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
758
778
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), v("div", {
759
779
  key: 4,
760
780
  ref_key: "chartLegend",
761
781
  ref: be
762
782
  }, [
763
- (u(), W(gt, {
783
+ (u(), j(gt, {
764
784
  key: `legend_top_${me.value}`,
765
785
  legendSet: z.value,
766
786
  config: at.value,
767
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => D(a.id))
787
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => E(a.id))
768
788
  }, pe({
769
- item: b(({ legend: a, index: o }) => [
789
+ item: h(({ legend: a, index: o }) => [
770
790
  n("div", {
771
- onClick: (g) => D(a.id),
772
- style: d(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
773
- }, h(a.name) + ": " + h(s(se)(
791
+ onClick: (b) => E(a.id),
792
+ style: c(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
793
+ }, p(a.name) + ": " + p(s(se)(
774
794
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
775
795
  a.value,
776
- s(M)({
796
+ s(R)({
777
797
  p: e.value.style.chart.legend.prefix,
778
798
  v: a.value,
779
799
  s: e.value.style.chart.legend.suffix,
@@ -786,8 +806,8 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
786
806
  }, [
787
807
  t.$slots.pattern ? {
788
808
  name: "legend-pattern",
789
- fn: b(({ legend: a, index: o }) => [
790
- J(yt, {
809
+ fn: h(({ legend: a, index: o }) => [
810
+ ee(yt, {
791
811
  shape: a.shape,
792
812
  radius: 30,
793
813
  stroke: "none",
@@ -798,21 +818,21 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
798
818
  key: "0"
799
819
  } : void 0
800
820
  ]), 1032, ["legendSet", "config"]))
801
- ], 512)) : y("", !0),
821
+ ], 512)) : m("", !0),
802
822
  (u(), v("svg", {
803
823
  ref_key: "svgRef",
804
- ref: $e,
824
+ ref: _e,
805
825
  xmlns: s(ia),
806
- class: G({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
826
+ class: H({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
807
827
  viewBox: re.value,
808
- style: d(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
828
+ style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
809
829
  }, [
810
830
  n("g", {
811
831
  ref_key: "G",
812
- ref: j,
832
+ ref: Y,
813
833
  class: "vue-data-ui-g"
814
834
  }, [
815
- J(s($t)),
835
+ ee(s(_t)),
816
836
  t.$slots["chart-background"] ? (u(), v("foreignObject", {
817
837
  key: 0,
818
838
  x: A.value.x,
@@ -823,9 +843,9 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
823
843
  pointerEvents: "none"
824
844
  }
825
845
  }, [
826
- k(t.$slots, "chart-background", {}, void 0, !0)
827
- ], 8, Va)) : y("", !0),
828
- (u(!0), v(te, null, ae(E.value, (a, o) => (u(), v("linearGradient", {
846
+ y(t.$slots, "chart-background", {}, void 0, !0)
847
+ ], 8, Va)) : m("", !0),
848
+ (u(!0), v(te, null, ae(X.value, (a, o) => (u(), v("linearGradient", {
829
849
  x1: "0%",
830
850
  y1: "0%",
831
851
  x2: "100%",
@@ -842,57 +862,57 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
842
862
  }, null, 8, Fa)
843
863
  ], 8, Oa))), 256)),
844
864
  t.$slots.pattern ? (u(), v("g", Ba, [
845
- (u(!0), v(te, null, ae(E.value, (a) => (u(), v("defs", null, [
846
- k(t.$slots, "pattern", ht({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${L.value}_${a.absoluteIndex}` }), void 0, !0)
865
+ (u(!0), v(te, null, ae(X.value, (a) => (u(), v("defs", null, [
866
+ y(t.$slots, "pattern", ht({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${L.value}_${a.absoluteIndex}` }), void 0, !0)
847
867
  ]))), 256))
848
- ])) : y("", !0),
849
- (u(!0), v(te, null, ae(E.value, (a, o) => (u(), v("g", null, [
868
+ ])) : m("", !0),
869
+ (u(!0), v(te, null, ae(X.value, (a, o) => (u(), v("g", null, [
850
870
  n("rect", {
851
- x: s(P)(U.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
852
- y: r.value.top + (x.value + p.value) * o,
871
+ x: s(P)(G.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
872
+ y: r.value.top + (x.value + f.value) * o,
853
873
  width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
854
- height: p.value <= 0 ? 1e-4 : p.value,
874
+ height: f.value <= 0 ? 1e-4 : f.value,
855
875
  fill: e.value.style.chart.layout.bars.underlayerColor,
856
876
  rx: e.value.style.chart.layout.bars.borderRadius,
857
- class: G({ animated: e.value.useCssAnimation })
877
+ class: H({ animated: e.value.useCssAnimation })
858
878
  }, null, 10, Ma)
859
879
  ]))), 256)),
860
- (u(!0), v(te, null, ae(E.value, (a, o) => (u(), v("g", null, [
880
+ (u(!0), v(te, null, ae(X.value, (a, o) => (u(), v("g", null, [
861
881
  n("rect", {
862
- x: s(P)(U.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
863
- y: r.value.top + (x.value + p.value) * o,
882
+ x: s(P)(G.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
883
+ y: r.value.top + (x.value + f.value) * o,
864
884
  width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
865
- height: p.value <= 0 ? 1e-4 : p.value,
885
+ height: f.value <= 0 ? 1e-4 : f.value,
866
886
  fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${L.value}_${o})` : s(Be)(a.color, e.value.style.chart.layout.bars.fillOpacity),
867
887
  rx: e.value.style.chart.layout.bars.borderRadius,
868
888
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
869
889
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
870
- class: G({ animated: e.value.useCssAnimation })
890
+ class: H({ animated: e.value.useCssAnimation })
871
891
  }, null, 10, Da),
872
892
  t.$slots.pattern ? (u(), v("rect", {
873
893
  key: 0,
874
- x: s(P)(U.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
875
- y: r.value.top + (x.value + p.value) * o,
894
+ x: s(P)(G.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
895
+ y: r.value.top + (x.value + f.value) * o,
876
896
  width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
877
- height: p.value <= 0 ? 1e-4 : p.value,
897
+ height: f.value <= 0 ? 1e-4 : f.value,
878
898
  fill: `url(#pattern_${L.value}_${a.absoluteIndex})`,
879
899
  rx: e.value.style.chart.layout.bars.borderRadius,
880
900
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
881
901
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
882
- class: G({ animated: e.value.useCssAnimation })
883
- }, null, 10, Ra)) : y("", !0),
884
- (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== E.value.length - 1 ? (u(), v("line", {
902
+ class: H({ animated: e.value.useCssAnimation })
903
+ }, null, 10, Ra)) : m("", !0),
904
+ (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== X.value.length - 1 ? (u(), v("line", {
885
905
  key: 1,
886
906
  x1: A.value.x,
887
907
  x2: e.value.style.chart.layout.separators.fullWidth ? A.value.width - Math.abs(A.value.x) : r.value.left,
888
- y1: p.value + x.value / 2 + r.value.top + (x.value + p.value) * o,
889
- y2: p.value + x.value / 2 + r.value.top + (x.value + p.value) * o,
908
+ y1: f.value + x.value / 2 + r.value.top + (x.value + f.value) * o,
909
+ y2: f.value + x.value / 2 + r.value.top + (x.value + f.value) * o,
890
910
  stroke: e.value.style.chart.layout.separators.color,
891
911
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
892
912
  "stroke-linecap": "round",
893
913
  style: { transition: "none !important", animation: "none !important" }
894
- }, null, 8, Ea)) : y("", !0),
895
- U.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
914
+ }, null, 8, Ea)) : m("", !0),
915
+ G.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
896
916
  key: 2,
897
917
  x1: r.value.left + r.value.width / 2,
898
918
  x2: r.value.left + r.value.width / 2,
@@ -901,25 +921,25 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
901
921
  stroke: e.value.style.chart.layout.separators.color,
902
922
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
903
923
  "stroke-linecap": "round"
904
- }, null, 8, Ua)) : y("", !0),
924
+ }, null, 8, Ua)) : m("", !0),
905
925
  n("g", Xa, [
906
926
  n("text", {
907
- x: U.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) : Bt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
908
- y: r.value.top + (x.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
909
- "text-anchor": !U.value || a.sign === -1 ? "start" : "end",
927
+ x: G.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) : Bt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
928
+ y: r.value.top + (x.value + f.value) * o + f.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
929
+ "text-anchor": !G.value || a.sign === -1 ? "start" : "end",
910
930
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
911
931
  fill: e.value.style.chart.layout.bars.dataLabels.color,
912
932
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
913
- }, h(ut(a.value, a, o, a.sign)), 9, Ga),
933
+ }, p(ut(a.value, a, o, a.sign)), 9, Ga),
914
934
  (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), v("text", {
915
935
  key: 0,
916
936
  "text-anchor": "end",
917
937
  x: r.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
918
- y: r.value.top + (x.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
938
+ y: r.value.top + (x.value + f.value) * o + f.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
919
939
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
920
940
  fill: e.value.style.chart.layout.bars.nameLabels.color,
921
941
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
922
- }, h(a.name), 9, Wa)) : y("", !0)
942
+ }, p(a.name), 9, Wa)) : m("", !0)
923
943
  ]),
924
944
  n("g", Ha, [
925
945
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
@@ -930,7 +950,7 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
930
950
  fill: e.value.style.chart.layout.bars.parentLabels.color,
931
951
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
932
952
  "text-anchor": "start"
933
- }, h(ne(a, o).name), 9, ja)) : y("", !0),
953
+ }, p(ne(a, o).name), 9, ja)) : m("", !0),
934
954
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
935
955
  key: 1,
936
956
  x: e.value.autoSize ? void 0 : A.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -939,44 +959,44 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
939
959
  fill: e.value.style.chart.layout.bars.parentLabels.color,
940
960
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
941
961
  "text-anchor": "start"
942
- }, h(ut(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, qa)) : y("", !0)
962
+ }, p(ut(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, qa)) : m("", !0)
943
963
  ]),
944
964
  n("rect", {
945
965
  x: A.value.x,
946
- y: r.value.top + (x.value + p.value) * o - x.value / 2,
966
+ y: r.value.top + (x.value + f.value) * o - x.value / 2,
947
967
  width: A.value.width,
948
- height: p.value + x.value <= 0 ? 1e-4 : p.value + x.value,
968
+ height: f.value + x.value <= 0 ? 1e-4 : f.value + x.value,
949
969
  fill: Se.value === a.id ? s(Be)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
950
- onMouseenter: (g) => Et(a, o),
951
- onMouseleave: (g) => Rt({ datapoint: a, seriesIndex: o }),
952
- onClick: (g) => Dt({ datapoint: a, seriesIndex: o })
970
+ onMouseenter: (b) => Et(a, o),
971
+ onMouseleave: (b) => Rt({ datapoint: a, seriesIndex: o }),
972
+ onClick: (b) => Dt({ datapoint: a, seriesIndex: o })
953
973
  }, null, 40, Ya)
954
974
  ]))), 256)),
955
- k(t.$slots, "svg", { svg: A.value }, void 0, !0)
975
+ y(t.$slots, "svg", { svg: A.value }, void 0, !0)
956
976
  ], 512)
957
977
  ], 14, za)),
958
978
  t.$slots.watermark ? (u(), v("div", Ka, [
959
- k(t.$slots, "watermark", Z(ee({ isPrinting: s(je) || s(qe) })), void 0, !0)
960
- ])) : y("", !0),
979
+ y(t.$slots, "watermark", O(I({ isPrinting: s(je) || s(qe) })), void 0, !0)
980
+ ])) : m("", !0),
961
981
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
962
982
  key: 6,
963
983
  ref_key: "chartLegend",
964
984
  ref: be
965
985
  }, [
966
- (u(), W(gt, {
986
+ (u(), j(gt, {
967
987
  key: `legend_bottom_${me.value}`,
968
988
  legendSet: z.value,
969
989
  config: at.value,
970
- onClickMarker: l[1] || (l[1] = ({ legend: a }) => D(a.id))
990
+ onClickMarker: l[1] || (l[1] = ({ legend: a }) => E(a.id))
971
991
  }, pe({
972
- item: b(({ legend: a, index: o }) => [
992
+ item: h(({ legend: a, index: o }) => [
973
993
  n("div", {
974
- onClick: (g) => D(a.id),
975
- style: d(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
976
- }, h(a.name) + ": " + h(s(se)(
994
+ onClick: (b) => E(a.id),
995
+ style: c(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
996
+ }, p(a.name) + ": " + p(s(se)(
977
997
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
978
998
  a.value,
979
- s(M)({
999
+ s(R)({
980
1000
  p: e.value.style.chart.legend.prefix,
981
1001
  v: a.value,
982
1002
  s: e.value.style.chart.legend.suffix,
@@ -989,8 +1009,8 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
989
1009
  }, [
990
1010
  t.$slots.pattern ? {
991
1011
  name: "legend-pattern",
992
- fn: b(({ legend: a, index: o }) => [
993
- J(yt, {
1012
+ fn: h(({ legend: a, index: o }) => [
1013
+ ee(yt, {
994
1014
  shape: a.shape,
995
1015
  radius: 30,
996
1016
  stroke: "none",
@@ -1001,18 +1021,18 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1001
1021
  key: "0"
1002
1022
  } : void 0
1003
1023
  ]), 1032, ["legendSet", "config"]))
1004
- ], 512)) : y("", !0),
1005
- k(t.$slots, "legend", { legend: z.value }, void 0, !0),
1024
+ ], 512)) : m("", !0),
1025
+ y(t.$slots, "legend", { legend: z.value }, void 0, !0),
1006
1026
  t.$slots.source ? (u(), v("div", {
1007
1027
  key: 7,
1008
1028
  ref_key: "source",
1009
1029
  ref: Ee,
1010
1030
  dir: "auto"
1011
1031
  }, [
1012
- k(t.$slots, "source", {}, void 0, !0)
1013
- ], 512)) : y("", !0),
1014
- J(s(xt), {
1015
- show: $.value.showTooltip && ge.value && T.value.length < m.dataset.length,
1032
+ y(t.$slots, "source", {}, void 0, !0)
1033
+ ], 512)) : m("", !0),
1034
+ ee(s(xt), {
1035
+ show: _.value.showTooltip && ge.value && T.value.length < k.dataset.length,
1016
1036
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1017
1037
  color: e.value.style.chart.tooltip.color,
1018
1038
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1024,43 +1044,43 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1024
1044
  offsetY: e.value.style.chart.tooltip.offsetY,
1025
1045
  parent: N.value,
1026
1046
  content: ye.value,
1027
- isFullscreen: X.value,
1047
+ isFullscreen: W.value,
1028
1048
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
1029
1049
  smooth: e.value.style.chart.tooltip.smooth,
1030
1050
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1031
1051
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1032
1052
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1033
1053
  }, {
1034
- "tooltip-before": b(() => [
1035
- k(t.$slots, "tooltip-before", Z(ee({ ...Le.value })), void 0, !0)
1054
+ "tooltip-before": h(() => [
1055
+ y(t.$slots, "tooltip-before", O(I({ ...Le.value })), void 0, !0)
1036
1056
  ]),
1037
- "tooltip-after": b(() => [
1038
- k(t.$slots, "tooltip-after", Z(ee({ ...Le.value })), void 0, !0)
1057
+ "tooltip-after": h(() => [
1058
+ y(t.$slots, "tooltip-after", O(I({ ...Le.value })), void 0, !0)
1039
1059
  ]),
1040
1060
  _: 3
1041
1061
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1042
- fe.value && e.value.userOptions.buttons.table ? (u(), W(la(de.value.component), ht({ key: 8 }, de.value.props, {
1062
+ fe.value && e.value.userOptions.buttons.table ? (u(), j(la(ce.value.component), ht({ key: 8 }, ce.value.props, {
1043
1063
  ref_key: "tableUnit",
1044
1064
  ref: oe,
1045
1065
  onClose: Ae
1046
1066
  }), pe({
1047
- content: b(() => [
1067
+ content: h(() => [
1048
1068
  n("div", {
1049
1069
  ref_key: "tableContainer",
1050
1070
  ref: Je,
1051
1071
  class: "vue-ui-vertical-bar-table atom-data-table",
1052
- style: d(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1072
+ style: c(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1053
1073
  }, [
1054
1074
  n("div", Ja, [
1055
- e.value.table.useDialog ? y("", !0) : (u(), v("div", {
1075
+ e.value.table.useDialog ? m("", !0) : (u(), v("div", {
1056
1076
  key: 0,
1057
1077
  role: "button",
1058
1078
  tabindex: "0",
1059
- style: d(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1079
+ style: c(`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};`),
1060
1080
  onClick: Ae,
1061
1081
  onKeypress: oa(Ae, ["enter"])
1062
1082
  }, [
1063
- J(s(Me), {
1083
+ ee(s(Me), {
1064
1084
  name: "close",
1065
1085
  stroke: e.value.table.th.color,
1066
1086
  "stroke-width": 2
@@ -1068,111 +1088,111 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1068
1088
  ], 36)),
1069
1089
  n("div", {
1070
1090
  style: { width: "100%", "container-type": "inline-size" },
1071
- class: G({ "vue-ui-responsive": s(Wt) })
1091
+ class: H({ "vue-ui-responsive": s(Wt) })
1072
1092
  }, [
1073
1093
  n("table", Za, [
1074
- e.value.table.useDialog ? y("", !0) : (u(), v("caption", {
1094
+ e.value.table.useDialog ? m("", !0) : (u(), v("caption", {
1075
1095
  key: 0,
1076
- style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1096
+ style: c({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1077
1097
  class: "vue-ui-data-table__caption"
1078
1098
  }, [
1079
- pt(h(e.value.style.chart.title.text) + " ", 1),
1080
- e.value.style.chart.title.subtitle.text ? (u(), v("span", el, h(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
1099
+ pt(p(e.value.style.chart.title.text) + " ", 1),
1100
+ e.value.style.chart.title.subtitle.text ? (u(), v("span", el, p(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
1081
1101
  ], 4)),
1082
1102
  n("thead", null, [
1083
1103
  n("tr", {
1084
1104
  role: "row",
1085
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1105
+ style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1086
1106
  }, [
1087
1107
  (u(!0), v(te, null, ae(V.value.head, (a) => (u(), v("th", {
1088
- style: d(`outline:${e.value.table.th.outline}`)
1108
+ style: c(`outline:${e.value.table.th.outline}`)
1089
1109
  }, [
1090
- n("div", tl, h(a), 1)
1110
+ n("div", tl, p(a), 1)
1091
1111
  ], 4))), 256))
1092
1112
  ], 4),
1093
1113
  n("tr", null, [
1094
1114
  n("th", {
1095
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1115
+ style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1096
1116
  }, null, 4),
1097
1117
  n("th", {
1098
- style: d(`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`)
1099
- }, "∑ " + h(e.value.table.td.prefix) + h(isNaN(O.value) ? "" : O.value.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 5),
1118
+ style: c(`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`)
1119
+ }, "∑ " + p(e.value.table.td.prefix) + p(isNaN(F.value) ? "" : F.value.toFixed(e.value.table.td.roundingValue)) + p(e.value.table.td.suffix), 5),
1100
1120
  n("th", {
1101
- style: d(`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`)
1121
+ style: c(`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`)
1102
1122
  }, "100%", 4),
1103
1123
  n("th", {
1104
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1124
+ style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1105
1125
  }, null, 4),
1106
1126
  n("th", {
1107
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1127
+ style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1108
1128
  }, null, 4),
1109
1129
  n("th", {
1110
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1130
+ style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1111
1131
  }, null, 4),
1112
1132
  n("th", {
1113
- style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1133
+ style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1114
1134
  }, null, 4)
1115
1135
  ])
1116
1136
  ]),
1117
1137
  n("tbody", null, [
1118
1138
  (u(!0), v(te, null, ae(V.value.body, (a, o) => (u(), v("tr", {
1119
- class: G({ "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 }),
1120
- style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1139
+ class: H({ "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 }),
1140
+ style: c(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1121
1141
  }, [
1122
1142
  n("td", {
1123
1143
  class: "vue-ui-data-table__tbody__td",
1124
- style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1144
+ style: c(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1125
1145
  "data-cell": V.value.head[0] ?? ""
1126
1146
  }, [
1127
1147
  n("div", ll, [
1128
1148
  a.color ? (u(), v("span", {
1129
1149
  key: 0,
1130
- style: d(`color:${a.color};margin-right:3px`)
1131
- }, "⬤", 4)) : y("", !0),
1132
- n("span", null, h(a.parentName), 1)
1150
+ style: c(`color:${a.color};margin-right:3px`)
1151
+ }, "⬤", 4)) : m("", !0),
1152
+ n("span", null, p(a.parentName), 1)
1133
1153
  ])
1134
1154
  ], 12, al),
1135
1155
  n("td", {
1136
1156
  class: "vue-ui-data-table__tbody__td",
1137
- style: d(`outline:${e.value.table.td.outline}`),
1157
+ style: c(`outline:${e.value.table.td.outline}`),
1138
1158
  "data-cell": V.value.head[1] ?? ""
1139
1159
  }, [
1140
- n("div", nl, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1160
+ n("div", nl, 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)
1141
1161
  ], 12, ol),
1142
1162
  n("td", {
1143
1163
  class: "vue-ui-data-table__tbody__td",
1144
- style: d(`outline:${e.value.table.td.outline}`),
1164
+ style: c(`outline:${e.value.table.td.outline}`),
1145
1165
  "data-cell": V.value.head[2] ?? ""
1146
1166
  }, [
1147
- n("div", sl, h(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1167
+ n("div", sl, p(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1148
1168
  ], 12, ul),
1149
1169
  n("td", {
1150
1170
  class: "vue-ui-data-table__tbody__td",
1151
- style: d(`outline:${e.value.table.td.outline}`),
1171
+ style: c(`outline:${e.value.table.td.outline}`),
1152
1172
  "data-cell": V.value.head[3] ?? ""
1153
1173
  }, [
1154
- n("div", il, h(a.childName), 1)
1174
+ n("div", il, p(a.childName), 1)
1155
1175
  ], 12, rl),
1156
1176
  n("td", {
1157
1177
  class: "vue-ui-data-table__tbody__td",
1158
- style: d(`outline:${e.value.table.td.outline}`),
1178
+ style: c(`outline:${e.value.table.td.outline}`),
1159
1179
  "data-cell": V.value.head[4] ?? ""
1160
1180
  }, [
1161
- n("div", cl, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1181
+ n("div", dl, 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)
1162
1182
  ], 12, vl),
1163
1183
  n("td", {
1164
1184
  class: "vue-ui-data-table__tbody__td",
1165
- style: d(`outline:${e.value.table.td.outline}`),
1185
+ style: c(`outline:${e.value.table.td.outline}`),
1166
1186
  "data-cell": V.value.head[5] ?? ""
1167
1187
  }, [
1168
- n("div", hl, h(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1169
- ], 12, dl),
1188
+ n("div", hl, p(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1189
+ ], 12, cl),
1170
1190
  n("td", {
1171
1191
  class: "vue-ui-data-table__tbody__td",
1172
- style: d(`outline:${e.value.table.td.outline}`),
1192
+ style: c(`outline:${e.value.table.td.outline}`),
1173
1193
  "data-cell": V.value.head[6] ?? ""
1174
1194
  }, [
1175
- n("div", fl, h(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1195
+ n("div", fl, p(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1176
1196
  ], 12, pl)
1177
1197
  ], 6))), 256))
1178
1198
  ])
@@ -1185,32 +1205,32 @@ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "widt
1185
1205
  }, [
1186
1206
  e.value.table.useDialog ? {
1187
1207
  name: "title",
1188
- fn: b(() => [
1189
- pt(h(de.value.title), 1)
1208
+ fn: h(() => [
1209
+ pt(p(ce.value.title), 1)
1190
1210
  ]),
1191
1211
  key: "0"
1192
1212
  } : void 0,
1193
1213
  e.value.table.useDialog ? {
1194
1214
  name: "actions",
1195
- fn: b(() => [
1215
+ fn: h(() => [
1196
1216
  n("button", {
1197
1217
  tabindex: "0",
1198
1218
  class: "vue-ui-user-options-button",
1199
1219
  onClick: l[2] || (l[2] = (a) => Pe(e.value.userOptions.callbacks.csv))
1200
1220
  }, [
1201
- J(s(Me), {
1221
+ ee(s(Me), {
1202
1222
  name: "excel",
1203
- stroke: de.value.props.color
1223
+ stroke: ce.value.props.color
1204
1224
  }, null, 8, ["stroke"])
1205
1225
  ])
1206
1226
  ]),
1207
1227
  key: "1"
1208
1228
  } : void 0
1209
- ]), 1040)) : y("", !0),
1210
- s(Ge) ? (u(), W(ma, { key: 9 })) : y("", !0)
1229
+ ]), 1040)) : m("", !0),
1230
+ s(Ge) ? (u(), j(ma, { key: 9 })) : m("", !0)
1211
1231
  ], 46, Na));
1212
1232
  }
1213
- }, Ol = /* @__PURE__ */ Pa(gl, [["__scopeId", "data-v-4ecc1fd7"]]);
1233
+ }, Ol = /* @__PURE__ */ Pa(gl, [["__scopeId", "data-v-12742a13"]]);
1214
1234
  export {
1215
1235
  Ol as default
1216
1236
  };