vue-data-ui 3.20.10 → 3.21.0

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 (190) hide show
  1. package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
  2. package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
  3. package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
  4. package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
  5. package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
  6. package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
  7. package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
  8. package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
  10. package/dist/{PackageVersion-BbgWxFC4.js → PackageVersion-DYLo3MRd.js} +1 -1
  11. package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
  12. package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
  13. package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
  14. package/dist/SlicerPreview-CXLgqXX8.js +1676 -0
  15. package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
  16. package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
  17. package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
  18. package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
  89. package/dist/exposedLib-BJbE_A8E.js +19 -0
  90. package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
  91. package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
  92. package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
  93. package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
  94. package/dist/ssr.js +1366 -0
  95. package/dist/style.css +1 -1
  96. package/dist/types/ssr.d.ts +128 -0
  97. package/dist/types/vue-data-ui.d.ts +135 -1
  98. package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
  99. package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
  100. package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
  101. package/dist/utils.js +8 -8
  102. package/dist/{vue-data-ui-CBjd88aV.js → vue-data-ui-D2dM3IQZ.js} +68 -68
  103. package/dist/vue-data-ui.js +72 -72
  104. package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
  105. package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
  106. package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
  107. package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
  108. package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
  109. package/dist/{vue-ui-bump-S-FGGlPW.js → vue-ui-bump-BVCYywuS.js} +253 -253
  110. package/dist/{vue-ui-candlestick-BaaswVai.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
  111. package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
  112. package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
  113. package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
  114. package/dist/{vue-ui-circle-pack--4oUO8hO.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
  115. package/dist/{vue-ui-cursor-C7zZVebz.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
  116. package/dist/{vue-ui-dag-DsCnV6f0.js → vue-ui-dag-lL0juBzN.js} +20 -20
  117. package/dist/{vue-ui-dashboard-CmTnG8CS.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
  118. package/dist/{vue-ui-digits-BQ0e9Czq.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
  119. package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
  120. package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
  121. package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
  122. package/dist/{vue-ui-flow-jBINqYMb.js → vue-ui-flow-BXfzMTXx.js} +57 -57
  123. package/dist/{vue-ui-funnel-B9DsneCv.js → vue-ui-funnel-BpnC82m0.js} +32 -32
  124. package/dist/{vue-ui-galaxy-SAZjgllD.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
  125. package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
  126. package/dist/{vue-ui-geo-B41ZRCPC.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
  127. package/dist/{vue-ui-gizmo-PL2TAIV_.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
  128. package/dist/{vue-ui-heatmap-NkJ_KGMs.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
  129. package/dist/{vue-ui-history-plot-B9KX1kKs.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
  130. package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
  131. package/dist/{vue-ui-kpi-Bo4x1-vC.js → vue-ui-kpi-B9bdicir.js} +3 -3
  132. package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
  133. package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
  134. package/dist/{vue-ui-mood-radar-DE71e1H_.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
  135. package/dist/{vue-ui-nested-donuts-DQhSwNYF.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
  136. package/dist/{vue-ui-onion-X9anqRDz.js → vue-ui-onion-3fJB4mfC.js} +45 -45
  137. package/dist/{vue-ui-parallel-coordinate-plot-aN0OHwgH.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
  138. package/dist/{vue-ui-quadrant-CpKMBoX9.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
  139. package/dist/{vue-ui-quick-chart-BwD7IGYx.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
  140. package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
  141. package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
  142. package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
  143. package/dist/{vue-ui-ridgeline-68X0PTKo.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
  144. package/dist/{vue-ui-rings-cDPIzhPb.js → vue-ui-rings-BgFO7NYF.js} +81 -81
  145. package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
  146. package/dist/{vue-ui-skeleton-BD0JzrcV.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
  147. package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
  148. package/dist/{vue-ui-spark-trend-DLXJpfGh.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
  149. package/dist/{vue-ui-sparkbar-5pFFPu5l.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
  150. package/dist/{vue-ui-sparkgauge--CihPbUW.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
  151. package/dist/{vue-ui-sparkhistogram-CjrIcako.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
  152. package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
  153. package/dist/{vue-ui-sparkstackbar-Dlg1W_fF.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
  154. package/dist/{vue-ui-stackbar-DltfPoDm.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
  155. package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
  156. package/dist/{vue-ui-strip-plot-CEE-cw3d.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
  157. package/dist/{vue-ui-table-C7AvFChf.js → vue-ui-table-R-aXpHvF.js} +86 -86
  158. package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
  159. package/dist/{vue-ui-table-sparkline-DgTHhaZI.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
  160. package/dist/{vue-ui-thermometer-Cg7jcmgc.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
  161. package/dist/{vue-ui-timer-U045embk.js → vue-ui-timer-AlYvthQ6.js} +23 -23
  162. package/dist/{vue-ui-tiremarks-T55IpHYP.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
  163. package/dist/{vue-ui-treemap-BPQ-Ekq4.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
  164. package/dist/{vue-ui-waffle-DNCJGwEA.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
  165. package/dist/{vue-ui-wheel-5GuVbUOq.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
  166. package/dist/{vue-ui-word-cloud-Cs-MBJJU.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
  167. package/dist/{vue-ui-world-D3v5f6dU.js → vue-ui-world-B93iq1ZM.js} +445 -445
  168. package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
  169. package/dist/{vue-ui-xy-canvas-Ww81eEZ6.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
  170. package/package.json +6 -2
  171. package/dist/SlicerPreview-CpvCUAIM.js +0 -1669
  172. package/dist/exposedLib-CI8ji8G-.js +0 -19
  173. package/dist/vue-ui-3d-bar-DmMi_eVe.js +0 -1757
  174. package/dist/vue-ui-age-pyramid-CbJDodNj.js +0 -1238
  175. package/dist/vue-ui-bullet-rCmOch09.js +0 -710
  176. package/dist/vue-ui-carousel-table-DFUP6c1B.js +0 -455
  177. package/dist/vue-ui-chestnut-DKNsQA7h.js +0 -2010
  178. package/dist/vue-ui-chord-BMkz02R6.js +0 -1391
  179. package/dist/vue-ui-donut-BLlR2VgI.js +0 -2410
  180. package/dist/vue-ui-donut-evolution-kXDchwtH.js +0 -1510
  181. package/dist/vue-ui-dumbbell-BWuXbccQ.js +0 -1530
  182. package/dist/vue-ui-gauge-NSzY9L6X.js +0 -920
  183. package/dist/vue-ui-horizontal-bar-mmoqYnkA.js +0 -1681
  184. package/dist/vue-ui-molecule-QoXYCfyP.js +0 -925
  185. package/dist/vue-ui-radar-TfxsgQrA.js +0 -1229
  186. package/dist/vue-ui-relation-circle-CMqV9U6C.js +0 -924
  187. package/dist/vue-ui-scatter-8nirnHQi.js +0 -2413
  188. package/dist/vue-ui-sparkline-DPZm7RqN.js +0 -1507
  189. package/dist/vue-ui-stackline-6agFEYxZ.js +0 -2398
  190. package/dist/vue-ui-xy-C0kcCaFA.js +0 -4747
@@ -1,26 +1,26 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { B as t, Bt as n, Ct as r, Et as a, G as o, H as s, It as c, J as l, Lt as u, Rt as d, S as f, V as p, X as ee, bt as te, et as m, g as ne, h as re, i as h, nt as ie, ot as ae, pt as oe, r as se, s as ce, t as le, x as ue, y as de } from "./lib-DUeYQsS0.js";
2
+ import { B as t, Bt as n, G as r, H as a, Ht as o, J as s, Ot as c, Rt as l, S as u, St as d, Tt as f, V as p, X as ee, ct as te, g as ne, h as re, ht as ie, i as m, it as ae, nt as h, r as oe, s as se, t as ce, x as le, y as ue, zt as de } from "./lib-AJRHFE5U.js";
3
3
  import { n as fe, r as pe, t as me } from "./useTimeLabels-BmBRv27Y.js";
4
4
  import { t as he } from "./useConfig-DnH7Pf_2.js";
5
- import { t as ge } from "./usePrinter-C1Gqt_Sp.js";
5
+ import { t as ge } from "./usePrinter-6n2MzVyV.js";
6
6
  import { n as _e, t as ve } from "./BaseScanner-Dr2a1Msy.js";
7
7
  import { t as ye } from "./useSvgExport-SVIsDot8.js";
8
- import { t as be } from "./useNestedProp-CNcoy38D.js";
8
+ import { t as be } from "./useNestedProp-DtcXIg7n.js";
9
9
  import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
10
10
  import { t as Se } from "./useStableElementSize-C7KADDKj.js";
11
11
  import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as we } from "./img-1cKsci8e.js";
13
- import { n as Te } from "./Title-NWp4qB4K.js";
14
- import { t as Ee } from "./Shape-BPCJfphn.js";
12
+ import { t as we } from "./img-C_RNNswI.js";
13
+ import { n as Te } from "./Title-DH6G8_cZ.js";
14
+ import { t as Ee } from "./Shape-BxFtoF1z.js";
15
15
  import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
16
  import { c as Oe } from "./canvas-lib-BOP_HS11.js";
17
17
  import { t as ke } from "./useResponsive-BfnK0KxU.js";
18
- import { t as Ae } from "./SlicerPreview-CpvCUAIM.js";
19
- import { t as je } from "./BaseLegendToggle-C_Db-y7s.js";
18
+ import { t as Ae } from "./SlicerPreview-CXLgqXX8.js";
19
+ import { t as je } from "./BaseLegendToggle-BNRi408o.js";
20
20
  import { t as Me } from "./A11yDataTable-BCbtxMU6.js";
21
21
  import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
22
22
  import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
23
- import { t as Fe } from "./Legend-Cz2uQ5gs.js";
23
+ import { t as Fe } from "./Legend-BLhREbj7.js";
24
24
  import { t as Ie } from "./vue_ui_stackbar-COOrQQdK.js";
25
25
  import { Fragment as g, Teleport as Le, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as Ve, guardReactiveProps as S, mergeProps as He, nextTick as Ue, normalizeClass as We, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ge, onMounted as Ke, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as k, toRefs as Ye, unref as A, useSlots as Xe, watch as Ze, watchEffect as Qe, withCtx as j } from "vue";
26
26
  //#region src/components/vue-ui-stackbar.vue
@@ -280,14 +280,14 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
280
280
  "copyAlt"
281
281
  ],
282
282
  setup(e, { expose: De, emit: $e }) {
283
- let Qt = Ve(() => import("./Tooltip-BENq327o.js")), $t = Ve(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), en = Ve(() => import("./vue-ui-accordion-Bpbv-VHE.js").then((e) => e.n)), tn = Ve(() => import("./DataTable-B--IN22e.js")), nn = Ve(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), rn = Ve(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), an = Ve(() => import("./PackageVersion-BbgWxFC4.js").then((e) => e.t)), on = Ve(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_stackbar: sn } = he(), { isThemeValid: cn, warnInvalidTheme: ln } = xe(), un = Xe(), M = e, N = $e, dn = _({
283
+ let Qt = Ve(() => import("./Tooltip-979Ytd8R.js")), $t = Ve(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), en = Ve(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), tn = Ve(() => import("./DataTable-DweDyHc1.js")), nn = Ve(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), rn = Ve(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), an = Ve(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), on = Ve(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_stackbar: sn } = he(), { isThemeValid: cn, warnInvalidTheme: ln } = xe(), un = Xe(), M = e, N = $e, dn = _({
284
284
  get() {
285
285
  return !!M.dataset && M.dataset.length;
286
286
  },
287
287
  set(e) {
288
288
  return e;
289
289
  }
290
- }), P = E(null), F = E(s()), fn = E(!1), pn = E(null), mn = E(""), I = E([]), hn = E(0), gn = E(null), _n = E(null), vn = E(null), yn = E(null), bn = E(!1), L = E(null), xn = E(!1), Sn = E(0), Cn = E(0), wn = E(0), Tn = E(!1), En = E(null), Dn = E(null), On = E(!1), kn = E(!1), An = E(null), jn = E(null), Mn = E(null), Nn = E(null), Pn = E(null), Fn = E(null), In = Je(null), Ln = E(!1), Rn = E(0), zn = E(0), R = E(null), Bn = E({
290
+ }), P = E(null), F = E(a()), fn = E(!1), pn = E(null), mn = E(""), I = E([]), hn = E(0), gn = E(null), _n = E(null), vn = E(null), yn = E(null), bn = E(!1), L = E(null), xn = E(!1), Sn = E(0), Cn = E(0), wn = E(0), Tn = E(!1), En = E(null), Dn = E(null), On = E(!1), kn = E(!1), An = E(null), jn = E(null), Mn = E(null), Nn = E(null), Pn = E(null), Fn = E(null), In = Je(null), Ln = E(!1), Rn = E(0), zn = E(0), R = E(null), Bn = E({
291
291
  x: 0,
292
292
  y: 0
293
293
  }), Vn = E("pointer"), Hn = Se({
@@ -318,7 +318,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
318
318
  Ke(() => {
319
319
  Tn.value = !0, Un(), Hn.start(), mr();
320
320
  });
321
- let z = E(rr()), B = _(() => z.value.userOptions.useCursorPointer), qn = _(() => n({
321
+ let z = E(rr()), B = _(() => z.value.userOptions.useCursorPointer), qn = _(() => o({
322
322
  defaultConfig: {
323
323
  userOptions: { show: !1 },
324
324
  useCssAnimation: !1,
@@ -395,7 +395,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
395
395
  ],
396
396
  color: "#CACACA"
397
397
  }],
398
- skeletonConfig: n({
398
+ skeletonConfig: o({
399
399
  defaultConfig: z.value,
400
400
  userConfig: qn.value
401
401
  })
@@ -414,19 +414,19 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
414
414
  let e = be({
415
415
  userConfig: M.config,
416
416
  defaultConfig: sn
417
- }), t = {}, n = e.theme;
418
- if (n) if (!cn.value(e)) ln(e), t = e;
417
+ }), t = {}, r = e.theme;
418
+ if (r) if (!cn.value(e)) ln(e), t = e;
419
419
  else {
420
- let r = be({
421
- userConfig: Ie[n] || M.config,
420
+ let a = be({
421
+ userConfig: Ie[r] || M.config,
422
422
  defaultConfig: e
423
423
  });
424
424
  t = {
425
425
  ...be({
426
426
  userConfig: M.config,
427
- defaultConfig: r
427
+ defaultConfig: a
428
428
  }),
429
- customPalette: e.customPalette.length ? e.customPalette : d[n] || a
429
+ customPalette: e.customPalette.length ? e.customPalette : n[r] || c
430
430
  };
431
431
  }
432
432
  else t = e;
@@ -463,14 +463,14 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
463
463
  bottom: z.value.style.chart.padding.bottom / z.value.style.chart.height,
464
464
  left: z.value.style.chart.padding.left / z.value.style.chart.width
465
465
  }
466
- }), ur = _(() => ue(z.value.customPalette)), U = Je(null), dr = Je(null), fr = E(null), pr = _(() => !!z.value.debug);
466
+ }), ur = _(() => le(z.value.customPalette)), U = Je(null), dr = Je(null), fr = E(null), pr = _(() => !!z.value.debug);
467
467
  function mr({ resetSlicer: e = !0 } = {}) {
468
- if (r(M.dataset) ? (ee({
468
+ if (f(M.dataset) ? (ee({
469
469
  componentName: "VueUiStackbar",
470
470
  type: "dataset",
471
471
  debug: pr.value
472
472
  }), Xn.value = !0) : M.dataset.forEach((e, t) => {
473
- ae({
473
+ te({
474
474
  datasetObject: e,
475
475
  requiredAttributes: ["name", "series"]
476
476
  }).forEach((e) => {
@@ -482,7 +482,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
482
482
  debug: pr.value
483
483
  }), Xn.value = !0;
484
484
  });
485
- }), r(M.dataset) || (Xn.value = z.value.loading), setTimeout(() => {
485
+ }), f(M.dataset) || (Xn.value = z.value.loading), setTimeout(() => {
486
486
  xn.value = !0;
487
487
  }, 10), z.value.responsive) {
488
488
  let e = Oe(() => {
@@ -651,7 +651,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
651
651
  };
652
652
  }
653
653
  }), K = _(() => Yn.value.map((e, t) => {
654
- let n = `stackbar_serie_${t}`, r = de(e.color) || ur.value[t] || a[t] || a[t % a.length];
654
+ let n = `stackbar_serie_${t}`, r = ue(e.color) || ur.value[t] || c[t] || c[t % c.length];
655
655
  return {
656
656
  ...e,
657
657
  series: JSON.parse(JSON.stringify(e.series)).map((e) => z.value.style.chart.bars.distributed ? Math.abs(e) : e),
@@ -700,7 +700,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
700
700
  let X = _(() => {
701
701
  let e;
702
702
  return e = z.value.orientation === "vertical" ? G.value.width / (J.value.end - J.value.start) : G.value.height / (J.value.end - J.value.start), e <= 0 ? 0 : e;
703
- }), Nr = _(() => c(K.value.filter((e) => !I.value.includes(e.id))).slice(J.value.start, J.value.end)), Pr = _(() => I.value.length === K.value.length), Fr = _(() => z.value.style.chart.zoom.minimap.show ? c(K.value.map((e) => ({
703
+ }), Nr = _(() => l(K.value.filter((e) => !I.value.includes(e.id))).slice(J.value.start, J.value.end)), Pr = _(() => I.value.length === K.value.length), Fr = _(() => z.value.style.chart.zoom.minimap.show ? l(K.value.map((e) => ({
704
704
  ...e,
705
705
  series: e.series.map((e) => e ?? 0)
706
706
  })).filter((e) => Pr.value ? !0 : !I.value.includes(e.id))) : []), Ir = _(() => z.value.style.chart.zoom.minimap.show ? [{
@@ -708,17 +708,17 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
708
708
  series: Fr.value,
709
709
  color: "#000000",
710
710
  isVisible: !0
711
- }] : []), Lr = _(() => c(K.value.filter((e) => !I.value.includes(e.id)).map((e) => ({
711
+ }] : []), Lr = _(() => l(K.value.filter((e) => !I.value.includes(e.id)).map((e) => ({
712
712
  ...e,
713
713
  series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
714
714
  }))).slice(J.value.start, J.value.end)), Rr = _(() => {
715
715
  let e = K.value.filter((e) => !I.value.includes(e.id));
716
716
  return {
717
- positive: c(e.map((e) => ({
717
+ positive: l(e.map((e) => ({
718
718
  ...e,
719
719
  series: e.series.slice(J.value.start, J.value.end).map((e) => e >= 0 ? e : 0)
720
720
  }))),
721
- negative: c(e.map((e) => ({
721
+ negative: l(e.map((e) => ({
722
722
  ...e,
723
723
  series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
724
724
  })))
@@ -773,7 +773,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
773
773
  return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
774
774
  }), Ur = _(() => {
775
775
  let e = z.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = zr.value || [], r = J.value.start ?? 0, a = L.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
776
- return ce(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Hr.value || 1), s, c, r, a, o);
776
+ return se(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Hr.value || 1), s, c, r, a, o);
777
777
  });
778
778
  Qe(() => {
779
779
  z.value.orientation, z.value.style.chart.grid.x.timeLabels.show, z.value.style.chart.grid.x.timeLabels.fontSize, z.value.style.chart.grid.x.timeLabels.rotation, z.value.style.chart.grid.x.timeLabels.offsetY, Ur.value?.map((e) => e?.text ?? "").join("|"), Z.value?.map((e) => e?.value ?? "").join("|"), H.value.width, H.value.height, Nn.value, Mn.value, An.value, Cr();
@@ -815,27 +815,27 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
815
815
  NaN,
816
816
  void 0,
817
817
  null
818
- ].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ne(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : re(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, ee = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, te = Array(Fr.value.length).fill(0), m = Array(Fr.value.length).fill(0);
818
+ ].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ne(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : re(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, ee = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, te = Array(Fr.value.length).fill(0), ie = Array(Fr.value.length).fill(0);
819
819
  return K.value.filter((e) => !I.value.includes(e.id)).map((a) => {
820
- let o = a.series.slice(), s = o.map((e, t) => te[t]), c = o.map((e, t) => m[t]);
820
+ let o = a.series.slice(), s = o.map((e, t) => te[t]), c = o.map((e, t) => ie[t]);
821
821
  o.forEach((e, t) => {
822
- (Number(e) || 0) >= 0 ? te[t] += Number(e) || 0 : m[t] += Math.abs(Number(e) || 0);
822
+ (Number(e) || 0) >= 0 ? te[t] += Number(e) || 0 : ie[t] += Math.abs(Number(e) || 0);
823
823
  });
824
- let l = a.series.slice(J.value.start, J.value.end), ne = a.signedSeries.slice(J.value.start, J.value.end), re = l.map((e, t) => G.value.left + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), h = (Fr.value || []).filter(Number.isFinite), ie = h.length ? Math.max(...h) : 0, ae = h.length ? Math.min(...h) : 0;
824
+ let l = a.series.slice(J.value.start, J.value.end), ne = a.signedSeries.slice(J.value.start, J.value.end), re = l.map((e, t) => G.value.left + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), m = (Fr.value || []).filter(Number.isFinite), ae = m.length ? Math.max(...m) : 0, h = m.length ? Math.min(...m) : 0;
825
825
  function oe({ minimapH: e }) {
826
- let t = 1e-9, n = ie > 0;
827
- if (n && ae < 0) {
828
- let n = Math.max(ie, Math.abs(ae)) || t;
826
+ let t = 1e-9, n = ae > 0;
827
+ if (n && h < 0) {
828
+ let n = Math.max(ae, Math.abs(h)) || t;
829
829
  return {
830
830
  pxPerUnit: e / 2 / n,
831
831
  zero: e / 2
832
832
  };
833
833
  }
834
834
  return n ? {
835
- pxPerUnit: e / Math.max(t, ie),
835
+ pxPerUnit: e / Math.max(t, ae),
836
836
  zero: e
837
837
  } : {
838
- pxPerUnit: e / Math.max(t, Math.abs(ae)),
838
+ pxPerUnit: e / Math.max(t, Math.abs(h)),
839
839
  zero: 0
840
840
  };
841
841
  }
@@ -889,9 +889,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
889
889
  value: e,
890
890
  sign: e >= 0 ? 1 : -1
891
891
  })));
892
- function Xr(e, t, n, r, a) {
893
- let s = a === -1 && e >= 0 ? -e : e;
894
- return h(z.value.style.chart.bars.dataLabels.formatter, s, o({
892
+ function Xr(e, t, n, a, o) {
893
+ let s = o === -1 && e >= 0 ? -e : e;
894
+ return m(z.value.style.chart.bars.dataLabels.formatter, s, r({
895
895
  p: z.value.style.chart.bars.dataLabels.prefix,
896
896
  v: s,
897
897
  s: z.value.style.chart.bars.dataLabels.suffix,
@@ -899,18 +899,18 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
899
899
  }), {
900
900
  datapoint: t,
901
901
  seriesIndex: n,
902
- datapointIndex: r
902
+ datapointIndex: a
903
903
  });
904
904
  }
905
- function Zr(e, t, n, r) {
906
- return h(z.value.style.chart.bars.dataLabels.formatter, e, o({
905
+ function Zr(e, t, n, a) {
906
+ return m(z.value.style.chart.bars.dataLabels.formatter, e, r({
907
907
  v: isNaN(e) ? 0 : e,
908
908
  s: "%",
909
909
  r: z.value.style.chart.bars.dataLabels.rounding
910
910
  }), {
911
911
  datapoint: t,
912
912
  seriesIndex: n,
913
- datapointIndex: r
913
+ datapointIndex: a
914
914
  });
915
915
  }
916
916
  function Qr(e) {
@@ -967,29 +967,29 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
967
967
  function ri(e, t = "pointer") {
968
968
  if (Pr.value) return;
969
969
  Vn.value = t, R.value = e, L.value = e, fn.value = !0;
970
- let n = z.value.style.chart.tooltip.customFormat, r = $r(e);
970
+ let n = z.value.style.chart.tooltip.customFormat, a = $r(e);
971
971
  Hi({
972
972
  seriesIndex: e,
973
- datapoint: r
973
+ datapoint: a
974
974
  }), z.value.events.datapointEnter && z.value.events.datapointEnter({
975
- datapoint: r,
975
+ datapoint: a,
976
976
  seriesIndex: e + J.value.start
977
977
  }), pn.value = {
978
978
  timeLabel: ni(e),
979
- datapoint: r,
979
+ datapoint: a,
980
980
  seriesIndex: e,
981
981
  config: z.value,
982
982
  series: $.value
983
983
  };
984
- let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), s = r.map((e) => m(e.value)).reduce((e, t) => e + t, 0);
985
- if (oe(n) && ie(() => n({
984
+ let o = a.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), s = a.map((e) => h(e.value)).reduce((e, t) => e + t, 0);
985
+ if (ie(n) && ae(() => n({
986
986
  seriesIndex: e,
987
- datapoint: r,
987
+ datapoint: a,
988
988
  series: $.value,
989
989
  config: z.value
990
990
  }))) mn.value = n({
991
991
  seriesIndex: e,
992
- datapoint: r,
992
+ datapoint: a,
993
993
  series: $.value,
994
994
  config: z.value
995
995
  });
@@ -998,7 +998,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
998
998
  ee && (p += `<div style="width:100%;text-align:center;border-bottom:1px solid ${u};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (p += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
999
999
  <span>${c}:</span>
1000
1000
  <span>
1001
- ${h(z.value.style.chart.bars.dataLabels.formatter, s, o({
1001
+ ${m(z.value.style.chart.bars.dataLabels.formatter, s, r({
1002
1002
  p: z.value.style.chart.bars.dataLabels.prefix,
1003
1003
  v: s,
1004
1004
  s: z.value.style.chart.bars.dataLabels.suffix,
@@ -1010,17 +1010,17 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1010
1010
  </span>
1011
1011
  </div>`);
1012
1012
  let te = [t && l ? "(" : "", t && l ? ")" : ""];
1013
- r.reverse().forEach((e) => {
1013
+ a.reverse().forEach((e) => {
1014
1014
  p += `
1015
1015
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
1016
1016
  <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${un.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${F.value}_${e.absoluteIndex})"/>` : ""}</svg>
1017
- ${e.name}${t || l ? ":" : ""} ${t ? h(z.value.style.chart.bars.dataLabels.formatter, e.value, o({
1017
+ ${e.name}${t || l ? ":" : ""} ${t ? m(z.value.style.chart.bars.dataLabels.formatter, e.value, r({
1018
1018
  p: z.value.style.chart.bars.dataLabels.prefix,
1019
1019
  v: e.value,
1020
1020
  s: z.value.style.chart.bars.dataLabels.suffix,
1021
1021
  r: d
1022
- }, { datapoint: e })) : ""} ${te[0]}${l ? o({
1023
- v: isNaN(e.value / a) ? 0 : Math.abs(e.value) / a * 100,
1022
+ }, { datapoint: e })) : ""} ${te[0]}${l ? r({
1023
+ v: isNaN(e.value / o) ? 0 : Math.abs(e.value) / o * 100,
1024
1024
  s: "%",
1025
1025
  r: f
1026
1026
  }) : ""}${te[1]}
@@ -1098,8 +1098,8 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1098
1098
  [z.value.style.chart.title.text],
1099
1099
  [z.value.style.chart.title.subtitle.text],
1100
1100
  [""]
1101
- ], n = ["", ...di.value.head.map((e) => e.label)], r = di.value.body, a = f(t.concat([n]).concat(r));
1102
- e ? e(a) : l({
1101
+ ], n = ["", ...di.value.head.map((e) => e.label)], r = di.value.body, a = u(t.concat([n]).concat(r));
1102
+ e ? e(a) : s({
1103
1103
  csvContent: a,
1104
1104
  title: z.value.style.chart.title.text || "vue-ui-stackbar"
1105
1105
  });
@@ -1385,7 +1385,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1385
1385
  if (!Number.isFinite(e)) return;
1386
1386
  let t, n;
1387
1387
  z.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, n = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, n = G.value.top + e * X.value + X.value / 2);
1388
- let r = u(t, n, er.value);
1388
+ let r = de(t, n, er.value);
1389
1389
  r && (Bn.value = r);
1390
1390
  }
1391
1391
  let Qi = _(() => ({
@@ -1407,7 +1407,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1407
1407
  toggleAnnotator: Si,
1408
1408
  toggleFullscreen: oi,
1409
1409
  copyAlt: Ki
1410
- }), (n, r) => (T(), b("div", {
1410
+ }), (n, a) => (T(), b("div", {
1411
1411
  id: `stackbar_${F.value}`,
1412
1412
  ref_key: "stackbarChart",
1413
1413
  ref: P,
@@ -1600,7 +1600,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1600
1600
  x("div", rt, [(T(), b("svg", {
1601
1601
  ref_key: "svgRef",
1602
1602
  ref: er,
1603
- xmlns: A(le),
1603
+ xmlns: A(ce),
1604
1604
  "aria-describedby": `chart-instructions-${F.value}`,
1605
1605
  viewBox: `0 0 ${G.value.chartWidth <= 0 ? 10 : G.value.chartWidth} ${G.value.chartHeight <= 0 ? 10 : G.value.chartHeight}`,
1606
1606
  class: We({ "vue-data-ui-loading": A(Jn) }),
@@ -1632,7 +1632,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1632
1632
  }, null, 8, ct),
1633
1633
  x("stop", {
1634
1634
  offset: "61.8%",
1635
- "stop-color": A(te)(e.color, z.value.style.chart.bars.gradient.intensity / 100)
1635
+ "stop-color": A(d)(e.color, z.value.style.chart.bars.gradient.intensity / 100)
1636
1636
  }, null, 8, lt),
1637
1637
  x("stop", {
1638
1638
  offset: "100%",
@@ -1702,7 +1702,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1702
1702
  patternId: `pattern_${F.value}_${e.absoluteIndex}`
1703
1703
  }), void 0, !0)])) : y("", !0), z.value.orientation === "vertical" ? (T(), b(g, { key: 1 }, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
1704
1704
  x: t,
1705
- y: A(m)(e.y[n]),
1705
+ y: A(h)(e.y[n]),
1706
1706
  height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
1707
1707
  rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
1708
1708
  width: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
@@ -1717,7 +1717,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1717
1717
  })
1718
1718
  }, null, 10, _t))), 256)), n.$slots.pattern ? (T(), b("g", vt, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
1719
1719
  x: t,
1720
- y: A(m)(e.y[n]),
1720
+ y: A(h)(e.y[n]),
1721
1721
  height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
1722
1722
  rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
1723
1723
  width: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
@@ -1731,9 +1731,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1731
1731
  "vue-data-ui-bar-transition": xn.value
1732
1732
  })
1733
1733
  }, null, 10, yt))), 256))])) : y("", !0)], 64)) : (T(), b(g, { key: 2 }, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
1734
- x: A(m)(t, G.value.left),
1734
+ x: A(h)(t, G.value.left),
1735
1735
  y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
1736
- width: A(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1736
+ width: A(h)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1737
1737
  rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
1738
1738
  height: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
1739
1739
  fill: z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color,
@@ -1746,9 +1746,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1746
1746
  "vue-data-ui-bar-transition": xn.value
1747
1747
  })
1748
1748
  }, null, 10, bt))), 256)), n.$slots.pattern ? (T(), b("g", xt, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
1749
- x: A(m)(t, G.value.left),
1749
+ x: A(h)(t, G.value.left),
1750
1750
  y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
1751
- width: A(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1751
+ width: A(h)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1752
1752
  rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
1753
1753
  height: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
1754
1754
  fill: `url(#pattern_${F.value}_${e.absoluteIndex})`,
@@ -1809,7 +1809,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1809
1809
  x: n + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2,
1810
1810
  y: e.y[r] + e.height[r] / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
1811
1811
  "font-size": z.value.style.chart.bars.dataLabels.fontSize,
1812
- fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(se)(e.color) : z.value.style.chart.bars.dataLabels.color,
1812
+ fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(oe)(e.color) : z.value.style.chart.bars.dataLabels.color,
1813
1813
  "font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1814
1814
  "text-anchor": "middle"
1815
1815
  }, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? Zr(e.proportions[r] * 100, e, t, r) : Xr(e.series[r], e, t, r, e.signedSeries[r])), 9, Dt)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
@@ -1830,7 +1830,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1830
1830
  x: n + (e.horizontal_width[r] < 0 ? 1e-4 : e.horizontal_width[r]) / 2,
1831
1831
  y: e.horizontal_y[r] + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
1832
1832
  "font-size": z.value.style.chart.bars.dataLabels.fontSize,
1833
- fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(se)(e.color) : z.value.style.chart.bars.dataLabels.color,
1833
+ fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(oe)(e.color) : z.value.style.chart.bars.dataLabels.color,
1834
1834
  "font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1835
1835
  "text-anchor": "middle"
1836
1836
  }, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? Zr(e.proportions[r] * 100, e, t, r) : Xr(e.series[r], e, t, r, e.signedSeries[r])), 9, kt)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
@@ -1864,7 +1864,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1864
1864
  "font-weight": z.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1865
1865
  fill: z.value.style.chart.grid.y.axisLabels.color,
1866
1866
  "text-anchor": W.value ? "start" : "end"
1867
- }, k(A(h)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(o)({
1867
+ }, k(A(m)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(r)({
1868
1868
  p: z.value.style.chart.bars.dataLabels.prefix,
1869
1869
  v: e.value,
1870
1870
  s: z.value.style.chart.bars.dataLabels.suffix,
@@ -1889,7 +1889,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
1889
1889
  fill: z.value.style.chart.grid.y.axisLabels.color,
1890
1890
  "text-anchor": z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1891
1891
  transform: `translate(${e.horizontal_x}, ${G.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${z.value.style.chart.grid.x.timeLabels.rotation})`
1892
- }, k(A(h)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(o)({
1892
+ }, k(A(m)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(r)({
1893
1893
  p: z.value.style.chart.bars.dataLabels.prefix,
1894
1894
  v: e.value,
1895
1895
  s: z.value.style.chart.bars.dataLabels.suffix,
@@ -2077,9 +2077,9 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
2077
2077
  "onUpdate:end": Vi,
2078
2078
  "onUpdate:start": Bi,
2079
2079
  onTrapMouse: Er,
2080
- onReset: r[0] ||= () => Mr({ force: !0 }),
2081
- onFutureEnd: r[1] ||= (e) => Or("end", e),
2082
- onFutureStart: r[2] ||= (e) => Or("start", e)
2080
+ onReset: a[0] ||= () => Mr({ force: !0 }),
2081
+ onFutureEnd: a[1] ||= (e) => Or("end", e),
2082
+ onFutureStart: a[2] ||= (e) => Or("start", e)
2083
2083
  }, {
2084
2084
  "reset-action": j(({ reset: e }) => [O(n.$slots, "reset-action", C(S({ reset: e })), void 0, !0)]),
2085
2085
  slotMap: j(({ width: e, height: t, unitW: n }) => [(T(!0), b(g, null, D($.value, (e) => (T(), b("g", { key: e.id }, [(T(!0), b(g, null, D(e.xMinimap({
@@ -2117,7 +2117,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
2117
2117
  parent: P.value,
2118
2118
  content: mn.value,
2119
2119
  isFullscreen: bn.value,
2120
- isCustom: A(oe)(z.value.style.chart.tooltip.customFormat),
2120
+ isCustom: A(ie)(z.value.style.chart.tooltip.customFormat),
2121
2121
  smooth: z.value.style.chart.tooltip.smooth,
2122
2122
  backdropFilter: z.value.style.chart.tooltip.backdropFilter,
2123
2123
  smoothForce: z.value.style.chart.tooltip.smoothForce,
@@ -2165,7 +2165,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
2165
2165
  legendSet: yi.value,
2166
2166
  config: bi.value,
2167
2167
  isCursorPointer: B.value,
2168
- onClickMarker: r[3] ||= ({ legend: e }) => e.segregate()
2168
+ onClickMarker: a[3] ||= ({ legend: e }) => e.segregate()
2169
2169
  }, Re({
2170
2170
  item: j(({ legend: e }) => [A(Jn) ? y("", !0) : (T(), b("div", {
2171
2171
  key: 0,
@@ -2228,7 +2228,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
2228
2228
  onClose: Oi
2229
2229
  }, {
2230
2230
  th: j(({ th: e }) => [x("div", { innerHTML: e }, null, 8, Zt)]),
2231
- td: j(({ td: e }) => [ze(k(isNaN(Number(e)) ? e : A(o)({
2231
+ td: j(({ td: e }) => [ze(k(isNaN(Number(e)) ? e : A(r)({
2232
2232
  p: z.value.style.chart.bars.dataLabels.prefix,
2233
2233
  v: e,
2234
2234
  s: z.value.style.chart.bars.dataLabels.suffix,
@@ -2254,7 +2254,7 @@ var $e = /* @__PURE__ */ e({ default: () => Qt }), et = ["id"], tt = ["id"], nt
2254
2254
  fn: j(() => [x("button", {
2255
2255
  tabindex: "0",
2256
2256
  class: "vue-ui-user-options-button",
2257
- onClick: r[4] ||= (e) => fi(z.value.userOptions.callbacks.csv),
2257
+ onClick: a[4] ||= (e) => fi(z.value.userOptions.callbacks.csv),
2258
2258
  style: w({ cursor: B.value ? "pointer" : "default" })
2259
2259
  }, [Be(A($t), {
2260
2260
  name: "fileCsv",