vue-data-ui 3.0.0-next.0 → 3.0.0-next.10

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 (104) hide show
  1. package/README.md +109 -68
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-8Wnel_lw.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-D-IcFGSE.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-RLse0qy8.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-D9dpnizT.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-IzCJ9gby.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-SfJ53F5x.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-3oZlBiCt.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-u8Hc4rJi.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-6iArlmj7.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-vSWSsIaU.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-CPMTQDCj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-sazd7MmK.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-CTsOHFNh.js} +1 -1
  15. package/dist/Tooltip-4cn1szzA.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-X9Ckvwp-.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-C3BKllTG.js} +1 -1
  18. package/dist/img-D9CjuW6g.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-DBSLpcPM.js} +1515 -1426
  20. package/dist/pdf-V4tIjxUb.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1098 -222
  23. package/dist/types/vue-data-ui.d.ts +1098 -222
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-BQFkJRtL.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-CjyE7ii3.js} +2 -2
  27. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DG97x2hL.js} +139 -132
  28. package/dist/vue-data-ui-BgN2CPSV.js +320 -0
  29. package/dist/vue-data-ui.js +53 -52
  30. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DlnRLAbw.js} +261 -245
  31. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-yWXqkLfQ.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-C_4kFlWe.js} +233 -217
  33. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-DVXA74Er.js} +2 -2
  34. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-DoxSEGR4.js} +172 -156
  35. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bke-ZK92.js} +271 -254
  36. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-CqRuHaU6.js} +17 -16
  37. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-BYIowBXd.js} +419 -403
  38. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-DyA4jvyD.js} +256 -240
  39. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-BVT22rGO.js} +230 -214
  40. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-B3RyMKwx.js} +2 -2
  41. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-Cgqpnpao.js} +62 -62
  42. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-Db9yuqjo.js} +2 -2
  43. package/dist/vue-ui-donut-CdsBUcPD.js +1547 -0
  44. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-D5eUZJuU.js} +370 -357
  45. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-CWgs8sB6.js} +216 -200
  46. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CL5jxEBp.js} +217 -201
  47. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DT9BzBp3.js} +213 -197
  48. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-hwr5J-b7.js} +215 -202
  49. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-D_fnRyKs.js} +220 -204
  50. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-CLni95HP.js} +3 -3
  51. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-Bd8qoV2F.js} +244 -224
  52. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BJvaJkPO.js} +268 -252
  53. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-B7uO6vRA.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CTDfGO91.js} +2 -2
  55. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-BSE6LaGt.js} +204 -188
  56. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-CN24P-Tk.js} +206 -190
  57. package/dist/vue-ui-nested-donuts-CWL3uP-u.js +1212 -0
  58. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-Bib32nel.js} +196 -180
  59. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-l0O-i93L.js} +194 -178
  60. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-D0pzeobL.js} +321 -305
  61. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-CaLIrn96.js} +347 -331
  62. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DXJ1WS7s.js} +193 -177
  63. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-C6qqU59J.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-SpPQ2WhH.js} +188 -172
  65. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-BMsbiTjU.js} +212 -196
  66. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-ES4LhrT0.js} +223 -210
  67. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-yV6nLFs6.js} +288 -273
  68. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-7gkY0oe-.js} +3 -3
  69. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-CYLqgGm1.js} +2 -2
  70. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-kQ3dsaGO.js} +3 -3
  71. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-Bfe8SMeM.js} +3 -3
  72. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-Dxts3pPS.js} +3 -3
  73. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-CC6-gQ2R.js} +4 -4
  74. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-Ba6FPyOS.js} +3 -3
  75. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-CQr6s7Ij.js} +3 -3
  76. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-cJAK-x5g.js} +497 -474
  77. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-DyU5K6-X.js} +241 -225
  78. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-B_KeSP8f.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-CzGGjLl6.js} +26 -25
  80. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-BoW1Y5Hh.js} +8 -7
  81. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-ROH_nY6z.js} +170 -154
  82. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-DmgpfYIT.js} +5 -5
  83. package/dist/vue-ui-tiremarks-CkmD6BQB.js +358 -0
  84. package/dist/vue-ui-treemap-BOxeG-ql.js +965 -0
  85. package/dist/vue-ui-vertical-bar-BoKi7wHJ.js +1106 -0
  86. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-BIM_Qg3a.js} +234 -221
  87. package/dist/vue-ui-wheel-CGZgFZax.js +352 -0
  88. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-Dt-X1dFo.js} +249 -233
  89. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BrPqffT7.js} +239 -223
  90. package/dist/vue-ui-xy-CYko0Jmo.js +2982 -0
  91. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-DVRWryRe.js} +447 -431
  92. package/package.json +2 -2
  93. package/dist/Tooltip-hVZUY_s5.js +0 -149
  94. package/dist/img-BeMVTwmF.js +0 -20
  95. package/dist/pdf-DPxOdzfi.js +0 -51
  96. package/dist/useMouse-AicQS8Vf.js +0 -13
  97. package/dist/vue-data-ui-nceqWRts.js +0 -301
  98. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  99. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  100. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  101. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  102. package/dist/vue-ui-vertical-bar-Dd4sYeAC.js +0 -958
  103. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  104. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -1,22 +1,23 @@
1
- import { useCssVars as Pt, defineAsyncComponent as Y, ref as h, shallowRef as qe, computed as C, watch as _t, onMounted as He, onBeforeUnmount as Qe, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as E, normalizeClass as F, createBlock as U, createCommentVNode as v, renderSlot as $, createElementVNode as B, createSlots as Ze, withCtx as _, normalizeProps as re, guardReactiveProps as ue, withModifiers as Je, createVNode as he, Fragment as z, renderList as G, mergeProps as Tt, toDisplayString as j, createTextVNode as Ot, nextTick as St } from "vue";
2
- import { u as Bt, c as fe, t as Lt, p as ie, a as Nt, o as Et, e as Ke, g as Ft, b as zt, d as Rt, X as Xt, F as jt, f as ge, q as Dt, r as Vt, i as Yt } from "./index-DMqAxz7R.js";
3
- import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
4
- import { u as et } from "./useNestedProp-YgN3FV_8.js";
5
- import { u as Gt } from "./useChartAccessibility-9icAAmYg.js";
6
- import { u as Wt } from "./usePrinter-COkTjv6C.js";
7
- import { t as qt, u as Ht } from "./useResponsive-DfdjqQps.js";
8
- import Qt from "./Legend-Q4bOb-Nf.js";
9
- import Zt from "./Title-D29apS4l.js";
10
- import { _ as Jt } from "./Shape-DbsLJ-SE.js";
11
- import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { key: 1 }, la = ["id", "d"], sa = { key: 2 }, na = ["transform"], ra = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ua = ["d", "fill", "stroke", "stroke-width"], ia = ["d", "fill"], ca = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], da = ["d", "fill", "stroke", "stroke-width"], va = ["d", "fill", "stroke", "stroke-width"], ha = ["d", "fill", "stroke", "stroke-width"], fa = { key: 0 }, ga = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pa = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], ma = ["transform", "fill", "text-anchor", "font-size", "font-weight"], ya = { key: 1 }, ka = ["font-size", "font-weight", "fill"], $a = ["href"], wa = ["transform", "text-anchor", "font-size", "font-weight", "fill"], Ca = {
1
+ import { useCssVars as _t, defineAsyncComponent as Y, ref as h, shallowRef as He, computed as C, watch as St, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as F, normalizeClass as z, createBlock as G, createCommentVNode as v, renderSlot as $, createElementVNode as B, createSlots as Je, withCtx as _, normalizeProps as re, guardReactiveProps as ue, withModifiers as Ke, createVNode as he, Fragment as R, renderList as W, mergeProps as Tt, toDisplayString as D, createTextVNode as Ot, nextTick as Bt } from "vue";
2
+ import { u as Lt, c as fe, t as Nt, p as ie, a as Et, o as Ft, e as et, g as zt, b as Rt, d as Xt, X as jt, F as Dt, f as ge, q as Ut, r as Vt, i as Yt } from "./index-DBSLpcPM.js";
3
+ import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
4
+ import { u as tt } from "./useNestedProp-BQFkJRtL.js";
5
+ import { u as Wt } from "./useChartAccessibility-9icAAmYg.js";
6
+ import { u as qt } from "./usePrinter-CjyE7ii3.js";
7
+ import { t as Ht, u as Qt } from "./useResponsive-DfdjqQps.js";
8
+ import Zt from "./Legend-SfJ53F5x.js";
9
+ import Jt from "./Title-CTsOHFNh.js";
10
+ import { _ as Kt } from "./Shape-vSWSsIaU.js";
11
+ import ea from "./img-D9CjuW6g.js";
12
+ import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const aa = ["id"], oa = ["xmlns", "viewBox"], la = ["width", "height"], sa = { key: 1 }, na = ["id", "d"], ra = { key: 2 }, ua = ["transform"], ia = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ca = ["d", "fill", "stroke", "stroke-width"], da = ["d", "fill"], va = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ha = ["d", "fill", "stroke", "stroke-width"], fa = ["d", "fill", "stroke", "stroke-width"], ga = ["d", "fill", "stroke", "stroke-width"], pa = { key: 0 }, ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ma = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ya = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], ka = ["transform", "fill", "text-anchor", "font-size", "font-weight"], $a = { key: 1 }, wa = ["font-size", "font-weight", "fill"], Ca = ["href"], Ma = ["transform", "text-anchor", "font-size", "font-weight", "fill"], xa = {
13
14
  key: 5,
14
15
  class: "vue-data-ui-watermark"
15
- }, Ma = ["onClick"], xa = {
16
+ }, Ia = ["onClick"], Aa = {
16
17
  key: 8,
17
18
  "data-dom-to-png-ignore": "",
18
19
  class: "reset-wrapper"
19
- }, Aa = { style: { "text-align": "right", width: "100%" } }, Ia = {
20
+ }, Pa = { style: { "text-align": "right", width: "100%" } }, _a = {
20
21
  __name: "vue-ui-chord",
21
22
  props: {
22
23
  dataset: {
@@ -33,67 +34,67 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
33
34
  }
34
35
  },
35
36
  emits: ["selectLegend", "selectGroup", "selectRibbon"],
36
- setup(tt, { expose: at, emit: ot }) {
37
- Pt((t) => ({
38
- "60541bab": t.slicerColor
37
+ setup(at, { expose: ot, emit: lt }) {
38
+ _t((t) => ({
39
+ "3518436d": t.slicerColor
39
40
  }));
40
- const lt = Y(() => import("./vue-ui-accordion-P6eFHGQp.js")), st = Y(() => import("./BaseIcon-DoDjTdD5.js")), nt = Y(() => import("./DataTable-BBbOgI-a.js")), rt = Y(() => import("./PackageVersion-D0VPY8-5.js")), ut = Y(() => import("./PenAndPaper-DhBJsnob.js")), it = Y(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), ct = Y(() => import("./UserOptions-Bdit7AWO.js")), { vue_ui_chord: dt } = Bt(), g = tt, te = ot, L = h(!!g.dataset && Object.hasOwn(g.dataset, "matrix")), T = h(fe()), w = h(null), m = h(null), b = h(null), be = h(0), W = h(null), pe = h(null), me = h(null), ye = h(null), ke = h(null), $e = h(0), we = h(0), Ce = h(0), q = h(!1), R = qe(null), H = qe(null), a = C({
41
- get: () => Te(),
41
+ const st = Y(() => import("./vue-ui-accordion-yWXqkLfQ.js")), nt = Y(() => import("./BaseIcon-RLse0qy8.js")), rt = Y(() => import("./DataTable-IzCJ9gby.js")), ut = Y(() => import("./PackageVersion-u8Hc4rJi.js")), it = Y(() => import("./PenAndPaper-6iArlmj7.js")), ct = Y(() => import("./vue-ui-skeleton-7gkY0oe-.js")), dt = Y(() => import("./UserOptions-X9Ckvwp-.js")), { vue_ui_chord: vt } = Lt(), g = at, te = lt, L = h(!!g.dataset && Object.hasOwn(g.dataset, "matrix")), S = h(fe()), w = h(null), m = h(null), p = h(null), pe = h(0), N = h(null), be = h(null), me = h(null), ye = h(null), ke = h(null), $e = h(0), we = h(0), Ce = h(0), q = h(!1), X = He(null), H = He(null), a = C({
42
+ get: () => Se(),
42
43
  set: (t) => t
43
- }), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } = Ut({ config: a.value }), { svgRef: Q } = Gt({ config: a.value.style.chart.title }), { isPrinting: Ae, isImaging: Ie, generatePdf: Pe, generateImage: _e } = Wt({
44
- elementId: `chord_${T.value}`,
44
+ }), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } = Gt({ config: a.value }), { svgRef: Q } = Wt({ config: a.value.style.chart.title }), { isPrinting: Ie, isImaging: Ae, generatePdf: Pe, generateImage: _e } = qt({
45
+ elementId: `chord_${S.value}`,
45
46
  fileName: a.value.style.chart.title.text || "vue-ui-chord",
46
47
  options: a.value.userOptions.print
47
48
  }), Z = h({
48
49
  showTable: a.value.table.show
49
50
  });
50
- function Te() {
51
- const t = et({
51
+ function Se() {
52
+ const t = tt({
52
53
  userConfig: g.config,
53
- defaultConfig: dt
54
+ defaultConfig: vt
54
55
  });
55
56
  return t.theme ? {
56
- ...et({
57
- userConfig: Nt.vue_ui_chord[t.theme] || g.config,
57
+ ...tt({
58
+ userConfig: Et.vue_ui_chord[t.theme] || g.config,
58
59
  defaultConfig: t
59
60
  }),
60
- customPalette: Lt[t.theme] || ie
61
+ customPalette: Nt[t.theme] || ie
61
62
  } : t;
62
63
  }
63
- _t(() => g.config, (t) => {
64
- a.value = Te(), ce.value = !a.value.userOptions.showOnChartHover, Oe(), $e.value += 1, we.value += 1, Ce.value += 1, x.value = a.value.initialRotation, Z.value.showTable = a.value.table.show;
64
+ St(() => g.config, (t) => {
65
+ a.value = Se(), ce.value = !a.value.userOptions.showOnChartHover, Te(), $e.value += 1, we.value += 1, Ce.value += 1, x.value = a.value.initialRotation, Z.value.showTable = a.value.table.show;
65
66
  }, { deep: !0 });
66
- function Oe() {
67
- if (Et(g.dataset) ? Ke({
67
+ function Te() {
68
+ if (Ft(g.dataset) ? et({
68
69
  componentName: "VueUiChord",
69
70
  type: "dataset"
70
- }) : Ft({
71
+ }) : zt({
71
72
  datasetObject: g.dataset,
72
73
  requiredAttributes: ["matrix"]
73
74
  }).forEach((t) => {
74
- L.value = !1, Ke({
75
+ L.value = !1, et({
75
76
  componentName: "VueUiChord",
76
77
  type: "datasetAttribute",
77
78
  property: t
78
79
  });
79
- }), L.value && Se(), a.value.responsive) {
80
- const t = qt(() => {
81
- const { width: o, height: e, heightNoTitle: l, heightSource: u, heightTitle: s, heightLegend: r } = Ht({
82
- chart: W.value,
83
- title: a.value.style.chart.title.text ? pe.value : null,
80
+ }), L.value && Oe(), a.value.responsive) {
81
+ const t = Ht(() => {
82
+ const { width: o, height: e, heightNoTitle: l, heightSource: u, heightTitle: s, heightLegend: r } = Qt({
83
+ chart: N.value,
84
+ title: a.value.style.chart.title.text ? be.value : null,
84
85
  legend: a.value.style.chart.legend.show ? me.value : null,
85
86
  source: ye.value,
86
87
  noTitle: ke.value
87
88
  }), f = s + r + u + l;
88
- o < e ? W.value.style.width = "100%" : (W.value.style.height = "100%", Q.value.style.height = `calc(100% - ${f}px)`);
89
+ o < e ? N.value.style.width = "100%" : (N.value.style.height = "100%", Q.value.style.height = `calc(100% - ${f}px)`);
89
90
  }, 100);
90
- R.value && (H.value && R.value.unobserve(H.value), R.value.disconnect()), R.value = new ResizeObserver(t), H.value = W.value.parentNode, R.value.observe(H.value), t();
91
+ X.value && (H.value && X.value.unobserve(H.value), X.value.disconnect()), X.value = new ResizeObserver(t), H.value = N.value.parentNode, X.value.observe(H.value), t();
91
92
  }
92
93
  Be.value = setTimeout(() => {
93
94
  q.value = !0;
94
95
  }, 500);
95
96
  }
96
- function Se() {
97
+ function Oe() {
97
98
  if (!g.dataset || !Object.hasOwn(g.dataset, "matrix") || g.dataset.matrix.length < 2) {
98
99
  console.warn(`VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:
99
100
 
@@ -110,59 +111,59 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
110
111
  });
111
112
  }
112
113
  const Be = h(null);
113
- He(() => {
114
- Oe();
114
+ Qe(() => {
115
+ Te();
115
116
  });
116
- const O = h({
117
+ const T = h({
117
118
  height: 600,
118
119
  width: 600
119
- }), vt = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ht = C(() => zt(a.value.customPalette)), p = C(() => ({
120
- inner: O.value.width * 0.3 * a.value.style.chart.arcs.innerRadiusRatio,
121
- outer: O.value.width * 0.34 * a.value.style.chart.arcs.outerRadiusRatio
122
- })), ft = C(() => a.value.style.chart.arcs.padAngle / 100), y = C(() => L.value ? {
120
+ }), ht = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ft = C(() => Rt(a.value.customPalette)), b = C(() => ({
121
+ inner: T.value.width * 0.3 * a.value.style.chart.arcs.innerRadiusRatio,
122
+ outer: T.value.width * 0.34 * a.value.style.chart.arcs.outerRadiusRatio
123
+ })), gt = C(() => a.value.style.chart.arcs.padAngle / 100), y = C(() => L.value ? {
123
124
  matrix: g.dataset.matrix ?? [[0]],
124
125
  labels: g.dataset.labels ?? [""],
125
- colors: g.dataset.colors && Array.isArray(g.dataset.colors) && g.dataset.colors.length ? g.dataset.colors.map((t) => Rt(t)) : g.dataset.matrix.map((t, o) => ht.value[o] || ie[o] || ie[o % ie.length])
126
+ colors: g.dataset.colors && Array.isArray(g.dataset.colors) && g.dataset.colors.length ? g.dataset.colors.map((t) => Xt(t)) : g.dataset.matrix.map((t, o) => ft.value[o] || ie[o] || ie[o % ie.length])
126
127
  } : {
127
128
  matrix: [],
128
129
  labels: [],
129
130
  colors: []
130
131
  });
131
- function gt(t, o) {
132
- const e = t.length, l = p.value.inner, u = new Array(e).fill(0);
132
+ function pt(t, o) {
133
+ const e = t.length, l = b.value.inner, u = new Array(e).fill(0);
133
134
  let s = 0;
134
135
  for (let c = 0; c < e; c += 1)
135
136
  for (let k = 0; k < e; k += 1)
136
137
  u[c] += t[c][k], s += t[c][k];
137
138
  const r = (2 * Math.PI - o * e) / s, f = [];
138
- let A = 0;
139
+ let I = 0;
139
140
  for (let c = 0; c < e; c += 1) {
140
- const k = A, P = k + u[c] * r;
141
+ const k = I, P = k + u[c] * r;
141
142
  f.push({
142
143
  index: c,
143
- pattern: `pattern_${T.value}_${c}`,
144
+ pattern: `pattern_${S.value}_${c}`,
144
145
  startAngle: k,
145
146
  endAngle: P,
146
147
  name: y.value.labels[c],
147
148
  id: fe(),
148
149
  color: y.value.colors[c],
149
150
  proportion: u[c] / s
150
- }), A = P + o;
151
+ }), I = P + o;
151
152
  }
152
- const I = [];
153
+ const A = [];
153
154
  for (let c = 0; c < e; c += 1) {
154
- const k = t[c].map((S, X) => ({ j: X, v: S }));
155
- k.sort((S, X) => X.v - S.v);
155
+ const k = t[c].map((O, j) => ({ j, v: O }));
156
+ k.sort((O, j) => j.v - O.v);
156
157
  let P = f[c].startAngle;
157
- for (const { j: S, v: X } of k) {
158
- const V = P, ee = V + X * r;
159
- I.push({
158
+ for (const { j: O, v: j } of k) {
159
+ const V = P, ee = V + j * r;
160
+ A.push({
160
161
  index: c,
161
- subIndex: S,
162
- pattern: `pattern_${T.value}_${c}`,
162
+ subIndex: O,
163
+ pattern: `pattern_${S.value}_${c}`,
163
164
  startAngle: V,
164
165
  endAngle: ee,
165
- value: X,
166
+ value: j,
166
167
  groupName: y.value.labels[c],
167
168
  groupId: f[c].id,
168
169
  groupColor: y.value.colors[c],
@@ -172,22 +173,22 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
172
173
  }), P = ee;
173
174
  }
174
175
  }
175
- const N = [];
176
- for (const c of I) {
177
- const k = I.find(
176
+ const E = [];
177
+ for (const c of A) {
178
+ const k = A.find(
178
179
  (P) => P.index === c.subIndex && P.subIndex === c.index
179
180
  );
180
- N.push({ source: c, target: k, id: fe() });
181
+ E.push({ source: c, target: k, id: fe() });
181
182
  }
182
- return { groups: f, chords: N };
183
+ return { groups: f, chords: E };
183
184
  }
184
185
  const M = C(() => {
185
- const t = gt(y.value.matrix, ft.value);
186
- return Se(), t.chords.sort(
186
+ const t = pt(y.value.matrix, gt.value);
187
+ return Oe(), t.chords.sort(
187
188
  (o, e) => Math.max(e.source.value, e.target.value) - Math.max(o.source.value, o.target.value)
188
189
  ), t;
189
190
  }), bt = C(() => {
190
- const t = p.value.outer + a.value.style.chart.ribbons.labels.offset + 12, e = a.value.style.chart.ribbons.labels.fontSize * 0.6, l = [];
191
+ const t = b.value.outer + a.value.style.chart.ribbons.labels.offset + 12, e = a.value.style.chart.ribbons.labels.fontSize * 0.6, l = [];
191
192
  if (m.value) {
192
193
  const s = m.value;
193
194
  if (s.source.value) {
@@ -244,15 +245,15 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
244
245
  }
245
246
  });
246
247
  }
247
- return b.value && u(b.value), w.value && u(w.value.id), l;
248
- }), pt = C(() => {
248
+ return p.value && u(p.value), w.value && u(w.value.id), l;
249
+ }), mt = C(() => {
249
250
  const t = bt.value.map((u) => ({ ...u })).sort((u, s) => u.theta - s.theta), o = a.value.style.chart.ribbons.labels.minSeparationDeg * Math.PI / 180;
250
251
  let e = !0, l = 0;
251
252
  for (; e && l++ < 10; ) {
252
253
  e = !1;
253
254
  for (let f = 1; f < t.length; f += 1) {
254
- const A = t[f - 1], I = t[f], N = A.theta + A.w + o;
255
- I.theta < N && (I.theta = N, e = !0);
255
+ const I = t[f - 1], A = t[f], E = I.theta + I.w + o;
256
+ A.theta < E && (A.theta = E, e = !0);
256
257
  }
257
258
  const u = t[0], s = t[t.length - 1], r = s.theta + s.w + o - 2 * Math.PI;
258
259
  u.theta < r && (u.theta = r, e = !0);
@@ -260,31 +261,31 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
260
261
  return t;
261
262
  });
262
263
  function Le(t, o, e, l) {
263
- const u = t - Math.PI / 2, s = o - Math.PI / 2, r = Math.cos(u) * e, f = Math.sin(u) * e, A = Math.cos(s) * e, I = Math.sin(s) * e, N = Math.cos(s) * l, c = Math.sin(s) * l, k = Math.cos(u) * l, P = Math.sin(u) * l, S = o - t > Math.PI ? 1 : 0;
264
- return `M${r},${f} A${e},${e} 0 ${S} 1 ${A},${I} L${N},${c} A${l},${l} 0 ${S} 0 ${k},${P} Z`;
264
+ const u = t - Math.PI / 2, s = o - Math.PI / 2, r = Math.cos(u) * e, f = Math.sin(u) * e, I = Math.cos(s) * e, A = Math.sin(s) * e, E = Math.cos(s) * l, c = Math.sin(s) * l, k = Math.cos(u) * l, P = Math.sin(u) * l, O = o - t > Math.PI ? 1 : 0;
265
+ return `M${r},${f} A${e},${e} 0 ${O} 1 ${I},${A} L${E},${c} A${l},${l} 0 ${O} 0 ${k},${P} Z`;
265
266
  }
266
267
  function ae(t, o) {
267
- const e = p.value.inner, l = t.startAngle - Math.PI / 2, u = t.endAngle - Math.PI / 2, s = o.startAngle - Math.PI / 2, r = o.endAngle - Math.PI / 2, f = Math.cos(l) * e, A = Math.sin(l) * e, I = Math.cos(u) * e, N = Math.sin(u) * e, c = Math.cos(s) * e, k = Math.sin(s) * e, P = Math.cos(r) * e, S = Math.sin(r) * e, X = t.endAngle - t.startAngle > Math.PI ? 1 : 0, V = o.endAngle - o.startAngle > Math.PI ? 1 : 0;
268
- return `M${f},${A}A${e},${e} 0 ${X} 1 ${I},${N}Q0,0 ${c},${k}A${e},${e} 0 ${V} 1 ${P},${S}Q0,0 ${f},${A}Z`;
268
+ const e = b.value.inner, l = t.startAngle - Math.PI / 2, u = t.endAngle - Math.PI / 2, s = o.startAngle - Math.PI / 2, r = o.endAngle - Math.PI / 2, f = Math.cos(l) * e, I = Math.sin(l) * e, A = Math.cos(u) * e, E = Math.sin(u) * e, c = Math.cos(s) * e, k = Math.sin(s) * e, P = Math.cos(r) * e, O = Math.sin(r) * e, j = t.endAngle - t.startAngle > Math.PI ? 1 : 0, V = o.endAngle - o.startAngle > Math.PI ? 1 : 0;
269
+ return `M${f},${I}A${e},${e} 0 ${j} 1 ${A},${E}Q0,0 ${c},${k}A${e},${e} 0 ${V} 1 ${P},${O}Q0,0 ${f},${I}Z`;
269
270
  }
270
271
  const Ne = C(() => x.value * Math.PI / 180);
271
- function mt(t) {
272
- return (t.startAngle + t.endAngle) / 2;
273
- }
274
272
  function yt(t) {
275
- return ((mt(t) + Ne.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
273
+ return (t.startAngle + t.endAngle) / 2;
276
274
  }
277
275
  function kt(t) {
276
+ return ((yt(t) + Ne.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
277
+ }
278
+ function $t(t) {
278
279
  let o = t + Ne.value;
279
280
  return o = (o % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI), o > Math.PI ? "end" : "start";
280
281
  }
281
- function $t(t) {
282
- const o = t - Math.PI / 2, e = Math.cos(o) * (p.value.outer + a.value.style.chart.arcs.labels.offset + 24), l = Math.sin(o) * (p.value.outer + a.value.style.chart.arcs.labels.offset + 24);
282
+ function wt(t) {
283
+ const o = t - Math.PI / 2, e = Math.cos(o) * (b.value.outer + a.value.style.chart.arcs.labels.offset + 24), l = Math.sin(o) * (b.value.outer + a.value.style.chart.arcs.labels.offset + 24);
283
284
  return `translate(${e},${l})`;
284
285
  }
285
- function wt(t, o, e) {
286
- const l = t - Math.PI / 2, u = o - Math.PI / 2, s = Math.cos(l) * e, r = Math.sin(l) * e, f = Math.cos(u) * e, A = Math.sin(u) * e, I = o - t > Math.PI ? 1 : 0;
287
- return `M${s},${r} A${e},${e} 0 ${I} 1 ${f},${A}`;
286
+ function Ct(t, o, e) {
287
+ const l = t - Math.PI / 2, u = o - Math.PI / 2, s = Math.cos(l) * e, r = Math.sin(l) * e, f = Math.cos(u) * e, I = Math.sin(u) * e, A = o - t > Math.PI ? 1 : 0;
288
+ return `M${s},${r} A${e},${e} 0 ${A} 1 ${f},${I}`;
288
289
  }
289
290
  const x = h(a.value.initialRotation), J = h(!1);
290
291
  let Ee = 0, Fe = 0;
@@ -315,26 +316,26 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
315
316
  })
316
317
  );
317
318
  }
318
- He(() => {
319
+ Qe(() => {
319
320
  window.addEventListener("mousemove", oe), window.addEventListener("mouseup", le), window.addEventListener("touchmove", oe, { passive: !1 }), window.addEventListener("touchend", le);
320
- }), Qe(() => {
321
- window.removeEventListener("mousemove", oe), window.removeEventListener("mouseup", le), window.removeEventListener("touchmove", oe), window.removeEventListener("touchend", le), clearTimeout(Be.value), R.value && (H.value && R.value.unobserve(H.value), R.value.disconnect());
321
+ }), Ze(() => {
322
+ window.removeEventListener("mousemove", oe), window.removeEventListener("mouseup", le), window.removeEventListener("touchmove", oe), window.removeEventListener("touchend", le), clearTimeout(Be.value), X.value && (H.value && X.value.unobserve(H.value), X.value.disconnect());
322
323
  });
323
324
  const de = h(!1);
324
- function Ct(t) {
325
- de.value = t, be.value += 1;
325
+ function je(t) {
326
+ de.value = t, pe.value += 1;
326
327
  }
327
328
  function Mt(t) {
328
- b.value || (w.value = t);
329
+ p.value || (w.value = t);
329
330
  }
330
331
  function xt(t) {
331
- b.value || (m.value = t);
332
- }
333
- function je(t) {
334
- return !b.value && !w.value && !m.value ? 0.8 : (b.value ? b.value === t.source.groupId : w.value ? w.value.id === t.source.groupId : m.value?.id === t.id) ? 1 : 0.1;
332
+ p.value || (m.value = t);
335
333
  }
336
334
  function De(t) {
337
- return !b.value && !w.value && !m.value || (b.value ? b.value === t.id : w.value ? w.value.id === t.id : [m.value?.source.groupId, m.value?.target.groupId].includes(t.id)) ? 1 : 0.3;
335
+ return !p.value && !w.value && !m.value ? 0.8 : (p.value ? p.value === t.source.groupId : w.value ? w.value.id === t.source.groupId : m.value?.id === t.id) ? 1 : 0.1;
336
+ }
337
+ function Ue(t) {
338
+ return !p.value && !w.value && !m.value || (p.value ? p.value === t.id : w.value ? w.value.id === t.id : [m.value?.source.groupId, m.value?.target.groupId].includes(t.id)) ? 1 : 0.3;
338
339
  }
339
340
  const K = h(!1);
340
341
  function ve() {
@@ -343,34 +344,34 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
343
344
  function Ve() {
344
345
  Z.value.showTable = !Z.value.showTable;
345
346
  }
346
- function At() {
347
+ function It() {
347
348
  return M.value;
348
349
  }
349
- const D = h(null);
350
+ const U = h(null);
350
351
  function Ye() {
351
352
  const t = a.value.initialRotation;
352
- D.value !== null && cancelAnimationFrame(D.value);
353
+ U.value !== null && cancelAnimationFrame(U.value);
353
354
  const o = () => {
354
- x.value += (t - x.value) * 0.05, Math.abs(x.value - t) < 0.1 ? (x.value = t, D.value = null) : D.value = requestAnimationFrame(o);
355
+ x.value += (t - x.value) * 0.05, Math.abs(x.value - t) < 0.1 ? (x.value = t, U.value = null) : U.value = requestAnimationFrame(o);
355
356
  };
356
- D.value = requestAnimationFrame(o);
357
+ U.value = requestAnimationFrame(o);
357
358
  }
358
- Qe(() => {
359
- D.value !== null && cancelAnimationFrame(D.value);
359
+ Ze(() => {
360
+ U.value !== null && cancelAnimationFrame(U.value);
360
361
  });
361
- function Ue(t) {
362
- t === b.value ? (b.value = null, te("selectLegend", null)) : (b.value = t, te("selectLegend", M.value.groups.find((o) => o.id === t)));
362
+ function Ge(t) {
363
+ t === p.value ? (p.value = null, te("selectLegend", null)) : (p.value = t, te("selectLegend", M.value.groups.find((o) => o.id === t)));
363
364
  }
364
- const Ge = C(() => M.value.groups.map((t, o) => ({
365
+ const We = C(() => M.value.groups.map((t, o) => ({
365
366
  name: t.name,
366
367
  color: t.color,
367
368
  shape: "circle",
368
369
  patternIndex: o,
369
- pattern: `pattern_${T.value}_${o}`,
370
+ pattern: `pattern_${S.value}_${o}`,
370
371
  id: t.id,
371
- select: () => Ue(t.id),
372
- opacity: b.value ? b.value === t.id ? 1 : 0.3 : 1
373
- }))), It = C(() => ({
372
+ select: () => Ge(t.id),
373
+ opacity: p.value ? p.value === t.id ? 1 : 0.3 : 1
374
+ }))), At = C(() => ({
374
375
  cy: "chord-div-legend",
375
376
  backgroundColor: a.value.style.chart.legend.backgroundColor,
376
377
  color: a.value.style.chart.legend.color,
@@ -407,8 +408,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
407
408
  config: e
408
409
  };
409
410
  });
410
- function We(t = null) {
411
- St(() => {
411
+ function qe(t = null) {
412
+ Bt(() => {
412
413
  const o = y.value.matrix.map((u, s) => [
413
414
  [y.value.labels[s] || s],
414
415
  u
@@ -419,31 +420,45 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
419
420
  [""],
420
421
  ...y.value.labels.map((u, s) => [u || s])
421
422
  ]
422
- ].concat(o), l = Dt(e);
423
+ ].concat(o), l = Ut(e);
423
424
  t ? t(l) : Vt({ csvContent: l, title: a.value.style.chart.title.text || "vue-ui-chord" });
424
425
  });
425
426
  }
426
- return at({
427
- getData: At,
428
- generateCsv: We,
427
+ async function Pt({ scale: t = 2 } = {}) {
428
+ if (!N.value) return;
429
+ const { width: o, height: e } = N.value.getBoundingClientRect(), l = o / e, { imageUri: u, base64: s } = await ea({ domElement: N.value, base64: !0, img: !0, scale: t });
430
+ return {
431
+ imageUri: u,
432
+ base64: s,
433
+ title: a.value.style.chart.title.text,
434
+ width: o,
435
+ height: e,
436
+ aspectRatio: l
437
+ };
438
+ }
439
+ return ot({
440
+ getData: It,
441
+ getImage: Pt,
442
+ generateCsv: qe,
429
443
  generateImage: _e,
430
444
  generatePdf: Pe,
431
445
  toggleAnnotator: ve,
432
- toggleTable: Ve
446
+ toggleTable: Ve,
447
+ toggleFullscreen: je
433
448
  }), (t, o) => (n(), i("div", {
434
449
  ref_key: "chordChart",
435
- ref: W,
436
- class: F({
450
+ ref: N,
451
+ class: z({
437
452
  "vue-ui-chord": !0,
438
453
  "vue-data-ui-wrapper-fullscreen": de.value,
439
454
  "vue-data-ui-responsive": a.value.responsive
440
455
  }),
441
- style: E(`font-family:${a.value.style.fontFamily};width:100%; text-align:center;background:${a.value.style.chart.backgroundColor}`),
442
- id: `chord_${T.value}`,
456
+ style: F(`font-family:${a.value.style.fontFamily};width:100%; text-align:center;background:${a.value.style.chart.backgroundColor}`),
457
+ id: `chord_${S.value}`,
443
458
  onMouseenter: o[4] || (o[4] = () => d(Me)(!0)),
444
459
  onMouseleave: o[5] || (o[5] = () => d(Me)(!1))
445
460
  }, [
446
- a.value.userOptions.buttons.annotator && d(Q) ? (n(), U(d(ut), {
461
+ a.value.userOptions.buttons.annotator && d(Q) ? (n(), G(d(it), {
447
462
  key: 0,
448
463
  color: a.value.style.chart.color,
449
464
  backgroundColor: a.value.style.chart.backgroundColor,
@@ -452,7 +467,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
452
467
  onClose: ve
453
468
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
454
469
  $(t.$slots, "userConfig", {}, void 0, !0),
455
- vt.value ? (n(), i("div", {
470
+ ht.value ? (n(), i("div", {
456
471
  key: 1,
457
472
  ref_key: "noTitle",
458
473
  ref: ke,
@@ -462,10 +477,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
462
477
  a.value.style.chart.title.text ? (n(), i("div", {
463
478
  key: 2,
464
479
  ref_key: "chartTitle",
465
- ref: pe,
480
+ ref: be,
466
481
  style: "width:100%;background:transparent;padding-bottom:24px"
467
482
  }, [
468
- (n(), U(Zt, {
483
+ (n(), G(Jt, {
469
484
  key: `title_${$e.value}`,
470
485
  config: {
471
486
  title: {
@@ -479,14 +494,14 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
479
494
  }
480
495
  }, null, 8, ["config"]))
481
496
  ], 512)) : v("", !0),
482
- a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(), U(d(ct), {
497
+ a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(), G(d(dt), {
483
498
  ref: "details",
484
- key: `user_option_${be.value}`,
499
+ key: `user_option_${pe.value}`,
485
500
  backgroundColor: a.value.style.chart.backgroundColor,
486
501
  color: a.value.style.chart.color,
487
- isPrinting: d(Ae),
488
- isImaging: d(Ie),
489
- uid: T.value,
502
+ isPrinting: d(Ie),
503
+ isImaging: d(Ae),
504
+ uid: S.value,
490
505
  hasTooltip: !1,
491
506
  hasPdf: a.value.userOptions.buttons.pdf,
492
507
  hasImg: a.value.userOptions.buttons.img,
@@ -495,22 +510,23 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
495
510
  hasLabel: !1,
496
511
  hasFullscreen: a.value.userOptions.buttons.fullscreen,
497
512
  isFullscreen: de.value,
498
- chartElement: W.value,
513
+ chartElement: N.value,
499
514
  position: a.value.userOptions.position,
500
515
  titles: { ...a.value.userOptions.buttonTitles },
501
516
  hasAnnotator: a.value.userOptions.buttons.annotator,
502
517
  isAnnotation: K.value,
503
518
  callbacks: a.value.userOptions.callbacks,
504
- onToggleFullscreen: Ct,
519
+ printScale: a.value.userOptions.print.scale,
520
+ onToggleFullscreen: je,
505
521
  onGeneratePdf: d(Pe),
506
- onGenerateCsv: We,
522
+ onGenerateCsv: qe,
507
523
  onGenerateImage: d(_e),
508
524
  onToggleTable: Ve,
509
525
  onToggleAnnotator: ve,
510
- style: E({
526
+ style: F({
511
527
  visibility: d(xe) ? d(ce) ? "visible" : "hidden" : "visible"
512
528
  })
513
- }, Ze({ _: 2 }, [
529
+ }, Je({ _: 2 }, [
514
530
  t.$slots.menuIcon ? {
515
531
  name: "menuIcon",
516
532
  fn: _(({ isOpen: e, color: l }) => [
@@ -560,117 +576,117 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
560
576
  ]),
561
577
  key: "6"
562
578
  } : void 0
563
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
579
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
564
580
  L.value ? (n(), i("svg", {
565
581
  key: 4,
566
- xmlns: d(Xt),
582
+ xmlns: d(jt),
567
583
  ref_key: "svgRef",
568
584
  ref: Q,
569
- viewBox: `0 0 ${O.value.width} ${O.value.height}`,
585
+ viewBox: `0 0 ${T.value.width} ${T.value.height}`,
570
586
  preserveAspectRatio: "xMidYMid meet",
571
587
  style: {
572
588
  overflow: "visible"
573
589
  },
574
- class: F({ "vue-ui-chord-rotating": J.value, "vue-ui-chord-idle": !J.value }),
575
- onMousedown: Je(Re, ["prevent"]),
576
- onTouchstart: Je(Re, ["prevent"])
590
+ class: z({ "vue-ui-chord-rotating": J.value, "vue-ui-chord-idle": !J.value }),
591
+ onMousedown: Ke(Re, ["prevent"]),
592
+ onTouchstart: Ke(Re, ["prevent"])
577
593
  }, [
578
- he(d(rt)),
594
+ he(d(ut)),
579
595
  t.$slots["chart-background"] ? (n(), i("foreignObject", {
580
596
  key: 0,
581
597
  x: 0,
582
598
  y: 0,
583
- width: O.value.width <= 0 ? 10 : O.value.width,
584
- height: O.value.height <= 0 ? 10 : O.value.height,
599
+ width: T.value.width <= 0 ? 10 : T.value.width,
600
+ height: T.value.height <= 0 ? 10 : T.value.height,
585
601
  style: {
586
602
  pointerEvents: "none"
587
603
  }
588
604
  }, [
589
605
  $(t.$slots, "chart-background", {}, void 0, !0)
590
- ], 8, aa)) : v("", !0),
591
- a.value.style.chart.arcs.labels.curved ? (n(), i("defs", oa, [
592
- (n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("path", {
606
+ ], 8, la)) : v("", !0),
607
+ a.value.style.chart.arcs.labels.curved ? (n(), i("defs", sa, [
608
+ (n(!0), i(R, null, W(M.value.groups, (e, l) => (n(), i("path", {
593
609
  key: `labelPath-${l}`,
594
- id: `labelPath-${l}_${T.value}`,
595
- d: wt(
610
+ id: `labelPath-${l}_${S.value}`,
611
+ d: Ct(
596
612
  e.startAngle,
597
613
  e.endAngle,
598
- (p.value.inner + p.value.outer) / 2 + a.value.style.chart.arcs.labels.offset
614
+ (b.value.inner + b.value.outer) / 2 + a.value.style.chart.arcs.labels.offset
599
615
  ),
600
616
  fill: "none"
601
- }, null, 8, la))), 128))
617
+ }, null, 8, na))), 128))
602
618
  ])) : v("", !0),
603
- t.$slots.pattern ? (n(), i("g", sa, [
604
- (n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("defs", null, [
605
- $(t.$slots, "pattern", Tt({ ref_for: !0 }, { seriesIndex: e.index, patternId: `pattern_${T.value}_${l}` }), void 0, !0)
619
+ t.$slots.pattern ? (n(), i("g", ra, [
620
+ (n(!0), i(R, null, W(M.value.groups, (e, l) => (n(), i("defs", null, [
621
+ $(t.$slots, "pattern", Tt({ ref_for: !0 }, { seriesIndex: e.index, patternId: `pattern_${S.value}_${l}` }), void 0, !0)
606
622
  ]))), 256))
607
623
  ])) : v("", !0),
608
624
  B("g", {
609
- transform: `translate(${O.value.width / 2}, ${O.value.height / 2}) rotate(${x.value})`
625
+ transform: `translate(${T.value.width / 2}, ${T.value.height / 2}) rotate(${x.value})`
610
626
  }, [
611
- (n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("g", null, [
627
+ (n(!0), i(R, null, W(M.value.groups, (e, l) => (n(), i("g", null, [
612
628
  (n(), i("path", {
613
- class: F({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": a.value.useCssAnimation && !q.value }),
629
+ class: z({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": a.value.useCssAnimation && !q.value }),
614
630
  key: `arc-${l}`,
615
631
  d: Le(
616
632
  e.startAngle,
617
633
  e.endAngle,
618
- p.value.outer,
619
- p.value.inner
634
+ b.value.outer,
635
+ b.value.inner
620
636
  ),
621
637
  fill: y.value.colors[l],
622
638
  stroke: a.value.style.chart.arcs.stroke,
623
639
  "stroke-width": a.value.style.chart.arcs.strokeWidth,
624
640
  "stroke-linecap": "round",
625
641
  "stroke-linejoin": "round",
626
- style: E({
627
- opacity: De(e)
642
+ style: F({
643
+ opacity: Ue(e)
628
644
  }),
629
645
  onMouseenter: () => Mt(e),
630
646
  onMouseleave: o[0] || (o[0] = (u) => w.value = null),
631
647
  onClick: (u) => te("selectGroup", e)
632
- }, null, 46, ra)),
648
+ }, null, 46, ia)),
633
649
  t.$slots.pattern ? (n(), i("path", {
634
- class: F({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": a.value.useCssAnimation && !q.value }),
650
+ class: z({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": a.value.useCssAnimation && !q.value }),
635
651
  key: `arc-${l}`,
636
652
  d: Le(
637
653
  e.startAngle,
638
654
  e.endAngle,
639
- p.value.outer,
640
- p.value.inner
655
+ b.value.outer,
656
+ b.value.inner
641
657
  ),
642
658
  fill: `url(#${e.pattern})`,
643
659
  stroke: a.value.style.chart.arcs.stroke,
644
660
  "stroke-width": a.value.style.chart.arcs.strokeWidth,
645
661
  "stroke-linecap": "round",
646
662
  "stroke-linejoin": "round",
647
- style: E({
648
- opacity: De(e),
663
+ style: F({
664
+ opacity: Ue(e),
649
665
  pointerEvents: "none"
650
666
  })
651
- }, null, 14, ua)) : v("", !0)
667
+ }, null, 14, ca)) : v("", !0)
652
668
  ]))), 256)),
653
669
  B("g", null, [
654
- (n(!0), i(z, null, G(w.value ? M.value.chords.filter((e) => e.source.groupId === w.value.id) : b.value ? M.value.chords.filter((e) => e.source.groupId === b.value) : M.value.chords, (e) => (n(), i(z, {
670
+ (n(!0), i(R, null, W(w.value ? M.value.chords.filter((e) => e.source.groupId === w.value.id) : p.value ? M.value.chords.filter((e) => e.source.groupId === p.value) : M.value.chords, (e) => (n(), i(R, {
655
671
  key: `ribbon-${e.id}`
656
672
  }, [
657
673
  e.source.value ? (n(), i("path", {
658
674
  key: 0,
659
- class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
675
+ class: z({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
660
676
  d: ae(e.source, e.target),
661
677
  fill: a.value.style.chart.backgroundColor,
662
- style: E({ opacity: a.value.style.chart.ribbons.underlayerOpacity })
663
- }, null, 14, ia)) : v("", !0),
678
+ style: F({ opacity: a.value.style.chart.ribbons.underlayerOpacity })
679
+ }, null, 14, da)) : v("", !0),
664
680
  e.source.value ? (n(), i("path", {
665
681
  key: 1,
666
- class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
682
+ class: z({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
667
683
  d: ae(e.source, e.target),
668
684
  fill: y.value.colors[e.source.index],
669
685
  stroke: a.value.style.chart.ribbons.stroke,
670
686
  "stroke-width": a.value.style.chart.ribbons.strokeWidth,
671
687
  "stroke-linecap": "round",
672
688
  "stroke-linejoin": "round",
673
- style: E({ opacity: je(e) }),
689
+ style: F({ opacity: De(e) }),
674
690
  onMouseenter: () => xt({
675
691
  ...e,
676
692
  path: ae(e.source, e.target),
@@ -681,21 +697,21 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
681
697
  color: y.value.colors[e.source.index]
682
698
  }),
683
699
  onMouseleave: o[1] || (o[1] = (l) => m.value = null)
684
- }, null, 46, ca)) : v("", !0),
700
+ }, null, 46, va)) : v("", !0),
685
701
  e.source.value && t.$slots.pattern ? (n(), i("path", {
686
702
  key: 2,
687
- class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
703
+ class: z({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
688
704
  d: ae(e.source, e.target),
689
- fill: `url(#pattern_${T.value}_${e.source.index})`,
705
+ fill: `url(#pattern_${S.value}_${e.source.index})`,
690
706
  stroke: a.value.style.chart.ribbons.stroke,
691
707
  "stroke-width": a.value.style.chart.ribbons.strokeWidth,
692
708
  "stroke-linecap": "round",
693
709
  "stroke-linejoin": "round",
694
- style: E({
695
- opacity: je(e),
710
+ style: F({
711
+ opacity: De(e),
696
712
  pointerEvents: "none"
697
713
  })
698
- }, null, 14, da)) : v("", !0)
714
+ }, null, 14, ha)) : v("", !0)
699
715
  ], 64))), 128)),
700
716
  m.value ? (n(), i("path", {
701
717
  key: 0,
@@ -705,11 +721,11 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
705
721
  "stroke-width": a.value.style.chart.ribbons.strokeWidth,
706
722
  "stroke-linecap": "round",
707
723
  "stroke-linejoin": "round",
708
- class: F({ "vue-ui-chord-ribbon": !0 }),
724
+ class: z({ "vue-ui-chord-ribbon": !0 }),
709
725
  style: {
710
726
  pointerEvents: "none"
711
727
  }
712
- }, null, 8, va)) : v("", !0),
728
+ }, null, 8, fa)) : v("", !0),
713
729
  m.value && t.$slots.pattern ? (n(), i("path", {
714
730
  key: 1,
715
731
  d: m.value.path,
@@ -718,102 +734,102 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
718
734
  "stroke-width": a.value.style.chart.ribbons.strokeWidth,
719
735
  "stroke-linecap": "round",
720
736
  "stroke-linejoin": "round",
721
- class: F({ "vue-ui-chord-ribbon": !0 }),
737
+ class: z({ "vue-ui-chord-ribbon": !0 }),
722
738
  style: {
723
739
  pointerEvents: "none"
724
740
  }
725
- }, null, 8, ha)) : v("", !0)
741
+ }, null, 8, ga)) : v("", !0)
726
742
  ]),
727
- (w.value || m.value || b.value) && a.value.style.chart.ribbons.labels.show ? (n(), i("g", fa, [
728
- (n(!0), i(z, null, G(pt.value, (e) => (n(), i(z, {
743
+ (w.value || m.value || p.value) && a.value.style.chart.ribbons.labels.show ? (n(), i("g", pa, [
744
+ (n(!0), i(R, null, W(mt.value, (e) => (n(), i(R, {
729
745
  key: e.id
730
746
  }, [
731
747
  B("line", {
732
748
  x1: e.midBaseX,
733
749
  y1: e.midBaseY,
734
- x2: Math.cos(e.theta - Math.PI / 2) * (p.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
735
- y2: Math.sin(e.theta - Math.PI / 2) * (p.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
750
+ x2: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
751
+ y2: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
736
752
  stroke: a.value.style.chart.backgroundColor,
737
753
  "stroke-width": a.value.style.chart.ribbons.labels.connector.strokeWidth * 3,
738
754
  "pointer-events": "none"
739
- }, null, 8, ga),
755
+ }, null, 8, ba),
740
756
  B("line", {
741
757
  x1: e.midBaseX,
742
758
  y1: e.midBaseY,
743
- x2: Math.cos(e.theta - Math.PI / 2) * (p.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
744
- y2: Math.sin(e.theta - Math.PI / 2) * (p.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
759
+ x2: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
760
+ y2: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
745
761
  stroke: a.value.style.chart.ribbons.labels.connector.stroke,
746
762
  "stroke-width": a.value.style.chart.ribbons.labels.connector.strokeWidth,
747
763
  "pointer-events": "none"
748
- }, null, 8, ba),
764
+ }, null, 8, ma),
749
765
  a.value.style.chart.ribbons.labels.marker.show ? (n(), i("circle", {
750
766
  key: 0,
751
- cx: Math.cos(e.theta - Math.PI / 2) * (p.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
752
- cy: Math.sin(e.theta - Math.PI / 2) * (p.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
767
+ cx: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
768
+ cy: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
753
769
  r: a.value.style.chart.ribbons.labels.marker.radius,
754
770
  stroke: a.value.style.chart.ribbons.labels.marker.stroke,
755
771
  "stroke-width": a.value.style.chart.ribbons.labels.marker.strokeWidth,
756
772
  fill: e.groupColor,
757
773
  "pointer-events": "none"
758
- }, null, 8, pa)) : v("", !0),
774
+ }, null, 8, ya)) : v("", !0),
759
775
  B("text", {
760
776
  transform: `
761
777
  translate(
762
- ${Math.cos(e.theta - Math.PI / 2) * (p.value.outer + a.value.style.chart.ribbons.labels.offset + 24)},
763
- ${Math.sin(e.theta - Math.PI / 2) * (p.value.outer + a.value.style.chart.ribbons.labels.offset + 24)}
778
+ ${Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 24)},
779
+ ${Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 24)}
764
780
  ) rotate(${-x.value})
765
781
  `,
766
782
  fill: a.value.style.chart.ribbons.labels.useSerieColor ? e.groupColor : a.value.style.chart.ribbons.labels.color,
767
- "text-anchor": kt(e.theta),
783
+ "text-anchor": $t(e.theta),
768
784
  "font-size": a.value.style.chart.ribbons.labels.fontSize,
769
785
  "font-weight": a.value.style.chart.ribbons.labels.bold ? "bold" : "normal",
770
786
  dy: ".35em",
771
787
  "pointer-events": "none"
772
- }, j(Xe(e.value)), 9, ma)
788
+ }, D(Xe(e.value)), 9, ka)
773
789
  ], 64))), 128))
774
790
  ])) : v("", !0),
775
- a.value.style.chart.arcs.labels.show ? (n(), i("g", ya, [
776
- a.value.style.chart.arcs.labels.curved ? (n(!0), i(z, { key: 0 }, G(M.value.groups, (e, l) => (n(), i("text", {
791
+ a.value.style.chart.arcs.labels.show ? (n(), i("g", $a, [
792
+ a.value.style.chart.arcs.labels.curved ? (n(!0), i(R, { key: 0 }, W(M.value.groups, (e, l) => (n(), i("text", {
777
793
  key: `curved-label-${l}`,
778
794
  "font-size": a.value.style.chart.arcs.labels.fontSize,
779
795
  "font-weight": a.value.style.chart.arcs.labels.bold ? "bold" : "normal",
780
- fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? d(jt)(y.value.colors[l]) : a.value.style.chart.arcs.labels.color
796
+ fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? d(Dt)(y.value.colors[l]) : a.value.style.chart.arcs.labels.color
781
797
  }, [
782
798
  B("textPath", {
783
- href: `#labelPath-${l}_${T.value}`,
799
+ href: `#labelPath-${l}_${S.value}`,
784
800
  startOffset: "50%",
785
801
  "text-anchor": "middle"
786
- }, j(y.value.labels[l]) + j(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
802
+ }, D(y.value.labels[l]) + D(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
787
803
  p: " (",
788
804
  v: isNaN(e.proportion) ? 0 : e.proportion * 100,
789
805
  s: "%)",
790
806
  r: a.value.style.chart.arcs.labels.roundingPercentage
791
- }) : ""), 9, $a)
792
- ], 8, ka))), 128)) : !w.value && !m.value && !b.value ? (n(!0), i(z, { key: 1 }, G(M.value.groups, (e, l) => (n(), i("text", {
807
+ }) : ""), 9, Ca)
808
+ ], 8, wa))), 128)) : !w.value && !m.value && !p.value ? (n(!0), i(R, { key: 1 }, W(M.value.groups, (e, l) => (n(), i("text", {
793
809
  key: `label-${l}`,
794
810
  transform: `
795
- ${$t((e.startAngle + e.endAngle) / 2)}
811
+ ${wt((e.startAngle + e.endAngle) / 2)}
796
812
  rotate(${-x.value})
797
813
  `,
798
814
  dy: ".35em",
799
- "text-anchor": yt(e) > Math.PI ? "end" : "start",
815
+ "text-anchor": kt(e) > Math.PI ? "end" : "start",
800
816
  "font-size": a.value.style.chart.arcs.labels.fontSize,
801
817
  "font-weight": a.value.style.chart.arcs.labels.bold ? "bold" : "normal",
802
818
  fill: a.value.style.chart.arcs.labels.color
803
- }, j(y.value.labels[l]) + j(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
819
+ }, D(y.value.labels[l]) + D(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
804
820
  p: " (",
805
821
  v: isNaN(e.proportion) ? 0 : e.proportion * 100,
806
822
  s: "%)",
807
823
  r: a.value.style.chart.arcs.labels.roundingPercentage
808
- }) : ""), 9, wa))), 128)) : v("", !0)
824
+ }) : ""), 9, Ma))), 128)) : v("", !0)
809
825
  ])) : v("", !0)
810
- ], 8, na),
826
+ ], 8, ua),
811
827
  $(t.$slots, "svg", { svg: { height: 600, width: 600 } }, void 0, !0)
812
- ], 42, ta)) : v("", !0),
813
- t.$slots.watermark ? (n(), i("div", Ca, [
814
- $(t.$slots, "watermark", re(ue({ isPrinting: d(Ae) || d(Ie) })), void 0, !0)
828
+ ], 42, oa)) : v("", !0),
829
+ t.$slots.watermark ? (n(), i("div", xa, [
830
+ $(t.$slots, "watermark", re(ue({ isPrinting: d(Ie) || d(Ae) })), void 0, !0)
815
831
  ])) : v("", !0),
816
- L.value ? v("", !0) : (n(), U(d(it), {
832
+ L.value ? v("", !0) : (n(), G(d(ct), {
817
833
  key: 6,
818
834
  config: {
819
835
  type: "chord",
@@ -829,37 +845,37 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
829
845
  ref_key: "chartLegend",
830
846
  ref: me
831
847
  }, [
832
- a.value.style.chart.legend.show ? (n(), U(Qt, {
848
+ a.value.style.chart.legend.show ? (n(), G(Zt, {
833
849
  key: `legend_${Ce.value}`,
834
- legendSet: Ge.value,
835
- config: It.value,
836
- onClickMarker: o[2] || (o[2] = ({ legend: e }) => Ue(e.id))
837
- }, Ze({
850
+ legendSet: We.value,
851
+ config: At.value,
852
+ onClickMarker: o[2] || (o[2] = ({ legend: e }) => Ge(e.id))
853
+ }, Je({
838
854
  item: _(({ legend: e }) => [
839
855
  B("div", {
840
- style: E({
841
- opacity: b.value ? b.value === e.id ? 1 : 0.3 : 1
856
+ style: F({
857
+ opacity: p.value ? p.value === e.id ? 1 : 0.3 : 1
842
858
  }),
843
859
  onClick: (l) => e.select()
844
- }, j(e.name), 13, Ma)
860
+ }, D(e.name), 13, Ia)
845
861
  ]),
846
862
  _: 2
847
863
  }, [
848
864
  t.$slots.pattern ? {
849
865
  name: "legend-pattern",
850
866
  fn: _(({ legend: e, index: l }) => [
851
- he(Jt, {
867
+ he(Kt, {
852
868
  shape: e.shape,
853
869
  radius: 30,
854
870
  stroke: "none",
855
871
  plot: { x: 30, y: 30 },
856
- fill: `url(#pattern_${T.value}_${l})`
872
+ fill: `url(#pattern_${S.value}_${l})`
857
873
  }, null, 8, ["shape", "fill"])
858
874
  ]),
859
875
  key: "0"
860
876
  } : void 0
861
877
  ]), 1032, ["legendSet", "config"])) : v("", !0),
862
- $(t.$slots, "legend", { legend: Ge.value }, void 0, !0)
878
+ $(t.$slots, "legend", { legend: We.value }, void 0, !0)
863
879
  ], 512),
864
880
  t.$slots.source ? (n(), i("div", {
865
881
  key: 7,
@@ -869,26 +885,26 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
869
885
  }, [
870
886
  $(t.$slots, "source", {}, void 0, !0)
871
887
  ], 512)) : v("", !0),
872
- x.value !== a.value.initialRotation ? (n(), i("div", xa, [
888
+ x.value !== a.value.initialRotation ? (n(), i("div", Aa, [
873
889
  $(t.$slots, "reset-action", { reset: Ye }, () => [
874
890
  B("button", {
875
891
  "data-cy-reset": "",
876
892
  tabindex: "0",
877
893
  role: "button",
878
894
  class: "vue-data-ui-refresh-button",
879
- style: E({
895
+ style: F({
880
896
  background: a.value.style.chart.backgroundColor
881
897
  }),
882
898
  onClick: Ye
883
899
  }, [
884
- he(d(st), {
900
+ he(d(nt), {
885
901
  name: "refresh",
886
902
  stroke: a.value.style.chart.color
887
903
  }, null, 8, ["stroke"])
888
904
  ], 4)
889
905
  ], !0)
890
906
  ])) : v("", !0),
891
- L.value ? (n(), U(d(lt), {
907
+ L.value ? (n(), G(d(st), {
892
908
  key: 9,
893
909
  hideDetails: "",
894
910
  config: {
@@ -905,7 +921,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
905
921
  }
906
922
  }, {
907
923
  content: _(() => [
908
- (n(), U(d(nt), {
924
+ (n(), G(d(rt), {
909
925
  key: `table_${we.value}`,
910
926
  colNames: ne.value.colNames,
911
927
  head: ne.value.head,
@@ -915,19 +931,19 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
915
931
  onClose: o[3] || (o[3] = (e) => Z.value.showTable = !1)
916
932
  }, {
917
933
  th: _(({ th: e }) => [
918
- Ot(j(e.name), 1)
934
+ Ot(D(e.name), 1)
919
935
  ]),
920
936
  td: _(({ td: e }) => [
921
- B("div", Aa, j(e.name ? e.name : Xe(e)), 1)
937
+ B("div", Pa, D(e.name ? e.name : Xe(e)), 1)
922
938
  ]),
923
939
  _: 1
924
940
  }, 8, ["colNames", "head", "body", "config", "title"]))
925
941
  ]),
926
942
  _: 1
927
943
  }, 8, ["config"])) : v("", !0)
928
- ], 46, ea));
944
+ ], 46, aa));
929
945
  }
930
- }, Ra = /* @__PURE__ */ Kt(Ia, [["__scopeId", "data-v-3ea9d08d"]]);
946
+ }, Da = /* @__PURE__ */ ta(_a, [["__scopeId", "data-v-94fd68af"]]);
931
947
  export {
932
- Ra as default
948
+ Da as default
933
949
  };