vue-data-ui 3.1.1 → 3.1.3

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 (95) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-DBaAWGvq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-BmN9jTP8.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BcOSijbz.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-D1yNPt76.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-Cm8Tt9PQ.js} +2 -2
  6. package/dist/Legend-5qvgVkrY.js +85 -0
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-D3QGd7vP.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-0XlRFsI_.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-CyH7Ip2i.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-DiplSMFy.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DG99wPTy.js} +11 -9
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-VveQSwlw.js} +1 -1
  13. package/dist/Title-CqYBs02Y.js +88 -0
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-CP0tVHAf.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-ZmwlARCV.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-DGA4a3xT.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DSrvx9J6.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-CaxArMHL.js} +97 -74
  19. package/dist/pdf-BG8PiGFH.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +28 -3
  22. package/dist/types/vue-data-ui.d.ts +28 -3
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-DmtFf4bt.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-tWT02_6S.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-BYtPmEo8.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-DVb8r5z7.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-BLKyWpz7.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-DUlNpLir.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-LLqbXP1m.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-CcYIlcKF.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-BKmts_u4.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-C9l_NpXu.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-H7xS6aBC.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-CAW0IOdY.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-CK5YhCqM.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-NLyZgTGF.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-CyGUrKWU.js} +2 -2
  39. package/dist/vue-ui-dashboard-Cf5pvEzD.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-BZWwwp7c.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-CaEYMVZj.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-g1WHrj6G.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-BArS1nXS.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-BR0CB5qt.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-D2OCItvq.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-qgGF1AAf.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-BIXmGyQL.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-DHEoS051.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-tRzq9BnI.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-DmwHhrDk.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-C2b2R5i1.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-Bs1Mi1tD.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-BsUvf2v7.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-D3JIpVvX.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-dJEgQXTH.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-D8dF1DdA.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-LmFsg7UA.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-C4O8ki4N.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-6bEtTQBG.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-CfjGWGk3.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-D3WSs2OD.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-DzTfi7Tf.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-NtYOJvDy.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CYQ4i71V.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-meJEHdAD.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-BtILTxx-.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B5bELpYD.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-lixdWq_N.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-CaGPav-J.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-BZBGYDjs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-Bp6KxpjH.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-CF-EAZa6.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-Cj1LAYC8.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-BrzKhqAK.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-BfVVaSFn.js} +246 -240
  76. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-CBzNgzVP.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-CKz5bA7N.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-O-Z0YH6u.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer-DpNyTGNH.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-uvshaRMI.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-A8Akuz-q.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-Dvmuo3tM.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-eMgRMSKN.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-Cm8VfnG8.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-Bhsklf_m.js} +6 -6
  86. package/dist/vue-ui-word-cloud-C9HGLsG4.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-B_MrjwGJ.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-DnYJw2aS.js} +1448 -1438
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-C0Snw0Dz.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/Legend-8_V5egWW.js +0 -72
  92. package/dist/Title-Dz-j6ERs.js +0 -61
  93. package/dist/pdf-Cjsn5GEE.js +0 -61
  94. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  95. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,24 +1,24 @@
1
- import { useCssVars as Gt, defineAsyncComponent as W, ref as v, shallowRef as nt, toRefs as Wt, watch as Me, computed as $, onMounted as st, onBeforeUnmount as rt, createElementBlock as i, openBlock as r, unref as d, normalizeStyle as F, normalizeClass as R, createBlock as j, createCommentVNode as h, renderSlot as w, createElementVNode as I, createSlots as xe, withCtx as x, normalizeProps as de, guardReactiveProps as he, withModifiers as ut, createVNode as fe, Fragment as z, renderList as q, mergeProps as it, toDisplayString as H, Teleport as qt, resolveDynamicComponent as Ht, createTextVNode as ct, nextTick as vt } from "vue";
2
- import { u as Qt, c as Ae, t as Zt, a as Jt, p as ge, b as Kt, o as ea, f as dt, g as ta, d as aa, e as oa, X as la, F as na, i as Ie, a0 as sa, ab as ra, v as ua, w as ia, k as ca } from "./index-BKQqb9lF.js";
3
- import { t as va, u as da } from "./useResponsive-DfdjqQps.js";
4
- import { u as ha, B as fa } from "./BaseScanner-BgWxam9d.js";
5
- import { u as ga } from "./usePrinter-BzuXiubT.js";
6
- import { u as ht } from "./useNestedProp-aBOhgs4U.js";
7
- import { u as ba } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as pa } from "./useChartAccessibility-9icAAmYg.js";
9
- import ma from "./img-gBDz7xQQ.js";
10
- import { _ as ya } from "./Shape-Cjca5zta.js";
11
- import ka from "./Title-Dz-j6ERs.js";
12
- import $a from "./Legend-8_V5egWW.js";
13
- import { _ as wa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Ca = ["id"], Ma = ["id"], xa = ["xmlns", "viewBox"], Aa = ["width", "height"], Ia = { key: 1 }, Pa = ["id", "d"], _a = { key: 2 }, Ta = ["transform"], Ba = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Sa = ["d", "fill", "stroke", "stroke-width"], Oa = ["d", "fill"], La = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick", "onMouseleave"], Da = ["d", "fill", "stroke", "stroke-width"], Ea = ["d", "fill", "stroke", "stroke-width"], Na = ["d", "fill", "stroke", "stroke-width"], Fa = { key: 0 }, Ra = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], za = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ua = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], Xa = ["transform", "fill", "text-anchor", "font-size", "font-weight"], Va = { key: 1 }, ja = ["font-size", "font-weight", "fill"], Ya = ["href"], Ga = ["transform", "text-anchor", "font-size", "font-weight", "fill", "innerHTML"], Wa = {
1
+ import { useCssVars as qt, defineAsyncComponent as W, ref as v, shallowRef as rt, toRefs as Ht, watch as xe, computed as $, onMounted as ut, onBeforeUnmount as it, createElementBlock as i, openBlock as r, unref as d, normalizeStyle as R, normalizeClass as F, createBlock as V, createCommentVNode as h, renderSlot as w, createElementVNode as I, createSlots as Ae, withCtx as x, normalizeProps as de, guardReactiveProps as he, withModifiers as ct, createVNode as fe, Fragment as z, renderList as q, mergeProps as vt, toDisplayString as H, Teleport as Qt, resolveDynamicComponent as Zt, createTextVNode as dt, nextTick as ht } from "vue";
2
+ import { u as Jt, c as Ie, t as Kt, a as ea, p as ge, b as ta, o as aa, f as ft, g as oa, d as la, e as na, X as sa, F as ra, i as _e, a0 as ua, ab as ia, v as ca, w as va, k as da } from "./index-CaxArMHL.js";
3
+ import { t as ha, u as fa } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ga, B as ba } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as pa } from "./usePrinter-BYtPmEo8.js";
6
+ import { u as gt } from "./useNestedProp-tWT02_6S.js";
7
+ import { u as ma } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as ya } from "./useChartAccessibility-9icAAmYg.js";
9
+ import ka from "./img-DSrvx9J6.js";
10
+ import { _ as $a } from "./Shape-DiplSMFy.js";
11
+ import wa from "./Title-CqYBs02Y.js";
12
+ import Ca from "./Legend-5qvgVkrY.js";
13
+ import { _ as Ma } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const xa = ["id"], Aa = ["id"], Ia = ["xmlns", "viewBox"], _a = ["width", "height"], Pa = { key: 1 }, Ta = ["id", "d"], Ba = { key: 2 }, Sa = ["transform"], Oa = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], La = ["d", "fill", "stroke", "stroke-width"], Da = ["d", "fill"], Ea = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick", "onMouseleave"], Na = ["d", "fill", "stroke", "stroke-width"], Ra = ["d", "fill", "stroke", "stroke-width"], Fa = ["d", "fill", "stroke", "stroke-width"], za = { key: 0 }, Ua = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Xa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Va = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], ja = ["transform", "fill", "text-anchor", "font-size", "font-weight"], Ya = { key: 1 }, Ga = ["font-size", "font-weight", "fill"], Wa = ["href"], qa = ["transform", "text-anchor", "font-size", "font-weight", "fill", "innerHTML"], Ha = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
- }, qa = ["id"], Ha = ["onClick"], Qa = {
17
+ }, Qa = ["id"], Za = ["onClick"], Ja = {
18
18
  key: 7,
19
19
  "data-dom-to-png-ignore": "",
20
20
  class: "reset-wrapper"
21
- }, Za = { style: { "text-align": "right", width: "100%" } }, Ja = {
21
+ }, Ka = { style: { "text-align": "right", width: "100%" } }, eo = {
22
22
  __name: "vue-ui-chord",
23
23
  props: {
24
24
  dataset: {
@@ -35,17 +35,17 @@ const Ca = ["id"], Ma = ["id"], xa = ["xmlns", "viewBox"], Aa = ["width", "heigh
35
35
  }
36
36
  },
37
37
  emits: ["selectLegend", "selectGroup", "selectRibbon"],
38
- setup(ft, { expose: gt, emit: bt }) {
39
- Gt((t) => ({
40
- "8b4d975e": t.slicerColor
38
+ setup(bt, { expose: pt, emit: mt }) {
39
+ qt((t) => ({
40
+ "3e45220a": t.slicerColor
41
41
  }));
42
- const pt = W(() => import("./vue-ui-accordion-B5QeV3BK.js")), Pe = W(() => import("./BaseIcon-DLesaZpW.js")), mt = W(() => import("./DataTable-BAf4Obr9.js")), yt = W(() => import("./PackageVersion-Cv_ypT0N.js")), kt = W(() => import("./PenAndPaper-B6OvfyHH.js")), $t = W(() => import("./UserOptions-CsDlFB0L.js")), wt = W(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_chord: Ct } = Qt(), S = ft, ne = bt, E = v(!!S.dataset && Object.hasOwn(S.dataset, "matrix")), k = v(Ae()), C = v(null), p = v(null), g = v(null), _e = v(0), O = v(null), Te = v(null), Be = v(null), Se = v(null), Oe = v(null), be = v(0), pe = v(0), me = v(0), Q = v(!1), U = nt(null), Z = nt(null), Le = v(!1), J = v(null), e = v(ke()), { loading: De, FINAL_DATASET: M, manualLoading: K } = ha({
43
- ...Wt(S),
42
+ const yt = W(() => import("./vue-ui-accordion-DUlNpLir.js")), Pe = W(() => import("./BaseIcon-BcOSijbz.js")), kt = W(() => import("./DataTable-Cm8Tt9PQ.js")), $t = W(() => import("./PackageVersion-0XlRFsI_.js")), wt = W(() => import("./PenAndPaper-CyH7Ip2i.js")), Ct = W(() => import("./UserOptions-ZmwlARCV.js")), Mt = W(() => import("./BaseDraggableDialog-BmN9jTP8.js")), { vue_ui_chord: xt } = Jt(), S = bt, ne = mt, E = v(!!S.dataset && Object.hasOwn(S.dataset, "matrix")), k = v(Ie()), C = v(null), p = v(null), g = v(null), Te = v(0), O = v(null), Be = v(null), Se = v(null), Oe = v(null), Le = v(null), be = v(0), pe = v(0), me = v(0), Q = v(!1), U = rt(null), Z = rt(null), De = v(!1), J = v(null), ye = v(null), e = v($e()), { loading: Ee, FINAL_DATASET: M, manualLoading: K } = ga({
43
+ ...Ht(S),
44
44
  FINAL_CONFIG: e,
45
- prepareConfig: ke,
45
+ prepareConfig: $e,
46
46
  callback: () => {
47
47
  Promise.resolve().then(async () => {
48
- await vt(), X.value.showTable = e.value.table.show;
48
+ await ht(), j.value.showTable = e.value.table.show;
49
49
  });
50
50
  },
51
51
  skeletonDataset: {
@@ -58,7 +58,7 @@ const Ca = ["id"], Ma = ["id"], xa = ["xmlns", "viewBox"], Aa = ["width", "heigh
58
58
  labels: [],
59
59
  colors: ["#DBDBDB", "#C4C4C4", "#ADADAD", "#969696"]
60
60
  },
61
- skeletonConfig: Zt({
61
+ skeletonConfig: Kt({
62
62
  defaultConfig: e.value,
63
63
  userConfig: {
64
64
  useCssAnimation: !1,
@@ -87,53 +87,53 @@ const Ca = ["id"], Ma = ["id"], xa = ["xmlns", "viewBox"], Aa = ["width", "heigh
87
87
  }
88
88
  }
89
89
  })
90
- }), { userOptionsVisible: ye, setUserOptionsVisibility: Ee, keepUserOptionState: Ne } = ba({ config: e.value }), { svgRef: ee } = pa({ config: e.value.style.chart.title }), { isPrinting: Fe, isImaging: Re, generatePdf: ze, generateImage: Ue } = ga({
90
+ }), { userOptionsVisible: ke, setUserOptionsVisibility: Ne, keepUserOptionState: Re } = ma({ config: e.value }), { svgRef: ee } = ya({ config: e.value.style.chart.title }), { isPrinting: Fe, isImaging: ze, generatePdf: Ue, generateImage: Xe } = pa({
91
91
  elementId: `chord_${k.value}`,
92
92
  fileName: e.value.style.chart.title.text || "vue-ui-chord",
93
93
  options: e.value.userOptions.print
94
- }), X = v({
94
+ }), j = v({
95
95
  showTable: e.value.table.show
96
96
  });
97
- function ke() {
98
- const t = ht({
97
+ function $e() {
98
+ const t = gt({
99
99
  userConfig: S.config,
100
- defaultConfig: Ct
100
+ defaultConfig: xt
101
101
  });
102
102
  return t.theme ? {
103
- ...ht({
104
- userConfig: Kt.vue_ui_chord[t.theme] || S.config,
103
+ ...gt({
104
+ userConfig: ta.vue_ui_chord[t.theme] || S.config,
105
105
  defaultConfig: t
106
106
  }),
107
- customPalette: Jt[t.theme] || ge
107
+ customPalette: ea[t.theme] || ge
108
108
  } : t;
109
109
  }
110
- Me(() => S.config, (t) => {
111
- De.value || (e.value = ke()), ye.value = !e.value.userOptions.showOnChartHover, $e(), be.value += 1, pe.value += 1, me.value += 1, P.value = e.value.initialRotation, X.value.showTable = e.value.table.show;
110
+ xe(() => S.config, (t) => {
111
+ Ee.value || (e.value = $e()), ke.value = !e.value.userOptions.showOnChartHover, we(), be.value += 1, pe.value += 1, me.value += 1, _.value = e.value.initialRotation, j.value.showTable = e.value.table.show;
112
112
  }, { deep: !0 });
113
- const Xe = $(() => e.value.debug);
114
- Me(() => S.dataset, () => {
115
- Ve(), $e(), be.value += 1, pe.value += 1, me.value += 1;
113
+ const Ve = $(() => e.value.debug);
114
+ xe(() => S.dataset, () => {
115
+ je(), we(), be.value += 1, pe.value += 1, me.value += 1;
116
116
  });
117
- function Ve() {
118
- if (ea(S.dataset)) {
119
- dt({
117
+ function je() {
118
+ if (aa(S.dataset)) {
119
+ ft({
120
120
  componentName: "VueUiChord",
121
121
  type: "dataset",
122
- debug: Xe.value
122
+ debug: Ve.value
123
123
  }), E.value = !1, K.value = !0;
124
124
  return;
125
125
  }
126
- const t = ta({
126
+ const t = oa({
127
127
  datasetObject: S.dataset,
128
128
  requiredAttributes: ["matrix"]
129
129
  });
130
130
  if (t.length) {
131
131
  t.forEach((s) => {
132
- dt({
132
+ ft({
133
133
  componentName: "VueUiChord",
134
134
  type: "datasetAttribute",
135
135
  property: s,
136
- debug: Xe.value
136
+ debug: Ve.value
137
137
  });
138
138
  }), E.value = !1, K.value = !0;
139
139
  return;
@@ -159,25 +159,25 @@ dataset.matrix[${l}] = [${Array.isArray(o[l]) ? o[l].toString() : "invalid"}]`
159
159
  }
160
160
  E.value = !0, K.value = !1;
161
161
  }
162
- function $e() {
163
- if (Ve(), e.value.responsive) {
164
- const t = va(() => {
165
- const { width: o, height: a, heightNoTitle: l, heightSource: s, heightTitle: n, heightLegend: u } = da({
162
+ function we() {
163
+ if (je(), e.value.responsive) {
164
+ const t = ha(() => {
165
+ const { width: o, height: a, heightNoTitle: l, heightSource: s, heightTitle: n, heightLegend: u } = fa({
166
166
  chart: O.value,
167
- title: e.value.style.chart.title.text ? Te.value : null,
168
- legend: e.value.style.chart.legend.show ? Be.value : null,
169
- source: Se.value,
170
- noTitle: Oe.value
167
+ title: e.value.style.chart.title.text ? Be.value : null,
168
+ legend: e.value.style.chart.legend.show ? Se.value : null,
169
+ source: Oe.value,
170
+ noTitle: Le.value
171
171
  }), f = n + u + s + l;
172
172
  o < a ? O.value.style.width = "100%" : (O.value.style.height = "100%", ee.value.style.height = `calc(100% - ${f}px)`);
173
173
  }, 100);
174
174
  U.value && (Z.value && U.value.unobserve(Z.value), U.value.disconnect()), U.value = new ResizeObserver(t), Z.value = O.value.parentNode, U.value.observe(Z.value), t();
175
175
  }
176
- je.value = setTimeout(() => {
176
+ Ye.value = setTimeout(() => {
177
177
  Q.value = !0;
178
178
  }, 500);
179
179
  }
180
- function Mt() {
180
+ function At() {
181
181
  if (!M.value || !Object.hasOwn(M.value, "matrix") || M.value.matrix.length < 2) {
182
182
  console.warn(`VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:
183
183
 
@@ -193,56 +193,56 @@ matrix:[
193
193
  dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should have the same length as the matrix itself (${M.value.matrix.length})`), E.value = !1);
194
194
  });
195
195
  }
196
- const je = v(null);
197
- st(() => {
198
- Le.value = !0, $e();
196
+ const Ye = v(null);
197
+ ut(() => {
198
+ De.value = !0, we();
199
199
  });
200
200
  const L = v({
201
201
  height: 600,
202
202
  width: 600
203
- }), xt = $(() => e.value.userOptions.show && !e.value.style.chart.title.text), At = $(() => aa(e.value.customPalette)), b = $(() => ({
203
+ }), It = $(() => e.value.userOptions.show && !e.value.style.chart.title.text), _t = $(() => la(e.value.customPalette)), b = $(() => ({
204
204
  inner: L.value.width * 0.3 * e.value.style.chart.arcs.innerRadiusRatio,
205
205
  outer: L.value.width * 0.34 * e.value.style.chart.arcs.outerRadiusRatio
206
- })), It = $(() => e.value.style.chart.arcs.padAngle / 100), m = $(() => ({
206
+ })), Pt = $(() => e.value.style.chart.arcs.padAngle / 100), m = $(() => ({
207
207
  matrix: M.value.matrix ?? [[0]],
208
208
  labels: M.value.labels ?? [""],
209
- colors: M.value.colors && Array.isArray(M.value.colors) && M.value.colors.length ? M.value.colors.map((t) => oa(t)) : M.value.matrix.map((t, o) => At.value[o] || ge[o] || ge[o % ge.length])
209
+ colors: M.value.colors && Array.isArray(M.value.colors) && M.value.colors.length ? M.value.colors.map((t) => na(t)) : M.value.matrix.map((t, o) => _t.value[o] || ge[o] || ge[o % ge.length])
210
210
  }));
211
- function Pt(t, o) {
211
+ function Tt(t, o) {
212
212
  const a = t.length, l = b.value.inner, s = new Array(a).fill(0);
213
213
  let n = 0;
214
214
  for (let c = 0; c < a; c += 1)
215
215
  for (let y = 0; y < a; y += 1)
216
216
  s[c] += t[c][y], n += t[c][y];
217
217
  const u = (2 * Math.PI - o * a) / n, f = [];
218
- let _ = 0;
218
+ let P = 0;
219
219
  for (let c = 0; c < a; c += 1) {
220
- const y = _, B = y + s[c] * u;
220
+ const y = P, B = y + s[c] * u;
221
221
  f.push({
222
222
  index: c,
223
223
  pattern: `pattern_${k.value}_${c}`,
224
224
  startAngle: y,
225
225
  endAngle: B,
226
226
  name: m.value.labels[c],
227
- id: Ae(),
227
+ id: Ie(),
228
228
  color: m.value.colors[c],
229
229
  proportion: s[c] / n
230
- }), _ = B + o;
230
+ }), P = B + o;
231
231
  }
232
232
  const T = [];
233
233
  for (let c = 0; c < a; c += 1) {
234
- const y = t[c].map((D, V) => ({ j: V, v: D }));
235
- y.sort((D, V) => V.v - D.v);
234
+ const y = t[c].map((D, X) => ({ j: X, v: D }));
235
+ y.sort((D, X) => X.v - D.v);
236
236
  let B = f[c].startAngle;
237
- for (const { j: D, v: V } of y) {
238
- const G = B, le = G + V * u;
237
+ for (const { j: D, v: X } of y) {
238
+ const G = B, le = G + X * u;
239
239
  T.push({
240
240
  index: c,
241
241
  subIndex: D,
242
242
  pattern: `pattern_${k.value}_${c}`,
243
243
  startAngle: G,
244
244
  endAngle: le,
245
- value: V,
245
+ value: X,
246
246
  groupName: m.value.labels[c],
247
247
  groupId: f[c].id,
248
248
  groupColor: m.value.colors[c],
@@ -257,16 +257,16 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
257
257
  const y = T.find(
258
258
  (B) => B.index === c.subIndex && B.subIndex === c.index
259
259
  );
260
- N.push({ source: c, target: y, id: Ae() });
260
+ N.push({ source: c, target: y, id: Ie() });
261
261
  }
262
262
  return { groups: f, chords: N };
263
263
  }
264
264
  const A = $(() => {
265
- const t = Pt(m.value.matrix, It.value);
266
- return Mt(), t.chords.sort(
265
+ const t = Tt(m.value.matrix, Pt.value);
266
+ return At(), t.chords.sort(
267
267
  (o, a) => Math.max(a.source.value, a.target.value) - Math.max(o.source.value, o.target.value)
268
268
  ), t;
269
- }), _t = $(() => {
269
+ }), Bt = $(() => {
270
270
  const t = b.value.outer + e.value.style.chart.ribbons.labels.offset + 12, a = e.value.style.chart.ribbons.labels.fontSize * 0.6, l = [];
271
271
  if (p.value) {
272
272
  const n = p.value;
@@ -325,13 +325,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
325
325
  });
326
326
  }
327
327
  return g.value && s(g.value), C.value && s(C.value.id), l;
328
- }), Tt = $(() => {
329
- const t = _t.value.map((s) => ({ ...s })).sort((s, n) => s.theta - n.theta), o = e.value.style.chart.ribbons.labels.minSeparationDeg * Math.PI / 180;
328
+ }), St = $(() => {
329
+ const t = Bt.value.map((s) => ({ ...s })).sort((s, n) => s.theta - n.theta), o = e.value.style.chart.ribbons.labels.minSeparationDeg * Math.PI / 180;
330
330
  let a = !0, l = 0;
331
331
  for (; a && l++ < 10; ) {
332
332
  a = !1;
333
333
  for (let f = 1; f < t.length; f += 1) {
334
- const _ = t[f - 1], T = t[f], N = _.theta + _.w + o;
334
+ const P = t[f - 1], T = t[f], N = P.theta + P.w + o;
335
335
  T.theta < N && (T.theta = N, a = !0);
336
336
  }
337
337
  const s = t[0], n = t[t.length - 1], u = n.theta + n.w + o - 2 * Math.PI;
@@ -339,55 +339,55 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
339
339
  }
340
340
  return t;
341
341
  });
342
- function Ye(t, o, a, l) {
343
- const s = t - Math.PI / 2, n = o - Math.PI / 2, u = Math.cos(s) * a, f = Math.sin(s) * a, _ = Math.cos(n) * a, T = Math.sin(n) * a, N = Math.cos(n) * l, c = Math.sin(n) * l, y = Math.cos(s) * l, B = Math.sin(s) * l, D = o - t > Math.PI ? 1 : 0;
344
- return `M${u},${f} A${a},${a} 0 ${D} 1 ${_},${T} L${N},${c} A${l},${l} 0 ${D} 0 ${y},${B} Z`;
342
+ function Ge(t, o, a, l) {
343
+ const s = t - Math.PI / 2, n = o - Math.PI / 2, u = Math.cos(s) * a, f = Math.sin(s) * a, P = Math.cos(n) * a, T = Math.sin(n) * a, N = Math.cos(n) * l, c = Math.sin(n) * l, y = Math.cos(s) * l, B = Math.sin(s) * l, D = o - t > Math.PI ? 1 : 0;
344
+ return `M${u},${f} A${a},${a} 0 ${D} 1 ${P},${T} L${N},${c} A${l},${l} 0 ${D} 0 ${y},${B} Z`;
345
345
  }
346
346
  function se(t, o) {
347
- const a = b.value.inner, l = t.startAngle - Math.PI / 2, s = t.endAngle - Math.PI / 2, n = o.startAngle - Math.PI / 2, u = o.endAngle - Math.PI / 2, f = Math.cos(l) * a, _ = Math.sin(l) * a, T = Math.cos(s) * a, N = Math.sin(s) * a, c = Math.cos(n) * a, y = Math.sin(n) * a, B = Math.cos(u) * a, D = Math.sin(u) * a, V = t.endAngle - t.startAngle > Math.PI ? 1 : 0, G = o.endAngle - o.startAngle > Math.PI ? 1 : 0;
348
- return `M${f},${_}A${a},${a} 0 ${V} 1 ${T},${N}Q0,0 ${c},${y}A${a},${a} 0 ${G} 1 ${B},${D}Q0,0 ${f},${_}Z`;
347
+ const a = b.value.inner, l = t.startAngle - Math.PI / 2, s = t.endAngle - Math.PI / 2, n = o.startAngle - Math.PI / 2, u = o.endAngle - Math.PI / 2, f = Math.cos(l) * a, P = Math.sin(l) * a, T = Math.cos(s) * a, N = Math.sin(s) * a, c = Math.cos(n) * a, y = Math.sin(n) * a, B = Math.cos(u) * a, D = Math.sin(u) * a, X = t.endAngle - t.startAngle > Math.PI ? 1 : 0, G = o.endAngle - o.startAngle > Math.PI ? 1 : 0;
348
+ return `M${f},${P}A${a},${a} 0 ${X} 1 ${T},${N}Q0,0 ${c},${y}A${a},${a} 0 ${G} 1 ${B},${D}Q0,0 ${f},${P}Z`;
349
349
  }
350
- const Ge = $(() => P.value * Math.PI / 180);
351
- function Bt(t) {
350
+ const We = $(() => _.value * Math.PI / 180);
351
+ function Ot(t) {
352
352
  return (t.startAngle + t.endAngle) / 2;
353
353
  }
354
- function St(t) {
355
- return ((Bt(t) + Ge.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
354
+ function Lt(t) {
355
+ return ((Ot(t) + We.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
356
356
  }
357
- function Ot(t) {
358
- let o = t + Ge.value;
357
+ function Dt(t) {
358
+ let o = t + We.value;
359
359
  return o = (o % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI), o > Math.PI ? "end" : "start";
360
360
  }
361
- function Lt(t) {
361
+ function Et(t) {
362
362
  const o = t - Math.PI / 2, a = Math.cos(o) * (b.value.outer + e.value.style.chart.arcs.labels.offset + 24), l = Math.sin(o) * (b.value.outer + e.value.style.chart.arcs.labels.offset + 24);
363
363
  return `translate(${a},${l})`;
364
364
  }
365
- function Dt(t, o, a) {
366
- const l = t - Math.PI / 2, s = o - Math.PI / 2, n = Math.cos(l) * a, u = Math.sin(l) * a, f = Math.cos(s) * a, _ = Math.sin(s) * a, T = o - t > Math.PI ? 1 : 0;
367
- return `M${n},${u} A${a},${a} 0 ${T} 1 ${f},${_}`;
365
+ function Nt(t, o, a) {
366
+ const l = t - Math.PI / 2, s = o - Math.PI / 2, n = Math.cos(l) * a, u = Math.sin(l) * a, f = Math.cos(s) * a, P = Math.sin(s) * a, T = o - t > Math.PI ? 1 : 0;
367
+ return `M${n},${u} A${a},${a} 0 ${T} 1 ${f},${P}`;
368
368
  }
369
- const P = v(e.value.initialRotation), te = v(!1);
370
- let We = 0, qe = 0;
371
- function He(t) {
369
+ const _ = v(e.value.initialRotation), te = v(!1);
370
+ let qe = 0, He = 0;
371
+ function Qe(t) {
372
372
  const o = ee.value.getBoundingClientRect(), a = o.left + o.width / 2, l = o.top + o.height / 2, s = t.clientX ?? t.touches[0].clientX, n = t.clientY ?? t.touches[0].clientY;
373
373
  return Math.atan2(n - l, s - a);
374
374
  }
375
- function Qe(t) {
376
- !e.value.enableRotation || ae.value || (t.preventDefault(), te.value = !0, We = P.value, qe = He(t));
375
+ function Ze(t) {
376
+ !e.value.enableRotation || ae.value || (t.preventDefault(), te.value = !0, qe = _.value, He = Qe(t));
377
377
  }
378
378
  function re(t) {
379
379
  if (!te.value) return;
380
- const o = He(t);
381
- P.value = We + (o - qe) * 180 / Math.PI;
380
+ const o = Qe(t);
381
+ _.value = qe + (o - He) * 180 / Math.PI;
382
382
  }
383
383
  function ue() {
384
384
  te.value = !1;
385
385
  }
386
- function Ze(t) {
387
- return ca(
386
+ function Je(t) {
387
+ return da(
388
388
  e.value.style.chart.ribbons.labels.formatter,
389
389
  t,
390
- Ie({
390
+ _e({
391
391
  p: e.value.style.chart.ribbons.labels.prefix,
392
392
  v: t,
393
393
  s: e.value.style.chart.ribbons.labels.suffix,
@@ -395,74 +395,74 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
395
395
  })
396
396
  );
397
397
  }
398
- st(() => {
398
+ ut(() => {
399
399
  window.addEventListener("mousemove", re), window.addEventListener("mouseup", ue), window.addEventListener("touchmove", re, { passive: !1 }), window.addEventListener("touchend", ue);
400
- }), rt(() => {
401
- window.removeEventListener("mousemove", re), window.removeEventListener("mouseup", ue), window.removeEventListener("touchmove", re), window.removeEventListener("touchend", ue), clearTimeout(je.value), U.value && (Z.value && U.value.unobserve(Z.value), U.value.disconnect());
400
+ }), it(() => {
401
+ window.removeEventListener("mousemove", re), window.removeEventListener("mouseup", ue), window.removeEventListener("touchmove", re), window.removeEventListener("touchend", ue), clearTimeout(Ye.value), U.value && (Z.value && U.value.unobserve(Z.value), U.value.disconnect());
402
402
  });
403
403
  const ie = v(!1);
404
- function Je(t) {
405
- ie.value = t, _e.value += 1;
404
+ function Ke(t) {
405
+ ie.value = t, Te.value += 1;
406
406
  }
407
- function Et(t, o) {
407
+ function Rt(t, o) {
408
408
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), !g.value && (C.value = t);
409
409
  }
410
- function Nt(t, o) {
410
+ function Ft(t, o) {
411
411
  C.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
412
412
  }
413
- function Ft(t, o) {
413
+ function zt(t, o) {
414
414
  ne("selectGroup", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
415
415
  }
416
- function Rt(t, o) {
416
+ function Ut(t, o) {
417
417
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), !g.value && (p.value = t);
418
418
  }
419
- function zt(t, o) {
419
+ function Xt(t, o) {
420
420
  p.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
421
421
  }
422
- function Ut(t, o) {
422
+ function Vt(t, o) {
423
423
  ne("selectRibbon", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
424
424
  }
425
- function Ke(t) {
425
+ function et(t) {
426
426
  return !g.value && !C.value && !p.value ? 0.8 : (g.value ? g.value === t.source.groupId : C.value ? C.value.id === t.source.groupId : p.value?.id === t.id) ? 1 : 0.1;
427
427
  }
428
- function et(t) {
428
+ function tt(t) {
429
429
  return !g.value && !C.value && !p.value || (g.value ? g.value === t.id : C.value ? C.value.id === t.id : [p.value?.source.groupId, p.value?.target.groupId].includes(t.id)) ? 1 : 0.3;
430
430
  }
431
431
  const ae = v(!1);
432
- function we() {
432
+ function Ce() {
433
433
  ae.value = !ae.value;
434
434
  }
435
- function tt() {
436
- X.value.showTable = !X.value.showTable;
435
+ function at() {
436
+ j.value.showTable = !j.value.showTable;
437
437
  }
438
- function Xt() {
438
+ function jt() {
439
439
  return A.value;
440
440
  }
441
441
  const Y = v(null);
442
- function at() {
442
+ function ot() {
443
443
  const t = e.value.initialRotation;
444
444
  Y.value !== null && cancelAnimationFrame(Y.value);
445
445
  const o = () => {
446
- P.value += (t - P.value) * 0.05, Math.abs(P.value - t) < 0.1 ? (P.value = t, Y.value = null) : Y.value = requestAnimationFrame(o);
446
+ _.value += (t - _.value) * 0.05, Math.abs(_.value - t) < 0.1 ? (_.value = t, Y.value = null) : Y.value = requestAnimationFrame(o);
447
447
  };
448
448
  Y.value = requestAnimationFrame(o);
449
449
  }
450
- rt(() => {
450
+ it(() => {
451
451
  Y.value !== null && cancelAnimationFrame(Y.value);
452
452
  });
453
- function ot(t) {
453
+ function lt(t) {
454
454
  t === g.value ? (g.value = null, ne("selectLegend", null)) : (g.value = t, ne("selectLegend", A.value.groups.find((o) => o.id === t)));
455
455
  }
456
- const lt = $(() => A.value.groups.map((t, o) => ({
456
+ const nt = $(() => A.value.groups.map((t, o) => ({
457
457
  name: t.name,
458
458
  color: t.color,
459
459
  shape: "circle",
460
460
  patternIndex: o,
461
461
  pattern: `pattern_${k.value}_${o}`,
462
462
  id: t.id,
463
- select: () => ot(t.id),
463
+ select: () => lt(t.id),
464
464
  opacity: g.value ? g.value === t.id ? 1 : 0.3 : 1
465
- }))), Vt = $(() => ({
465
+ }))), Yt = $(() => ({
466
466
  cy: "chord-div-legend",
467
467
  backgroundColor: e.value.style.chart.legend.backgroundColor,
468
468
  color: e.value.style.chart.legend.color,
@@ -499,8 +499,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
499
499
  config: a
500
500
  };
501
501
  });
502
- function Ce(t = null) {
503
- vt(() => {
502
+ function Me(t = null) {
503
+ ht(() => {
504
504
  const o = m.value.matrix.map((s, n) => [
505
505
  [m.value.labels[n] || n],
506
506
  s
@@ -511,13 +511,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
511
511
  [""],
512
512
  ...m.value.labels.map((s, n) => [s || n])
513
513
  ]
514
- ].concat(o), l = ua(a);
515
- t ? t(l) : ia({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-chord" });
514
+ ].concat(o), l = ca(a);
515
+ t ? t(l) : va({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-chord" });
516
516
  });
517
517
  }
518
- async function jt({ scale: t = 2 } = {}) {
518
+ async function Gt({ scale: t = 2 } = {}) {
519
519
  if (!O.value) return;
520
- const { width: o, height: a } = O.value.getBoundingClientRect(), l = o / a, { imageUri: s, base64: n } = await ma({ domElement: O.value, base64: !0, img: !0, scale: t });
520
+ const { width: o, height: a } = O.value.getBoundingClientRect(), l = o / a, { imageUri: s, base64: n } = await ka({ domElement: O.value, base64: !0, img: !0, scale: t });
521
521
  return {
522
522
  imageUri: s,
523
523
  base64: n,
@@ -527,8 +527,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
527
527
  aspectRatio: l
528
528
  };
529
529
  }
530
- function Yt(t, o) {
531
- return `${m.value.labels[o]}${e.value.style.chart.arcs.labels.showPercentage ? Ie({
530
+ function Wt(t, o) {
531
+ return `${m.value.labels[o]}${e.value.style.chart.arcs.labels.showPercentage ? _e({
532
532
  p: " (",
533
533
  v: isNaN(t.proportion) ? 0 : t.proportion * 100,
534
534
  s: "%)",
@@ -536,9 +536,9 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
536
536
  }) : ""}`;
537
537
  }
538
538
  const oe = $(() => {
539
- const t = e.value.table.useDialog && !e.value.table.show, o = X.value.showTable;
539
+ const t = e.value.table.useDialog && !e.value.table.show, o = j.value.showTable;
540
540
  return {
541
- component: t ? wt : pt,
541
+ component: t ? Mt : yt,
542
542
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
543
543
  props: t ? {
544
544
  backgroundColor: e.value.table.th.backgroundColor,
@@ -565,53 +565,57 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
565
565
  }
566
566
  };
567
567
  });
568
- return Me(() => X.value.showTable, (t) => {
568
+ xe(() => j.value.showTable, (t) => {
569
569
  e.value.table.show || (t && e.value.table.useDialog && J.value ? J.value.open() : "close" in J.value && J.value.close());
570
- }), gt({
571
- getData: Xt,
572
- getImage: jt,
573
- generateCsv: Ce,
574
- generateImage: Ue,
575
- generatePdf: ze,
576
- toggleAnnotator: we,
577
- toggleTable: tt,
578
- toggleFullscreen: Je
570
+ });
571
+ function st() {
572
+ j.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
573
+ }
574
+ return pt({
575
+ getData: jt,
576
+ getImage: Gt,
577
+ generateCsv: Me,
578
+ generateImage: Xe,
579
+ generatePdf: Ue,
580
+ toggleAnnotator: Ce,
581
+ toggleTable: at,
582
+ toggleFullscreen: Ke
579
583
  }), (t, o) => (r(), i("div", {
580
584
  ref_key: "chordChart",
581
585
  ref: O,
582
- class: R({
586
+ class: F({
583
587
  "vue-ui-chord": !0,
584
588
  "vue-data-ui-wrapper-fullscreen": ie.value,
585
589
  "vue-data-ui-responsive": e.value.responsive
586
590
  }),
587
- style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
591
+ style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
588
592
  id: `chord_${k.value}`,
589
- onMouseenter: o[4] || (o[4] = () => d(Ee)(!0)),
590
- onMouseleave: o[5] || (o[5] = () => d(Ee)(!1))
593
+ onMouseenter: o[2] || (o[2] = () => d(Ne)(!0)),
594
+ onMouseleave: o[3] || (o[3] = () => d(Ne)(!1))
591
595
  }, [
592
- e.value.userOptions.buttons.annotator && d(ee) ? (r(), j(d(kt), {
596
+ e.value.userOptions.buttons.annotator && d(ee) ? (r(), V(d(wt), {
593
597
  key: 0,
594
598
  color: e.value.style.chart.color,
595
599
  backgroundColor: e.value.style.chart.backgroundColor,
596
600
  active: ae.value,
597
601
  svgRef: d(ee),
598
- onClose: we
602
+ onClose: Ce
599
603
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : h("", !0),
600
604
  w(t.$slots, "userConfig", {}, void 0, !0),
601
- xt.value ? (r(), i("div", {
605
+ It.value ? (r(), i("div", {
602
606
  key: 1,
603
607
  ref_key: "noTitle",
604
- ref: Oe,
608
+ ref: Le,
605
609
  class: "vue-data-ui-no-title-space",
606
610
  style: "height:36px; width: 100%;background:transparent"
607
611
  }, null, 512)) : h("", !0),
608
612
  e.value.style.chart.title.text ? (r(), i("div", {
609
613
  key: 2,
610
614
  ref_key: "chartTitle",
611
- ref: Te,
615
+ ref: Be,
612
616
  style: "width:100%;background:transparent;padding-bottom:24px"
613
617
  }, [
614
- (r(), j(ka, {
618
+ (r(), V(wa, {
615
619
  key: `title_${be.value}`,
616
620
  config: {
617
621
  title: {
@@ -627,14 +631,15 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
627
631
  ], 512)) : h("", !0),
628
632
  I("div", {
629
633
  id: `legend-top-${k.value}`
630
- }, null, 8, Ma),
631
- e.value.userOptions.show && E.value && (d(Ne) || d(ye)) ? (r(), j(d($t), {
632
- ref: "details",
633
- key: `user_option_${_e.value}`,
634
+ }, null, 8, Aa),
635
+ e.value.userOptions.show && E.value && (d(Re) || d(ke)) ? (r(), V(d(Ct), {
636
+ ref_key: "userOptionsRef",
637
+ ref: ye,
638
+ key: `user_option_${Te.value}`,
634
639
  backgroundColor: e.value.style.chart.backgroundColor,
635
640
  color: e.value.style.chart.color,
636
641
  isPrinting: d(Fe),
637
- isImaging: d(Re),
642
+ isImaging: d(ze),
638
643
  uid: k.value,
639
644
  hasTooltip: !1,
640
645
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -651,16 +656,17 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
651
656
  isAnnotation: ae.value,
652
657
  callbacks: e.value.userOptions.callbacks,
653
658
  printScale: e.value.userOptions.print.scale,
654
- onToggleFullscreen: Je,
655
- onGeneratePdf: d(ze),
656
- onGenerateCsv: Ce,
657
- onGenerateImage: d(Ue),
658
- onToggleTable: tt,
659
- onToggleAnnotator: we,
660
- style: F({
661
- visibility: d(Ne) ? d(ye) ? "visible" : "hidden" : "visible"
659
+ tableDialog: e.value.table.useDialog,
660
+ onToggleFullscreen: Ke,
661
+ onGeneratePdf: d(Ue),
662
+ onGenerateCsv: Me,
663
+ onGenerateImage: d(Xe),
664
+ onToggleTable: at,
665
+ onToggleAnnotator: Ce,
666
+ style: R({
667
+ visibility: d(Re) ? d(ke) ? "visible" : "hidden" : "visible"
662
668
  })
663
- }, xe({ _: 2 }, [
669
+ }, Ae({ _: 2 }, [
664
670
  t.$slots.menuIcon ? {
665
671
  name: "menuIcon",
666
672
  fn: x(({ isOpen: a, color: l }) => [
@@ -710,9 +716,9 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
710
716
  ]),
711
717
  key: "6"
712
718
  } : void 0
713
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
719
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
714
720
  (r(), i("svg", {
715
- xmlns: d(la),
721
+ xmlns: d(sa),
716
722
  ref_key: "svgRef",
717
723
  ref: ee,
718
724
  viewBox: `0 0 ${L.value.width} ${L.value.height}`,
@@ -720,11 +726,11 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
720
726
  style: {
721
727
  overflow: "visible"
722
728
  },
723
- class: R({ "vue-ui-chord-rotating": te.value, "vue-ui-chord-idle": !te.value }),
724
- onMousedown: ut(Qe, ["prevent"]),
725
- onTouchstart: ut(Qe, ["prevent"])
729
+ class: F({ "vue-ui-chord-rotating": te.value, "vue-ui-chord-idle": !te.value }),
730
+ onMousedown: ct(Ze, ["prevent"]),
731
+ onTouchstart: ct(Ze, ["prevent"])
726
732
  }, [
727
- fe(d(yt)),
733
+ fe(d($t)),
728
734
  t.$slots["chart-background"] ? (r(), i("foreignObject", {
729
735
  key: 0,
730
736
  x: 0,
@@ -736,32 +742,32 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
736
742
  }
737
743
  }, [
738
744
  w(t.$slots, "chart-background", {}, void 0, !0)
739
- ], 8, Aa)) : h("", !0),
740
- e.value.style.chart.arcs.labels.curved ? (r(), i("defs", Ia, [
745
+ ], 8, _a)) : h("", !0),
746
+ e.value.style.chart.arcs.labels.curved ? (r(), i("defs", Pa, [
741
747
  (r(!0), i(z, null, q(A.value.groups, (a, l) => (r(), i("path", {
742
748
  key: `labelPath-${l}`,
743
749
  id: `labelPath-${l}_${k.value}`,
744
- d: Dt(
750
+ d: Nt(
745
751
  a.startAngle,
746
752
  a.endAngle,
747
753
  (b.value.inner + b.value.outer) / 2 + e.value.style.chart.arcs.labels.offset
748
754
  ),
749
755
  fill: "none"
750
- }, null, 8, Pa))), 128))
756
+ }, null, 8, Ta))), 128))
751
757
  ])) : h("", !0),
752
- t.$slots.pattern ? (r(), i("g", _a, [
758
+ t.$slots.pattern ? (r(), i("g", Ba, [
753
759
  (r(!0), i(z, null, q(A.value.groups, (a, l) => (r(), i("defs", null, [
754
- w(t.$slots, "pattern", it({ ref_for: !0 }, { seriesIndex: a.index, patternId: `pattern_${k.value}_${l}` }), void 0, !0)
760
+ w(t.$slots, "pattern", vt({ ref_for: !0 }, { seriesIndex: a.index, patternId: `pattern_${k.value}_${l}` }), void 0, !0)
755
761
  ]))), 256))
756
762
  ])) : h("", !0),
757
763
  I("g", {
758
- transform: `translate(${L.value.width / 2}, ${L.value.height / 2}) rotate(${P.value})`
764
+ transform: `translate(${L.value.width / 2}, ${L.value.height / 2}) rotate(${_.value})`
759
765
  }, [
760
766
  (r(!0), i(z, null, q(A.value.groups, (a, l) => (r(), i("g", null, [
761
767
  (r(), i("path", {
762
- class: R({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": e.value.useCssAnimation && !Q.value }),
768
+ class: F({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": e.value.useCssAnimation && !Q.value }),
763
769
  key: `arc-${l}`,
764
- d: Ye(
770
+ d: Ge(
765
771
  a.startAngle,
766
772
  a.endAngle,
767
773
  b.value.outer,
@@ -772,17 +778,17 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
772
778
  "stroke-width": e.value.style.chart.arcs.strokeWidth,
773
779
  "stroke-linecap": "round",
774
780
  "stroke-linejoin": "round",
775
- style: F({
776
- opacity: et(a)
781
+ style: R({
782
+ opacity: tt(a)
777
783
  }),
778
- onMouseenter: (s) => Et(a, l),
779
- onMouseleave: (s) => Nt(a, l),
780
- onClick: (s) => Ft(a, l)
781
- }, null, 46, Ba)),
784
+ onMouseenter: (s) => Rt(a, l),
785
+ onMouseleave: (s) => Ft(a, l),
786
+ onClick: (s) => zt(a, l)
787
+ }, null, 46, Oa)),
782
788
  t.$slots.pattern ? (r(), i("path", {
783
- class: R({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": e.value.useCssAnimation && !Q.value }),
789
+ class: F({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": e.value.useCssAnimation && !Q.value }),
784
790
  key: `arc-${l}`,
785
- d: Ye(
791
+ d: Ge(
786
792
  a.startAngle,
787
793
  a.endAngle,
788
794
  b.value.outer,
@@ -793,11 +799,11 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
793
799
  "stroke-width": e.value.style.chart.arcs.strokeWidth,
794
800
  "stroke-linecap": "round",
795
801
  "stroke-linejoin": "round",
796
- style: F({
797
- opacity: et(a),
802
+ style: R({
803
+ opacity: tt(a),
798
804
  pointerEvents: "none"
799
805
  })
800
- }, null, 14, Sa)) : h("", !0)
806
+ }, null, 14, La)) : h("", !0)
801
807
  ]))), 256)),
802
808
  I("g", null, [
803
809
  (r(!0), i(z, null, q(C.value ? A.value.chords.filter((a) => a.source.groupId === C.value.id) : g.value ? A.value.chords.filter((a) => a.source.groupId === g.value) : A.value.chords, (a, l) => (r(), i(z, {
@@ -805,49 +811,49 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
805
811
  }, [
806
812
  a.source.value ? (r(), i("path", {
807
813
  key: 0,
808
- class: R({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": e.value.useCssAnimation && !Q.value }),
814
+ class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": e.value.useCssAnimation && !Q.value }),
809
815
  d: se(a.source, a.target),
810
816
  fill: e.value.style.chart.backgroundColor,
811
- style: F({ opacity: e.value.style.chart.ribbons.underlayerOpacity })
812
- }, null, 14, Oa)) : h("", !0),
817
+ style: R({ opacity: e.value.style.chart.ribbons.underlayerOpacity })
818
+ }, null, 14, Da)) : h("", !0),
813
819
  a.source.value ? (r(), i("path", {
814
820
  key: 1,
815
- class: R({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": e.value.useCssAnimation && !Q.value }),
821
+ class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": e.value.useCssAnimation && !Q.value }),
816
822
  d: se(a.source, a.target),
817
823
  fill: m.value.colors[a.source.index],
818
824
  stroke: e.value.style.chart.ribbons.stroke,
819
825
  "stroke-width": e.value.style.chart.ribbons.strokeWidth,
820
826
  "stroke-linecap": "round",
821
827
  "stroke-linejoin": "round",
822
- style: F({ opacity: Ke(a) }),
823
- onMouseenter: (s) => Rt({
828
+ style: R({ opacity: et(a) }),
829
+ onMouseenter: (s) => Ut({
824
830
  ...a,
825
831
  path: se(a.source, a.target),
826
832
  color: m.value.colors[a.source.index]
827
833
  }, l),
828
- onClick: (s) => Ut({
834
+ onClick: (s) => Vt({
829
835
  ...a,
830
836
  color: m.value.colors[a.source.index]
831
837
  }, l),
832
- onMouseleave: (s) => zt({
838
+ onMouseleave: (s) => Xt({
833
839
  ...a,
834
840
  color: m.value.colors[a.source.index]
835
841
  }, l)
836
- }, null, 46, La)) : h("", !0),
842
+ }, null, 46, Ea)) : h("", !0),
837
843
  a.source.value && t.$slots.pattern ? (r(), i("path", {
838
844
  key: 2,
839
- class: R({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": e.value.useCssAnimation && !Q.value }),
845
+ class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": e.value.useCssAnimation && !Q.value }),
840
846
  d: se(a.source, a.target),
841
847
  fill: `url(#pattern_${k.value}_${a.source.index})`,
842
848
  stroke: e.value.style.chart.ribbons.stroke,
843
849
  "stroke-width": e.value.style.chart.ribbons.strokeWidth,
844
850
  "stroke-linecap": "round",
845
851
  "stroke-linejoin": "round",
846
- style: F({
847
- opacity: Ke(a),
852
+ style: R({
853
+ opacity: et(a),
848
854
  pointerEvents: "none"
849
855
  })
850
- }, null, 14, Da)) : h("", !0)
856
+ }, null, 14, Na)) : h("", !0)
851
857
  ], 64))), 128)),
852
858
  p.value ? (r(), i("path", {
853
859
  key: 0,
@@ -857,11 +863,11 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
857
863
  "stroke-width": e.value.style.chart.ribbons.strokeWidth,
858
864
  "stroke-linecap": "round",
859
865
  "stroke-linejoin": "round",
860
- class: R({ "vue-ui-chord-ribbon": !0 }),
866
+ class: F({ "vue-ui-chord-ribbon": !0 }),
861
867
  style: {
862
868
  pointerEvents: "none"
863
869
  }
864
- }, null, 8, Ea)) : h("", !0),
870
+ }, null, 8, Ra)) : h("", !0),
865
871
  p.value && t.$slots.pattern ? (r(), i("path", {
866
872
  key: 1,
867
873
  d: p.value.path,
@@ -870,14 +876,14 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
870
876
  "stroke-width": e.value.style.chart.ribbons.strokeWidth,
871
877
  "stroke-linecap": "round",
872
878
  "stroke-linejoin": "round",
873
- class: R({ "vue-ui-chord-ribbon": !0 }),
879
+ class: F({ "vue-ui-chord-ribbon": !0 }),
874
880
  style: {
875
881
  pointerEvents: "none"
876
882
  }
877
- }, null, 8, Na)) : h("", !0)
883
+ }, null, 8, Fa)) : h("", !0)
878
884
  ]),
879
- (C.value || p.value || g.value) && e.value.style.chart.ribbons.labels.show ? (r(), i("g", Fa, [
880
- (r(!0), i(z, null, q(Tt.value, (a) => (r(), i(z, {
885
+ (C.value || p.value || g.value) && e.value.style.chart.ribbons.labels.show ? (r(), i("g", za, [
886
+ (r(!0), i(z, null, q(St.value, (a) => (r(), i(z, {
881
887
  key: a.id
882
888
  }, [
883
889
  I("line", {
@@ -888,7 +894,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
888
894
  stroke: e.value.style.chart.backgroundColor,
889
895
  "stroke-width": e.value.style.chart.ribbons.labels.connector.strokeWidth * 3,
890
896
  "pointer-events": "none"
891
- }, null, 8, Ra),
897
+ }, null, 8, Ua),
892
898
  I("line", {
893
899
  x1: a.midBaseX,
894
900
  y1: a.midBaseY,
@@ -897,7 +903,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
897
903
  stroke: e.value.style.chart.ribbons.labels.connector.stroke,
898
904
  "stroke-width": e.value.style.chart.ribbons.labels.connector.strokeWidth,
899
905
  "pointer-events": "none"
900
- }, null, 8, za),
906
+ }, null, 8, Xa),
901
907
  e.value.style.chart.ribbons.labels.marker.show ? (r(), i("circle", {
902
908
  key: 0,
903
909
  cx: Math.cos(a.theta - Math.PI / 2) * (b.value.outer + e.value.style.chart.ribbons.labels.offset + 12),
@@ -907,99 +913,99 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
907
913
  "stroke-width": e.value.style.chart.ribbons.labels.marker.strokeWidth,
908
914
  fill: a.groupColor,
909
915
  "pointer-events": "none"
910
- }, null, 8, Ua)) : h("", !0),
916
+ }, null, 8, Va)) : h("", !0),
911
917
  I("text", {
912
918
  transform: `
913
919
  translate(
914
920
  ${Math.cos(a.theta - Math.PI / 2) * (b.value.outer + e.value.style.chart.ribbons.labels.offset + 24)},
915
921
  ${Math.sin(a.theta - Math.PI / 2) * (b.value.outer + e.value.style.chart.ribbons.labels.offset + 24)}
916
- ) rotate(${-P.value})
922
+ ) rotate(${-_.value})
917
923
  `,
918
924
  fill: e.value.style.chart.ribbons.labels.useSerieColor ? a.groupColor : e.value.style.chart.ribbons.labels.color,
919
- "text-anchor": Ot(a.theta),
925
+ "text-anchor": Dt(a.theta),
920
926
  "font-size": e.value.style.chart.ribbons.labels.fontSize,
921
927
  "font-weight": e.value.style.chart.ribbons.labels.bold ? "bold" : "normal",
922
928
  dy: ".35em",
923
929
  "pointer-events": "none"
924
- }, H(Ze(a.value)), 9, Xa)
930
+ }, H(Je(a.value)), 9, ja)
925
931
  ], 64))), 128))
926
932
  ])) : h("", !0),
927
- e.value.style.chart.arcs.labels.show ? (r(), i("g", Va, [
933
+ e.value.style.chart.arcs.labels.show ? (r(), i("g", Ya, [
928
934
  e.value.style.chart.arcs.labels.curved ? (r(!0), i(z, { key: 0 }, q(A.value.groups, (a, l) => (r(), i("text", {
929
935
  class: "vue-ui-chord-label-curved",
930
936
  key: `curved-label-${l}`,
931
937
  "font-size": e.value.style.chart.arcs.labels.fontSize,
932
938
  "font-weight": e.value.style.chart.arcs.labels.bold ? "bold" : "normal",
933
- fill: e.value.style.chart.arcs.labels.adaptColorToBackground ? d(na)(m.value.colors[l]) : e.value.style.chart.arcs.labels.color
939
+ fill: e.value.style.chart.arcs.labels.adaptColorToBackground ? d(ra)(m.value.colors[l]) : e.value.style.chart.arcs.labels.color
934
940
  }, [
935
941
  I("textPath", {
936
942
  href: `#labelPath-${l}_${k.value}`,
937
943
  startOffset: "50%",
938
944
  "text-anchor": "middle"
939
- }, H(m.value.labels[l]) + H(e.value.style.chart.arcs.labels.showPercentage ? d(Ie)({
945
+ }, H(m.value.labels[l]) + H(e.value.style.chart.arcs.labels.showPercentage ? d(_e)({
940
946
  p: " (",
941
947
  v: isNaN(a.proportion) ? 0 : a.proportion * 100,
942
948
  s: "%)",
943
949
  r: e.value.style.chart.arcs.labels.roundingPercentage
944
- }) : ""), 9, Ya)
945
- ], 8, ja))), 128)) : !C.value && !p.value && !g.value ? (r(!0), i(z, { key: 1 }, q(A.value.groups, (a, l) => (r(), i("text", {
950
+ }) : ""), 9, Wa)
951
+ ], 8, Ga))), 128)) : !C.value && !p.value && !g.value ? (r(!0), i(z, { key: 1 }, q(A.value.groups, (a, l) => (r(), i("text", {
946
952
  class: "vue-ui-chord-label-straight",
947
953
  key: `label-${l}`,
948
954
  transform: `
949
- ${Lt((a.startAngle + a.endAngle) / 2)}
950
- rotate(${-P.value})
955
+ ${Et((a.startAngle + a.endAngle) / 2)}
956
+ rotate(${-_.value})
951
957
  `,
952
958
  dy: ".35em",
953
- "text-anchor": St(a) > Math.PI ? "end" : "start",
959
+ "text-anchor": Lt(a) > Math.PI ? "end" : "start",
954
960
  "font-size": e.value.style.chart.arcs.labels.fontSize,
955
961
  "font-weight": e.value.style.chart.arcs.labels.bold ? "bold" : "normal",
956
962
  fill: e.value.style.chart.arcs.labels.color,
957
- innerHTML: d(sa)({
958
- content: d(ra)(Yt(a, l)),
963
+ innerHTML: d(ua)({
964
+ content: d(ia)(Wt(a, l)),
959
965
  fontSize: e.value.style.chart.arcs.labels.fontSize,
960
966
  fill: e.value.style.chart.arcs.labels.color,
961
967
  x: 0,
962
968
  y: 0
963
969
  })
964
- }, null, 8, Ga))), 128)) : h("", !0)
970
+ }, null, 8, qa))), 128)) : h("", !0)
965
971
  ])) : h("", !0)
966
- ], 8, Ta),
972
+ ], 8, Sa),
967
973
  w(t.$slots, "svg", { svg: { height: 600, width: 600 } }, void 0, !0)
968
- ], 42, xa)),
969
- t.$slots.watermark ? (r(), i("div", Wa, [
970
- w(t.$slots, "watermark", de(he({ isPrinting: d(Fe) || d(Re) })), void 0, !0)
974
+ ], 42, Ia)),
975
+ t.$slots.watermark ? (r(), i("div", Ha, [
976
+ w(t.$slots, "watermark", de(he({ isPrinting: d(Fe) || d(ze) })), void 0, !0)
971
977
  ])) : h("", !0),
972
978
  I("div", {
973
979
  id: `legend-bottom-${k.value}`
974
- }, null, 8, qa),
975
- Le.value ? (r(), j(qt, {
980
+ }, null, 8, Qa),
981
+ De.value ? (r(), V(Qt, {
976
982
  key: 5,
977
983
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
978
984
  }, [
979
985
  I("div", {
980
986
  ref_key: "chartLegend",
981
- ref: Be
987
+ ref: Se
982
988
  }, [
983
- e.value.style.chart.legend.show ? (r(), j($a, {
989
+ e.value.style.chart.legend.show ? (r(), V(Ca, {
984
990
  key: `legend_${me.value}`,
985
- legendSet: lt.value,
986
- config: Vt.value,
987
- onClickMarker: o[0] || (o[0] = ({ legend: a }) => ot(a.id))
988
- }, xe({
991
+ legendSet: nt.value,
992
+ config: Yt.value,
993
+ onClickMarker: o[0] || (o[0] = ({ legend: a }) => lt(a.id))
994
+ }, Ae({
989
995
  item: x(({ legend: a }) => [
990
996
  I("div", {
991
- style: F({
997
+ style: R({
992
998
  opacity: g.value ? g.value === a.id ? 1 : 0.3 : 1
993
999
  }),
994
1000
  onClick: (l) => a.select()
995
- }, H(a.name), 13, Ha)
1001
+ }, H(a.name), 13, Za)
996
1002
  ]),
997
1003
  _: 2
998
1004
  }, [
999
1005
  t.$slots.pattern ? {
1000
1006
  name: "legend-pattern",
1001
1007
  fn: x(({ legend: a, index: l }) => [
1002
- fe(ya, {
1008
+ fe($a, {
1003
1009
  shape: a.shape,
1004
1010
  radius: 30,
1005
1011
  stroke: "none",
@@ -1010,28 +1016,28 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
1010
1016
  key: "0"
1011
1017
  } : void 0
1012
1018
  ]), 1032, ["legendSet", "config"])) : h("", !0),
1013
- w(t.$slots, "legend", { legend: lt.value }, void 0, !0)
1019
+ w(t.$slots, "legend", { legend: nt.value }, void 0, !0)
1014
1020
  ], 512)
1015
1021
  ], 8, ["to"])) : h("", !0),
1016
1022
  t.$slots.source ? (r(), i("div", {
1017
1023
  key: 6,
1018
1024
  ref_key: "source",
1019
- ref: Se,
1025
+ ref: Oe,
1020
1026
  dir: "auto"
1021
1027
  }, [
1022
1028
  w(t.$slots, "source", {}, void 0, !0)
1023
1029
  ], 512)) : h("", !0),
1024
- P.value !== e.value.initialRotation ? (r(), i("div", Qa, [
1025
- w(t.$slots, "reset-action", { reset: at }, () => [
1030
+ _.value !== e.value.initialRotation ? (r(), i("div", Ja, [
1031
+ w(t.$slots, "reset-action", { reset: ot }, () => [
1026
1032
  I("button", {
1027
1033
  "data-cy-reset": "",
1028
1034
  tabindex: "0",
1029
1035
  role: "button",
1030
1036
  class: "vue-data-ui-refresh-button",
1031
- style: F({
1037
+ style: R({
1032
1038
  background: e.value.style.chart.backgroundColor
1033
1039
  }),
1034
- onClick: at
1040
+ onClick: ot
1035
1041
  }, [
1036
1042
  fe(d(Pe), {
1037
1043
  name: "refresh",
@@ -1040,13 +1046,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
1040
1046
  ], 4)
1041
1047
  ], !0)
1042
1048
  ])) : h("", !0),
1043
- E.value ? (r(), j(Ht(oe.value.component), it({ key: 8 }, oe.value.props, {
1049
+ E.value ? (r(), V(Zt(oe.value.component), vt({ key: 8 }, oe.value.props, {
1044
1050
  ref_key: "tableUnit",
1045
1051
  ref: J,
1046
- onClose: o[3] || (o[3] = (a) => X.value.showTable = !1)
1047
- }), xe({
1052
+ onClose: st
1053
+ }), Ae({
1048
1054
  content: x(() => [
1049
- (r(), j(d(mt), {
1055
+ (r(), V(d(kt), {
1050
1056
  key: `table_${pe.value}`,
1051
1057
  colNames: ve.value.colNames,
1052
1058
  head: ve.value.head,
@@ -1054,13 +1060,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
1054
1060
  config: ve.value.config,
1055
1061
  title: e.value.table.useDialog ? "" : oe.value.title,
1056
1062
  withCloseButton: !e.value.table.useDialog,
1057
- onClose: o[2] || (o[2] = (a) => X.value.showTable = !1)
1063
+ onClose: st
1058
1064
  }, {
1059
1065
  th: x(({ th: a }) => [
1060
- ct(H(a.name), 1)
1066
+ dt(H(a.name), 1)
1061
1067
  ]),
1062
1068
  td: x(({ td: a }) => [
1063
- I("div", Za, H(a.name ? a.name : Ze(a)), 1)
1069
+ I("div", Ka, H(a.name ? a.name : Je(a)), 1)
1064
1070
  ]),
1065
1071
  _: 1
1066
1072
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1070,7 +1076,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
1070
1076
  e.value.table.useDialog ? {
1071
1077
  name: "title",
1072
1078
  fn: x(() => [
1073
- ct(H(oe.value.title), 1)
1079
+ dt(H(oe.value.title), 1)
1074
1080
  ]),
1075
1081
  key: "0"
1076
1082
  } : void 0,
@@ -1080,7 +1086,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
1080
1086
  I("button", {
1081
1087
  tabindex: "0",
1082
1088
  class: "vue-ui-user-options-button",
1083
- onClick: o[1] || (o[1] = (a) => Ce(e.value.userOptions.callbacks.csv))
1089
+ onClick: o[1] || (o[1] = (a) => Me(e.value.userOptions.callbacks.csv))
1084
1090
  }, [
1085
1091
  fe(d(Pe), {
1086
1092
  name: "excel",
@@ -1091,10 +1097,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
1091
1097
  key: "1"
1092
1098
  } : void 0
1093
1099
  ]), 1040)) : h("", !0),
1094
- d(De) ? (r(), j(fa, { key: 9 })) : h("", !0)
1095
- ], 46, Ca));
1100
+ d(Ee) ? (r(), V(ba, { key: 9 })) : h("", !0)
1101
+ ], 46, xa));
1096
1102
  }
1097
- }, ho = /* @__PURE__ */ wa(Ja, [["__scopeId", "data-v-c55191c9"]]);
1103
+ }, go = /* @__PURE__ */ Ma(eo, [["__scopeId", "data-v-53c6af40"]]);
1098
1104
  export {
1099
- ho as default
1105
+ go as default
1100
1106
  };