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,6 +1,6 @@
1
- import { useCssVars as dt, computed as g, defineAsyncComponent as Z, ref as r, toRefs as ft, watch as ee, shallowRef as Le, onMounted as gt, onBeforeUnmount as yt, createElementBlock as n, openBlock as i, unref as o, normalizeStyle as z, createBlock as j, createCommentVNode as f, createSlots as ht, withCtx as M, renderSlot as h, normalizeProps as U, guardReactiveProps as D, normalizeClass as te, createVNode as mt, createElementVNode as pt, Fragment as $, renderList as O, mergeProps as Pe, toDisplayString as G, createTextVNode as ze } from "vue";
1
+ import { useCssVars as dt, computed as g, defineAsyncComponent as Z, ref as r, toRefs as ft, watch as ee, shallowRef as Le, onMounted as gt, onBeforeUnmount as yt, createElementBlock as i, openBlock as n, unref as o, normalizeStyle as z, createBlock as j, createCommentVNode as f, createSlots as ht, withCtx as O, renderSlot as y, normalizeProps as U, guardReactiveProps as D, normalizeClass as te, createVNode as mt, createElementVNode as pt, Fragment as $, renderList as S, mergeProps as Pe, toDisplayString as G, createTextVNode as ze } from "vue";
2
2
  import { c as bt, t as kt, b as wt, p as Oe, e as xt, o as Se, f as Ie, g as $t, X as At, J as Me, a as le, d as se, R as ae } from "./lib-C_mNZmhD.js";
3
- import { t as _t, u as Ct } from "./useResponsive-DfdjqQps.js";
3
+ import { t as Ct, u as _t } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Lt, a as Ee } from "./useNestedProp-BjZe1Y85.js";
5
5
  import { u as Pt, B as zt } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Ot } from "./usePrinter-DTzqpYKF.js";
@@ -33,11 +33,11 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
33
33
  },
34
34
  setup(Be, { expose: Fe }) {
35
35
  dt((e) => ({
36
- da1d463e: Ye.value,
37
- v7926d380: Xe.value,
38
- a1d88bbc: qe.value
36
+ c0ba409a: Ye.value,
37
+ v431c6012: Xe.value,
38
+ v556fd074: qe.value
39
39
  }));
40
- const Re = Z(() => import("./PenAndPaper-DSvu9dwa.js")), Te = Z(() => import("./UserOptions-CnzumGJj.js")), Ne = Z(() => import("./PackageVersion-BSldVhnp.js")), { vue_ui_relation_circle: je } = Lt(), m = Be, Ue = g(() => !!m.dataset && Object.keys(m.dataset).length), S = r(bt()), ie = r(0), A = r(null), ne = r(null), oe = r(null), ue = r(null), re = r(0), l = r(X()), { loading: ce, FINAL_DATASET: De, manualLoading: V } = Pt({
40
+ const Re = Z(() => import("./PenAndPaper-DSvu9dwa.js")), Te = Z(() => import("./UserOptions-CGnQt6Fd.js")), Ne = Z(() => import("./PackageVersion-D-auaEEJ.js")), { vue_ui_relation_circle: je } = Lt(), m = Be, Ue = g(() => !!m.dataset && Object.keys(m.dataset).length), I = r(bt()), ne = r(0), A = r(null), ie = r(null), oe = r(null), ue = r(null), re = r(0), l = r(X()), { loading: ce, FINAL_DATASET: De, manualLoading: V } = Pt({
41
41
  ...ft(m),
42
42
  FINAL_CONFIG: l,
43
43
  prepareConfig: X,
@@ -79,12 +79,12 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
79
79
  } : e;
80
80
  }
81
81
  ee(() => m.config, (e) => {
82
- l.value = X(), W.value = !l.value.userOptions.showOnChartHover, _.value = l.value.style.size, y.value = l.value.style.weightLabels.size, F.value = l.value.style.plot.radius, I.value = l.value.style.labels.fontSize, u.value.height = l.value.style.size, u.value.width = l.value.style.size, be(), re.value += 1;
82
+ l.value = X(), W.value = !l.value.userOptions.showOnChartHover, C.value = l.value.style.size, h.value = l.value.style.weightLabels.size, F.value = l.value.style.plot.radius, M.value = l.value.style.labels.fontSize, u.value.height = l.value.style.size, u.value.width = l.value.style.size, be(), re.value += 1;
83
83
  }, { deep: !0 }), ee(() => m.dataset, (e) => {
84
84
  Array.isArray(e) && e.length > 0 && (V.value = !1);
85
85
  }, { deep: !0 });
86
86
  const { isPrinting: fe, isImaging: ge, generatePdf: ye, generateImage: he } = Ot({
87
- elementId: `relation_circle_${S.value}`,
87
+ elementId: `relation_circle_${I.value}`,
88
88
  fileName: l.value.style.title.text || "vue-ui-relation-circle",
89
89
  options: l.value.userOptions.print
90
90
  }), Ge = g(() => l.value.userOptions.show && !l.value.style.title.text), me = g(() => xt(l.value.customPalette)), k = r([]), p = r([]), d = r({}), b = r([]), Ve = r(0), B = g(() => De.value.slice(0, l.value.style.limit).map((e) => {
@@ -98,19 +98,19 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
98
98
  ee(B, () => {
99
99
  k.value = [], p.value = [], Y(), q();
100
100
  });
101
- const _ = r(l.value.style.size), y = r(l.value.style.weightLabels.size), F = r(l.value.style.plot.radius), I = r(l.value.style.labels.fontSize), u = r({
101
+ const C = r(l.value.style.size), h = r(l.value.style.weightLabels.size), F = r(l.value.style.plot.radius), M = r(l.value.style.labels.fontSize), u = r({
102
102
  height: l.value.style.size,
103
103
  width: l.value.style.size
104
- }), C = g({
104
+ }), _ = g({
105
105
  get() {
106
- return _.value * l.value.style.circle.radiusProportion;
106
+ return C.value * l.value.style.circle.radiusProportion;
107
107
  },
108
108
  set(e) {
109
109
  return e;
110
110
  }
111
- }), We = g(() => l.value.style.links.curved), Xe = g(() => `${l.value.style.animation.speedMs}ms`), Ye = g(() => C.value * 2), qe = g(() => C.value * 4), w = Le(null), L = Le(null);
111
+ }), We = g(() => l.value.style.links.curved), Xe = g(() => `${l.value.style.animation.speedMs}ms`), Ye = g(() => _.value * 2), qe = g(() => _.value * 4), w = Le(null), L = Le(null);
112
112
  gt(() => {
113
- be(), document.getElementById(`relation_circle_${S.value}`).addEventListener("click", we);
113
+ be(), document.getElementById(`relation_circle_${I.value}`).addEventListener("click", we);
114
114
  });
115
115
  const pe = g(() => l.value.debug);
116
116
  function be() {
@@ -132,33 +132,33 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
132
132
  });
133
133
  });
134
134
  }), Se(m.dataset) || (V.value = l.value.loading), l.value.responsive) {
135
- const e = _t(() => {
136
- const { width: s, height: t } = Ct({
135
+ const e = Ct(() => {
136
+ const { width: s, height: t } = _t({
137
137
  chart: A.value,
138
- title: l.value.style.title.text ? ne.value : null,
138
+ title: l.value.style.title.text ? ie.value : null,
139
139
  source: oe.value,
140
140
  noTitle: ue.value
141
141
  });
142
142
  requestAnimationFrame(() => {
143
- _.value = Math.min(s, t), u.value.width = Math.max(0.1, s), u.value.height = Math.max(0.1, t - 12), C.value = _.value * l.value.style.circle.radiusProportion, k.value = [], p.value = [], Y(), q(), ke(), l.value.responsiveProportionalSizing ? (y.value = ae({
144
- relator: _.value,
143
+ C.value = Math.min(s, t), u.value.width = Math.max(0.1, s), u.value.height = Math.max(0.1, t - 12), _.value = C.value * l.value.style.circle.radiusProportion, k.value = [], p.value = [], Y(), q(), ke(), l.value.responsiveProportionalSizing ? (h.value = ae({
144
+ relator: C.value,
145
145
  adjuster: l.value.style.size,
146
146
  source: l.value.style.weightLabels.size,
147
147
  threshold: 6,
148
148
  fallback: 6
149
149
  }), F.value = ae({
150
- relator: _.value,
150
+ relator: C.value,
151
151
  adjuster: l.value.style.size,
152
152
  source: l.value.style.plot.radius,
153
153
  threshold: 1,
154
154
  fallback: 1
155
- }), I.value = ae({
156
- relator: _.value,
155
+ }), M.value = ae({
156
+ relator: C.value,
157
157
  adjuster: l.value.style.size,
158
158
  source: l.value.style.labels.fontSize,
159
159
  threshold: 6,
160
160
  fallback: 6
161
- })) : (y.value = l.value.style.weightLabels.size, F.value = l.value.style.plot.radius, I.value = l.value.style.labels.fontSize);
161
+ })) : (h.value = l.value.style.weightLabels.size, F.value = l.value.style.plot.radius, M.value = l.value.style.labels.fontSize);
162
162
  });
163
163
  });
164
164
  w.value && (L.value && w.value.unobserve(L.value), w.value.disconnect()), w.value = new ResizeObserver(e), L.value = A.value.parentNode, w.value.observe(L.value);
@@ -167,13 +167,13 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
167
167
  ke();
168
168
  }
169
169
  yt(() => {
170
- document.getElementById(`relation_circle_${S.value}`).removeEventListener("click", we), w.value && (L.value && w.value.unobserve(L.value), w.value.disconnect());
170
+ document.getElementById(`relation_circle_${I.value}`).removeEventListener("click", we), w.value && (L.value && w.value.unobserve(L.value), w.value.disconnect());
171
171
  });
172
172
  const { autoSizeLabels: ke } = Et({
173
173
  svgRef: E,
174
174
  fontSize: l.value.style.labels.fontSize,
175
175
  minFontSize: l.value.style.labels.minFontSize,
176
- sizeRef: I,
176
+ sizeRef: M,
177
177
  labelClass: ".vue-ui-relation-circle-legend"
178
178
  });
179
179
  function we(e) {
@@ -184,7 +184,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
184
184
  const e = 6.28319 / B.value.length, s = 360 / B.value.length;
185
185
  let t = 0, a = 0;
186
186
  B.value.forEach((c, v) => {
187
- const K = c.weights.reduce((ct, vt) => ct + vt, 0), Q = C.value * Math.cos(t) + u.value.width / 2, rt = C.value * Math.sin(t) + u.value.height / 2 + l.value.style.circle.offsetY;
187
+ const K = c.weights.reduce((ct, vt) => ct + vt, 0), Q = _.value * Math.cos(t) + u.value.width / 2, rt = _.value * Math.sin(t) + u.value.height / 2 + l.value.style.circle.offsetY;
188
188
  k.value.push({ x: Q, y: rt, ...c, color: c.color ? c.color : me.value[v] ? me.value[v] : Oe[v], regAngle: a, totalWeight: K }), t += e, a += s;
189
189
  });
190
190
  }
@@ -256,7 +256,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
256
256
  function Ae(e, s) {
257
257
  R.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: s });
258
258
  }
259
- function _e(e, s) {
259
+ function Ce(e, s) {
260
260
  l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: s }), Ve.value = 360 - e.regAngle, d.value.id && e.id === d.value.id ? (d.value = {}, b.value = []) : (d.value = e, b.value = [...e.relations]);
261
261
  }
262
262
  function H(e) {
@@ -264,8 +264,8 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
264
264
  return Math.max(0.3, s);
265
265
  }
266
266
  const T = r(!1);
267
- function Ce(e) {
268
- T.value = e, ie.value += 1;
267
+ function _e(e) {
268
+ T.value = e, ne.value += 1;
269
269
  }
270
270
  const N = r(!1);
271
271
  function J() {
@@ -283,9 +283,9 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
283
283
  aspectRatio: a
284
284
  };
285
285
  }
286
- const at = g(() => l.value.style.backgroundColor), it = g(() => l.value.style.title), { exportSvg: nt, getSvg: ot } = St({
286
+ const at = g(() => l.value.style.backgroundColor), nt = g(() => l.value.style.title), { exportSvg: it, getSvg: ot } = St({
287
287
  svg: E,
288
- title: it,
288
+ title: nt,
289
289
  backgroundColor: at
290
290
  });
291
291
  async function ut({ isCb: e }) {
@@ -293,24 +293,24 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
293
293
  const { blob: s, url: t, text: a, dataUrl: c } = await ot();
294
294
  l.value.userOptions.callbacks.svg({ blob: s, url: t, text: a, dataUrl: c });
295
295
  } else
296
- nt();
296
+ it();
297
297
  }
298
298
  return Fe({
299
299
  getImage: st,
300
300
  generatePdf: ye,
301
301
  generateImage: he,
302
302
  toggleAnnotator: J,
303
- toggleFullscreen: Ce
304
- }), (e, s) => (i(), n("div", {
303
+ toggleFullscreen: _e
304
+ }), (e, s) => (n(), i("div", {
305
305
  ref_key: "relationCircleChart",
306
306
  ref: A,
307
307
  class: "vue-data-ui-component vue-ui-relation-circle",
308
308
  style: z(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
309
- id: `relation_circle_${S.value}`,
309
+ id: `relation_circle_${I.value}`,
310
310
  onMouseenter: s[0] || (s[0] = () => o(ve)(!0)),
311
311
  onMouseleave: s[1] || (s[1] = () => o(ve)(!1))
312
312
  }, [
313
- l.value.userOptions.buttons.annotator ? (i(), j(o(Re), {
313
+ l.value.userOptions.buttons.annotator ? (n(), j(o(Re), {
314
314
  key: 0,
315
315
  svgRef: o(E),
316
316
  backgroundColor: l.value.style.backgroundColor,
@@ -318,20 +318,20 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
318
318
  active: N.value,
319
319
  onClose: J
320
320
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
321
- Ge.value ? (i(), n("div", {
321
+ Ge.value ? (n(), i("div", {
322
322
  key: 1,
323
323
  ref_key: "noTitle",
324
324
  ref: ue,
325
325
  class: "vue-data-ui-no-title-space",
326
326
  style: "height:36px; width: 100%;background:transparent"
327
327
  }, null, 512)) : f("", !0),
328
- l.value.style.title.text ? (i(), n("div", {
328
+ l.value.style.title.text ? (n(), i("div", {
329
329
  key: 2,
330
330
  ref_key: "chartTitle",
331
- ref: ne,
331
+ ref: ie,
332
332
  style: "width:100%;background:transparent"
333
333
  }, [
334
- (i(), j(Ft, {
334
+ (n(), j(Ft, {
335
335
  key: `title_${re.value}`,
336
336
  config: {
337
337
  title: {
@@ -345,14 +345,14 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
345
345
  }
346
346
  }, null, 8, ["config"]))
347
347
  ], 512)) : f("", !0),
348
- l.value.userOptions.show && Ue.value && (o(de) || o(W)) ? (i(), j(o(Te), {
348
+ l.value.userOptions.show && Ue.value && (o(de) || o(W)) ? (n(), j(o(Te), {
349
349
  ref: "details",
350
- key: `user_options_${ie.value}`,
350
+ key: `user_options_${ne.value}`,
351
351
  backgroundColor: l.value.style.backgroundColor,
352
352
  color: l.value.style.color,
353
353
  isPrinting: o(fe),
354
354
  isImaging: o(ge),
355
- uid: S.value,
355
+ uid: I.value,
356
356
  hasPdf: l.value.userOptions.buttons.pdf,
357
357
  hasImg: l.value.userOptions.buttons.img,
358
358
  hasSvg: l.value.userOptions.buttons.svg,
@@ -366,7 +366,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
366
366
  isAnnotation: N.value,
367
367
  callbacks: l.value.userOptions.callbacks,
368
368
  printScale: l.value.userOptions.print.scale,
369
- onToggleFullscreen: Ce,
369
+ onToggleFullscreen: _e,
370
370
  onGeneratePdf: o(ye),
371
371
  onGenerateImage: o(he),
372
372
  onGenerateSvg: ut,
@@ -377,41 +377,48 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
377
377
  }, ht({ _: 2 }, [
378
378
  e.$slots.menuIcon ? {
379
379
  name: "menuIcon",
380
- fn: M(({ isOpen: t, color: a }) => [
381
- h(e.$slots, "menuIcon", U(D({ isOpen: t, color: a })), void 0, !0)
380
+ fn: O(({ isOpen: t, color: a }) => [
381
+ y(e.$slots, "menuIcon", U(D({ isOpen: t, color: a })), void 0, !0)
382
382
  ]),
383
383
  key: "0"
384
384
  } : void 0,
385
385
  e.$slots.optionPdf ? {
386
386
  name: "optionPdf",
387
- fn: M(() => [
388
- h(e.$slots, "optionPdf", {}, void 0, !0)
387
+ fn: O(() => [
388
+ y(e.$slots, "optionPdf", {}, void 0, !0)
389
389
  ]),
390
390
  key: "1"
391
391
  } : void 0,
392
392
  e.$slots.optionImg ? {
393
393
  name: "optionImg",
394
- fn: M(() => [
395
- h(e.$slots, "optionImg", {}, void 0, !0)
394
+ fn: O(() => [
395
+ y(e.$slots, "optionImg", {}, void 0, !0)
396
396
  ]),
397
397
  key: "2"
398
398
  } : void 0,
399
+ e.$slots.optionSvg ? {
400
+ name: "optionSvg",
401
+ fn: O(() => [
402
+ y(e.$slots, "optionSvg", {}, void 0, !0)
403
+ ]),
404
+ key: "3"
405
+ } : void 0,
399
406
  e.$slots.optionFullscreen ? {
400
407
  name: "optionFullscreen",
401
- fn: M(({ toggleFullscreen: t, isFullscreen: a }) => [
402
- h(e.$slots, "optionFullscreen", U(D({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
408
+ fn: O(({ toggleFullscreen: t, isFullscreen: a }) => [
409
+ y(e.$slots, "optionFullscreen", U(D({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
403
410
  ]),
404
- key: "3"
411
+ key: "4"
405
412
  } : void 0,
406
413
  e.$slots.optionAnnotator ? {
407
414
  name: "optionAnnotator",
408
- fn: M(({ toggleAnnotator: t, isAnnotator: a }) => [
409
- h(e.$slots, "optionAnnotator", U(D({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
415
+ fn: O(({ toggleAnnotator: t, isAnnotator: a }) => [
416
+ y(e.$slots, "optionAnnotator", U(D({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
410
417
  ]),
411
- key: "4"
418
+ key: "5"
412
419
  } : void 0
413
420
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
414
- (i(), n("svg", {
421
+ (n(), i("svg", {
415
422
  ref_key: "svgRef",
416
423
  ref: E,
417
424
  xmlns: o(At),
@@ -421,7 +428,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
421
428
  style: "user-select:none; background:transparent"
422
429
  }, [
423
430
  mt(o(Ne)),
424
- e.$slots["chart-background"] ? (i(), n("foreignObject", {
431
+ e.$slots["chart-background"] ? (n(), i("foreignObject", {
425
432
  key: 0,
426
433
  x: 0,
427
434
  y: 0,
@@ -431,19 +438,19 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
431
438
  pointerEvents: "none"
432
439
  }
433
440
  }, [
434
- h(e.$slots, "chart-background", {}, void 0, !0)
441
+ y(e.$slots, "chart-background", {}, void 0, !0)
435
442
  ], 8, Ut)) : f("", !0),
436
443
  pt("circle", {
437
444
  cx: (u.value.width <= 0 ? 1e-4 : u.value.width) / 2,
438
445
  cy: (u.value.height <= 0 ? 1e-4 : u.value.height) / 2 + l.value.style.circle.offsetY,
439
- r: C.value <= 0 ? 1e-4 : C.value,
446
+ r: _.value <= 0 ? 1e-4 : _.value,
440
447
  stroke: l.value.style.circle.stroke,
441
448
  "stroke-width": l.value.style.circle.strokeWidth,
442
449
  fill: "transparent",
443
450
  class: "main-circle"
444
451
  }, null, 8, Dt),
445
- We.value ? (i(), n("g", Gt, [
446
- (i(!0), n($, null, O(p.value, (t, a) => (i(), n("path", {
452
+ We.value ? (n(), i("g", Gt, [
453
+ (n(!0), i($, null, S(p.value, (t, a) => (n(), i("path", {
447
454
  key: `relation_${a}`,
448
455
  style: z(xe(t)),
449
456
  stroke: x(t),
@@ -453,8 +460,8 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
453
460
  "stroke-width": H(t),
454
461
  "stroke-linecap": "round"
455
462
  }, null, 14, Vt))), 128)),
456
- (i(!0), n($, null, O(p.value, (t, a) => (i(), n("g", Wt, [
457
- P(t) ? h(e.$slots, "dataLabel", Pe({
463
+ (n(!0), i($, null, S(p.value, (t, a) => (n(), i("g", Wt, [
464
+ P(t) ? y(e.$slots, "dataLabel", Pe({
458
465
  key: 0,
459
466
  ref_for: !0
460
467
  }, {
@@ -462,24 +469,24 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
462
469
  y: t.midPointBezier.y,
463
470
  color: x(t),
464
471
  weight: t.weight,
465
- fontSize: y.value
472
+ fontSize: h.value
466
473
  }), void 0, !0) : f("", !0),
467
- P(t) && !e.$slots.dataLabel ? (i(), n("circle", {
474
+ P(t) && !e.$slots.dataLabel ? (n(), i("circle", {
468
475
  key: 1,
469
476
  cx: t.midPointBezier.x,
470
477
  cy: t.midPointBezier.y,
471
478
  fill: x(t),
472
- r: y.value,
479
+ r: h.value,
473
480
  stroke: l.value.style.backgroundColor,
474
481
  "stroke-width": "1"
475
482
  }, null, 8, Xt)) : f("", !0),
476
- P(t) && !e.$slots.dataLabel ? (i(), n("text", {
483
+ P(t) && !e.$slots.dataLabel ? (n(), i("text", {
477
484
  key: 2,
478
485
  x: t.midPointBezier.x,
479
- y: t.midPointBezier.y + y.value / 3,
486
+ y: t.midPointBezier.y + h.value / 3,
480
487
  fill: o(Me)(x(t)),
481
488
  "text-anchor": "middle",
482
- "font-size": y.value
489
+ "font-size": h.value
483
490
  }, G(o(le)(
484
491
  l.value.style.weightLabels.formatter,
485
492
  t.weight,
@@ -492,8 +499,8 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
492
499
  { ...t }
493
500
  )), 9, Yt)) : f("", !0)
494
501
  ]))), 256))
495
- ])) : (i(), n("g", qt, [
496
- (i(!0), n($, null, O(p.value, (t, a) => (i(), n("line", {
502
+ ])) : (n(), i("g", qt, [
503
+ (n(!0), i($, null, S(p.value, (t, a) => (n(), i("line", {
497
504
  key: `relation_${a}`,
498
505
  stroke: x(t),
499
506
  "stroke-width": H(t),
@@ -505,8 +512,8 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
505
512
  class: te({ "vue-ui-relation-circle-selected": d.value.hasOwnProperty("id") && b.value.includes(t.id) }),
506
513
  "stroke-linecap": "round"
507
514
  }, null, 14, Ht))), 128)),
508
- (i(!0), n($, null, O(p.value, (t, a) => (i(), n("g", Jt, [
509
- P(t) ? h(e.$slots, "dataLabel", Pe({
515
+ (n(!0), i($, null, S(p.value, (t, a) => (n(), i("g", Jt, [
516
+ P(t) ? y(e.$slots, "dataLabel", Pe({
510
517
  key: 0,
511
518
  ref_for: !0
512
519
  }, {
@@ -514,24 +521,24 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
514
521
  y: t.midPointLine.y,
515
522
  color: x(t),
516
523
  weight: t.weight,
517
- fontSize: y.value
524
+ fontSize: h.value
518
525
  }), void 0, !0) : f("", !0),
519
- P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), n("circle", {
526
+ P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (n(), i("circle", {
520
527
  key: 1,
521
528
  cx: t.midPointLine.x,
522
529
  cy: t.midPointLine.y,
523
530
  fill: x(t),
524
- r: y.value,
531
+ r: h.value,
525
532
  stroke: l.value.style.backgroundColor,
526
533
  "stroke-width": "1"
527
534
  }, null, 8, Kt)) : f("", !0),
528
- P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), n("text", {
535
+ P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (n(), i("text", {
529
536
  key: 2,
530
537
  x: t.midPointLine.x,
531
- y: t.midPointLine.y + y.value / 3,
538
+ y: t.midPointLine.y + h.value / 3,
532
539
  fill: o(Me)(x(t)),
533
540
  "text-anchor": "middle",
534
- "font-size": y.value
541
+ "font-size": h.value
535
542
  }, G(o(le)(
536
543
  l.value.style.weightLabels.formatter,
537
544
  t.weight,
@@ -545,7 +552,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
545
552
  )), 9, Qt)) : f("", !0)
546
553
  ]))), 256))
547
554
  ])),
548
- (i(!0), n($, null, O(k.value, (t, a) => (i(), n("text", {
555
+ (n(!0), i($, null, S(k.value, (t, a) => (n(), i("text", {
549
556
  key: `plot_text_${a}`,
550
557
  "text-anchor": Ze(t),
551
558
  transform: lt(t),
@@ -555,16 +562,16 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
555
562
  "transform-origin": "start",
556
563
  "font-weight": d.value.id === t.id ? "900" : "400",
557
564
  style: z(`font-family:${l.value.style.fontFamily};${tt(t)}`),
558
- "font-size": I.value,
565
+ "font-size": M.value,
559
566
  fill: l.value.style.labels.color,
560
567
  "text-decoration": a === R.value ? "underline" : void 0,
561
- onClick: (c) => _e(t, a),
568
+ onClick: (c) => Ce(t, a),
562
569
  onMouseenter: (c) => $e(t, a),
563
570
  onMouseleave: (c) => Ae(t, a)
564
571
  }, [
565
- o(ce) ? (i(), n($, { key: 0 }, [
572
+ o(ce) ? (n(), i($, { key: 0 }, [
566
573
  ze(" -------- ")
567
- ], 64)) : (i(), n($, { key: 1 }, [
574
+ ], 64)) : (n(), i($, { key: 1 }, [
568
575
  ze(G(t.label) + " (" + G(o(le)(
569
576
  l.value.style.weightLabels.formatter,
570
577
  t.totalWeight,
@@ -578,7 +585,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
578
585
  )) + ") ", 1)
579
586
  ], 64))
580
587
  ], 44, Zt))), 128)),
581
- (i(!0), n($, null, O(k.value, (t, a) => (i(), n("circle", {
588
+ (n(!0), i($, null, S(k.value, (t, a) => (n(), i("circle", {
582
589
  cx: t.x,
583
590
  cy: t.y,
584
591
  key: `plot_${a}`,
@@ -588,27 +595,27 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["c
588
595
  stroke: l.value.style.backgroundColor,
589
596
  "stroke-width": "1",
590
597
  r: F.value * (a === R.value ? 2 : 1),
591
- onClick: (c) => _e(t, a),
598
+ onClick: (c) => Ce(t, a),
592
599
  onMouseenter: (c) => $e(t, a),
593
600
  onMouseleave: (c) => Ae(t, a)
594
601
  }, null, 44, el))), 128)),
595
- h(e.$slots, "svg", { svg: u.value }, void 0, !0)
602
+ y(e.$slots, "svg", { svg: u.value }, void 0, !0)
596
603
  ], 10, jt)),
597
- e.$slots.watermark ? (i(), n("div", tl, [
598
- h(e.$slots, "watermark", U(D({ isPrinting: o(fe) || o(ge) })), void 0, !0)
604
+ e.$slots.watermark ? (n(), i("div", tl, [
605
+ y(e.$slots, "watermark", U(D({ isPrinting: o(fe) || o(ge) })), void 0, !0)
599
606
  ])) : f("", !0),
600
- e.$slots.source ? (i(), n("div", {
607
+ e.$slots.source ? (n(), i("div", {
601
608
  key: 5,
602
609
  ref_key: "source",
603
610
  ref: oe,
604
611
  dir: "auto"
605
612
  }, [
606
- h(e.$slots, "source", {}, void 0, !0)
613
+ y(e.$slots, "source", {}, void 0, !0)
607
614
  ], 512)) : f("", !0),
608
- o(ce) ? (i(), j(zt, { key: 6 })) : f("", !0)
615
+ o(ce) ? (n(), j(zt, { key: 6 })) : f("", !0)
609
616
  ], 44, Nt));
610
617
  }
611
- }, ml = /* @__PURE__ */ Tt(ll, [["__scopeId", "data-v-21882da7"]]);
618
+ }, ml = /* @__PURE__ */ Tt(ll, [["__scopeId", "data-v-81f56cbf"]]);
612
619
  export {
613
620
  ml as default
614
621
  };
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as M, computed as c, ref as i, shallowRef as rt, toRefs as sa, onBeforeUnmount as ut, watch as K, nextTick as $e, watchEffect as na, createElementBlock as r, openBlock as n, unref as u, normalizeStyle as w, normalizeClass as oe, createBlock as S, createCommentVNode as h, renderSlot as p, createElementVNode as y, createSlots as _e, withCtx as g, normalizeProps as se, guardReactiveProps as ne, createVNode as Se, Fragment as m, renderList as k, mergeProps as Te, toDisplayString as R, resolveDynamicComponent as ra, createTextVNode as Pe } from "vue";
2
- import { c as Oe, t as ua, e as ia, h as ca, p as re, ak as it, C as va, B as ct, z as ha, a9 as da, X as ya, J as ga, M as fa, a as ue, d as ie, b as ma, f as Me, g as vt, o as pa, P as ba, Q as xa, a4 as ka } from "./lib-C_mNZmhD.js";
2
+ import { c as Oe, t as ua, e as ia, h as ca, p as re, ak as it, C as va, B as ct, z as ha, a9 as da, X as ya, J as ga, M as fa, a as ue, d as ie, b as pa, f as Me, g as vt, o as ma, P as ba, Q as xa, a4 as ka } from "./lib-C_mNZmhD.js";
3
3
  import { t as ht, u as Aa } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Ca, a as dt } from "./useNestedProp-BjZe1Y85.js";
5
5
  import { u as wa, B as $a } from "./BaseScanner-BgWxam9d.js";
@@ -36,7 +36,7 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
36
36
  },
37
37
  emits: ["selectLegend", "selectDatapoint", "selectX"],
38
38
  setup(yt, { expose: gt, emit: ft }) {
39
- const mt = M(() => import("./vue-ui-xy-BDc2EKMr.js")), pt = M(() => import("./BaseIcon-BmMbm4d0.js")), bt = M(() => import("./vue-ui-accordion-CZ0thhxa.js")), xt = M(() => import("./DataTable-BT7VF2ua.js")), kt = M(() => import("./PenAndPaper-DSvu9dwa.js")), At = M(() => import("./UserOptions-CnzumGJj.js")), Ct = M(() => import("./PackageVersion-BSldVhnp.js")), Le = M(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_ridgeline: wt } = Ca(), E = yt, U = c({
39
+ const pt = M(() => import("./vue-ui-xy-BI5stV8f.js")), mt = M(() => import("./BaseIcon-BmMbm4d0.js")), bt = M(() => import("./vue-ui-accordion-CZ0thhxa.js")), xt = M(() => import("./DataTable-BT7VF2ua.js")), kt = M(() => import("./PenAndPaper-DSvu9dwa.js")), At = M(() => import("./UserOptions-CGnQt6Fd.js")), Ct = M(() => import("./PackageVersion-D-auaEEJ.js")), Le = M(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_ridgeline: wt } = Ca(), E = yt, U = c({
40
40
  get() {
41
41
  return Array.isArray(z.value) && z.value.length > 0;
42
42
  },
@@ -54,10 +54,10 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
54
54
  userConfig: La.vue_ui_ridgeline[t.theme] || E.config,
55
55
  defaultConfig: t
56
56
  }),
57
- customPalette: ma[t.theme] || re
57
+ customPalette: pa[t.theme] || re
58
58
  } : t;
59
59
  }
60
- const e = i(fe()), { loading: G, FINAL_DATASET: z, manualLoading: me } = wa({
60
+ const e = i(fe()), { loading: G, FINAL_DATASET: z, manualLoading: pe } = wa({
61
61
  ...sa(E),
62
62
  FINAL_CONFIG: e,
63
63
  prepareConfig: fe,
@@ -199,11 +199,11 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
199
199
  userOptionsVisible: Z,
200
200
  setUserOptionsVisibility: Be,
201
201
  keepUserOptionState: He
202
- } = Pa({ config: e.value }), { svgRef: ee } = Oa({ config: e.value.style.chart.title }), pe = c(() => !!e.value.debug);
202
+ } = Pa({ config: e.value }), { svgRef: ee } = Oa({ config: e.value.style.chart.title }), me = c(() => !!e.value.debug);
203
203
  function Xe() {
204
204
  const t = z.value || [];
205
205
  if (!Array.isArray(t) || t.length === 0) {
206
- Me({ componentName: "VueUiRidgeline", type: "dataset", debug: pe.value }), me.value = !0;
206
+ Me({ componentName: "VueUiRidgeline", type: "dataset", debug: me.value }), pe.value = !0;
207
207
  return;
208
208
  }
209
209
  if (t.forEach((o, a) => {
@@ -216,7 +216,7 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
216
216
  type: "datasetSerieAttribute",
217
217
  property: s,
218
218
  index: a,
219
- debug: pe.value
219
+ debug: me.value
220
220
  });
221
221
  }), Array.isArray(o.datapoints) && o.datapoints.length && o.datapoints.forEach((s, l) => {
222
222
  vt({
@@ -228,14 +228,14 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
228
228
  type: "datasetSerieAttribute",
229
229
  property: `datapoint.${v}`,
230
230
  index: `${a}-${l}`,
231
- debug: pe.value
231
+ debug: me.value
232
232
  });
233
233
  });
234
234
  });
235
235
  }), _t.value = t.length, C.value = Math.min(
236
236
  e.value.style.chart.areas.height,
237
237
  e.value.style.chart.areas.rowHeight
238
- ), pa(E.dataset) || (me.value = e.value.loading), e.value.responsive) {
238
+ ), ma(E.dataset) || (pe.value = e.value.loading), e.value.responsive) {
239
239
  const o = ht(() => {
240
240
  const { width: a, height: s } = Aa({
241
241
  chart: $.value,
@@ -269,7 +269,7 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
269
269
  },
270
270
  { deep: !0, immediate: !0 }
271
271
  ), K(() => E.dataset, (t) => {
272
- Array.isArray(t) && t.length > 0 && (me.value = !1);
272
+ Array.isArray(t) && t.length > 0 && (pe.value = !1);
273
273
  }, { deep: !0 }), K(
274
274
  () => G.value,
275
275
  async (t) => {
@@ -763,26 +763,33 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
763
763
  ]),
764
764
  key: "4"
765
765
  } : void 0,
766
+ t.$slots.optionSvg ? {
767
+ name: "optionSvg",
768
+ fn: g(() => [
769
+ p(t.$slots, "optionSvg", {}, void 0, !0)
770
+ ]),
771
+ key: "5"
772
+ } : void 0,
766
773
  t.$slots.optionTable ? {
767
774
  name: "optionTable",
768
775
  fn: g(() => [
769
776
  p(t.$slots, "optionTable", {}, void 0, !0)
770
777
  ]),
771
- key: "5"
778
+ key: "6"
772
779
  } : void 0,
773
780
  t.$slots.optionFullscreen ? {
774
781
  name: "optionFullscreen",
775
782
  fn: g(({ toggleFullscreen: a, isFullscreen: s }) => [
776
783
  p(t.$slots, "optionFullscreen", se(ne({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
777
784
  ]),
778
- key: "6"
785
+ key: "7"
779
786
  } : void 0,
780
787
  t.$slots.optionAnnotator ? {
781
788
  name: "optionAnnotator",
782
789
  fn: g(({ toggleAnnotator: a, isAnnotator: s }) => [
783
790
  p(t.$slots, "optionAnnotator", se(ne({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
784
791
  ]),
785
- key: "7"
792
+ key: "8"
786
793
  } : void 0
787
794
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "printScale", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "tableDialog", "style", "onGeneratePdf", "onGenerateImage"])) : h("", !0),
788
795
  (n(), r("svg", {
@@ -1187,7 +1194,7 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
1187
1194
  class: "vue-ui-user-options-button",
1188
1195
  onClick: o[1] || (o[1] = (a) => we(e.value.userOptions.callbacks.csv))
1189
1196
  }, [
1190
- Se(u(pt), {
1197
+ Se(u(mt), {
1191
1198
  name: "excel",
1192
1199
  stroke: j.value.props.color
1193
1200
  }, null, 8, ["stroke"])
@@ -1213,7 +1220,7 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
1213
1220
  Pe(R(B.value.name), 1)
1214
1221
  ]),
1215
1222
  content: g(() => [
1216
- B.value ? (n(), S(u(mt), {
1223
+ B.value ? (n(), S(u(pt), {
1217
1224
  key: 0,
1218
1225
  config: Qe.value,
1219
1226
  dataset: Ke.value
@@ -1224,7 +1231,7 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
1224
1231
  u(G) ? (n(), S($a, { key: 8 })) : h("", !0)
1225
1232
  ], 46, Ra));
1226
1233
  }
1227
- }, Ll = /* @__PURE__ */ Fa(yl, [["__scopeId", "data-v-0a6ef1d2"]]);
1234
+ }, Ll = /* @__PURE__ */ Fa(yl, [["__scopeId", "data-v-36456620"]]);
1228
1235
  export {
1229
1236
  Ll as default
1230
1237
  };