vue-data-ui 3.4.6 → 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-BSldVhnp.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-BCOCglbX.js → vue-data-ui-CzqHcPqG.js} +55 -55
  60. package/dist/vue-data-ui.js +55 -55
  61. package/dist/{vue-ui-3d-bar-E-nuI5P-.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
  62. package/dist/{vue-ui-age-pyramid-DfN03uDZ.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
  63. package/dist/{vue-ui-bullet-DVOmSxcg.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
  64. package/dist/{vue-ui-candlestick-C0tlhgvf.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
  65. package/dist/{vue-ui-carousel-table-Bwf70lBb.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
  66. package/dist/{vue-ui-chestnut-CzNj08EH.js → vue-ui-chestnut-CzBGckif.js} +77 -70
  67. package/dist/{vue-ui-chord-CQAAGCjj.js → vue-ui-chord-B4waG93A.js} +71 -64
  68. package/dist/{vue-ui-circle-pack-8Ut7fxPJ.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
  69. package/dist/{vue-ui-dashboard-CpG2L2Xk.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
  70. package/dist/{vue-ui-donut-acdGdmqY.js → vue-ui-donut-Bc492JeS.js} +95 -88
  71. package/dist/{vue-ui-donut-evolution-J2tTLcht.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
  72. package/dist/{vue-ui-dumbbell-DhDvD0DH.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
  73. package/dist/{vue-ui-flow-Du9joQEy.js → vue-ui-flow-ByEP18dA.js} +205 -198
  74. package/dist/{vue-ui-funnel-BPccZaVG.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
  75. package/dist/{vue-ui-galaxy-D69X300F.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
  76. package/dist/{vue-ui-gauge-C_tPaN05.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
  77. package/dist/{vue-ui-gizmo-Bsc620Bs.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
  78. package/dist/{vue-ui-heatmap-CRoQ0Xo1.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
  79. package/dist/{vue-ui-history-plot-PQT8iCyT.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
  80. package/dist/{vue-ui-molecule-C0hQ1BHF.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
  81. package/dist/{vue-ui-mood-radar-DMng4w8x.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
  82. package/dist/{vue-ui-nested-donuts-DtnysjV9.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
  83. package/dist/{vue-ui-onion-C0Z5_zay.js → vue-ui-onion-BCENNhsY.js} +82 -75
  84. package/dist/{vue-ui-parallel-coordinate-plot-C0grlzOd.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
  85. package/dist/{vue-ui-quadrant-BJGF3wuL.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
  86. package/dist/{vue-ui-quick-chart-CaR3jp1D.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
  87. package/dist/{vue-ui-radar-wYNRX7Uh.js → vue-ui-radar-lgRCmyNP.js} +36 -29
  88. package/dist/{vue-ui-relation-circle-CIwou-3d.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
  89. package/dist/{vue-ui-ridgeline-DnzoIClq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
  90. package/dist/{vue-ui-rings-B7zSZa8h.js → vue-ui-rings-DbsYfGjx.js} +55 -48
  91. package/dist/{vue-ui-scatter-Bevyh8s3.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
  92. package/dist/{vue-ui-skeleton-DfuGqFYM.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
  93. package/dist/{vue-ui-spark-trend-D16UBZxk.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
  94. package/dist/{vue-ui-sparkbar-Dl1kY_5e.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
  95. package/dist/{vue-ui-sparkgauge-iJIT26xG.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
  96. package/dist/{vue-ui-sparkhistogram-Bawjmfxu.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
  97. package/dist/{vue-ui-sparkline-CGVoLIcr.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
  98. package/dist/{vue-ui-sparkstackbar-CdlGAlFM.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
  99. package/dist/{vue-ui-stackbar-Cjz4PvOG.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
  100. package/dist/{vue-ui-strip-plot-DS84cU6V.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
  101. package/dist/{vue-ui-table-t9Shp522.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-CAqqSvhG.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
  104. package/dist/{vue-ui-thermometer-CKciCjTK.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
  105. package/dist/{vue-ui-timer-CNwoVRn5.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
  106. package/dist/{vue-ui-tiremarks-Dxp9rcJi.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
  107. package/dist/{vue-ui-treemap-D4cRZ9SZ.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
  108. package/dist/{vue-ui-vertical-bar-Cz6yCNYK.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
  109. package/dist/{vue-ui-waffle-BhQ0m4Ia.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
  110. package/dist/{vue-ui-wheel-Bh_G3WQQ.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
  111. package/dist/{vue-ui-word-cloud-Bk2yP7oQ.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
  112. package/dist/{vue-ui-world-C_eUAzmI.js → vue-ui-world-BERHgePa.js} +71 -64
  113. package/dist/{vue-ui-xy-BDc2EKMr.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 +2 -2
@@ -1,4 +1,4 @@
1
- import { defineAsyncComponent as ge, useSlots as Hl, onMounted as Qt, computed as y, ref as b, shallowRef as J, toRefs as El, watch as Ue, onBeforeUnmount as Wl, createElementBlock as w, openBlock as h, unref as p, normalizeStyle as ue, normalizeClass as yt, createBlock as re, createCommentVNode as M, createElementVNode as R, createVNode as Ge, createSlots as el, withCtx as A, renderSlot as S, normalizeProps as me, guardReactiveProps as ye, Fragment as Xe, renderList as bt, withKeys as tl, withModifiers as wt, mergeProps as kt, createTextVNode as qe, toDisplayString as Ye, Teleport as Ul, resolveDynamicComponent as Gl, nextTick as Xl } from "vue";
1
+ import { defineAsyncComponent as ge, useSlots as Hl, onMounted as Qt, computed as y, ref as b, shallowRef as J, toRefs as El, watch as Ue, onBeforeUnmount as Wl, createElementBlock as w, openBlock as h, unref as p, normalizeStyle as ue, normalizeClass as yt, createBlock as re, createCommentVNode as M, createElementVNode as R, createVNode as Ge, createSlots as el, withCtx as O, renderSlot as $, normalizeProps as me, guardReactiveProps as ye, Fragment as Xe, renderList as bt, withKeys as tl, withModifiers as wt, mergeProps as kt, createTextVNode as qe, toDisplayString as Ye, Teleport as Ul, resolveDynamicComponent as Gl, nextTick as Xl } from "vue";
2
2
  import { c as je, t as ql, b as Yl, p as L, e as jl, o as ll, f as Zl, h as Le, a as Ze, d as De, X as Ct, S as ol, J as al, G as nl, P as Kl, Q as Jl, H as Ql, ap as $t, aq as Ke } from "./lib-C_mNZmhD.js";
3
3
  import { t as eo, u as to } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as lo, a as sl } from "./useNestedProp-BjZe1Y85.js";
@@ -69,27 +69,27 @@ function yo(n) {
69
69
  return (n.x1 - n.x0) * (n.y1 - n.y0);
70
70
  }
71
71
  function cl(n, i) {
72
- const { width: u, height: c, xOffset: r, yOffset: f } = xt(i), d = n.length, m = n.map((x) => x.normalizedValue || 0).reduce((x, D) => x + D, 0), g = m / c, Q = m / u;
73
- let E = r, $ = f;
72
+ const { width: u, height: c, xOffset: r, yOffset: f } = xt(i), d = n.length, m = n.map((T) => T.normalizedValue || 0).reduce((T, D) => T + D, 0), g = m / c, Q = m / u;
73
+ let E = r, x = f;
74
74
  const _ = [];
75
75
  if (u >= c) {
76
- for (let x = 0; x < d; x += 1) {
77
- const D = n[x], q = $ + D.normalizedValue / g, I = {
76
+ for (let T = 0; T < d; T += 1) {
77
+ const D = n[T], q = x + D.normalizedValue / g, I = {
78
78
  x0: E,
79
- y0: $,
79
+ y0: x,
80
80
  x1: E + g,
81
81
  y1: q
82
82
  }, P = Object.assign({}, D, I);
83
- $ = q, _.push(P);
83
+ x = q, _.push(P);
84
84
  }
85
85
  return _;
86
86
  } else {
87
- for (let x = 0; x < d; x += 1) {
88
- const D = n[x], q = E + D.normalizedValue / Q, I = {
87
+ for (let T = 0; T < d; T += 1) {
88
+ const D = n[T], q = E + D.normalizedValue / Q, I = {
89
89
  x0: E,
90
- y0: $,
90
+ y0: x,
91
91
  x1: q,
92
- y1: $ + Q
92
+ y1: x + Q
93
93
  }, P = Object.assign({}, D, I);
94
94
  E = q, _.push(P);
95
95
  }
@@ -126,16 +126,16 @@ function ko(n, i, u, c) {
126
126
  const _ = cl(f, d);
127
127
  return m.concat(_);
128
128
  }
129
- const Q = bo(d), E = r[0], $ = r.slice(1, g);
129
+ const Q = bo(d), E = r[0], x = r.slice(1, g);
130
130
  if (po(f, E, Q)) {
131
131
  const _ = f.concat(E);
132
- r = $, f = _, d = d, m = m;
132
+ r = x, f = _, d = d, m = m;
133
133
  } else {
134
134
  const _ = f.length;
135
- let x = 0;
135
+ let T = 0;
136
136
  for (let P = 0; P < _; P += 1)
137
- x += f[P].normalizedValue;
138
- const D = Co(d, x), q = cl(f, d), I = m.concat(q);
137
+ T += f[P].normalizedValue;
138
+ const D = Co(d, T), q = cl(f, d), I = m.concat(q);
139
139
  r = r, f = [], d = D, m = I;
140
140
  }
141
141
  }
@@ -173,7 +173,7 @@ function Co(n, i) {
173
173
  return il(g);
174
174
  }
175
175
  }
176
- const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], So = { class: "vue-ui-treemap-crumb-unit" }, _o = { class: "vue-ui-treemap-crumb-unit-label" }, Oo = {
176
+ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], So = { class: "vue-ui-treemap-crumb-unit" }, Oo = { class: "vue-ui-treemap-crumb-unit-label" }, _o = {
177
177
  key: 0,
178
178
  style: { width: "24px", display: "flex", "align-items": "center" }
179
179
  }, Ao = {
@@ -200,12 +200,12 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
200
200
  },
201
201
  emits: ["selectLegend", "selectDatapoint"],
202
202
  setup(n, { expose: i, emit: u }) {
203
- const c = ge(() => import("./DataTable-BT7VF2ua.js")), r = ge(() => import("./PenAndPaper-DSvu9dwa.js")), f = ge(() => import("./vue-ui-accordion-CZ0thhxa.js")), d = ge(() => import("./Tooltip-oWCO1HKy.js")), m = ge(() => import("./UserOptions-CnzumGJj.js")), g = ge(() => import("./PackageVersion-BSldVhnp.js")), Q = ge(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_treemap: E } = lo(), $ = n, _ = u, x = Hl();
203
+ const c = ge(() => import("./DataTable-BT7VF2ua.js")), r = ge(() => import("./PenAndPaper-DSvu9dwa.js")), f = ge(() => import("./vue-ui-accordion-CZ0thhxa.js")), d = ge(() => import("./Tooltip-oWCO1HKy.js")), m = ge(() => import("./UserOptions-CGnQt6Fd.js")), g = ge(() => import("./PackageVersion-D-auaEEJ.js")), Q = ge(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_treemap: E } = lo(), x = n, _ = u, T = Hl();
204
204
  Qt(() => {
205
- x["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
205
+ T["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
206
206
  });
207
- const D = y(() => !!$.dataset && $.dataset.length), q = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), I = b(je()), P = b(!1), Je = b(""), ie = b(!1), Tt = b(0), W = b([]), U = J(null), St = J(null), _t = J(null), Ot = J(null), At = J(null), Ft = b(0), Qe = b(0), et = b(0), F = b([]), tt = b(null), Mt = b(!1), Ae = b(null), lt = b(null), t = b(st()), { loading: be, FINAL_DATASET: ot, manualLoading: dl } = oo({
208
- ...El($),
207
+ const D = y(() => !!x.dataset && x.dataset.length), q = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), I = b(je()), P = b(!1), Je = b(""), ie = b(!1), Tt = b(0), W = b([]), U = J(null), St = J(null), Ot = J(null), _t = J(null), At = J(null), Ft = b(0), Qe = b(0), et = b(0), F = b([]), tt = b(null), Mt = b(!1), Ae = b(null), lt = b(null), t = b(st()), { loading: be, FINAL_DATASET: ot, manualLoading: dl } = oo({
208
+ ...El(x),
209
209
  FINAL_CONFIG: t,
210
210
  prepareConfig: st,
211
211
  skeletonDataset: [
@@ -249,18 +249,18 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
249
249
  }), { userOptionsVisible: at, setUserOptionsVisibility: It, keepUserOptionState: Nt } = so({ config: t.value }), { svgRef: nt } = uo({ config: t.value.style.chart.title });
250
250
  function st() {
251
251
  const e = sl({
252
- userConfig: $.config,
252
+ userConfig: x.config,
253
253
  defaultConfig: E
254
254
  });
255
255
  return e.theme ? {
256
256
  ...sl({
257
- userConfig: co.vue_ui_treemap[e.theme] || $.config,
257
+ userConfig: co.vue_ui_treemap[e.theme] || x.config,
258
258
  defaultConfig: e
259
259
  }),
260
260
  customPalette: Yl[e.theme] || L
261
261
  } : e;
262
262
  }
263
- Ue(() => $.config, (e) => {
263
+ Ue(() => x.config, (e) => {
264
264
  be.value || (t.value = st()), at.value = !t.value.userOptions.showOnChartHover, Ft.value += 1, Qe.value += 1, et.value += 1, z.value.showTable = t.value.table.show, z.value.showTooltip = t.value.style.chart.tooltip.show;
265
265
  }, { deep: !0 });
266
266
  const { isPrinting: Lt, isImaging: Dt, generatePdf: zt, generateImage: Rt } = no({
@@ -339,17 +339,17 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
339
339
  });
340
340
  const ml = y(() => t.value.debug);
341
341
  function yl() {
342
- if (ll($.dataset) && Zl({
342
+ if (ll(x.dataset) && Zl({
343
343
  componentName: "VueUiTreemap",
344
344
  type: "dataset",
345
345
  debug: ml.value
346
- }), Bt(V.value), ll($.dataset) || (dl.value = t.value.loading), t.value.responsive) {
346
+ }), Bt(V.value), ll(x.dataset) || (dl.value = t.value.loading), t.value.responsive) {
347
347
  const e = eo(() => {
348
348
  const { width: o, height: l } = to({
349
349
  chart: U.value,
350
350
  title: t.value.style.chart.title.text ? St.value : null,
351
- legend: t.value.style.chart.legend.show ? _t.value : null,
352
- source: Ot.value,
351
+ legend: t.value.style.chart.legend.show ? Ot.value : null,
352
+ source: _t.value,
353
353
  noTitle: At.value
354
354
  });
355
355
  requestAnimationFrame(() => {
@@ -536,7 +536,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
536
536
  fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
537
537
  }));
538
538
  function Ut(e) {
539
- G.value = null, W.value.includes(e.id) ? W.value = W.value.filter((o) => o !== e.id) : W.value.length < $.dataset.length - 1 && W.value.push(e.id), _("selectLegend", ut.value);
539
+ G.value = null, W.value.includes(e.id) ? W.value = W.value.filter((o) => o !== e.id) : W.value.length < x.dataset.length - 1 && W.value.push(e.id), _("selectLegend", ut.value);
540
540
  }
541
541
  function Cl({ datapoint: e, seriesIndex: o }) {
542
542
  G.value = null, P.value = !1, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: o });
@@ -711,12 +711,12 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
711
711
  const Sl = y(() => rt.value.map((e) => ({
712
712
  ...e,
713
713
  name: e.display
714
- }))), _l = y(() => t.value.style.chart.backgroundColor), Ol = y(() => t.value.style.chart.legend), Al = y(() => t.value.style.chart.title), { exportSvg: Fl, getSvg: Ml } = ho({
714
+ }))), Ol = y(() => t.value.style.chart.backgroundColor), _l = y(() => t.value.style.chart.legend), Al = y(() => t.value.style.chart.title), { exportSvg: Fl, getSvg: Ml } = ho({
715
715
  svg: nt,
716
716
  title: Al,
717
- legend: Ol,
717
+ legend: _l,
718
718
  legendItems: Sl,
719
- backgroundColor: _l
719
+ backgroundColor: Ol
720
720
  });
721
721
  async function Zt({ isCb: e }) {
722
722
  if (e) {
@@ -741,63 +741,63 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
741
741
  }),
742
742
  { datapoint: e, seriesIndex: o }
743
743
  ) : "";
744
- function ve(he, fe = v, Oe = "400") {
744
+ function ve(he, fe = v, _e = "400") {
745
745
  const H = document.createElementNS(Ct, "svg");
746
746
  H.setAttribute("width", "0"), H.setAttribute("height", "0"), H.style.position = "absolute", H.style.visibility = "hidden", H.style.pointerEvents = "none";
747
747
  const X = document.createElementNS(Ct, "text");
748
- X.setAttribute("font-size", String(fe)), X.setAttribute("font-family", oe), X.setAttribute("font-weight", String(Oe)), X.textContent = he || "", H.appendChild(X), document.body.appendChild(H);
748
+ X.setAttribute("font-size", String(fe)), X.setAttribute("font-family", oe), X.setAttribute("font-weight", String(_e)), X.textContent = he || "", H.appendChild(X), document.body.appendChild(H);
749
749
  const Jt = X.getComputedTextLength();
750
750
  return document.body.removeChild(H), Jt;
751
751
  }
752
- function Ll(he, fe, Oe, H, X, Jt) {
753
- const Rl = String(he).split(/\s+/).filter(Boolean), O = [];
752
+ function Ll(he, fe, _e, H, X, Jt) {
753
+ const Rl = String(he).split(/\s+/).filter(Boolean), A = [];
754
754
  let se = "";
755
- function pe(T) {
756
- return ve(T, Oe, H) <= fe;
755
+ function pe(S) {
756
+ return ve(S, _e, H) <= fe;
757
757
  }
758
- function Pl(T) {
759
- if (pe(T)) return [T];
758
+ function Pl(S) {
759
+ if (pe(S)) return [S];
760
760
  const K = [];
761
761
  let C = 0;
762
- for (; C < T.length; ) {
763
- let pt = 1, gt = T.length - C, mt = 1;
762
+ for (; C < S.length; ) {
763
+ let pt = 1, gt = S.length - C, mt = 1;
764
764
  for (; pt <= gt; ) {
765
- const We = pt + gt >> 1, Vl = T.slice(C, C + We);
765
+ const We = pt + gt >> 1, Vl = S.slice(C, C + We);
766
766
  pe(Vl) ? (mt = We, pt = We + 1) : gt = We - 1;
767
767
  }
768
- K.push(T.slice(C, C + mt)), C += mt;
768
+ K.push(S.slice(C, C + mt)), C += mt;
769
769
  }
770
770
  return K;
771
771
  }
772
- const Bl = Rl.flatMap((T) => Pl(T));
773
- for (const T of Bl) {
774
- const K = se ? se + " " + T : T;
772
+ const Bl = Rl.flatMap((S) => Pl(S));
773
+ for (const S of Bl) {
774
+ const K = se ? se + " " + S : S;
775
775
  if (pe(K))
776
776
  se = K;
777
- else if (se && O.push(se), se = T, O.length === X - 1) break;
777
+ else if (se && A.push(se), se = S, A.length === X - 1) break;
778
778
  }
779
- if (se && O.length < X && O.push(se), O.length === X) {
780
- const T = O[O.length - 1];
781
- if (!pe(T)) {
782
- let C = T;
779
+ if (se && A.length < X && A.push(se), A.length === X) {
780
+ const S = A[A.length - 1];
781
+ if (!pe(S)) {
782
+ let C = S;
783
783
  for (; C.length && !pe(C); ) C = C.slice(0, -1);
784
- O[O.length - 1] = C;
784
+ A[A.length - 1] = C;
785
785
  }
786
- let K = O[O.length - 1] + "…";
786
+ let K = A[A.length - 1] + "…";
787
787
  if (!pe(K)) {
788
- let C = O[O.length - 1];
788
+ let C = A[A.length - 1];
789
789
  for (; C.length && !pe(C + "…"); ) C = C.slice(0, -1);
790
790
  K = C + "…";
791
791
  }
792
- O[O.length - 1] = K;
792
+ A[A.length - 1] = K;
793
793
  }
794
- return O;
794
+ return A;
795
795
  }
796
796
  const Dl = a ? 1 : 0, Kt = Math.max(0, Math.floor(ce / k) - Dl);
797
797
  if (Kt <= 0) {
798
798
  if (!a) return "";
799
- const he = e.x0 + s, fe = e.y0 + s + v, Oe = $t(Ee);
800
- return ve(Oe, v, ae) <= N ? `
799
+ const he = e.x0 + s, fe = e.y0 + s + v, _e = $t(Ee);
800
+ return ve(_e, v, ae) <= N ? `
801
801
  <text
802
802
  x="${he}"
803
803
  y="${fe}"
@@ -806,16 +806,16 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
806
806
  font-weight="${ae}"
807
807
  fill="${Ke(ne)}"
808
808
  >
809
- ${Oe}
809
+ ${_e}
810
810
  </text>` : "";
811
811
  }
812
812
  const de = l ? Ll(dt, N, v, He, Kt) : [];
813
- let _e = v, Z = String(Ee);
813
+ let Oe = v, Z = String(Ee);
814
814
  if (a) {
815
- for (; ve(Z, _e, ae) > N && _e > Math.max(8, v * 0.75); )
816
- _e -= 1;
817
- if (ve(Z, _e, ae) > N) {
818
- for (; Z.length && ve(Z + "…", _e, ae) > N; )
815
+ for (; ve(Z, Oe, ae) > N && Oe > Math.max(8, v * 0.75); )
816
+ Oe -= 1;
817
+ if (ve(Z, Oe, ae) > N) {
818
+ for (; Z.length && ve(Z + "…", Oe, ae) > N; )
819
819
  Z = Z.slice(0, -1);
820
820
  if (Z += "…", !Z.length) return "";
821
821
  }
@@ -843,7 +843,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
843
843
  x="${ht}"
844
844
  dy="${de.length ? k : 0}"
845
845
  font-weight="${ae}"
846
- font-size="${_e}"
846
+ font-size="${Oe}"
847
847
  >
848
848
  ${$t(Z)}
849
849
  </tspan>`
@@ -963,59 +963,66 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
963
963
  }, el({ _: 2 }, [
964
964
  e.$slots.menuIcon ? {
965
965
  name: "menuIcon",
966
- fn: A(({ isOpen: l, color: a }) => [
967
- S(e.$slots, "menuIcon", me(ye({ isOpen: l, color: a })), void 0, !0)
966
+ fn: O(({ isOpen: l, color: a }) => [
967
+ $(e.$slots, "menuIcon", me(ye({ isOpen: l, color: a })), void 0, !0)
968
968
  ]),
969
969
  key: "0"
970
970
  } : void 0,
971
971
  e.$slots.optionTooltip ? {
972
972
  name: "optionTooltip",
973
- fn: A(() => [
974
- S(e.$slots, "optionTooltip", {}, void 0, !0)
973
+ fn: O(() => [
974
+ $(e.$slots, "optionTooltip", {}, void 0, !0)
975
975
  ]),
976
976
  key: "1"
977
977
  } : void 0,
978
978
  e.$slots.optionPdf ? {
979
979
  name: "optionPdf",
980
- fn: A(() => [
981
- S(e.$slots, "optionPdf", {}, void 0, !0)
980
+ fn: O(() => [
981
+ $(e.$slots, "optionPdf", {}, void 0, !0)
982
982
  ]),
983
983
  key: "2"
984
984
  } : void 0,
985
985
  e.$slots.optionCsv ? {
986
986
  name: "optionCsv",
987
- fn: A(() => [
988
- S(e.$slots, "optionCsv", {}, void 0, !0)
987
+ fn: O(() => [
988
+ $(e.$slots, "optionCsv", {}, void 0, !0)
989
989
  ]),
990
990
  key: "3"
991
991
  } : void 0,
992
992
  e.$slots.optionImg ? {
993
993
  name: "optionImg",
994
- fn: A(() => [
995
- S(e.$slots, "optionImg", {}, void 0, !0)
994
+ fn: O(() => [
995
+ $(e.$slots, "optionImg", {}, void 0, !0)
996
996
  ]),
997
997
  key: "4"
998
998
  } : void 0,
999
+ e.$slots.optionSvg ? {
1000
+ name: "optionSvg",
1001
+ fn: O(() => [
1002
+ $(e.$slots, "optionSvg", {}, void 0, !0)
1003
+ ]),
1004
+ key: "5"
1005
+ } : void 0,
999
1006
  e.$slots.optionTable ? {
1000
1007
  name: "optionTable",
1001
- fn: A(() => [
1002
- S(e.$slots, "optionTable", {}, void 0, !0)
1008
+ fn: O(() => [
1009
+ $(e.$slots, "optionTable", {}, void 0, !0)
1003
1010
  ]),
1004
- key: "5"
1011
+ key: "6"
1005
1012
  } : void 0,
1006
1013
  e.$slots.optionFullscreen ? {
1007
1014
  name: "optionFullscreen",
1008
- fn: A(({ toggleFullscreen: l, isFullscreen: a }) => [
1009
- S(e.$slots, "optionFullscreen", me(ye({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
1015
+ fn: O(({ toggleFullscreen: l, isFullscreen: a }) => [
1016
+ $(e.$slots, "optionFullscreen", me(ye({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
1010
1017
  ]),
1011
- key: "6"
1018
+ key: "7"
1012
1019
  } : void 0,
1013
1020
  e.$slots.optionAnnotator ? {
1014
1021
  name: "optionAnnotator",
1015
- fn: A(({ toggleAnnotator: l, isAnnotator: a }) => [
1016
- S(e.$slots, "optionAnnotator", me(ye({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
1022
+ fn: O(({ toggleAnnotator: l, isAnnotator: a }) => [
1023
+ $(e.$slots, "optionAnnotator", me(ye({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
1017
1024
  ]),
1018
- key: "7"
1025
+ key: "8"
1019
1026
  } : void 0
1020
1027
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : M("", !0),
1021
1028
  Y.value.length > 1 ? (h(), w("nav", {
@@ -1046,9 +1053,9 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1046
1053
  onBlur: Yt
1047
1054
  }, [
1048
1055
  R("span", So, [
1049
- R("span", _o, [
1050
- S(e.$slots, "breadcrumb-label", kt({ ref_for: !0 }, { crumb: l, isRoot: a === 0, isFocus: Ve.value === a }), () => [
1051
- a === 0 ? (h(), w("div", Oo, [
1056
+ R("span", Oo, [
1057
+ $(e.$slots, "breadcrumb-label", kt({ ref_for: !0 }, { crumb: l, isRoot: a === 0, isFocus: Ve.value === a }), () => [
1058
+ a === 0 ? (h(), w("div", _o, [
1052
1059
  Ge(ul, {
1053
1060
  name: Ve.value === 0 ? "homeFilled" : "home",
1054
1061
  stroke: t.value.style.chart.color
@@ -1059,7 +1066,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1059
1066
  ], !0)
1060
1067
  ]),
1061
1068
  a < Y.value.length - 1 ? (h(), w("span", Ao, [
1062
- S(e.$slots, "breadcrumb-arrow", {}, () => [
1069
+ $(e.$slots, "breadcrumb-arrow", {}, () => [
1063
1070
  o[4] || (o[4] = qe(" › ", -1))
1064
1071
  ], !0)
1065
1072
  ])) : M("", !0)
@@ -1138,7 +1145,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1138
1145
  }),
1139
1146
  class: "vue-ui-treemap-cell"
1140
1147
  }, [
1141
- p(be) ? M("", !0) : S(e.$slots, "rect", kt({
1148
+ p(be) ? M("", !0) : $(e.$slots, "rect", kt({
1142
1149
  key: 0,
1143
1150
  ref_for: !0
1144
1151
  }, {
@@ -1151,10 +1158,10 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1151
1158
  ], 4)
1152
1159
  ], 8, Ro))
1153
1160
  ]))), 128)),
1154
- S(e.$slots, "svg", me(ye({ svg: B.value, isZoom: Se.value, rect: G.value, config: t.value })), void 0, !0)
1161
+ $(e.$slots, "svg", me(ye({ svg: B.value, isZoom: Se.value, rect: G.value, config: t.value })), void 0, !0)
1155
1162
  ], 14, Fo)),
1156
1163
  e.$slots.watermark ? (h(), w("div", Po, [
1157
- S(e.$slots, "watermark", me(ye({ isPrinting: p(Lt) || p(Dt) })), void 0, !0)
1164
+ $(e.$slots, "watermark", me(ye({ isPrinting: p(Lt) || p(Dt) })), void 0, !0)
1158
1165
  ])) : M("", !0),
1159
1166
  R("div", {
1160
1167
  id: `legend-bottom-${I.value}`
@@ -1165,7 +1172,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1165
1172
  }, [
1166
1173
  R("div", {
1167
1174
  ref_key: "chartLegend",
1168
- ref: _t
1175
+ ref: Ot
1169
1176
  }, [
1170
1177
  t.value.style.chart.legend.show ? (h(), re(vo, {
1171
1178
  key: `legend_${et.value}`,
@@ -1174,7 +1181,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1174
1181
  id: `treemap_legend_${I.value}`,
1175
1182
  onClickMarker: o[0] || (o[0] = ({ legend: l }) => Ut(l))
1176
1183
  }, {
1177
- item: A(({ legend: l, index: a }) => [
1184
+ item: O(({ legend: l, index: a }) => [
1178
1185
  p(be) ? M("", !0) : (h(), w("div", {
1179
1186
  key: 0,
1180
1187
  onClick: (s) => Ut(l),
@@ -1182,7 +1189,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1182
1189
  }, Ye(l.display), 13, Vo))
1183
1190
  ]),
1184
1191
  _: 1
1185
- }, 8, ["legendSet", "config", "id"])) : S(e.$slots, "legend", {
1192
+ }, 8, ["legendSet", "config", "id"])) : $(e.$slots, "legend", {
1186
1193
  key: 1,
1187
1194
  legend: rt.value
1188
1195
  }, void 0, !0)
@@ -1191,10 +1198,10 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1191
1198
  e.$slots.source ? (h(), w("div", {
1192
1199
  key: 7,
1193
1200
  ref_key: "source",
1194
- ref: Ot,
1201
+ ref: _t,
1195
1202
  dir: "auto"
1196
1203
  }, [
1197
- S(e.$slots, "source", {}, void 0, !0)
1204
+ $(e.$slots, "source", {}, void 0, !0)
1198
1205
  ], 512)) : M("", !0),
1199
1206
  Ge(p(d), {
1200
1207
  show: z.value.showTooltip && P.value,
@@ -1216,11 +1223,11 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1216
1223
  smoothForce: t.value.style.chart.tooltip.smoothForce,
1217
1224
  smoothSnapThreshold: t.value.style.chart.tooltip.smoothSnapThreshold
1218
1225
  }, {
1219
- "tooltip-before": A(() => [
1220
- S(e.$slots, "tooltip-before", me(ye({ ...it.value })), void 0, !0)
1226
+ "tooltip-before": O(() => [
1227
+ $(e.$slots, "tooltip-before", me(ye({ ...it.value })), void 0, !0)
1221
1228
  ]),
1222
- "tooltip-after": A(() => [
1223
- S(e.$slots, "tooltip-after", me(ye({ ...it.value })), void 0, !0)
1229
+ "tooltip-after": O(() => [
1230
+ $(e.$slots, "tooltip-after", me(ye({ ...it.value })), void 0, !0)
1224
1231
  ]),
1225
1232
  _: 3
1226
1233
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
@@ -1229,7 +1236,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1229
1236
  ref: Ae,
1230
1237
  onClose: jt
1231
1238
  }), el({
1232
- content: A(() => [
1239
+ content: O(() => [
1233
1240
  (h(), re(p(c), {
1234
1241
  key: `table_${Qe.value}`,
1235
1242
  colNames: Pe.value.colNames,
@@ -1240,13 +1247,13 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1240
1247
  withCloseButton: !t.value.table.useDialog,
1241
1248
  onClose: jt
1242
1249
  }, {
1243
- th: A(({ th: l }) => [
1250
+ th: O(({ th: l }) => [
1244
1251
  R("div", {
1245
1252
  innerHTML: l,
1246
1253
  style: { display: "flex", "align-items": "center" }
1247
1254
  }, null, 8, Ho)
1248
1255
  ]),
1249
- td: A(({ td: l }) => [
1256
+ td: O(({ td: l }) => [
1250
1257
  qe(Ye(l.name || l), 1)
1251
1258
  ]),
1252
1259
  _: 1
@@ -1256,14 +1263,14 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1256
1263
  }, [
1257
1264
  t.value.table.useDialog ? {
1258
1265
  name: "title",
1259
- fn: A(() => [
1266
+ fn: O(() => [
1260
1267
  qe(Ye(Ne.value.title), 1)
1261
1268
  ]),
1262
1269
  key: "0"
1263
1270
  } : void 0,
1264
1271
  t.value.table.useDialog ? {
1265
1272
  name: "actions",
1266
- fn: A(() => [
1273
+ fn: O(() => [
1267
1274
  R("button", {
1268
1275
  tabindex: "0",
1269
1276
  class: "vue-ui-user-options-button",
@@ -1281,7 +1288,7 @@ const $o = ["id"], xo = ["id"], To = ["tabindex", "onClick", "onKeydown", "data-
1281
1288
  p(be) ? (h(), re(ao, { key: 9 })) : M("", !0)
1282
1289
  ], 46, $o));
1283
1290
  }
1284
- }, na = /* @__PURE__ */ fo(Eo, [["__scopeId", "data-v-c8fc400c"]]);
1291
+ }, na = /* @__PURE__ */ fo(Eo, [["__scopeId", "data-v-ef2ff701"]]);
1285
1292
  export {
1286
1293
  na as default
1287
1294
  };