vue-data-ui 2.12.8-beta.3 → 2.13.0

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 (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -1,12 +1,12 @@
1
1
  import { defineAsyncComponent as R, computed as k, ref as v, watch as et, onMounted as tt, nextTick as lt, shallowRef as at, onBeforeUnmount as zt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as se, normalizeClass as B, createBlock as E, createCommentVNode as g, createVNode as ot, createSlots as Mt, withCtx as L, renderSlot as x, normalizeProps as Y, guardReactiveProps as X, createElementVNode as m, Fragment as T, renderList as F, toDisplayString as N, withDirectives as st, vShow as ut, createTextVNode as ue } from "vue";
2
- import { u as Rt, c as Bt, t as Et, p as Ce, a as Ut, H as D, o as Gt, e as H, b as Yt, d as Xt, m as nt, f as O, X as Ht, s as rt, K as Wt, k as _e, n as W, i as J, x as it, q as qt, r as Kt, y as Jt, S as dt } from "./index-CH_mJIWj.js";
2
+ import { u as Rt, c as Bt, t as Et, p as Ce, a as Ut, H as D, o as Gt, e as H, b as Yt, d as Xt, m as nt, f as O, X as Ht, s as rt, K as Wt, k as _e, n as W, i as J, x as it, q as qt, r as Kt, y as Jt, S as dt } from "./index-BXbyT0Qn.js";
3
3
  import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as ct } from "./useNestedProp-rMR-JeOJ.js";
5
- import { u as jt } from "./usePrinter-DJ7WfWUs.js";
4
+ import { u as ct } from "./useNestedProp-DVZpeH84.js";
5
+ import { u as jt } from "./usePrinter-aKh5-HcK.js";
6
6
  import { u as el } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as tl } from "./useChartAccessibility-9icAAmYg.js";
8
- import ll from "./Title-apr_T9tg.js";
9
- import al from "./Legend-DRqzYrP9.js";
8
+ import ll from "./Title-DoWqzga-.js";
9
+ import al from "./Legend-DcDRW3Xd.js";
10
10
  import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["id"], il = ["offset", "stop-color"], dl = ["offset", "stop-opacity"], cl = ["id"], vl = ["id"], fl = ["id"], hl = ["flood-color"], pl = ["d", "fill", "stroke", "stroke-width", "filter"], yl = { key: 1 }, bl = ["d", "fill"], gl = { key: 2 }, ml = ["x", "y", "font-size", "font-weight", "fill"], wl = { key: 3 }, $l = ["filter"], kl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ll = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], xl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Cl = ["d", "fill", "onMouseenter", "onClick"], _l = {
12
12
  key: 5,
@@ -32,7 +32,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
32
32
  },
33
33
  emits: ["selectLegend", "selectDatapoint"],
34
34
  setup(vt, { expose: ft, emit: ht }) {
35
- const pt = R(() => import("./vue-ui-accordion-Ds4zkPIx.js")), yt = R(() => import("./DataTable-BBqbcutV.js")), bt = R(() => import("./PackageVersion-ClpqQxYT.js")), gt = R(() => import("./PenAndPaper-B-T7XvxF.js")), mt = R(() => import("./vue-ui-skeleton-C6PWt_m5.js")), wt = R(() => import("./Tooltip-BuHsMAfp.js")), $t = R(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_nested_donuts: kt } = Rt(), C = vt, Q = k(() => !!C.dataset && C.dataset.length), y = v(Bt()), ne = v(!1), re = v(""), Lt = v(null), Te = v(0), q = v(null), Oe = v(null), ie = v(null), Fe = v(null), Se = v(null), Ae = v(0), Ie = v(0), Ne = v(0), z = v(!0), M = v([]), K = v([]), U = v(!1);
35
+ const pt = R(() => import("./vue-ui-accordion-CXsjHe1y.js")), yt = R(() => import("./DataTable-DBkfb6pd.js")), bt = R(() => import("./PackageVersion-C5fpg4GN.js")), gt = R(() => import("./PenAndPaper-BRkuVFb4.js")), mt = R(() => import("./vue-ui-skeleton-Fxr752Oi.js")), wt = R(() => import("./Tooltip-DYCBNM-_.js")), $t = R(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_nested_donuts: kt } = Rt(), C = vt, Q = k(() => !!C.dataset && C.dataset.length), y = v(Bt()), ne = v(!1), re = v(""), Lt = v(null), Te = v(0), q = v(null), Oe = v(null), ie = v(null), Fe = v(null), Se = v(null), Ae = v(0), Ie = v(0), Ne = v(0), z = v(!0), M = v([]), K = v([]), U = v(!1);
36
36
  function xt(l) {
37
37
  U.value = l, Te.value += 1;
38
38
  }
@@ -512,21 +512,21 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
512
512
  }))), s = b.value.flatMap((a) => a.series.map((o) => o.value));
513
513
  return { head: l, body: s };
514
514
  });
515
- function Je() {
515
+ function Je(l = null) {
516
516
  lt(() => {
517
- const l = P.value.head.map((o, t) => [
518
- [o.name],
519
- [P.value.body[t]],
517
+ const s = P.value.head.map((t, u) => [
518
+ [t.name],
519
+ [P.value.body[u]],
520
520
  [
521
- isNaN(P.value.body[t] / o.total) ? "-" : P.value.body[t] / o.total * 100
521
+ isNaN(P.value.body[u] / t.total) ? "-" : P.value.body[u] / t.total * 100
522
522
  ]
523
- ]), s = [
523
+ ]), a = [
524
524
  [e.value.style.chart.title.text],
525
525
  [e.value.style.chart.title.subtitle.text],
526
526
  [[""], ["val"], ["%"]]
527
- ].concat(l), a = qt(s);
528
- Kt({
529
- csvContent: a,
527
+ ].concat(s), o = qt(a);
528
+ l ? l(o) : Kt({
529
+ csvContent: o,
530
530
  title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
531
531
  });
532
532
  });
@@ -1124,7 +1124,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
1124
1124
  }, 8, ["config"])) : g("", !0)
1125
1125
  ], 46, sl));
1126
1126
  }
1127
- }, El = /* @__PURE__ */ ol(Sl, [["__scopeId", "data-v-abf3e58b"]]);
1127
+ }, El = /* @__PURE__ */ ol(Sl, [["__scopeId", "data-v-272dedc8"]]);
1128
1128
  export {
1129
1129
  El as default
1130
1130
  };
@@ -1,12 +1,12 @@
1
- import { defineAsyncComponent as x, computed as h, ref as u, watch as Ce, shallowRef as xe, onMounted as Ze, onBeforeUnmount as et, createElementBlock as i, openBlock as s, unref as r, normalizeStyle as U, normalizeClass as G, createBlock as T, createCommentVNode as g, createElementVNode as A, createVNode as Te, createSlots as tt, withCtx as f, renderSlot as v, normalizeProps as I, guardReactiveProps as S, Fragment as D, renderList as L, toDisplayString as F, createTextVNode as at, nextTick as lt } from "vue";
2
- import { u as ot, c as nt, t as st, p as Oe, a as rt, b as ut, o as it, e as Z, d as ct, X as vt, f as V, i as ee, x as Pe, q as dt, r as ht, y as ft } from "./index-CH_mJIWj.js";
1
+ import { defineAsyncComponent as T, computed as h, ref as u, watch as Ce, shallowRef as xe, onMounted as Ze, onBeforeUnmount as et, createElementBlock as i, openBlock as s, unref as r, normalizeStyle as U, normalizeClass as G, createBlock as O, createCommentVNode as g, createElementVNode as I, createVNode as Te, createSlots as tt, withCtx as f, renderSlot as v, normalizeProps as S, guardReactiveProps as F, Fragment as D, renderList as L, toDisplayString as M, createTextVNode as at, nextTick as lt } from "vue";
2
+ import { u as ot, c as nt, t as st, p as Oe, a as rt, b as ut, o as it, e as Z, d as ct, X as vt, f as V, i as ee, x as Pe, q as dt, r as ht, y as ft } from "./index-BXbyT0Qn.js";
3
3
  import { t as gt, u as pt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as _e } from "./useNestedProp-rMR-JeOJ.js";
5
- import { u as yt } from "./usePrinter-DJ7WfWUs.js";
4
+ import { u as _e } from "./useNestedProp-DVZpeH84.js";
5
+ import { u as yt } from "./usePrinter-aKh5-HcK.js";
6
6
  import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
8
- import kt from "./Title-apr_T9tg.js";
9
- import wt from "./Legend-DRqzYrP9.js";
8
+ import kt from "./Title-DoWqzga-.js";
9
+ import wt from "./Legend-DcDRW3Xd.js";
10
10
  import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Pt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], _t = ["id"], At = ["stdDeviation"], It = ["filter"], St = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Ft = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], Mt = { key: 2 }, Rt = ["onMouseenter"], Nt = ["x", "y", "font-size", "fill", "font-weight"], Dt = {
12
12
  key: 5,
@@ -29,7 +29,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
29
29
  },
30
30
  emits: ["selectLegend"],
31
31
  setup(Ae, { expose: Ie, emit: Se }) {
32
- const Fe = x(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Me = x(() => import("./DataTable-BBqbcutV.js")), Re = x(() => import("./PackageVersion-ClpqQxYT.js")), Ne = x(() => import("./PenAndPaper-B-T7XvxF.js")), De = x(() => import("./vue-ui-skeleton-C6PWt_m5.js")), Le = x(() => import("./Tooltip-BuHsMAfp.js")), Ve = x(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_onion: ze } = ot(), w = Ae, z = h(() => !!w.dataset && w.dataset.length), O = u(nt()), Ye = u(null), te = u(0), Y = u(!1), E = u(""), y = u([]), M = u(null), ae = u(null), le = u(null), oe = u(null), ne = u(null), se = u(0), re = u(0), ue = u(0), e = h({
32
+ const Fe = T(() => import("./vue-ui-accordion-CXsjHe1y.js")), Me = T(() => import("./DataTable-DBkfb6pd.js")), Re = T(() => import("./PackageVersion-C5fpg4GN.js")), Ne = T(() => import("./PenAndPaper-BRkuVFb4.js")), De = T(() => import("./vue-ui-skeleton-Fxr752Oi.js")), Le = T(() => import("./Tooltip-DYCBNM-_.js")), Ve = T(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_onion: ze } = ot(), w = Ae, z = h(() => !!w.dataset && w.dataset.length), P = u(nt()), Ye = u(null), te = u(0), Y = u(!1), E = u(""), y = u([]), R = u(null), ae = u(null), le = u(null), oe = u(null), ne = u(null), se = u(0), re = u(0), ue = u(0), e = h({
33
33
  get: () => de(),
34
34
  set: (t) => t
35
35
  }), { userOptionsVisible: H, setUserOptionsVisibility: ie, keepUserOptionState: ce } = mt({ config: e.value }), { svgRef: ve } = bt({ config: e.value.style.chart.title });
@@ -50,7 +50,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
50
50
  e.value = de(), H.value = !e.value.userOptions.showOnChartHover, ye(), se.value += 1, re.value += 1, ue.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
51
51
  }, { deep: !0 });
52
52
  const { isPrinting: he, isImaging: fe, generatePdf: ge, generateImage: pe } = yt({
53
- elementId: `vue-ui-onion_${O.value}`,
53
+ elementId: `vue-ui-onion_${P.value}`,
54
54
  fileName: e.value.style.chart.title.text || "vue-ui-onion",
55
55
  options: e.value.userOptions.print
56
56
  }), Be = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xe = h(() => ut(e.value.customPalette)), m = u({
@@ -66,7 +66,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
66
66
  bottom: 64
67
67
  },
68
68
  minRadius: 64
69
- }), $ = xe(null), P = xe(null);
69
+ }), $ = xe(null), _ = xe(null);
70
70
  Ze(() => {
71
71
  ye();
72
72
  });
@@ -77,7 +77,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
77
77
  }), e.value.responsive) {
78
78
  const o = gt(() => {
79
79
  const { width: a, height: l } = pt({
80
- chart: M.value,
80
+ chart: R.value,
81
81
  title: e.value.style.chart.title.text ? ae.value : null,
82
82
  legend: e.value.style.chart.legend.show ? le.value : null,
83
83
  source: oe.value,
@@ -87,11 +87,11 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
87
87
  n.value.width = a, n.value.height = l, n.value.padding.top = Math.max(a, l) * 0.125, n.value.padding.right = Math.max(a, l) * 0.125, n.value.padding.bottom = Math.max(a, l) * 0.125, n.value.padding.left = Math.max(a, l) * 0.125, n.value.minRadius = Math.min(a, l) * 0.125;
88
88
  });
89
89
  });
90
- $.value && (P.value && $.value.unobserve(P.value), $.value.disconnect()), $.value = new ResizeObserver(o), P.value = M.value.parentNode, $.value.observe(P.value);
90
+ $.value && (_.value && $.value.unobserve(_.value), $.value.disconnect()), $.value = new ResizeObserver(o), _.value = R.value.parentNode, $.value.observe(_.value);
91
91
  }
92
92
  }
93
93
  et(() => {
94
- $.value && (P.value && $.value.unobserve(P.value), $.value.disconnect());
94
+ $.value && (_.value && $.value.unobserve(_.value), $.value.disconnect());
95
95
  });
96
96
  const c = h(() => ({
97
97
  top: n.value.padding.top,
@@ -117,7 +117,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
117
117
  index: o
118
118
  });
119
119
  }), w.dataset.map((t, o) => {
120
- const a = `onion_serie_${o}_${O.value}`;
120
+ const a = `onion_serie_${o}_${P.value}`;
121
121
  return {
122
122
  ...t,
123
123
  percentage: t.percentage || 0,
@@ -130,24 +130,24 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
130
130
  segregate: () => me(a),
131
131
  isSegregated: y.value.includes(a)
132
132
  };
133
- }))), R = u(d.value), Ue = h(() => e.value.useStartAnimation), Ge = u(null), Ee = h(() => Math.max(...d.value.map((t) => t.percentage))), W = u(!1);
133
+ }))), N = u(d.value), Ue = h(() => e.value.useStartAnimation), Ge = u(null), Ee = h(() => Math.max(...d.value.map((t) => t.percentage))), W = u(!1);
134
134
  Ce(() => d.value, He, { immediate: !0 });
135
135
  function He() {
136
136
  if (Ue.value && !W.value) {
137
137
  let o = function() {
138
- t >= Ee.value ? (cancelAnimationFrame(Ge.value), R.value = d.value, W.value = !0) : (R.value = d.value.map((a) => ({
138
+ t >= Ee.value ? (cancelAnimationFrame(Ge.value), N.value = d.value, W.value = !0) : (N.value = d.value.map((a) => ({
139
139
  ...a,
140
140
  percentage: t < a.targetPercentage ? t : a.targetPercentage
141
141
  })), t += 1, requestAnimationFrame(o), W.value = !0);
142
142
  };
143
- R.value = d.value.map((a) => ({
143
+ N.value = d.value.map((a) => ({
144
144
  ...a,
145
145
  percentage: 0
146
146
  }));
147
147
  let t = 0;
148
148
  o();
149
149
  } else
150
- R.value = d.value;
150
+ N.value = d.value;
151
151
  }
152
152
  const We = h(() => ({
153
153
  cy: "onion-div-legend",
@@ -156,14 +156,14 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
156
156
  fontSize: e.value.style.chart.legend.fontSize,
157
157
  paddingBottom: 12,
158
158
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
159
- })), je = h(() => d.value.filter((t) => !y.value.includes(t.id)).length), C = h(() => {
159
+ })), je = h(() => d.value.filter((t) => !y.value.includes(t.id)).length), x = h(() => {
160
160
  const t = Math.min(c.value.width, c.value.height) / 2 / d.value.length;
161
161
  return {
162
162
  gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
163
163
  track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
164
164
  };
165
- }), b = h(() => R.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
166
- const a = (c.value.maxRadius - C.value.track) / je.value / 2 * (1 + o), l = c.value.centerY - a;
165
+ }), b = h(() => N.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
166
+ const a = (c.value.maxRadius - x.value.track) / je.value / 2 * (1 + o), l = c.value.centerY - a;
167
167
  return {
168
168
  percentage: t.percentage || 0,
169
169
  ...t,
@@ -173,12 +173,12 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
173
173
  };
174
174
  }));
175
175
  function qe(t, o) {
176
- const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, N = l * (1 - o / 100);
176
+ const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, C = l * (1 - o / 100);
177
177
  return {
178
178
  bgDashArray: `${l} ${a}`,
179
179
  bgDashOffset: 0,
180
180
  dashArray: p,
181
- dashOffset: N,
181
+ dashOffset: C,
182
182
  fullOffset: 0,
183
183
  active: `
184
184
  M ${c.value.centerX},${c.value.centerY - t}
@@ -221,15 +221,15 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
221
221
  };
222
222
  return { head: t, body: o, config: a, colNames: t };
223
223
  });
224
- function be() {
224
+ function be(t = null) {
225
225
  lt(() => {
226
- const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = j.value.head, a = j.value.body, l = t.concat([o]).concat(a), p = dt(l);
227
- ht({ csvContent: p, title: e.value.style.chart.title.text || "vue-ui-onion" });
226
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = j.value.head, l = j.value.body, p = o.concat([a]).concat(l), C = dt(p);
227
+ t ? t(C) : ht({ csvContent: C, title: e.value.style.chart.title.text || "vue-ui-onion" });
228
228
  });
229
229
  }
230
- const k = u(void 0), _ = u(!1);
230
+ const k = u(void 0), A = u(!1);
231
231
  function Qe(t) {
232
- _.value = t, te.value += 1;
232
+ A.value = t, te.value += 1;
233
233
  }
234
234
  const q = u(null);
235
235
  function ke({ datapoint: t, seriesIndex: o, show: a = !0 }) {
@@ -241,14 +241,14 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
241
241
  config: e.value
242
242
  }, Y.value = a;
243
243
  let p = "";
244
- const N = e.value.style.chart.tooltip.customFormat;
245
- if (Pe(N) && ft(() => N({
244
+ const C = e.value.style.chart.tooltip.customFormat;
245
+ if (Pe(C) && ft(() => C({
246
246
  seriesIndex: l,
247
247
  datapoint: t,
248
248
  series: d.value,
249
249
  config: e.value
250
250
  })))
251
- E.value = N({
251
+ E.value = C({
252
252
  seriesIndex: l,
253
253
  datapoint: t,
254
254
  series: d.value,
@@ -288,15 +288,15 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
288
288
  toggleTooltip: $e,
289
289
  toggleAnnotator: J
290
290
  }), (t, o) => (s(), i("div", {
291
- class: G(`vue-ui-onion ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
291
+ class: G(`vue-ui-onion ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
292
292
  ref_key: "onionChart",
293
- ref: M,
294
- id: `vue-ui-onion_${O.value}`,
293
+ ref: R,
294
+ id: `vue-ui-onion_${P.value}`,
295
295
  style: U(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
296
296
  onMouseenter: o[4] || (o[4] = () => r(ie)(!0)),
297
297
  onMouseleave: o[5] || (o[5] = () => r(ie)(!1))
298
298
  }, [
299
- e.value.userOptions.buttons.annotator ? (s(), T(r(Ne), {
299
+ e.value.userOptions.buttons.annotator ? (s(), O(r(Ne), {
300
300
  key: 0,
301
301
  svgRef: r(ve),
302
302
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -317,7 +317,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
317
317
  ref: ae,
318
318
  style: "width:100%;background:transparent"
319
319
  }, [
320
- (s(), T(kt, {
320
+ (s(), O(kt, {
321
321
  key: `title_${se.value}`,
322
322
  config: {
323
323
  title: {
@@ -331,7 +331,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
331
331
  }
332
332
  }, null, 8, ["config"]))
333
333
  ], 512)) : g("", !0),
334
- e.value.userOptions.show && z.value && (r(ce) || r(H)) ? (s(), T(r(Ve), {
334
+ e.value.userOptions.show && z.value && (r(ce) || r(H)) ? (s(), O(r(Ve), {
335
335
  ref_key: "details",
336
336
  ref: Ye,
337
337
  key: `user_options${te.value}`,
@@ -339,17 +339,17 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
339
339
  color: e.value.style.chart.color,
340
340
  isImaging: r(fe),
341
341
  isPrinting: r(he),
342
- uid: O.value,
342
+ uid: P.value,
343
343
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
344
344
  hasPdf: e.value.userOptions.buttons.pdf,
345
345
  hasImg: e.value.userOptions.buttons.img,
346
346
  hasXls: e.value.userOptions.buttons.csv,
347
347
  hasTable: e.value.userOptions.buttons.table,
348
348
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
349
- isFullscreen: _.value,
349
+ isFullscreen: A.value,
350
350
  isTooltip: m.value.showTooltip,
351
351
  titles: { ...e.value.userOptions.buttonTitles },
352
- chartElement: M.value,
352
+ chartElement: R.value,
353
353
  position: e.value.userOptions.position,
354
354
  hasAnnotator: e.value.userOptions.buttons.annotator,
355
355
  isAnnotation: X.value,
@@ -368,7 +368,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
368
368
  t.$slots.menuIcon ? {
369
369
  name: "menuIcon",
370
370
  fn: f(({ isOpen: a, color: l }) => [
371
- v(t.$slots, "menuIcon", I(S({ isOpen: a, color: l })), void 0, !0)
371
+ v(t.$slots, "menuIcon", S(F({ isOpen: a, color: l })), void 0, !0)
372
372
  ]),
373
373
  key: "0"
374
374
  } : void 0,
@@ -410,14 +410,14 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
410
410
  t.$slots.optionFullscreen ? {
411
411
  name: "optionFullscreen",
412
412
  fn: f(({ toggleFullscreen: a, isFullscreen: l }) => [
413
- v(t.$slots, "optionFullscreen", I(S({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
413
+ v(t.$slots, "optionFullscreen", S(F({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
414
414
  ]),
415
415
  key: "6"
416
416
  } : void 0,
417
417
  t.$slots.optionAnnotator ? {
418
418
  name: "optionAnnotator",
419
419
  fn: f(({ toggleAnnotator: a, isAnnotator: l }) => [
420
- v(t.$slots, "optionAnnotator", I(S({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
420
+ v(t.$slots, "optionAnnotator", S(F({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
421
421
  ]),
422
422
  key: "7"
423
423
  } : void 0
@@ -427,7 +427,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
427
427
  ref_key: "svgRef",
428
428
  ref: ve,
429
429
  xmlns: r(vt),
430
- class: G({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
430
+ class: G({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
431
431
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
432
432
  style: U(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
433
433
  }, [
@@ -449,7 +449,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
449
449
  cy: c.value.centerY,
450
450
  r: a.radius <= 0 ? 1e-4 : a.radius,
451
451
  stroke: e.value.style.chart.layout.gutter.color,
452
- "stroke-width": C.value.gutter,
452
+ "stroke-width": x.value.gutter,
453
453
  fill: "none",
454
454
  "stroke-dasharray": a.path.bgDashArray,
455
455
  "stroke-dashoffset": a.path.fullOffset,
@@ -462,7 +462,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
462
462
  cy: c.value.centerY,
463
463
  r: a.radius < 0 ? 1e-4 : a.radius,
464
464
  stroke: `${a.color}`,
465
- "stroke-width": C.value.track,
465
+ "stroke-width": x.value.track,
466
466
  fill: "none",
467
467
  "stroke-dasharray": a.path.dashArray,
468
468
  "stroke-dashoffset": a.path.dashOffset,
@@ -470,15 +470,15 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
470
470
  "stroke-linecap": "round",
471
471
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
472
472
  }, null, 10, Pt))), 256)),
473
- A("defs", null, [
474
- A("filter", {
475
- id: `blur_${O.value}`,
473
+ I("defs", null, [
474
+ I("filter", {
475
+ id: `blur_${P.value}`,
476
476
  x: "-50%",
477
477
  y: "-50%",
478
478
  width: "200%",
479
479
  height: "200%"
480
480
  }, [
481
- A("feGaussianBlur", {
481
+ I("feGaussianBlur", {
482
482
  in: "SourceGraphic",
483
483
  stdDeviation: 100 / e.value.style.chart.gradientIntensity
484
484
  }, null, 8, At)
@@ -486,14 +486,14 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
486
486
  ]),
487
487
  e.value.style.chart.useGradient ? (s(), i("g", {
488
488
  key: 1,
489
- filter: `url(#blur_${O.value})`
489
+ filter: `url(#blur_${P.value})`
490
490
  }, [
491
491
  (s(!0), i(D, null, L(b.value, (a, l) => (s(), i("circle", {
492
492
  cx: c.value.centerX,
493
493
  cy: c.value.centerY,
494
494
  r: a.radius <= 0 ? 1e-4 : a.radius,
495
495
  stroke: "white",
496
- "stroke-width": C.value.track / 3,
496
+ "stroke-width": x.value.track / 3,
497
497
  fill: "none",
498
498
  "stroke-linecap": "round",
499
499
  "stroke-dasharray": a.path.dashArray,
@@ -506,7 +506,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
506
506
  cy: c.value.centerY,
507
507
  r: a.radius <= 0 ? 1e-4 : a.radius,
508
508
  stroke: "transparent",
509
- "stroke-width": Math.max(C.value.track, C.value.gutter),
509
+ "stroke-width": Math.max(x.value.track, x.value.gutter),
510
510
  fill: "none",
511
511
  "stroke-dasharray": a.path.bgDashArray,
512
512
  "stroke-dashoffset": a.path.fullOffset,
@@ -535,17 +535,17 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
535
535
  }, [
536
536
  y.value.includes(a.id) ? g("", !0) : (s(), i("text", {
537
537
  key: 0,
538
- x: n.value.width / 2 - C.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
538
+ x: n.value.width / 2 - x.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
539
539
  y: a.labelY + e.value.style.chart.layout.labels.offsetY,
540
540
  "text-anchor": "end",
541
541
  "font-size": e.value.style.chart.layout.labels.fontSize,
542
542
  fill: e.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value === l ? a.color : e.value.style.chart.layout.labels.color,
543
543
  "font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
544
- }, F(a.name ? a.name + ": " : "") + " " + F(e.value.style.chart.layout.labels.percentage.show ? r(V)({
544
+ }, M(a.name ? a.name + ": " : "") + " " + M(e.value.style.chart.layout.labels.percentage.show ? r(V)({
545
545
  v: a.percentage,
546
546
  s: "%",
547
547
  r: e.value.style.chart.layout.labels.roundingPercentage
548
- }) : "") + " " + F(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${r(ee)(
548
+ }) : "") + " " + M(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${r(ee)(
549
549
  e.value.style.chart.layout.labels.value.formatter,
550
550
  a.value,
551
551
  r(V)({
@@ -571,9 +571,9 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
571
571
  v(t.$slots, "svg", { svg: n.value }, void 0, !0)
572
572
  ], 14, xt)) : g("", !0),
573
573
  t.$slots.watermark ? (s(), i("div", Dt, [
574
- v(t.$slots, "watermark", I(S({ isPrinting: r(he) || r(fe) })), void 0, !0)
574
+ v(t.$slots, "watermark", S(F({ isPrinting: r(he) || r(fe) })), void 0, !0)
575
575
  ])) : g("", !0),
576
- z.value ? g("", !0) : (s(), T(r(De), {
576
+ z.value ? g("", !0) : (s(), O(r(De), {
577
577
  key: 6,
578
578
  config: {
579
579
  type: "onion",
@@ -585,22 +585,22 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
585
585
  }
586
586
  }
587
587
  }, null, 8, ["config"])),
588
- A("div", {
588
+ I("div", {
589
589
  ref_key: "chartLegend",
590
590
  ref: le
591
591
  }, [
592
- e.value.style.chart.legend.show ? (s(), T(wt, {
592
+ e.value.style.chart.legend.show ? (s(), O(wt, {
593
593
  key: `legend_${ue.value}`,
594
594
  legendSet: d.value,
595
595
  config: We.value,
596
596
  onClickMarker: o[2] || (o[2] = ({ legend: a }) => me(a.id))
597
597
  }, {
598
598
  item: f(({ legend: a }) => [
599
- A("div", {
599
+ I("div", {
600
600
  "data-cy-legend-item": "",
601
601
  onClick: (l) => a.segregate(),
602
602
  style: U(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
603
- }, F(a.name ? a.name + ": " : "") + " " + F((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, Lt)
603
+ }, M(a.name ? a.name + ": " : "") + " " + M((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, Lt)
604
604
  ]),
605
605
  _: 1
606
606
  }, 8, ["legendSet", "config"])) : v(t.$slots, "legend", {
@@ -627,20 +627,20 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
627
627
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
628
628
  position: e.value.style.chart.tooltip.position,
629
629
  offsetY: e.value.style.chart.tooltip.offsetY,
630
- parent: M.value,
630
+ parent: R.value,
631
631
  content: E.value,
632
- isFullscreen: _.value,
632
+ isFullscreen: A.value,
633
633
  isCustom: r(Pe)(e.value.style.chart.tooltip.customFormat)
634
634
  }, {
635
635
  "tooltip-before": f(() => [
636
- v(t.$slots, "tooltip-before", I(S({ ...q.value })), void 0, !0)
636
+ v(t.$slots, "tooltip-before", S(F({ ...q.value })), void 0, !0)
637
637
  ]),
638
638
  "tooltip-after": f(() => [
639
- v(t.$slots, "tooltip-after", I(S({ ...q.value })), void 0, !0)
639
+ v(t.$slots, "tooltip-after", S(F({ ...q.value })), void 0, !0)
640
640
  ]),
641
641
  _: 3
642
642
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
643
- z.value ? (s(), T(r(Fe), {
643
+ z.value ? (s(), O(r(Fe), {
644
644
  key: 8,
645
645
  hideDetails: "",
646
646
  config: {
@@ -657,7 +657,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
657
657
  }
658
658
  }, {
659
659
  content: f(() => [
660
- (s(), T(r(Me), {
660
+ (s(), O(r(Me), {
661
661
  key: `table_${re.value}`,
662
662
  colNames: B.value.colNames,
663
663
  head: B.value.head,
@@ -667,10 +667,10 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
667
667
  onClose: o[3] || (o[3] = (a) => m.value.showTable = !1)
668
668
  }, {
669
669
  th: f(({ th: a }) => [
670
- at(F(a), 1)
670
+ at(M(a), 1)
671
671
  ]),
672
672
  td: f(({ td: a }) => [
673
- A("div", { innerHTML: a }, null, 8, Vt)
673
+ I("div", { innerHTML: a }, null, 8, Vt)
674
674
  ]),
675
675
  _: 1
676
676
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -679,7 +679,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
679
679
  }, 8, ["config"])) : g("", !0)
680
680
  ], 46, Ct));
681
681
  }
682
- }, Jt = /* @__PURE__ */ $t(zt, [["__scopeId", "data-v-6338e238"]]);
682
+ }, Jt = /* @__PURE__ */ $t(zt, [["__scopeId", "data-v-33f77065"]]);
683
683
  export {
684
684
  Jt as default
685
685
  };
@@ -1,13 +1,13 @@
1
1
  import { defineAsyncComponent as P, computed as x, ref as d, watch as lt, shallowRef as _e, onMounted as ot, onBeforeUnmount as st, createElementBlock as i, openBlock as u, unref as v, normalizeStyle as T, normalizeClass as j, createBlock as _, createCommentVNode as y, createElementVNode as N, createVNode as Fe, createSlots as nt, withCtx as k, renderSlot as g, normalizeProps as V, guardReactiveProps as E, Fragment as C, renderList as F, toDisplayString as U, createTextVNode as ut } from "vue";
2
- import { u as it, c as ae, t as rt, p as X, a as ct, o as vt, e as Pe, g as dt, b as ht, d as pt, D as mt, T as yt, U as ft, V as gt, X as bt, x as Ne, F as Y, q as xt, r as kt, i as Oe, f as Se, y as wt } from "./index-CH_mJIWj.js";
2
+ import { u as it, c as ae, t as rt, p as X, a as ct, o as vt, e as Pe, g as dt, b as ht, d as pt, D as mt, T as yt, U as ft, V as gt, X as bt, x as Ne, F as Y, q as xt, r as kt, i as Oe, f as Se, y as wt } from "./index-BXbyT0Qn.js";
3
3
  import { t as Ct, u as $t } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as Le } from "./useNestedProp-rMR-JeOJ.js";
5
- import { u as At } from "./usePrinter-DJ7WfWUs.js";
4
+ import { u as Le } from "./useNestedProp-DVZpeH84.js";
5
+ import { u as At } from "./usePrinter-aKh5-HcK.js";
6
6
  import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
8
- import zt from "./Title-apr_T9tg.js";
9
- import It from "./Legend-DRqzYrP9.js";
10
- import { _ as _t } from "./Shape-DEWxbZ-l.js";
8
+ import zt from "./Title-DoWqzga-.js";
9
+ import It from "./Legend-DcDRW3Xd.js";
10
+ import { _ as _t } from "./Shape-CnD-h_98.js";
11
11
  import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], St = { style: { "pointer-events": "none" } }, Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x", "y", "fill", "font-size", "font-weight"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x", "y", "fill", "font-size", "font-weight"], Et = { key: 0 }, Ut = ["x", "y", "font-size", "fill"], Wt = ["width", "x", "y"], jt = { style: { width: "100%" } }, Bt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Ht = ["d", "stroke", "stroke-width", "onMouseenter"], Gt = ["d", "onMouseenter"], Xt = {
13
13
  key: 5,
@@ -30,7 +30,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
30
30
  },
31
31
  emits: ["selectLegend", "selectDatapoint"],
32
32
  setup(De, { expose: Re, emit: Ve }) {
33
- const Ee = P(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Ue = P(() => import("./DataTable-BBqbcutV.js")), We = P(() => import("./PackageVersion-ClpqQxYT.js")), je = P(() => import("./PenAndPaper-B-T7XvxF.js")), Be = P(() => import("./vue-ui-skeleton-C6PWt_m5.js")), He = P(() => import("./Tooltip-BuHsMAfp.js")), Ge = P(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_parallel_coordinate_plot: Xe } = it(), M = De, O = x({
33
+ const Ee = P(() => import("./vue-ui-accordion-CXsjHe1y.js")), Ue = P(() => import("./DataTable-DBkfb6pd.js")), We = P(() => import("./PackageVersion-C5fpg4GN.js")), je = P(() => import("./PenAndPaper-BRkuVFb4.js")), Be = P(() => import("./vue-ui-skeleton-Fxr752Oi.js")), He = P(() => import("./Tooltip-DYCBNM-_.js")), Ge = P(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_parallel_coordinate_plot: Xe } = it(), M = De, O = x({
34
34
  get() {
35
35
  return !!M.dataset && M.dataset.length;
36
36
  },
@@ -314,9 +314,9 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
314
314
  head: R.value.head,
315
315
  body: R.value.body
316
316
  });
317
- function $e() {
318
- const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = Ce.value.head, a = Ce.value.body, o = t.concat([l]).concat(a), n = xt(o);
319
- kt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
317
+ function $e(t = null) {
318
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = Ce.value.head, o = Ce.value.body, n = l.concat([a]).concat(o), s = xt(n);
319
+ t ? t(s) : kt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
320
320
  }
321
321
  const Ae = Ve;
322
322
  function et(t) {
@@ -768,7 +768,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
768
768
  }, 8, ["config"])) : y("", !0)
769
769
  ], 46, Pt));
770
770
  }
771
- }, ia = /* @__PURE__ */ Ft(Jt, [["__scopeId", "data-v-a3745e65"]]);
771
+ }, ia = /* @__PURE__ */ Ft(Jt, [["__scopeId", "data-v-8f6e8eeb"]]);
772
772
  export {
773
773
  ia as default
774
774
  };