vue-data-ui 3.19.7 → 3.19.9

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 (131) hide show
  1. package/README.md +1 -1
  2. package/dist/{PackageVersion-DUU5Aku2.js → PackageVersion-Dl9W5zJD.js} +1 -1
  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-bump.js +1 -1
  7. package/dist/components/vue-ui-candlestick.js +1 -1
  8. package/dist/components/vue-ui-carousel-table.js +1 -1
  9. package/dist/components/vue-ui-chestnut.js +1 -1
  10. package/dist/components/vue-ui-chord.js +1 -1
  11. package/dist/components/vue-ui-circle-pack.js +1 -1
  12. package/dist/components/vue-ui-cursor.js +1 -1
  13. package/dist/components/vue-ui-dag.js +1 -1
  14. package/dist/components/vue-ui-dashboard.js +1 -1
  15. package/dist/components/vue-ui-digits.js +1 -1
  16. package/dist/components/vue-ui-donut-evolution.js +1 -1
  17. package/dist/components/vue-ui-donut.js +1 -1
  18. package/dist/components/vue-ui-dumbbell.js +1 -1
  19. package/dist/components/vue-ui-flow.js +1 -1
  20. package/dist/components/vue-ui-funnel.js +1 -1
  21. package/dist/components/vue-ui-galaxy.js +1 -1
  22. package/dist/components/vue-ui-gauge.js +1 -1
  23. package/dist/components/vue-ui-geo.js +1 -1
  24. package/dist/components/vue-ui-gizmo.js +1 -1
  25. package/dist/components/vue-ui-heatmap.js +1 -1
  26. package/dist/components/vue-ui-history-plot.js +1 -1
  27. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  28. package/dist/components/vue-ui-kpi.js +1 -1
  29. package/dist/components/vue-ui-molecule.js +1 -1
  30. package/dist/components/vue-ui-mood-radar.js +1 -1
  31. package/dist/components/vue-ui-nested-donuts.js +1 -1
  32. package/dist/components/vue-ui-onion.js +1 -1
  33. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  34. package/dist/components/vue-ui-quadrant.js +1 -1
  35. package/dist/components/vue-ui-quick-chart.js +1 -1
  36. package/dist/components/vue-ui-radar.js +1 -1
  37. package/dist/components/vue-ui-relation-circle.js +1 -1
  38. package/dist/components/vue-ui-ridgeline.js +1 -1
  39. package/dist/components/vue-ui-rings.js +1 -1
  40. package/dist/components/vue-ui-scatter.js +1 -1
  41. package/dist/components/vue-ui-skeleton.js +1 -1
  42. package/dist/components/vue-ui-spark-trend.js +1 -1
  43. package/dist/components/vue-ui-sparkbar.js +1 -1
  44. package/dist/components/vue-ui-sparkgauge.js +1 -1
  45. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  46. package/dist/components/vue-ui-sparkline.js +1 -1
  47. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  48. package/dist/components/vue-ui-stackbar.js +1 -1
  49. package/dist/components/vue-ui-stackline.js +1 -1
  50. package/dist/components/vue-ui-strip-plot.js +1 -1
  51. package/dist/components/vue-ui-table-sparkline.js +1 -1
  52. package/dist/components/vue-ui-table.js +1 -1
  53. package/dist/components/vue-ui-thermometer.js +1 -1
  54. package/dist/components/vue-ui-timer.js +1 -1
  55. package/dist/components/vue-ui-tiremarks.js +1 -1
  56. package/dist/components/vue-ui-treemap.js +1 -1
  57. package/dist/components/vue-ui-vertical-bar.js +1 -1
  58. package/dist/components/vue-ui-waffle.js +1 -1
  59. package/dist/components/vue-ui-wheel.js +1 -1
  60. package/dist/components/vue-ui-word-cloud.js +1 -1
  61. package/dist/components/vue-ui-world.js +1 -1
  62. package/dist/components/vue-ui-xy-canvas.js +1 -1
  63. package/dist/components/vue-ui-xy.js +1 -1
  64. package/dist/style.css +1 -1
  65. package/dist/types/vue-ui-dag.d.ts +2 -0
  66. package/dist/{vue-data-ui-DBjj6t8B.js → vue-data-ui-nsosW-n5.js} +61 -61
  67. package/dist/vue-data-ui.js +61 -61
  68. package/dist/{vue-ui-3d-bar-CmAc1xBL.js → vue-ui-3d-bar-CTvvvgBE.js} +1 -1
  69. package/dist/{vue-ui-age-pyramid-CFvux3-S.js → vue-ui-age-pyramid-ckZtLlmH.js} +1 -1
  70. package/dist/{vue-ui-bullet-C4xEb3fq.js → vue-ui-bullet-3CkhGOSb.js} +1 -1
  71. package/dist/{vue-ui-bump-BW76g7ep.js → vue-ui-bump-LQuPTOlm.js} +1 -1
  72. package/dist/{vue-ui-candlestick-ShTn9uzH.js → vue-ui-candlestick-BeO06tlH.js} +1 -1
  73. package/dist/{vue-ui-carousel-table-DMan_IZb.js → vue-ui-carousel-table-nZJ1k6se.js} +1 -1
  74. package/dist/{vue-ui-chestnut-BIfaNOqy.js → vue-ui-chestnut-BWItE1hg.js} +1 -1
  75. package/dist/{vue-ui-chord-GDJiAjfD.js → vue-ui-chord-YflKRyWK.js} +1 -1
  76. package/dist/{vue-ui-circle-pack-Bo4ljiP_.js → vue-ui-circle-pack-DyTYvEg3.js} +1 -1
  77. package/dist/{vue-ui-cursor-BuLoDOFw.js → vue-ui-cursor-C5_wkWul.js} +1 -1
  78. package/dist/{vue-ui-dag-BmbwijZi.js → vue-ui-dag-mH0baWM3.js} +1 -1
  79. package/dist/{vue-ui-dashboard-CyzIaw6M.js → vue-ui-dashboard-F7pEuJDh.js} +58 -58
  80. package/dist/{vue-ui-digits-B33dTRHj.js → vue-ui-digits-BYBtwXy_.js} +1 -1
  81. package/dist/{vue-ui-donut-BIgvjStd.js → vue-ui-donut-B3L7jeHL.js} +434 -432
  82. package/dist/{vue-ui-donut-evolution-DT5F88LK.js → vue-ui-donut-evolution-C46h0gLy.js} +356 -356
  83. package/dist/{vue-ui-dumbbell-SwLKpHuh.js → vue-ui-dumbbell-xekp1obI.js} +1 -1
  84. package/dist/{vue-ui-flow-BqTUyRBS.js → vue-ui-flow-BYYyk5KL.js} +1 -1
  85. package/dist/{vue-ui-funnel-GOx4FfhB.js → vue-ui-funnel-BfY509t-.js} +1 -1
  86. package/dist/{vue-ui-galaxy-CTMyOfp7.js → vue-ui-galaxy-D061gTYS.js} +260 -257
  87. package/dist/{vue-ui-gauge-Clz_TmiX.js → vue-ui-gauge-BRxZNBBS.js} +1 -1
  88. package/dist/{vue-ui-geo-2kZK_UVF.js → vue-ui-geo-BwOMFUVr.js} +1 -1
  89. package/dist/{vue-ui-gizmo-BpNEwLo7.js → vue-ui-gizmo-CQsP8Nd3.js} +1 -1
  90. package/dist/{vue-ui-heatmap-B6FLZij5.js → vue-ui-heatmap-DOsulVoP.js} +1 -1
  91. package/dist/{vue-ui-history-plot-DpGwqYyg.js → vue-ui-history-plot-CXW6lF42.js} +4 -8
  92. package/dist/{vue-ui-horizontal-bar-BHFd966c.js → vue-ui-horizontal-bar-CideXtlg.js} +4 -4
  93. package/dist/{vue-ui-kpi-DyIqCISK.js → vue-ui-kpi-CE-JFZ1o.js} +1 -1
  94. package/dist/{vue-ui-molecule-BtQOQ32e.js → vue-ui-molecule-B1Prm5Lk.js} +1 -1
  95. package/dist/{vue-ui-mood-radar-CZSLnIMi.js → vue-ui-mood-radar-B29gVcTN.js} +1 -1
  96. package/dist/{vue-ui-nested-donuts-Lhteboo1.js → vue-ui-nested-donuts-Bsx5f9Gv.js} +97 -94
  97. package/dist/{vue-ui-onion-uCUgmyF1.js → vue-ui-onion-MN-PjNJq.js} +3 -3
  98. package/dist/{vue-ui-parallel-coordinate-plot-_u_VTAjF.js → vue-ui-parallel-coordinate-plot-C9zU7MP5.js} +91 -95
  99. package/dist/{vue-ui-quadrant-CgalDMyS.js → vue-ui-quadrant-h-QFG9O4.js} +3 -3
  100. package/dist/vue-ui-quick-chart-PAVz4c9z.js +2469 -0
  101. package/dist/{vue-ui-radar-64HPFASp.js → vue-ui-radar-D2pVd53z.js} +115 -112
  102. package/dist/{vue-ui-relation-circle-DT4So4-6.js → vue-ui-relation-circle-BjB0J53V.js} +1 -1
  103. package/dist/{vue-ui-ridgeline-5fZANTS9.js → vue-ui-ridgeline-DamvqiyJ.js} +3 -3
  104. package/dist/{vue-ui-rings-QFY794j3.js → vue-ui-rings-DkHS5dwd.js} +105 -102
  105. package/dist/{vue-ui-scatter-BPCY-u36.js → vue-ui-scatter-dFDowCVQ.js} +5 -5
  106. package/dist/{vue-ui-skeleton-Dj_ZVfSX.js → vue-ui-skeleton-zhkS1cmh.js} +1 -1
  107. package/dist/{vue-ui-spark-trend-DB0VHzm0.js → vue-ui-spark-trend-fQ10-UvM.js} +1 -1
  108. package/dist/{vue-ui-sparkbar-DVGRTFO5.js → vue-ui-sparkbar-D5toou8V.js} +1 -1
  109. package/dist/{vue-ui-sparkgauge-3UFZaDF9.js → vue-ui-sparkgauge-DRZcIPYf.js} +1 -1
  110. package/dist/{vue-ui-sparkhistogram-DRmBVef7.js → vue-ui-sparkhistogram-YizEqFdN.js} +1 -1
  111. package/dist/{vue-ui-sparkline-vsqKnakQ.js → vue-ui-sparkline-w2nclIW0.js} +1 -1
  112. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +662 -0
  113. package/dist/{vue-ui-stackbar-9jP1s0MN.js → vue-ui-stackbar-BFLCEsRk.js} +404 -404
  114. package/dist/{vue-ui-stackline-D1o_afno.js → vue-ui-stackline-CU6s-hhv.js} +125 -125
  115. package/dist/{vue-ui-strip-plot-CogQ8VSl.js → vue-ui-strip-plot-ByaDLFSL.js} +1 -1
  116. package/dist/{vue-ui-table-Bub1v0eM.js → vue-ui-table-DuA_CfGn.js} +2 -2
  117. package/dist/{vue-ui-table-sparkline-BPts9wTR.js → vue-ui-table-sparkline-Dfei_QrJ.js} +1 -1
  118. package/dist/{vue-ui-thermometer-CJJ4cVt0.js → vue-ui-thermometer-biw3ivMI.js} +1 -1
  119. package/dist/{vue-ui-timer-BEPXWd20.js → vue-ui-timer-9LNNDl4q.js} +1 -1
  120. package/dist/{vue-ui-tiremarks-BC7bLLQD.js → vue-ui-tiremarks-kF0Baqia.js} +1 -1
  121. package/dist/{vue-ui-treemap-Cja-vZoa.js → vue-ui-treemap-BexKMBhz.js} +373 -373
  122. package/dist/{vue-ui-waffle-BRj-YBlz.js → vue-ui-waffle-Dq50j_uw.js} +1 -1
  123. package/dist/{vue-ui-wheel-AOTFpTWN.js → vue-ui-wheel-BETHlWsO.js} +1 -1
  124. package/dist/{vue-ui-word-cloud-dqfAdhW-.js → vue-ui-word-cloud-D1AQtzmT.js} +1 -1
  125. package/dist/{vue-ui-world-DqwsIYze.js → vue-ui-world-CcgbuSp_.js} +1 -1
  126. package/dist/vue-ui-xy-BQ1YONCq.js +4219 -0
  127. package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-4ABYnasj.js} +3 -3
  128. package/package.json +1 -1
  129. package/dist/vue-ui-quick-chart-BAWcSaDB.js +0 -2471
  130. package/dist/vue-ui-sparkstackbar-BNUhunuQ.js +0 -662
  131. package/dist/vue-ui-xy-Dhult6gR.js +0 -4181
@@ -103,7 +103,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
103
103
  },
104
104
  emits: ["selectLegend", "copyAlt"],
105
105
  setup(e, { expose: Ce, emit: Ge }) {
106
- let bt = m(() => import("./Tooltip-CuWEYGr3.js")), xt = m(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), St = m(() => import("./vue-ui-sparkbar-DVGRTFO5.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), wt = m(() => import("./DataTable-DmE8Oo4i.js")), Tt = m(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Et = m(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-DUU5Aku2.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_radar: kt } = me(), { isThemeValid: At, warnInvalidTheme: jt } = be(), E = e, Mt = l(() => !!E.dataset && Object.keys(E.dataset).length), D = b(r()), O = b(!1), Nt = b(""), Pt = b(0), k = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(null), zt = b(0), Bt = b(0), Vt = b(0), Ht = b(!1), A = b(null), Ut = b(null), Wt = b(!1), Gt = b(!1), j = b(null), Kt = b({
106
+ let bt = m(() => import("./Tooltip-CuWEYGr3.js")), xt = m(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), St = m(() => import("./vue-ui-sparkbar-D5toou8V.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), wt = m(() => import("./DataTable-DmE8Oo4i.js")), Tt = m(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Et = m(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_radar: kt } = me(), { isThemeValid: At, warnInvalidTheme: jt } = be(), E = e, Mt = l(() => !!E.dataset && Object.keys(E.dataset).length), D = b(r()), O = b(!1), Nt = b(""), Pt = b(0), k = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(null), zt = b(0), Bt = b(0), Vt = b(0), Ht = b(!1), A = b(null), Ut = b(null), Wt = b(!1), Gt = b(!1), j = b(null), Kt = b({
107
107
  x: 0,
108
108
  y: 0
109
109
  }), M = b("pointer"), qt = b(!1), N = b($t()), P = l(() => N.value.userOptions.useCursorPointer), Jt = l(() => pe({
@@ -212,12 +212,12 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
212
212
  noTitle: Rt.value
213
213
  });
214
214
  requestAnimationFrame(() => {
215
- V.value.width = e, V.value.height = t, wn();
215
+ V.value.width = e, V.value.height = t, Tn();
216
216
  });
217
217
  });
218
218
  L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = k.value.parentNode, L.value.observe(R.value);
219
219
  }
220
- wn();
220
+ Tn();
221
221
  }
222
222
  Be(() => {
223
223
  Ht.value = !0, en();
@@ -253,27 +253,30 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
253
253
  function un() {
254
254
  H.value.length ? H.value = [] : J.value.forEach((e, t) => {
255
255
  H.value.push(t);
256
- });
256
+ }), dn();
257
257
  }
258
- function dn(e) {
259
- W.value = !0, H.value.includes(e) ? (U.value = e, H.value = H.value.filter((t) => t !== e), setTimeout(() => {
260
- W.value = !1, U.value = null;
261
- }, 500)) : (H.value.push(e), setTimeout(() => {
262
- W.value = !1;
263
- }, 500)), ln("selectLegend", J.value.filter((e, t) => !H.value.includes(t)).map((e) => ({
258
+ function dn() {
259
+ ln("selectLegend", J.value.filter((e, t) => !H.value.includes(t)).map((e) => ({
264
260
  name: e.name,
265
261
  color: e.color,
266
262
  proportion: e.totalProportion
267
263
  })));
268
264
  }
269
- function fn() {
265
+ function fn(e) {
266
+ W.value = !0, H.value.includes(e) ? (U.value = e, H.value = H.value.filter((t) => t !== e), setTimeout(() => {
267
+ W.value = !1, U.value = null;
268
+ }, 500)) : (H.value.push(e), setTimeout(() => {
269
+ W.value = !1;
270
+ }, 500)), dn();
271
+ }
272
+ function pn() {
270
273
  return J.value.map((e) => ({
271
274
  name: e.name,
272
275
  color: e.color,
273
276
  proportion: e.totalProportion
274
277
  }));
275
278
  }
276
- function pn() {
279
+ function mn() {
277
280
  let e = F.value;
278
281
  if ([null, void 0].includes(e?.categories)) {
279
282
  s({
@@ -331,7 +334,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
331
334
  });
332
335
  });
333
336
  }
334
- We(() => F.value, () => pn(), {
337
+ We(() => F.value, () => mn(), {
335
338
  deep: !0,
336
339
  immediate: !0
337
340
  });
@@ -351,36 +354,36 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
351
354
  formatter: e.formatter || null,
352
355
  absoluteIndex: t
353
356
  })));
354
- function mn(e) {
355
- return K.value.length ? J.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
356
- }
357
357
  function hn(e) {
358
- let t = mn(e);
359
- t !== null && H.value.includes(t.absoluteIndex) && dn(t.absoluteIndex);
358
+ return K.value.length ? J.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
360
359
  }
361
360
  function gn(e) {
362
- let t = mn(e);
363
- t !== null && (H.value.includes(t.absoluteIndex) || dn(t.absoluteIndex));
361
+ let t = hn(e);
362
+ t !== null && H.value.includes(t.absoluteIndex) && fn(t.absoluteIndex);
364
363
  }
365
- let _n = l(() => Math.max(...K.value.flatMap((e) => e.values))), vn = l(() => K.value.length), yn = l(() => Math.min(V.value.width, V.value.height) / 3), bn = l(() => t({
364
+ function _n(e) {
365
+ let t = hn(e);
366
+ t !== null && (H.value.includes(t.absoluteIndex) || fn(t.absoluteIndex));
367
+ }
368
+ let vn = l(() => Math.max(...K.value.flatMap((e) => e.values))), yn = l(() => K.value.length), bn = l(() => Math.min(V.value.width, V.value.height) / 3), xn = l(() => t({
366
369
  plot: {
367
370
  x: V.value.width / 2,
368
371
  y: V.value.height / 2
369
372
  },
370
- radius: yn.value,
371
- sides: vn.value,
373
+ radius: bn.value,
374
+ sides: yn.value,
372
375
  rotation: 0
373
- })), xn = l(() => {
376
+ })), Sn = l(() => {
374
377
  let e = [];
375
- for (let t = 0; t < yn.value; t += yn.value / N.value.style.chart.layout.grid.graduations) e.push(t);
378
+ for (let t = 0; t < bn.value; t += bn.value / N.value.style.chart.layout.grid.graduations) e.push(t);
376
379
  return e;
377
- }), q = l(() => bn.value.coordinates.map((e, t) => {
378
- let n = K.value[t].values.map((n) => Tn({
380
+ }), q = l(() => xn.value.coordinates.map((e, t) => {
381
+ let n = K.value[t].values.map((n) => En({
379
382
  centerX: V.value.width / 2,
380
383
  centerY: V.value.height / 2,
381
384
  apexX: e.x,
382
385
  apexY: e.y,
383
- proportion: n / (K.value[t].target || _n.value)
386
+ proportion: n / (K.value[t].target || vn.value)
384
387
  }));
385
388
  return {
386
389
  ...e,
@@ -389,11 +392,11 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
389
392
  };
390
393
  }).map((e) => ({
391
394
  ...e,
392
- labelX: Sn(e).x,
393
- labelY: Sn(e).y,
394
- labelAnchor: Sn(e).anchor
395
+ labelX: Cn(e).x,
396
+ labelY: Cn(e).y,
397
+ labelAnchor: Cn(e).anchor
395
398
  })));
396
- function Sn({ x: e, y: t }) {
399
+ function Cn({ x: e, y: t }) {
397
400
  let n = "middle";
398
401
  return e = Math.round(e), t = Math.round(t), e > V.value.width / 2 && (e += 12, n = "start"), e < V.value.width / 2 && (e -= 12, n = "end"), t > V.value.height / 2 + 1 && (t += 20), t < V.value.height / 2 - 1 && (t -= 12), t === V.value.height / 2 && (t += 4), {
399
402
  x: e,
@@ -401,24 +404,24 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
401
404
  anchor: n
402
405
  };
403
406
  }
404
- let Cn = l({
407
+ let wn = l({
405
408
  get: () => N.value.style.chart.layout.labels.dataLabels.fontSize,
406
409
  set: (e) => e
407
- }), { autoSizeLabels: wn } = je({
410
+ }), { autoSizeLabels: Tn } = je({
408
411
  svgRef: I,
409
412
  fontSize: N.value.style.chart.layout.labels.dataLabels.fontSize,
410
413
  minFontSize: 6,
411
- sizeRef: Cn,
414
+ sizeRef: wn,
412
415
  labelClass: ".vue-ui-radar-apex-label"
413
416
  });
414
- function Tn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
417
+ function En({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
415
418
  return {
416
419
  x: e + (n - e) * i,
417
420
  y: t + (r - t) * i
418
421
  };
419
422
  }
420
423
  let J = l(() => {
421
- let e = K.value.map((e, t) => e.values.map((t) => t / (e.target || _n.value)));
424
+ let e = K.value.map((e, t) => e.values.map((t) => t / (e.target || vn.value)));
422
425
  return G.value.map((t, r) => {
423
426
  let i = le(e.map((e) => e[r]).reduce((e, t) => e + t, 0) / K.value.length);
424
427
  return {
@@ -427,7 +430,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
427
430
  totalProportion: i,
428
431
  shape: "circle",
429
432
  opacity: H.value.includes(r) ? .5 : 1,
430
- segregate: () => dn(r),
433
+ segregate: () => fn(r),
431
434
  isSegregated: H.value.includes(r),
432
435
  display: `${t.name}: ${n({
433
436
  v: (i ?? 0) * 100,
@@ -436,7 +439,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
436
439
  })}`
437
440
  };
438
441
  });
439
- }), En = l(() => ({
442
+ }), Dn = l(() => ({
440
443
  cy: "radar-div-legend",
441
444
  backgroundColor: N.value.style.chart.legend.backgroundColor,
442
445
  color: N.value.style.chart.legend.color,
@@ -491,26 +494,26 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
491
494
  },
492
495
  colNames: e
493
496
  };
494
- }), X = b(null), Dn = b([]), On = b(null);
495
- function kn(e, t) {
497
+ }), X = b(null), On = b([]), kn = b(null);
498
+ function An(e, t) {
496
499
  O.value = !1, X.value = null, j.value = null, M.value = "pointer", N.value.events.datapointLeave && N.value.events.datapointLeave({
497
500
  datapoint: e,
498
501
  seriesIndex: t
499
502
  });
500
503
  }
501
- function An(e, t) {
504
+ function jn(e, t) {
502
505
  N.value.events.datapointClick && N.value.events.datapointClick({
503
506
  datapoint: e,
504
507
  seriesIndex: t
505
508
  });
506
509
  }
507
- function jn(e, t, r = "pointer") {
510
+ function Mn(e, t, r = "pointer") {
508
511
  N.value.events.datapointEnter && N.value.events.datapointEnter({
509
512
  datapoint: e,
510
513
  seriesIndex: t
511
514
  }), M.value = r, j.value = t;
512
515
  let i = G.value.slice();
513
- Dn.value = [], X.value = t, O.value = !0, On.value = {
516
+ On.value = [], X.value = t, O.value = !0, kn.value = {
514
517
  datapoint: e,
515
518
  seriesIndex: t,
516
519
  series: {
@@ -555,7 +558,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
555
558
  s: "%",
556
559
  r: N.value.style.chart.tooltip.roundingPercentage
557
560
  }), o = N.value.style.chart.tooltip.showValue && N.value.style.chart.tooltip.showPercentage ? `${te} (${ne})` : N.value.style.chart.tooltip.showValue && !N.value.style.chart.tooltip.showPercentage ? te : !N.value.style.chart.tooltip.showValue && N.value.style.chart.tooltip.showPercentage ? `${ne}` : "";
558
- Dn.value.push({
561
+ On.value.push({
559
562
  name: r?.name ?? `#${t + 1}`,
560
563
  value: e.values[t] / e.target * 100,
561
564
  color: r?.color,
@@ -566,7 +569,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
566
569
  });
567
570
  }
568
571
  }
569
- function Mn(e = null) {
572
+ function Nn(e = null) {
570
573
  Re(() => {
571
574
  let t = [
572
575
  [N.value.style.chart.title.text],
@@ -588,20 +591,20 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
588
591
  });
589
592
  }
590
593
  let Z = b(!1);
591
- function Nn(e) {
594
+ function Pn(e) {
592
595
  Z.value = e, Pt.value += 1;
593
596
  }
594
- function Pn() {
597
+ function Fn() {
595
598
  B.value.showTable = !B.value.showTable;
596
599
  }
597
- function Fn() {
600
+ function In() {
598
601
  B.value.showTooltip = !B.value.showTooltip;
599
602
  }
600
603
  let Q = b(!1);
601
- function In() {
604
+ function Ln() {
602
605
  Q.value = !Q.value;
603
606
  }
604
- async function Ln({ scale: e = 2 } = {}) {
607
+ async function Rn({ scale: e = 2 } = {}) {
605
608
  if (!k.value) return;
606
609
  let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
607
610
  domElement: k.value,
@@ -652,36 +655,36 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
652
655
  We(() => B.value.showTable, (e) => {
653
656
  N.value.table.show || (e && N.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
654
657
  });
655
- function Rn() {
658
+ function zn() {
656
659
  B.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
657
660
  }
658
- let zn = l(() => J.value.map((e) => ({
661
+ let Bn = l(() => J.value.map((e) => ({
659
662
  ...e,
660
663
  name: e.display
661
- }))), Bn = l(() => N.value.style.chart.backgroundColor), Vn = l(() => N.value.style.chart.legend), { exportSvg: Hn, getSvg: Un } = ve({
664
+ }))), Vn = l(() => N.value.style.chart.backgroundColor), Hn = l(() => N.value.style.chart.legend), { exportSvg: Un, getSvg: Wn } = ve({
662
665
  svg: I,
663
666
  title: l(() => N.value.style.chart.title),
664
- legend: Vn,
665
- legendItems: zn,
666
- backgroundColor: Bn
667
+ legend: Hn,
668
+ legendItems: Bn,
669
+ backgroundColor: Vn
667
670
  });
668
- async function Wn({ isCb: e }) {
671
+ async function Gn({ isCb: e }) {
669
672
  Gt.value = !0, await Re();
670
673
  try {
671
674
  if (e) {
672
- let { blob: e, url: t, text: n, dataUrl: r } = await Un();
675
+ let { blob: e, url: t, text: n, dataUrl: r } = await Wn();
673
676
  await Promise.resolve(N.value.userOptions.callbacks.svg({
674
677
  blob: e,
675
678
  url: t,
676
679
  text: n,
677
680
  dataUrl: r
678
681
  }));
679
- } else await Promise.resolve(Hn());
682
+ } else await Promise.resolve(Un());
680
683
  } finally {
681
684
  Gt.value = !1;
682
685
  }
683
686
  }
684
- function Gn(e) {
687
+ function Kn(e) {
685
688
  if (e?.stage === "start") {
686
689
  Wt.value = !0;
687
690
  return;
@@ -692,7 +695,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
692
695
  }
693
696
  an();
694
697
  }
695
- async function Kn() {
698
+ async function qn() {
696
699
  if (ln("copyAlt", {
697
700
  config: N.value,
698
701
  dataset: q.value
@@ -705,13 +708,13 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
705
708
  dataset: q.value
706
709
  }));
707
710
  }
708
- function qn() {
711
+ function Jn() {
709
712
  j.value = null, qt.value = !0;
710
713
  }
711
- function Jn() {
714
+ function Yn() {
712
715
  j.value = null, M.value = "pointer", O.value = !1, X.value = null, qt.value = !1;
713
716
  }
714
- function Yn(e) {
717
+ function Xn(e) {
715
718
  if (!Number.isFinite(e) || !I.value) return;
716
719
  let t = q.value[e];
717
720
  if (!t) return;
@@ -721,7 +724,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
721
724
  y: n.top + t.labelY / V.value.height * n.height
722
725
  };
723
726
  }
724
- function Xn(e) {
727
+ function Zn(e) {
725
728
  if (!I.value || Q.value || document.activeElement !== I.value || !q.value.length) return;
726
729
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
727
730
  if (!t && !n && !r && !i) return;
@@ -733,32 +736,32 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
733
736
  if (j.value === null) return;
734
737
  let e = q.value[j.value];
735
738
  if (!e) return;
736
- An(e, j.value);
739
+ jn(e, j.value);
737
740
  return;
738
741
  }
739
742
  let a = j.value;
740
743
  a === null || a < 0 || a >= q.value.length ? a = n ? 0 : q.value.length - 1 : n ? (a += 1, a >= q.value.length && (a = 0)) : t && (--a, a < 0 && (a = q.value.length - 1));
741
744
  let ee = q.value[a];
742
- ee && (j.value = a, Yn(a), jn(ee, a, "keyboard"));
745
+ ee && (j.value = a, Xn(a), Mn(ee, a, "keyboard"));
743
746
  }
744
- let Zn = l(() => ({
747
+ let Qn = l(() => ({
745
748
  headers: Y.value?.colNames?.map((e) => e.name ?? e) ?? [],
746
749
  rows: Y.value?.body ?? []
747
750
  }));
748
751
  return Ce({
749
- getData: fn,
750
- getImage: Ln,
752
+ getData: pn,
753
+ getImage: Rn,
751
754
  generatePdf: rn,
752
- generateCsv: Mn,
755
+ generateCsv: Nn,
753
756
  generateImage: an,
754
- generateSvg: Wn,
755
- hideSeries: gn,
756
- showSeries: hn,
757
- toggleTable: Pn,
758
- toggleTooltip: Fn,
759
- toggleAnnotator: In,
760
- toggleFullscreen: Nn,
761
- copyAlt: Kn
757
+ generateSvg: Gn,
758
+ hideSeries: _n,
759
+ showSeries: gn,
760
+ toggleTable: Fn,
761
+ toggleTooltip: In,
762
+ toggleAnnotator: Ln,
763
+ toggleFullscreen: Pn,
764
+ copyAlt: qn
762
765
  }), (e, n) => (y(), f("div", {
763
766
  class: g(`vue-data-ui-component vue-ui-radar ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
764
767
  ref_key: "radarChart",
@@ -772,11 +775,11 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
772
775
  id: `chart-instructions-${D.value}`,
773
776
  class: "sr-only"
774
777
  }, [p("p", null, C(N.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
775
- Zn.value?.rows?.length ? (y(), u(De, {
778
+ Qn.value?.rows?.length ? (y(), u(De, {
776
779
  key: 0,
777
780
  uid: D.value,
778
- head: Zn.value.headers,
779
- body: Zn.value.rows,
781
+ head: Qn.value.headers,
782
+ body: Qn.value.rows,
780
783
  notice: N.value.a11y.translations.tableAvailable,
781
784
  caption: N.value.a11y.translations.tableCaption
782
785
  }, null, 8, [
@@ -793,7 +796,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
793
796
  color: N.value.style.chart.color,
794
797
  active: Q.value,
795
798
  isCursorPointer: P.value,
796
- onClose: In
799
+ onClose: Ln
797
800
  }, {
798
801
  "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
799
802
  "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
@@ -863,15 +866,15 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
863
866
  printScale: N.value.userOptions.print.scale,
864
867
  tableDialog: N.value.table.useDialog,
865
868
  isCursorPointer: P.value,
866
- onToggleFullscreen: Nn,
869
+ onToggleFullscreen: Pn,
867
870
  onGeneratePdf: w(rn),
868
- onGenerateCsv: Mn,
869
- onGenerateImage: Gn,
870
- onGenerateSvg: Wn,
871
- onToggleTable: Pn,
872
- onToggleTooltip: Fn,
873
- onToggleAnnotator: In,
874
- onCopyAlt: Kn,
871
+ onGenerateCsv: Nn,
872
+ onGenerateImage: Kn,
873
+ onGenerateSvg: Gn,
874
+ onToggleTable: Fn,
875
+ onToggleTooltip: In,
876
+ onToggleAnnotator: Ln,
877
+ onCopyAlt: qn,
875
878
  style: v({ visibility: w(Qt) ? w(Xt) ? "visible" : "hidden" : "visible" })
876
879
  }, Pe({ _: 2 }, [
877
880
  e.$slots.menuIcon ? {
@@ -956,9 +959,9 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
956
959
  viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
957
960
  style: v(`max-width:100%;overflow:visible;background:transparent;color:${N.value.style.chart.color}`),
958
961
  tabindex: "0",
959
- onFocus: qn,
960
- onBlur: Jn,
961
- onKeydown: Xn
962
+ onFocus: Jn,
963
+ onBlur: Yn,
964
+ onKeydown: Zn
962
965
  }, [
963
966
  Ie(w(Dt)),
964
967
  e.$slots["chart-background"] ? (y(), f("foreignObject", {
@@ -990,14 +993,14 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
990
993
  y2: e.y,
991
994
  stroke: N.value.style.chart.layout.grid.stroke,
992
995
  "stroke-width": N.value.style.chart.layout.grid.strokeWidth
993
- }, null, 8, nt))), 256)), N.value.style.chart.layout.grid.graduations > 0 ? (y(), f("g", rt, [(y(!0), f(c, null, x(xn.value, (e) => (y(), f("path", {
996
+ }, null, 8, nt))), 256)), N.value.style.chart.layout.grid.graduations > 0 ? (y(), f("g", rt, [(y(!0), f(c, null, x(Sn.value, (e) => (y(), f("path", {
994
997
  d: w(t)({
995
998
  plot: {
996
999
  x: V.value.width / 2,
997
1000
  y: V.value.height / 2
998
1001
  },
999
1002
  radius: e,
1000
- sides: vn.value,
1003
+ sides: yn.value,
1001
1004
  rotation: 0
1002
1005
  }).path,
1003
1006
  fill: "none",
@@ -1005,7 +1008,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1005
1008
  "stroke-width": N.value.style.chart.layout.grid.strokeWidth
1006
1009
  }, null, 8, it))), 256))])) : d("", !0)])) : d("", !0),
1007
1010
  p("path", {
1008
- d: bn.value.path,
1011
+ d: xn.value.path,
1009
1012
  fill: "none",
1010
1013
  stroke: N.value.style.chart.layout.outerPolygon.stroke,
1011
1014
  "stroke-width": N.value.style.chart.layout.outerPolygon.strokeWidth,
@@ -1019,9 +1022,9 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1019
1022
  "text-anchor": e.labelAnchor,
1020
1023
  "font-size": N.value.style.chart.layout.labels.dataLabels.fontSize,
1021
1024
  fill: N.value.style.chart.layout.labels.dataLabels.color,
1022
- onMouseenter: (n) => jn(e, t, "pointer"),
1023
- onMouseleave: (n) => kn(e, t),
1024
- onClick: (n) => An(e, t)
1025
+ onMouseenter: (n) => Mn(e, t, "pointer"),
1026
+ onMouseleave: (n) => An(e, t),
1027
+ onClick: (n) => jn(e, t)
1025
1028
  }, C(e.name), 41, st))), 256))])) : d("", !0),
1026
1029
  (y(!0), f(c, null, x(G.value, (e, t) => (y(), f("g", null, [p("g", null, [N.value.useCssAnimation || !N.value.useCssAnimation && !H.value.includes(t) ? (y(), f("polygon", {
1027
1030
  key: 0,
@@ -1058,7 +1061,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1058
1061
  }, null, 10, dt))), 256))]))), 256))])) : d("", !0),
1059
1062
  S(e.$slots, "svg", { svg: {
1060
1063
  ...V.value,
1061
- outerPolygon: bn.value,
1064
+ outerPolygon: xn.value,
1062
1065
  isPrintingImg: w(tn) || w(nn) || Wt.value,
1063
1066
  isPrintingSvg: Gt.value
1064
1067
  } }, void 0, !0)
@@ -1077,9 +1080,9 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1077
1080
  }, [S(e.$slots, "legend", { legend: J.value }, () => [N.value.style.chart.legend.show ? (y(), u(Ae, {
1078
1081
  key: `legend_${Vt.value}`,
1079
1082
  legendSet: J.value,
1080
- config: En.value,
1083
+ config: Dn.value,
1081
1084
  isCursorPointer: P.value,
1082
- onClickMarker: n[0] ||= ({ i: e }) => dn(e)
1085
+ onClickMarker: n[0] ||= ({ i: e }) => fn(e)
1083
1086
  }, {
1084
1087
  item: T(({ legend: e, index: t }) => [w(Yt) ? d("", !0) : (y(), f("div", {
1085
1088
  key: 0,
@@ -1137,16 +1140,16 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1137
1140
  isA11yMode: M.value === "keyboard",
1138
1141
  a11yPosition: Kt.value
1139
1142
  }, {
1140
- "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...On.value })), void 0, !0)]),
1141
- tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...On.value })), void 0, !0)]),
1143
+ "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...kn.value })), void 0, !0)]),
1144
+ tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...kn.value })), void 0, !0)]),
1142
1145
  "tooltip-after": T(() => [!["function"].includes(typeof N.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (y(), f("div", gt, [Ie(w(St), {
1143
- dataset: Dn.value,
1146
+ dataset: On.value,
1144
1147
  config: cn.value,
1145
1148
  backgroundOpacity: 0
1146
1149
  }, {
1147
1150
  "data-label": T(({ bar: e }) => [p("div", _t, [p("span", vt, C(e.name + (N.value.style.chart.tooltip.showValue || N.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), N.value.style.chart.tooltip.showValue || N.value.style.chart.tooltip.showPercentage ? (y(), f("span", yt, C(e.suffix), 1)) : d("", !0)])]),
1148
1151
  _: 1
1149
- }, 8, ["dataset", "config"])])) : d("", !0), S(e.$slots, "tooltip-after", _(h({ ...On.value })), void 0, !0)]),
1152
+ }, 8, ["dataset", "config"])])) : d("", !0), S(e.$slots, "tooltip-after", _(h({ ...kn.value })), void 0, !0)]),
1150
1153
  _: 3
1151
1154
  }, 8, [
1152
1155
  "teleportTo",
@@ -1175,7 +1178,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1175
1178
  Mt.value && N.value.userOptions.buttons.table ? (y(), u(Ve($.value.component), Le({ key: 8 }, $.value.props, {
1176
1179
  ref_key: "tableUnit",
1177
1180
  ref: A,
1178
- onClose: Rn
1181
+ onClose: zn
1179
1182
  }), Pe({
1180
1183
  content: T(() => [(y(), u(w(wt), {
1181
1184
  key: `table_${Bt.value}`,
@@ -1186,7 +1189,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1186
1189
  title: N.value.table.useDialog ? "" : $.value.title,
1187
1190
  withCloseButton: !N.value.table.useDialog,
1188
1191
  isCursorPointer: P.value,
1189
- onClose: Rn
1192
+ onClose: zn
1190
1193
  }, {
1191
1194
  th: T(({ th: e }) => [Fe(C(e.name), 1)]),
1192
1195
  td: T(({ td: e }) => [Fe(C(e), 1)]),
@@ -1210,7 +1213,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1210
1213
  fn: T(() => [p("button", {
1211
1214
  tabindex: "0",
1212
1215
  class: "vue-ui-user-options-button",
1213
- onClick: n[1] ||= (e) => Mn(N.value.userOptions.callbacks.csv),
1216
+ onClick: n[1] ||= (e) => Nn(N.value.userOptions.callbacks.csv),
1214
1217
  style: v({ cursor: P.value ? "pointer" : "default" })
1215
1218
  }, [Ie(w(xt), {
1216
1219
  name: "fileCsv",
@@ -1221,6 +1224,6 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1221
1224
  S(e.$slots, "skeleton", {}, () => [w(Yt) ? (y(), u(_e, { key: 0 })) : d("", !0)], !0)
1222
1225
  ], 46, Ke));
1223
1226
  }
1224
- }, [["__scopeId", "data-v-9429c0c2"]]);
1227
+ }, [["__scopeId", "data-v-d5e67629"]]);
1225
1228
  //#endregion
1226
1229
  export { Ge as n, bt as t };
@@ -118,7 +118,7 @@ var Fe = /* @__PURE__ */ e({ default: () => nt }), Ie = ["id"], Le = ["id"], Re
118
118
  v309156a9: jt.value,
119
119
  v6c0f80cb: Nt.value
120
120
  }));
121
- let nt = Te(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), rt = Te(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), it = Te(() => import("./PackageVersion-DUU5Aku2.js").then((e) => e.t)), { vue_ui_relation_circle: at } = oe(), { isThemeValid: ot, warnInvalidTheme: st } = de(), T = e, ct = Fe, lt = u(() => !!T.dataset && Object.keys(T.dataset).length), E = y(n()), ut = y(0), D = y(null), dt = y(null), ft = y(null), pt = y(null), mt = y(0), O = y(!1), k = y(!1), A = y(null), j = y(!1), M = y(St()), N = u(() => M.value.userOptions.useCursorPointer), ht = u(() => ae({
121
+ let nt = Te(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), rt = Te(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), it = Te(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), { vue_ui_relation_circle: at } = oe(), { isThemeValid: ot, warnInvalidTheme: st } = de(), T = e, ct = Fe, lt = u(() => !!T.dataset && Object.keys(T.dataset).length), E = y(n()), ut = y(0), D = y(null), dt = y(null), ft = y(null), pt = y(null), mt = y(0), O = y(!1), k = y(!1), A = y(null), j = y(!1), M = y(St()), N = u(() => M.value.userOptions.useCursorPointer), ht = u(() => ae({
122
122
  defaultConfig: {
123
123
  userOptions: { show: !1 },
124
124
  customPalette: Array(7).fill("#CACACA"),
@@ -137,7 +137,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
137
137
  "copyAlt"
138
138
  ],
139
139
  setup(e, { expose: Ee, emit: qe }) {
140
- let Dt = h(() => import("./vue-ui-xy-Dhult6gR.js").then((e) => e.n)), Ot = h(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), kt = h(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), At = h(() => import("./DataTable-DmE8Oo4i.js")), jt = h(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Mt = h(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Nt = h(() => import("./PackageVersion-DUU5Aku2.js").then((e) => e.t)), Pt = h(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_ridgeline: Ft } = he(), { isThemeValid: It, warnInvalidTheme: Lt } = xe(), E = e, D = u({
140
+ let Dt = h(() => import("./vue-ui-xy-BQ1YONCq.js").then((e) => e.n)), Ot = h(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), kt = h(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), At = h(() => import("./DataTable-DmE8Oo4i.js")), jt = h(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Mt = h(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Nt = h(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), Pt = h(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_ridgeline: Ft } = he(), { isThemeValid: It, warnInvalidTheme: Lt } = xe(), E = e, D = u({
141
141
  get() {
142
142
  return Array.isArray(z.value) && z.value.length > 0;
143
143
  },
@@ -502,7 +502,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
502
502
  function vn() {
503
503
  Y.value.length ? Y.value = [] : X.value.forEach((e) => {
504
504
  Y.value.push(e.id);
505
- });
505
+ }), Rt("selectLegend", J.value);
506
506
  }
507
507
  function yn(e) {
508
508
  Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : Y.value.push(e), Rt("selectLegend", J.value);
@@ -1617,6 +1617,6 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1617
1617
  S(e.$slots, "skeleton", {}, () => [w(R) ? (y(), d(ve, { key: 0 })) : f("", !0)], !0)
1618
1618
  ], 46, Je));
1619
1619
  }
1620
- }, [["__scopeId", "data-v-ccc23491"]]);
1620
+ }, [["__scopeId", "data-v-ca7f8c0d"]]);
1621
1621
  //#endregion
1622
1622
  export { qe as n, Dt as t };