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

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 (102) hide show
  1. package/README.md +108 -67
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
  15. package/dist/Tooltip-NwATo4ZJ.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
  18. package/dist/img-ku4zevVD.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
  20. package/dist/pdf-CguiIsUc.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1051 -217
  23. package/dist/types/vue-data-ui.d.ts +1051 -217
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
  27. package/dist/vue-data-ui-DQef_oFO.js +314 -0
  28. package/dist/vue-data-ui.js +13 -13
  29. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
  30. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
  32. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
  33. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
  34. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
  35. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
  36. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
  37. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
  38. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
  39. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
  40. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
  41. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
  43. package/dist/vue-ui-donut-tECBFvud.js +1532 -0
  44. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
  45. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
  46. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
  47. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
  48. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
  49. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
  51. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
  52. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
  54. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
  55. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
  56. package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
  57. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
  58. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
  59. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
  60. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
  61. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
  62. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
  64. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
  65. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
  66. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
  67. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
  68. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
  73. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
  76. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
  77. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
  79. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
  80. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
  81. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
  82. package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
  83. package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
  84. package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
  85. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
  86. package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
  87. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
  88. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
  89. package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
  90. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
  91. package/package.json +2 -2
  92. package/dist/Tooltip-hVZUY_s5.js +0 -149
  93. package/dist/img-BeMVTwmF.js +0 -20
  94. package/dist/pdf-DPxOdzfi.js +0 -51
  95. package/dist/useMouse-AicQS8Vf.js +0 -13
  96. package/dist/vue-data-ui-nceqWRts.js +0 -301
  97. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  98. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  99. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  100. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  101. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  102. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -1,31 +1,32 @@
1
- import { useCssVars as Qe, defineAsyncComponent as p, computed as k, onMounted as Je, ref as c, watch as Ke, createElementBlock as y, openBlock as r, unref as l, normalizeStyle as B, normalizeClass as he, createBlock as $, createCommentVNode as f, createVNode as F, createSlots as et, withCtx as d, renderSlot as i, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as tt, renderList as ot, createTextVNode as lt, toDisplayString as st, nextTick as at } from "vue";
2
- import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, Q as vt, X as ht, l as pt, R as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-DMqAxz7R.js";
3
- import { u as me } from "./useNestedProp-YgN3FV_8.js";
4
- import { u as kt } from "./usePrinter-COkTjv6C.js";
5
- import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
7
- import { u as wt } from "./usePanZoom-BQMvRXEQ.js";
8
- import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const Ot = ["id"], Pt = {
1
+ import { useCssVars as Je, defineAsyncComponent as p, computed as k, onMounted as Ke, ref as c, watch as et, createElementBlock as y, openBlock as i, unref as s, normalizeStyle as R, normalizeClass as pe, createBlock as $, createCommentVNode as f, createVNode as S, createSlots as tt, withCtx as d, renderSlot as u, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as ot, renderList as lt, createTextVNode as st, toDisplayString as at, nextTick as nt } from "vue";
2
+ import { u as rt, o as it, e as ut, c as fe, t as ct, p as ge, a as dt, b as vt, Q as ht, X as pt, l as ft, R as gt, d as me, q as mt, r as yt, x as bt, y as kt } from "./index-BzfnuLnw.js";
3
+ import { u as ye } from "./useNestedProp-DorElw91.js";
4
+ import { u as Ct } from "./usePrinter-C9qkgv0r.js";
5
+ import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { u as Tt } from "./usePanZoom-BQMvRXEQ.js";
8
+ import Ot from "./img-ku4zevVD.js";
9
+ import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const At = ["id"], It = {
10
11
  key: 1,
11
12
  ref: "noTitle",
12
13
  class: "vue-data-ui-no-title-space",
13
14
  style: "height:36px; width: 100%;background:transparent"
14
- }, At = {
15
+ }, Nt = {
15
16
  key: 2,
16
17
  style: "width:100%;background:transparent;"
17
- }, It = ["xmlns", "viewBox"], Nt = ["width", "height"], Ft = ["id"], _t = ["stop-color"], St = ["stop-color"], Lt = {
18
+ }, Ft = ["xmlns", "viewBox"], St = ["width", "height"], _t = ["id"], Lt = ["stop-color"], Dt = ["stop-color"], Bt = {
18
19
  key: 5,
19
20
  class: "vue-data-ui-watermark"
20
- }, Dt = {
21
+ }, Rt = {
21
22
  key: 6,
22
23
  "data-dom-to-png-ignore": "",
23
24
  class: "reset-wrapper"
24
- }, Bt = {
25
+ }, Ut = {
25
26
  key: 8,
26
27
  ref: "source",
27
28
  dir: "auto"
28
- }, Rt = ["innerHTML"], Ut = {
29
+ }, Et = ["innerHTML"], xt = {
29
30
  __name: "vue-ui-molecule",
30
31
  props: {
31
32
  config: {
@@ -42,125 +43,125 @@ const Ot = ["id"], Pt = {
42
43
  }
43
44
  },
44
45
  emits: ["selectNode"],
45
- setup(ye, { expose: be, emit: ke }) {
46
- Qe((t) => ({
47
- "1859f908": t.slicerColor
46
+ setup(be, { expose: ke, emit: Ce }) {
47
+ Je((t) => ({
48
+ "7a354ece": t.slicerColor
48
49
  }));
49
- const Ce = p(() => import("./vue-ui-accordion-P6eFHGQp.js")), $e = p(() => import("./BaseIcon-DoDjTdD5.js")), we = p(() => import("./DataTable-BBbOgI-a.js")), Te = p(() => import("./PackageVersion-D0VPY8-5.js")), Oe = p(() => import("./PenAndPaper-DhBJsnob.js")), Pe = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ae = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), Fe = p(() => import("./Title-D29apS4l.js")), _e = p(() => import("./Tooltip-hVZUY_s5.js")), Se = p(() => import("./UserOptions-Bdit7AWO.js")), { vue_ui_molecule: Le } = nt(), C = ye, De = ke, S = k(() => !!C.dataset && C.dataset.length);
50
- Je(() => {
50
+ const $e = p(() => import("./vue-ui-accordion-DgZK-qDz.js")), we = p(() => import("./BaseIcon-BmZ4MREl.js")), Te = p(() => import("./DataTable-CgL0Rz0x.js")), Oe = p(() => import("./PackageVersion-CAkNkiIG.js")), Pe = p(() => import("./PenAndPaper-Cx1-5zdD.js")), Ae = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ie = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ne = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Fe = p(() => import("./vue-ui-skeleton-Ch_XkFuP.js")), Se = p(() => import("./Title-pVYRzQXY.js")), _e = p(() => import("./Tooltip-NwATo4ZJ.js")), Le = p(() => import("./UserOptions-DAsRxxrf.js")), { vue_ui_molecule: De } = rt(), C = be, Be = Ce, L = k(() => !!C.dataset && C.dataset.length);
51
+ Ke(() => {
51
52
  W();
52
53
  });
53
54
  function W() {
54
- rt(C.dataset) && it({
55
+ it(C.dataset) && ut({
55
56
  componentName: "VueUiMolecule",
56
57
  type: "dataset"
57
58
  });
58
59
  }
59
- const R = c(pe()), Be = c(null), U = c(!1), L = c(""), E = c(null), X = c(0), j = c(0), Y = c(0), e = k({
60
+ const U = c(fe()), Re = c(null), E = c(!1), D = c(""), O = c(null), X = c(0), j = c(0), Y = c(0), e = k({
60
61
  get: () => Q(),
61
62
  set: (t) => t
62
- }), { userOptionsVisible: x, setUserOptionsVisibility: Z, keepUserOptionState: q } = Ct({ config: e.value }), { svgRef: z } = $t({ config: e.value.style.chart.title });
63
+ }), { userOptionsVisible: x, setUserOptionsVisibility: Z, keepUserOptionState: q } = $t({ config: e.value }), { svgRef: z } = wt({ config: e.value.style.chart.title });
63
64
  function Q() {
64
- const t = me({
65
+ const t = ye({
65
66
  userConfig: C.config,
66
- defaultConfig: Le
67
+ defaultConfig: De
67
68
  });
68
69
  return t.theme ? {
69
- ...me({
70
- userConfig: ct.vue_ui_molecule[t.theme] || C.config,
70
+ ...ye({
71
+ userConfig: dt.vue_ui_molecule[t.theme] || C.config,
71
72
  defaultConfig: t
72
73
  }),
73
- customPalette: ut[t.theme] || fe
74
+ customPalette: ct[t.theme] || ge
74
75
  } : t;
75
76
  }
76
- Ke(() => C.config, (t) => {
77
+ et(() => C.config, (t) => {
77
78
  e.value = Q(), x.value = !e.value.userOptions.showOnChartHover, W(), j.value += 1, Y.value += 1, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show;
78
79
  }, { deep: !0 });
79
- const { isPrinting: J, isImaging: K, generatePdf: ee, generateImage: te } = kt({
80
- elementId: `cluster_${R.value}`,
80
+ const { isPrinting: J, isImaging: K, generatePdf: ee, generateImage: te } = Ct({
81
+ elementId: `cluster_${U.value}`,
81
82
  fileName: e.value.style.chart.title.text || "vue-ui-molecule",
82
83
  options: e.value.userOptions.print
83
- }), Re = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ue = k(() => dt(e.value.customPalette)), h = c({
84
+ }), Ue = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = k(() => vt(e.value.customPalette)), h = c({
84
85
  showTable: e.value.table.show,
85
86
  showDataLabels: !0,
86
87
  showTooltip: e.value.style.chart.tooltip.show
87
88
  });
88
- function oe(t, s = 0) {
89
- return Array.isArray(t) && t.length > 0 && t[0].nodes ? oe(t[0].nodes, s + 1) : s;
89
+ function oe(t, l = 0) {
90
+ return Array.isArray(t) && t.length > 0 && t[0].nodes ? oe(t[0].nodes, l + 1) : l;
90
91
  }
91
- function Ee() {
92
+ function xe() {
92
93
  const t = oe(C.dataset);
93
- let s = 100, o = s;
94
+ let l = 100, o = l;
94
95
  for (let n = 0; n < t; n += 1)
95
- s /= 1, o += s;
96
+ l /= 1, o += l;
96
97
  return {
97
98
  height: o,
98
99
  width: o
99
100
  };
100
101
  }
101
- const v = c(Ee());
102
+ const v = c(xe());
102
103
  c(`0 0 ${v.value.width} ${v.value.height}`);
103
- function le(t, s = { x: -v.value.width / 2.43, y: v.value.height / 2 }, o = v.value.width / 1.1, n = 24, a = 0, u = 0, g = "#BBBBBB", G = 0) {
104
+ function le(t, l = { x: -v.value.width / 2.43, y: v.value.height / 2 }, o = v.value.width / 1.1, n = 24, a = 0, r = 0, g = "#BBBBBB", G = 0) {
104
105
  if (!Array.isArray(t) || t.length === 0) return t;
105
- const qe = ft({
106
- plot: s,
106
+ const Qe = gt({
107
+ plot: l,
107
108
  radius: o,
108
109
  sides: t.length,
109
110
  rotation: a
110
111
  });
111
- return t.forEach((m, ce) => {
112
- const de = qe.coordinates[ce], ve = m.color ? (() => {
113
- let M = ge(m.color);
112
+ return t.forEach((m, de) => {
113
+ const ve = Qe.coordinates[de], he = m.color ? (() => {
114
+ let M = me(m.color);
114
115
  return M.startsWith("#") ? M : `#${M}`;
115
116
  })() : null;
116
- let P;
117
- ve ? P = ve : G === 0 ? P = g : G === 1 ? (P = Ue.value[u] || fe[u] || g, u += 1) : P = g, m.polygonPath = { coordinates: [de] }, m.circleRadius = n, m.color = P, m.uid = pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = le(
117
+ let A;
118
+ he ? A = he : G === 0 ? A = g : G === 1 ? (A = Ee.value[r] || ge[r] || g, r += 1) : A = g, m.polygonPath = { coordinates: [ve] }, m.circleRadius = n, m.color = A, m.uid = fe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = le(
118
119
  m.nodes,
119
- de,
120
+ ve,
120
121
  o / 2.9,
121
122
  n / 2.2,
122
- a + Math.PI * ce / m.nodes.length,
123
- u,
124
- P,
123
+ a + Math.PI * de / m.nodes.length,
124
+ r,
125
+ A,
125
126
  G + 1
126
127
  ));
127
128
  }), t;
128
129
  }
129
- function xe(t) {
130
- const s = /* @__PURE__ */ new Set();
130
+ function ze(t) {
131
+ const l = /* @__PURE__ */ new Set();
131
132
  function o(a) {
132
- a.forEach((u) => {
133
- if (!u.color) return;
134
- let g = u.color;
135
- /^#?[0-9A-F]{6}$/i.test(g) || (g = ge(g)), g.startsWith("#") || (g = `#${g}`), s.add(g), Array.isArray(u.nodes) && u.nodes.length && o(u.nodes);
133
+ a.forEach((r) => {
134
+ if (!r.color) return;
135
+ let g = r.color;
136
+ /^#?[0-9A-F]{6}$/i.test(g) || (g = me(g)), g.startsWith("#") || (g = `#${g}`), l.add(g), Array.isArray(r.nodes) && r.nodes.length && o(r.nodes);
136
137
  });
137
138
  }
138
139
  o(t);
139
140
  const n = {};
140
- return Array.from(s).forEach((a) => {
141
- const u = a.slice(1);
142
- n[a] = `gradient_${u}`;
141
+ return Array.from(l).forEach((a) => {
142
+ const r = a.slice(1);
143
+ n[a] = `gradient_${r}`;
143
144
  }), n;
144
145
  }
145
- const ze = k(() => xe(b.value)), b = k(() => {
146
- const t = vt(C.dataset);
146
+ const He = k(() => ze(b.value)), b = k(() => {
147
+ const t = ht(C.dataset);
147
148
  return le(t);
148
149
  }), H = c(null);
149
- function He(t) {
150
+ function Ve(t) {
150
151
  H.value = {
151
152
  datapoint: t,
152
153
  seriesIndex: -1,
153
154
  series: b.value,
154
155
  config: e.value
155
156
  };
156
- const s = e.value.style.chart.tooltip.customFormat;
157
- if (yt(s) && bt(() => s({
157
+ const l = e.value.style.chart.tooltip.customFormat;
158
+ if (bt(l) && kt(() => l({
158
159
  seriesIndex: -1,
159
160
  datapoint: t,
160
161
  series: b.value,
161
162
  config: e.value
162
163
  })))
163
- L.value = s({
164
+ D.value = l({
164
165
  seriesIndex: -1,
165
166
  // well, ok
166
167
  datapoint: t,
@@ -169,34 +170,34 @@ const Ot = ["id"], Pt = {
169
170
  });
170
171
  else {
171
172
  let o = "";
172
- o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`), L.value = `<div style="font-family:inherit">${o}</div>`;
173
+ o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`), D.value = `<div style="font-family:inherit">${o}</div>`;
173
174
  }
174
175
  }
175
- const se = c(null), A = c(null);
176
- function Ve(t) {
177
- se.value = t, t ? (U.value = !0, He(t), A.value = t.uid) : (U.value = !1, L.value = "", A.value = null);
178
- }
176
+ const se = c(null), I = c(null);
179
177
  function Ge(t) {
180
- const s = [];
178
+ se.value = t, t ? (E.value = !0, Ve(t), I.value = t.uid) : (E.value = !1, D.value = "", I.value = null);
179
+ }
180
+ function Me(t) {
181
+ const l = [];
181
182
  function o(n) {
182
183
  n.forEach((a) => {
183
- const u = {
184
+ const r = {
184
185
  name: a.name,
185
186
  details: a.details || "-",
186
187
  ancestor: a.ancestor && a.ancestor.name || "-",
187
188
  color: a.color || ""
188
189
  };
189
- s.push(u), a.nodes && a.nodes.length > 0 && o(a.nodes, a.name);
190
+ l.push(r), a.nodes && a.nodes.length > 0 && o(a.nodes, a.name);
190
191
  });
191
192
  }
192
- return o(t), s;
193
+ return o(t), l;
193
194
  }
194
- const Me = k(() => Ge(b.value)), O = k(() => {
195
+ const We = k(() => Me(b.value)), P = k(() => {
195
196
  const t = [
196
197
  e.value.table.translations.nodeName,
197
198
  e.value.table.translations.details,
198
199
  e.value.table.translations.ancestor
199
- ], s = Me.value.map((a, u) => [
200
+ ], l = We.value.map((a, r) => [
200
201
  {
201
202
  color: a.color,
202
203
  name: a.name
@@ -222,77 +223,91 @@ const Ot = ["id"], Pt = {
222
223
  ];
223
224
  return {
224
225
  head: t,
225
- body: s,
226
+ body: l,
226
227
  config: o,
227
228
  colNames: n
228
229
  };
229
230
  });
230
231
  function ae(t = null) {
231
- at(() => {
232
- const s = O.value.body.map((a, u) => [[a[0].name], [a[1]], [a[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...O.value.head]]].concat(s), n = gt(o);
233
- t ? t(n) : mt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-molecule" });
232
+ nt(() => {
233
+ const l = P.value.body.map((a, r) => [[a[0].name], [a[1]], [a[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...P.value.head]]].concat(l), n = mt(o);
234
+ t ? t(n) : yt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-molecule" });
234
235
  });
235
236
  }
236
- function We() {
237
+ function Xe() {
237
238
  return b.value;
238
239
  }
239
- const I = c(!1);
240
- function Xe(t) {
241
- I.value = t, X.value += 1;
240
+ const N = c(!1);
241
+ function ne(t) {
242
+ N.value = t, X.value += 1;
242
243
  }
243
- function ne() {
244
+ function re() {
244
245
  h.value.showTable = !h.value.showTable;
245
246
  }
246
- function re() {
247
+ function ie() {
247
248
  h.value.showDataLabels = !h.value.showDataLabels;
248
249
  }
249
- function ie() {
250
+ function ue() {
250
251
  h.value.showTooltip = !h.value.showTooltip;
251
252
  }
252
- const N = c(!1);
253
+ const F = c(!1);
253
254
  function V() {
254
- N.value = !N.value;
255
+ F.value = !F.value;
255
256
  }
256
- const je = k(() => !N.value), { viewBox: D, resetZoom: ue, isZoom: Ye } = wt(z, {
257
+ const je = k(() => !F.value), { viewBox: B, resetZoom: ce, isZoom: Ye } = Tt(z, {
257
258
  x: 0,
258
259
  y: 0,
259
260
  width: v.value.width <= 0 ? 10 : v.value.width,
260
261
  height: v.value.height <= 0 ? 10 : v.value.height
261
262
  }, e.value.style.chart.zoom.speed, je);
262
263
  function Ze(t) {
263
- De("selectNode", t);
264
+ Be("selectNode", t);
265
+ }
266
+ async function qe({ scale: t = 2 } = {}) {
267
+ if (!O.value) return;
268
+ const { width: l, height: o } = O.value.getBoundingClientRect(), n = l / o, { imageUri: a, base64: r } = await Ot({ domElement: O.value, base64: !0, img: !0, scale: t });
269
+ return {
270
+ imageUri: a,
271
+ base64: r,
272
+ title: e.value.style.chart.title.text,
273
+ width: l,
274
+ height: o,
275
+ aspectRatio: n
276
+ };
264
277
  }
265
- return be({
266
- getData: We,
278
+ return ke({
279
+ getData: Xe,
280
+ getImage: qe,
267
281
  generatePdf: ee,
268
282
  generateCsv: ae,
269
283
  generateImage: te,
270
- toggleTable: ne,
271
- toggleLabels: re,
272
- toggleTooltip: ie,
273
- toggleAnnotator: V
274
- }), (t, s) => (r(), y("div", {
284
+ toggleTable: re,
285
+ toggleLabels: ie,
286
+ toggleTooltip: ue,
287
+ toggleAnnotator: V,
288
+ toggleFullscreen: ne
289
+ }), (t, l) => (i(), y("div", {
275
290
  ref_key: "moleculeChart",
276
- ref: E,
277
- class: he(`vue-ui-molecule ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
278
- style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
279
- id: `cluster_${R.value}`,
280
- onMouseleave: s[2] || (s[2] = (o) => {
281
- se.value = null, A.value = null, l(Z)(!1);
291
+ ref: O,
292
+ class: pe(`vue-ui-molecule ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
293
+ style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
294
+ id: `cluster_${U.value}`,
295
+ onMouseleave: l[2] || (l[2] = (o) => {
296
+ se.value = null, I.value = null, s(Z)(!1);
282
297
  }),
283
- onMouseenter: s[3] || (s[3] = () => l(Z)(!0))
298
+ onMouseenter: l[3] || (l[3] = () => s(Z)(!0))
284
299
  }, [
285
- e.value.userOptions.buttons.annotator ? (r(), $(l(Oe), {
300
+ e.value.userOptions.buttons.annotator ? (i(), $(s(Pe), {
286
301
  key: 0,
287
- svgRef: l(z),
302
+ svgRef: s(z),
288
303
  backgroundColor: e.value.style.chart.backgroundColor,
289
304
  color: e.value.style.chart.color,
290
- active: N.value,
305
+ active: F.value,
291
306
  onClose: V
292
307
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
293
- Re.value ? (r(), y("div", Pt, null, 512)) : f("", !0),
294
- e.value.style.chart.title.text ? (r(), y("div", At, [
295
- (r(), $(l(Fe), {
308
+ Ue.value ? (i(), y("div", It, null, 512)) : f("", !0),
309
+ e.value.style.chart.title.text ? (i(), y("div", Nt, [
310
+ (i(), $(s(Se), {
296
311
  key: `title_${j.value}`,
297
312
  config: {
298
313
  title: {
@@ -306,15 +321,15 @@ const Ot = ["id"], Pt = {
306
321
  }
307
322
  }, null, 8, ["config"]))
308
323
  ])) : f("", !0),
309
- e.value.userOptions.show && S.value && (l(q) || l(x)) ? (r(), $(l(Se), {
324
+ e.value.userOptions.show && L.value && (s(q) || s(x)) ? (i(), $(s(Le), {
310
325
  ref_key: "details",
311
- ref: Be,
326
+ ref: Re,
312
327
  key: `user_options_${X.value}`,
313
328
  backgroundColor: e.value.style.chart.backgroundColor,
314
329
  color: e.value.style.chart.color,
315
- isPrinting: l(J),
316
- isImaging: l(K),
317
- uid: R.value,
330
+ isPrinting: s(J),
331
+ isImaging: s(K),
332
+ uid: U.value,
318
333
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
319
334
  hasPdf: e.value.userOptions.buttons.pdf,
320
335
  hasXls: e.value.userOptions.buttons.csv,
@@ -324,98 +339,99 @@ const Ot = ["id"], Pt = {
324
339
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
325
340
  isTooltip: h.value.showTooltip,
326
341
  titles: { ...e.value.userOptions.buttonTitles },
327
- chartElement: E.value,
342
+ chartElement: O.value,
328
343
  position: e.value.userOptions.position,
329
344
  hasAnnotator: e.value.userOptions.buttons.annotator,
330
- isAnnotation: N.value,
345
+ isAnnotation: F.value,
331
346
  callbacks: e.value.userOptions.callbacks,
332
- onToggleFullscreen: Xe,
333
- onGeneratePdf: l(ee),
347
+ printScale: e.value.userOptions.print.scale,
348
+ onToggleFullscreen: ne,
349
+ onGeneratePdf: s(ee),
334
350
  onGenerateCsv: ae,
335
- onGenerateImage: l(te),
336
- onToggleTable: ne,
337
- onToggleLabels: re,
338
- onToggleTooltip: ie,
351
+ onGenerateImage: s(te),
352
+ onToggleTable: re,
353
+ onToggleLabels: ie,
354
+ onToggleTooltip: ue,
339
355
  onToggleAnnotator: V,
340
- style: B({
341
- visibility: l(q) ? l(x) ? "visible" : "hidden" : "visible"
356
+ style: R({
357
+ visibility: s(q) ? s(x) ? "visible" : "hidden" : "visible"
342
358
  })
343
- }, et({ _: 2 }, [
359
+ }, tt({ _: 2 }, [
344
360
  t.$slots.menuIcon ? {
345
361
  name: "menuIcon",
346
362
  fn: d(({ isOpen: o, color: n }) => [
347
- i(t.$slots, "menuIcon", w(T({ isOpen: o, color: n })), void 0, !0)
363
+ u(t.$slots, "menuIcon", w(T({ isOpen: o, color: n })), void 0, !0)
348
364
  ]),
349
365
  key: "0"
350
366
  } : void 0,
351
367
  t.$slots.optionTooltip ? {
352
368
  name: "optionTooltip",
353
369
  fn: d(() => [
354
- i(t.$slots, "optionTooltip", {}, void 0, !0)
370
+ u(t.$slots, "optionTooltip", {}, void 0, !0)
355
371
  ]),
356
372
  key: "1"
357
373
  } : void 0,
358
374
  t.$slots.optionPdf ? {
359
375
  name: "optionPdf",
360
376
  fn: d(() => [
361
- i(t.$slots, "optionPdf", {}, void 0, !0)
377
+ u(t.$slots, "optionPdf", {}, void 0, !0)
362
378
  ]),
363
379
  key: "2"
364
380
  } : void 0,
365
381
  t.$slots.optionCsv ? {
366
382
  name: "optionCsv",
367
383
  fn: d(() => [
368
- i(t.$slots, "optionCsv", {}, void 0, !0)
384
+ u(t.$slots, "optionCsv", {}, void 0, !0)
369
385
  ]),
370
386
  key: "3"
371
387
  } : void 0,
372
388
  t.$slots.optionImg ? {
373
389
  name: "optionImg",
374
390
  fn: d(() => [
375
- i(t.$slots, "optionImg", {}, void 0, !0)
391
+ u(t.$slots, "optionImg", {}, void 0, !0)
376
392
  ]),
377
393
  key: "4"
378
394
  } : void 0,
379
395
  t.$slots.optionTable ? {
380
396
  name: "optionTable",
381
397
  fn: d(() => [
382
- i(t.$slots, "optionTable", {}, void 0, !0)
398
+ u(t.$slots, "optionTable", {}, void 0, !0)
383
399
  ]),
384
400
  key: "5"
385
401
  } : void 0,
386
402
  t.$slots.optionLabels ? {
387
403
  name: "optionLabels",
388
404
  fn: d(() => [
389
- i(t.$slots, "optionLabels", {}, void 0, !0)
405
+ u(t.$slots, "optionLabels", {}, void 0, !0)
390
406
  ]),
391
407
  key: "6"
392
408
  } : void 0,
393
409
  t.$slots.optionFullscreen ? {
394
410
  name: "optionFullscreen",
395
411
  fn: d(({ toggleFullscreen: o, isFullscreen: n }) => [
396
- i(t.$slots, "optionFullscreen", w(T({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
412
+ u(t.$slots, "optionFullscreen", w(T({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
397
413
  ]),
398
414
  key: "7"
399
415
  } : void 0,
400
416
  t.$slots.optionAnnotator ? {
401
417
  name: "optionAnnotator",
402
418
  fn: d(({ toggleAnnotator: o, isAnnotator: n }) => [
403
- i(t.$slots, "optionAnnotator", w(T({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
419
+ u(t.$slots, "optionAnnotator", w(T({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
404
420
  ]),
405
421
  key: "8"
406
422
  } : void 0
407
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
408
- S.value ? (r(), y("svg", {
423
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
424
+ L.value ? (i(), y("svg", {
409
425
  key: 4,
410
426
  ref_key: "svgRef",
411
427
  ref: z,
412
- xmlns: l(ht),
413
- viewBox: `${l(D).x} ${l(D).y} ${l(D).width} ${l(D).height}`,
414
- class: he({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
415
- style: B(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
428
+ xmlns: s(pt),
429
+ viewBox: `${s(B).x} ${s(B).y} ${s(B).width} ${s(B).height}`,
430
+ class: pe({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
431
+ style: R(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
416
432
  }, [
417
- F(l(Te)),
418
- t.$slots["chart-background"] ? (r(), y("foreignObject", {
433
+ S(s(Oe)),
434
+ t.$slots["chart-background"] ? (i(), y("foreignObject", {
419
435
  key: 0,
420
436
  x: 0,
421
437
  y: 0,
@@ -425,10 +441,10 @@ const Ot = ["id"], Pt = {
425
441
  pointerEvents: "none"
426
442
  }
427
443
  }, [
428
- i(t.$slots, "chart-background", {}, void 0, !0)
429
- ], 8, Nt)) : f("", !0),
444
+ u(t.$slots, "chart-background", {}, void 0, !0)
445
+ ], 8, St)) : f("", !0),
430
446
  _("defs", null, [
431
- (r(!0), y(tt, null, ot(Object.keys(ze.value), (o) => (r(), y("radialGradient", {
447
+ (i(!0), y(ot, null, lt(Object.keys(He.value), (o) => (i(), y("radialGradient", {
432
448
  id: `gradient_${o}`,
433
449
  cx: "50%",
434
450
  cy: "30%",
@@ -438,63 +454,63 @@ const Ot = ["id"], Pt = {
438
454
  }, [
439
455
  _("stop", {
440
456
  offset: "0%",
441
- "stop-color": l(pt)(o, 0.5)
442
- }, null, 8, _t),
457
+ "stop-color": s(ft)(o, 0.5)
458
+ }, null, 8, Lt),
443
459
  _("stop", {
444
460
  offset: "100%",
445
461
  "stop-color": o
446
- }, null, 8, St)
447
- ], 8, Ft))), 256))
462
+ }, null, 8, Dt)
463
+ ], 8, _t))), 256))
448
464
  ]),
449
- F(l(Ie), {
465
+ S(s(Ne), {
450
466
  dataset: b.value,
451
467
  color: e.value.style.chart.links.stroke,
452
468
  backgroundColor: e.value.style.chart.backgroundColor
453
469
  }, null, 8, ["dataset", "color", "backgroundColor"]),
454
- F(l(Pe), {
470
+ S(s(Ae), {
455
471
  dataset: b.value,
456
- hoveredUid: A.value,
472
+ hoveredUid: I.value,
457
473
  stroke: e.value.style.chart.nodes.stroke,
458
474
  strokeHovered: e.value.style.chart.nodes.strokeHovered,
459
475
  onClick: Ze,
460
- onHover: Ve
476
+ onHover: Ge
461
477
  }, {
462
478
  node: d(({ node: o }) => [
463
- i(t.$slots, "node", w(T({ node: o })), void 0, !0)
479
+ u(t.$slots, "node", w(T({ node: o })), void 0, !0)
464
480
  ]),
465
481
  _: 3
466
482
  }, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
467
- h.value.showDataLabels ? (r(), $(l(Ae), {
483
+ h.value.showDataLabels ? (i(), $(s(Ie), {
468
484
  key: 1,
469
485
  dataset: b.value,
470
486
  color: e.value.style.chart.color,
471
- hoveredUid: A.value
487
+ hoveredUid: I.value
472
488
  }, null, 8, ["dataset", "color", "hoveredUid"])) : f("", !0),
473
- i(t.$slots, "svg", { svg: v.value }, void 0, !0)
474
- ], 14, It)) : f("", !0),
475
- t.$slots.watermark ? (r(), y("div", Lt, [
476
- i(t.$slots, "watermark", w(T({ isPrinting: l(J) || l(K) })), void 0, !0)
489
+ u(t.$slots, "svg", { svg: v.value }, void 0, !0)
490
+ ], 14, Ft)) : f("", !0),
491
+ t.$slots.watermark ? (i(), y("div", Bt, [
492
+ u(t.$slots, "watermark", w(T({ isPrinting: s(J) || s(K) })), void 0, !0)
477
493
  ])) : f("", !0),
478
- l(Ye) ? (r(), y("div", Dt, [
479
- i(t.$slots, "reset-action", { reset: l(ue) }, () => [
494
+ s(Ye) ? (i(), y("div", Rt, [
495
+ u(t.$slots, "reset-action", { reset: s(ce) }, () => [
480
496
  _("button", {
481
497
  "data-cy-reset": "",
482
498
  tabindex: "0",
483
499
  role: "button",
484
500
  class: "vue-data-ui-refresh-button",
485
- style: B({
501
+ style: R({
486
502
  background: e.value.style.chart.backgroundColor
487
503
  }),
488
- onClick: s[0] || (s[0] = (o) => l(ue)(!0))
504
+ onClick: l[0] || (l[0] = (o) => s(ce)(!0))
489
505
  }, [
490
- F(l($e), {
506
+ S(s(we), {
491
507
  name: "refresh",
492
508
  stroke: e.value.style.chart.color
493
509
  }, null, 8, ["stroke"])
494
510
  ], 4)
495
511
  ], !0)
496
512
  ])) : f("", !0),
497
- S.value ? f("", !0) : (r(), $(l(Ne), {
513
+ L.value ? f("", !0) : (i(), $(s(Fe), {
498
514
  key: 7,
499
515
  config: {
500
516
  type: "molecule",
@@ -506,11 +522,11 @@ const Ot = ["id"], Pt = {
506
522
  }
507
523
  }
508
524
  }, null, 8, ["config"])),
509
- t.$slots.source ? (r(), y("div", Bt, [
510
- i(t.$slots, "source", {}, void 0, !0)
525
+ t.$slots.source ? (i(), y("div", Ut, [
526
+ u(t.$slots, "source", {}, void 0, !0)
511
527
  ], 512)) : f("", !0),
512
- F(l(_e), {
513
- show: h.value.showTooltip && U.value,
528
+ S(s(_e), {
529
+ show: h.value.showTooltip && E.value,
514
530
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
515
531
  color: e.value.style.chart.tooltip.color,
516
532
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -520,20 +536,20 @@ const Ot = ["id"], Pt = {
520
536
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
521
537
  position: e.value.style.chart.tooltip.position,
522
538
  offsetY: e.value.style.chart.tooltip.offsetY,
523
- parent: E.value,
524
- content: L.value,
525
- isFullscreen: I.value,
539
+ parent: O.value,
540
+ content: D.value,
541
+ isFullscreen: N.value,
526
542
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
527
543
  }, {
528
544
  "tooltip-before": d(() => [
529
- i(t.$slots, "tooltip-before", w(T({ ...H.value })), void 0, !0)
545
+ u(t.$slots, "tooltip-before", w(T({ ...H.value })), void 0, !0)
530
546
  ]),
531
547
  "tooltip-after": d(() => [
532
- i(t.$slots, "tooltip-after", w(T({ ...H.value })), void 0, !0)
548
+ u(t.$slots, "tooltip-after", w(T({ ...H.value })), void 0, !0)
533
549
  ]),
534
550
  _: 3
535
551
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
536
- S.value ? (r(), $(l(Ce), {
552
+ L.value ? (i(), $(s($e), {
537
553
  key: 9,
538
554
  hideDetails: "",
539
555
  config: {
@@ -550,32 +566,32 @@ const Ot = ["id"], Pt = {
550
566
  }
551
567
  }, {
552
568
  content: d(() => [
553
- (r(), $(l(we), {
569
+ (i(), $(s(Te), {
554
570
  key: `table_${Y.value}`,
555
- colNames: O.value.colNames,
556
- head: O.value.head,
557
- body: O.value.body,
558
- config: O.value.config,
571
+ colNames: P.value.colNames,
572
+ head: P.value.head,
573
+ body: P.value.body,
574
+ config: P.value.config,
559
575
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
560
- onClose: s[1] || (s[1] = (o) => h.value.showTable = !1)
576
+ onClose: l[1] || (l[1] = (o) => h.value.showTable = !1)
561
577
  }, {
562
578
  th: d(({ th: o }) => [
563
579
  _("div", {
564
580
  innerHTML: o,
565
581
  style: { display: "flex", "align-items": "center" }
566
- }, null, 8, Rt)
582
+ }, null, 8, Et)
567
583
  ]),
568
584
  td: d(({ td: o }) => [
569
- lt(st(o.name || o), 1)
585
+ st(at(o.name || o), 1)
570
586
  ]),
571
587
  _: 1
572
588
  }, 8, ["colNames", "head", "body", "config", "title"]))
573
589
  ]),
574
590
  _: 1
575
591
  }, 8, ["config"])) : f("", !0)
576
- ], 46, Ot));
592
+ ], 46, At));
577
593
  }
578
- }, Xt = /* @__PURE__ */ Tt(Ut, [["__scopeId", "data-v-20a9487b"]]);
594
+ }, Zt = /* @__PURE__ */ Pt(xt, [["__scopeId", "data-v-7d6bc092"]]);
579
595
  export {
580
- Xt as default
596
+ Zt as default
581
597
  };