vue-data-ui 3.22.0 → 3.22.1

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 (198) hide show
  1. package/dist/{Arrow-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
  3. package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
  4. package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
  5. package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
  6. package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
  7. package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
  8. package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
  10. package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-_Dwp4NUr.js} +1 -1
  11. package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
  12. package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
  13. package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
  14. package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
  15. package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
  16. package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
  17. package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
  18. package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
  89. package/dist/exposedLib-CffbQxjN.js +19 -0
  90. package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
  91. package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
  92. package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
  93. package/dist/{package-0oRlvBuX.js → package-CfgH43C9.js} +1 -1
  94. package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
  95. package/dist/{render-common-DSiH7qj-.js → render-common-B_81qHQA.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +3 -8
  101. package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
  102. package/dist/{useConfig-Br1uzq_L.js → useConfig-C10cdg45.js} +2 -0
  103. package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
  104. package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-DSBOFB88.js} +1 -1
  105. package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
  106. package/dist/utils.js +3 -3
  107. package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DyFtIu5x.js} +68 -68
  108. package/dist/vue-data-ui.js +72 -72
  109. package/dist/vue-ui-3d-bar-BONLasZK.js +1757 -0
  110. package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Ck_u5Nro.js} +4 -4
  111. package/dist/vue-ui-age-pyramid-CESMhEwG.js +1238 -0
  112. package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-DvpCTv7j.js} +60 -60
  113. package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-qdXPXPxt.js} +23 -23
  114. package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-LMO0-JMK.js} +400 -400
  115. package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-ByWgbxR_.js} +50 -50
  116. package/dist/vue-ui-carousel-table-Clv65OZW.js +455 -0
  117. package/dist/vue-ui-chestnut-Dbxtt0EO.js +2010 -0
  118. package/dist/vue-ui-chord-DsCYzzLp.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DUn2l2nz.js} +44 -44
  120. package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-CElckzVJ.js} +61 -61
  121. package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag-B7a6P_58.js} +18 -18
  122. package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-CuYXrIHK.js} +70 -70
  123. package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-CiRRs9Yh.js} +4 -4
  124. package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-PedJo3bO.js} +474 -474
  125. package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-_EtEQwAW.js} +160 -160
  126. package/dist/vue-ui-donut-evolution-C9mV62bb.js +1510 -0
  127. package/dist/vue-ui-dumbbell-byV_cZ7p.js +1530 -0
  128. package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-DOLqQ6P4.js} +43 -43
  129. package/dist/vue-ui-funnel-CInvdUuT.js +777 -0
  130. package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-DOeb6bP3.js} +301 -301
  131. package/dist/vue-ui-gauge-m2OemLTk.js +920 -0
  132. package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-CGw4_HqU.js} +22 -22
  133. package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-CavNggei.js} +4 -4
  134. package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-BgBgDRa_.js} +95 -95
  135. package/dist/vue-ui-history-plot-jc1aVr7r.js +1554 -0
  136. package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-BkV41pJi.js} +264 -264
  137. package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DZAJA0gO.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-C29a9zHr.js} +3 -3
  139. package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-E7a7X-Tz.js} +181 -181
  140. package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-ww9uHX-0.js} +29 -29
  141. package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-BNvpHhXK.js} +211 -211
  142. package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-Cis7D9N3.js} +34 -34
  143. package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-BnVXfomm.js} +40 -40
  144. package/dist/vue-ui-quadrant-DQ8rrBHV.js +1978 -0
  145. package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-B1xUyqD7.js} +358 -358
  146. package/dist/vue-ui-radar-D0y4BN8E.js +1281 -0
  147. package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-DKurps0a.js} +34 -34
  148. package/dist/vue-ui-relation-circle-aanEwlBG.js +924 -0
  149. package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-DS_llqb5.js} +219 -219
  150. package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-CILfFp-q.js} +36 -36
  151. package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-CQqdNOLR.js} +75 -75
  152. package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DpjFm7_n.js} +42 -42
  153. package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-BKQMu9Dw.js} +17 -17
  154. package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-xsg-hyHs.js} +92 -92
  155. package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-BwpOy0xT.js} +78 -78
  156. package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-DgTkRohs.js} +38 -38
  157. package/dist/vue-ui-sparkhistogram-D72VDOlh.js +560 -0
  158. package/dist/vue-ui-sparkline-WG-oYip8.js +1547 -0
  159. package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BqAeq4Lb.js} +162 -162
  160. package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-CVIF37k7.js} +67 -67
  161. package/dist/vue-ui-stackline-DX1AYpur.js +2398 -0
  162. package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot--fR31p0x.js} +49 -49
  163. package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-DSE4d-Dx.js} +87 -87
  164. package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-DKE7y65s.js} +17 -17
  165. package/dist/vue-ui-table-sparkline-KOk0iH56.js +712 -0
  166. package/dist/vue-ui-thermometer-FQvSBV4T.js +763 -0
  167. package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-BsSpuP2_.js} +6 -6
  168. package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-f85yEqZh.js} +19 -19
  169. package/dist/vue-ui-treemap-DdSJEMp-.js +1587 -0
  170. package/dist/vue-ui-waffle-BHsayx6v.js +1362 -0
  171. package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-DerItN6D.js} +51 -51
  172. package/dist/{vue-ui-word-cloud-BqsUdsCY.js → vue-ui-word-cloud-DV-qLV17.js} +27 -27
  173. package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-DhH-_2IC.js} +445 -445
  174. package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CuAsNLLv.js} +162 -162
  175. package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DMoj6Y3F.js} +537 -534
  176. package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CrzY1ni9.js} +65 -65
  177. package/package.json +2 -2
  178. package/dist/exposedLib-BJbE_A8E.js +0 -19
  179. package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
  181. package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
  182. package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
  183. package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
  184. package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
  185. package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
  186. package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
  187. package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
  188. package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
  189. package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
  190. package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
  191. package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
  192. package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
  193. package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
  194. package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
  195. package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
  196. package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
  197. package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
  198. package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
@@ -1,24 +1,24 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { B as t, Bt as n, Ft as r, G as i, H as a, Ht as o, J as s, Ot as c, Pt as ee, S as te, Tt as ne, X as re, ht as ie, i as ae, it as oe, pt as se, st as ce, t as le, v as l, x as ue, y as de, zt as fe } from "./lib-AJRHFE5U.js";
3
- import { t as pe } from "./useConfig-Br1uzq_L.js";
4
- import { t as me } from "./usePrinter-6n2MzVyV.js";
2
+ import { B as t, Bt as n, Et as r, Ft as i, G as a, H as o, It as s, J as ee, S as te, Ut as ne, Vt as re, X as ie, gt as ae, i as oe, it as se, kt as c, pt as ce, st as le, t as ue, v as l, x as de, y as fe } from "./lib-CXicicWN.js";
3
+ import { t as pe } from "./useConfig-C10cdg45.js";
4
+ import { t as me } from "./usePrinter-Dng0UK-G.js";
5
5
  import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
6
6
  import { t as _e } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ve } from "./useNestedProp-DtcXIg7n.js";
7
+ import { t as ve } from "./useNestedProp-APyFoLCQ.js";
8
8
  import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as be } from "./img-C_RNNswI.js";
10
- import { n as xe } from "./Title-DH6G8_cZ.js";
11
- import { t as Se } from "./Shape-BubavoqO.js";
9
+ import { t as be } from "./img-BCAOkqfM.js";
10
+ import { n as xe } from "./Title-CVYf1f8m.js";
11
+ import { t as Se } from "./Shape-C5OvuwII.js";
12
12
  import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { c as we } from "./canvas-lib-BOP_HS11.js";
14
14
  import { t as Te } from "./useResponsive-BfnK0KxU.js";
15
- import { t as Ee } from "./vue-ui-accordion-HvsT8_RM.js";
16
- import { t as De } from "./BaseLegendToggle-CUYal8mC.js";
15
+ import { t as Ee } from "./vue-ui-accordion-Ck_u5Nro.js";
16
+ import { t as De } from "./BaseLegendToggle-B-lM0iV1.js";
17
17
  import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
18
18
  import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
19
19
  import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
20
20
  import { t as je } from "./useTableResponsive-B24Uwt2E.js";
21
- import { t as Me } from "./Legend-CAStwHdx.js";
21
+ import { t as Me } from "./Legend-BVDhEEsC.js";
22
22
  import { t as Ne } from "./vue_ui_horizontal_bar-C4J4QzXf.js";
23
23
  import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as Le, guardReactiveProps as g, mergeProps as Re, nextTick as ze, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Be, onMounted as Ve, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as He, toDisplayString as w, toRefs as Ue, unref as T, useCssVars as We, useSlots as Ge, watch as Ke, withCtx as E, withKeys as qe } from "vue";
24
24
  //#region src/components/vue-ui-horizontal-bar.vue
@@ -202,14 +202,14 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
202
202
  ],
203
203
  setup(e, { expose: Ce, emit: Je }) {
204
204
  We((e) => ({ v44273546: e.tdo }));
205
- let Ut = Le(() => import("./Tooltip-979Ytd8R.js")), Wt = Le(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), Gt = Le(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), Kt = Le(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), qt = Le(() => import("./PackageVersion-DxBQctV8.js").then((e) => e.t)), Jt = Le(() => import("./BaseDraggableDialog-O8jn9Lvi.js").then((e) => e.n)), { vue_ui_vertical_bar: Yt } = pe(), { isThemeValid: Xt, warnInvalidTheme: Zt } = ye(), Qt = Ge(), D = e, $t = d({
205
+ let Ut = Le(() => import("./Tooltip-BmGCBJuU.js")), Wt = Le(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), Gt = Le(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), Kt = Le(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), qt = Le(() => import("./PackageVersion-_Dwp4NUr.js").then((e) => e.t)), Jt = Le(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_vertical_bar: Yt } = pe(), { isThemeValid: Xt, warnInvalidTheme: Zt } = ye(), Qt = Ge(), D = e, $t = d({
206
206
  get() {
207
207
  return !!D.dataset && D.dataset.length;
208
208
  },
209
209
  set(e) {
210
210
  return e;
211
211
  }
212
- }), O = x(a()), en = x(!1), tn = x(""), nn = x(null), rn = x(0), k = x(null), an = x(null), on = x(null), sn = x(null), cn = x(null), ln = x(0), un = x(0), dn = x(null), fn = x(null), pn = x(null), mn = x(null), hn = x(null), A = x([]), gn = x({
212
+ }), O = x(o()), en = x(!1), tn = x(""), nn = x(null), rn = x(0), k = x(null), an = x(null), on = x(null), sn = x(null), cn = x(null), ln = x(0), un = x(0), dn = x(null), fn = x(null), pn = x(null), mn = x(null), hn = x(null), A = x([]), gn = x({
213
213
  none: 0,
214
214
  asc: 1,
215
215
  desc: 2
@@ -247,7 +247,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
247
247
  value: 1,
248
248
  color: "#d9d9d9"
249
249
  }
250
- ]), Dn = d(() => o({
250
+ ]), Dn = d(() => ne({
251
251
  defaultConfig: {
252
252
  useCssAnimation: !1,
253
253
  userOptions: { show: !1 },
@@ -290,11 +290,11 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
290
290
  prepareConfig: Fn,
291
291
  callback: () => {
292
292
  Promise.resolve().then(async () => {
293
- B.value.showTable = N.value.table.show, Kn();
293
+ z.value.showTable = N.value.table.show, qn();
294
294
  });
295
295
  },
296
296
  skeletonDataset: En.value,
297
- skeletonConfig: o({
297
+ skeletonConfig: ne({
298
298
  defaultConfig: N.value,
299
299
  userConfig: Dn.value
300
300
  })
@@ -303,27 +303,27 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
303
303
  let e = ve({
304
304
  userConfig: D.config,
305
305
  defaultConfig: Yt
306
- }), t = {}, r = e.theme;
307
- if (r) if (!Xt.value(e)) Zt(e), t = e;
306
+ }), t = {}, n = e.theme;
307
+ if (n) if (!Xt.value(e)) Zt(e), t = e;
308
308
  else {
309
- let i = ve({
310
- userConfig: Ne[r] || D.config,
309
+ let r = ve({
310
+ userConfig: Ne[n] || D.config,
311
311
  defaultConfig: e
312
312
  });
313
313
  t = {
314
314
  ...ve({
315
315
  userConfig: D.config,
316
- defaultConfig: i
316
+ defaultConfig: r
317
317
  }),
318
- customPalette: e.customPalette.length ? e.customPalette : n[r] || c
318
+ customPalette: e.customPalette.length ? e.customPalette : re[n] || c
319
319
  };
320
320
  }
321
321
  else t = e;
322
- return D.config && se(D.config, "events.datapointEnter") ? t.events.datapointEnter = D.config.events.datapointEnter : t.events.datapointEnter = null, D.config && se(D.config, "events.datapointLeave") ? t.events.datapointLeave = D.config.events.datapointLeave : t.events.datapointLeave = null, D.config && se(D.config, "events.datapointClick") ? t.events.datapointClick = D.config.events.datapointClick : t.events.datapointClick = null, t;
322
+ return D.config && ce(D.config, "events.datapointEnter") ? t.events.datapointEnter = D.config.events.datapointEnter : t.events.datapointEnter = null, D.config && ce(D.config, "events.datapointLeave") ? t.events.datapointLeave = D.config.events.datapointLeave : t.events.datapointLeave = null, D.config && ce(D.config, "events.datapointClick") ? t.events.datapointClick = D.config.events.datapointClick : t.events.datapointClick = null, t;
323
323
  }
324
324
  let F = x(N.value.style.chart.width), I = x(N.value.style.chart.height), L = x(N.value.style.chart.layout.bars.gap);
325
325
  Ke(() => D.config, (e) => {
326
- On.value || (N.value = Fn()), jn.value = !N.value.userOptions.showOnChartHover, ln.value += 1, un.value += 1, B.value.showTable = N.value.table.show, B.value.sortDesc = N.value.style.chart.layout.bars.sort === "desc", B.value.showTooltip = N.value.style.chart.tooltip.show, F.value = N.value.style.chart.width, I.value = N.value.style.chart.height, L.value = N.value.style.chart.layout.bars.gap;
326
+ On.value || (N.value = Fn()), jn.value = !N.value.userOptions.showOnChartHover, ln.value += 1, un.value += 1, z.value.showTable = N.value.table.show, z.value.sortDesc = N.value.style.chart.layout.bars.sort === "desc", z.value.showTooltip = N.value.style.chart.tooltip.show, F.value = N.value.style.chart.width, I.value = N.value.style.chart.height, L.value = N.value.style.chart.layout.bars.gap;
327
327
  }, { deep: !0 }), Ke(() => D.dataset, (e) => {
328
328
  Array.isArray(e) && e.length > 0 && (An.value = !1);
329
329
  }, { deep: !0 });
@@ -331,13 +331,13 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
331
331
  elementId: `vue-ui-vertical-bar_${O.value}`,
332
332
  fileName: N.value.style.chart.title.text || "vue-ui-vertical-bar",
333
333
  options: N.value.userOptions.print
334
- }), Bn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Vn = d(() => ue(N.value.customPalette)), Hn = x(null), Un = d(() => N.value.table.responsiveBreakpoint), Wn = d(() => !!N.value.debug), Gn = x(0), R = x(null), z = x(null);
335
- function Kn() {
336
- if (k.value && (ne(D.dataset) && (re({
334
+ }), Bn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Vn = d(() => de(N.value.customPalette)), Hn = x(null), Un = d(() => N.value.table.responsiveBreakpoint), Wn = d(() => !!N.value.debug), Gn = x(0), R = x(null), Kn = x(null);
335
+ function qn() {
336
+ if (k.value && (r(D.dataset) && (ie({
337
337
  componentName: "VueUiVerticalBar",
338
338
  type: "dataset",
339
339
  debug: Wn.value
340
- }), $t.value = !1, An.value = !0), ne(D.dataset) || (An.value = N.value.loading), N.value.responsive)) {
340
+ }), $t.value = !1, An.value = !0), r(D.dataset) || (An.value = N.value.loading), N.value.responsive)) {
341
341
  let e = we(() => {
342
342
  let { width: e, height: t } = Te({
343
343
  chart: k.value,
@@ -350,31 +350,31 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
350
350
  I.value = t, F.value = e;
351
351
  });
352
352
  });
353
- R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect()), R.value = new ResizeObserver(e), ze(() => {
354
- z.value = k.value?.parentNode, z.value && R.value.observe(z.value);
353
+ R.value && (Kn.value && R.value.unobserve(Kn.value), R.value.disconnect()), R.value = new ResizeObserver(e), ze(() => {
354
+ Kn.value = k.value?.parentNode, Kn.value && R.value.observe(Kn.value);
355
355
  });
356
356
  }
357
357
  }
358
358
  Be(() => {
359
- R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect());
359
+ R.value && (Kn.value && R.value.unobserve(Kn.value), R.value.disconnect());
360
360
  });
361
- let B = x({
361
+ let z = x({
362
362
  showTable: N.value.table.show,
363
363
  sortDesc: N.value.style.chart.layout.bars.sort === "desc",
364
364
  showTooltip: N.value.style.chart.tooltip.show
365
- }), qn = d(() => B.value.sortDesc), V = d(() => (kn.value.forEach((e, t) => {
366
- !e.value && !e.children && re({
365
+ }), Jn = d(() => z.value.sortDesc), B = d(() => (kn.value.forEach((e, t) => {
366
+ !e.value && !e.children && ie({
367
367
  componentName: "VueUiVerticalBar",
368
368
  type: "datasetAttributeEmpty",
369
369
  property: `value (index ${t})`,
370
370
  debug: Wn.value
371
- }), e.children && (ne(e.children) ? re({
371
+ }), e.children && (r(e.children) ? ie({
372
372
  componentName: "VueUiVerticalBar",
373
373
  type: "datasetAttributeEmpty",
374
374
  property: `children (index ${t})`,
375
375
  debug: Wn.value
376
376
  }) : e.children.forEach((e, t) => {
377
- [null, void 0].includes(e.name) && re({
377
+ [null, void 0].includes(e.name) && ie({
378
378
  componentName: "VueUiVerticalBar",
379
379
  type: "datasetSerieAttribute",
380
380
  property: "name",
@@ -395,10 +395,10 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
395
395
  sign: a,
396
396
  hasChildren: r,
397
397
  isChild: !1,
398
- segregate: () => Y(n),
398
+ segregate: () => J(n),
399
399
  isSegregated: A.value.includes(n),
400
- color: de(e.color) || Vn.value[t] || c[t] || c[t % c.length],
401
- children: !e.children || !e.children.length ? [] : e.children.toSorted(_n.value ? () => 0 : (e, t) => qn.value ? t.value - e.value : e.value - t.value).map((r, o) => ({
400
+ color: fe(e.color) || Vn.value[t] || c[t] || c[t % c.length],
401
+ children: !e.children || !e.children.length ? [] : e.children.toSorted(_n.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r, o) => ({
402
402
  ...r,
403
403
  value: l(Math.abs(r.value)),
404
404
  absoluteIndex: t,
@@ -410,29 +410,29 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
410
410
  parentSign: a,
411
411
  id: `vertical_child_${t}_${o}_${O.value}`,
412
412
  childIndex: o,
413
- color: de(r.color) || de(e.color) || Vn.value[t] || c[t] || c[t % c.length]
413
+ color: fe(r.color) || fe(e.color) || Vn.value[t] || c[t] || c[t % c.length]
414
414
  })).map((t, n) => ({
415
415
  ...t,
416
416
  isFirstChild: n === 0,
417
417
  isLastChild: n === e.children.length - 1
418
418
  }))
419
419
  };
420
- }).toSorted(_n.value ? () => 0 : (e, t) => qn.value ? t.value - e.value : e.value - t.value))), H = d(() => V.value.filter((e) => !A.value.includes(e.id))), U = d(() => H.value.flatMap((e) => e.hasChildren ? e.children : e)), Jn = d(() => V.value.flatMap((e) => e.hasChildren ? e.children : e)), Yn = d(() => H.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Xn = d(() => ({
420
+ }).toSorted(_n.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value))), V = d(() => B.value.filter((e) => !A.value.includes(e.id))), H = d(() => V.value.flatMap((e) => e.hasChildren ? e.children : e)), Yn = d(() => B.value.flatMap((e) => e.hasChildren ? e.children : e)), Xn = d(() => V.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Zn = d(() => ({
421
421
  cy: "vertical-bar-div-legend",
422
422
  backgroundColor: N.value.style.chart.legend.backgroundColor,
423
423
  color: N.value.style.chart.legend.color,
424
424
  fontSize: N.value.style.chart.legend.fontSize,
425
425
  paddingBottom: 12,
426
426
  fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
427
- })), W = d(() => N.value.style.chart.layout.bars.parentLabels.show ? N.value.style.chart.layout.bars.parentLabels.fontSize * 3 + N.value.style.chart.layout.bars.parentLabels.paddingBottom : 0), G = d(() => {
427
+ })), U = d(() => N.value.style.chart.layout.bars.parentLabels.show ? N.value.style.chart.layout.bars.parentLabels.fontSize * 3 + N.value.style.chart.layout.bars.parentLabels.paddingBottom : 0), W = d(() => {
428
428
  let e = [], t = 0;
429
- return U.value.forEach((n, r) => {
429
+ return H.value.forEach((n, r) => {
430
430
  n.isChild && n.childIndex === 0 && N.value.style.chart.layout.bars.parentLabels.show && (t += 1), e[r] = t;
431
431
  }), e;
432
- }), K = d(() => {
433
- let e = Math.max(0, ...G.value) * W.value;
434
- return (I.value - 24 - (Yn.value - 1) * L.value - e) / Yn.value;
435
- }), q = d(() => ({
432
+ }), G = d(() => {
433
+ let e = Math.max(0, ...W.value) * U.value;
434
+ return (I.value - 24 - (Xn.value - 1) * L.value - e) / Xn.value;
435
+ }), K = d(() => ({
436
436
  width: F.value,
437
437
  height: I.value,
438
438
  padding: {
@@ -441,29 +441,29 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
441
441
  right: 64 + N.value.style.chart.layout.bars.paddingRight,
442
442
  bottom: 12
443
443
  }
444
- })), Zn = x(0);
445
- function Qn() {
444
+ })), Qn = x(0);
445
+ function $n() {
446
446
  ze(() => {
447
447
  if (!hn.value) {
448
- Zn.value = 0;
448
+ Qn.value = 0;
449
449
  return;
450
450
  }
451
- Zn.value = Array.from(hn.value.querySelectorAll("text")).reduce((e, t) => {
451
+ Qn.value = Array.from(hn.value.querySelectorAll("text")).reduce((e, t) => {
452
452
  let n = t.getBBox?.().width ?? t.getComputedTextLength();
453
453
  return n > e ? n : e;
454
454
  }, 0) + 12;
455
455
  });
456
456
  }
457
457
  Ke(() => [
458
- U.value,
458
+ H.value,
459
459
  F.value,
460
460
  I.value,
461
461
  N.value.style.chart.layout.bars.nameLabels,
462
462
  N.value.style.chart.layout.bars.offsetX
463
- ], () => Qn(), { deep: !0 }), Ve(() => {
464
- Qn();
463
+ ], () => $n(), { deep: !0 }), Ve(() => {
464
+ $n();
465
465
  });
466
- function $n() {
466
+ function er() {
467
467
  ze(() => {
468
468
  vn.value = 0, yn.value = 0, requestAnimationFrame(() => {
469
469
  if (!bn.value) {
@@ -485,124 +485,124 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
485
485
  });
486
486
  });
487
487
  }
488
- Ke(A, () => $n(), { deep: !0 }), Ke(() => [
489
- U.value,
488
+ Ke(A, () => er(), { deep: !0 }), Ke(() => [
489
+ H.value,
490
490
  F.value,
491
491
  I.value
492
- ], () => $n(), { deep: !0 }), Ve(() => $n());
493
- let J = d(() => {
494
- let e = Zn.value + Math.abs(N.value.style.chart.layout.bars.nameLabels.offsetX) + yn.value + N.value.style.chart.layout.bars.offsetX, t = q.value.width - q.value.padding.right, n = Math.max(0, t - e - vn.value - yn.value - N.value.style.chart.layout.bars.offsetX);
492
+ ], () => er(), { deep: !0 }), Ve(() => er());
493
+ let q = d(() => {
494
+ let e = Qn.value + Math.abs(N.value.style.chart.layout.bars.nameLabels.offsetX) + yn.value + N.value.style.chart.layout.bars.offsetX, t = K.value.width - K.value.padding.right, n = Math.max(0, t - e - vn.value - yn.value - N.value.style.chart.layout.bars.offsetX);
495
495
  return {
496
- top: q.value.padding.top,
497
- bottom: q.value.padding.top + q.value.height,
496
+ top: K.value.padding.top,
497
+ bottom: K.value.padding.top + K.value.height,
498
498
  left: e,
499
499
  right: t,
500
500
  width: n,
501
- fullHeight: q.value.padding.top + q.value.padding.bottom + q.value.height
501
+ fullHeight: K.value.padding.top + K.value.padding.bottom + K.value.height
502
502
  };
503
503
  });
504
- function er() {
505
- A.value.length ? A.value = [] : V.value.forEach((e) => {
504
+ function tr() {
505
+ A.value.length ? A.value = [] : B.value.forEach((e) => {
506
506
  A.value.push(e.id);
507
- }), $n(), Tn("selectLegend", H.value);
507
+ }), er(), Tn("selectLegend", V.value);
508
508
  }
509
- async function Y(e) {
509
+ async function J(e) {
510
510
  if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e);
511
511
  else {
512
- if (A.value.length === V.value.length - 1) return;
512
+ if (A.value.length === B.value.length - 1) return;
513
513
  A.value.push(e);
514
514
  }
515
- Tn("selectLegend", H.value), $n();
516
- }
517
- function tr(e) {
518
- return V.value.length ? V.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null);
515
+ Tn("selectLegend", V.value), er();
519
516
  }
520
517
  function nr(e) {
521
- let t = tr(e);
522
- t !== null && A.value.includes(t.id) && Y(t.id);
518
+ return B.value.length ? B.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null);
523
519
  }
524
520
  function rr(e) {
525
- let t = tr(e);
526
- t !== null && (A.value.includes(t.id) || Y(t.id));
521
+ let t = nr(e);
522
+ t !== null && A.value.includes(t.id) && J(t.id);
527
523
  }
528
- let X = d(() => H.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
529
- function ir(e, t = !1, n = 0) {
530
- return t ? i({
531
- v: l(Math.abs(e) / X.value * 100),
524
+ function ir(e) {
525
+ let t = nr(e);
526
+ t !== null && (A.value.includes(t.id) || J(t.id));
527
+ }
528
+ let Y = d(() => V.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
529
+ function ar(e, t = !1, n = 0) {
530
+ return t ? a({
531
+ v: l(Math.abs(e) / Y.value * 100),
532
532
  s: "%",
533
533
  r: n
534
- }) : Math.abs(e) / X.value;
534
+ }) : Math.abs(e) / Y.value;
535
535
  }
536
- let Z = d(() => U.value.map((e) => e.sign).includes(-1)), ar = d(() => Math.max(...H.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
537
- function Q(e) {
538
- let t = e / ar.value;
539
- return l(J.value.width / (Z.value ? 2 : 1) * t);
536
+ let X = d(() => H.value.map((e) => e.sign).includes(-1)), or = d(() => Math.max(...V.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
537
+ function Z(e) {
538
+ let t = e / or.value;
539
+ return l(q.value.width / (X.value ? 2 : 1) * t);
540
540
  }
541
- function or(e) {
542
- return Q(e) + J.value.left;
541
+ function sr(e) {
542
+ return Z(e) + q.value.left;
543
543
  }
544
- function sr(e, t) {
545
- let n = H.value.find((t) => t.id === e.parentId);
544
+ function cr(e, t) {
545
+ let n = V.value.find((t) => t.id === e.parentId);
546
546
  return {
547
- y: J.value.top + (L.value + K.value) * t + G.value[t] * W.value - W.value + N.value.style.chart.layout.bars.parentLabels.fontSize,
547
+ y: q.value.top + (L.value + G.value) * t + W.value[t] * U.value - U.value + N.value.style.chart.layout.bars.parentLabels.fontSize,
548
548
  name: n.name,
549
549
  value: [
550
550
  void 0,
551
551
  NaN,
552
552
  null
553
553
  ].includes(n.value) ? "" : n.sign === 1 ? n.value : -n.value,
554
- percentageToTotal: isNaN(n.value / X.value) ? "" : ir(n.value, !0, N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
554
+ percentageToTotal: isNaN(n.value / Y.value) ? "" : ar(n.value, !0, N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
555
555
  sign: n.sign
556
556
  };
557
557
  }
558
- function cr() {
559
- return H.value;
560
- }
561
- function lr(e, t) {
562
- return sr(e, t).name;
558
+ function lr() {
559
+ return V.value;
563
560
  }
564
561
  function ur(e, t) {
565
- let n = sr(e, t);
566
- return _r(n.value, n, t, e.parentSign || e.sign);
562
+ return cr(e, t).name;
563
+ }
564
+ function dr(e, t) {
565
+ let n = cr(e, t);
566
+ return vr(n.value, n, t, e.parentSign || e.sign);
567
567
  }
568
- let dr = x(null), fr = x(null);
569
- function pr({ datapoint: e, seriesIndex: t }) {
568
+ let fr = x(null), pr = x(null);
569
+ function mr({ datapoint: e, seriesIndex: t }) {
570
570
  Tn("selectDatapoint", e), N.value.events.datapointClick && N.value.events.datapointClick({
571
571
  datapoint: e,
572
572
  seriesIndex: t
573
573
  });
574
574
  }
575
- function mr({ datapoint: e, seriesIndex: t }) {
575
+ function hr({ datapoint: e, seriesIndex: t }) {
576
576
  N.value.events.datapointLeave && N.value.events.datapointLeave({
577
577
  datapoint: e,
578
578
  seriesIndex: t
579
- }), nn.value = null, en.value = !1, dr.value = null, M.value === t && (M.value = null);
579
+ }), nn.value = null, en.value = !1, fr.value = null, M.value === t && (M.value = null);
580
580
  }
581
- function hr(e, t, n = "pointer") {
581
+ function gr(e, t, n = "pointer") {
582
582
  wn.value = n, N.value.events.datapointEnter && N.value.events.datapointEnter({
583
583
  datpoint: e,
584
584
  seriesIndex: t
585
- }), M.value = t, nn.value = e, fr.value = {
585
+ }), M.value = t, nn.value = e, pr.value = {
586
586
  datapoint: e,
587
587
  seriesIndex: t,
588
- series: V.value,
588
+ series: B.value,
589
589
  config: N.value
590
- }, en.value = !0, dr.value = e.id;
591
- let r = "", a = e.isChild ? e.parentName : e.name, o = e.isChild ? e.name : "", s = N.value.style.chart.tooltip.customFormat;
592
- ie(s) && oe(() => s({
590
+ }, en.value = !0, fr.value = e.id;
591
+ let r = "", i = e.isChild ? e.parentName : e.name, o = e.isChild ? e.name : "", s = N.value.style.chart.tooltip.customFormat;
592
+ ae(s) && se(() => s({
593
593
  datapoint: e,
594
- series: V.value,
594
+ series: B.value,
595
595
  config: N.value,
596
596
  seriesIndex: t
597
597
  })) ? tn.value = s({
598
598
  datapoint: e,
599
- series: V.value,
599
+ series: B.value,
600
600
  config: N.value,
601
601
  seriesIndex: t
602
602
  }) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
603
- <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="${e.color}"/>${Qt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${O.value}_${e.absoluteIndex})"/>` : ""}</svg> ${a}</div>
603
+ <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="${e.color}"/>${Qt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${O.value}_${e.absoluteIndex})"/>` : ""}</svg> ${i}</div>
604
604
  ${o ? `<div>${o}</div>` : ""}
605
- </div>`, N.value.style.chart.tooltip.showValue && (r += `<div>${N.value.translations.value}: <b>${ae(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.sign === 1 ? e.value : -e.value, i({
605
+ </div>`, N.value.style.chart.tooltip.showValue && (r += `<div>${N.value.translations.value}: <b>${oe(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.sign === 1 ? e.value : -e.value, a({
606
606
  p: N.value.style.chart.tooltip.prefix,
607
607
  v: e.sign === 1 ? e.value : -e.value,
608
608
  s: N.value.style.chart.tooltip.suffix,
@@ -610,19 +610,19 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
610
610
  }), {
611
611
  datapoint: e,
612
612
  seriesIndex: t
613
- })}</b></div>`), N.value.style.chart.tooltip.showPercentage && (r += `<div>${N.value.translations.percentageToTotal} : <b>${i({
614
- v: Math.abs(e.value) / X.value * 100,
613
+ })}</b></div>`), N.value.style.chart.tooltip.showPercentage && (r += `<div>${N.value.translations.percentageToTotal} : <b>${a({
614
+ v: Math.abs(e.value) / Y.value * 100,
615
615
  s: "%",
616
616
  r: N.value.style.chart.tooltip.roundingPercentage
617
- })}</b></div>`, e.isChild && (r += `<div>${N.value.translations.percentageToSerie}: <b>${i({
617
+ })}</b></div>`, e.isChild && (r += `<div>${N.value.translations.percentageToSerie}: <b>${a({
618
618
  v: Math.abs(e.value) / Math.abs(e.parentValue) * 100,
619
619
  s: "%",
620
620
  r: N.value.style.chart.tooltip.roundingPercentage
621
621
  })}</b></div>`)), tn.value = `<div style="text-align:left">${r}</div>`);
622
622
  }
623
- function gr({ legend: e, index: t }) {
623
+ function _r({ legend: e, index: t }) {
624
624
  let n = N.value.style.chart.legend;
625
- return n.showValue ? `${e.name}: ${ae(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, i({
625
+ return n.showValue ? `${e.name}: ${oe(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, a({
626
626
  p: n.prefix,
627
627
  v: e.value,
628
628
  s: n.suffix,
@@ -632,9 +632,9 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
632
632
  seriesIndex: t
633
633
  })}` : e.name;
634
634
  }
635
- function _r(e, t, n, r) {
635
+ function vr(e, t, n, r) {
636
636
  if (!N.value.style.chart.layout.bars.dataLabels.value.show) return "";
637
- let a = ae(N.value.style.chart.layout.bars.dataLabels.value.formatter, l(r === -1 && e >= 0 ? -e : e), i({
637
+ let i = oe(N.value.style.chart.layout.bars.dataLabels.value.formatter, l(r === -1 && e >= 0 ? -e : e), a({
638
638
  p: N.value.style.chart.layout.bars.dataLabels.value.prefix,
639
639
  v: l(r === -1 && e >= 0 ? -e : e),
640
640
  s: N.value.style.chart.layout.bars.dataLabels.value.suffix,
@@ -642,10 +642,10 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
642
642
  }), {
643
643
  datapoint: t,
644
644
  seriesIndex: n
645
- }), o = `(${ir(e, !0, N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
646
- return `${a}${N.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${o}` : ""}`;
645
+ }), o = `(${ar(e, !0, N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
646
+ return `${i}${N.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${o}` : ""}`;
647
647
  }
648
- let $ = d(() => ({
648
+ let Q = d(() => ({
649
649
  head: [
650
650
  N.value.translations.parentName,
651
651
  N.value.translations.value,
@@ -655,15 +655,15 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
655
655
  N.value.translations.percentageToSerie,
656
656
  N.value.translations.percentageToTotal
657
657
  ],
658
- body: U.value.map((e) => e.isChild ? e.isFirstChild ? {
658
+ body: H.value.map((e) => e.isChild ? e.isFirstChild ? {
659
659
  color: e.color,
660
660
  parentName: e.parentName,
661
661
  parentValue: e.parentValue,
662
- percentageToTotal: e.parentValue / X.value,
662
+ percentageToTotal: e.parentValue / Y.value,
663
663
  childName: e.name,
664
664
  childValue: e.sign === 1 ? e.value : -e.value,
665
665
  childPercentageToParent: Math.abs(e.value) / Math.abs(e.parentValue),
666
- childPercentageToTotal: Math.abs(e.value) / X.value
666
+ childPercentageToTotal: Math.abs(e.value) / Y.value
667
667
  } : {
668
668
  color: "",
669
669
  parentName: "",
@@ -672,24 +672,24 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
672
672
  childName: e.name,
673
673
  childValue: e.sign === 1 ? e.value : -e.value,
674
674
  childPercentageToParent: Math.abs(e.value) / Math.abs(e.parentValue),
675
- childPercentageToTotal: Math.abs(e.value) / X.value
675
+ childPercentageToTotal: Math.abs(e.value) / Y.value
676
676
  } : {
677
677
  color: e.color,
678
678
  parentName: e.name,
679
679
  parentValue: e.sign === 1 ? e.value : -e.value,
680
- percentageToTotal: Math.abs(e.value) / X.value,
680
+ percentageToTotal: Math.abs(e.value) / Y.value,
681
681
  childName: "",
682
682
  childValue: "",
683
683
  childPercentageToParent: "",
684
684
  childPercentageToTotal: ""
685
685
  })
686
686
  }));
687
- function vr(e = null) {
687
+ function yr(e = null) {
688
688
  let t = [
689
689
  [N.value.style.chart.title.text],
690
690
  [N.value.style.chart.title.subtitle.text],
691
691
  [""]
692
- ], n = $.value.head, r = $.value.body.map((e) => [
692
+ ], n = Q.value.head, r = Q.value.body.map((e) => [
693
693
  e.parentName,
694
694
  e.parentValue,
695
695
  e.percentageToTotal,
@@ -698,38 +698,38 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
698
698
  e.childPercentageToParent,
699
699
  e.childPercentageToTotal
700
700
  ]), i = te(t.concat([n]).concat(r));
701
- e ? e(i) : s({
701
+ e ? e(i) : ee({
702
702
  csvContent: i,
703
703
  title: N.value.style.chart.title.text || "vue-ui-vertical-bar"
704
704
  });
705
705
  }
706
- let yr = x(!1);
706
+ let $ = x(!1);
707
707
  function br(e) {
708
- yr.value = e, rn.value += 1;
708
+ $.value = e, rn.value += 1;
709
709
  }
710
710
  function xr() {
711
- B.value.showTable = !B.value.showTable;
711
+ z.value.showTable = !z.value.showTable;
712
712
  }
713
713
  Ve(() => {
714
714
  [
715
715
  "none",
716
716
  "asc",
717
717
  "desc"
718
- ].includes(N.value.style.chart.layout.bars.sort) || re({
718
+ ].includes(N.value.style.chart.layout.bars.sort) || ie({
719
719
  componentName: "VueUiVerticalBar",
720
720
  type: "attributeWrongValue",
721
721
  property: "style.chart.layout.bars.sort",
722
722
  key: N.value.style.chart.layout.bars.sort
723
- }), j.value = gn.value[N.value.style.chart.layout.bars.sort], B.value.sortDesc = j.value === 2, _n.value = j.value === 0;
723
+ }), j.value = gn.value[N.value.style.chart.layout.bars.sort], z.value.sortDesc = j.value === 2, _n.value = j.value === 0;
724
724
  });
725
725
  function Sr() {
726
726
  j.value += 1, j.value > 2 && (j.value = 0);
727
727
  }
728
728
  function Cr() {
729
- Sr(), B.value.sortDesc = j.value === 2, _n.value = j.value === 0;
729
+ Sr(), z.value.sortDesc = j.value === 2, _n.value = j.value === 0;
730
730
  }
731
731
  function wr() {
732
- B.value.showTooltip = !B.value.showTooltip;
732
+ z.value.showTooltip = !z.value.showTooltip;
733
733
  }
734
734
  let Tr = x(!1);
735
735
  function Er() {
@@ -753,7 +753,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
753
753
  };
754
754
  }
755
755
  let Or = d(() => {
756
- let e = N.value.table.useDialog && !N.value.table.show, t = B.value.showTable;
756
+ let e = N.value.table.useDialog && !N.value.table.show, t = z.value.showTable;
757
757
  return {
758
758
  component: e ? Jt : Ee,
759
759
  title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
@@ -762,7 +762,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
762
762
  color: N.value.table.th.color,
763
763
  headerColor: N.value.table.th.color,
764
764
  headerBg: N.value.table.th.backgroundColor,
765
- isFullscreen: yr.value,
765
+ isFullscreen: $.value,
766
766
  fullscreenParent: k.value,
767
767
  forcedWidth: Math.min(800, window.innerWidth * .8),
768
768
  isCursorPointer: P.value
@@ -783,17 +783,17 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
783
783
  }
784
784
  };
785
785
  });
786
- Ke(() => B.value.showTable, (e) => {
786
+ Ke(() => z.value.showTable, (e) => {
787
787
  N.value.table.show || (e && N.value.table.useDialog && fn.value ? fn.value.open() : "close" in fn.value && fn.value.close());
788
788
  });
789
789
  let { isResponsive: kr } = je(Hn, Un);
790
790
  function Ar() {
791
- B.value.showTable = !1, pn.value && pn.value.setTableIconState(!1);
791
+ z.value.showTable = !1, pn.value && pn.value.setTableIconState(!1);
792
792
  }
793
- let jr = d(() => V.value.map((e, t) => ({
793
+ let jr = d(() => B.value.map((e, t) => ({
794
794
  ...e,
795
795
  shape: "square",
796
- display: `${e.name}: ${ae(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, i({
796
+ display: `${e.name}: ${oe(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, a({
797
797
  p: N.value.style.chart.legend.prefix,
798
798
  v: e.value,
799
799
  s: N.value.style.chart.legend.suffix,
@@ -845,14 +845,14 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
845
845
  async function zr() {
846
846
  if (Tn("copyAlt", {
847
847
  config: N.value,
848
- dataset: H.value
848
+ dataset: V.value
849
849
  }), !N.value.userOptions.callbacks.altCopy) {
850
850
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
851
851
  return;
852
852
  }
853
853
  await Promise.resolve(N.value.userOptions.callbacks.altCopy({
854
854
  config: N.value,
855
- dataset: H.value
855
+ dataset: V.value
856
856
  }));
857
857
  }
858
858
  let Br = x(!1);
@@ -864,8 +864,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
864
864
  }
865
865
  function Ur() {
866
866
  if (M.value === null) return;
867
- let e = U.value[M.value];
868
- e && mr({
867
+ let e = H.value[M.value];
868
+ e && hr({
869
869
  datapoint: e,
870
870
  seriesIndex: M.value
871
871
  }), M.value = null, wn.value = "pointer";
@@ -874,7 +874,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
874
874
  if (!Pn.value || Tr.value || document.activeElement !== Pn.value) return;
875
875
  let t = e.key === "ArrowRight" || e.key === "ArrowDown", n = e.key === "ArrowLeft" || e.key === "ArrowUp", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
876
876
  if (!t && !n && !r && !i) return;
877
- let a = U.value.length;
877
+ let a = H.value.length;
878
878
  if (!a) return;
879
879
  if (e.preventDefault(), e.stopPropagation(), i) {
880
880
  Ur();
@@ -882,54 +882,54 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
882
882
  }
883
883
  if (r) {
884
884
  if (M.value === null) return;
885
- let e = U.value[M.value];
885
+ let e = H.value[M.value];
886
886
  if (!e) return;
887
- pr({
887
+ mr({
888
888
  datapoint: e,
889
889
  seriesIndex: M.value
890
890
  });
891
891
  return;
892
892
  }
893
- let o = M.value, s = nn.value ? U.value.findIndex((e) => e.id === nn.value.id) : null;
893
+ let o = M.value, s = nn.value ? H.value.findIndex((e) => e.id === nn.value.id) : null;
894
894
  o !== null && o >= 0 && o < a ? t ? (o += 1, o >= a && (o = 0)) : n && (--o, o < 0 && (o = a - 1)) : s !== null && s >= 0 && s < a ? (o = t ? s + 1 : s - 1, o >= a && (o = 0), o < 0 && (o = a - 1)) : o = t ? 0 : a - 1;
895
- let c = U.value[o];
896
- c && (M.value = o, Gr(c), hr(c, o, "keyboard"));
895
+ let ee = H.value[o];
896
+ ee && (M.value = o, Gr(ee), gr(ee, o, "keyboard"));
897
897
  }
898
898
  function Gr(e) {
899
899
  if (!e) return;
900
- let t = J.value.right, n = J.value.top + (L.value + K.value) * e.absoluteIndex + G.value[e.absoluteIndex] * W.value;
901
- if (!Number.isFinite(t) || !Number.isFinite(n)) return;
902
- let r = fe(t, n, Pn.value);
903
- r && (Cn.value = r);
900
+ let t = q.value.right, r = q.value.top + (L.value + G.value) * e.absoluteIndex + W.value[e.absoluteIndex] * U.value;
901
+ if (!Number.isFinite(t) || !Number.isFinite(r)) return;
902
+ let i = n(t, r, Pn.value);
903
+ i && (Cn.value = i);
904
904
  }
905
905
  let Kr = d(() => ({
906
- head: $.value.head,
907
- body: $.value.body.map((e) => [
906
+ head: Q.value.head,
907
+ body: Q.value.body.map((e) => [
908
908
  e.parentName,
909
- e.parentValue === "" ? "" : i({
909
+ e.parentValue === "" ? "" : a({
910
910
  v: e.parentValue,
911
911
  r: N.value.style.chart.layout.bars.dataLabels.value.roundingValue,
912
912
  p: N.value.style.chart.layout.bars.dataLabels.prefix,
913
913
  s: N.value.style.chart.layout.bars.dataLabels.suffix
914
914
  }),
915
- e.percentageToTotal === "" ? "" : i({
915
+ e.percentageToTotal === "" ? "" : a({
916
916
  v: e.percentageToTotal * 100,
917
917
  r: N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage,
918
918
  s: "%"
919
919
  }),
920
920
  e.childName,
921
- e.childValue === "" ? "" : i({
921
+ e.childValue === "" ? "" : a({
922
922
  v: e.childValue,
923
923
  r: N.value.style.chart.layout.bars.dataLabels.value.roundingValue,
924
924
  p: N.value.style.chart.layout.bars.dataLabels.prefix,
925
925
  s: N.value.style.chart.layout.bars.dataLabels.suffix
926
926
  }),
927
- e.childPercentageToParent === "" ? "" : i({
927
+ e.childPercentageToParent === "" ? "" : a({
928
928
  v: e.childPercentageToParent * 100,
929
929
  r: N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage,
930
930
  s: "%"
931
931
  }),
932
- e.childPercentageToTotal === "" ? "" : i({
932
+ e.childPercentageToTotal === "" ? "" : a({
933
933
  v: e.childPercentageToTotal * 100,
934
934
  r: N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage,
935
935
  s: "%"
@@ -940,14 +940,14 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
940
940
  }));
941
941
  return Ce({
942
942
  autoSize: Rr,
943
- getData: cr,
943
+ getData: lr,
944
944
  getImage: Dr,
945
945
  generatePdf: Rn,
946
- generateCsv: vr,
946
+ generateCsv: yr,
947
947
  generateImage: zn,
948
948
  generateSvg: Ir,
949
- hideSeries: rr,
950
- showSeries: nr,
949
+ hideSeries: ir,
950
+ showSeries: rr,
951
951
  toggleTable: xr,
952
952
  toggleSort: Cr,
953
953
  toggleTooltip: wr,
@@ -955,7 +955,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
955
955
  toggleFullscreen: br,
956
956
  copyAlt: zr
957
957
  }), (e, n) => (b(), m("div", {
958
- class: _(`vue-data-ui-component vue-ui-vertical-bar ${yr.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"} ${N.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
958
+ class: _(`vue-data-ui-component vue-ui-vertical-bar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"} ${N.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
959
959
  ref_key: "verticalBarChart",
960
960
  ref: k,
961
961
  id: `vue-ui-vertical-bar_${O.value}`,
@@ -1047,8 +1047,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1047
1047
  hasSort: N.value.userOptions.buttons.sort,
1048
1048
  hasFullscreen: N.value.userOptions.buttons.fullscreen,
1049
1049
  hasAltCopy: N.value.userOptions.buttons.altCopy,
1050
- isFullscreen: yr.value,
1051
- isTooltip: B.value.showTooltip,
1050
+ isFullscreen: $.value,
1051
+ isTooltip: z.value.showTooltip,
1052
1052
  titles: { ...N.value.userOptions.buttonTitles },
1053
1053
  chartElement: k.value,
1054
1054
  position: N.value.userOptions.position,
@@ -1060,7 +1060,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1060
1060
  isCursorPointer: P.value,
1061
1061
  onToggleFullscreen: br,
1062
1062
  onGeneratePdf: T(Rn),
1063
- onGenerateCsv: vr,
1063
+ onGenerateCsv: yr,
1064
1064
  onGenerateImage: Lr,
1065
1065
  onGenerateSvg: Ir,
1066
1066
  onToggleTable: xr,
@@ -1156,24 +1156,24 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1156
1156
  ref: on
1157
1157
  }, [(b(), f(Me, {
1158
1158
  key: `legend_top_${un.value}`,
1159
- legendSet: V.value,
1160
- config: Xn.value,
1161
- onClickMarker: n[0] ||= ({ legend: e }) => Y(e.id)
1159
+ legendSet: B.value,
1160
+ config: Zn.value,
1161
+ onClickMarker: n[0] ||= ({ legend: e }) => J(e.id)
1162
1162
  }, Pe({
1163
1163
  item: E(({ legend: e, index: t }) => [h("div", {
1164
- onClick: (t) => Y(e.id),
1164
+ onClick: (t) => J(e.id),
1165
1165
  style: y(`opacity:${A.value.includes(e.id) ? .5 : 1}`)
1166
- }, w(gr({
1166
+ }, w(_r({
1167
1167
  legend: e,
1168
1168
  index: t
1169
1169
  })), 13, Ze)]),
1170
- legendToggle: E(() => [V.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !T(On) ? (b(), f(De, {
1170
+ legendToggle: E(() => [B.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !T(On) ? (b(), f(De, {
1171
1171
  key: 0,
1172
1172
  backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
1173
1173
  color: N.value.style.chart.legend.selectAllToggle.color,
1174
1174
  fontSize: N.value.style.chart.legend.fontSize,
1175
1175
  checked: A.value.length > 0,
1176
- onToggle: er
1176
+ onToggle: tr
1177
1177
  }, null, 8, [
1178
1178
  "backgroundColor",
1179
1179
  "color",
@@ -1198,10 +1198,10 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1198
1198
  h("div", Qe, [(b(), m("svg", {
1199
1199
  ref_key: "svgRef",
1200
1200
  ref: Pn,
1201
- xmlns: T(le),
1201
+ xmlns: T(ue),
1202
1202
  class: _({
1203
- "vue-data-ui-fullscreen--on": yr.value,
1204
- "vue-data-ui-fulscreen--off": !yr.value
1203
+ "vue-data-ui-fullscreen--on": $.value,
1204
+ "vue-data-ui-fulscreen--off": !$.value
1205
1205
  }),
1206
1206
  viewBox: `0 0 ${F.value} ${I.value}`,
1207
1207
  style: y(`max-width:100%;overflow:visible;background:transparent;color:${N.value.style.chart.color}`),
@@ -1224,7 +1224,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1224
1224
  height: I.value,
1225
1225
  style: { pointerEvents: "none" }
1226
1226
  }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, et)) : p("", !0),
1227
- (b(!0), m(u, null, S(U.value, (e, t) => (b(), m("linearGradient", {
1227
+ (b(!0), m(u, null, S(H.value, (e, t) => (b(), m("linearGradient", {
1228
1228
  x1: "0%",
1229
1229
  y1: "0%",
1230
1230
  x2: "100%",
@@ -1235,37 +1235,37 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1235
1235
  "stop-color": e.color
1236
1236
  }, null, 8, nt), h("stop", {
1237
1237
  offset: "100%",
1238
- "stop-color": T(ee)(T(r)(e.color, .03), 100 - N.value.style.chart.layout.bars.gradientIntensity)
1238
+ "stop-color": T(i)(T(s)(e.color, .03), 100 - N.value.style.chart.layout.bars.gradientIntensity)
1239
1239
  }, null, 8, rt)], 8, tt))), 256)),
1240
- e.$slots.pattern ? (b(), m("g", it, [(b(!0), m(u, null, S(U.value, (t) => (b(), m("defs", null, [C(e.$slots, "pattern", Re({ ref_for: !0 }, {
1240
+ e.$slots.pattern ? (b(), m("g", it, [(b(!0), m(u, null, S(H.value, (t) => (b(), m("defs", null, [C(e.$slots, "pattern", Re({ ref_for: !0 }, {
1241
1241
  seriesIndex: t.absoluteIndex,
1242
1242
  patternId: `pattern_${O.value}_${t.absoluteIndex}`
1243
1243
  }), void 0, !0)]))), 256))])) : p("", !0),
1244
- N.value.style.chart.layout.bars.rowColor ? (b(!0), m(u, { key: 2 }, S(U.value, (e, t) => (b(), m("g", null, [h("rect", {
1244
+ N.value.style.chart.layout.bars.rowColor ? (b(!0), m(u, { key: 2 }, S(H.value, (e, t) => (b(), m("g", null, [h("rect", {
1245
1245
  x: 0,
1246
- y: J.value.top + (L.value + K.value) * t + G.value[t] * W.value,
1246
+ y: q.value.top + (L.value + G.value) * t + W.value[t] * U.value,
1247
1247
  width: F.value,
1248
- height: K.value <= 0 ? 1e-4 : K.value,
1248
+ height: G.value <= 0 ? 1e-4 : G.value,
1249
1249
  fill: N.value.style.chart.layout.bars.rowColor,
1250
1250
  rx: N.value.style.chart.layout.bars.rowRadius,
1251
1251
  style: { pointerEvents: "none" }
1252
1252
  }, null, 8, at)]))), 256)) : p("", !0),
1253
- (b(!0), m(u, null, S(U.value, (e, t) => (b(), m("g", null, [h("rect", {
1254
- x: T(l)(Z.value ? J.value.left + J.value.width / 2 - (e.sign === 1 ? 0 : Q(e.value) <= 0 ? 1e-4 : Q(e.value)) : J.value.left),
1255
- y: J.value.top + (L.value + K.value) * t + G.value[t] * W.value,
1256
- width: T(l)(Q(e.value) <= 0 ? 1e-4 : Q(e.value)),
1257
- height: K.value <= 0 ? 1e-4 : K.value,
1253
+ (b(!0), m(u, null, S(H.value, (e, t) => (b(), m("g", null, [h("rect", {
1254
+ x: T(l)(X.value ? q.value.left + q.value.width / 2 - (e.sign === 1 ? 0 : Z(e.value) <= 0 ? 1e-4 : Z(e.value)) : q.value.left),
1255
+ y: q.value.top + (L.value + G.value) * t + W.value[t] * U.value,
1256
+ width: T(l)(Z(e.value) <= 0 ? 1e-4 : Z(e.value)),
1257
+ height: G.value <= 0 ? 1e-4 : G.value,
1258
1258
  fill: N.value.style.chart.layout.bars.underlayerColor,
1259
1259
  rx: N.value.style.chart.layout.bars.borderRadius,
1260
1260
  class: _({ animated: N.value.useCssAnimation })
1261
1261
  }, null, 10, ot)]))), 256)),
1262
- (b(!0), m(u, null, S(U.value, (t, n) => (b(), m("g", null, [
1262
+ (b(!0), m(u, null, S(H.value, (t, n) => (b(), m("g", null, [
1263
1263
  h("rect", {
1264
- x: T(l)(Z.value ? J.value.left + J.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : J.value.left),
1265
- y: J.value.top + (L.value + K.value) * n + G.value[n] * W.value,
1266
- width: T(l)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
1267
- height: K.value <= 0 ? 1e-4 : K.value,
1268
- fill: N.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${O.value}_${n})` : T(ee)(t.color, N.value.style.chart.layout.bars.fillOpacity),
1264
+ x: T(l)(X.value ? q.value.left + q.value.width / 2 - (t.sign === 1 ? 0 : Z(t.value) <= 0 ? 1e-4 : Z(t.value)) : q.value.left),
1265
+ y: q.value.top + (L.value + G.value) * n + W.value[n] * U.value,
1266
+ width: T(l)(Z(t.value) <= 0 ? 1e-4 : Z(t.value)),
1267
+ height: G.value <= 0 ? 1e-4 : G.value,
1268
+ fill: N.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${O.value}_${n})` : T(i)(t.color, N.value.style.chart.layout.bars.fillOpacity),
1269
1269
  rx: N.value.style.chart.layout.bars.borderRadius,
1270
1270
  stroke: N.value.style.chart.layout.bars.useStroke ? t.color : "none",
1271
1271
  "stroke-width": N.value.style.chart.layout.bars.useStroke ? N.value.style.chart.layout.bars.strokeWidth : 0,
@@ -1273,22 +1273,22 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1273
1273
  }, null, 10, st),
1274
1274
  e.$slots.pattern ? (b(), m("rect", {
1275
1275
  key: 0,
1276
- x: T(l)(Z.value ? J.value.left + J.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : J.value.left),
1277
- y: J.value.top + (L.value + K.value) * n + G.value[n] * W.value,
1278
- width: T(l)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
1279
- height: K.value <= 0 ? 1e-4 : K.value,
1276
+ x: T(l)(X.value ? q.value.left + q.value.width / 2 - (t.sign === 1 ? 0 : Z(t.value) <= 0 ? 1e-4 : Z(t.value)) : q.value.left),
1277
+ y: q.value.top + (L.value + G.value) * n + W.value[n] * U.value,
1278
+ width: T(l)(Z(t.value) <= 0 ? 1e-4 : Z(t.value)),
1279
+ height: G.value <= 0 ? 1e-4 : G.value,
1280
1280
  fill: `url(#pattern_${O.value}_${t.absoluteIndex})`,
1281
1281
  rx: N.value.style.chart.layout.bars.borderRadius,
1282
1282
  stroke: N.value.style.chart.layout.bars.useStroke ? t.color : "none",
1283
1283
  "stroke-width": N.value.style.chart.layout.bars.useStroke ? N.value.style.chart.layout.bars.strokeWidth : 0,
1284
1284
  class: _({ animated: N.value.useCssAnimation })
1285
1285
  }, null, 10, ct)) : p("", !0),
1286
- (!t.isChild || t.isLastChild) && N.value.style.chart.layout.separators.show && n !== U.value.length - 1 ? (b(), m("line", {
1286
+ (!t.isChild || t.isLastChild) && N.value.style.chart.layout.separators.show && n !== H.value.length - 1 ? (b(), m("line", {
1287
1287
  key: 1,
1288
1288
  x1: F.value,
1289
- x2: N.value.style.chart.layout.separators.fullWidth ? 0 : J.value.left,
1290
- y1: K.value + L.value / 2 + J.value.top + (L.value + K.value) * n + G.value[n] * W.value,
1291
- y2: K.value + L.value / 2 + J.value.top + (L.value + K.value) * n + G.value[n] * W.value,
1289
+ x2: N.value.style.chart.layout.separators.fullWidth ? 0 : q.value.left,
1290
+ y1: G.value + L.value / 2 + q.value.top + (L.value + G.value) * n + W.value[n] * U.value,
1291
+ y2: G.value + L.value / 2 + q.value.top + (L.value + G.value) * n + W.value[n] * U.value,
1292
1292
  stroke: N.value.style.chart.layout.separators.color,
1293
1293
  "stroke-width": N.value.style.chart.layout.separators.strokeWidth,
1294
1294
  "stroke-linecap": "round",
@@ -1297,12 +1297,12 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1297
1297
  animation: "none !important"
1298
1298
  }
1299
1299
  }, null, 8, lt)) : p("", !0),
1300
- Z.value && N.value.style.chart.layout.separators.show ? (b(), m("line", {
1300
+ X.value && N.value.style.chart.layout.separators.show ? (b(), m("line", {
1301
1301
  key: 2,
1302
- x1: J.value.left + J.value.width / 2,
1303
- x2: J.value.left + J.value.width / 2,
1304
- y1: J.value.top,
1305
- y2: J.value.bottom,
1302
+ x1: q.value.left + q.value.width / 2,
1303
+ x2: q.value.left + q.value.width / 2,
1304
+ y1: q.value.top,
1305
+ y2: q.value.bottom,
1306
1306
  stroke: N.value.style.chart.layout.separators.color,
1307
1307
  "stroke-width": N.value.style.chart.layout.separators.strokeWidth,
1308
1308
  "stroke-linecap": "round"
@@ -1311,12 +1311,12 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1311
1311
  h("g", {
1312
1312
  ref_key: "parentLabels",
1313
1313
  ref: mn
1314
- }, [(b(!0), m(u, null, S(U.value, (e, n) => (b(), m("g", dt, [
1314
+ }, [(b(!0), m(u, null, S(H.value, (e, n) => (b(), m("g", dt, [
1315
1315
  e.isChild && e.childIndex === 0 && N.value.style.chart.layout.bars.parentLabels.show ? (b(), m("rect", {
1316
1316
  key: 0,
1317
1317
  class: "vue-ui-horizontal-bar-parent-marker",
1318
1318
  x: 2,
1319
- y: sr(e, n).y - N.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1319
+ y: cr(e, n).y - N.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1320
1320
  height: N.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1321
1321
  width: N.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1322
1322
  rx: 1,
@@ -1328,39 +1328,39 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1328
1328
  }, null, 8, ft)) : p("", !0),
1329
1329
  e.isChild && e.childIndex === 0 && N.value.style.chart.layout.bars.parentLabels.show ? (b(), m("text", {
1330
1330
  key: 1,
1331
- y: sr(e, n).y,
1331
+ y: cr(e, n).y,
1332
1332
  "font-size": N.value.style.chart.layout.bars.parentLabels.fontSize,
1333
1333
  fill: N.value.style.chart.layout.bars.parentLabels.color,
1334
1334
  x: N.value.style.chart.layout.bars.parentLabels.offsetX + N.value.style.chart.layout.bars.parentLabels.fontSize,
1335
1335
  "font-weight": N.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
1336
1336
  "text-anchor": "start",
1337
1337
  innerHTML: T(t)({
1338
- content: `${lr(e, n)}`,
1338
+ content: `${ur(e, n)}`,
1339
1339
  fontSize: N.value.style.chart.layout.bars.parentLabels.fontSize,
1340
1340
  fill: N.value.style.chart.layout.bars.parentLabels.color,
1341
1341
  x: N.value.style.chart.layout.bars.parentLabels.offsetX + N.value.style.chart.layout.bars.parentLabels.fontSize,
1342
- y: sr(e, n).y,
1342
+ y: cr(e, n).y,
1343
1343
  translateY: !1
1344
1344
  })
1345
1345
  }, null, 8, pt)) : p("", !0),
1346
1346
  e.isChild && e.childIndex === 0 && N.value.style.chart.layout.bars.parentLabels.show ? (b(), m("text", {
1347
1347
  key: 2,
1348
- y: sr(e, n).y + T(ce)(lr(e, n)) * N.value.style.chart.layout.bars.parentLabels.fontSize * 1.1,
1348
+ y: cr(e, n).y + T(le)(ur(e, n)) * N.value.style.chart.layout.bars.parentLabels.fontSize * 1.1,
1349
1349
  "font-size": N.value.style.chart.layout.bars.parentLabels.fontSize,
1350
1350
  fill: N.value.style.chart.layout.bars.parentLabels.color,
1351
1351
  x: N.value.style.chart.layout.bars.parentLabels.offsetX + N.value.style.chart.layout.bars.parentLabels.fontSize,
1352
1352
  "font-weight": N.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
1353
1353
  "text-anchor": "start"
1354
- }, w(ur(e, n)), 9, mt)) : p("", !0)
1354
+ }, w(dr(e, n)), 9, mt)) : p("", !0)
1355
1355
  ]))), 256))], 512),
1356
1356
  h("g", {
1357
1357
  ref_key: "childLabels",
1358
1358
  ref: hn
1359
- }, [(b(!0), m(u, null, S(Jn.value, (e, n) => (b(), m("g", ht, [(e.isChild || !e.hasChildren) && N.value.style.chart.layout.bars.nameLabels.show ? (b(), m("text", {
1359
+ }, [(b(!0), m(u, null, S(Yn.value, (e, n) => (b(), m("g", ht, [(e.isChild || !e.hasChildren) && N.value.style.chart.layout.bars.nameLabels.show ? (b(), m("text", {
1360
1360
  key: 0,
1361
1361
  "text-anchor": "start",
1362
1362
  x: Math.abs(N.value.style.chart.layout.bars.nameLabels.offsetX),
1363
- y: T(l)(J.value.top + (L.value + K.value) * n + K.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 2 + G.value[n] * W.value),
1363
+ y: T(l)(q.value.top + (L.value + G.value) * n + G.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 2 + W.value[n] * U.value),
1364
1364
  "font-size": N.value.style.chart.layout.bars.nameLabels.fontSize,
1365
1365
  fill: "transparent",
1366
1366
  "font-weight": N.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
@@ -1370,15 +1370,15 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1370
1370
  fontSize: N.value.style.chart.layout.bars.nameLabels.fontSize,
1371
1371
  fill: "transparent",
1372
1372
  x: Math.abs(N.value.style.chart.layout.bars.nameLabels.offsetX),
1373
- y: T(l)(J.value.top + (L.value + K.value) * n + K.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 2 + G.value[n] * W.value),
1373
+ y: T(l)(q.value.top + (L.value + G.value) * n + G.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 2 + W.value[n] * U.value),
1374
1374
  translateY: !0
1375
1375
  })
1376
1376
  }, null, 8, gt)) : p("", !0)]))), 256))], 512),
1377
- h("g", null, [(b(!0), m(u, null, S(U.value, (e, n) => (b(), m("g", _t, [(e.isChild || !e.hasChildren) && N.value.style.chart.layout.bars.nameLabels.show ? (b(), m("text", {
1377
+ h("g", null, [(b(!0), m(u, null, S(H.value, (e, n) => (b(), m("g", _t, [(e.isChild || !e.hasChildren) && N.value.style.chart.layout.bars.nameLabels.show ? (b(), m("text", {
1378
1378
  key: 0,
1379
1379
  "text-anchor": "end",
1380
- x: J.value.left + N.value.style.chart.layout.bars.nameLabels.offsetX - 6,
1381
- y: J.value.top + (L.value + K.value) * n + K.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 3 + G.value[n] * W.value,
1380
+ x: q.value.left + N.value.style.chart.layout.bars.nameLabels.offsetX - 6,
1381
+ y: q.value.top + (L.value + G.value) * n + G.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 3 + W.value[n] * U.value,
1382
1382
  "font-size": N.value.style.chart.layout.bars.nameLabels.fontSize,
1383
1383
  fill: N.value.style.chart.layout.bars.nameLabels.color,
1384
1384
  "font-weight": N.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
@@ -1386,41 +1386,41 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1386
1386
  content: e.name,
1387
1387
  fontSize: N.value.style.chart.layout.bars.nameLabels.fontSize,
1388
1388
  fill: N.value.style.chart.layout.bars.nameLabels.color,
1389
- x: J.value.left + N.value.style.chart.layout.bars.nameLabels.offsetX - 6,
1390
- y: J.value.top + (L.value + K.value) * n + K.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 3 + G.value[n] * W.value,
1389
+ x: q.value.left + N.value.style.chart.layout.bars.nameLabels.offsetX - 6,
1390
+ y: q.value.top + (L.value + G.value) * n + G.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 3 + W.value[n] * U.value,
1391
1391
  translateY: !0
1392
1392
  })
1393
1393
  }, null, 8, vt)) : p("", !0)]))), 256))]),
1394
1394
  h("g", {
1395
1395
  ref_key: "dataLabels",
1396
1396
  ref: bn
1397
- }, [(b(!0), m(u, null, S(U.value, (e, t) => (b(), m("g", yt, [h("text", {
1398
- x: Z.value ? J.value.left + J.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -N.value.style.chart.layout.bars.dataLabels.offsetX : N.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(or(e.value) + 3 + N.value.style.chart.layout.bars.dataLabels.offsetX, J.value.right - 2),
1399
- y: J.value.top + (L.value + K.value) * t + K.value / 2 + G.value[t] * W.value + N.value.style.chart.layout.bars.dataLabels.fontSize / 3,
1400
- "text-anchor": !Z.value || e.sign === -1 ? "start" : "end",
1397
+ }, [(b(!0), m(u, null, S(H.value, (e, t) => (b(), m("g", yt, [h("text", {
1398
+ x: X.value ? q.value.left + q.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -N.value.style.chart.layout.bars.dataLabels.offsetX : N.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(sr(e.value) + 3 + N.value.style.chart.layout.bars.dataLabels.offsetX, q.value.right - 2),
1399
+ y: q.value.top + (L.value + G.value) * t + G.value / 2 + W.value[t] * U.value + N.value.style.chart.layout.bars.dataLabels.fontSize / 3,
1400
+ "text-anchor": !X.value || e.sign === -1 ? "start" : "end",
1401
1401
  "font-size": N.value.style.chart.layout.bars.dataLabels.fontSize,
1402
1402
  fill: N.value.style.chart.layout.bars.dataLabels.color,
1403
1403
  "font-weight": N.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
1404
- }, w(_r(e.value, e, t, e.sign)), 9, bt)]))), 256))], 512),
1405
- (b(!0), m(u, null, S(U.value, (e, t) => (b(), m("g", null, [h("rect", {
1404
+ }, w(vr(e.value, e, t, e.sign)), 9, bt)]))), 256))], 512),
1405
+ (b(!0), m(u, null, S(H.value, (e, t) => (b(), m("g", null, [h("rect", {
1406
1406
  x: 0,
1407
- y: J.value.top + (L.value + K.value) * t - L.value / 2 + G.value[t] * W.value,
1407
+ y: q.value.top + (L.value + G.value) * t - L.value / 2 + W.value[t] * U.value,
1408
1408
  width: F.value,
1409
- height: K.value + L.value <= 0 ? 1e-4 : K.value + L.value,
1410
- fill: dr.value === e.id ? T(ee)(N.value.style.chart.layout.highlighter.color, N.value.style.chart.layout.highlighter.opacity) : "transparent",
1411
- onMouseenter: (n) => hr(e, t, "pointer"),
1412
- onMouseleave: (n) => mr({
1409
+ height: G.value + L.value <= 0 ? 1e-4 : G.value + L.value,
1410
+ fill: fr.value === e.id ? T(i)(N.value.style.chart.layout.highlighter.color, N.value.style.chart.layout.highlighter.opacity) : "transparent",
1411
+ onMouseenter: (n) => gr(e, t, "pointer"),
1412
+ onMouseleave: (n) => hr({
1413
1413
  datapoint: e,
1414
1414
  seriesIndex: t
1415
1415
  }),
1416
- onClick: (n) => pr({
1416
+ onClick: (n) => mr({
1417
1417
  datapoint: e,
1418
1418
  seriesIndex: t
1419
1419
  })
1420
1420
  }, null, 40, xt)]))), 256)),
1421
1421
  C(e.$slots, "svg", { svg: {
1422
- ...q.value,
1423
- drawingArea: J.value,
1422
+ ...K.value,
1423
+ drawingArea: q.value,
1424
1424
  isPrintingImg: T(In) || T(Ln) || xn.value,
1425
1425
  isPrintingSvg: Sn.value
1426
1426
  } }, void 0, !0)
@@ -1435,26 +1435,26 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1435
1435
  ref: on
1436
1436
  }, [(b(), f(Me, {
1437
1437
  key: `legend_bottom_${un.value}`,
1438
- legendSet: V.value,
1439
- config: Xn.value,
1438
+ legendSet: B.value,
1439
+ config: Zn.value,
1440
1440
  isCursorPointer: P.value,
1441
- onClickMarker: n[1] ||= ({ legend: e }) => Y(e.id)
1441
+ onClickMarker: n[1] ||= ({ legend: e }) => J(e.id)
1442
1442
  }, Pe({
1443
1443
  item: E(({ legend: e, index: t }) => [h("div", {
1444
- onClick: (t) => Y(e.id),
1444
+ onClick: (t) => J(e.id),
1445
1445
  style: y(`opacity:${A.value.includes(e.id) ? .5 : 1}`)
1446
- }, w(gr({
1446
+ }, w(_r({
1447
1447
  legend: e,
1448
1448
  index: t
1449
1449
  })), 13, wt)]),
1450
- legendToggle: E(() => [V.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !T(On) ? (b(), f(De, {
1450
+ legendToggle: E(() => [B.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !T(On) ? (b(), f(De, {
1451
1451
  key: 0,
1452
1452
  backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
1453
1453
  color: N.value.style.chart.legend.selectAllToggle.color,
1454
1454
  fontSize: N.value.style.chart.legend.fontSize,
1455
1455
  checked: A.value.length > 0,
1456
1456
  isCursorPointer: P.value,
1457
- onToggle: er
1457
+ onToggle: tr
1458
1458
  }, null, 8, [
1459
1459
  "backgroundColor",
1460
1460
  "color",
@@ -1481,7 +1481,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1481
1481
  "config",
1482
1482
  "isCursorPointer"
1483
1483
  ]))], 512)) : p("", !0),
1484
- C(e.$slots, "legend", { legend: V.value }, void 0, !0),
1484
+ C(e.$slots, "legend", { legend: B.value }, void 0, !0),
1485
1485
  e.$slots.source ? (b(), m("div", {
1486
1486
  key: 8,
1487
1487
  ref_key: "source",
@@ -1490,7 +1490,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1490
1490
  }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1491
1491
  Ie(T(Ut), {
1492
1492
  teleportTo: N.value.style.chart.tooltip.teleportTo,
1493
- show: B.value.showTooltip && en.value && A.value.length < D.dataset.length,
1493
+ show: z.value.showTooltip && en.value && A.value.length < D.dataset.length,
1494
1494
  backgroundColor: N.value.style.chart.tooltip.backgroundColor,
1495
1495
  color: N.value.style.chart.tooltip.color,
1496
1496
  borderRadius: N.value.style.chart.tooltip.borderRadius,
@@ -1503,7 +1503,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1503
1503
  offsetY: N.value.style.chart.tooltip.offsetY,
1504
1504
  parent: k.value,
1505
1505
  content: tn.value,
1506
- isFullscreen: yr.value,
1506
+ isFullscreen: $.value,
1507
1507
  isCustom: N.value.style.chart.tooltip.customFormat && typeof N.value.style.chart.tooltip.customFormat == "function",
1508
1508
  smooth: N.value.style.chart.tooltip.smooth,
1509
1509
  backdropFilter: N.value.style.chart.tooltip.backdropFilter,
@@ -1512,9 +1512,9 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1512
1512
  isA11yMode: wn.value === "keyboard",
1513
1513
  a11yPosition: Cn.value
1514
1514
  }, {
1515
- "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...fr.value })), void 0, !0)]),
1516
- tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...fr.value })), void 0, !0)]),
1517
- "tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...fr.value })), void 0, !0)]),
1515
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...pr.value })), void 0, !0)]),
1516
+ tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...pr.value })), void 0, !0)]),
1517
+ "tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...pr.value })), void 0, !0)]),
1518
1518
  _: 3
1519
1519
  }, 8, [
1520
1520
  "teleportTo",
@@ -1580,16 +1580,16 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1580
1580
  h("thead", null, [h("tr", {
1581
1581
  role: "row",
1582
1582
  style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color}`)
1583
- }, [(b(!0), m(u, null, S($.value.head, (e) => (b(), m("th", { style: y(`outline:${N.value.table.th.outline}`) }, [h("div", Ot, w(e), 1)], 4))), 256))], 4), h("tr", null, [
1583
+ }, [(b(!0), m(u, null, S(Q.value.head, (e) => (b(), m("th", { style: y(`outline:${N.value.table.th.outline}`) }, [h("div", Ot, w(e), 1)], 4))), 256))], 4), h("tr", null, [
1584
1584
  h("th", { style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4),
1585
- h("th", { style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " ∑ " + w(N.value.table.td.prefix) + w(isNaN(X.value) ? "" : X.value.toFixed(N.value.table.td.roundingValue)) + w(N.value.table.td.suffix), 5),
1585
+ h("th", { style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " ∑ " + w(N.value.table.td.prefix) + w(isNaN(Y.value) ? "" : Y.value.toFixed(N.value.table.td.roundingValue)) + w(N.value.table.td.suffix), 5),
1586
1586
  h("th", { style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " 100% ", 4),
1587
1587
  h("th", { style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4),
1588
1588
  h("th", { style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4),
1589
1589
  h("th", { style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4),
1590
1590
  h("th", { style: y(`background:${N.value.table.th.backgroundColor};color:${N.value.table.th.color};outline:${N.value.table.th.outline}`) }, null, 4)
1591
1591
  ])]),
1592
- h("tbody", null, [(b(!0), m(u, null, S($.value.body, (e, t) => (b(), m("tr", {
1592
+ h("tbody", null, [(b(!0), m(u, null, S(Q.value.body, (e, t) => (b(), m("tr", {
1593
1593
  class: _({
1594
1594
  "vue-ui-data-table__tbody__row": !0,
1595
1595
  "vue-ui-data-table__tbody__row-even": t % 2 == 0,
@@ -1600,7 +1600,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1600
1600
  h("td", {
1601
1601
  class: "vue-ui-data-table__tbody__td",
1602
1602
  style: y(`outline:${N.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1603
- "data-cell": $.value.head[0] ?? ""
1603
+ "data-cell": Q.value.head[0] ?? ""
1604
1604
  }, [h("div", At, [e.color ? (b(), m("span", {
1605
1605
  key: 0,
1606
1606
  style: y(`color:${e.color};margin-right:3px`)
@@ -1608,7 +1608,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1608
1608
  h("td", {
1609
1609
  class: "vue-ui-data-table__tbody__td",
1610
1610
  style: y(`outline:${N.value.table.td.outline}`),
1611
- "data-cell": $.value.head[1] ?? ""
1611
+ "data-cell": Q.value.head[1] ?? ""
1612
1612
  }, [h("div", Mt, w(N.value.table.td.prefix) + w([
1613
1613
  "",
1614
1614
  NaN,
@@ -1617,7 +1617,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1617
1617
  h("td", {
1618
1618
  class: "vue-ui-data-table__tbody__td",
1619
1619
  style: y(`outline:${N.value.table.td.outline}`),
1620
- "data-cell": $.value.head[2] ?? ""
1620
+ "data-cell": Q.value.head[2] ?? ""
1621
1621
  }, [h("div", Pt, w([
1622
1622
  "",
1623
1623
  NaN,
@@ -1626,12 +1626,12 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1626
1626
  h("td", {
1627
1627
  class: "vue-ui-data-table__tbody__td",
1628
1628
  style: y(`outline:${N.value.table.td.outline}`),
1629
- "data-cell": $.value.head[3] ?? ""
1629
+ "data-cell": Q.value.head[3] ?? ""
1630
1630
  }, [h("div", It, w(e.childName), 1)], 12, Ft),
1631
1631
  h("td", {
1632
1632
  class: "vue-ui-data-table__tbody__td",
1633
1633
  style: y(`outline:${N.value.table.td.outline}`),
1634
- "data-cell": $.value.head[4] ?? ""
1634
+ "data-cell": Q.value.head[4] ?? ""
1635
1635
  }, [h("div", Rt, w(N.value.table.td.prefix) + w([
1636
1636
  "",
1637
1637
  NaN,
@@ -1640,7 +1640,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1640
1640
  h("td", {
1641
1641
  class: "vue-ui-data-table__tbody__td",
1642
1642
  style: y(`outline:${N.value.table.td.outline}`),
1643
- "data-cell": $.value.head[5] ?? ""
1643
+ "data-cell": Q.value.head[5] ?? ""
1644
1644
  }, [h("div", Bt, w([
1645
1645
  "",
1646
1646
  NaN,
@@ -1649,7 +1649,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1649
1649
  h("td", {
1650
1650
  class: "vue-ui-data-table__tbody__td",
1651
1651
  style: y(`outline:${N.value.table.td.outline}`),
1652
- "data-cell": $.value.head[6] ?? ""
1652
+ "data-cell": Q.value.head[6] ?? ""
1653
1653
  }, [h("div", Ht, w([
1654
1654
  "",
1655
1655
  NaN,
@@ -1667,7 +1667,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
1667
1667
  fn: E(() => [h("button", {
1668
1668
  tabindex: "0",
1669
1669
  class: "vue-ui-user-options-button",
1670
- onClick: n[2] ||= (e) => vr(N.value.userOptions.callbacks.csv),
1670
+ onClick: n[2] ||= (e) => yr(N.value.userOptions.callbacks.csv),
1671
1671
  style: y({ cursor: P.value ? "pointer" : "default" })
1672
1672
  }, [Ie(T(Wt), {
1673
1673
  name: "fileCsv",