vue-data-ui 3.0.0-next.9 → 3.0.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 (144) hide show
  1. package/README.md +32 -30
  2. package/dist/{Arrow-B6OlqyCG.js → Arrow-DQoWnUfD.js} +1 -1
  3. package/dist/{BaseDraggableDialog-CA8QOk7L.js → BaseDraggableDialog-DEw6oieL.js} +4 -4
  4. package/dist/{BaseIcon-DxUUKVlt.js → BaseIcon-DEl03NUZ.js} +1 -1
  5. package/dist/{ColorPicker-Bh1dfgXt.js → ColorPicker-CrivFZqC.js} +2 -2
  6. package/dist/{DataTable--paavNqF.js → DataTable-ClgCsiJA.js} +2 -2
  7. package/dist/{Legend-BZ06qU55.js → Legend-CMvJ6X5j.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DN9XjEHv.js → NonSvgPenAndPaper-B2Wvbl3p.js} +3 -3
  9. package/dist/{PackageVersion-2QvaZf9_.js → PackageVersion-CD5VH_Al.js} +3 -3
  10. package/dist/{PenAndPaper-hGgW0EHz.js → PenAndPaper-D3WRn-G2.js} +32 -32
  11. package/dist/{RecursiveCircles-Dn3TGoL6.js → RecursiveCircles-BcLb1aRS.js} +15 -13
  12. package/dist/RecursiveLabels-Bgcv0pzu.js +50 -0
  13. package/dist/{RecursiveLinks-ld_gDZH4.js → RecursiveLinks-00zGWPf9.js} +20 -18
  14. package/dist/{Shape-Mr1eIp_G.js → Shape-Adi9i_-f.js} +43 -37
  15. package/dist/Slicer-t6e1t2iM.js +602 -0
  16. package/dist/{SparkTooltip-Czhz446b.js → SparkTooltip-B8OnBSvk.js} +7 -7
  17. package/dist/{Title-B2dA6-uH.js → Title-xTWR-Vil.js} +1 -1
  18. package/dist/{Tooltip-O_hCvqgF.js → Tooltip-BH3CiANh.js} +23 -19
  19. package/dist/{UserOptions-Bk03FRqW.js → UserOptions-CKKPgDLV.js} +2 -2
  20. package/dist/{dom-to-png-Bt5F9TXw.js → dom-to-png-C4hj491O.js} +1 -1
  21. package/dist/{img-C_9wps3s.js → img-Vb4QHAHI.js} +1 -1
  22. package/dist/{index-CgShIRes.js → index-Dzc2Gi60.js} +2885 -2010
  23. package/dist/{pdf-CXdbjyRJ.js → pdf-ddpqw-dt.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +753 -65
  26. package/dist/types/vue-data-ui.d.ts +753 -65
  27. package/dist/useAutoSizeLabelsInsideViewbox-CN_Jh8Hr.js +81 -0
  28. package/dist/useFitSvgText-2crs6Fv5.js +69 -0
  29. package/dist/useLoading-D7YHNtLX.js +29 -0
  30. package/dist/useNestedProp-CjnS13nF.js +13 -0
  31. package/dist/usePanZoom-BVca3eMk.js +122 -0
  32. package/dist/{usePrinter-rIrqBbbm.js → usePrinter-DBRh8ZvS.js} +2 -2
  33. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  34. package/dist/{useTimeLabels-DG97x2hL.js → useTimeLabels-DkzmKfZn.js} +208 -156
  35. package/dist/{vue-data-ui-DiwfJSwC.js → vue-data-ui-B7ztqj9-.js} +105 -100
  36. package/dist/vue-data-ui.js +26 -25
  37. package/dist/vue-ui-3d-bar-DUmYPtHl.js +1323 -0
  38. package/dist/{vue-ui-accordion-hlzscmAS.js → vue-ui-accordion-CPk8wAuj.js} +3 -3
  39. package/dist/vue-ui-age-pyramid-Bv5HmeXj.js +835 -0
  40. package/dist/{vue-ui-annotator-BHwBUNRO.js → vue-ui-annotator-KXWlIhtd.js} +12 -12
  41. package/dist/vue-ui-bullet-B4N4mBk9.js +571 -0
  42. package/dist/vue-ui-candlestick-DENvPnUO.js +1000 -0
  43. package/dist/{vue-ui-carousel-table-6MTDYf-H.js → vue-ui-carousel-table-vC2bHBaY.js} +29 -29
  44. package/dist/{vue-ui-chestnut-Cr6dK21e.js → vue-ui-chestnut-2nS0StrY.js} +664 -536
  45. package/dist/vue-ui-chord-CyfS6vNM.js +1038 -0
  46. package/dist/vue-ui-circle-pack-C4JR-0fx.js +709 -0
  47. package/dist/{vue-ui-cursor-Ch5yUxNn.js → vue-ui-cursor-BgeSDtQh.js} +2 -2
  48. package/dist/{vue-ui-dashboard-tVZ9aEHo.js → vue-ui-dashboard-9DWUBJ-I.js} +64 -64
  49. package/dist/{vue-ui-digits-BOlYLluF.js → vue-ui-digits-BQO7IBFA.js} +2 -2
  50. package/dist/{vue-ui-donut-BKwAnTKA.js → vue-ui-donut-C-ZJXJ74.js} +431 -422
  51. package/dist/vue-ui-donut-evolution-B870IrQA.js +1076 -0
  52. package/dist/vue-ui-dumbbell-Cfs2Uotx.js +1120 -0
  53. package/dist/vue-ui-flow-DnaUVVAD.js +841 -0
  54. package/dist/{vue-ui-funnel-CAV6A--C.js → vue-ui-funnel-B9s-H5ZG.js} +16 -16
  55. package/dist/vue-ui-galaxy-BoJOczdh.js +680 -0
  56. package/dist/vue-ui-gauge-qjm4BqZR.js +791 -0
  57. package/dist/vue-ui-gizmo-fn7ZaMTI.js +210 -0
  58. package/dist/vue-ui-heatmap-CIBDKhh8.js +1078 -0
  59. package/dist/vue-ui-history-plot-bbNxldYG.js +1074 -0
  60. package/dist/{vue-ui-kpi-DjHXc1Z9.js → vue-ui-kpi-BX-2jhLx.js} +26 -26
  61. package/dist/{vue-ui-mini-loader-C68r9wbr.js → vue-ui-mini-loader-Bn1Bb8-J.js} +2 -2
  62. package/dist/vue-ui-molecule-DQ3qFtBq.js +656 -0
  63. package/dist/vue-ui-mood-radar-Cf-ehIo1.js +785 -0
  64. package/dist/vue-ui-nested-donuts-CWg5BEi-.js +1284 -0
  65. package/dist/vue-ui-onion-sHgQTYfa.js +776 -0
  66. package/dist/vue-ui-parallel-coordinate-plot-Ki3ITp_s.js +916 -0
  67. package/dist/{vue-ui-quadrant-ULvVhjjq.js → vue-ui-quadrant-BIVqW7U7.js} +512 -459
  68. package/dist/vue-ui-quick-chart-C_hvHc1b.js +1762 -0
  69. package/dist/vue-ui-radar-RZUPyPwB.js +796 -0
  70. package/dist/{vue-ui-rating-CkdVnYpj.js → vue-ui-rating-BI8Vk7dO.js} +2 -2
  71. package/dist/vue-ui-relation-circle-TVMUEtxK.js +598 -0
  72. package/dist/vue-ui-ridgeline-DQeXHQG4.js +1157 -0
  73. package/dist/vue-ui-rings-BH81WmMS.js +728 -0
  74. package/dist/vue-ui-scatter-Cy7Tz_An.js +1178 -0
  75. package/dist/{vue-ui-skeleton-BsBaCvoE.js → vue-ui-skeleton-CF50qQxr.js} +13 -13
  76. package/dist/{vue-ui-smiley-B2sBY2Q-.js → vue-ui-smiley-CrFXEbJs.js} +46 -46
  77. package/dist/vue-ui-spark-trend-DtHArnot.js +315 -0
  78. package/dist/vue-ui-sparkbar-CIOwFFgA.js +351 -0
  79. package/dist/vue-ui-sparkgauge-E0DdGotz.js +232 -0
  80. package/dist/vue-ui-sparkhistogram-Dm7WoyjY.js +380 -0
  81. package/dist/vue-ui-sparkline-DoW6DDKT.js +513 -0
  82. package/dist/vue-ui-sparkstackbar-BJnPUWY4.js +421 -0
  83. package/dist/vue-ui-stackbar-Du42smPs.js +1371 -0
  84. package/dist/vue-ui-strip-plot-DnenGI-d.js +916 -0
  85. package/dist/{vue-ui-table-DaE8lQuo.js → vue-ui-table-BQOQVlHr.js} +17 -17
  86. package/dist/{vue-ui-table-heatmap--dSEG8cU.js → vue-ui-table-heatmap-BzK4_gsP.js} +5 -5
  87. package/dist/{vue-ui-table-sparkline-D4DkGvDP.js → vue-ui-table-sparkline-B-IwcT8I.js} +19 -16
  88. package/dist/vue-ui-thermometer-06ao_Pj5.js +541 -0
  89. package/dist/{vue-ui-timer-CYXTAh6x.js → vue-ui-timer-CxQq4roK.js} +5 -5
  90. package/dist/vue-ui-tiremarks-CuTxkByj.js +406 -0
  91. package/dist/vue-ui-treemap-BgHhRpiV.js +1035 -0
  92. package/dist/{vue-ui-vertical-bar-CO9eR1ty.js → vue-ui-vertical-bar-CAcsUUCo.js} +104 -102
  93. package/dist/vue-ui-waffle-Ct3Upw3m.js +910 -0
  94. package/dist/vue-ui-wheel-oz06Kt-p.js +379 -0
  95. package/dist/vue-ui-word-cloud-BRy7fg4S.js +765 -0
  96. package/dist/{vue-ui-world-P45Plcqw.js → vue-ui-world-CTV-YfFN.js} +364 -327
  97. package/dist/vue-ui-xy-DqCy9dpa.js +3808 -0
  98. package/dist/{vue-ui-xy-canvas-DgNBgUak.js → vue-ui-xy-canvas-BZdhKUIp.js} +265 -264
  99. package/package.json +4 -4
  100. package/dist/RecursiveLabels-NTMB9w5C.js +0 -49
  101. package/dist/Slicer-3t0HimeE.js +0 -577
  102. package/dist/useLoading-Bt5Doa8m.js +0 -28
  103. package/dist/useNestedProp-BC4Ciblw.js +0 -13
  104. package/dist/usePanZoom-BQMvRXEQ.js +0 -115
  105. package/dist/vue-ui-3d-bar-BqmzX9u4.js +0 -1227
  106. package/dist/vue-ui-age-pyramid-eRPt0BJb.js +0 -746
  107. package/dist/vue-ui-bullet-BSnF2gql.js +0 -513
  108. package/dist/vue-ui-candlestick-kMbNnoYe.js +0 -873
  109. package/dist/vue-ui-chord-Dxy_bfIE.js +0 -949
  110. package/dist/vue-ui-circle-pack-I_p4FPiW.js +0 -673
  111. package/dist/vue-ui-donut-evolution-DQhZJ4Sa.js +0 -903
  112. package/dist/vue-ui-dumbbell-DdN-7b3g.js +0 -753
  113. package/dist/vue-ui-flow-MvORTthN.js +0 -765
  114. package/dist/vue-ui-galaxy-B0PLMAn8.js +0 -617
  115. package/dist/vue-ui-gauge-C4FTzDFt.js +0 -738
  116. package/dist/vue-ui-gizmo-Dl5FHFb4.js +0 -192
  117. package/dist/vue-ui-heatmap-C3dee43W.js +0 -877
  118. package/dist/vue-ui-history-plot-dqv4u1Oa.js +0 -924
  119. package/dist/vue-ui-molecule-DtRAlfhC.js +0 -597
  120. package/dist/vue-ui-mood-radar-BZj2G0zE.js +0 -670
  121. package/dist/vue-ui-nested-donuts-OqJTwMb2.js +0 -1212
  122. package/dist/vue-ui-onion-DXLokGec.js +0 -701
  123. package/dist/vue-ui-parallel-coordinate-plot-tg7QhtIE.js +0 -807
  124. package/dist/vue-ui-quick-chart-4EODniQ3.js +0 -1612
  125. package/dist/vue-ui-radar-Dt5p5oSy.js +0 -741
  126. package/dist/vue-ui-relation-circle-_SysXj9T.js +0 -542
  127. package/dist/vue-ui-ridgeline-Cs5UihNN.js +0 -969
  128. package/dist/vue-ui-rings-Duay-EmS.js +0 -685
  129. package/dist/vue-ui-scatter-C6oGQcbL.js +0 -1045
  130. package/dist/vue-ui-spark-trend-CEAqGu3d.js +0 -291
  131. package/dist/vue-ui-sparkbar-ByPUDc6x.js +0 -301
  132. package/dist/vue-ui-sparkgauge-C-GKwevJ.js +0 -201
  133. package/dist/vue-ui-sparkhistogram-Dz0DdaVW.js +0 -313
  134. package/dist/vue-ui-sparkline-BULntz_U.js +0 -459
  135. package/dist/vue-ui-sparkstackbar-DXjHOeeU.js +0 -381
  136. package/dist/vue-ui-stackbar-CeP9n7zy.js +0 -1207
  137. package/dist/vue-ui-strip-plot-CaFQkWV8.js +0 -761
  138. package/dist/vue-ui-thermometer-BXf14CYH.js +0 -495
  139. package/dist/vue-ui-tiremarks-D6hJ1cd4.js +0 -358
  140. package/dist/vue-ui-treemap-tBurCrdn.js +0 -965
  141. package/dist/vue-ui-waffle-BNzs_BxY.js +0 -863
  142. package/dist/vue-ui-wheel-tydUATi8.js +0 -352
  143. package/dist/vue-ui-word-cloud-DUUc_tj6.js +0 -659
  144. package/dist/vue-ui-xy--HToGdle.js +0 -2982
@@ -1,21 +1,21 @@
1
- import { useCssVars as Ft, defineAsyncComponent as ae, useSlots as Bt, computed as b, ref as i, toRefs as Rt, watch as nt, shallowRef as ut, onMounted as Te, nextTick as ve, onBeforeUnmount as Et, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as h, normalizeClass as D, createBlock as X, createCommentVNode as y, renderSlot as x, createVNode as le, createSlots as Se, withCtx as w, normalizeProps as Y, guardReactiveProps as K, createElementVNode as n, toDisplayString as p, Fragment as J, renderList as Q, mergeProps as Dt, withKeys as Xt, createTextVNode as Ut } from "vue";
2
- import { u as Gt, c as Wt, A as Ht, t as jt, p as U, a as qt, C as Le, b as Yt, v as L, o as Pe, e as oe, d as Ne, i as de, f as G, X as Kt, s as Ae, w as Jt, q as Qt, r as Zt, x as ea, y as ta } from "./index-CgShIRes.js";
1
+ import { useCssVars as Mt, defineAsyncComponent as le, useSlots as Bt, computed as b, ref as i, toRefs as Rt, watch as nt, shallowRef as ut, onMounted as Te, nextTick as ve, onBeforeUnmount as Et, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as h, normalizeClass as D, createBlock as X, createCommentVNode as y, renderSlot as x, createVNode as oe, createSlots as Se, withCtx as w, normalizeProps as K, guardReactiveProps as J, createElementVNode as n, toDisplayString as p, Fragment as Q, renderList as Z, mergeProps as Dt, withKeys as Xt, createTextVNode as Ut } from "vue";
2
+ import { u as Gt, c as Wt, t as Ht, a as jt, p as U, b as qt, C as Le, d as Yt, h as L, o as Pe, f as ne, e as Ne, k as de, i as G, X as Kt, s as Ae, x as Jt, v as Qt, w as Zt, y as ea, z as ta } from "./index-Dzc2Gi60.js";
3
3
  import { t as aa, u as la } from "./useResponsive-DfdjqQps.js";
4
- import { u as st } from "./useNestedProp-BC4Ciblw.js";
5
- import { u as oa } from "./usePrinter-rIrqBbbm.js";
4
+ import { u as st } from "./useNestedProp-CjnS13nF.js";
5
+ import { u as oa } from "./usePrinter-DBRh8ZvS.js";
6
6
  import { u as na } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ua } from "./useChartAccessibility-9icAAmYg.js";
8
- import sa from "./vue-ui-accordion-hlzscmAS.js";
9
- import rt from "./Legend-BZ06qU55.js";
10
- import ra from "./Title-B2dA6-uH.js";
11
- import { _ as it } from "./Shape-Mr1eIp_G.js";
12
- import ia from "./img-C_9wps3s.js";
13
- import { u as va, B as da } from "./useLoading-Bt5Doa8m.js";
8
+ import sa from "./vue-ui-accordion-CPk8wAuj.js";
9
+ import rt from "./Legend-CMvJ6X5j.js";
10
+ import ra from "./Title-xTWR-Vil.js";
11
+ import { _ as it } from "./Shape-Adi9i_-f.js";
12
+ import ia from "./img-Vb4QHAHI.js";
13
+ import { u as va, B as da } from "./useLoading-D7YHNtLX.js";
14
14
  import { _ as ca } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "width", "height"], ga = ["id"], ba = ["stop-color"], ma = ["stop-color"], ka = { key: 1 }, xa = ["x", "y", "width", "height", "fill", "rx"], _a = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], wa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ta = { class: "vue-ui-horizontal-bar-child-label" }, Sa = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], La = ["x", "y", "font-size", "fill", "font-weight"], Pa = { class: "vue-ui-horizontal-bar-parent-label" }, Na = ["x", "y", "font-size", "fill", "font-weight"], Aa = ["x", "y", "font-size", "fill", "font-weight"], za = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Va = {
16
16
  key: 5,
17
17
  class: "vue-data-ui-watermark"
18
- }, Ia = ["onClick"], Oa = { style: "width:100%;padding-top: 36px;position:relative" }, Ma = { class: "vue-ui-data-table" }, Fa = { key: 0 }, Ba = { style: { width: "100%" } }, Ra = ["data-cell"], Ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Da = ["data-cell"], Xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ua = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Wa = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ja = ["data-cell"], qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ya = ["data-cell"], Ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = {
18
+ }, Ia = ["onClick"], Oa = { style: "width:100%;padding-top: 36px;position:relative" }, Fa = { class: "vue-ui-data-table" }, Ma = { key: 0 }, Ba = { style: { width: "100%" } }, Ra = ["data-cell"], Ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Da = ["data-cell"], Xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ua = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Wa = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ja = ["data-cell"], qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ya = ["data-cell"], Ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = {
19
19
  __name: "vue-ui-vertical-bar",
20
20
  props: {
21
21
  config: {
@@ -33,17 +33,17 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
33
33
  },
34
34
  emits: ["selectLegend"],
35
35
  setup(vt, { expose: dt, emit: ct }) {
36
- Ft((t) => ({
37
- a8e45186: t.tdo
36
+ Mt((t) => ({
37
+ dd2a8d00: t.tdo
38
38
  }));
39
- const ht = ae(() => import("./BaseIcon-DxUUKVlt.js")), pt = ae(() => import("./PackageVersion-2QvaZf9_.js")), ft = ae(() => import("./PenAndPaper-hGgW0EHz.js")), yt = ae(() => import("./Tooltip-O_hCvqgF.js")), gt = ae(() => import("./UserOptions-Bk03FRqW.js")), { vue_ui_vertical_bar: bt } = Gt(), mt = Bt(), g = vt, ce = b({
39
+ const ht = le(() => import("./BaseIcon-DEl03NUZ.js")), pt = le(() => import("./PackageVersion-CD5VH_Al.js")), ft = le(() => import("./PenAndPaper-D3WRn-G2.js")), yt = le(() => import("./Tooltip-BH3CiANh.js")), gt = le(() => import("./UserOptions-CKKPgDLV.js")), { vue_ui_vertical_bar: bt } = Gt(), mt = Bt(), g = vt, ce = b({
40
40
  get() {
41
41
  return !!g.dataset && g.dataset.length;
42
42
  },
43
43
  set(t) {
44
44
  return t;
45
45
  }
46
- }), S = i(Wt()), kt = i(null), he = i(!1), pe = i(""), Z = i(0), xt = i(null), ze = i(0), z = i(null), Ve = i(null), fe = i(null), Ie = i(null), Oe = i(null), Me = i(0), ye = i(0), ne = i(null), _t = ct, e = i(xe()), wt = b(() => [
46
+ }), S = i(Wt()), kt = i(null), he = i(!1), pe = i(""), ee = i(0), xt = i(null), ze = i(0), z = i(null), Ve = i(null), fe = i(null), Ie = i(null), Oe = i(null), Fe = i(0), ye = i(0), W = i(null), _t = ct, e = i(xe()), wt = b(() => [
47
47
  { name: "", value: 6, color: "#d9d9d9" },
48
48
  { name: "", value: 5, color: "#d9d9d9" },
49
49
  { name: "", value: 4, color: "#d9d9d9" },
@@ -56,7 +56,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
56
56
  prepareConfig: xe,
57
57
  callback: () => {
58
58
  Promise.resolve().then(async () => {
59
- H(), await O();
59
+ j(), await O();
60
60
  });
61
61
  },
62
62
  skeletonDataset: wt.value,
@@ -106,7 +106,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
106
106
  }
107
107
  }
108
108
  })
109
- }), { userOptionsVisible: ke, setUserOptionsVisibility: Fe, keepUserOptionState: Be } = na({ config: e.value }), { svgRef: Re } = ua({ config: e.value.style.chart.title });
109
+ }), { userOptionsVisible: ke, setUserOptionsVisibility: Me, keepUserOptionState: Be } = na({ config: e.value }), { svgRef: Re } = ua({ config: e.value.style.chart.title });
110
110
  function xe() {
111
111
  const t = st({
112
112
  userConfig: g.config,
@@ -122,15 +122,15 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
122
122
  } : l = t, g.config && Le(g.config, "events.datapointEnter") ? l.events.datapointEnter = g.config.events.datapointEnter : l.events.datapointEnter = null, g.config && Le(g.config, "events.datapointLeave") ? l.events.datapointLeave = g.config.events.datapointLeave : l.events.datapointLeave = null, g.config && Le(g.config, "events.datapointClick") ? l.events.datapointClick = g.config.events.datapointClick : l.events.datapointClick = null, l;
123
123
  }
124
124
  nt(() => g.config, (t) => {
125
- ge.value || (e.value = xe()), ke.value = !e.value.userOptions.showOnChartHover, qe(), Me.value += 1, ye.value += 1, c.value = e.value.style.chart.layout.bars.height, m.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;
125
+ ge.value || (e.value = xe()), ke.value = !e.value.userOptions.showOnChartHover, qe(), Fe.value += 1, ye.value += 1, c.value = e.value.style.chart.layout.bars.height, m.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;
126
126
  }, { deep: !0 }), nt(() => g.dataset, (t) => {
127
- Array.isArray(t) && t.length > 0 && (me.value = !1), H();
127
+ Array.isArray(t) && t.length > 0 && (me.value = !1), j();
128
128
  }, { deep: !0 });
129
129
  const { isPrinting: Ee, isImaging: De, generatePdf: Xe, generateImage: Ue } = oa({
130
130
  elementId: `vue-ui-vertical-bar_${S.value}`,
131
131
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
132
132
  options: e.value.userOptions.print
133
- }), $t = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ge = b(() => Yt(e.value.customPalette)), We = i(null), He = i(!1), Ct = b(() => e.value.table.responsiveBreakpoint), I = ut(null), W = ut(null), ue = i("0 0 10 10"), P = b(() => {
133
+ }), $t = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ge = b(() => Yt(e.value.customPalette)), We = i(null), He = i(!1), Ct = b(() => e.value.table.responsiveBreakpoint), I = ut(null), H = ut(null), ue = i("0 0 10 10"), P = b(() => {
134
134
  const [t, l, a, o] = ue.value.split(" ").map(Number);
135
135
  return { x: t, y: l, width: a, height: o };
136
136
  });
@@ -138,25 +138,25 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
138
138
  await ve(), qe(), O();
139
139
  });
140
140
  async function O() {
141
- if (ue.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize) return;
142
- const t = ne.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = ne.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
143
- if (t.length) {
141
+ if (ue.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !W.value) return;
142
+ const t = W.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = W.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
143
+ if (t && t.length) {
144
144
  const f = Math.max(...Array.from(t).flatMap((d) => {
145
145
  const k = d.querySelectorAll("text");
146
- return k.length ? Array.from(k).map((q) => q.getBBox().width) : 0;
146
+ return k.length ? Array.from(k).map((Y) => Y.getBBox().width) : 0;
147
147
  })), _ = Math.max(...Array.from(l).flatMap((d) => {
148
148
  const k = d.querySelectorAll("text");
149
- return k.length ? Array.from(k).map((q) => q.getBBox().width) : 0;
149
+ return k.length ? Array.from(k).map((Y) => Y.getBBox().width) : 0;
150
150
  }));
151
151
  Array.from(t).forEach((d) => {
152
152
  const k = d.querySelectorAll("text");
153
- Array.from(k).forEach(async (q) => {
154
- q.setAttribute("x", 0), q.setAttribute("x", L(-f - _));
153
+ Array.from(k).forEach(async (Y) => {
154
+ Y.setAttribute("x", 0), Y.setAttribute("x", L(-f - _));
155
155
  });
156
156
  });
157
157
  }
158
158
  await ve();
159
- const a = ne.value.getBBox(), o = e.value.style.chart.layout.bars.dataLabels.offsetX;
159
+ const a = W.value ? W.value.getBBox() : 0, o = e.value.style.chart.layout.bars.dataLabels.offsetX;
160
160
  ue.value = [
161
161
  a.x + -o,
162
162
  0,
@@ -171,7 +171,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
171
171
  const { width: a, height: o } = l.contentRect;
172
172
  if (a > 0 && o > 0) {
173
173
  Promise.resolve().then(async () => {
174
- H(), await O();
174
+ j(), await O();
175
175
  });
176
176
  break;
177
177
  }
@@ -180,11 +180,11 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
180
180
  });
181
181
  const se = b(() => !!e.value.debug), _e = i(0);
182
182
  function qe() {
183
- if (Pe(g.dataset) && (oe({
183
+ if (Pe(g.dataset) && (ne({
184
184
  componentName: "VueUiVerticalBar",
185
185
  type: "dataset",
186
186
  debug: se.value
187
- }), ce.value = !1, me.value = !0), Z.value = be.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Tt(), Pe(g.dataset) || (me.value = e.value.loading), e.value.responsive) {
187
+ }), ce.value = !1, me.value = !0), ee.value = be.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Tt(), Pe(g.dataset) || (me.value = e.value.loading), e.value.responsive) {
188
188
  const t = aa(() => {
189
189
  const { width: l, height: a } = la({
190
190
  chart: z.value,
@@ -195,15 +195,15 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
195
195
  });
196
196
  _e.value = a / 3, requestAnimationFrame(async () => {
197
197
  Je.value = l;
198
- const o = m.value * (Z.value - 1);
199
- c.value = (a - o) / Z.value, await ve(), O();
198
+ const o = m.value * (ee.value - 1);
199
+ c.value = (a - o) / ee.value, await ve(), O();
200
200
  });
201
201
  });
202
- I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect()), I.value = new ResizeObserver(t), W.value = z.value.parentNode, I.value.observe(W.value), e.value.autoSize && O();
202
+ I.value && (H.value && I.value.unobserve(H.value), I.value.disconnect()), I.value = new ResizeObserver(t), H.value = z.value.parentNode, I.value.observe(H.value), e.value.autoSize && O();
203
203
  }
204
204
  }
205
205
  Et(() => {
206
- I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect());
206
+ I.value && (H.value && I.value.unobserve(H.value), I.value.disconnect());
207
207
  });
208
208
  function Tt() {
209
209
  if (ge.value) return;
@@ -217,19 +217,19 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
217
217
  showTable: e.value.table.show,
218
218
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
219
219
  showTooltip: e.value.style.chart.tooltip.show
220
- }), Ye = b(() => $.value.sortDesc), M = b(() => (be.value.forEach((t, l) => {
221
- !t.value && !t.children && oe({
220
+ }), Ye = b(() => $.value.sortDesc), F = b(() => (be.value.forEach((t, l) => {
221
+ !t.value && !t.children && ne({
222
222
  componentName: "VueUiVerticalBar",
223
223
  type: "datasetAttributeEmpty",
224
224
  property: `value (index ${l})`,
225
225
  debug: se.value
226
- }), t.children && (Pe(t.children) ? oe({
226
+ }), t.children && (Pe(t.children) ? ne({
227
227
  componentName: "VueUiVerticalBar",
228
228
  type: "datasetAttributeEmpty",
229
229
  property: `children (index ${l})`,
230
230
  debug: se.value
231
231
  }) : t.children.forEach((a, o) => {
232
- [null, void 0].includes(a.name) && oe({
232
+ [null, void 0].includes(a.name) && ne({
233
233
  componentName: "VueUiVerticalBar",
234
234
  type: "datasetSerieAttribute",
235
235
  property: "name",
@@ -250,7 +250,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
250
250
  sign: _,
251
251
  hasChildren: o,
252
252
  isChild: !1,
253
- segregate: () => ee(a),
253
+ segregate: () => te(a),
254
254
  isSegregated: N.value.includes(a),
255
255
  color: Ne(t.color) || Ge.value[l] || U[l] || U[l % U.length],
256
256
  children: !t.children || !t.children.length ? [] : t.children.toSorted(re.value ? () => 0 : (d, k) => Ye.value ? k.value - d.value : d.value - k.value).map((d, k) => ({
@@ -279,7 +279,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
279
279
  fontSize: e.value.style.chart.legend.fontSize,
280
280
  paddingBottom: 12,
281
281
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
282
- })), c = i(e.value.style.chart.layout.bars.height), m = i(e.value.style.chart.layout.bars.gap), St = b(() => (c.value + m.value) * Z.value), Je = i(512), C = b(() => ({
282
+ })), c = i(e.value.style.chart.layout.bars.height), m = i(e.value.style.chart.layout.bars.gap), St = b(() => (c.value + m.value) * ee.value), Je = i(512), C = b(() => ({
283
283
  width: Je.value,
284
284
  height: St.value,
285
285
  padding: {
@@ -296,20 +296,20 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
296
296
  bottom: C.value.padding.top + C.value.height,
297
297
  width: C.value.width - (C.value.padding.left + C.value.padding.right)
298
298
  }));
299
- async function H() {
300
- Z.value = B.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await O();
299
+ async function j() {
300
+ ee.value = B.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await O();
301
301
  }
302
302
  const N = i([]);
303
- async function ee(t) {
303
+ async function te(t) {
304
304
  if (N.value.includes(t))
305
305
  N.value = N.value.filter((l) => l !== t);
306
306
  else {
307
- if (N.value.length === M.value.length - 1) return;
307
+ if (N.value.length === F.value.length - 1) return;
308
308
  N.value.push(t);
309
309
  }
310
- H(), await ve(), e.value.autoSize && O(), _t("selectLegend", B.value);
310
+ j(), await ve(), e.value.autoSize && O(), _t("selectLegend", B.value);
311
311
  }
312
- const B = b(() => M.value.filter((t) => !N.value.includes(t.id))), V = b(() => B.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
312
+ const B = b(() => F.value.filter((t) => !N.value.includes(t.id))), V = b(() => B.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
313
313
  function Qe(t, l = !1, a = 0) {
314
314
  return l ? G({
315
315
  v: L(Math.abs(t) / V.value * 100),
@@ -325,7 +325,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
325
325
  function Pt(t) {
326
326
  return T(t) + r.value.left;
327
327
  }
328
- function te(t, l) {
328
+ function ae(t, l) {
329
329
  const a = B.value.find((_) => _.id === t.parentId), o = r.value.top + (m.value + c.value) * l, f = a.children.length * (m.value + c.value);
330
330
  return {
331
331
  y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
@@ -349,19 +349,19 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
349
349
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), $e.value = {
350
350
  datapoint: t,
351
351
  seriesIndex: l,
352
- series: M.value,
352
+ series: F.value,
353
353
  config: e.value
354
354
  }, he.value = !0, we.value = t.id;
355
355
  let a = "";
356
356
  const o = t.isChild ? t.parentName : t.name, f = t.isChild ? t.name : "", _ = e.value.style.chart.tooltip.customFormat;
357
357
  ea(_) && ta(() => _({
358
358
  datapoint: t,
359
- series: M.value,
359
+ series: F.value,
360
360
  config: e.value,
361
361
  seriesIndex: l
362
362
  })) ? pe.value = _({
363
363
  datapoint: t,
364
- series: M.value,
364
+ series: F.value,
365
365
  config: e.value,
366
366
  seriesIndex: l
367
367
  }) : (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;">
@@ -454,9 +454,9 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
454
454
  ]), f = l.concat([a]).concat(o), _ = Qt(f);
455
455
  t ? t(_) : Zt({ csvContent: _, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
456
456
  }
457
- const j = i(!1);
457
+ const q = i(!1);
458
458
  function tt(t) {
459
- j.value = t, ze.value += 1;
459
+ q.value = t, ze.value += 1;
460
460
  }
461
461
  function at() {
462
462
  $.value.showTable = !$.value.showTable;
@@ -465,20 +465,20 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
465
465
  none: 0,
466
466
  asc: 1,
467
467
  desc: 2
468
- }), F = i(0), re = i(!1);
468
+ }), M = i(0), re = i(!1);
469
469
  Te(() => {
470
- ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || oe({
470
+ ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || ne({
471
471
  componentName: "VueUiVerticalBar",
472
472
  type: "attributeWrongValue",
473
473
  property: "style.chart.layout.bars.sort",
474
474
  key: e.value.style.chart.layout.bars.sort
475
- }), F.value = It.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = F.value === 2, re.value = F.value === 0;
475
+ }), M.value = It.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, re.value = M.value === 0;
476
476
  });
477
477
  function Ot() {
478
- F.value += 1, F.value > 2 && (F.value = 0);
478
+ M.value += 1, M.value > 2 && (M.value = 0);
479
479
  }
480
480
  function lt() {
481
- Ot(), $.value.sortDesc = F.value === 2, re.value = F.value === 0, H();
481
+ Ot(), $.value.sortDesc = M.value === 2, re.value = M.value === 0, j();
482
482
  }
483
483
  function ot() {
484
484
  $.value.showTooltip = !$.value.showTooltip;
@@ -487,7 +487,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
487
487
  function Ce() {
488
488
  ie.value = !ie.value;
489
489
  }
490
- async function Mt({ scale: t = 2 } = {}) {
490
+ async function Ft({ scale: t = 2 } = {}) {
491
491
  if (!z.value) return;
492
492
  const { width: l, height: a } = z.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: _ } = await ia({ domElement: z.value, base64: !0, img: !0, scale: t });
493
493
  return {
@@ -503,8 +503,8 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
503
503
  autoSize: O,
504
504
  // v3
505
505
  getData: Nt,
506
- getImage: Mt,
507
- recalculateHeight: H,
506
+ getImage: Ft,
507
+ recalculateHeight: j,
508
508
  generatePdf: Xe,
509
509
  generateCsv: et,
510
510
  generateImage: Ue,
@@ -514,13 +514,13 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
514
514
  toggleAnnotator: Ce,
515
515
  toggleFullscreen: tt
516
516
  }), (t, l) => (u(), v("div", {
517
- class: D(`vue-ui-vertical-bar ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
517
+ class: D(`vue-ui-vertical-bar ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
518
518
  ref_key: "verticalBarChart",
519
519
  ref: z,
520
520
  id: `vue-ui-vertical-bar_${S.value}`,
521
521
  style: h(`padding-top:${e.value.responsive && e.value.autoSize ? `${_e.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% - ${_e.value}px` : "height: 100%" : ""}`),
522
- onMouseenter: l[4] || (l[4] = () => s(Fe)(!0)),
523
- onMouseleave: l[5] || (l[5] = () => s(Fe)(!1))
522
+ onMouseenter: l[4] || (l[4] = () => s(Me)(!0)),
523
+ onMouseleave: l[5] || (l[5] = () => s(Me)(!1))
524
524
  }, [
525
525
  e.value.userOptions.buttons.annotator ? (u(), X(s(ft), {
526
526
  key: 0,
@@ -544,7 +544,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
544
544
  style: "width:100%;background:transparent;padding-bottom:12px"
545
545
  }, [
546
546
  (u(), X(ra, {
547
- key: `title_${Me.value}`,
547
+ key: `title_${Fe.value}`,
548
548
  config: {
549
549
  title: {
550
550
  cy: "vertical-bar-div-title",
@@ -573,7 +573,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
573
573
  hasTable: e.value.userOptions.buttons.table,
574
574
  hasSort: e.value.userOptions.buttons.sort,
575
575
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
576
- isFullscreen: j.value,
576
+ isFullscreen: q.value,
577
577
  isTooltip: $.value.showTooltip,
578
578
  titles: { ...e.value.userOptions.buttonTitles },
579
579
  chartElement: z.value,
@@ -597,7 +597,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
597
597
  t.$slots.menuIcon ? {
598
598
  name: "menuIcon",
599
599
  fn: w(({ isOpen: a, color: o }) => [
600
- x(t.$slots, "menuIcon", Y(K({ isOpen: a, color: o })), void 0, !0)
600
+ x(t.$slots, "menuIcon", K(J({ isOpen: a, color: o })), void 0, !0)
601
601
  ]),
602
602
  key: "0"
603
603
  } : void 0,
@@ -653,14 +653,14 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
653
653
  t.$slots.optionFullscreen ? {
654
654
  name: "optionFullscreen",
655
655
  fn: w(({ toggleFullscreen: a, isFullscreen: o }) => [
656
- x(t.$slots, "optionFullscreen", Y(K({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
656
+ x(t.$slots, "optionFullscreen", K(J({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
657
657
  ]),
658
658
  key: "8"
659
659
  } : void 0,
660
660
  t.$slots.optionAnnotator ? {
661
661
  name: "optionAnnotator",
662
662
  fn: w(({ toggleAnnotator: a, isAnnotator: o }) => [
663
- x(t.$slots, "optionAnnotator", Y(K({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
663
+ x(t.$slots, "optionAnnotator", K(J({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
664
664
  ]),
665
665
  key: "9"
666
666
  } : void 0
@@ -672,13 +672,13 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
672
672
  }, [
673
673
  (u(), X(rt, {
674
674
  key: `legend_top_${ye.value}`,
675
- legendSet: M.value,
675
+ legendSet: F.value,
676
676
  config: Ke.value,
677
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => ee(a.id))
677
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => te(a.id))
678
678
  }, Se({
679
679
  item: w(({ legend: a, index: o }) => [
680
680
  n("div", {
681
- onClick: (f) => ee(a.id),
681
+ onClick: (f) => te(a.id),
682
682
  style: h(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
683
683
  }, p(a.name) + ": " + p(s(de)(
684
684
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
@@ -697,7 +697,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
697
697
  t.$slots.pattern ? {
698
698
  name: "legend-pattern",
699
699
  fn: w(({ legend: a, index: o }) => [
700
- le(it, {
700
+ oe(it, {
701
701
  shape: a.shape,
702
702
  radius: 30,
703
703
  stroke: "none",
@@ -713,16 +713,16 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
713
713
  ref_key: "svgRef",
714
714
  ref: Re,
715
715
  xmlns: s(Kt),
716
- class: D({ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }),
716
+ class: D({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
717
717
  viewBox: ue.value,
718
718
  style: h(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
719
719
  }, [
720
720
  n("g", {
721
721
  ref_key: "G",
722
- ref: ne,
722
+ ref: W,
723
723
  class: "vue-data-ui-g"
724
724
  }, [
725
- le(s(pt)),
725
+ oe(s(pt)),
726
726
  t.$slots["chart-background"] ? (u(), v("foreignObject", {
727
727
  key: 0,
728
728
  x: P.value.x,
@@ -735,7 +735,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
735
735
  }, [
736
736
  x(t.$slots, "chart-background", {}, void 0, !0)
737
737
  ], 8, ya)) : y("", !0),
738
- (u(!0), v(J, null, Q(R.value, (a, o) => (u(), v("linearGradient", {
738
+ (u(!0), v(Q, null, Z(R.value, (a, o) => (u(), v("linearGradient", {
739
739
  x1: "0%",
740
740
  y1: "0%",
741
741
  x2: "100%",
@@ -752,11 +752,11 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
752
752
  }, null, 8, ma)
753
753
  ], 8, ga))), 256)),
754
754
  t.$slots.pattern ? (u(), v("g", ka, [
755
- (u(!0), v(J, null, Q(R.value, (a) => (u(), v("defs", null, [
755
+ (u(!0), v(Q, null, Z(R.value, (a) => (u(), v("defs", null, [
756
756
  x(t.$slots, "pattern", Dt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
757
757
  ]))), 256))
758
758
  ])) : y("", !0),
759
- (u(!0), v(J, null, Q(R.value, (a, o) => (u(), v("g", null, [
759
+ (u(!0), v(Q, null, Z(R.value, (a, o) => (u(), v("g", null, [
760
760
  n("rect", {
761
761
  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),
762
762
  y: r.value.top + (m.value + c.value) * o,
@@ -767,7 +767,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
767
767
  class: D({ animated: e.value.useCssAnimation })
768
768
  }, null, 10, xa)
769
769
  ]))), 256)),
770
- (u(!0), v(J, null, Q(R.value, (a, o) => (u(), v("g", null, [
770
+ (u(!0), v(Q, null, Z(R.value, (a, o) => (u(), v("g", null, [
771
771
  n("rect", {
772
772
  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),
773
773
  y: r.value.top + (m.value + c.value) * o,
@@ -835,21 +835,21 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
835
835
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
836
836
  key: 0,
837
837
  x: e.value.autoSize ? void 0 : P.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
838
- y: te(a, o).y,
838
+ y: ae(a, o).y,
839
839
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
840
840
  fill: e.value.style.chart.layout.bars.parentLabels.color,
841
841
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
842
842
  "text-anchor": "start"
843
- }, p(te(a, o).name), 9, Na)) : y("", !0),
843
+ }, p(ae(a, o).name), 9, Na)) : y("", !0),
844
844
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
845
845
  key: 1,
846
846
  x: e.value.autoSize ? void 0 : P.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
847
- y: te(a, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
847
+ y: ae(a, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
848
848
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
849
849
  fill: e.value.style.chart.layout.bars.parentLabels.color,
850
850
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
851
851
  "text-anchor": "start"
852
- }, p(Ze(te(a, o).value), te(a, o), o, a.parentSign || a.sign), 9, Aa)) : y("", !0)
852
+ }, p(Ze(ae(a, o).value), ae(a, o), o, a.parentSign || a.sign), 9, Aa)) : y("", !0)
853
853
  ]),
854
854
  n("rect", {
855
855
  x: P.value.x,
@@ -866,7 +866,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
866
866
  ], 512)
867
867
  ], 14, fa)),
868
868
  t.$slots.watermark ? (u(), v("div", Va, [
869
- x(t.$slots, "watermark", Y(K({ isPrinting: s(Ee) || s(De) })), void 0, !0)
869
+ x(t.$slots, "watermark", K(J({ isPrinting: s(Ee) || s(De) })), void 0, !0)
870
870
  ])) : y("", !0),
871
871
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
872
872
  key: 6,
@@ -875,13 +875,13 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
875
875
  }, [
876
876
  (u(), X(rt, {
877
877
  key: `legend_bottom_${ye.value}`,
878
- legendSet: M.value,
878
+ legendSet: F.value,
879
879
  config: Ke.value,
880
- onClickMarker: l[1] || (l[1] = ({ legend: a }) => ee(a.id))
880
+ onClickMarker: l[1] || (l[1] = ({ legend: a }) => te(a.id))
881
881
  }, Se({
882
882
  item: w(({ legend: a, index: o }) => [
883
883
  n("div", {
884
- onClick: (f) => ee(a.id),
884
+ onClick: (f) => te(a.id),
885
885
  style: h(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
886
886
  }, p(a.name) + ": " + p(s(de)(
887
887
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
@@ -900,7 +900,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
900
900
  t.$slots.pattern ? {
901
901
  name: "legend-pattern",
902
902
  fn: w(({ legend: a, index: o }) => [
903
- le(it, {
903
+ oe(it, {
904
904
  shape: a.shape,
905
905
  radius: 30,
906
906
  stroke: "none",
@@ -912,7 +912,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
912
912
  } : void 0
913
913
  ]), 1032, ["legendSet", "config"]))
914
914
  ], 512)) : y("", !0),
915
- x(t.$slots, "legend", { legend: M.value }, void 0, !0),
915
+ x(t.$slots, "legend", { legend: F.value }, void 0, !0),
916
916
  t.$slots.source ? (u(), v("div", {
917
917
  key: 7,
918
918
  ref_key: "source",
@@ -921,7 +921,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
921
921
  }, [
922
922
  x(t.$slots, "source", {}, void 0, !0)
923
923
  ], 512)) : y("", !0),
924
- le(s(yt), {
924
+ oe(s(yt), {
925
925
  show: $.value.showTooltip && he.value && N.value.length < g.dataset.length,
926
926
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
927
927
  color: e.value.style.chart.tooltip.color,
@@ -934,17 +934,19 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
934
934
  offsetY: e.value.style.chart.tooltip.offsetY,
935
935
  parent: z.value,
936
936
  content: pe.value,
937
- isFullscreen: j.value,
938
- isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
937
+ isFullscreen: q.value,
938
+ isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
939
+ smooth: e.value.style.chart.tooltip.smooth,
940
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter
939
941
  }, {
940
942
  "tooltip-before": w(() => [
941
- x(t.$slots, "tooltip-before", Y(K({ ...$e.value })), void 0, !0)
943
+ x(t.$slots, "tooltip-before", K(J({ ...$e.value })), void 0, !0)
942
944
  ]),
943
945
  "tooltip-after": w(() => [
944
- x(t.$slots, "tooltip-after", Y(K({ ...$e.value })), void 0, !0)
946
+ x(t.$slots, "tooltip-after", K(J({ ...$e.value })), void 0, !0)
945
947
  ]),
946
948
  _: 3
947
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
949
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
948
950
  ce.value ? (u(), X(sa, {
949
951
  key: 8,
950
952
  hideDetails: "",
@@ -975,7 +977,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
975
977
  onClick: l[2] || (l[2] = (a) => $.value.showTable = !1),
976
978
  onKeypress: l[3] || (l[3] = Xt((a) => $.value.showTable = !1, ["enter"]))
977
979
  }, [
978
- le(s(ht), {
980
+ oe(s(ht), {
979
981
  name: "close",
980
982
  stroke: e.value.table.th.color,
981
983
  "stroke-width": 2
@@ -985,20 +987,20 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
985
987
  style: { width: "100%", "container-type": "inline-size" },
986
988
  class: D({ "vue-ui-responsive": He.value })
987
989
  }, [
988
- n("table", Ma, [
990
+ n("table", Fa, [
989
991
  n("caption", {
990
992
  style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
991
993
  class: "vue-ui-data-table__caption"
992
994
  }, [
993
995
  Ut(p(e.value.style.chart.title.text) + " ", 1),
994
- e.value.style.chart.title.subtitle.text ? (u(), v("span", Fa, p(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
996
+ e.value.style.chart.title.subtitle.text ? (u(), v("span", Ma, p(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
995
997
  ], 4),
996
998
  n("thead", null, [
997
999
  n("tr", {
998
1000
  role: "row",
999
1001
  style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1000
1002
  }, [
1001
- (u(!0), v(J, null, Q(A.value.head, (a) => (u(), v("th", {
1003
+ (u(!0), v(Q, null, Z(A.value.head, (a) => (u(), v("th", {
1002
1004
  style: h(`outline:${e.value.table.th.outline}`)
1003
1005
  }, [
1004
1006
  n("div", Ba, p(a), 1)
@@ -1029,7 +1031,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
1029
1031
  ])
1030
1032
  ]),
1031
1033
  n("tbody", null, [
1032
- (u(!0), v(J, null, Q(A.value.body, (a, o) => (u(), v("tr", {
1034
+ (u(!0), v(Q, null, Z(A.value.body, (a, o) => (u(), v("tr", {
1033
1035
  class: D({ "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 }),
1034
1036
  style: h(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1035
1037
  }, [
@@ -1100,7 +1102,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
1100
1102
  s(ge) ? (u(), X(da, { key: 9 })) : y("", !0)
1101
1103
  ], 46, ha));
1102
1104
  }
1103
- }, pl = /* @__PURE__ */ ca(Za, [["__scopeId", "data-v-a76fb71b"]]);
1105
+ }, pl = /* @__PURE__ */ ca(Za, [["__scopeId", "data-v-fa1761f3"]]);
1104
1106
  export {
1105
1107
  pl as default
1106
1108
  };