vue-data-ui 3.4.7 → 3.4.8

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 (115) hide show
  1. package/dist/{PackageVersion-QNVkHOgG.js → PackageVersion-D-auaEEJ.js} +1 -1
  2. package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-heatmap.js +1 -1
  45. package/dist/components/vue-ui-table-sparkline.js +1 -1
  46. package/dist/components/vue-ui-table.js +1 -1
  47. package/dist/components/vue-ui-thermometer.js +1 -1
  48. package/dist/components/vue-ui-timer.js +1 -1
  49. package/dist/components/vue-ui-tiremarks.js +1 -1
  50. package/dist/components/vue-ui-treemap.js +1 -1
  51. package/dist/components/vue-ui-vertical-bar.js +1 -1
  52. package/dist/components/vue-ui-waffle.js +1 -1
  53. package/dist/components/vue-ui-wheel.js +1 -1
  54. package/dist/components/vue-ui-word-cloud.js +1 -1
  55. package/dist/components/vue-ui-world.js +1 -1
  56. package/dist/components/vue-ui-xy-canvas.js +1 -1
  57. package/dist/components/vue-ui-xy.js +1 -1
  58. package/dist/style.css +1 -1
  59. package/dist/{vue-data-ui-BFwmY6si.js → vue-data-ui-CzqHcPqG.js} +55 -55
  60. package/dist/vue-data-ui.js +55 -55
  61. package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
  62. package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
  63. package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
  64. package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
  65. package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
  66. package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
  67. package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
  68. package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
  69. package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
  70. package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
  71. package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
  72. package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
  73. package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
  74. package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
  75. package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
  76. package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
  77. package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
  78. package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
  79. package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
  80. package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
  81. package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
  82. package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
  83. package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
  84. package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
  85. package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
  86. package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
  87. package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
  88. package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
  89. package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
  90. package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
  91. package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
  92. package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
  93. package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
  94. package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
  95. package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
  96. package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
  97. package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
  98. package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
  99. package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
  100. package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
  101. package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.js} +2 -2
  102. package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
  103. package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
  104. package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
  105. package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
  106. package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
  107. package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
  108. package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
  109. package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
  110. package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
  111. package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
  112. package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
  113. package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.js} +163 -156
  114. package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
  115. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { useCssVars as Kt, defineAsyncComponent as K, useSlots as Qt, computed as g, ref as i, toRefs as Jt, 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 G, createCommentVNode as y, renderSlot as _, createVNode as Q, createSlots as pe, withCtx as m, normalizeProps as J, 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";
1
+ import { useCssVars as Kt, defineAsyncComponent as K, useSlots as Qt, computed as g, ref as i, toRefs as Jt, 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 G, createCommentVNode as y, renderSlot as k, createVNode as Q, createSlots as pe, withCtx as b, normalizeProps as J, 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
2
  import { c as aa, t as la, b as oa, p as W, O as Oe, e as na, x as L, o as Ie, f as ue, h as Fe, a as se, d as D, X as ua, s as Me, i as sa, P as ra, Q as ia, G as va, H as ca } from "./lib-C_mNZmhD.js";
3
3
  import { t as da, u as ha } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as pa, a as pt } from "./useNestedProp-BjZe1Y85.js";
@@ -37,11 +37,11 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
37
37
  emits: ["selectLegend"],
38
38
  setup(yt, { expose: bt, emit: mt }) {
39
39
  Kt((t) => ({
40
- v4fa4c7ee: t.tdo
40
+ v40c2e850: t.tdo
41
41
  }));
42
- const kt = K(() => import("./Tooltip-oWCO1HKy.js")), De = K(() => import("./BaseIcon-BmMbm4d0.js")), xt = K(() => import("./PenAndPaper-DSvu9dwa.js")), _t = K(() => import("./UserOptions-CnzumGJj.js")), wt = K(() => import("./PackageVersion-QNVkHOgG.js")), $t = K(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_vertical_bar: Ct } = pa(), Tt = Qt(), b = yt, ge = g({
42
+ const kt = K(() => import("./Tooltip-oWCO1HKy.js")), De = K(() => import("./BaseIcon-BmMbm4d0.js")), xt = K(() => import("./PenAndPaper-DSvu9dwa.js")), _t = K(() => import("./UserOptions-CGnQt6Fd.js")), wt = K(() => import("./PackageVersion-D-auaEEJ.js")), $t = K(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_vertical_bar: Ct } = pa(), Tt = Qt(), m = yt, ge = g({
43
43
  get() {
44
- return !!b.dataset && b.dataset.length;
44
+ return !!m.dataset && m.dataset.length;
45
45
  },
46
46
  set(t) {
47
47
  return t;
@@ -54,7 +54,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
54
54
  { name: "", value: 2, color: "#d9d9d9" },
55
55
  { name: "", value: 1, color: "#d9d9d9" }
56
56
  ]), { loading: Ge, FINAL_DATASET: xe, manualLoading: _e } = ga({
57
- ...Jt(b),
57
+ ...Jt(m),
58
58
  FINAL_CONFIG: e,
59
59
  prepareConfig: Ce,
60
60
  callback: () => {
@@ -112,21 +112,21 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
112
112
  }), { userOptionsVisible: we, setUserOptionsVisibility: We, keepUserOptionState: He } = ka({ config: e.value }), { svgRef: $e } = xa({ config: e.value.style.chart.title });
113
113
  function Ce() {
114
114
  const t = pt({
115
- userConfig: b.config,
115
+ userConfig: m.config,
116
116
  defaultConfig: Ct
117
117
  });
118
118
  let l = {};
119
119
  return t.theme ? l = {
120
120
  ...pt({
121
- userConfig: _a.vue_ui_vertical_bar[t.theme] || b.config,
121
+ userConfig: _a.vue_ui_vertical_bar[t.theme] || m.config,
122
122
  defaultConfig: t
123
123
  }),
124
124
  customPalette: oa[t.theme] || W
125
- } : l = t, b.config && Oe(b.config, "events.datapointEnter") ? l.events.datapointEnter = b.config.events.datapointEnter : l.events.datapointEnter = null, b.config && Oe(b.config, "events.datapointLeave") ? l.events.datapointLeave = b.config.events.datapointLeave : l.events.datapointLeave = null, b.config && Oe(b.config, "events.datapointClick") ? l.events.datapointClick = b.config.events.datapointClick : l.events.datapointClick = null, l;
125
+ } : l = t, m.config && Oe(m.config, "events.datapointEnter") ? l.events.datapointEnter = m.config.events.datapointEnter : l.events.datapointEnter = null, m.config && Oe(m.config, "events.datapointLeave") ? l.events.datapointLeave = m.config.events.datapointLeave : l.events.datapointLeave = null, m.config && Oe(m.config, "events.datapointClick") ? l.events.datapointClick = m.config.events.datapointClick : l.events.datapointClick = null, l;
126
126
  }
127
- ze(() => b.config, (t) => {
128
- Ge.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) => {
127
+ ze(() => m.config, (t) => {
128
+ Ge.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, x.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(() => m.dataset, (t) => {
130
130
  Array.isArray(t) && t.length > 0 && (_e.value = !1), q();
131
131
  }, { deep: !0 });
132
132
  const { isPrinting: je, isImaging: qe, generatePdf: Ye, generateImage: Ke } = ya({
@@ -145,15 +145,15 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
145
145
  const t = H.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = H.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
146
146
  if (t && t.length) {
147
147
  const f = Math.max(...Array.from(t).flatMap((c) => {
148
- const x = c.querySelectorAll("text");
149
- return x.length ? Array.from(x).map((Y) => Y.getBBox().width) : 0;
148
+ const _ = c.querySelectorAll("text");
149
+ return _.length ? Array.from(_).map((Y) => Y.getBBox().width) : 0;
150
150
  })), w = Math.max(...Array.from(l).flatMap((c) => {
151
- const x = c.querySelectorAll("text");
152
- return x.length ? Array.from(x).map((Y) => Y.getBBox().width) : 0;
151
+ const _ = c.querySelectorAll("text");
152
+ return _.length ? Array.from(_).map((Y) => Y.getBBox().width) : 0;
153
153
  }));
154
154
  Array.from(t).forEach((c) => {
155
- const x = c.querySelectorAll("text");
156
- Array.from(x).forEach(async (Y) => {
155
+ const _ = c.querySelectorAll("text");
156
+ Array.from(_).forEach(async (Y) => {
157
157
  Y.setAttribute("x", 0), Y.setAttribute("x", L(-f - w));
158
158
  });
159
159
  });
@@ -183,11 +183,11 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
183
183
  });
184
184
  const ie = g(() => !!e.value.debug), Te = i(0);
185
185
  function et() {
186
- if (Ie(b.dataset) && (ue({
186
+ if (Ie(m.dataset) && (ue({
187
187
  componentName: "VueUiVerticalBar",
188
188
  type: "dataset",
189
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), Ie(b.dataset) || (_e.value = e.value.loading), e.value.responsive) {
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), Ie(m.dataset) || (_e.value = e.value.loading), e.value.responsive) {
191
191
  const t = da(() => {
192
192
  const { width: l, height: a } = ha({
193
193
  chart: P.value,
@@ -198,7 +198,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
198
198
  });
199
199
  Te.value = a / 3, requestAnimationFrame(async () => {
200
200
  lt.value = l;
201
- const o = k.value * (ae.value - 1);
201
+ const o = x.value * (ae.value - 1);
202
202
  p.value = (a - o) / ae.value, await he(), F();
203
203
  });
204
204
  });
@@ -234,7 +234,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
234
234
  });
235
235
  }));
236
236
  }), xe.value.map((t, l) => {
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
+ 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, _) => c + _, 0) : 0), w = f >= 0 ? 1 : -1;
238
238
  return {
239
239
  ...t,
240
240
  id: a,
@@ -248,7 +248,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
248
248
  segregate: () => oe(a),
249
249
  isSegregated: A.value.includes(a),
250
250
  color: Fe(t.color) || Qe.value[l] || W[l] || W[l % W.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
+ children: !t.children || !t.children.length ? [] : t.children.toSorted(ve.value ? () => 0 : (c, _) => tt.value ? _.value - c.value : c.value - _.value).map((c, _) => ({
252
252
  ...c,
253
253
  value: L(Math.abs(c.value)),
254
254
  absoluteIndex: l,
@@ -258,13 +258,13 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
258
258
  parentName: t.name,
259
259
  parentValue: f,
260
260
  parentSign: w,
261
- id: `vertical_child_${l}_${x}_${S.value}`,
262
- childIndex: x,
261
+ id: `vertical_child_${l}_${_}_${S.value}`,
262
+ childIndex: _,
263
263
  color: Fe(c.color) || Fe(t.color) || Qe.value[l] || W[l] || W[l % W.length]
264
- })).map((c, x) => ({
264
+ })).map((c, _) => ({
265
265
  ...c,
266
- isFirstChild: x === 0,
267
- isLastChild: x === t.children.length - 1
266
+ isFirstChild: _ === 0,
267
+ isLastChild: _ === t.children.length - 1
268
268
  }))
269
269
  };
270
270
  }).toSorted(ve.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = g(() => ({
@@ -274,7 +274,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
274
274
  fontSize: e.value.style.chart.legend.fontSize,
275
275
  paddingBottom: 12,
276
276
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
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
+ })), p = i(e.value.style.chart.layout.bars.height), x = i(e.value.style.chart.layout.bars.gap), zt = g(() => (p.value + x.value) * ae.value), lt = i(512), C = g(() => ({
278
278
  width: lt.value,
279
279
  height: zt.value,
280
280
  padding: {
@@ -321,7 +321,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
321
321
  return T(t) + r.value.left;
322
322
  }
323
323
  function ne(t, l) {
324
- const a = B.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
+ const a = B.value.find((w) => w.id === t.parentId), o = r.value.top + (x.value + p.value) * l, f = a.children.length * (x.value + p.value);
325
325
  return {
326
326
  y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
327
327
  name: a.name,
@@ -663,73 +663,80 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
663
663
  }, pe({ _: 2 }, [
664
664
  t.$slots.menuIcon ? {
665
665
  name: "menuIcon",
666
- fn: m(({ isOpen: a, color: o }) => [
667
- _(t.$slots, "menuIcon", J(Z({ isOpen: a, color: o })), void 0, !0)
666
+ fn: b(({ isOpen: a, color: o }) => [
667
+ k(t.$slots, "menuIcon", J(Z({ isOpen: a, color: o })), void 0, !0)
668
668
  ]),
669
669
  key: "0"
670
670
  } : void 0,
671
671
  t.$slots.optionTooltip ? {
672
672
  name: "optionTooltip",
673
- fn: m(() => [
674
- _(t.$slots, "optionTooltip", {}, void 0, !0)
673
+ fn: b(() => [
674
+ k(t.$slots, "optionTooltip", {}, void 0, !0)
675
675
  ]),
676
676
  key: "1"
677
677
  } : void 0,
678
678
  t.$slots.optionPdf ? {
679
679
  name: "optionPdf",
680
- fn: m(() => [
681
- _(t.$slots, "optionPdf", {}, void 0, !0)
680
+ fn: b(() => [
681
+ k(t.$slots, "optionPdf", {}, void 0, !0)
682
682
  ]),
683
683
  key: "2"
684
684
  } : void 0,
685
685
  t.$slots.optionCsv ? {
686
686
  name: "optionCsv",
687
- fn: m(() => [
688
- _(t.$slots, "optionCsv", {}, void 0, !0)
687
+ fn: b(() => [
688
+ k(t.$slots, "optionCsv", {}, void 0, !0)
689
689
  ]),
690
690
  key: "3"
691
691
  } : void 0,
692
692
  t.$slots.optionImg ? {
693
693
  name: "optionImg",
694
- fn: m(() => [
695
- _(t.$slots, "optionImg", {}, void 0, !0)
694
+ fn: b(() => [
695
+ k(t.$slots, "optionImg", {}, void 0, !0)
696
696
  ]),
697
697
  key: "4"
698
698
  } : void 0,
699
+ t.$slots.optionSvg ? {
700
+ name: "optionSvg",
701
+ fn: b(() => [
702
+ k(t.$slots, "optionSvg", {}, void 0, !0)
703
+ ]),
704
+ key: "5"
705
+ } : void 0,
699
706
  t.$slots.optionTable ? {
700
707
  name: "optionTable",
701
- fn: m(() => [
702
- _(t.$slots, "optionTable", {}, void 0, !0)
708
+ fn: b(() => [
709
+ k(t.$slots, "optionTable", {}, void 0, !0)
703
710
  ]),
704
- key: "5"
711
+ key: "6"
705
712
  } : void 0,
706
713
  t.$slots.optionLabels ? {
707
714
  name: "optionLabels",
708
- fn: m(() => [
709
- _(t.$slots, "optionLabels", {}, void 0, !0)
715
+ fn: b(() => [
716
+ k(t.$slots, "optionLabels", {}, void 0, !0)
710
717
  ]),
711
- key: "6"
718
+ key: "7"
712
719
  } : void 0,
713
720
  t.$slots.optionSort ? {
714
721
  name: "optionSort",
715
- fn: m(() => [
716
- _(t.$slots, "optionSort", {}, void 0, !0)
722
+ fn: b(() => [
723
+ k(t.$slots, "optionSort", {}, void 0, !0)
717
724
  ]),
718
- key: "7"
725
+ key: "8"
719
726
  } : void 0,
720
727
  t.$slots.optionFullscreen ? {
721
728
  name: "optionFullscreen",
722
- fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
723
- _(t.$slots, "optionFullscreen", J(Z({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
729
+ fn: b(({ toggleFullscreen: a, isFullscreen: o }) => [
730
+ k(t.$slots, "optionFullscreen", J(Z({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
724
731
  ]),
725
- key: "8"
732
+ key: "9"
726
733
  } : void 0,
727
734
  t.$slots.optionAnnotator ? {
728
735
  name: "optionAnnotator",
729
- fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
730
- _(t.$slots, "optionAnnotator", J(Z({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
736
+ fn: b(({ toggleAnnotator: a, isAnnotator: o }) => [
737
+ k(t.$slots, "optionAnnotator", J(Z({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
731
738
  ]),
732
- key: "9"
739
+ key: "10"
733
740
  } : void 0
734
741
  ]), 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),
735
742
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), v("div", {
@@ -743,7 +750,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
743
750
  config: at.value,
744
751
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => oe(a.id))
745
752
  }, pe({
746
- item: m(({ legend: a, index: o }) => [
753
+ item: b(({ legend: a, index: o }) => [
747
754
  n("div", {
748
755
  onClick: (f) => oe(a.id),
749
756
  style: d(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
@@ -763,7 +770,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
763
770
  }, [
764
771
  t.$slots.pattern ? {
765
772
  name: "legend-pattern",
766
- fn: m(({ legend: a, index: o }) => [
773
+ fn: b(({ legend: a, index: o }) => [
767
774
  Q(ft, {
768
775
  shape: a.shape,
769
776
  radius: 30,
@@ -800,7 +807,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
800
807
  pointerEvents: "none"
801
808
  }
802
809
  }, [
803
- _(t.$slots, "chart-background", {}, void 0, !0)
810
+ k(t.$slots, "chart-background", {}, void 0, !0)
804
811
  ], 8, Na)) : y("", !0),
805
812
  (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("linearGradient", {
806
813
  x1: "0%",
@@ -820,13 +827,13 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
820
827
  ], 8, Aa))), 256)),
821
828
  t.$slots.pattern ? (u(), v("g", Oa, [
822
829
  (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)
830
+ k(t.$slots, "pattern", dt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
824
831
  ]))), 256))
825
832
  ])) : y("", !0),
826
833
  (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("g", null, [
827
834
  n("rect", {
828
835
  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),
829
- y: r.value.top + (k.value + p.value) * o,
836
+ y: r.value.top + (x.value + p.value) * o,
830
837
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
831
838
  height: p.value <= 0 ? 1e-4 : p.value,
832
839
  fill: e.value.style.chart.layout.bars.underlayerColor,
@@ -837,7 +844,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
837
844
  (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("g", null, [
838
845
  n("rect", {
839
846
  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),
840
- y: r.value.top + (k.value + p.value) * o,
847
+ y: r.value.top + (x.value + p.value) * o,
841
848
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
842
849
  height: p.value <= 0 ? 1e-4 : p.value,
843
850
  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),
@@ -849,7 +856,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
849
856
  t.$slots.pattern ? (u(), v("rect", {
850
857
  key: 0,
851
858
  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),
852
- y: r.value.top + (k.value + p.value) * o,
859
+ y: r.value.top + (x.value + p.value) * o,
853
860
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
854
861
  height: p.value <= 0 ? 1e-4 : p.value,
855
862
  fill: `url(#pattern_${S.value}_${a.absoluteIndex})`,
@@ -862,8 +869,8 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
862
869
  key: 1,
863
870
  x1: N.value.x,
864
871
  x2: e.value.style.chart.layout.separators.fullWidth ? N.value.width - Math.abs(N.value.x) : r.value.left,
865
- y1: p.value + k.value / 2 + r.value.top + (k.value + p.value) * o,
866
- y2: p.value + k.value / 2 + r.value.top + (k.value + p.value) * o,
872
+ y1: p.value + x.value / 2 + r.value.top + (x.value + p.value) * o,
873
+ y2: p.value + x.value / 2 + r.value.top + (x.value + p.value) * o,
867
874
  stroke: e.value.style.chart.layout.separators.color,
868
875
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
869
876
  "stroke-linecap": "round",
@@ -882,7 +889,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
882
889
  n("g", Ra, [
883
890
  n("text", {
884
891
  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) : Ot(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
885
- y: r.value.top + (k.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
892
+ y: r.value.top + (x.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
886
893
  "text-anchor": !E.value || a.sign === -1 ? "start" : "end",
887
894
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
888
895
  fill: e.value.style.chart.layout.bars.dataLabels.color,
@@ -892,7 +899,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
892
899
  key: 0,
893
900
  "text-anchor": "end",
894
901
  x: r.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
895
- y: r.value.top + (k.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
902
+ y: r.value.top + (x.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
896
903
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
897
904
  fill: e.value.style.chart.layout.bars.nameLabels.color,
898
905
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
@@ -920,20 +927,20 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
920
927
  ]),
921
928
  n("rect", {
922
929
  x: N.value.x,
923
- y: r.value.top + (k.value + p.value) * o - k.value / 2,
930
+ y: r.value.top + (x.value + p.value) * o - x.value / 2,
924
931
  width: N.value.width,
925
- height: p.value + k.value <= 0 ? 1e-4 : p.value + k.value,
932
+ height: p.value + x.value <= 0 ? 1e-4 : p.value + x.value,
926
933
  fill: Se.value === a.id ? s(Me)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
927
934
  onMouseenter: (f) => Dt(a, o),
928
935
  onMouseleave: (f) => Mt({ datapoint: a, seriesIndex: o }),
929
936
  onClick: (f) => Ft({ datapoint: a, seriesIndex: o })
930
937
  }, null, 40, Ha)
931
938
  ]))), 256)),
932
- _(t.$slots, "svg", { svg: N.value }, void 0, !0)
939
+ k(t.$slots, "svg", { svg: N.value }, void 0, !0)
933
940
  ], 512)
934
941
  ], 14, Pa)),
935
942
  t.$slots.watermark ? (u(), v("div", ja, [
936
- _(t.$slots, "watermark", J(Z({ isPrinting: s(je) || s(qe) })), void 0, !0)
943
+ k(t.$slots, "watermark", J(Z({ isPrinting: s(je) || s(qe) })), void 0, !0)
937
944
  ])) : y("", !0),
938
945
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
939
946
  key: 6,
@@ -946,7 +953,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
946
953
  config: at.value,
947
954
  onClickMarker: l[1] || (l[1] = ({ legend: a }) => oe(a.id))
948
955
  }, pe({
949
- item: m(({ legend: a, index: o }) => [
956
+ item: b(({ legend: a, index: o }) => [
950
957
  n("div", {
951
958
  onClick: (f) => oe(a.id),
952
959
  style: d(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
@@ -966,7 +973,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
966
973
  }, [
967
974
  t.$slots.pattern ? {
968
975
  name: "legend-pattern",
969
- fn: m(({ legend: a, index: o }) => [
976
+ fn: b(({ legend: a, index: o }) => [
970
977
  Q(ft, {
971
978
  shape: a.shape,
972
979
  radius: 30,
@@ -979,17 +986,17 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
979
986
  } : void 0
980
987
  ]), 1032, ["legendSet", "config"]))
981
988
  ], 512)) : y("", !0),
982
- _(t.$slots, "legend", { legend: O.value }, void 0, !0),
989
+ k(t.$slots, "legend", { legend: O.value }, void 0, !0),
983
990
  t.$slots.source ? (u(), v("div", {
984
991
  key: 7,
985
992
  ref_key: "source",
986
993
  ref: Ee,
987
994
  dir: "auto"
988
995
  }, [
989
- _(t.$slots, "source", {}, void 0, !0)
996
+ k(t.$slots, "source", {}, void 0, !0)
990
997
  ], 512)) : y("", !0),
991
998
  Q(s(kt), {
992
- show: $.value.showTooltip && fe.value && A.value.length < b.dataset.length,
999
+ show: $.value.showTooltip && fe.value && A.value.length < m.dataset.length,
993
1000
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
994
1001
  color: e.value.style.chart.tooltip.color,
995
1002
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1008,11 +1015,11 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1008
1015
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1009
1016
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1010
1017
  }, {
1011
- "tooltip-before": m(() => [
1012
- _(t.$slots, "tooltip-before", J(Z({ ...Le.value })), void 0, !0)
1018
+ "tooltip-before": b(() => [
1019
+ k(t.$slots, "tooltip-before", J(Z({ ...Le.value })), void 0, !0)
1013
1020
  ]),
1014
- "tooltip-after": m(() => [
1015
- _(t.$slots, "tooltip-after", J(Z({ ...Le.value })), void 0, !0)
1021
+ "tooltip-after": b(() => [
1022
+ k(t.$slots, "tooltip-after", J(Z({ ...Le.value })), void 0, !0)
1016
1023
  ]),
1017
1024
  _: 3
1018
1025
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
@@ -1021,7 +1028,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1021
1028
  ref: le,
1022
1029
  onClose: Ae
1023
1030
  }), pe({
1024
- content: m(() => [
1031
+ content: b(() => [
1025
1032
  n("div", {
1026
1033
  ref_key: "tableContainer",
1027
1034
  ref: Je,
@@ -1162,14 +1169,14 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1162
1169
  }, [
1163
1170
  e.value.table.useDialog ? {
1164
1171
  name: "title",
1165
- fn: m(() => [
1172
+ fn: b(() => [
1166
1173
  ht(h(de.value.title), 1)
1167
1174
  ]),
1168
1175
  key: "0"
1169
1176
  } : void 0,
1170
1177
  e.value.table.useDialog ? {
1171
1178
  name: "actions",
1172
- fn: m(() => [
1179
+ fn: b(() => [
1173
1180
  n("button", {
1174
1181
  tabindex: "0",
1175
1182
  class: "vue-ui-user-options-button",
@@ -1187,7 +1194,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1187
1194
  s(Ge) ? (u(), G(fa, { key: 9 })) : y("", !0)
1188
1195
  ], 46, Sa));
1189
1196
  }
1190
- }, Al = /* @__PURE__ */ Ta(hl, [["__scopeId", "data-v-1ea4e17d"]]);
1197
+ }, Al = /* @__PURE__ */ Ta(hl, [["__scopeId", "data-v-eee5e9d1"]]);
1191
1198
  export {
1192
1199
  Al as default
1193
1200
  };