vue-data-ui 3.2.7 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
  8. package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.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-BiyqJA3t.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
  84. package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.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-Csv3pVmh.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
  90. package/dist/useSvgExport-B7-Vrjtu.js +732 -0
  91. package/dist/vue-data-ui-DLU1snC3.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
  94. package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
  95. package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
  96. package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
  97. package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
  98. package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
  99. package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
  100. package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
  101. package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
  102. package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
  104. package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
  105. package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
  106. package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
  107. package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
  108. package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
  109. package/dist/vue-ui-flow--kiGWaq4.js +931 -0
  110. package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
  111. package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
  112. package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
  113. package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
  114. package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
  115. package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
  116. package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
  117. package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
  118. package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
  119. package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
  121. package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
  123. package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
  124. package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
  125. package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
  126. package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
  127. package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
  128. package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
  129. package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
  130. package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
  131. package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
  132. package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
  133. package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
  134. package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
  135. package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
  136. package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
  137. package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
  138. package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
  139. package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
  140. package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
  141. package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
  142. package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
  143. package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
  144. package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
  145. package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
  146. package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
  147. package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
  149. package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
  150. package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
  151. package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
  152. package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
  153. package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
  154. package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-DH8opsJv.js +0 -325
  157. package/dist/vue-ui-flow-B72CBzC3.js +0 -909
  158. package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
  159. package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
@@ -1,23 +1,24 @@
1
- import { useCssVars as Ut, defineAsyncComponent as K, useSlots as Xt, computed as y, ref as i, toRefs as Wt, watch as Ae, shallowRef as vt, onMounted as ze, nextTick as de, onBeforeUnmount as Gt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as U, createBlock as X, createCommentVNode as f, renderSlot as _, createVNode as J, createSlots as he, withCtx as m, normalizeProps as Q, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as ct, resolveDynamicComponent as Ht, withKeys as jt, createTextVNode as dt } from "vue";
2
- import { c as qt, t as Yt, b as Kt, p as W, B as Ve, e as Jt, q as L, o as Oe, f as ue, h as Fe, a as pe, d as G, X as Qt, s as Ie, i as Zt, x as ea, y as ta, z as aa, A as la } from "./lib-BEpWEyMm.js";
3
- import { t as oa, u as na } from "./useResponsive-DfdjqQps.js";
4
- import { u as ua, a as ht } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as sa, B as ra } from "./BaseScanner-BgWxam9d.js";
6
- import { u as ia } from "./usePrinter-w23K-ezx.js";
7
- import { u as va } from "./useTableResponsive-Cbx-ACcP.js";
8
- import { u as ca } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as da } from "./useChartAccessibility-9icAAmYg.js";
10
- import { t as ha } from "./themes-Dw-dDudK.js";
11
- import pt from "./Legend-BpoFJ8fc.js";
12
- import pa from "./vue-ui-accordion-CeMTgpl0.js";
13
- import fa from "./Title-DG2nloSB.js";
14
- import { _ as ft } from "./Shape-C_C_OmqR.js";
15
- import ga from "./img-DjWwQXVS.js";
16
- import { _ as ya } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "width", "height"], _a = ["id"], wa = ["stop-color"], $a = ["stop-color"], Ca = { key: 1 }, Ta = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = { class: "vue-ui-horizontal-bar-child-label" }, za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Va = ["x", "y", "font-size", "fill", "font-weight"], Oa = { class: "vue-ui-horizontal-bar-parent-label" }, Fa = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight"], Ma = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Da = {
1
+ import { useCssVars as Kt, defineAsyncComponent as K, useSlots as Jt, computed as g, ref as i, toRefs as Qt, watch as ze, shallowRef as ct, onMounted as Ve, nextTick as he, onBeforeUnmount as Zt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as X, createBlock as W, createCommentVNode as y, renderSlot as _, createVNode as J, createSlots as pe, withCtx as m, normalizeProps as Q, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as dt, resolveDynamicComponent as ea, withKeys as ta, createTextVNode as ht } from "vue";
2
+ import { c as aa, t as la, b as oa, p as G, B as Ie, e as na, q as L, o as Oe, f as ue, h as Fe, a as se, d as B, X as ua, s as Me, i as sa, x as ra, y as ia, z as va, A as ca } from "./lib-GIYcnm0E.js";
3
+ import { t as da, u as ha } from "./useResponsive-DfdjqQps.js";
4
+ import { u as pa, a as pt } from "./useNestedProp-mxyyqd0B.js";
5
+ import { u as ga, B as fa } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as ya } from "./usePrinter-DYRFiw7X.js";
7
+ import { u as ba } from "./useSvgExport-B7-Vrjtu.js";
8
+ import { u as ma } from "./useTableResponsive-Cbx-ACcP.js";
9
+ import { u as ka } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as xa } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { t as _a } from "./themes-Dw-dDudK.js";
12
+ import gt from "./Legend-DsogCeTb.js";
13
+ import wa from "./vue-ui-accordion-Dch9YrCi.js";
14
+ import $a from "./Title-D17CJXko.js";
15
+ import { _ as ft } from "./Shape-DJG2zW7b.js";
16
+ import Ca from "./img-6wPuVVtk.js";
17
+ import { _ as Ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "width", "height"], Aa = ["id"], za = ["stop-color"], Va = ["stop-color"], Ia = { key: 1 }, Oa = ["x", "y", "width", "height", "fill", "rx"], Fa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ma = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = { class: "vue-ui-horizontal-bar-child-label" }, Ea = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Ua = ["x", "y", "font-size", "fill", "font-weight"], Xa = { class: "vue-ui-horizontal-bar-parent-label" }, Wa = ["x", "y", "font-size", "fill", "font-weight"], Ga = ["x", "y", "font-size", "fill", "font-weight"], Ha = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], ja = {
18
19
  key: 5,
19
20
  class: "vue-data-ui-watermark"
20
- }, Ba = ["onClick"], Ra = { style: "width:100%;padding-top: 36px;position:relative" }, Ea = { class: "vue-ui-data-table" }, Ua = { key: 0 }, Xa = { style: { width: "100%" } }, Wa = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ha = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ka = ["data-cell"], Ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qa = ["data-cell"], Za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, el = ["data-cell"], tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = {
21
+ }, qa = ["onClick"], Ya = { style: "width:100%;padding-top: 36px;position:relative" }, Ka = { class: "vue-ui-data-table" }, Ja = { key: 0 }, Qa = { style: { width: "100%" } }, Za = ["data-cell"], el = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, tl = ["data-cell"], al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ll = ["data-cell"], ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, nl = ["data-cell"], ul = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sl = ["data-cell"], rl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, il = ["data-cell"], vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, cl = ["data-cell"], dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, hl = {
21
22
  __name: "vue-ui-vertical-bar",
22
23
  props: {
23
24
  config: {
@@ -34,35 +35,35 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
34
35
  }
35
36
  },
36
37
  emits: ["selectLegend"],
37
- setup(gt, { expose: yt, emit: bt }) {
38
- Ut((t) => ({
39
- v27fa778f: t.tdo
38
+ setup(yt, { expose: bt, emit: mt }) {
39
+ Kt((t) => ({
40
+ v4fa4c7ee: t.tdo
40
41
  }));
41
- const mt = K(() => import("./Tooltip-BOXz8skU.js")), Me = K(() => import("./BaseIcon-Bz-1GQhu.js")), kt = K(() => import("./PenAndPaper-CR8q353D.js")), xt = K(() => import("./UserOptions-DsTgvAok.js")), _t = K(() => import("./PackageVersion-Cwrh45ON.js")), wt = K(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_vertical_bar: $t } = ua(), Ct = Xt(), b = gt, fe = y({
42
+ const kt = K(() => import("./Tooltip-CtVdvbZi.js")), Be = K(() => import("./BaseIcon-CtqN7W_g.js")), xt = K(() => import("./PenAndPaper-BxbYiPy4.js")), _t = K(() => import("./UserOptions-B3vCIe-u.js")), wt = K(() => import("./PackageVersion-C9oklnuy.js")), $t = K(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_vertical_bar: Ct } = pa(), Tt = Jt(), b = yt, ge = g({
42
43
  get() {
43
44
  return !!b.dataset && b.dataset.length;
44
45
  },
45
46
  set(t) {
46
47
  return t;
47
48
  }
48
- }), S = i(qt()), ge = i(!1), ye = i(""), ae = i(0), Tt = i(null), De = i(0), P = i(null), Be = i(null), be = i(null), Re = i(null), Ee = i(null), Ue = i(0), me = i(0), H = i(null), le = i(null), ke = i(null), St = bt, e = i($e()), Lt = y(() => [
49
+ }), S = i(aa()), fe = i(!1), ye = i(""), ae = i(0), St = i(null), De = i(0), P = i(null), Re = i(null), be = i(null), Ee = i(null), Ue = i(null), Xe = i(0), me = i(0), H = i(null), le = i(null), ke = i(null), Lt = mt, e = i(Ce()), Pt = g(() => [
49
50
  { name: "", value: 6, color: "#d9d9d9" },
50
51
  { name: "", value: 5, color: "#d9d9d9" },
51
52
  { name: "", value: 4, color: "#d9d9d9" },
52
53
  { name: "", value: 3, color: "#d9d9d9" },
53
54
  { name: "", value: 2, color: "#d9d9d9" },
54
55
  { name: "", value: 1, color: "#d9d9d9" }
55
- ]), { loading: Xe, FINAL_DATASET: xe, manualLoading: _e } = sa({
56
- ...Wt(b),
56
+ ]), { loading: We, FINAL_DATASET: xe, manualLoading: _e } = ga({
57
+ ...Qt(b),
57
58
  FINAL_CONFIG: e,
58
- prepareConfig: $e,
59
+ prepareConfig: Ce,
59
60
  callback: () => {
60
61
  Promise.resolve().then(async () => {
61
62
  q(), $.value.showTable = e.value.table.show, await F();
62
63
  });
63
64
  },
64
- skeletonDataset: Lt.value,
65
- skeletonConfig: Yt({
65
+ skeletonDataset: Pt.value,
66
+ skeletonConfig: la({
66
67
  defaultConfig: e.value,
67
68
  userConfig: {
68
69
  useCssAnimation: !1,
@@ -108,42 +109,42 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
108
109
  }
109
110
  }
110
111
  })
111
- }), { userOptionsVisible: we, setUserOptionsVisibility: We, keepUserOptionState: Ge } = ca({ config: e.value }), { svgRef: He } = da({ config: e.value.style.chart.title });
112
- function $e() {
113
- const t = ht({
112
+ }), { userOptionsVisible: we, setUserOptionsVisibility: Ge, keepUserOptionState: He } = ka({ config: e.value }), { svgRef: $e } = xa({ config: e.value.style.chart.title });
113
+ function Ce() {
114
+ const t = pt({
114
115
  userConfig: b.config,
115
- defaultConfig: $t
116
+ defaultConfig: Ct
116
117
  });
117
118
  let l = {};
118
119
  return t.theme ? l = {
119
- ...ht({
120
- userConfig: ha.vue_ui_vertical_bar[t.theme] || b.config,
120
+ ...pt({
121
+ userConfig: _a.vue_ui_vertical_bar[t.theme] || b.config,
121
122
  defaultConfig: t
122
123
  }),
123
- customPalette: Kt[t.theme] || W
124
- } : l = t, b.config && Ve(b.config, "events.datapointEnter") ? l.events.datapointEnter = b.config.events.datapointEnter : l.events.datapointEnter = null, b.config && Ve(b.config, "events.datapointLeave") ? l.events.datapointLeave = b.config.events.datapointLeave : l.events.datapointLeave = null, b.config && Ve(b.config, "events.datapointClick") ? l.events.datapointClick = b.config.events.datapointClick : l.events.datapointClick = null, l;
124
+ customPalette: oa[t.theme] || G
125
+ } : l = t, b.config && Ie(b.config, "events.datapointEnter") ? l.events.datapointEnter = b.config.events.datapointEnter : l.events.datapointEnter = null, b.config && Ie(b.config, "events.datapointLeave") ? l.events.datapointLeave = b.config.events.datapointLeave : l.events.datapointLeave = null, b.config && Ie(b.config, "events.datapointClick") ? l.events.datapointClick = b.config.events.datapointClick : l.events.datapointClick = null, l;
125
126
  }
126
- Ae(() => b.config, (t) => {
127
- Xe.value || (e.value = $e()), we.value = !e.value.userOptions.showOnChartHover, et(), Ue.value += 1, me.value += 1, p.value = e.value.style.chart.layout.bars.height, k.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
128
- }, { deep: !0 }), Ae(() => b.dataset, (t) => {
127
+ ze(() => b.config, (t) => {
128
+ We.value || (e.value = Ce()), we.value = !e.value.userOptions.showOnChartHover, et(), Xe.value += 1, me.value += 1, p.value = e.value.style.chart.layout.bars.height, k.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
129
+ }, { deep: !0 }), ze(() => b.dataset, (t) => {
129
130
  Array.isArray(t) && t.length > 0 && (_e.value = !1), q();
130
131
  }, { deep: !0 });
131
- const { isPrinting: je, isImaging: qe, generatePdf: Ye, generateImage: Ke } = ia({
132
+ const { isPrinting: je, isImaging: qe, generatePdf: Ye, generateImage: Ke } = ya({
132
133
  elementId: `vue-ui-vertical-bar_${S.value}`,
133
134
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
134
135
  options: e.value.userOptions.print
135
- }), Pt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Je = y(() => Jt(e.value.customPalette)), Qe = i(null), Nt = y(() => e.value.table.responsiveBreakpoint), O = vt(null), j = vt(null), se = i("0 0 10 10"), N = y(() => {
136
- const [t, l, a, o] = se.value.split(" ").map(Number);
136
+ }), Nt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Je = g(() => na(e.value.customPalette)), Qe = i(null), At = g(() => e.value.table.responsiveBreakpoint), O = ct(null), j = ct(null), re = i("0 0 10 10"), N = g(() => {
137
+ const [t, l, a, o] = re.value.split(" ").map(Number);
137
138
  return { x: t, y: l, width: a, height: o };
138
139
  });
139
- ze(async () => {
140
- await de(), et(), F();
140
+ Ve(async () => {
141
+ await he(), et(), F();
141
142
  });
142
143
  async function F() {
143
- if (se.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !H.value) return;
144
+ if (re.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !H.value) return;
144
145
  const t = H.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = H.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
145
146
  if (t && t.length) {
146
- const g = Math.max(...Array.from(t).flatMap((c) => {
147
+ const f = Math.max(...Array.from(t).flatMap((c) => {
147
148
  const x = c.querySelectorAll("text");
148
149
  return x.length ? Array.from(x).map((Y) => Y.getBBox().width) : 0;
149
150
  })), w = Math.max(...Array.from(l).flatMap((c) => {
@@ -153,13 +154,13 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
153
154
  Array.from(t).forEach((c) => {
154
155
  const x = c.querySelectorAll("text");
155
156
  Array.from(x).forEach(async (Y) => {
156
- Y.setAttribute("x", 0), Y.setAttribute("x", L(-g - w));
157
+ Y.setAttribute("x", 0), Y.setAttribute("x", L(-f - w));
157
158
  });
158
159
  });
159
160
  }
160
- await de();
161
+ await he();
161
162
  const a = H.value ? H.value.getBBox() : 0, o = e.value.style.chart.layout.bars.dataLabels.offsetX;
162
- se.value = [
163
+ re.value = [
163
164
  a.x + -o,
164
165
  0,
165
166
  a.width + o * 2,
@@ -167,7 +168,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
167
168
  ].join(" ");
168
169
  }
169
170
  let Ze;
170
- ze(() => {
171
+ Ve(() => {
171
172
  P.value && (Ze = new ResizeObserver((t) => {
172
173
  for (const l of t) {
173
174
  const { width: a, height: o } = l.contentRect;
@@ -180,48 +181,48 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
180
181
  }
181
182
  }), Ze.observe(P.value.parentElement));
182
183
  });
183
- const re = y(() => !!e.value.debug), Ce = i(0);
184
+ const ie = g(() => !!e.value.debug), Te = i(0);
184
185
  function et() {
185
186
  if (Oe(b.dataset) && (ue({
186
187
  componentName: "VueUiVerticalBar",
187
188
  type: "dataset",
188
- debug: re.value
189
- }), fe.value = !1, _e.value = !0), ae.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Oe(b.dataset) || (_e.value = e.value.loading), e.value.responsive) {
190
- const t = oa(() => {
191
- const { width: l, height: a } = na({
189
+ debug: ie.value
190
+ }), ge.value = !1, _e.value = !0), ae.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Oe(b.dataset) || (_e.value = e.value.loading), e.value.responsive) {
191
+ const t = da(() => {
192
+ const { width: l, height: a } = ha({
192
193
  chart: P.value,
193
- title: e.value.style.chart.title.text ? Be.value : null,
194
+ title: e.value.style.chart.title.text ? Re.value : null,
194
195
  legend: e.value.style.chart.legend.show ? be.value : null,
195
- source: Re.value,
196
- noTitle: Ee.value
196
+ source: Ee.value,
197
+ noTitle: Ue.value
197
198
  });
198
- Ce.value = a / 3, requestAnimationFrame(async () => {
199
+ Te.value = a / 3, requestAnimationFrame(async () => {
199
200
  lt.value = l;
200
201
  const o = k.value * (ae.value - 1);
201
- p.value = (a - o) / ae.value, await de(), F();
202
+ p.value = (a - o) / ae.value, await he(), F();
202
203
  });
203
204
  });
204
205
  O.value && (j.value && O.value.unobserve(j.value), O.value.disconnect()), O.value = new ResizeObserver(t), j.value = P.value.parentNode, O.value.observe(j.value), e.value.autoSize && F();
205
206
  }
206
207
  }
207
- Gt(() => {
208
+ Zt(() => {
208
209
  O.value && (j.value && O.value.unobserve(j.value), O.value.disconnect());
209
210
  });
210
211
  const $ = i({
211
212
  showTable: e.value.table.show,
212
213
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
213
214
  showTooltip: e.value.style.chart.tooltip.show
214
- }), tt = y(() => $.value.sortDesc), I = y(() => (xe.value.forEach((t, l) => {
215
+ }), tt = g(() => $.value.sortDesc), I = g(() => (xe.value.forEach((t, l) => {
215
216
  !t.value && !t.children && ue({
216
217
  componentName: "VueUiVerticalBar",
217
218
  type: "datasetAttributeEmpty",
218
219
  property: `value (index ${l})`,
219
- debug: re.value
220
+ debug: ie.value
220
221
  }), t.children && (Oe(t.children) ? ue({
221
222
  componentName: "VueUiVerticalBar",
222
223
  type: "datasetAttributeEmpty",
223
224
  property: `children (index ${l})`,
224
- debug: re.value
225
+ debug: ie.value
225
226
  }) : t.children.forEach((a, o) => {
226
227
  [null, void 0].includes(a.name) && ue({
227
228
  componentName: "VueUiVerticalBar",
@@ -229,25 +230,25 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
229
230
  property: "name",
230
231
  key: "children",
231
232
  index: o,
232
- debug: re.value
233
+ debug: ie.value
233
234
  });
234
235
  }));
235
236
  }), xe.value.map((t, l) => {
236
- const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, g = L(t.value ? t.value : o ? t.children.map((c) => c.value || 0).reduce((c, x) => c + x, 0) : 0), w = g >= 0 ? 1 : -1;
237
+ const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, f = L(t.value ? t.value : o ? t.children.map((c) => c.value || 0).reduce((c, x) => c + x, 0) : 0), w = f >= 0 ? 1 : -1;
237
238
  return {
238
239
  ...t,
239
240
  id: a,
240
241
  absoluteIndex: l,
241
242
  shape: "square",
242
243
  opacity: A.value.includes(a) ? 0.5 : 1,
243
- value: Math.abs(g),
244
+ value: Math.abs(f),
244
245
  sign: w,
245
246
  hasChildren: o,
246
247
  isChild: !1,
247
248
  segregate: () => oe(a),
248
249
  isSegregated: A.value.includes(a),
249
- color: Fe(t.color) || Je.value[l] || W[l] || W[l % W.length],
250
- children: !t.children || !t.children.length ? [] : t.children.toSorted(ie.value ? () => 0 : (c, x) => tt.value ? x.value - c.value : c.value - x.value).map((c, x) => ({
250
+ color: Fe(t.color) || Je.value[l] || G[l] || G[l % G.length],
251
+ children: !t.children || !t.children.length ? [] : t.children.toSorted(ve.value ? () => 0 : (c, x) => tt.value ? x.value - c.value : c.value - x.value).map((c, x) => ({
251
252
  ...c,
252
253
  value: L(Math.abs(c.value)),
253
254
  absoluteIndex: l,
@@ -255,34 +256,34 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
255
256
  isChild: !0,
256
257
  parentId: a,
257
258
  parentName: t.name,
258
- parentValue: g,
259
+ parentValue: f,
259
260
  parentSign: w,
260
261
  id: `vertical_child_${l}_${x}_${S.value}`,
261
262
  childIndex: x,
262
- color: Fe(c.color) || Fe(t.color) || Je.value[l] || W[l] || W[l % W.length]
263
+ color: Fe(c.color) || Fe(t.color) || Je.value[l] || G[l] || G[l % G.length]
263
264
  })).map((c, x) => ({
264
265
  ...c,
265
266
  isFirstChild: x === 0,
266
267
  isLastChild: x === t.children.length - 1
267
268
  }))
268
269
  };
269
- }).toSorted(ie.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = y(() => ({
270
+ }).toSorted(ve.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = g(() => ({
270
271
  cy: "vertical-bar-div-legend",
271
272
  backgroundColor: e.value.style.chart.legend.backgroundColor,
272
273
  color: e.value.style.chart.legend.color,
273
274
  fontSize: e.value.style.chart.legend.fontSize,
274
275
  paddingBottom: 12,
275
276
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
276
- })), p = i(e.value.style.chart.layout.bars.height), k = i(e.value.style.chart.layout.bars.gap), At = y(() => (p.value + k.value) * ae.value), lt = i(512), C = y(() => ({
277
+ })), p = i(e.value.style.chart.layout.bars.height), k = i(e.value.style.chart.layout.bars.gap), zt = g(() => (p.value + k.value) * ae.value), lt = i(512), C = g(() => ({
277
278
  width: lt.value,
278
- height: At.value,
279
+ height: zt.value,
279
280
  padding: {
280
281
  top: 12,
281
282
  left: (e.value.autoSize ? 0 : 128) + e.value.style.chart.layout.bars.offsetX,
282
283
  right: (e.value.autoSize ? 0 : 64) + e.value.style.chart.layout.bars.paddingRight,
283
284
  bottom: 12
284
285
  }
285
- })), r = y(() => ({
286
+ })), r = g(() => ({
286
287
  fullHeight: C.value.padding.top + C.value.padding.bottom + C.value.height,
287
288
  top: C.value.padding.top,
288
289
  left: C.value.padding.left,
@@ -301,28 +302,28 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
301
302
  if (A.value.length === I.value.length - 1) return;
302
303
  A.value.push(t);
303
304
  }
304
- q(), await de(), e.value.autoSize && F(), St("selectLegend", D.value);
305
+ q(), await he(), e.value.autoSize && F(), Lt("selectLegend", D.value);
305
306
  }
306
- const D = y(() => I.value.filter((t) => !A.value.includes(t.id))), V = y(() => D.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
307
+ const D = g(() => I.value.filter((t) => !A.value.includes(t.id))), V = g(() => D.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
307
308
  function ot(t, l = !1, a = 0) {
308
- return l ? G({
309
+ return l ? B({
309
310
  v: L(Math.abs(t) / V.value * 100),
310
311
  s: "%",
311
312
  r: a
312
313
  }) : Math.abs(t) / V.value;
313
314
  }
314
- const B = y(() => D.value.flatMap((t) => t.hasChildren ? t.children : t)), R = y(() => B.value.map((t) => t.sign).includes(-1)), zt = y(() => Math.max(...D.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
315
+ const R = g(() => D.value.flatMap((t) => t.hasChildren ? t.children : t)), E = g(() => R.value.map((t) => t.sign).includes(-1)), Vt = g(() => Math.max(...D.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
315
316
  function T(t) {
316
- const l = t / zt.value;
317
- return r.value.width / (R.value ? 2 : 1) * l;
317
+ const l = t / Vt.value;
318
+ return r.value.width / (E.value ? 2 : 1) * l;
318
319
  }
319
- function Vt(t) {
320
+ function It(t) {
320
321
  return T(t) + r.value.left;
321
322
  }
322
323
  function ne(t, l) {
323
- const a = D.value.find((w) => w.id === t.parentId), o = r.value.top + (k.value + p.value) * l, g = a.children.length * (k.value + p.value);
324
+ const a = D.value.find((w) => w.id === t.parentId), o = r.value.top + (k.value + p.value) * l, f = a.children.length * (k.value + p.value);
324
325
  return {
325
- y: o + g / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
326
+ y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
326
327
  name: a.name,
327
328
  value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
328
329
  percentageToTotal: isNaN(a.value / V.value) ? "" : ot(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
@@ -332,23 +333,23 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
332
333
  function Ot() {
333
334
  return D.value;
334
335
  }
335
- const Te = i(null), Se = i(null);
336
+ const Se = i(null), Le = i(null);
336
337
  function Ft({ datapoint: t, seriesIndex: l }) {
337
338
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
338
339
  }
339
- function It({ datapoint: t, seriesIndex: l }) {
340
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Tt.value = null, ge.value = !1, Te.value = null;
340
+ function Mt({ datapoint: t, seriesIndex: l }) {
341
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), St.value = null, fe.value = !1, Se.value = null;
341
342
  }
342
- function Mt(t, l) {
343
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Se.value = {
343
+ function Bt(t, l) {
344
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Le.value = {
344
345
  datapoint: t,
345
346
  seriesIndex: l,
346
347
  series: I.value,
347
348
  config: e.value
348
- }, ge.value = !0, Te.value = t.id;
349
+ }, fe.value = !0, Se.value = t.id;
349
350
  let a = "";
350
- const o = t.isChild ? t.parentName : t.name, g = t.isChild ? t.name : "", w = e.value.style.chart.tooltip.customFormat;
351
- aa(w) && la(() => w({
351
+ const o = t.isChild ? t.parentName : t.name, f = t.isChild ? t.name : "", w = e.value.style.chart.tooltip.customFormat;
352
+ va(w) && ca(() => w({
352
353
  datapoint: t,
353
354
  series: I.value,
354
355
  config: e.value,
@@ -359,23 +360,23 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
359
360
  config: e.value,
360
361
  seriesIndex: l
361
362
  }) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
362
- <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${Ct.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${S.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
363
- ${g ? `<div>${g}</div>` : ""}
364
- </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${pe(
363
+ <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${Tt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${S.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
364
+ ${f ? `<div>${f}</div>` : ""}
365
+ </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${se(
365
366
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
366
367
  t.sign === 1 ? t.value : -t.value,
367
- G({
368
+ B({
368
369
  p: e.value.style.chart.tooltip.prefix,
369
370
  v: t.sign === 1 ? t.value : -t.value,
370
371
  s: e.value.style.chart.tooltip.suffix,
371
372
  r: e.value.style.chart.tooltip.roundingValue
372
373
  }),
373
374
  { datapoint: t, seriesIndex: l }
374
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${G({
375
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${B({
375
376
  v: Math.abs(t.value) / V.value * 100,
376
377
  s: "%",
377
378
  r: e.value.style.chart.tooltip.roundingPercentage
378
- })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${G({
379
+ })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${B({
379
380
  v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
380
381
  s: "%",
381
382
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -384,10 +385,10 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
384
385
  function nt(t, l, a, o) {
385
386
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
386
387
  return "";
387
- const g = pe(
388
+ const f = se(
388
389
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
389
390
  L(o === -1 && t >= 0 ? -t : t),
390
- G({
391
+ B({
391
392
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
392
393
  v: L(o === -1 && t >= 0 ? -t : t),
393
394
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
@@ -395,9 +396,9 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
395
396
  }),
396
397
  { datapoint: l, seriesIndex: a }
397
398
  ), w = `(${ot(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
398
- return `${g}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${w}` : ""}`;
399
+ return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${w}` : ""}`;
399
400
  }
400
- const z = y(() => {
401
+ const z = g(() => {
401
402
  const t = [
402
403
  e.value.translations.parentName,
403
404
  e.value.translations.value,
@@ -406,7 +407,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
406
407
  e.value.translations.value,
407
408
  e.value.translations.percentageToSerie,
408
409
  e.value.translations.percentageToTotal
409
- ], l = B.value.map((a) => a.isChild ? a.isFirstChild ? {
410
+ ], l = R.value.map((a) => a.isChild ? a.isFirstChild ? {
410
411
  color: a.color,
411
412
  parentName: a.parentName,
412
413
  parentValue: a.parentValue,
@@ -436,7 +437,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
436
437
  });
437
438
  return { head: t, body: l };
438
439
  });
439
- function Le(t = null) {
440
+ function Pe(t = null) {
440
441
  const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = z.value.head, o = z.value.body.map((c) => [
441
442
  c.parentName,
442
443
  c.parentValue,
@@ -445,12 +446,12 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
445
446
  c.childValue,
446
447
  c.childPercentageToParent,
447
448
  c.childPercentageToTotal
448
- ]), g = l.concat([a]).concat(o), w = ea(g);
449
- t ? t(w) : ta({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
449
+ ]), f = l.concat([a]).concat(o), w = ra(f);
450
+ t ? t(w) : ia({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
450
451
  }
451
- const E = i(!1);
452
+ const U = i(!1);
452
453
  function ut(t) {
453
- E.value = t, De.value += 1;
454
+ U.value = t, De.value += 1;
454
455
  }
455
456
  function st() {
456
457
  $.value.showTable = !$.value.showTable;
@@ -459,33 +460,33 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
459
460
  none: 0,
460
461
  asc: 1,
461
462
  desc: 2
462
- }), M = i(0), ie = i(!1);
463
- ze(() => {
463
+ }), M = i(0), ve = i(!1);
464
+ Ve(() => {
464
465
  ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || ue({
465
466
  componentName: "VueUiVerticalBar",
466
467
  type: "attributeWrongValue",
467
468
  property: "style.chart.layout.bars.sort",
468
469
  key: e.value.style.chart.layout.bars.sort
469
- }), M.value = Dt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, ie.value = M.value === 0;
470
+ }), M.value = Dt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, ve.value = M.value === 0;
470
471
  });
471
- function Bt() {
472
+ function Rt() {
472
473
  M.value += 1, M.value > 2 && (M.value = 0);
473
474
  }
474
475
  function rt() {
475
- Bt(), $.value.sortDesc = M.value === 2, ie.value = M.value === 0, q();
476
+ Rt(), $.value.sortDesc = M.value === 2, ve.value = M.value === 0, q();
476
477
  }
477
478
  function it() {
478
479
  $.value.showTooltip = !$.value.showTooltip;
479
480
  }
480
- const ve = i(!1);
481
- function Pe() {
482
- ve.value = !ve.value;
481
+ const ce = i(!1);
482
+ function Ne() {
483
+ ce.value = !ce.value;
483
484
  }
484
- async function Rt({ scale: t = 2 } = {}) {
485
+ async function Et({ scale: t = 2 } = {}) {
485
486
  if (!P.value) return;
486
- const { width: l, height: a } = P.value.getBoundingClientRect(), o = l / a, { imageUri: g, base64: w } = await ga({ domElement: P.value, base64: !0, img: !0, scale: t });
487
+ const { width: l, height: a } = P.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: w } = await Ca({ domElement: P.value, base64: !0, img: !0, scale: t });
487
488
  return {
488
- imageUri: g,
489
+ imageUri: f,
489
490
  base64: w,
490
491
  title: e.value.style.chart.title.text,
491
492
  width: l,
@@ -493,17 +494,17 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
493
494
  aspectRatio: o
494
495
  };
495
496
  }
496
- const ce = y(() => {
497
+ const de = g(() => {
497
498
  const t = e.value.table.useDialog && !e.value.table.show, l = $.value.showTable;
498
499
  return {
499
- component: t ? wt : pa,
500
+ component: t ? $t : wa,
500
501
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
501
502
  props: t ? {
502
503
  backgroundColor: e.value.table.th.backgroundColor,
503
504
  color: e.value.table.th.color,
504
505
  headerColor: e.value.table.th.color,
505
506
  headerBg: e.value.table.th.backgroundColor,
506
- isFullscreen: E.value,
507
+ isFullscreen: U.value,
507
508
  fullscreenParent: P.value,
508
509
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
509
510
  } : {
@@ -523,59 +524,91 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
523
524
  }
524
525
  };
525
526
  });
526
- Ae(() => $.value.showTable, (t) => {
527
+ ze(() => $.value.showTable, (t) => {
527
528
  e.value.table.show || (t && e.value.table.useDialog && le.value ? le.value.open() : "close" in le.value && le.value.close());
528
529
  });
529
- const { isResponsive: Et } = va(Qe, Nt);
530
- function Ne() {
530
+ const { isResponsive: Ut } = ma(Qe, At);
531
+ function Ae() {
531
532
  $.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
532
533
  }
533
- return yt({
534
+ const Xt = g(() => I.value.map((t, l) => ({
535
+ ...t,
536
+ shape: "square",
537
+ display: `${t.name}: ${se(
538
+ e.value.style.chart.layout.bars.dataLabels.value.formatter,
539
+ t.value,
540
+ B({
541
+ p: e.value.style.chart.legend.prefix,
542
+ v: t.value,
543
+ s: e.value.style.chart.legend.suffix,
544
+ r: e.value.style.chart.legend.roundingValue
545
+ }),
546
+ { datapoint: t, seriesIndex: l }
547
+ )}`
548
+ }))), Wt = g(() => e.value.style.chart.backgroundColor), Gt = g(() => e.value.style.chart.legend), Ht = g(() => e.value.style.chart.title), jt = g(() => Xt.value.map((t) => ({
549
+ ...t,
550
+ name: t.display
551
+ }))), { exportSvg: qt, getSvg: Yt } = ba({
552
+ svg: $e,
553
+ title: Ht,
554
+ legend: Gt,
555
+ legendItems: jt,
556
+ backgroundColor: Wt
557
+ });
558
+ async function vt({ isCb: t }) {
559
+ if (t) {
560
+ const { blob: l, url: a, text: o, dataUrl: f } = await Yt();
561
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: f });
562
+ } else
563
+ qt();
564
+ }
565
+ return bt({
534
566
  autoSize: F,
535
567
  // v3
536
568
  getData: Ot,
537
- getImage: Rt,
569
+ getImage: Et,
538
570
  recalculateHeight: q,
539
571
  generatePdf: Ye,
540
- generateCsv: Le,
572
+ generateCsv: Pe,
541
573
  generateImage: Ke,
574
+ generateSvg: vt,
542
575
  toggleTable: st,
543
576
  toggleSort: rt,
544
577
  toggleTooltip: it,
545
- toggleAnnotator: Pe,
578
+ toggleAnnotator: Ne,
546
579
  toggleFullscreen: ut
547
580
  }), (t, l) => (u(), v("div", {
548
- class: U(`vue-ui-vertical-bar ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
581
+ class: X(`vue-data-ui-component vue-ui-vertical-bar ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
549
582
  ref_key: "verticalBarChart",
550
583
  ref: P,
551
584
  id: `vue-ui-vertical-bar_${S.value}`,
552
- style: d(`padding-top:${e.value.responsive && e.value.autoSize ? `${Ce.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${Ce.value}px` : "height: 100%" : ""}`),
553
- onMouseenter: l[3] || (l[3] = () => s(We)(!0)),
554
- onMouseleave: l[4] || (l[4] = () => s(We)(!1))
585
+ style: d(`padding-top:${e.value.responsive && e.value.autoSize ? `${Te.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${Te.value}px` : "height: 100%" : ""}`),
586
+ onMouseenter: l[3] || (l[3] = () => s(Ge)(!0)),
587
+ onMouseleave: l[4] || (l[4] = () => s(Ge)(!1))
555
588
  }, [
556
- e.value.userOptions.buttons.annotator ? (u(), X(s(kt), {
589
+ e.value.userOptions.buttons.annotator ? (u(), W(s(xt), {
557
590
  key: 0,
558
- svgRef: s(He),
591
+ svgRef: s($e),
559
592
  backgroundColor: e.value.style.chart.backgroundColor,
560
593
  color: e.value.style.chart.color,
561
- active: ve.value,
562
- onClose: Pe
563
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
564
- Pt.value ? (u(), v("div", {
594
+ active: ce.value,
595
+ onClose: Ne
596
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
597
+ Nt.value ? (u(), v("div", {
565
598
  key: 1,
566
599
  ref_key: "noTitle",
567
- ref: Ee,
600
+ ref: Ue,
568
601
  class: "vue-data-ui-no-title-space",
569
602
  style: "height:36px; width: 100%;background:transparent"
570
- }, null, 512)) : f("", !0),
603
+ }, null, 512)) : y("", !0),
571
604
  e.value.style.chart.title.text ? (u(), v("div", {
572
605
  key: 2,
573
606
  ref_key: "chartTitle",
574
- ref: Be,
607
+ ref: Re,
575
608
  style: "width:100%;background:transparent;padding-bottom:12px"
576
609
  }, [
577
- (u(), X(fa, {
578
- key: `title_${Ue.value}`,
610
+ (u(), W($a, {
611
+ key: `title_${Xe.value}`,
579
612
  config: {
580
613
  title: {
581
614
  cy: "vertical-bar-div-title",
@@ -587,8 +620,8 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
587
620
  }
588
621
  }
589
622
  }, null, 8, ["config"]))
590
- ], 512)) : f("", !0),
591
- e.value.userOptions.show && fe.value && (s(Ge) || s(we)) ? (u(), X(s(xt), {
623
+ ], 512)) : y("", !0),
624
+ e.value.userOptions.show && ge.value && (s(He) || s(we)) ? (u(), W(s(_t), {
592
625
  ref_key: "userOptionsRef",
593
626
  ref: ke,
594
627
  key: `user_options_${De.value}`,
@@ -600,32 +633,34 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
600
633
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
601
634
  hasPdf: e.value.userOptions.buttons.pdf,
602
635
  hasImg: e.value.userOptions.buttons.img,
636
+ hasSvg: e.value.userOptions.buttons.svg,
603
637
  hasXls: e.value.userOptions.buttons.csv,
604
638
  hasTable: e.value.userOptions.buttons.table,
605
639
  hasSort: e.value.userOptions.buttons.sort,
606
640
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
607
- isFullscreen: E.value,
641
+ isFullscreen: U.value,
608
642
  isTooltip: $.value.showTooltip,
609
643
  titles: { ...e.value.userOptions.buttonTitles },
610
644
  chartElement: P.value,
611
645
  position: e.value.userOptions.position,
612
646
  hasAnnotator: e.value.userOptions.buttons.annotator,
613
- isAnnotation: ve.value,
647
+ isAnnotation: ce.value,
614
648
  callbacks: e.value.userOptions.callbacks,
615
649
  printScale: e.value.userOptions.print.scale,
616
650
  tableDialog: e.value.table.useDialog,
617
651
  onToggleFullscreen: ut,
618
652
  onGeneratePdf: s(Ye),
619
- onGenerateCsv: Le,
653
+ onGenerateCsv: Pe,
620
654
  onGenerateImage: s(Ke),
655
+ onGenerateSvg: vt,
621
656
  onToggleTable: st,
622
657
  onToggleSort: rt,
623
658
  onToggleTooltip: it,
624
- onToggleAnnotator: Pe,
659
+ onToggleAnnotator: Ne,
625
660
  style: d({
626
- visibility: s(Ge) ? s(we) ? "visible" : "hidden" : "visible"
661
+ visibility: s(He) ? s(we) ? "visible" : "hidden" : "visible"
627
662
  })
628
- }, he({ _: 2 }, [
663
+ }, pe({ _: 2 }, [
629
664
  t.$slots.menuIcon ? {
630
665
  name: "menuIcon",
631
666
  fn: m(({ isOpen: a, color: o }) => [
@@ -696,33 +731,33 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
696
731
  ]),
697
732
  key: "9"
698
733
  } : void 0
699
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
734
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
700
735
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), v("div", {
701
736
  key: 4,
702
737
  ref_key: "chartLegend",
703
738
  ref: be
704
739
  }, [
705
- (u(), X(pt, {
740
+ (u(), W(gt, {
706
741
  key: `legend_top_${me.value}`,
707
742
  legendSet: I.value,
708
743
  config: at.value,
709
744
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => oe(a.id))
710
- }, he({
745
+ }, pe({
711
746
  item: m(({ legend: a, index: o }) => [
712
747
  n("div", {
713
- onClick: (g) => oe(a.id),
748
+ onClick: (f) => oe(a.id),
714
749
  style: d(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
715
- }, h(a.name) + ": " + h(s(pe)(
750
+ }, h(a.name) + ": " + h(s(se)(
716
751
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
717
752
  a.value,
718
- s(G)({
753
+ s(B)({
719
754
  p: e.value.style.chart.legend.prefix,
720
755
  v: a.value,
721
756
  s: e.value.style.chart.legend.suffix,
722
757
  r: e.value.style.chart.legend.roundingValue
723
758
  }),
724
759
  { datapoint: a, seriesIndex: o }
725
- )), 13, ma)
760
+ )), 13, La)
726
761
  ]),
727
762
  _: 2
728
763
  }, [
@@ -740,13 +775,13 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
740
775
  key: "0"
741
776
  } : void 0
742
777
  ]), 1032, ["legendSet", "config"]))
743
- ], 512)) : f("", !0),
778
+ ], 512)) : y("", !0),
744
779
  (u(), v("svg", {
745
780
  ref_key: "svgRef",
746
- ref: He,
747
- xmlns: s(Qt),
748
- class: U({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
749
- viewBox: se.value,
781
+ ref: $e,
782
+ xmlns: s(ua),
783
+ class: X({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
784
+ viewBox: re.value,
750
785
  style: d(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
751
786
  }, [
752
787
  n("g", {
@@ -754,7 +789,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
754
789
  ref: H,
755
790
  class: "vue-data-ui-g"
756
791
  }, [
757
- J(s(_t)),
792
+ J(s(wt)),
758
793
  t.$slots["chart-background"] ? (u(), v("foreignObject", {
759
794
  key: 0,
760
795
  x: N.value.x,
@@ -766,8 +801,8 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
766
801
  }
767
802
  }, [
768
803
  _(t.$slots, "chart-background", {}, void 0, !0)
769
- ], 8, xa)) : f("", !0),
770
- (u(!0), v(ee, null, te(B.value, (a, o) => (u(), v("linearGradient", {
804
+ ], 8, Na)) : y("", !0),
805
+ (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("linearGradient", {
771
806
  x1: "0%",
772
807
  y1: "0%",
773
808
  x2: "100%",
@@ -777,43 +812,43 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
777
812
  n("stop", {
778
813
  offset: "0%",
779
814
  "stop-color": a.color
780
- }, null, 8, wa),
815
+ }, null, 8, za),
781
816
  n("stop", {
782
817
  offset: "100%",
783
- "stop-color": s(Ie)(s(Zt)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
784
- }, null, 8, $a)
785
- ], 8, _a))), 256)),
786
- t.$slots.pattern ? (u(), v("g", Ca, [
787
- (u(!0), v(ee, null, te(B.value, (a) => (u(), v("defs", null, [
788
- _(t.$slots, "pattern", ct({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
818
+ "stop-color": s(Me)(s(sa)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
819
+ }, null, 8, Va)
820
+ ], 8, Aa))), 256)),
821
+ t.$slots.pattern ? (u(), v("g", Ia, [
822
+ (u(!0), v(ee, null, te(R.value, (a) => (u(), v("defs", null, [
823
+ _(t.$slots, "pattern", dt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
789
824
  ]))), 256))
790
- ])) : f("", !0),
791
- (u(!0), v(ee, null, te(B.value, (a, o) => (u(), v("g", null, [
825
+ ])) : y("", !0),
826
+ (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("g", null, [
792
827
  n("rect", {
793
- x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
828
+ x: s(L)(E.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
794
829
  y: r.value.top + (k.value + p.value) * o,
795
830
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
796
831
  height: p.value <= 0 ? 1e-4 : p.value,
797
832
  fill: e.value.style.chart.layout.bars.underlayerColor,
798
833
  rx: e.value.style.chart.layout.bars.borderRadius,
799
- class: U({ animated: e.value.useCssAnimation })
800
- }, null, 10, Ta)
834
+ class: X({ animated: e.value.useCssAnimation })
835
+ }, null, 10, Oa)
801
836
  ]))), 256)),
802
- (u(!0), v(ee, null, te(B.value, (a, o) => (u(), v("g", null, [
837
+ (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("g", null, [
803
838
  n("rect", {
804
- x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
839
+ x: s(L)(E.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
805
840
  y: r.value.top + (k.value + p.value) * o,
806
841
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
807
842
  height: p.value <= 0 ? 1e-4 : p.value,
808
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : s(Ie)(a.color, e.value.style.chart.layout.bars.fillOpacity),
843
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : s(Me)(a.color, e.value.style.chart.layout.bars.fillOpacity),
809
844
  rx: e.value.style.chart.layout.bars.borderRadius,
810
845
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
811
846
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
812
- class: U({ animated: e.value.useCssAnimation })
813
- }, null, 10, Sa),
847
+ class: X({ animated: e.value.useCssAnimation })
848
+ }, null, 10, Fa),
814
849
  t.$slots.pattern ? (u(), v("rect", {
815
850
  key: 0,
816
- x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
851
+ x: s(L)(E.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
817
852
  y: r.value.top + (k.value + p.value) * o,
818
853
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
819
854
  height: p.value <= 0 ? 1e-4 : p.value,
@@ -821,9 +856,9 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
821
856
  rx: e.value.style.chart.layout.bars.borderRadius,
822
857
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
823
858
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
824
- class: U({ animated: e.value.useCssAnimation })
825
- }, null, 10, La)) : f("", !0),
826
- (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), v("line", {
859
+ class: X({ animated: e.value.useCssAnimation })
860
+ }, null, 10, Ma)) : y("", !0),
861
+ (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== R.value.length - 1 ? (u(), v("line", {
827
862
  key: 1,
828
863
  x1: N.value.x,
829
864
  x2: e.value.style.chart.layout.separators.fullWidth ? N.value.width - Math.abs(N.value.x) : r.value.left,
@@ -833,8 +868,8 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
833
868
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
834
869
  "stroke-linecap": "round",
835
870
  style: { transition: "none !important", animation: "none !important" }
836
- }, null, 8, Pa)) : f("", !0),
837
- R.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
871
+ }, null, 8, Ba)) : y("", !0),
872
+ E.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
838
873
  key: 2,
839
874
  x1: r.value.left + r.value.width / 2,
840
875
  x2: r.value.left + r.value.width / 2,
@@ -843,16 +878,16 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
843
878
  stroke: e.value.style.chart.layout.separators.color,
844
879
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
845
880
  "stroke-linecap": "round"
846
- }, null, 8, Na)) : f("", !0),
847
- n("g", Aa, [
881
+ }, null, 8, Da)) : y("", !0),
882
+ n("g", Ra, [
848
883
  n("text", {
849
- x: R.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Vt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
884
+ x: E.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : It(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
850
885
  y: r.value.top + (k.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
851
- "text-anchor": !R.value || a.sign === -1 ? "start" : "end",
886
+ "text-anchor": !E.value || a.sign === -1 ? "start" : "end",
852
887
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
853
888
  fill: e.value.style.chart.layout.bars.dataLabels.color,
854
889
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
855
- }, h(nt(a.value, a, o, a.sign)), 9, za),
890
+ }, h(nt(a.value, a, o, a.sign)), 9, Ea),
856
891
  (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), v("text", {
857
892
  key: 0,
858
893
  "text-anchor": "end",
@@ -861,9 +896,9 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
861
896
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
862
897
  fill: e.value.style.chart.layout.bars.nameLabels.color,
863
898
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
864
- }, h(a.name), 9, Va)) : f("", !0)
899
+ }, h(a.name), 9, Ua)) : y("", !0)
865
900
  ]),
866
- n("g", Oa, [
901
+ n("g", Xa, [
867
902
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
868
903
  key: 0,
869
904
  x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -872,7 +907,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
872
907
  fill: e.value.style.chart.layout.bars.parentLabels.color,
873
908
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
874
909
  "text-anchor": "start"
875
- }, h(ne(a, o).name), 9, Fa)) : f("", !0),
910
+ }, h(ne(a, o).name), 9, Wa)) : y("", !0),
876
911
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
877
912
  key: 1,
878
913
  x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -881,51 +916,51 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
881
916
  fill: e.value.style.chart.layout.bars.parentLabels.color,
882
917
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
883
918
  "text-anchor": "start"
884
- }, h(nt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, Ia)) : f("", !0)
919
+ }, h(nt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, Ga)) : y("", !0)
885
920
  ]),
886
921
  n("rect", {
887
922
  x: N.value.x,
888
923
  y: r.value.top + (k.value + p.value) * o - k.value / 2,
889
924
  width: N.value.width,
890
925
  height: p.value + k.value <= 0 ? 1e-4 : p.value + k.value,
891
- fill: Te.value === a.id ? s(Ie)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
892
- onMouseenter: (g) => Mt(a, o),
893
- onMouseleave: (g) => It({ datapoint: a, seriesIndex: o }),
894
- onClick: (g) => Ft({ datapoint: a, seriesIndex: o })
895
- }, null, 40, Ma)
926
+ fill: Se.value === a.id ? s(Me)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
927
+ onMouseenter: (f) => Bt(a, o),
928
+ onMouseleave: (f) => Mt({ datapoint: a, seriesIndex: o }),
929
+ onClick: (f) => Ft({ datapoint: a, seriesIndex: o })
930
+ }, null, 40, Ha)
896
931
  ]))), 256)),
897
932
  _(t.$slots, "svg", { svg: N.value }, void 0, !0)
898
933
  ], 512)
899
- ], 14, ka)),
900
- t.$slots.watermark ? (u(), v("div", Da, [
934
+ ], 14, Pa)),
935
+ t.$slots.watermark ? (u(), v("div", ja, [
901
936
  _(t.$slots, "watermark", Q(Z({ isPrinting: s(je) || s(qe) })), void 0, !0)
902
- ])) : f("", !0),
937
+ ])) : y("", !0),
903
938
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
904
939
  key: 6,
905
940
  ref_key: "chartLegend",
906
941
  ref: be
907
942
  }, [
908
- (u(), X(pt, {
943
+ (u(), W(gt, {
909
944
  key: `legend_bottom_${me.value}`,
910
945
  legendSet: I.value,
911
946
  config: at.value,
912
947
  onClickMarker: l[1] || (l[1] = ({ legend: a }) => oe(a.id))
913
- }, he({
948
+ }, pe({
914
949
  item: m(({ legend: a, index: o }) => [
915
950
  n("div", {
916
- onClick: (g) => oe(a.id),
951
+ onClick: (f) => oe(a.id),
917
952
  style: d(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
918
- }, h(a.name) + ": " + h(s(pe)(
953
+ }, h(a.name) + ": " + h(s(se)(
919
954
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
920
955
  a.value,
921
- s(G)({
956
+ s(B)({
922
957
  p: e.value.style.chart.legend.prefix,
923
958
  v: a.value,
924
959
  s: e.value.style.chart.legend.suffix,
925
960
  r: e.value.style.chart.legend.roundingValue
926
961
  }),
927
962
  { datapoint: a, seriesIndex: o }
928
- )), 13, Ba)
963
+ )), 13, qa)
929
964
  ]),
930
965
  _: 2
931
966
  }, [
@@ -943,18 +978,18 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
943
978
  key: "0"
944
979
  } : void 0
945
980
  ]), 1032, ["legendSet", "config"]))
946
- ], 512)) : f("", !0),
981
+ ], 512)) : y("", !0),
947
982
  _(t.$slots, "legend", { legend: I.value }, void 0, !0),
948
983
  t.$slots.source ? (u(), v("div", {
949
984
  key: 7,
950
985
  ref_key: "source",
951
- ref: Re,
986
+ ref: Ee,
952
987
  dir: "auto"
953
988
  }, [
954
989
  _(t.$slots, "source", {}, void 0, !0)
955
- ], 512)) : f("", !0),
956
- J(s(mt), {
957
- show: $.value.showTooltip && ge.value && A.value.length < b.dataset.length,
990
+ ], 512)) : y("", !0),
991
+ J(s(kt), {
992
+ show: $.value.showTooltip && fe.value && A.value.length < b.dataset.length,
958
993
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
959
994
  color: e.value.style.chart.tooltip.color,
960
995
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -966,7 +1001,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
966
1001
  offsetY: e.value.style.chart.tooltip.offsetY,
967
1002
  parent: P.value,
968
1003
  content: ye.value,
969
- isFullscreen: E.value,
1004
+ isFullscreen: U.value,
970
1005
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
971
1006
  smooth: e.value.style.chart.tooltip.smooth,
972
1007
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
@@ -974,18 +1009,18 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
974
1009
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
975
1010
  }, {
976
1011
  "tooltip-before": m(() => [
977
- _(t.$slots, "tooltip-before", Q(Z({ ...Se.value })), void 0, !0)
1012
+ _(t.$slots, "tooltip-before", Q(Z({ ...Le.value })), void 0, !0)
978
1013
  ]),
979
1014
  "tooltip-after": m(() => [
980
- _(t.$slots, "tooltip-after", Q(Z({ ...Se.value })), void 0, !0)
1015
+ _(t.$slots, "tooltip-after", Q(Z({ ...Le.value })), void 0, !0)
981
1016
  ]),
982
1017
  _: 3
983
1018
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
984
- fe.value && e.value.userOptions.buttons.table ? (u(), X(Ht(ce.value.component), ct({ key: 8 }, ce.value.props, {
1019
+ ge.value && e.value.userOptions.buttons.table ? (u(), W(ea(de.value.component), dt({ key: 8 }, de.value.props, {
985
1020
  ref_key: "tableUnit",
986
1021
  ref: le,
987
- onClose: Ne
988
- }), he({
1022
+ onClose: Ae
1023
+ }), pe({
989
1024
  content: m(() => [
990
1025
  n("div", {
991
1026
  ref_key: "tableContainer",
@@ -993,16 +1028,16 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
993
1028
  class: "vue-ui-vertical-bar-table atom-data-table",
994
1029
  style: d(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
995
1030
  }, [
996
- n("div", Ra, [
997
- e.value.table.useDialog ? f("", !0) : (u(), v("div", {
1031
+ n("div", Ya, [
1032
+ e.value.table.useDialog ? y("", !0) : (u(), v("div", {
998
1033
  key: 0,
999
1034
  role: "button",
1000
1035
  tabindex: "0",
1001
1036
  style: d(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1002
- onClick: Ne,
1003
- onKeypress: jt(Ne, ["enter"])
1037
+ onClick: Ae,
1038
+ onKeypress: ta(Ae, ["enter"])
1004
1039
  }, [
1005
- J(s(Me), {
1040
+ J(s(Be), {
1006
1041
  name: "close",
1007
1042
  stroke: e.value.table.th.color,
1008
1043
  "stroke-width": 2
@@ -1010,16 +1045,16 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
1010
1045
  ], 36)),
1011
1046
  n("div", {
1012
1047
  style: { width: "100%", "container-type": "inline-size" },
1013
- class: U({ "vue-ui-responsive": s(Et) })
1048
+ class: X({ "vue-ui-responsive": s(Ut) })
1014
1049
  }, [
1015
- n("table", Ea, [
1016
- e.value.table.useDialog ? f("", !0) : (u(), v("caption", {
1050
+ n("table", Ka, [
1051
+ e.value.table.useDialog ? y("", !0) : (u(), v("caption", {
1017
1052
  key: 0,
1018
1053
  style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1019
1054
  class: "vue-ui-data-table__caption"
1020
1055
  }, [
1021
- dt(h(e.value.style.chart.title.text) + " ", 1),
1022
- e.value.style.chart.title.subtitle.text ? (u(), v("span", Ua, h(e.value.style.chart.title.subtitle.text), 1)) : f("", !0)
1056
+ ht(h(e.value.style.chart.title.text) + " ", 1),
1057
+ e.value.style.chart.title.subtitle.text ? (u(), v("span", Ja, h(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
1023
1058
  ], 4)),
1024
1059
  n("thead", null, [
1025
1060
  n("tr", {
@@ -1029,7 +1064,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
1029
1064
  (u(!0), v(ee, null, te(z.value.head, (a) => (u(), v("th", {
1030
1065
  style: d(`outline:${e.value.table.th.outline}`)
1031
1066
  }, [
1032
- n("div", Xa, h(a), 1)
1067
+ n("div", Qa, h(a), 1)
1033
1068
  ], 4))), 256))
1034
1069
  ], 4),
1035
1070
  n("tr", null, [
@@ -1058,7 +1093,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
1058
1093
  ]),
1059
1094
  n("tbody", null, [
1060
1095
  (u(!0), v(ee, null, te(z.value.body, (a, o) => (u(), v("tr", {
1061
- class: U({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
1096
+ class: X({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
1062
1097
  style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1063
1098
  }, [
1064
1099
  n("td", {
@@ -1066,56 +1101,56 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
1066
1101
  style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1067
1102
  "data-cell": z.value.head[0] ?? ""
1068
1103
  }, [
1069
- n("div", Ga, [
1104
+ n("div", el, [
1070
1105
  a.color ? (u(), v("span", {
1071
1106
  key: 0,
1072
1107
  style: d(`color:${a.color};margin-right:3px`)
1073
- }, "⬤", 4)) : f("", !0),
1108
+ }, "⬤", 4)) : y("", !0),
1074
1109
  n("span", null, h(a.parentName), 1)
1075
1110
  ])
1076
- ], 12, Wa),
1111
+ ], 12, Za),
1077
1112
  n("td", {
1078
1113
  class: "vue-ui-data-table__tbody__td",
1079
1114
  style: d(`outline:${e.value.table.td.outline}`),
1080
1115
  "data-cell": z.value.head[1] ?? ""
1081
1116
  }, [
1082
- n("div", ja, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1083
- ], 12, Ha),
1117
+ n("div", al, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1118
+ ], 12, tl),
1084
1119
  n("td", {
1085
1120
  class: "vue-ui-data-table__tbody__td",
1086
1121
  style: d(`outline:${e.value.table.td.outline}`),
1087
1122
  "data-cell": z.value.head[2] ?? ""
1088
1123
  }, [
1089
- n("div", Ya, h(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1090
- ], 12, qa),
1124
+ n("div", ol, h(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1125
+ ], 12, ll),
1091
1126
  n("td", {
1092
1127
  class: "vue-ui-data-table__tbody__td",
1093
1128
  style: d(`outline:${e.value.table.td.outline}`),
1094
1129
  "data-cell": z.value.head[3] ?? ""
1095
1130
  }, [
1096
- n("div", Ja, h(a.childName), 1)
1097
- ], 12, Ka),
1131
+ n("div", ul, h(a.childName), 1)
1132
+ ], 12, nl),
1098
1133
  n("td", {
1099
1134
  class: "vue-ui-data-table__tbody__td",
1100
1135
  style: d(`outline:${e.value.table.td.outline}`),
1101
1136
  "data-cell": z.value.head[4] ?? ""
1102
1137
  }, [
1103
- n("div", Za, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1104
- ], 12, Qa),
1138
+ n("div", rl, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1139
+ ], 12, sl),
1105
1140
  n("td", {
1106
1141
  class: "vue-ui-data-table__tbody__td",
1107
1142
  style: d(`outline:${e.value.table.td.outline}`),
1108
1143
  "data-cell": z.value.head[5] ?? ""
1109
1144
  }, [
1110
- n("div", tl, h(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1111
- ], 12, el),
1145
+ n("div", vl, h(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1146
+ ], 12, il),
1112
1147
  n("td", {
1113
1148
  class: "vue-ui-data-table__tbody__td",
1114
1149
  style: d(`outline:${e.value.table.td.outline}`),
1115
1150
  "data-cell": z.value.head[6] ?? ""
1116
1151
  }, [
1117
- n("div", ll, h(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1118
- ], 12, al)
1152
+ n("div", dl, h(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1153
+ ], 12, cl)
1119
1154
  ], 6))), 256))
1120
1155
  ])
1121
1156
  ])
@@ -1128,7 +1163,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
1128
1163
  e.value.table.useDialog ? {
1129
1164
  name: "title",
1130
1165
  fn: m(() => [
1131
- dt(h(ce.value.title), 1)
1166
+ ht(h(de.value.title), 1)
1132
1167
  ]),
1133
1168
  key: "0"
1134
1169
  } : void 0,
@@ -1138,21 +1173,21 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
1138
1173
  n("button", {
1139
1174
  tabindex: "0",
1140
1175
  class: "vue-ui-user-options-button",
1141
- onClick: l[2] || (l[2] = (a) => Le(e.value.userOptions.callbacks.csv))
1176
+ onClick: l[2] || (l[2] = (a) => Pe(e.value.userOptions.callbacks.csv))
1142
1177
  }, [
1143
- J(s(Me), {
1178
+ J(s(Be), {
1144
1179
  name: "excel",
1145
- stroke: ce.value.props.color
1180
+ stroke: de.value.props.color
1146
1181
  }, null, 8, ["stroke"])
1147
1182
  ])
1148
1183
  ]),
1149
1184
  key: "1"
1150
1185
  } : void 0
1151
- ]), 1040)) : f("", !0),
1152
- s(Xe) ? (u(), X(ra, { key: 9 })) : f("", !0)
1153
- ], 46, ba));
1186
+ ]), 1040)) : y("", !0),
1187
+ s(We) ? (u(), W(fa, { key: 9 })) : y("", !0)
1188
+ ], 46, Sa));
1154
1189
  }
1155
- }, xl = /* @__PURE__ */ ya(ol, [["__scopeId", "data-v-d553ecc0"]]);
1190
+ }, Al = /* @__PURE__ */ Ta(hl, [["__scopeId", "data-v-1ea4e17d"]]);
1156
1191
  export {
1157
- xl as default
1192
+ Al as default
1158
1193
  };