vue-data-ui 3.2.8 → 3.3.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 (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-DLi6NnGD.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-CVGErydD.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-eZbszQrv.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-BoPM4Ejg.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-yAMEyP6y.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-By4rru90.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
  8. package/dist/{PackageVersion-C40g0Rfc.js → PackageVersion-BfykJm_B.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-Bo-lMUik.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-BceHSLHf.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-Znzt0gSE.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip--YwqrrgZ.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-Camz1Lce.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-VOcQEHa4.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-CSja1SGU.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-DxyZSvDx.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-J2dLIr8Y.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-CEjkWSLj.js} +462 -446
  84. package/dist/{pdf-YD0ShN36.js → pdf-anN8VbM7.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-Ce3PwN8T.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DJ1iH-F_.js} +2 -2
  90. package/dist/useSvgExport-DrjCWun4.js +750 -0
  91. package/dist/vue-data-ui-j8Dnx_Ui.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-Cf7zHemQ.js → vue-ui-3d-bar-Cml_eeEU.js} +358 -342
  94. package/dist/{vue-ui-accordion-CDIzGCG1.js → vue-ui-accordion-VTP418mC.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-T09D0LHr.js → vue-ui-age-pyramid-MULKSv5c.js} +228 -212
  96. package/dist/{vue-ui-annotator-3bUg-1Zy.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
  97. package/dist/{vue-ui-bullet-DKgdFa2v.js → vue-ui-bullet-BHO5zu9m.js} +197 -179
  98. package/dist/{vue-ui-candlestick-g6PO_L_7.js → vue-ui-candlestick-B7EjAlSi.js} +278 -262
  99. package/dist/{vue-ui-carousel-table-Ch2xooE8.js → vue-ui-carousel-table-DXnYj0Gc.js} +4 -4
  100. package/dist/{vue-ui-chestnut-B-nzp0b6.js → vue-ui-chestnut-B1Usqda-.js} +425 -379
  101. package/dist/{vue-ui-chord-BqS8DoTd.js → vue-ui-chord-DgXH82Hg.js} +317 -299
  102. package/dist/{vue-ui-circle-pack-B1axDP9l.js → vue-ui-circle-pack-BQfaZFFz.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
  104. package/dist/{vue-ui-dashboard-TXcw45j_.js → vue-ui-dashboard-C6xHAPp8.js} +67 -67
  105. package/dist/{vue-ui-digits-pW7YVqxy.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
  106. package/dist/{vue-ui-donut-evolution-BoVslTri.js → vue-ui-donut-evolution-D_CKlaay.js} +406 -384
  107. package/dist/{vue-ui-donut-BFpWEe2s.js → vue-ui-donut-swJu7UL2.js} +662 -645
  108. package/dist/{vue-ui-dumbbell-CRHvtmq9.js → vue-ui-dumbbell-siD31WFG.js} +295 -274
  109. package/dist/vue-ui-flow-BZCnqIs-.js +931 -0
  110. package/dist/{vue-ui-funnel-CKUlzitM.js → vue-ui-funnel-DmgcIRzW.js} +174 -158
  111. package/dist/{vue-ui-galaxy-DZqCAK9c.js → vue-ui-galaxy-C-zegxf9.js} +265 -252
  112. package/dist/{vue-ui-gauge-D3bPFF59.js → vue-ui-gauge-D6C8eUvP.js} +256 -240
  113. package/dist/{vue-ui-gizmo-oVLp367W.js → vue-ui-gizmo-iSYUVKlt.js} +3 -3
  114. package/dist/{vue-ui-heatmap-C1RctcPx.js → vue-ui-heatmap-RHDxexNf.js} +386 -365
  115. package/dist/{vue-ui-history-plot-CoQYOlF4.js → vue-ui-history-plot-4nwAd1qA.js} +307 -289
  116. package/dist/{vue-ui-kpi-BZX-tqIm.js → vue-ui-kpi-Dphnwumo.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-hMqB-KQI.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
  118. package/dist/{vue-ui-molecule-D0Kr_w-v.js → vue-ui-molecule-BhisFSGQ.js} +176 -160
  119. package/dist/vue-ui-mood-radar-B8yHPdrV.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-94Gu95Z9.js → vue-ui-nested-donuts-Bfp0oVSK.js} +541 -518
  121. package/dist/{vue-ui-onion-Dy_aTvGI.js → vue-ui-onion-f1B0W_oT.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-D_oo5lQW.js → vue-ui-parallel-coordinate-plot-DcY-0R-7.js} +252 -233
  123. package/dist/{vue-ui-quadrant-CRYpRl_q.js → vue-ui-quadrant-DuzopA33.js} +294 -276
  124. package/dist/{vue-ui-quick-chart-B1s047tz.js → vue-ui-quick-chart-45Tm1UnC.js} +723 -685
  125. package/dist/{vue-ui-radar-DA7EuchK.js → vue-ui-radar-DDS405TF.js} +307 -282
  126. package/dist/{vue-ui-rating-z2bsnprP.js → vue-ui-rating-eKlTJch9.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-DZ8IiUNu.js → vue-ui-relation-circle-BqXHJEvi.js} +146 -131
  128. package/dist/{vue-ui-ridgeline-5IWuJgs6.js → vue-ui-ridgeline-Lx7YOCRg.js} +320 -299
  129. package/dist/{vue-ui-rings-gY2f8mVf.js → vue-ui-rings-crjrV65X.js} +323 -310
  130. package/dist/{vue-ui-scatter-OLidvHlx.js → vue-ui-scatter-Bk4liS2c.js} +390 -372
  131. package/dist/{vue-ui-skeleton-BaysGsg0.js → vue-ui-skeleton-Pu9gPf97.js} +3 -3
  132. package/dist/{vue-ui-smiley-Dn2IR0oC.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-gp5B9uF7.js → vue-ui-spark-trend-BmaybxJn.js} +3 -3
  134. package/dist/{vue-ui-sparkbar-8t63RYc7.js → vue-ui-sparkbar-DvhcXniz.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-BWSykUpn.js → vue-ui-sparkgauge-D4Brfset.js} +3 -3
  136. package/dist/{vue-ui-sparkhistogram-BEjxKMG5.js → vue-ui-sparkhistogram-D5_lR__d.js} +4 -4
  137. package/dist/{vue-ui-sparkline-bFF-ZCCH.js → vue-ui-sparkline-DxNG5QQg.js} +3 -3
  138. package/dist/{vue-ui-sparkstackbar-HtAlEtzK.js → vue-ui-sparkstackbar-BTFzo3fq.js} +3 -3
  139. package/dist/{vue-ui-stackbar-CUIWPgfk.js → vue-ui-stackbar-B8glHsE6.js} +355 -337
  140. package/dist/{vue-ui-strip-plot-DwS52yGc.js → vue-ui-strip-plot-C5Bro8-W.js} +368 -352
  141. package/dist/{vue-ui-table-BYqPx7k4.js → vue-ui-table-Ddu9yx2S.js} +5 -5
  142. package/dist/{vue-ui-table-heatmap-CRfjUoa1.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-Bvf0ZBOi.js → vue-ui-table-sparkline-D3tgrV_k.js} +4 -4
  144. package/dist/{vue-ui-thermometer-BB7cHec0.js → vue-ui-thermometer-BxQIZoXd.js} +148 -133
  145. package/dist/{vue-ui-timer-BVDKvC4v.js → vue-ui-timer-BwFlr_19.js} +5 -5
  146. package/dist/vue-ui-tiremarks-KwISwJS6.js +423 -0
  147. package/dist/{vue-ui-treemap-nGgRTw0l.js → vue-ui-treemap-C6PLDL2Y.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-BJOm2JQh.js → vue-ui-vertical-bar-CTmRo06n.js} +295 -260
  149. package/dist/{vue-ui-waffle-aCMPaHbw.js → vue-ui-waffle-BwOLL9aa.js} +396 -377
  150. package/dist/{vue-ui-wheel-D_q23eOk.js → vue-ui-wheel-KI9mkz8y.js} +196 -180
  151. package/dist/{vue-ui-word-cloud-C7TMR4Zq.js → vue-ui-word-cloud-DTyjx6X4.js} +233 -217
  152. package/dist/{vue-ui-world-DtMYYQ6T.js → vue-ui-world-C3QXAlC7.js} +344 -326
  153. package/dist/{vue-ui-xy-Dputm9QT.js → vue-ui-xy-b-CN-G4J.js} +1601 -1707
  154. package/dist/{vue-ui-xy-canvas-BCeQoXNM.js → vue-ui-xy-canvas-CdkE1NHd.js} +10 -10
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-BcRg499t.js +0 -325
  157. package/dist/vue-ui-flow-CKGjSZoj.js +0 -909
  158. package/dist/vue-ui-mood-radar-C6UCofDb.js +0 -853
  159. package/dist/vue-ui-tiremarks-CBVuu_Zi.js +0 -407
@@ -1,24 +1,25 @@
1
- import { defineAsyncComponent as H, useSlots as Sa, computed as p, ref as g, onMounted as At, toRefs as $a, watch as ze, shallowRef as Rt, onBeforeUnmount as It, watchEffect as Nt, nextTick as Ot, createElementBlock as o, openBlock as r, unref as v, normalizeStyle as j, normalizeClass as le, createBlock as B, createCommentVNode as d, renderSlot as L, createElementVNode as D, createVNode as he, createSlots as Ye, withCtx as C, normalizeProps as W, guardReactiveProps as Y, Fragment as b, renderList as m, mergeProps as Ce, toDisplayString as T, Teleport as Ta, resolveDynamicComponent as Ma, createTextVNode as Pt } from "vue";
2
- import { u as Aa, a as Vt } from "./useNestedProp-BOk-tPdu.js";
3
- import { c as Dt, t as Ra, b as Ia, p as _e, B as se, e as Na, o as Et, f as Ft, g as Oa, h as Pa, a8 as Se, a9 as Ut, C as Ht, X as Va, m as Da, a4 as $e, E as Bt, a as Te, d as ee, L as Ea, H as Fa, z as Wt, x as Ua, y as Ha, A as Ba } from "./lib-BEpWEyMm.js";
4
- import { t as Xe, u as Wa } from "./useResponsive-DfdjqQps.js";
5
- import { u as Ya } from "./usePrinter-w23K-ezx.js";
6
- import { u as Xa, B as Ga } from "./BaseScanner-BgWxam9d.js";
7
- import { u as Ja } from "./useTimeLabels-BGFjWgrv.js";
8
- import { u as qa } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as Za } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as Ka } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import Qa from "./img-DjWwQXVS.js";
12
- import ja from "./Title-DG2nloSB.js";
13
- import { _ as el } from "./Shape-C_C_OmqR.js";
14
- import { t as tl } from "./themes-Dw-dDudK.js";
15
- import al from "./Legend-BpoFJ8fc.js";
16
- import { S as ll } from "./Slicer-BA2GhOmY.js";
17
- import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "width", "height"], ul = { key: 1 }, cl = ["id"], hl = ["stop-color"], vl = ["stop-color"], dl = ["stop-color"], yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ml = { key: 0 }, pl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], xl = { key: 0 }, kl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ll = { key: 0 }, zl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x", "y", "font-size", "fill", "font-weight"], $l = ["transform", "font-size", "fill", "font-weight"], Tl = ["x", "y", "font-size", "fill", "font-weight"], Ml = ["x", "y", "font-size", "font-weight", "fill"], Al = ["x", "y", "font-size", "fill", "font-weight"], Rl = ["x", "y", "font-size", "font-weight", "fill"], Il = ["x1", "x2", "y1", "y2", "stroke"], Nl = ["x", "y", "font-size", "font-weight", "fill"], Ol = ["x1", "x2", "y1", "y2", "stroke"], Pl = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Vl = { key: 0 }, Dl = { key: 1 }, El = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Fl = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Ul = { key: 0 }, Hl = { key: 1 }, Bl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Wl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Yl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Xl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Gl = {
1
+ import { defineAsyncComponent as H, useSlots as Ia, computed as m, ref as y, onMounted as Rt, toRefs as Na, watch as ze, shallowRef as It, onBeforeUnmount as Nt, watchEffect as Ot, nextTick as Pt, createElementBlock as o, openBlock as r, unref as v, normalizeStyle as j, normalizeClass as le, createBlock as B, createCommentVNode as d, renderSlot as L, createElementVNode as D, createVNode as he, createSlots as Ge, withCtx as C, normalizeProps as W, guardReactiveProps as Y, Fragment as b, renderList as p, mergeProps as Ce, toDisplayString as T, Teleport as Oa, resolveDynamicComponent as Pa, createTextVNode as Vt } from "vue";
2
+ import { u as Va, a as Dt } from "./useNestedProp-Ce3PwN8T.js";
3
+ import { c as Et, t as Da, b as Ea, p as Se, B as se, e as Fa, o as Ft, f as Ut, g as Ua, h as Ha, a8 as _e, a9 as Ht, C as Bt, X as Ba, m as Wa, a4 as $e, E as Wt, a as Te, d as ee, L as Ya, H as Xa, z as Yt, x as Ga, y as Ja, A as qa } from "./lib-CEjkWSLj.js";
4
+ import { t as Je, u as Za } from "./useResponsive-DfdjqQps.js";
5
+ import { u as Ka } from "./usePrinter-DJ1iH-F_.js";
6
+ import { u as Qa, B as ja } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as el } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as tl } from "./useTimeLabels-BGFjWgrv.js";
9
+ import { u as al } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as sl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import rl from "./img-J2dLIr8Y.js";
13
+ import ol from "./Title-Camz1Lce.js";
14
+ import { _ as nl } from "./Shape-BceHSLHf.js";
15
+ import { t as il } from "./themes-Dw-dDudK.js";
16
+ import ul from "./Legend-By4rru90.js";
17
+ import { S as cl } from "./Slicer-Znzt0gSE.js";
18
+ import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
+ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "width", "height"], bl = { key: 1 }, fl = ["id"], ml = ["stop-color"], pl = ["stop-color"], xl = ["stop-color"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Cl = { key: 0 }, Sl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], _l = { key: 0 }, $l = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ml = { key: 0 }, Al = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nl = ["x", "y", "font-size", "fill", "font-weight"], Ol = ["transform", "font-size", "fill", "font-weight"], Pl = ["x", "y", "font-size", "fill", "font-weight"], Vl = ["x", "y", "font-size", "font-weight", "fill"], Dl = ["x", "y", "font-size", "fill", "font-weight"], El = ["x", "y", "font-size", "font-weight", "fill"], Fl = ["x1", "x2", "y1", "y2", "stroke"], Ul = ["x", "y", "font-size", "font-weight", "fill"], Hl = ["x1", "x2", "y1", "y2", "stroke"], Bl = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Wl = { key: 0 }, Yl = { key: 1 }, Xl = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Gl = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Jl = { key: 0 }, ql = { key: 1 }, Zl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Kl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Ql = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], jl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], es = {
19
20
  key: 3,
20
21
  class: "vue-data-ui-watermark"
21
- }, Jl = ["id"], ql = ["onClick"], Zl = ["innerHTML"], Kl = {
22
+ }, ts = ["id"], as = ["onClick"], ls = ["innerHTML"], ss = {
22
23
  __name: "vue-ui-stackbar",
23
24
  props: {
24
25
  config: {
@@ -35,25 +36,25 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
35
36
  }
36
37
  },
37
38
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
38
- setup(Me, { expose: Yt, emit: Xt }) {
39
- const Gt = H(() => import("./Tooltip-BOXz8skU.js")), Jt = H(() => import("./BaseIcon-Bz-1GQhu.js")), qt = H(() => import("./vue-ui-accordion-CDIzGCG1.js")), Zt = H(() => import("./DataTable-BvjacRbw.js")), Kt = H(() => import("./PenAndPaper-CR8q353D.js")), Qt = H(() => import("./UserOptions-DsTgvAok.js")), jt = H(() => import("./PackageVersion-C40g0Rfc.js")), ea = H(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_stackbar: ta } = Aa(), aa = Sa(), f = Me, Ae = Xt, ve = p({
39
+ setup(Me, { expose: Xt, emit: Gt }) {
40
+ const Jt = H(() => import("./Tooltip-VOcQEHa4.js")), qt = H(() => import("./BaseIcon-eZbszQrv.js")), Zt = H(() => import("./vue-ui-accordion-VTP418mC.js")), Kt = H(() => import("./DataTable-yAMEyP6y.js")), Qt = H(() => import("./PenAndPaper-Bo-lMUik.js")), jt = H(() => import("./UserOptions-CSja1SGU.js")), ea = H(() => import("./PackageVersion-BfykJm_B.js")), ta = H(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_stackbar: aa } = Va(), la = Ia(), f = Me, Ae = Gt, ve = m({
40
41
  get() {
41
42
  return !!f.dataset && f.dataset.length;
42
43
  },
43
44
  set(a) {
44
45
  return a;
45
46
  }
46
- }), O = g(null), M = g(Dt()), Re = g(!1), Ie = g(null), Ne = g(""), S = g([]), Ge = g(0), Je = g(null), qe = g(null), Ze = g(null), Ke = g(null), Qe = g(0), re = g(!1), de = g(null), X = g(!1), je = g(0), la = g(0), sa = g(0), et = g(null), tt = g(!1), oe = g(null), Oe = g(null), Pe = g(null), Ve = g(null), G = g(null), J = g(null), ra = g(null), at = g(null);
47
- At(() => {
48
- tt.value = !0, Ue();
47
+ }), O = y(null), M = y(Et()), Re = y(!1), Ie = y(null), Ne = y(""), _ = y([]), qe = y(0), Ze = y(null), Ke = y(null), Qe = y(null), je = y(null), et = y(0), re = y(!1), de = y(null), X = y(!1), tt = y(0), sa = y(0), ra = y(0), at = y(null), lt = y(!1), oe = y(null), Oe = y(null), Pe = y(null), Ve = y(null), G = y(null), J = y(null), oa = y(null), st = y(null);
48
+ Rt(() => {
49
+ lt.value = !0, He();
49
50
  });
50
- const e = g(Ee()), { loading: ne, FINAL_DATASET: ye, manualLoading: ge } = Xa({
51
- ...$a(f),
51
+ const e = y(Fe()), { loading: ne, FINAL_DATASET: ge, manualLoading: ye } = Qa({
52
+ ...Na(f),
52
53
  FINAL_CONFIG: e,
53
- prepareConfig: Ee,
54
+ prepareConfig: Fe,
54
55
  callback: () => {
55
56
  Promise.resolve().then(async () => {
56
- await He();
57
+ await Be();
57
58
  });
58
59
  },
59
60
  skeletonDataset: [
@@ -68,7 +69,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
68
69
  color: "#CACACA"
69
70
  }
70
71
  ],
71
- skeletonConfig: Ra({
72
+ skeletonConfig: Da({
72
73
  defaultConfig: e.value,
73
74
  userConfig: {
74
75
  userOptions: { show: !1 },
@@ -117,28 +118,28 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
117
118
  }
118
119
  }
119
120
  })
120
- }), { userOptionsVisible: De, setUserOptionsVisibility: lt, keepUserOptionState: st } = qa({ config: e.value }), { svgRef: rt } = Za({ config: e.value.style.chart.title });
121
- function Ee() {
122
- const a = Vt({
121
+ }), { userOptionsVisible: De, setUserOptionsVisibility: rt, keepUserOptionState: ot } = al({ config: e.value }), { svgRef: Ee } = ll({ config: e.value.style.chart.title });
122
+ function Fe() {
123
+ const a = Dt({
123
124
  userConfig: f.config,
124
- defaultConfig: ta
125
+ defaultConfig: aa
125
126
  });
126
127
  let l = {};
127
128
  return a.theme ? l = {
128
- ...Vt({
129
- userConfig: tl.vue_ui_stackbar[a.theme] || f.config,
129
+ ...Dt({
130
+ userConfig: il.vue_ui_stackbar[a.theme] || f.config,
130
131
  defaultConfig: a
131
132
  }),
132
- customPalette: Ia[a.theme] || _e
133
+ customPalette: Ea[a.theme] || Se
133
134
  } : l = a, f.config && se(f.config, "style.chart.grid.scale.scaleMin") ? l.style.chart.grid.scale.scaleMin = f.config.style.chart.grid.scale.scaleMin : l.style.chart.grid.scale.scaleMin = null, f.config && se(f.config, "style.chart.grid.scale.scaleMax") ? l.style.chart.grid.scale.scaleMax = f.config.style.chart.grid.scale.scaleMax : l.style.chart.grid.scale.scaleMax = null, f.config && se(f.config, "style.chart.zoom.startIndex") ? l.style.chart.zoom.startIndex = f.config.style.chart.zoom.startIndex : l.style.chart.zoom.startIndex = null, f.config && se(f.config, "style.chart.zoom.endIndex") ? l.style.chart.zoom.endIndex = f.config.style.chart.zoom.endIndex : l.style.chart.zoom.endIndex = null, f.config && se(f.config, "style.chart.bars.dataLabels.hideUnderValue") ? l.style.chart.bars.dataLabels.hideUnderValue = f.config.style.chart.bars.dataLabels.hideUnderValue : l.style.chart.bars.dataLabels.hideUnderValue = null, f.config && se(f.config, "style.chart.bars.dataLabels.hideUnderPercentage") ? l.style.chart.bars.dataLabels.hideUnderPercentage = f.config.style.chart.bars.dataLabels.hideUnderPercentage : l.style.chart.bars.dataLabels.hideUnderPercentage = null, l;
134
135
  }
135
- const ot = p(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), nt = p(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
136
+ const nt = m(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), it = m(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
136
137
  ze(() => f.config, (a) => {
137
- ne.value || (e.value = Ee()), De.value = !e.value.userOptions.showOnChartHover, Ue(), je.value += 1, la.value += 1, sa.value += 1, z.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.chart.tooltip.show;
138
+ ne.value || (e.value = Fe()), De.value = !e.value.userOptions.showOnChartHover, He(), tt.value += 1, sa.value += 1, ra.value += 1, z.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.chart.tooltip.show;
138
139
  }, { deep: !0 }), ze(() => f.dataset, (a) => {
139
- Array.isArray(a) && a.length > 0 && (ge.value = !1), yt();
140
+ Array.isArray(a) && a.length > 0 && (ye.value = !1), yt();
140
141
  }, { deep: !0 });
141
- const z = g({
142
+ const z = y({
142
143
  dataLabels: {
143
144
  show: e.value.style.chart.bars.dataLabels.show
144
145
  },
@@ -154,11 +155,11 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
154
155
  showTooltip: e.value.style.chart.tooltip.show
155
156
  };
156
157
  }, { immediate: !0 });
157
- const { isPrinting: it, isImaging: ut, generatePdf: ct, generateImage: ht } = Ya({
158
+ const { isPrinting: ut, isImaging: ct, generatePdf: ht, generateImage: vt } = Ka({
158
159
  elementId: `stackbar_${M.value}`,
159
160
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar",
160
161
  options: e.value.userOptions.print
161
- }), te = g({
162
+ }), te = y({
162
163
  width: e.value.style.chart.width,
163
164
  height: e.value.style.chart.height,
164
165
  paddingRatio: {
@@ -167,55 +168,55 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
167
168
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
168
169
  left: e.value.style.chart.padding.left / e.value.style.chart.width
169
170
  }
170
- }), oa = p(() => Na(e.value.customPalette)), E = Rt(null), ae = Rt(null), vt = g(null);
171
- At(() => {
172
- Ue();
171
+ }), na = m(() => Fa(e.value.customPalette)), E = It(null), ae = It(null), dt = y(null);
172
+ Rt(() => {
173
+ He();
173
174
  });
174
- const Fe = p(() => !!e.value.debug);
175
- function Ue() {
176
- if (Et(f.dataset) ? (Ft({
175
+ const Ue = m(() => !!e.value.debug);
176
+ function He() {
177
+ if (Ft(f.dataset) ? (Ut({
177
178
  componentName: "VueUiStackbar",
178
179
  type: "dataset",
179
- debug: Fe.value
180
- }), ge.value = !0) : f.dataset.forEach((a, l) => {
181
- Oa({
180
+ debug: Ue.value
181
+ }), ye.value = !0) : f.dataset.forEach((a, l) => {
182
+ Ua({
182
183
  datasetObject: a,
183
184
  requiredAttributes: ["name", "series"]
184
185
  }).forEach((t) => {
185
- ve.value = !1, Ft({
186
+ ve.value = !1, Ut({
186
187
  componentName: "VueUiStackbar",
187
188
  type: "datasetSerieAttribute",
188
189
  property: t,
189
190
  index: l,
190
- debug: Fe.value
191
- }), ge.value = !0;
191
+ debug: Ue.value
192
+ }), ye.value = !0;
192
193
  });
193
- }), Et(f.dataset) || (ge.value = e.value.loading), setTimeout(() => {
194
+ }), Ft(f.dataset) || (ye.value = e.value.loading), setTimeout(() => {
194
195
  X.value = !0;
195
196
  }, 10), e.value.responsive) {
196
- const a = Xe(() => {
197
+ const a = Je(() => {
197
198
  X.value = !1;
198
- const { width: l, height: t } = Wa({
199
+ const { width: l, height: t } = Za({
199
200
  chart: O.value,
200
- title: e.value.style.chart.title.text ? Je.value : null,
201
- legend: e.value.style.chart.legend.show ? qe.value : null,
202
- slicer: e.value.style.chart.zoom.show && U.value > 1 ? Ze.value : null,
203
- source: Ke.value
201
+ title: e.value.style.chart.title.text ? Ze.value : null,
202
+ legend: e.value.style.chart.legend.show ? Ke.value : null,
203
+ slicer: e.value.style.chart.zoom.show && U.value > 1 ? Qe.value : null,
204
+ source: je.value
204
205
  });
205
206
  requestAnimationFrame(() => {
206
- te.value.width = l, te.value.height = t - 12, clearTimeout(vt.value), vt.value = setTimeout(() => {
207
+ te.value.width = l, te.value.height = t - 12, clearTimeout(dt.value), dt.value = setTimeout(() => {
207
208
  X.value = !0;
208
209
  }, 10);
209
210
  });
210
211
  });
211
212
  E.value && (ae.value && E.value.unobserve(ae.value), E.value.disconnect()), E.value = new ResizeObserver(a), ae.value = O.value.parentNode, E.value.observe(ae.value);
212
213
  }
213
- He();
214
+ Be();
214
215
  }
215
- It(() => {
216
+ Nt(() => {
216
217
  E.value && (ae.value && E.value.unobserve(ae.value), E.value.disconnect());
217
218
  });
218
- function na() {
219
+ function ia() {
219
220
  let a = 0;
220
221
  e.value.orientation === "vertical" && G.value && (a = Array.from(G.value.querySelectorAll("text")).reduce((s, c) => {
221
222
  const u = c.getComputedTextLength();
@@ -227,53 +228,53 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
227
228
  const l = Ve.value ? Ve.value.getBoundingClientRect().width : 0;
228
229
  return a + l + (l ? 24 : 0);
229
230
  }
230
- const be = g(0), fe = g(0), ia = Xe((a) => {
231
+ const be = y(0), fe = y(0), ua = Je((a) => {
231
232
  be.value = a;
232
233
  }, 100);
233
- Nt((a) => {
234
+ Ot((a) => {
234
235
  const l = e.value.orientation === "vertical" ? J.value : G.value;
235
236
  if (!l) return;
236
237
  const t = new ResizeObserver((s) => {
237
- ia(s[0].contentRect.height);
238
+ ua(s[0].contentRect.height);
238
239
  });
239
240
  t.observe(l), a(() => t.disconnect());
240
241
  });
241
- const ua = Xe((a) => {
242
+ const ca = Je((a) => {
242
243
  fe.value = a + e.value.style.chart.bars.totalValues.fontSize;
243
244
  }, 100);
244
- Nt((a) => {
245
+ Ot((a) => {
245
246
  if (e.value.orientation === "vertical") return;
246
- const l = at.value;
247
+ const l = st.value;
247
248
  if (!l) return;
248
249
  const t = new ResizeObserver((s) => {
249
- ua(s[0].contentRect.width);
250
+ ca(s[0].contentRect.width);
250
251
  });
251
252
  t.observe(l), a(() => t.disconnect());
252
- }), It(() => {
253
+ }), Nt(() => {
253
254
  be.value = 0, fe.value = 0;
254
255
  });
255
- const dt = p(() => {
256
+ const gt = m(() => {
256
257
  let a = 0;
257
258
  Pe.value && (a = Pe.value.getBBox().height);
258
259
  let l = 0;
259
260
  return e.value.orientation === "vertical" && J.value && (l = be.value), e.value.orientation === "horizontal" && G.value && (l = be.value), a + l;
260
- }), n = p(() => {
261
+ }), n = m(() => {
261
262
  const { height: a, width: l } = te.value, { right: t } = te.value.paddingRatio;
262
263
  let s = e.value.style.chart.bars.totalValues.show && f.dataset && f.dataset.length > 1 ? e.value.style.chart.bars.totalValues.fontSize * 1.3 : 0, c = 0;
263
- e.value.style.chart.grid.y.axisLabels.show && (c = na());
264
- const u = e.value.style.chart.padding.top + s, _ = l - l * t - fe.value, q = a - e.value.style.chart.padding.bottom - dt.value - s, Z = e.value.style.chart.padding.left + c, K = l - Z - l * t - fe.value, P = a - u - e.value.style.chart.padding.bottom - dt.value - s;
264
+ e.value.style.chart.grid.y.axisLabels.show && (c = ia());
265
+ const u = e.value.style.chart.padding.top + s, S = l - l * t - fe.value, q = a - e.value.style.chart.padding.bottom - gt.value - s, Z = e.value.style.chart.padding.left + c, K = l - Z - l * t - fe.value, P = a - u - e.value.style.chart.padding.bottom - gt.value - s;
265
266
  return {
266
267
  chartHeight: a,
267
268
  chartWidth: l,
268
269
  top: u,
269
- right: _,
270
+ right: S,
270
271
  bottom: q,
271
272
  left: Z,
272
273
  width: Math.max(0, K),
273
274
  height: Math.max(0, P)
274
275
  };
275
- }), F = p(() => ye.value.map((a, l) => {
276
- const t = Pa(a.color) || oa.value[l] || _e[l] || _e[l % _e.length];
276
+ }), F = m(() => ge.value.map((a, l) => {
277
+ const t = Ha(a.color) || na.value[l] || Se[l] || Se[l % Se.length];
277
278
  return {
278
279
  ...a,
279
280
  // In distributed mode, all values are converted to positive
@@ -281,45 +282,45 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
281
282
  // Store signs to manage display of neg values in distributed mode
282
283
  signedSeries: a.series.map((s) => s >= 0 ? 1 : -1),
283
284
  absoluteIndex: l,
284
- id: Dt(),
285
+ id: Et(),
285
286
  color: t
286
287
  };
287
- })), U = p(() => Math.max(...F.value.filter((a) => !S.value.includes(a.id)).map((a) => a.series.length))), h = g({
288
+ })), U = m(() => Math.max(...F.value.filter((a) => !_.value.includes(a.id)).map((a) => a.series.length))), h = y({
288
289
  start: 0,
289
- end: Math.max(...ye.value.map((a) => a.series.length))
290
+ end: Math.max(...ge.value.map((a) => a.series.length))
290
291
  });
291
292
  function yt() {
292
- He();
293
+ Be();
293
294
  }
294
- async function He() {
295
- await Ot(), await Ot();
296
- const { startIndex: a, endIndex: l } = e.value.style.chart.zoom, t = et.value, s = Math.max(...ye.value.map((c) => c.series.length));
297
- h.value = { start: 0, end: s }, (a != null || l != null) && t ? (a != null ? t.setStartValue(a) : (h.value.start = 0, t.setStartValue(0)), l != null ? t.setEndValue(ca(l + 1)) : (h.value.end = s, t.setEndValue(s))) : (h.value = { start: 0, end: s }, Qe.value += 1);
295
+ async function Be() {
296
+ await Pt(), await Pt();
297
+ const { startIndex: a, endIndex: l } = e.value.style.chart.zoom, t = at.value, s = Math.max(...ge.value.map((c) => c.series.length));
298
+ h.value = { start: 0, end: s }, (a != null || l != null) && t ? (a != null ? t.setStartValue(a) : (h.value.start = 0, t.setStartValue(0)), l != null ? t.setEndValue(ha(l + 1)) : (h.value.end = s, t.setEndValue(s))) : (h.value = { start: 0, end: s }, et.value += 1);
298
299
  }
299
- function ca(a) {
300
- const l = Math.max(...ye.value.map((t) => t.series.length));
300
+ function ha(a) {
301
+ const l = Math.max(...ge.value.map((t) => t.series.length));
301
302
  return a > l ? l : a < 0 || e.value.style.chart.zoom.startIndex !== null && a < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : a;
302
303
  }
303
- const y = p(() => {
304
+ const g = m(() => {
304
305
  let a;
305
306
  return e.value.orientation === "vertical" ? a = n.value.width / (h.value.end - h.value.start) : a = n.value.height / (h.value.end - h.value.start), a <= 0 ? 0 : a;
306
- }), ie = p(() => Se(F.value.filter((a) => !S.value.includes(a.id))).slice(h.value.start, h.value.end)), ha = p(() => Se(F.value.filter((a) => !S.value.includes(a.id)).map((a) => ({
307
+ }), ie = m(() => _e(F.value.filter((a) => !_.value.includes(a.id))).slice(h.value.start, h.value.end)), va = m(() => _e(F.value.filter((a) => !_.value.includes(a.id)).map((a) => ({
307
308
  ...a,
308
309
  series: a.series.map((l, t) => a.signedSeries[t] === -1 && l >= 0 ? -l : l)
309
- }))).slice(h.value.start, h.value.end)), me = p(() => {
310
- const a = F.value.filter((l) => !S.value.includes(l.id));
310
+ }))).slice(h.value.start, h.value.end)), me = m(() => {
311
+ const a = F.value.filter((l) => !_.value.includes(l.id));
311
312
  return {
312
- positive: Se(a.map((l) => ({
313
+ positive: _e(a.map((l) => ({
313
314
  ...l,
314
315
  series: l.series.slice(h.value.start, h.value.end).map((t) => t >= 0 ? t : 0)
315
316
  }))),
316
- negative: Se(a.map((l) => ({
317
+ negative: _e(a.map((l) => ({
317
318
  ...l,
318
319
  series: l.series.slice(h.value.start, h.value.end).map((t) => t < 0 ? t : 0)
319
320
  })))
320
321
  };
321
- }), N = p(() => {
322
- const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...me.value.positive), l = Math.min(...me.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, s = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ut(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : Ht(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
322
+ }), N = m(() => {
323
+ const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...me.value.positive), l = Math.min(...me.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, s = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ht(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : Bt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
323
324
  return s.ticks.map((c) => ({
324
325
  zero: n.value.bottom - n.value.height * (Math.abs(s.min) / (s.max + Math.abs(s.min))),
325
326
  y: n.value.bottom - n.value.height * ((c + Math.abs(s.min)) / (s.max + Math.abs(s.min))),
@@ -329,46 +330,46 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
329
330
  horizontal_y: n.value.bottom - 8,
330
331
  value: c
331
332
  }));
332
- }), $ = p(() => Ja({
333
+ }), $ = m(() => tl({
333
334
  values: e.value.style.chart.grid.x.timeLabels.values,
334
335
  maxDatapoints: U.value,
335
336
  formatter: e.value.style.chart.grid.x.timeLabels.datetimeFormatter,
336
337
  start: h.value.start,
337
338
  end: h.value.end
338
- })), w = p(() => {
339
+ })), w = m(() => {
339
340
  if (!ve.value && !ne.value) return [];
340
341
  let a = Array(U.value).fill(0), l = Array(U.value).fill(0), t = Array(U.value).fill(0), s = Array(U.value).fill(0);
341
- const c = Math.max(...me.value.positive) || 0, u = Math.min(...me.value.negative), _ = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, q = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ut(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : Ht(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: Z, max: K } = q, P = K + (Z >= 0 ? 0 : Math.abs(Z)) || 1, A = n.value.height, Le = n.value.width, Tt = N.value[0] ? N.value[0].zero : n.value.bottom, Mt = N.value[0] ? N.value[0].horizontal_zero : n.value.left;
342
- return F.value.filter((ce) => !S.value.includes(ce.id)).map((ce) => {
343
- const V = ce.series.slice(h.value.start, h.value.end), pa = ce.signedSeries.slice(h.value.start, h.value.end), xa = V.map((x, k) => n.value.left + y.value * k + y.value * e.value.style.chart.bars.gapRatio / 4), ka = V.map((x, k) => n.value.top + y.value * k + y.value * e.value.style.chart.bars.gapRatio / 4), wa = V.map((x, k) => {
342
+ const c = Math.max(...me.value.positive) || 0, u = Math.min(...me.value.negative), S = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, q = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ht(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : S > 0 ? 0 : S, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : Bt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : S > 0 ? 0 : S, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: Z, max: K } = q, P = K + (Z >= 0 ? 0 : Math.abs(Z)) || 1, A = n.value.height, Le = n.value.width, Mt = N.value[0] ? N.value[0].zero : n.value.bottom, At = N.value[0] ? N.value[0].horizontal_zero : n.value.left;
343
+ return F.value.filter((ce) => !_.value.includes(ce.id)).map((ce) => {
344
+ const V = ce.series.slice(h.value.start, h.value.end), Ca = ce.signedSeries.slice(h.value.start, h.value.end), Sa = V.map((x, k) => n.value.left + g.value * k + g.value * e.value.style.chart.bars.gapRatio / 4), _a = V.map((x, k) => n.value.top + g.value * k + g.value * e.value.style.chart.bars.gapRatio / 4), $a = V.map((x, k) => {
344
345
  const R = e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / P;
345
346
  let Q, I;
346
- return x > 0 ? (I = A * R, Q = Tt - I - a[k], a[k] += I) : (I = A * R, Q = Tt + t[k], t[k] += Math.abs(I)), Q;
347
- }), La = V.map((x, k) => {
347
+ return x > 0 ? (I = A * R, Q = Mt - I - a[k], a[k] += I) : (I = A * R, Q = Mt + t[k], t[k] += Math.abs(I)), Q;
348
+ }), Ta = V.map((x, k) => {
348
349
  const R = e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / P;
349
350
  let Q, I;
350
- return x > 0 ? (I = Le * R, Q = Mt + l[k], l[k] += I) : (I = Le * R, Q = Mt - Math.abs(I) - s[k], s[k] += Math.abs(I)), Q;
351
- }), za = V.map((x, k) => {
351
+ return x > 0 ? (I = Le * R, Q = At + l[k], l[k] += I) : (I = Le * R, Q = At - Math.abs(I) - s[k], s[k] += Math.abs(I)), Q;
352
+ }), Ma = V.map((x, k) => {
352
353
  const R = e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / P;
353
354
  return x > 0 ? A * R : A * Math.abs(R);
354
- }), Ca = V.map((x, k) => {
355
+ }), Aa = V.map((x, k) => {
355
356
  const R = e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / P;
356
357
  return x > 0 ? Le * R : Le * Math.abs(R);
357
- }), _a = V.map((x) => Math.abs(x)).reduce((x, k) => x + k, 0);
358
+ }), Ra = V.map((x) => Math.abs(x)).reduce((x, k) => x + k, 0);
358
359
  return {
359
360
  ...ce,
360
- proportions: V.map((x, k) => e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / _a),
361
+ proportions: V.map((x, k) => e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / Ra),
361
362
  series: V,
362
- signedSeries: pa,
363
- x: xa,
364
- y: wa,
365
- height: za,
366
- horizontal_width: Ca,
367
- horizontal_y: ka,
368
- horizontal_x: La
363
+ signedSeries: Ca,
364
+ x: Sa,
365
+ y: $a,
366
+ height: Ma,
367
+ horizontal_width: Aa,
368
+ horizontal_y: _a,
369
+ horizontal_x: Ta
369
370
  };
370
371
  });
371
- }), gt = p(() => ha.value.map((a, l) => ({
372
+ }), bt = m(() => va.value.map((a, l) => ({
372
373
  value: a,
373
374
  sign: a >= 0 ? 1 : -1
374
375
  })));
@@ -386,7 +387,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
386
387
  { datapoint: l, seriesIndex: t, datapointIndex: s }
387
388
  );
388
389
  }
389
- function bt(a, l, t, s) {
390
+ function ft(a, l, t, s) {
390
391
  return Te(
391
392
  e.value.style.chart.bars.dataLabels.formatter,
392
393
  a,
@@ -398,7 +399,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
398
399
  { datapoint: l, seriesIndex: t, datapointIndex: s }
399
400
  );
400
401
  }
401
- function ft(a) {
402
+ function mt(a) {
402
403
  const l = JSON.parse(JSON.stringify(w.value)).map((t) => ({
403
404
  name: t.name,
404
405
  value: t.series[a] === 0 ? 0 : t.series[a] || null,
@@ -408,7 +409,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
408
409
  }));
409
410
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: a + h.value.start }), Ae("selectDatapoint", { datapoint: l, period: $.value[a] });
410
411
  }
411
- function mt(a) {
412
+ function pt(a) {
412
413
  return JSON.parse(JSON.stringify(w.value)).map((l) => ({
413
414
  name: l.name,
414
415
  absoluteIndex: l.absoluteIndex,
@@ -418,16 +419,16 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
418
419
  id: l.id
419
420
  }));
420
421
  }
421
- function pt(a) {
422
+ function xt(a) {
422
423
  if (e.value.events.datapointLeave) {
423
- const l = mt(a);
424
+ const l = pt(a);
424
425
  e.value.events.datapointLeave({ datapoint: l, seriesIndex: a + h.value.start });
425
426
  }
426
427
  Re.value = null, de.value = null;
427
428
  }
428
- function xt(a) {
429
+ function kt(a) {
429
430
  de.value = a, Re.value = !0;
430
- const l = e.value.style.chart.tooltip.customFormat, t = mt(a);
431
+ const l = e.value.style.chart.tooltip.customFormat, t = pt(a);
431
432
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a + h.value.start }), Ie.value = {
432
433
  datapoint: t,
433
434
  seriesIndex: a,
@@ -435,7 +436,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
435
436
  series: w.value
436
437
  };
437
438
  const s = t.map((c) => Math.abs(c.value)).reduce((c, u) => c + u, 0);
438
- if (Wt(l) && Ba(() => l({
439
+ if (Yt(l) && qa(() => l({
439
440
  seriesIndex: a,
440
441
  datapoint: t,
441
442
  series: w.value,
@@ -451,12 +452,12 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
451
452
  const {
452
453
  showValue: c,
453
454
  showPercentage: u,
454
- borderColor: _,
455
+ borderColor: S,
455
456
  roundingValue: q,
456
457
  roundingPercentage: Z
457
458
  } = e.value.style.chart.tooltip;
458
459
  let K = "";
459
- $.value[a] && $.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (K += `<div style="width:100%;text-align:center;border-bottom:1px solid ${_};padding-bottom:6px;margin-bottom:3px;">${$.value[a].text}</div>`);
460
+ $.value[a] && $.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (K += `<div style="width:100%;text-align:center;border-bottom:1px solid ${S};padding-bottom:6px;margin-bottom:3px;">${$.value[a].text}</div>`);
460
461
  const P = [
461
462
  c && u ? "(" : "",
462
463
  c && u ? ")" : ""
@@ -464,7 +465,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
464
465
  t.reverse().forEach((A) => {
465
466
  K += `
466
467
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
467
- <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${A.id})` : A.color}"/>${aa.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${M.value}_${A.absoluteIndex})"/>` : ""}</svg>
468
+ <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${A.id})` : A.color}"/>${la.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${M.value}_${A.absoluteIndex})"/>` : ""}</svg>
468
469
  ${A.name}${c || u ? ":" : ""} ${c ? ee({
469
470
  p: e.value.style.chart.bars.dataLabels.prefix,
470
471
  v: A.value,
@@ -481,8 +482,8 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
481
482
  }), Ne.value = `<div>${K}</div>`;
482
483
  }
483
484
  }
484
- const va = p(() => te.value.width), da = p(() => te.value.height);
485
- Ka({
485
+ const da = m(() => te.value.width), ga = m(() => te.value.height);
486
+ sl({
486
487
  timeLabelsEls: e.value.orientation === "vertical" ? J : G,
487
488
  timeLabels: $,
488
489
  slicer: h,
@@ -490,26 +491,26 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
490
491
  rotationPath: ["style", "chart", "grid", "x", "timeLabels", "rotation"],
491
492
  autoRotatePath: ["style", "chart", "grid", "x", "timeLabels", "autoRotate", "enable"],
492
493
  isAutoSize: !1,
493
- width: va,
494
- height: da,
494
+ width: da,
495
+ height: ga,
495
496
  rotation: e.value.style.chart.grid.x.timeLabels.autoRotate.angle
496
497
  });
497
- function kt(a) {
498
- re.value = a, Ge.value += 1;
498
+ function wt(a) {
499
+ re.value = a, qe.value += 1;
499
500
  }
500
- function wt() {
501
+ function Lt() {
501
502
  z.value.showTable = !z.value.showTable;
502
503
  }
503
- function Lt() {
504
+ function zt() {
504
505
  z.value.dataLabels.show = !z.value.dataLabels.show;
505
506
  }
506
- function zt() {
507
+ function Ct() {
507
508
  z.value.showTooltip = !z.value.showTooltip;
508
509
  }
509
510
  function ya() {
510
511
  return w.value;
511
512
  }
512
- const Ct = p(() => {
513
+ const St = m(() => {
513
514
  if (w.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
514
515
  const a = w.value.map(({ name: t, color: s }) => ({
515
516
  label: t,
@@ -522,16 +523,16 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
522
523
  }), l.push(s);
523
524
  }), { head: a, body: l };
524
525
  });
525
- function Be(a = null) {
526
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...Ct.value.head.map((_) => _.label)], s = Ct.value.body, c = l.concat([t]).concat(s), u = Ua(c);
527
- a ? a(u) : Ha({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
526
+ function We(a = null) {
527
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...St.value.head.map((S) => S.label)], s = St.value.body, c = l.concat([t]).concat(s), u = Ga(c);
528
+ a ? a(u) : Ja({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
528
529
  }
529
- const xe = p(() => {
530
+ const xe = m(() => {
530
531
  const a = [""].concat(w.value.map((c) => c.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
531
532
  let l = [];
532
533
  for (let c = 0; c < U.value; c += 1) {
533
- const u = w.value.map((_) => _.series[c] ?? 0).reduce((_, q) => _ + q, 0);
534
- l.push([e.value.style.chart.grid.x.timeLabels.values.slice(h.value.start, h.value.end)[c] ? $.value[c].text : c + 1].concat(w.value.map((_) => (_.series[c] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((u ?? 0).toFixed(e.value.table.td.roundingValue)));
534
+ const u = w.value.map((S) => S.series[c] ?? 0).reduce((S, q) => S + q, 0);
535
+ l.push([e.value.style.chart.grid.x.timeLabels.values.slice(h.value.start, h.value.end)[c] ? $.value[c].text : c + 1].concat(w.value.map((S) => (S.series[c] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((u ?? 0).toFixed(e.value.table.td.roundingValue)));
535
536
  }
536
537
  const t = {
537
538
  th: {
@@ -548,31 +549,31 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
548
549
  }, s = [e.value.table.columnNames.period].concat(w.value.map((c) => c.name)).concat(e.value.table.columnNames.total);
549
550
  return { head: a, body: l.slice(0, h.value.end - h.value.start), config: t, colNames: s };
550
551
  });
551
- function ga(a, l) {
552
- if (Ae("selectLegend", w.value.find((t) => t.absoluteIndex === a)), S.value.includes(l.id))
553
- S.value = S.value.filter((t) => t !== l.id);
552
+ function ba(a, l) {
553
+ if (Ae("selectLegend", w.value.find((t) => t.absoluteIndex === a)), _.value.includes(l.id))
554
+ _.value = _.value.filter((t) => t !== l.id);
554
555
  else {
555
- if (S.value.length === F.value.length - 1) return;
556
- S.value.push(l.id);
556
+ if (_.value.length === F.value.length - 1) return;
557
+ _.value.push(l.id);
557
558
  }
558
559
  }
559
- const _t = p(() => F.value.map((a, l) => ({
560
+ const Ye = m(() => F.value.map((a, l) => ({
560
561
  ...a,
561
562
  shape: "square"
562
563
  })).map((a) => ({
563
564
  ...a,
564
- opacity: S.value.includes(a.id) ? 0.5 : 1,
565
- segregate: () => ga(a.absoluteIndex, a),
566
- isSegregated: S.value.includes(a.id)
567
- }))), ba = p(() => ({
565
+ opacity: _.value.includes(a.id) ? 0.5 : 1,
566
+ segregate: () => ba(a.absoluteIndex, a),
567
+ isSegregated: _.value.includes(a.id)
568
+ }))), fa = m(() => ({
568
569
  cy: "stackbar-legend",
569
570
  backgroundColor: e.value.style.chart.legend.backgroundColor,
570
571
  color: e.value.style.chart.legend.color,
571
572
  fontSize: e.value.style.chart.legend.fontSize,
572
573
  paddingBottom: 12,
573
574
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
574
- })), ke = g(!1);
575
- function We() {
575
+ })), ke = y(!1);
576
+ function Xe() {
576
577
  ke.value = !ke.value;
577
578
  }
578
579
  function we(a, l) {
@@ -589,13 +590,13 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
589
590
  label: a.text
590
591
  });
591
592
  }
592
- const fa = p(() => Math.max(...w.value.flatMap((a) => a.series)));
593
- function St(a, l) {
594
- return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? nt.value ? l * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : nt.value ? (ot.value && Fe.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), a > fa.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : ot.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
593
+ const ma = m(() => Math.max(...w.value.flatMap((a) => a.series)));
594
+ function _t(a, l) {
595
+ return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? it.value ? l * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : it.value ? (nt.value && Ue.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), a > ma.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : nt.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
595
596
  }
596
- async function ma({ scale: a = 2 } = {}) {
597
+ async function pa({ scale: a = 2 } = {}) {
597
598
  if (!O.value) return;
598
- const { width: l, height: t } = O.value.getBoundingClientRect(), s = l / t, { imageUri: c, base64: u } = await Qa({ domElement: O.value, base64: !0, img: !0, scale: a });
599
+ const { width: l, height: t } = O.value.getBoundingClientRect(), s = l / t, { imageUri: c, base64: u } = await rl({ domElement: O.value, base64: !0, img: !0, scale: a });
599
600
  return {
600
601
  imageUri: c,
601
602
  base64: u,
@@ -605,10 +606,10 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
605
606
  aspectRatio: s
606
607
  };
607
608
  }
608
- const ue = p(() => {
609
+ const ue = m(() => {
609
610
  const a = e.value.table.useDialog && !e.value.table.show, l = z.value.showTable;
610
611
  return {
611
- component: a ? ea : qt,
612
+ component: a ? ta : Zt,
612
613
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
613
614
  props: a ? {
614
615
  backgroundColor: e.value.table.th.backgroundColor,
@@ -641,43 +642,58 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
641
642
  function $t() {
642
643
  z.value.showTable = !1, Oe.value && Oe.value.setTableIconState(!1);
643
644
  }
644
- return Yt({
645
+ const xa = m(() => e.value.style.chart.backgroundColor), ka = m(() => e.value.style.chart.legend), wa = m(() => e.value.style.chart.title), { exportSvg: La, getSvg: za } = el({
646
+ svg: Ee,
647
+ title: wa,
648
+ legend: ka,
649
+ legendItems: Ye,
650
+ backgroundColor: xa
651
+ });
652
+ async function Tt({ isCb: a }) {
653
+ if (a) {
654
+ const { blob: l, url: t, text: s, dataUrl: c } = await za();
655
+ e.value.userOptions.callbacks.svg({ blob: l, url: t, text: s, dataUrl: c });
656
+ } else
657
+ La();
658
+ }
659
+ return Xt({
645
660
  getData: ya,
646
- getImage: ma,
647
- generatePdf: ct,
648
- generateCsv: Be,
649
- generateImage: ht,
650
- toggleTable: wt,
651
- toggleLabels: Lt,
652
- toggleTooltip: zt,
653
- toggleAnnotator: We,
654
- toggleFullscreen: kt
661
+ getImage: pa,
662
+ generatePdf: ht,
663
+ generateCsv: We,
664
+ generateImage: vt,
665
+ generateSvg: Tt,
666
+ toggleTable: Lt,
667
+ toggleLabels: zt,
668
+ toggleTooltip: Ct,
669
+ toggleAnnotator: Xe,
670
+ toggleFullscreen: wt
655
671
  }), (a, l) => (r(), o("div", {
656
672
  id: `stackbar_${M.value}`,
657
673
  ref_key: "stackbarChart",
658
674
  ref: O,
659
675
  class: le({ "vue-data-ui-component": !0, "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": re.value }),
660
676
  style: j(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
661
- onMouseenter: l[4] || (l[4] = () => v(lt)(!0)),
662
- onMouseleave: l[5] || (l[5] = () => v(lt)(!1))
677
+ onMouseenter: l[4] || (l[4] = () => v(rt)(!0)),
678
+ onMouseleave: l[5] || (l[5] = () => v(rt)(!1))
663
679
  }, [
664
- e.value.userOptions.buttons.annotator ? (r(), B(v(Kt), {
680
+ e.value.userOptions.buttons.annotator ? (r(), B(v(Qt), {
665
681
  key: 0,
666
- svgRef: v(rt),
682
+ svgRef: v(Ee),
667
683
  backgroundColor: e.value.style.chart.backgroundColor,
668
684
  color: e.value.style.chart.color,
669
685
  active: ke.value,
670
- onClose: We
686
+ onClose: Xe
671
687
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
672
688
  L(a.$slots, "userConfig", {}, void 0, !0),
673
689
  e.value.style.chart.title.text ? (r(), o("div", {
674
690
  key: 1,
675
691
  ref_key: "chartTitle",
676
- ref: Je,
692
+ ref: Ze,
677
693
  style: "width:100%;background:transparent;padding-bottom:24px"
678
694
  }, [
679
- (r(), B(ja, {
680
- key: `title_${je.value}`,
695
+ (r(), B(ol, {
696
+ key: `title_${tt.value}`,
681
697
  config: {
682
698
  title: {
683
699
  cy: "stackbar-title",
@@ -692,19 +708,20 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
692
708
  ], 512)) : d("", !0),
693
709
  D("div", {
694
710
  id: `legend-top-${M.value}`
695
- }, null, 8, ol),
696
- e.value.userOptions.show && ve.value && (v(st) || v(De)) ? (r(), B(v(Qt), {
711
+ }, null, 8, dl),
712
+ e.value.userOptions.show && ve.value && (v(ot) || v(De)) ? (r(), B(v(jt), {
697
713
  ref_key: "userOptionsRef",
698
714
  ref: Oe,
699
- key: `user_option_${Ge.value}`,
715
+ key: `user_option_${qe.value}`,
700
716
  backgroundColor: e.value.style.chart.backgroundColor,
701
717
  color: e.value.style.chart.color,
702
- isPrinting: v(it),
703
- isImaging: v(ut),
718
+ isPrinting: v(ut),
719
+ isImaging: v(ct),
704
720
  uid: M.value,
705
721
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
706
722
  hasPdf: e.value.userOptions.buttons.pdf,
707
723
  hasImg: e.value.userOptions.buttons.img,
724
+ hasSvg: e.value.userOptions.buttons.svg,
708
725
  hasXls: e.value.userOptions.buttons.csv,
709
726
  hasTable: e.value.userOptions.buttons.table,
710
727
  hasLabel: e.value.userOptions.buttons.labels,
@@ -719,18 +736,19 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
719
736
  callbacks: e.value.userOptions.callbacks,
720
737
  printScale: e.value.userOptions.print.scale,
721
738
  tableDialog: e.value.table.useDialog,
722
- onToggleFullscreen: kt,
723
- onGeneratePdf: v(ct),
724
- onGenerateCsv: Be,
725
- onGenerateImage: v(ht),
726
- onToggleTable: wt,
727
- onToggleLabels: Lt,
728
- onToggleTooltip: zt,
729
- onToggleAnnotator: We,
739
+ onToggleFullscreen: wt,
740
+ onGeneratePdf: v(ht),
741
+ onGenerateCsv: We,
742
+ onGenerateImage: v(vt),
743
+ onGenerateSvg: Tt,
744
+ onToggleTable: Lt,
745
+ onToggleLabels: zt,
746
+ onToggleTooltip: Ct,
747
+ onToggleAnnotator: Xe,
730
748
  style: j({
731
- visibility: v(st) ? v(De) ? "visible" : "hidden" : "visible"
749
+ visibility: v(ot) ? v(De) ? "visible" : "hidden" : "visible"
732
750
  })
733
- }, Ye({ _: 2 }, [
751
+ }, Ge({ _: 2 }, [
734
752
  a.$slots.menuIcon ? {
735
753
  name: "menuIcon",
736
754
  fn: C(({ isOpen: t, color: s }) => [
@@ -794,16 +812,16 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
794
812
  ]),
795
813
  key: "8"
796
814
  } : void 0
797
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
815
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
798
816
  (r(), o("svg", {
799
817
  ref_key: "svgRef",
800
- ref: rt,
801
- xmlns: v(Va),
818
+ ref: Ee,
819
+ xmlns: v(Ba),
802
820
  viewBox: `0 0 ${n.value.chartWidth <= 0 ? 10 : n.value.chartWidth} ${n.value.chartHeight <= 0 ? 10 : n.value.chartHeight}`,
803
821
  class: le({ "vue-data-ui-loading": v(ne) }),
804
822
  style: j(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
805
823
  }, [
806
- he(v(jt)),
824
+ he(v(ea)),
807
825
  a.$slots["chart-background"] ? (r(), o("foreignObject", {
808
826
  key: 0,
809
827
  x: n.value.left,
@@ -815,9 +833,9 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
815
833
  }
816
834
  }, [
817
835
  L(a.$slots, "chart-background", {}, void 0, !0)
818
- ], 8, il)) : d("", !0),
819
- e.value.style.chart.bars.gradient.show ? (r(), o("defs", ul, [
820
- (r(!0), o(b, null, m(w.value, (t, s) => (r(), o("linearGradient", {
836
+ ], 8, yl)) : d("", !0),
837
+ e.value.style.chart.bars.gradient.show ? (r(), o("defs", bl, [
838
+ (r(!0), o(b, null, p(w.value, (t, s) => (r(), o("linearGradient", {
821
839
  id: `gradient_${t.id}`,
822
840
  x1: "0%",
823
841
  y1: "0%",
@@ -827,18 +845,18 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
827
845
  D("stop", {
828
846
  offset: "0%",
829
847
  "stop-color": t.color
830
- }, null, 8, hl),
848
+ }, null, 8, ml),
831
849
  D("stop", {
832
850
  offset: "61.8%",
833
- "stop-color": v(Da)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
834
- }, null, 8, vl),
851
+ "stop-color": v(Wa)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
852
+ }, null, 8, pl),
835
853
  D("stop", {
836
854
  offset: "100%",
837
855
  "stop-color": t.color
838
- }, null, 8, dl)
839
- ], 8, cl))), 256))
856
+ }, null, 8, xl)
857
+ ], 8, fl))), 256))
840
858
  ])) : d("", !0),
841
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (r(!0), o(b, { key: 2 }, m(N.value, (t, s) => (r(), o("line", {
859
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (r(!0), o(b, { key: 2 }, p(N.value, (t, s) => (r(), o("line", {
842
860
  x1: n.value.left,
843
861
  x2: n.value.right,
844
862
  y1: t.y,
@@ -847,28 +865,28 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
847
865
  "stroke-width": e.value.style.chart.grid.x.linesThickness,
848
866
  "stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
849
867
  "stroke-linecap": "round"
850
- }, null, 8, yl))), 256)) : d("", !0),
851
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (r(!0), o(b, { key: 3 }, m(h.value.end - h.value.start + 1, (t, s) => (r(), o("line", {
868
+ }, null, 8, kl))), 256)) : d("", !0),
869
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (r(!0), o(b, { key: 3 }, p(h.value.end - h.value.start + 1, (t, s) => (r(), o("line", {
852
870
  x1: n.value.left,
853
871
  x2: n.value.right,
854
- y1: n.value.top + y.value * s,
855
- y2: n.value.top + y.value * s,
872
+ y1: n.value.top + g.value * s,
873
+ y2: n.value.top + g.value * s,
856
874
  stroke: e.value.style.chart.grid.x.linesColor,
857
875
  "stroke-width": e.value.style.chart.grid.x.linesThickness,
858
876
  "stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
859
877
  "stroke-linecap": "round"
860
- }, null, 8, gl))), 256)) : d("", !0),
861
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (r(!0), o(b, { key: 4 }, m(h.value.end - h.value.start + 1, (t, s) => (r(), o("line", {
862
- x1: n.value.left + y.value * s,
863
- x2: n.value.left + y.value * s,
878
+ }, null, 8, wl))), 256)) : d("", !0),
879
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (r(!0), o(b, { key: 4 }, p(h.value.end - h.value.start + 1, (t, s) => (r(), o("line", {
880
+ x1: n.value.left + g.value * s,
881
+ x2: n.value.left + g.value * s,
864
882
  y1: n.value.top,
865
883
  y2: n.value.bottom,
866
884
  stroke: e.value.style.chart.grid.y.linesColor,
867
885
  "stroke-width": e.value.style.chart.grid.y.linesThickness,
868
886
  "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
869
887
  "stroke-linecap": "round"
870
- }, null, 8, bl))), 256)) : d("", !0),
871
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (r(!0), o(b, { key: 5 }, m(N.value, (t, s) => (r(), o("line", {
888
+ }, null, 8, Ll))), 256)) : d("", !0),
889
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (r(!0), o(b, { key: 5 }, p(N.value, (t, s) => (r(), o("line", {
872
890
  x1: t.horizontal_x,
873
891
  x2: t.horizontal_x,
874
892
  y1: n.value.top,
@@ -877,68 +895,68 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
877
895
  "stroke-width": e.value.style.chart.grid.y.linesThickness,
878
896
  "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
879
897
  "stroke-linecap": "round"
880
- }, null, 8, fl))), 256)) : d("", !0),
881
- (r(!0), o(b, null, m(w.value, (t, s) => (r(), o("g", null, [
882
- a.$slots.pattern ? (r(), o("defs", ml, [
898
+ }, null, 8, zl))), 256)) : d("", !0),
899
+ (r(!0), o(b, null, p(w.value, (t, s) => (r(), o("g", null, [
900
+ a.$slots.pattern ? (r(), o("defs", Cl, [
883
901
  L(a.$slots, "pattern", Ce({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${M.value}_${t.absoluteIndex}` }), void 0, !0)
884
902
  ])) : d("", !0),
885
903
  e.value.orientation === "vertical" ? (r(), o(b, { key: 1 }, [
886
- (r(!0), o(b, null, m(t.x, (c, u) => (r(), o("rect", {
904
+ (r(!0), o(b, null, p(t.x, (c, u) => (r(), o("rect", {
887
905
  x: c,
888
906
  y: t.y[u] < 0 ? 0 : t.y[u],
889
907
  height: t.height[u] < 0 ? 1e-4 : t.height[u] || 0,
890
908
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
891
- width: y.value * (1 - e.value.style.chart.bars.gapRatio / 2),
909
+ width: g.value * (1 - e.value.style.chart.bars.gapRatio / 2),
892
910
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
893
911
  stroke: e.value.style.chart.backgroundColor,
894
912
  "stroke-width": e.value.style.chart.bars.strokeWidth,
895
913
  "stroke-linecap": "round",
896
914
  "stroke-linejoin": "round",
897
915
  class: le({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": X.value })
898
- }, null, 10, pl))), 256)),
899
- a.$slots.pattern ? (r(), o("g", xl, [
900
- (r(!0), o(b, null, m(t.x, (c, u) => (r(), o("rect", {
916
+ }, null, 10, Sl))), 256)),
917
+ a.$slots.pattern ? (r(), o("g", _l, [
918
+ (r(!0), o(b, null, p(t.x, (c, u) => (r(), o("rect", {
901
919
  x: c,
902
920
  y: t.y[u] < 0 ? 0 : t.y[u],
903
921
  height: t.height[u] < 0 ? 1e-4 : t.height[u] || 0,
904
922
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
905
- width: y.value * (1 - e.value.style.chart.bars.gapRatio / 2),
923
+ width: g.value * (1 - e.value.style.chart.bars.gapRatio / 2),
906
924
  fill: `url(#pattern_${M.value}_${t.absoluteIndex})`,
907
925
  stroke: e.value.style.chart.backgroundColor,
908
926
  "stroke-width": e.value.style.chart.bars.strokeWidth,
909
927
  "stroke-linecap": "round",
910
928
  "stroke-linejoin": "round",
911
929
  class: le({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": X.value })
912
- }, null, 10, kl))), 256))
930
+ }, null, 10, $l))), 256))
913
931
  ])) : d("", !0)
914
932
  ], 64)) : (r(), o(b, { key: 2 }, [
915
- (r(!0), o(b, null, m(t.horizontal_x, (c, u) => (r(), o("rect", {
933
+ (r(!0), o(b, null, p(t.horizontal_x, (c, u) => (r(), o("rect", {
916
934
  x: v($e)(c, n.value.left),
917
935
  y: t.horizontal_y[u] < 0 ? 0 : t.horizontal_y[u],
918
936
  width: v($e)(t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]),
919
937
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
920
- height: y.value * (1 - e.value.style.chart.bars.gapRatio / 2),
938
+ height: g.value * (1 - e.value.style.chart.bars.gapRatio / 2),
921
939
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
922
940
  stroke: e.value.style.chart.backgroundColor,
923
941
  "stroke-width": e.value.style.chart.bars.strokeWidth,
924
942
  "stroke-linecap": "round",
925
943
  "stroke-linejoin": "round",
926
944
  class: le({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": X.value })
927
- }, null, 10, wl))), 256)),
928
- a.$slots.pattern ? (r(), o("g", Ll, [
929
- (r(!0), o(b, null, m(t.horizontal_x, (c, u) => (r(), o("rect", {
945
+ }, null, 10, Tl))), 256)),
946
+ a.$slots.pattern ? (r(), o("g", Ml, [
947
+ (r(!0), o(b, null, p(t.horizontal_x, (c, u) => (r(), o("rect", {
930
948
  x: v($e)(c, n.value.left),
931
949
  y: t.horizontal_y[u] < 0 ? 0 : t.horizontal_y[u],
932
950
  width: v($e)(t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]),
933
951
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
934
- height: y.value * (1 - e.value.style.chart.bars.gapRatio / 2),
952
+ height: g.value * (1 - e.value.style.chart.bars.gapRatio / 2),
935
953
  fill: `url(#pattern_${M.value}_${t.absoluteIndex})`,
936
954
  stroke: e.value.style.chart.backgroundColor,
937
955
  "stroke-width": e.value.style.chart.bars.strokeWidth,
938
956
  "stroke-linecap": "round",
939
957
  "stroke-linejoin": "round",
940
958
  class: le({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": X.value })
941
- }, null, 10, zl))), 256))
959
+ }, null, 10, Al))), 256))
942
960
  ])) : d("", !0)
943
961
  ], 64))
944
962
  ]))), 256)),
@@ -952,7 +970,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
952
970
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
953
971
  "stroke-linecap": "round",
954
972
  "stroke-linejoin": "round"
955
- }, null, 8, Cl)) : d("", !0),
973
+ }, null, 8, Rl)) : d("", !0),
956
974
  e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (r(), o("line", {
957
975
  key: 7,
958
976
  x1: n.value.left,
@@ -963,7 +981,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
963
981
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
964
982
  "stroke-linecap": "round",
965
983
  "stroke-linejoin": "round"
966
- }, null, 8, _l)) : d("", !0),
984
+ }, null, 8, Il)) : d("", !0),
967
985
  e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (r(), o("text", {
968
986
  key: 8,
969
987
  ref_key: "xAxisLabel",
@@ -974,7 +992,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
974
992
  fill: e.value.style.chart.grid.x.axisName.color,
975
993
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
976
994
  "text-anchor": "middle"
977
- }, T(e.value.style.chart.grid.x.axisName.text), 9, Sl)) : d("", !0),
995
+ }, T(e.value.style.chart.grid.x.axisName.text), 9, Nl)) : d("", !0),
978
996
  e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (r(), o("text", {
979
997
  key: 9,
980
998
  ref_key: "yAxisLabel",
@@ -984,68 +1002,68 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
984
1002
  fill: e.value.style.chart.grid.y.axisName.color,
985
1003
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
986
1004
  "text-anchor": "middle"
987
- }, T(e.value.style.chart.grid.y.axisName.text), 9, $l)) : d("", !0),
1005
+ }, T(e.value.style.chart.grid.y.axisName.text), 9, Ol)) : d("", !0),
988
1006
  z.value.dataLabels.show && e.value.orientation === "vertical" ? (r(), o(b, { key: 10 }, [
989
- (r(!0), o(b, null, m(w.value, (t, s) => (r(), o("g", null, [
990
- (r(!0), o(b, null, m(t.x, (c, u) => (r(), o(b, null, [
991
- St(t.series[u], t.proportions[u]) ? (r(), o("text", {
1007
+ (r(!0), o(b, null, p(w.value, (t, s) => (r(), o("g", null, [
1008
+ (r(!0), o(b, null, p(t.x, (c, u) => (r(), o(b, null, [
1009
+ _t(t.series[u], t.proportions[u]) ? (r(), o("text", {
992
1010
  key: 0,
993
- x: c + y.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
1011
+ x: c + g.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
994
1012
  y: t.y[u] + t.height[u] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
995
1013
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
996
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? v(Bt)(t.color) : e.value.style.chart.bars.dataLabels.color,
1014
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? v(Wt)(t.color) : e.value.style.chart.bars.dataLabels.color,
997
1015
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
998
1016
  "text-anchor": "middle"
999
- }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? bt(t.proportions[u] * 100, t, s, u) : pe(t.series[u], t, s, u, t.signedSeries[u])), 9, Tl)) : d("", !0)
1017
+ }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? ft(t.proportions[u] * 100, t, s, u) : pe(t.series[u], t, s, u, t.signedSeries[u])), 9, Pl)) : d("", !0)
1000
1018
  ], 64))), 256))
1001
1019
  ]))), 256)),
1002
1020
  e.value.style.chart.bars.totalValues.show && w.value.length > 1 ? (r(), o("g", {
1003
1021
  key: 0,
1004
1022
  ref_key: "sumTop",
1005
- ref: ra
1023
+ ref: oa
1006
1024
  }, [
1007
- (r(!0), o(b, null, m(gt.value, (t, s) => (r(), o(b, null, [
1025
+ (r(!0), o(b, null, p(bt.value, (t, s) => (r(), o(b, null, [
1008
1026
  !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (r(), o("text", {
1009
1027
  key: 0,
1010
- x: n.value.left + y.value * s + y.value / 2,
1028
+ x: n.value.left + g.value * s + g.value / 2,
1011
1029
  y: e.value.style.chart.bars.totalValues.fontSize,
1012
1030
  "text-anchor": "middle",
1013
1031
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
1014
1032
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1015
1033
  fill: e.value.style.chart.bars.totalValues.color
1016
- }, T(pe(t.value, t, s, t.sign)), 9, Ml)) : d("", !0)
1034
+ }, T(pe(t.value, t, s, t.sign)), 9, Vl)) : d("", !0)
1017
1035
  ], 64))), 256))
1018
1036
  ], 512)) : d("", !0)
1019
1037
  ], 64)) : d("", !0),
1020
1038
  z.value.dataLabels.show && e.value.orientation === "horizontal" ? (r(), o(b, { key: 11 }, [
1021
- (r(!0), o(b, null, m(w.value, (t, s) => (r(), o("g", null, [
1022
- (r(!0), o(b, null, m(t.horizontal_x, (c, u) => (r(), o(b, null, [
1023
- St(t.series[u], t.proportions[u]) ? (r(), o("text", {
1039
+ (r(!0), o(b, null, p(w.value, (t, s) => (r(), o("g", null, [
1040
+ (r(!0), o(b, null, p(t.horizontal_x, (c, u) => (r(), o(b, null, [
1041
+ _t(t.series[u], t.proportions[u]) ? (r(), o("text", {
1024
1042
  key: 0,
1025
1043
  x: c + (t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]) / 2,
1026
- y: t.horizontal_y[u] + y.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
1044
+ y: t.horizontal_y[u] + g.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
1027
1045
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
1028
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? v(Bt)(t.color) : e.value.style.chart.bars.dataLabels.color,
1046
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? v(Wt)(t.color) : e.value.style.chart.bars.dataLabels.color,
1029
1047
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1030
1048
  "text-anchor": "middle"
1031
- }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? bt(t.proportions[u] * 100, t, s, u) : pe(t.series[u], t, s, u, t.signedSeries[u])), 9, Al)) : d("", !0)
1049
+ }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? ft(t.proportions[u] * 100, t, s, u) : pe(t.series[u], t, s, u, t.signedSeries[u])), 9, Dl)) : d("", !0)
1032
1050
  ], 64))), 256))
1033
1051
  ]))), 256)),
1034
1052
  e.value.style.chart.bars.totalValues.show && w.value.length > 1 ? (r(), o("g", {
1035
1053
  key: 0,
1036
1054
  ref_key: "sumRight",
1037
- ref: at
1055
+ ref: st
1038
1056
  }, [
1039
- (r(!0), o(b, null, m(gt.value, (t, s) => (r(), o(b, null, [
1057
+ (r(!0), o(b, null, p(bt.value, (t, s) => (r(), o(b, null, [
1040
1058
  !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (r(), o("text", {
1041
1059
  key: 0,
1042
1060
  x: n.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
1043
- y: n.value.top + y.value * s + y.value / 2,
1061
+ y: n.value.top + g.value * s + g.value / 2,
1044
1062
  "text-anchor": "start",
1045
1063
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
1046
1064
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1047
1065
  fill: e.value.style.chart.bars.totalValues.color
1048
- }, T(pe(t.value, t, s, t.sign)), 9, Rl)) : d("", !0)
1066
+ }, T(pe(t.value, t, s, t.sign)), 9, El)) : d("", !0)
1049
1067
  ], 64))), 256))
1050
1068
  ], 512)) : d("", !0)
1051
1069
  ], 64)) : d("", !0),
@@ -1054,15 +1072,15 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1054
1072
  ref_key: "scaleLabels",
1055
1073
  ref: G
1056
1074
  }, [
1057
- (r(!0), o(b, null, m(N.value, (t, s) => (r(), o("line", {
1075
+ (r(!0), o(b, null, p(N.value, (t, s) => (r(), o("line", {
1058
1076
  x1: n.value.left,
1059
1077
  x2: n.value.left - 6,
1060
1078
  y1: t.y,
1061
1079
  y2: t.y,
1062
1080
  stroke: e.value.style.chart.grid.x.axisColor,
1063
1081
  "stroke-width": 1
1064
- }, null, 8, Il))), 256)),
1065
- (r(!0), o(b, null, m(N.value, (t, s) => (r(), o("text", {
1082
+ }, null, 8, Fl))), 256)),
1083
+ (r(!0), o(b, null, p(N.value, (t, s) => (r(), o("text", {
1066
1084
  x: t.x,
1067
1085
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1068
1086
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
@@ -1079,14 +1097,14 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1079
1097
  r: e.value.style.chart.grid.y.axisLabels.rounding
1080
1098
  }),
1081
1099
  { datapoint: t }
1082
- )), 9, Nl))), 256))
1100
+ )), 9, Ul))), 256))
1083
1101
  ], 512)) : d("", !0),
1084
1102
  e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (r(), o("g", {
1085
1103
  key: 13,
1086
1104
  ref_key: "scaleLabels",
1087
1105
  ref: G
1088
1106
  }, [
1089
- (r(!0), o(b, null, m(N.value, (t, s) => (r(), o("line", {
1107
+ (r(!0), o(b, null, p(N.value, (t, s) => (r(), o("line", {
1090
1108
  x1: t.horizontal_x,
1091
1109
  x2: t.horizontal_x,
1092
1110
  y1: n.value.bottom,
@@ -1094,8 +1112,8 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1094
1112
  stroke: e.value.style.chart.grid.x.axisColor,
1095
1113
  "stroke-width": 1,
1096
1114
  "stroke-linecap": "round"
1097
- }, null, 8, Ol))), 256)),
1098
- (r(!0), o(b, null, m(N.value, (t, s) => (r(), o("text", {
1115
+ }, null, 8, Hl))), 256)),
1116
+ (r(!0), o(b, null, p(N.value, (t, s) => (r(), o("text", {
1099
1117
  class: "vue-data-ui-time-label",
1100
1118
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
1101
1119
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
@@ -1112,29 +1130,29 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1112
1130
  r: e.value.style.chart.grid.y.axisLabels.rounding
1113
1131
  }),
1114
1132
  { datapoint: t }
1115
- )), 9, Pl))), 256))
1133
+ )), 9, Bl))), 256))
1116
1134
  ], 512)) : d("", !0),
1117
1135
  e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (r(), o("g", {
1118
1136
  key: 14,
1119
1137
  ref_key: "timeLabelsEls",
1120
1138
  ref: J
1121
1139
  }, [
1122
- a.$slots["time-label"] ? (r(), o("g", Vl, [
1123
- (r(!0), o(b, null, m($.value, (t, s) => (r(), o("g", null, [
1140
+ a.$slots["time-label"] ? (r(), o("g", Wl, [
1141
+ (r(!0), o(b, null, p($.value, (t, s) => (r(), o("g", null, [
1124
1142
  L(a.$slots, "time-label", Ce({ ref_for: !0 }, {
1125
- x: n.value.left + y.value * s + y.value / 2,
1143
+ x: n.value.left + g.value * s + g.value / 2,
1126
1144
  y: n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
1127
1145
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
1128
1146
  fill: e.value.style.chart.grid.x.timeLabels.color,
1129
- transform: `translate(${n.value.left + y.value * s + y.value / 2}, ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1147
+ transform: `translate(${n.value.left + g.value * s + g.value / 2}, ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1130
1148
  absoluteIndex: t.absoluteIndex,
1131
1149
  content: t.text,
1132
1150
  textAnchor: e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1133
1151
  show: !0
1134
1152
  }), void 0, !0)
1135
1153
  ]))), 256))
1136
- ])) : (r(), o("g", Dl, [
1137
- (r(!0), o(b, null, m($.value, (t, s) => (r(), o("g", null, [
1154
+ ])) : (r(), o("g", Yl, [
1155
+ (r(!0), o(b, null, p($.value, (t, s) => (r(), o("g", null, [
1138
1156
  String(t.text).includes(`
1139
1157
  `) ? (r(), o("text", {
1140
1158
  key: s + "-multi",
@@ -1143,13 +1161,13 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1143
1161
  fill: e.value.style.chart.grid.x.timeLabels.color,
1144
1162
  transform: `
1145
1163
  translate(
1146
- ${n.value.left + y.value * s + y.value / 2},
1164
+ ${n.value.left + g.value * s + g.value / 2},
1147
1165
  ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}
1148
1166
  ),
1149
1167
  rotate(${e.value.style.chart.grid.x.timeLabels.rotation})
1150
1168
  `,
1151
1169
  style: { cursor: "pointer" },
1152
- innerHTML: v(Ea)({
1170
+ innerHTML: v(Ya)({
1153
1171
  content: String(t.text),
1154
1172
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
1155
1173
  fill: e.value.style.chart.grid.x.timeLabels.color,
@@ -1157,17 +1175,17 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1157
1175
  y: 0
1158
1176
  }),
1159
1177
  onClick: () => we(t, s)
1160
- }, null, 8, Fl)) : (r(), o("text", {
1178
+ }, null, 8, Gl)) : (r(), o("text", {
1161
1179
  class: "vue-data-ui-time-label",
1162
1180
  key: s,
1163
1181
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1164
1182
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
1165
1183
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
1166
1184
  fill: e.value.style.chart.grid.x.timeLabels.color,
1167
- transform: `translate(${n.value.left + y.value * s + y.value / 2}, ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1185
+ transform: `translate(${n.value.left + g.value * s + g.value / 2}, ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1168
1186
  style: { cursor: "pointer" },
1169
1187
  onClick: () => we(t, s)
1170
- }, T(t.text), 9, El))
1188
+ }, T(t.text), 9, Xl))
1171
1189
  ]))), 256))
1172
1190
  ]))
1173
1191
  ], 512)) : d("", !0),
@@ -1176,11 +1194,11 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1176
1194
  ref_key: "timeLabelsEls",
1177
1195
  ref: J
1178
1196
  }, [
1179
- a.$slots["time-label"] ? (r(), o("g", Ul, [
1180
- (r(!0), o(b, null, m($.value, (t, s) => (r(), o("g", null, [
1197
+ a.$slots["time-label"] ? (r(), o("g", Jl, [
1198
+ (r(!0), o(b, null, p($.value, (t, s) => (r(), o("g", null, [
1181
1199
  L(a.$slots, "time-label", Ce({ ref_for: !0 }, {
1182
1200
  x: n.value.left - 8,
1183
- y: n.value.top + y.value * s + y.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1201
+ y: n.value.top + g.value * s + g.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1184
1202
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
1185
1203
  fill: e.value.style.chart.grid.x.timeLabels.color,
1186
1204
  transform: null,
@@ -1190,8 +1208,8 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1190
1208
  show: !0
1191
1209
  }), void 0, !0)
1192
1210
  ]))), 256))
1193
- ])) : (r(), o("g", Hl, [
1194
- (r(!0), o(b, null, m($.value, (t, s) => (r(), o("g", null, [
1211
+ ])) : (r(), o("g", ql, [
1212
+ (r(!0), o(b, null, p($.value, (t, s) => (r(), o("g", null, [
1195
1213
  String(t.text).includes(`
1196
1214
  `) ? (r(), o("text", {
1197
1215
  key: 1,
@@ -1200,69 +1218,69 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1200
1218
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1201
1219
  fill: e.value.style.chart.grid.y.axisLabels.color,
1202
1220
  x: n.value.left - 8,
1203
- y: n.value.top + y.value * s + y.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1221
+ y: n.value.top + g.value * s + g.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1204
1222
  style: { cursor: "pointer" },
1205
1223
  onClick: () => we(t, s),
1206
- innerHTML: v(Fa)({
1224
+ innerHTML: v(Xa)({
1207
1225
  content: String(t.text),
1208
1226
  fontSize: e.value.style.chart.grid.y.axisLabels.fontSize,
1209
1227
  fill: e.value.style.chart.grid.y.axisLabels.color,
1210
1228
  x: n.value.left - 8,
1211
1229
  y: 0
1212
1230
  })
1213
- }, null, 8, Wl)) : (r(), o("text", {
1231
+ }, null, 8, Kl)) : (r(), o("text", {
1214
1232
  key: 0,
1215
1233
  "text-anchor": "end",
1216
1234
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
1217
1235
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1218
1236
  fill: e.value.style.chart.grid.y.axisLabels.color,
1219
1237
  x: n.value.left - 8,
1220
- y: n.value.top + y.value * s + y.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1238
+ y: n.value.top + g.value * s + g.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1221
1239
  style: {
1222
1240
  cursor: "pointer"
1223
1241
  },
1224
1242
  onClick: () => we(t, s)
1225
- }, T(t.text), 9, Bl))
1243
+ }, T(t.text), 9, Zl))
1226
1244
  ]))), 256))
1227
1245
  ]))
1228
1246
  ], 512)) : d("", !0),
1229
- z.value.showTooltip && e.value.orientation === "vertical" ? (r(!0), o(b, { key: 16 }, m(h.value.end - h.value.start, (t, s) => (r(), o("rect", {
1230
- x: n.value.left + s * y.value,
1247
+ z.value.showTooltip && e.value.orientation === "vertical" ? (r(!0), o(b, { key: 16 }, p(h.value.end - h.value.start, (t, s) => (r(), o("rect", {
1248
+ x: n.value.left + s * g.value,
1231
1249
  y: n.value.top,
1232
- width: y.value,
1250
+ width: g.value,
1233
1251
  height: n.value.height < 0 ? 0 : n.value.height,
1234
- onClick: () => ft(s),
1235
- onMouseenter: () => xt(s),
1236
- onMouseleave: () => pt(s),
1252
+ onClick: () => mt(s),
1253
+ onMouseenter: () => kt(s),
1254
+ onMouseleave: () => xt(s),
1237
1255
  fill: s === de.value ? e.value.style.chart.highlighter.color : "transparent",
1238
1256
  style: j({ opacity: e.value.style.chart.highlighter.opacity / 100 })
1239
- }, null, 44, Yl))), 256)) : d("", !0),
1240
- z.value.showTooltip && e.value.orientation === "horizontal" ? (r(!0), o(b, { key: 17 }, m(h.value.end - h.value.start, (t, s) => (r(), o("rect", {
1257
+ }, null, 44, Ql))), 256)) : d("", !0),
1258
+ z.value.showTooltip && e.value.orientation === "horizontal" ? (r(!0), o(b, { key: 17 }, p(h.value.end - h.value.start, (t, s) => (r(), o("rect", {
1241
1259
  x: n.value.left,
1242
- y: n.value.top + s * y.value,
1260
+ y: n.value.top + s * g.value,
1243
1261
  width: n.value.width < 0 ? 0 : n.value.width,
1244
- height: y.value,
1245
- onClick: () => ft(s),
1246
- onMouseenter: () => xt(s),
1247
- onMouseleave: () => pt(s),
1262
+ height: g.value,
1263
+ onClick: () => mt(s),
1264
+ onMouseenter: () => kt(s),
1265
+ onMouseleave: () => xt(s),
1248
1266
  fill: s === de.value ? e.value.style.chart.highlighter.color : "transparent",
1249
1267
  style: j({ opacity: e.value.style.chart.highlighter.opacity / 100 })
1250
- }, null, 44, Xl))), 256)) : d("", !0),
1268
+ }, null, 44, jl))), 256)) : d("", !0),
1251
1269
  L(a.$slots, "svg", W(Y({ ...n.value })), void 0, !0)
1252
- ], 14, nl)),
1253
- a.$slots.watermark ? (r(), o("div", Gl, [
1254
- L(a.$slots, "watermark", W(Y({ isPrinting: v(it) || v(ut) })), void 0, !0)
1270
+ ], 14, gl)),
1271
+ a.$slots.watermark ? (r(), o("div", es, [
1272
+ L(a.$slots, "watermark", W(Y({ isPrinting: v(ut) || v(ct) })), void 0, !0)
1255
1273
  ])) : d("", !0),
1256
1274
  D("div", {
1257
1275
  ref_key: "chartSlicer",
1258
- ref: Ze,
1276
+ ref: Qe,
1259
1277
  style: j(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1260
1278
  "data-dom-to-png-ignore": ""
1261
1279
  }, [
1262
- e.value.style.chart.zoom.show && U.value > 1 ? (r(), B(ll, {
1280
+ e.value.style.chart.zoom.show && U.value > 1 ? (r(), B(cl, {
1263
1281
  ref_key: "slicerComponent",
1264
- ref: et,
1265
- key: `slicer_${Qe.value}`,
1282
+ ref: at,
1283
+ key: `slicer_${et.value}`,
1266
1284
  background: e.value.style.chart.zoom.color,
1267
1285
  borderColor: e.value.style.chart.backgroundColor,
1268
1286
  fontSize: e.value.style.chart.zoom.fontSize,
@@ -1294,7 +1312,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1294
1312
  _: 3
1295
1313
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : d("", !0)
1296
1314
  ], 4),
1297
- he(v(Gt), {
1315
+ he(v(Jt), {
1298
1316
  show: z.value.showTooltip && Re.value,
1299
1317
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1300
1318
  color: e.value.style.chart.tooltip.color,
@@ -1308,7 +1326,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1308
1326
  parent: O.value,
1309
1327
  content: Ne.value,
1310
1328
  isFullscreen: re.value,
1311
- isCustom: v(Wt)(e.value.style.chart.tooltip.customFormat),
1329
+ isCustom: v(Yt)(e.value.style.chart.tooltip.customFormat),
1312
1330
  smooth: e.value.style.chart.tooltip.smooth,
1313
1331
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1314
1332
  smoothForce: e.value.style.chart.tooltip.smoothForce,
@@ -1324,34 +1342,34 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1324
1342
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1325
1343
  D("div", {
1326
1344
  id: `legend-bottom-${M.value}`
1327
- }, null, 8, Jl),
1328
- tt.value ? (r(), B(Ta, {
1345
+ }, null, 8, ts),
1346
+ lt.value ? (r(), B(Oa, {
1329
1347
  key: 4,
1330
1348
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${M.value}` : `#legend-bottom-${M.value}`
1331
1349
  }, [
1332
1350
  D("div", {
1333
1351
  ref_key: "chartLegend",
1334
- ref: qe
1352
+ ref: Ke
1335
1353
  }, [
1336
- e.value.style.chart.legend.show ? (r(), B(al, {
1354
+ e.value.style.chart.legend.show ? (r(), B(ul, {
1337
1355
  key: 0,
1338
- legendSet: _t.value,
1339
- config: ba.value,
1356
+ legendSet: Ye.value,
1357
+ config: fa.value,
1340
1358
  onClickMarker: l[2] || (l[2] = ({ legend: t }) => t.segregate())
1341
- }, Ye({
1359
+ }, Ge({
1342
1360
  item: C(({ legend: t }) => [
1343
1361
  v(ne) ? d("", !0) : (r(), o("div", {
1344
1362
  key: 0,
1345
1363
  onClick: (s) => t.segregate(),
1346
- style: j(`opacity:${S.value.includes(t.id) ? 0.5 : 1}`)
1347
- }, T(t.name), 13, ql))
1364
+ style: j(`opacity:${_.value.includes(t.id) ? 0.5 : 1}`)
1365
+ }, T(t.name), 13, as))
1348
1366
  ]),
1349
1367
  _: 2
1350
1368
  }, [
1351
1369
  a.$slots.pattern ? {
1352
1370
  name: "legend-pattern",
1353
1371
  fn: C(({ legend: t, index: s }) => [
1354
- he(el, {
1372
+ he(nl, {
1355
1373
  shape: t.shape,
1356
1374
  radius: 30,
1357
1375
  stroke: "none",
@@ -1363,25 +1381,25 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1363
1381
  } : void 0
1364
1382
  ]), 1032, ["legendSet", "config"])) : L(a.$slots, "legend", {
1365
1383
  key: 1,
1366
- legend: _t.value
1384
+ legend: Ye.value
1367
1385
  }, void 0, !0)
1368
1386
  ], 512)
1369
1387
  ], 8, ["to"])) : d("", !0),
1370
1388
  a.$slots.source ? (r(), o("div", {
1371
1389
  key: 5,
1372
1390
  ref_key: "source",
1373
- ref: Ke,
1391
+ ref: je,
1374
1392
  dir: "auto"
1375
1393
  }, [
1376
1394
  L(a.$slots, "source", {}, void 0, !0)
1377
1395
  ], 512)) : d("", !0),
1378
- ve.value && e.value.userOptions.buttons.table ? (r(), B(Ma(ue.value.component), Ce({ key: 6 }, ue.value.props, {
1396
+ ve.value && e.value.userOptions.buttons.table ? (r(), B(Pa(ue.value.component), Ce({ key: 6 }, ue.value.props, {
1379
1397
  ref_key: "tableUnit",
1380
1398
  ref: oe,
1381
1399
  onClose: $t
1382
- }), Ye({
1400
+ }), Ge({
1383
1401
  content: C(() => [
1384
- he(v(Zt), {
1402
+ he(v(Kt), {
1385
1403
  colNames: xe.value.colNames,
1386
1404
  head: xe.value.head,
1387
1405
  body: xe.value.body,
@@ -1391,10 +1409,10 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1391
1409
  onClose: $t
1392
1410
  }, {
1393
1411
  th: C(({ th: t }) => [
1394
- D("div", { innerHTML: t }, null, 8, Zl)
1412
+ D("div", { innerHTML: t }, null, 8, ls)
1395
1413
  ]),
1396
1414
  td: C(({ td: t }) => [
1397
- Pt(T(isNaN(Number(t)) ? t : v(ee)({
1415
+ Vt(T(isNaN(Number(t)) ? t : v(ee)({
1398
1416
  p: e.value.style.chart.bars.dataLabels.prefix,
1399
1417
  v: t,
1400
1418
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -1409,7 +1427,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1409
1427
  e.value.table.useDialog ? {
1410
1428
  name: "title",
1411
1429
  fn: C(() => [
1412
- Pt(T(ue.value.title), 1)
1430
+ Vt(T(ue.value.title), 1)
1413
1431
  ]),
1414
1432
  key: "0"
1415
1433
  } : void 0,
@@ -1419,9 +1437,9 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1419
1437
  D("button", {
1420
1438
  tabindex: "0",
1421
1439
  class: "vue-ui-user-options-button",
1422
- onClick: l[3] || (l[3] = (t) => Be(e.value.userOptions.callbacks.csv))
1440
+ onClick: l[3] || (l[3] = (t) => We(e.value.userOptions.callbacks.csv))
1423
1441
  }, [
1424
- he(v(Jt), {
1442
+ he(v(qt), {
1425
1443
  name: "excel",
1426
1444
  stroke: ue.value.props.color
1427
1445
  }, null, 8, ["stroke"])
@@ -1430,10 +1448,10 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1430
1448
  key: "1"
1431
1449
  } : void 0
1432
1450
  ]), 1040)) : d("", !0),
1433
- v(ne) ? (r(), B(Ga, { key: 7 })) : d("", !0)
1434
- ], 46, rl));
1451
+ v(ne) ? (r(), B(ja, { key: 7 })) : d("", !0)
1452
+ ], 46, vl));
1435
1453
  }
1436
- }, gs = /* @__PURE__ */ sl(Kl, [["__scopeId", "data-v-5ca19b0b"]]);
1454
+ }, Ls = /* @__PURE__ */ hl(ss, [["__scopeId", "data-v-7beeea3c"]]);
1437
1455
  export {
1438
- gs as default
1456
+ Ls as default
1439
1457
  };