vue-data-ui 3.1.4 → 3.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/{Arrow-COJRk3pc.js → Arrow-DtlAIKPQ.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BdAp3qr9.js → BaseDraggableDialog-BVZPPMT9.js} +2 -2
  3. package/dist/{BaseIcon-B5nQNkmd.js → BaseIcon-D_BjQBAR.js} +1 -1
  4. package/dist/{ColorPicker-CPqHwp1V.js → ColorPicker-BeJGNqJl.js} +2 -2
  5. package/dist/{DataTable-CzO3oHys.js → DataTable-IycMkaTU.js} +2 -2
  6. package/dist/{Legend-BQqnf4BN.js → Legend-D7l8BJ7z.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D_g27Foy.js → NonSvgPenAndPaper-BK5M9Lt9.js} +3 -3
  8. package/dist/{PackageVersion-7CxQB-mx.js → PackageVersion-BtfT0hV9.js} +1 -1
  9. package/dist/{PenAndPaper-C8hICPzL.js → PenAndPaper-BdzDJYnr.js} +3 -3
  10. package/dist/{Shape-BEVQVI0z.js → Shape-DD3SLpa4.js} +1 -1
  11. package/dist/Slicer-DoGlWyq_.js +596 -0
  12. package/dist/{SparkTooltip-BSgzljwP.js → SparkTooltip-DAfofSes.js} +1 -1
  13. package/dist/{Title-nHtPyPd9.js → Title-DbQthJAs.js} +1 -1
  14. package/dist/Tooltip-DvtYLrX2.js +200 -0
  15. package/dist/{UserOptions-D3pVnvAB.js → UserOptions-Dd5XOrwq.js} +2 -2
  16. package/dist/{dom-to-png-CcijTM69.js → dom-to-png-j6qE-sAL.js} +1 -1
  17. package/dist/{img-Bl0o2UAr.js → img-DLgjML7h.js} +1 -1
  18. package/dist/{index-INqbM37s.js → index-C0wrF8hm.js} +6 -2
  19. package/dist/{pdf-BeeAdG2m.js → pdf-Csglybwj.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +4 -0
  22. package/dist/types/vue-data-ui.d.ts +4 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-DXkvjSDn.js → useAutoSizeLabelsInsideViewbox-Bj3DhGbZ.js} +1 -1
  24. package/dist/{useNestedProp-BKprMEaB.js → useNestedProp-Bg2FlIgI.js} +1 -1
  25. package/dist/{usePrinter-9WO5mDzj.js → usePrinter-C2jvouU0.js} +2 -2
  26. package/dist/{vue-data-ui-IMHc9Ta4.js → vue-data-ui-DaOijb0V.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D-1TVi2s.js → vue-ui-3d-bar-BbW6NaRc.js} +8 -8
  29. package/dist/{vue-ui-accordion-CQZjxT5U.js → vue-ui-accordion-3JuSLBjV.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-B31NbBxS.js → vue-ui-age-pyramid-D94C1TOK.js} +44 -42
  31. package/dist/{vue-ui-annotator-BmFYtzWW.js → vue-ui-annotator-Jq_yw0h7.js} +2 -2
  32. package/dist/{vue-ui-bullet-BvMlcux3.js → vue-ui-bullet-ajwy7d-R.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CCrNcgjy.js → vue-ui-candlestick-vMGbmNWA.js} +87 -85
  34. package/dist/{vue-ui-carousel-table-DrGj7_CL.js → vue-ui-carousel-table-DydTCm2Z.js} +4 -4
  35. package/dist/{vue-ui-chestnut-Dz0E-AxZ.js → vue-ui-chestnut-D6AP76wU.js} +37 -37
  36. package/dist/{vue-ui-chord-BxOzgPka.js → vue-ui-chord-Du8GJXPN.js} +11 -11
  37. package/dist/{vue-ui-circle-pack-CaWwzEF0.js → vue-ui-circle-pack-C-C3OGW_.js} +232 -228
  38. package/dist/{vue-ui-cursor-CG-oJITu.js → vue-ui-cursor-B70FlDqP.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BFLQYXuo.js → vue-ui-dashboard-DrFCH7LP.js} +67 -67
  40. package/dist/{vue-ui-digits-BlZsS_qz.js → vue-ui-digits-CQy-vOC2.js} +2 -2
  41. package/dist/{vue-ui-donut-COXIRkz4.js → vue-ui-donut-D0RdN18d.js} +53 -51
  42. package/dist/{vue-ui-donut-evolution-DSGLD4z5.js → vue-ui-donut-evolution-naYIvk-b.js} +38 -38
  43. package/dist/{vue-ui-dumbbell-DgUPMy2W.js → vue-ui-dumbbell-D6b7WMTy.js} +84 -84
  44. package/dist/{vue-ui-flow-E8_jp5Qc.js → vue-ui-flow-Dh8_ii-s.js} +82 -80
  45. package/dist/{vue-ui-funnel-NMcBpYTQ.js → vue-ui-funnel-Ct4e9chO.js} +31 -31
  46. package/dist/{vue-ui-galaxy-Cay4NZ6o.js → vue-ui-galaxy-Dqklv14X.js} +49 -47
  47. package/dist/{vue-ui-gauge-DWOH8_Z2.js → vue-ui-gauge-D-vHj5J1.js} +7 -7
  48. package/dist/{vue-ui-gizmo-DtZu2tcU.js → vue-ui-gizmo-Cn0d1lVH.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Dk5515tQ.js → vue-ui-heatmap-BpcoDwpi.js} +69 -67
  50. package/dist/{vue-ui-history-plot-X_jPheWu.js → vue-ui-history-plot-D8tmNUHo.js} +148 -146
  51. package/dist/{vue-ui-kpi-DwNsapLR.js → vue-ui-kpi-88Bguk6S.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-uyATuTz5.js → vue-ui-mini-loader-VDpWxyls.js} +2 -2
  53. package/dist/{vue-ui-molecule-BOeCt8b2.js → vue-ui-molecule-Cn8yeJLZ.js} +63 -61
  54. package/dist/{vue-ui-mood-radar-BeHjc5Ty.js → vue-ui-mood-radar-DidC77_K.js} +9 -9
  55. package/dist/{vue-ui-nested-donuts-CPoaD2py.js → vue-ui-nested-donuts-D1EZ91Wm.js} +71 -69
  56. package/dist/{vue-ui-onion-C8H8i77u.js → vue-ui-onion-B_mir5Ax.js} +40 -37
  57. package/dist/{vue-ui-parallel-coordinate-plot-Cblzs6mf.js → vue-ui-parallel-coordinate-plot-DRbJyqiQ.js} +54 -52
  58. package/dist/{vue-ui-quadrant-BLYsMAey.js → vue-ui-quadrant-D7ihdCkd.js} +204 -202
  59. package/dist/{vue-ui-quick-chart-D-7cooqG.js → vue-ui-quick-chart-Dwc1xJtX.js} +63 -61
  60. package/dist/{vue-ui-radar-BBR8cYGx.js → vue-ui-radar-DhsgkGwF.js} +121 -119
  61. package/dist/{vue-ui-rating-Ccn8aUMA.js → vue-ui-rating-D_sWv7fR.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-SKeIJXHs.js → vue-ui-relation-circle-CAvYwKpm.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-CuHSBPB8.js → vue-ui-ridgeline-DuWQX2OI.js} +10 -10
  64. package/dist/{vue-ui-rings-SusI7pff.js → vue-ui-rings-BrBkOGZk.js} +162 -160
  65. package/dist/{vue-ui-scatter-Do8NoLng.js → vue-ui-scatter--kNBhPeG.js} +158 -156
  66. package/dist/{vue-ui-skeleton-FONviv9G.js → vue-ui-skeleton-B6Y0yxOn.js} +3 -3
  67. package/dist/{vue-ui-smiley-Bbt8bZxB.js → vue-ui-smiley-B7tZsNRS.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DB7RPBwQ.js → vue-ui-spark-trend-Dy5C9uny.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-B8inUR_m.js → vue-ui-sparkbar-9NN07DOT.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-B4_YoY5M.js → vue-ui-sparkgauge-iV-u83Ie.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-DXSLenC7.js → vue-ui-sparkhistogram-X47TDKC2.js} +4 -4
  72. package/dist/{vue-ui-sparkline-BQ6Voxky.js → vue-ui-sparkline-C67Y3c7l.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BgFJQKhq.js → vue-ui-sparkstackbar-Bzmq9peq.js} +36 -34
  74. package/dist/{vue-ui-stackbar-CBB-kH1C.js → vue-ui-stackbar-C0cn-5Sz.js} +15 -13
  75. package/dist/{vue-ui-strip-plot-3gWivNhR.js → vue-ui-strip-plot-D3StIxYT.js} +59 -57
  76. package/dist/{vue-ui-table-NJNp95Us.js → vue-ui-table-B-wP544v.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-CRzHSurU.js → vue-ui-table-heatmap-_qJwOiYG.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DxGr1WNr.js → vue-ui-table-sparkline-C6MoeyKm.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B6NudPzq.js → vue-ui-thermometer-BmYZiNK4.js} +7 -7
  80. package/dist/{vue-ui-timer-DO3oJlhi.js → vue-ui-timer-XeLnI_ia.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-Dv39xDlL.js → vue-ui-tiremarks-CnCSAQiH.js} +6 -6
  82. package/dist/{vue-ui-treemap-D9jbccaW.js → vue-ui-treemap-Nd27H4H5.js} +41 -39
  83. package/dist/{vue-ui-vertical-bar-CxJNWczK.js → vue-ui-vertical-bar-Dd1XUvnp.js} +54 -52
  84. package/dist/{vue-ui-waffle-BMjk9LhH.js → vue-ui-waffle-Czg-z9KF.js} +56 -54
  85. package/dist/{vue-ui-wheel-CMACWJLJ.js → vue-ui-wheel-DfPu-QQM.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-BbwSabN0.js → vue-ui-word-cloud-CB9_bPjO.js} +107 -104
  87. package/dist/{vue-ui-world-DCp2i-uy.js → vue-ui-world-Bo_NzzhJ.js} +12 -10
  88. package/dist/{vue-ui-xy-CRQHfrGQ.js → vue-ui-xy-Dc-o6Q3R.js} +1234 -1231
  89. package/dist/{vue-ui-xy-canvas-D-iziyn0.js → vue-ui-xy-canvas-D1Do33ar.js} +46 -44
  90. package/package.json +4 -2
  91. package/dist/Slicer-Cmc94zkG.js +0 -604
  92. package/dist/Tooltip-RCWHeRDV.js +0 -161
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as z, computed as C, useSlots as w, onMounted as k, watch as y, ref as $, createElementBlock as s, openBlock as i, normalizeStyle as u, normalizeClass as r, createElementVNode as b, renderSlot as n, createTextVNode as h, toDisplayString as F, createVNode as B, unref as v, Fragment as L } from "vue";
2
- import { u as M } from "./useNestedProp-BKprMEaB.js";
3
- import { u as E, k as I, i as O } from "./index-INqbM37s.js";
2
+ import { u as M } from "./useNestedProp-Bg2FlIgI.js";
3
+ import { u as E, k as I, i as O } from "./index-C0wrF8hm.js";
4
4
  const R = {
5
5
  __name: "vue-ui-kpi",
6
6
  props: {
@@ -16,7 +16,7 @@ const R = {
16
16
  }
17
17
  },
18
18
  setup(o) {
19
- const N = z(() => import("./vue-ui-digits-BlZsS_qz.js")), { vue_ui_kpi: D } = E(), l = o, e = C({
19
+ const N = z(() => import("./vue-ui-digits-CQy-vOC2.js")), { vue_ui_kpi: D } = E(), l = o, e = C({
20
20
  get: () => c(),
21
21
  set: (a) => a
22
22
  }), S = w(), A = C(() => e.value.debug);
@@ -1,6 +1,6 @@
1
1
  import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
2
- import { u as m } from "./useNestedProp-BKprMEaB.js";
3
- import { u as y, X as L } from "./index-INqbM37s.js";
2
+ import { u as m } from "./useNestedProp-Bg2FlIgI.js";
3
+ import { u as y, X as L } from "./index-C0wrF8hm.js";
4
4
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
6
6
  __name: "vue-ui-mini-loader",
@@ -1,11 +1,11 @@
1
- import { useCssVars as pt, defineAsyncComponent as p, computed as b, onMounted as ht, ref as r, toRefs as ft, watch as E, nextTick as U, createElementBlock as C, openBlock as u, unref as a, normalizeStyle as M, normalizeClass as _e, createBlock as w, createCommentVNode as g, createVNode as I, createSlots as Oe, withCtx as c, renderSlot as v, normalizeProps as $, guardReactiveProps as T, createElementVNode as P, Fragment as mt, renderList as gt, resolveDynamicComponent as bt, mergeProps as Ct, createTextVNode as De, toDisplayString as Ie } from "vue";
2
- import { u as yt, o as At, f as kt, c as Pe, t as wt, a as $t, p as Fe, b as Tt, d as _t, Q as Ot, X as Dt, l as It, R as Pt, e as Ne, v as Ft, w as Nt, y as Lt, z as St } from "./index-INqbM37s.js";
1
+ import { useCssVars as ht, defineAsyncComponent as h, computed as b, onMounted as pt, ref as r, toRefs as ft, watch as E, nextTick as U, createElementBlock as C, openBlock as u, unref as a, normalizeStyle as M, normalizeClass as _e, createBlock as w, createCommentVNode as g, createVNode as I, createSlots as Oe, withCtx as c, renderSlot as v, normalizeProps as T, guardReactiveProps as $, createElementVNode as P, Fragment as mt, renderList as gt, resolveDynamicComponent as bt, mergeProps as Ct, createTextVNode as De, toDisplayString as Ie } from "vue";
2
+ import { u as yt, o as At, f as kt, c as Pe, t as wt, a as Tt, p as Fe, b as $t, d as _t, Q as Ot, X as Dt, l as It, R as Pt, e as Se, v as Ft, w as St, y as Nt, z as Lt } from "./index-C0wrF8hm.js";
3
3
  import { u as Bt, B as xt } from "./BaseScanner-BgWxam9d.js";
4
- import { u as Rt } from "./usePrinter-9WO5mDzj.js";
5
- import { u as Le } from "./useNestedProp-BKprMEaB.js";
4
+ import { u as Rt } from "./usePrinter-C2jvouU0.js";
5
+ import { u as Ne } from "./useNestedProp-Bg2FlIgI.js";
6
6
  import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
8
- import Mt from "./img-Bl0o2UAr.js";
8
+ import Mt from "./img-DLgjML7h.js";
9
9
  import { u as zt } from "./usePanZoom-BVca3eMk.js";
10
10
  import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const Vt = ["id"], Gt = {
@@ -44,12 +44,12 @@ const Vt = ["id"], Gt = {
44
44
  }
45
45
  },
46
46
  emits: ["selectNode"],
47
- setup(Se, { expose: Be, emit: xe }) {
48
- pt((t) => ({
49
- "924669b2": t.slicerColor
47
+ setup(Le, { expose: Be, emit: xe }) {
48
+ ht((t) => ({
49
+ "9a76e0a8": t.slicerColor
50
50
  }));
51
- const Re = p(() => import("./Title-nHtPyPd9.js")), Ee = p(() => import("./Tooltip-RCWHeRDV.js")), te = p(() => import("./BaseIcon-B5nQNkmd.js")), Ue = p(() => import("./vue-ui-accordion-CQZjxT5U.js")), Me = p(() => import("./DataTable-CzO3oHys.js")), ze = p(() => import("./PenAndPaper-C8hICPzL.js")), He = p(() => import("./UserOptions-D3pVnvAB.js")), Ve = p(() => import("./PackageVersion-7CxQB-mx.js")), Ge = p(() => import("./RecursiveLinks-00zGWPf9.js")), We = p(() => import("./RecursiveLabels-Bgcv0pzu.js")), Xe = p(() => import("./RecursiveCircles-BcLb1aRS.js")), je = p(() => import("./BaseDraggableDialog-BdAp3qr9.js")), { vue_ui_molecule: Ye } = yt(), A = Se, Ze = xe, oe = b(() => !!A.dataset && A.dataset.length);
52
- ht(() => {
51
+ const Re = h(() => import("./Title-DbQthJAs.js")), Ee = h(() => import("./Tooltip-DvtYLrX2.js")), te = h(() => import("./BaseIcon-D_BjQBAR.js")), Ue = h(() => import("./vue-ui-accordion-3JuSLBjV.js")), Me = h(() => import("./DataTable-IycMkaTU.js")), ze = h(() => import("./PenAndPaper-BdzDJYnr.js")), He = h(() => import("./UserOptions-Dd5XOrwq.js")), Ve = h(() => import("./PackageVersion-BtfT0hV9.js")), Ge = h(() => import("./RecursiveLinks-00zGWPf9.js")), We = h(() => import("./RecursiveLabels-Bgcv0pzu.js")), Xe = h(() => import("./RecursiveCircles-BcLb1aRS.js")), je = h(() => import("./BaseDraggableDialog-BVZPPMT9.js")), { vue_ui_molecule: Ye } = yt(), A = Le, Ze = xe, oe = b(() => !!A.dataset && A.dataset.length);
52
+ pt(() => {
53
53
  le();
54
54
  });
55
55
  const Qe = b(() => e.value.debug);
@@ -118,16 +118,16 @@ const Vt = ["id"], Gt = {
118
118
  })
119
119
  }), { userOptionsVisible: X, setUserOptionsVisibility: re, keepUserOptionState: ie } = Et({ config: e.value }), { svgRef: j } = Ut({ config: e.value.style.chart.title });
120
120
  function Y() {
121
- const t = Le({
121
+ const t = Ne({
122
122
  userConfig: A.config,
123
123
  defaultConfig: Ye
124
124
  });
125
125
  return t.theme ? {
126
- ...Le({
127
- userConfig: Tt.vue_ui_molecule[t.theme] || A.config,
126
+ ...Ne({
127
+ userConfig: $t.vue_ui_molecule[t.theme] || A.config,
128
128
  defaultConfig: t
129
129
  }),
130
- customPalette: $t[t.theme] || Fe
130
+ customPalette: Tt[t.theme] || Fe
131
131
  } : t;
132
132
  }
133
133
  E(() => A.config, (t) => {
@@ -137,9 +137,9 @@ const Vt = ["id"], Gt = {
137
137
  ue.value += 1;
138
138
  };
139
139
  E([() => G.value, () => W.value], async ([t]) => {
140
- t || (await U(), h.value = fe(), await U(), qe(), await U(), ut({ x: 0, y: 0, width: 400, height: 400 }), J(!1));
140
+ t || (await U(), p.value = fe(), await U(), qe(), await U(), ut({ x: 0, y: 0, width: 400, height: 400 }), J(!1));
141
141
  }, { flush: "post", deep: !1 });
142
- const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: pe } = Rt({
142
+ const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: he } = Rt({
143
143
  elementId: `cluster_${z.value}`,
144
144
  fileName: e.value.style.chart.title.text || "vue-ui-molecule",
145
145
  options: e.value.userOptions.print
@@ -155,11 +155,11 @@ const Vt = ["id"], Gt = {
155
155
  showTooltip: e.value.style.chart.tooltip.show
156
156
  };
157
157
  }, { immediate: !0 });
158
- function he(t, l = 0) {
159
- return Array.isArray(t) && t.length > 0 && t[0].nodes ? he(t[0].nodes, l + 1) : l;
158
+ function pe(t, l = 0) {
159
+ return Array.isArray(t) && t.length > 0 && t[0].nodes ? pe(t[0].nodes, l + 1) : l;
160
160
  }
161
161
  function fe() {
162
- const t = he(W.value);
162
+ const t = pe(W.value);
163
163
  let l = 100, o = l;
164
164
  for (let n = 0; n < t; n += 1)
165
165
  l /= 1, o += l;
@@ -168,8 +168,8 @@ const Vt = ["id"], Gt = {
168
168
  width: o
169
169
  };
170
170
  }
171
- const h = r(fe());
172
- function me(t, l = { x: -h.value.width / 2.43, y: h.value.height / 2 }, o = h.value.width / 1.1, n = 24, s = 0, i = 0, f = "#BBBBBB", K = 0) {
171
+ const p = r(fe());
172
+ function me(t, l = { x: -p.value.width / 2.43, y: p.value.height / 2 }, o = p.value.width / 1.1, n = 24, s = 0, i = 0, f = "#BBBBBB", K = 0) {
173
173
  if (!Array.isArray(t) || t.length === 0) return t;
174
174
  const dt = Pt({
175
175
  plot: l,
@@ -178,14 +178,14 @@ const Vt = ["id"], Gt = {
178
178
  rotation: s
179
179
  });
180
180
  return t.forEach((m, we) => {
181
- const $e = dt.coordinates[we], Te = m.color ? (() => {
182
- let ee = Ne(m.color);
181
+ const Te = dt.coordinates[we], $e = m.color ? (() => {
182
+ let ee = Se(m.color);
183
183
  return ee.startsWith("#") ? ee : `#${ee}`;
184
184
  })() : null;
185
185
  let D;
186
- Te ? D = Te : K === 0 ? D = f : K === 1 ? (D = Ke.value[i] || Fe[i] || f, i += 1) : D = f, m.polygonPath = { coordinates: [$e] }, m.circleRadius = n, m.color = D, m.uid = Pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = me(
186
+ $e ? D = $e : K === 0 ? D = f : K === 1 ? (D = Ke.value[i] || Fe[i] || f, i += 1) : D = f, m.polygonPath = { coordinates: [Te] }, m.circleRadius = n, m.color = D, m.uid = Pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = me(
187
187
  m.nodes,
188
- $e,
188
+ Te,
189
189
  o / 2.9,
190
190
  n / 2.2,
191
191
  s + Math.PI * we / m.nodes.length,
@@ -201,7 +201,7 @@ const Vt = ["id"], Gt = {
201
201
  s.forEach((i) => {
202
202
  if (!i.color) return;
203
203
  let f = i.color;
204
- /^#?[0-9A-F]{6}$/i.test(f) || (f = Ne(f)), f.startsWith("#") || (f = `#${f}`), l.add(f), Array.isArray(i.nodes) && i.nodes.length && o(i.nodes);
204
+ /^#?[0-9A-F]{6}$/i.test(f) || (f = Se(f)), f.startsWith("#") || (f = `#${f}`), l.add(f), Array.isArray(i.nodes) && i.nodes.length && o(i.nodes);
205
205
  });
206
206
  }
207
207
  o(t);
@@ -223,7 +223,7 @@ const Vt = ["id"], Gt = {
223
223
  config: e.value
224
224
  };
225
225
  const l = e.value.style.chart.tooltip.customFormat;
226
- if (Lt(l) && St(() => l({
226
+ if (Nt(l) && Lt(() => l({
227
227
  seriesIndex: -1,
228
228
  datapoint: t,
229
229
  series: y.value,
@@ -241,9 +241,9 @@ const Vt = ["id"], Gt = {
241
241
  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>`), B.value = `<div style="font-family:inherit">${o}</div>`;
242
242
  }
243
243
  }
244
- const x = r(null), N = r(null), ge = r(null);
244
+ const x = r(null), S = r(null), ge = r(null);
245
245
  function lt(t) {
246
- ge.value = x.value, x.value = t, t ? e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: -1 }) : e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: ge.value || x.value, seriesIndex: -1 }), t ? (H.value = !0, ot(t), N.value = t.uid) : (H.value = !1, B.value = "", N.value = null);
246
+ ge.value = x.value, x.value = t, t ? e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: -1 }) : e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: ge.value || x.value, seriesIndex: -1 }), t ? (H.value = !0, ot(t), S.value = t.uid) : (H.value = !1, B.value = "", S.value = null);
247
247
  }
248
248
  function at(t) {
249
249
  const l = [];
@@ -299,7 +299,7 @@ const Vt = ["id"], Gt = {
299
299
  function Q(t = null) {
300
300
  U(() => {
301
301
  const l = _.value.body.map((s, i) => [[s[0].name], [s[1]], [s[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[..._.value.head]]].concat(l), n = Ft(o);
302
- t ? t(n) : Nt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-molecule" });
302
+ t ? t(n) : St({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-molecule" });
303
303
  });
304
304
  }
305
305
  function nt() {
@@ -318,15 +318,15 @@ const Vt = ["id"], Gt = {
318
318
  function Ae() {
319
319
  d.value.showTooltip = !d.value.showTooltip;
320
320
  }
321
- const L = r(!1);
321
+ const N = r(!1);
322
322
  function q() {
323
- L.value = !L.value;
323
+ N.value = !N.value;
324
324
  }
325
- const rt = b(() => !L.value), { viewBox: R, resetZoom: J, isZoom: it, setInitialViewBox: ut } = zt(j, {
325
+ const rt = b(() => !N.value), { viewBox: R, resetZoom: J, isZoom: it, setInitialViewBox: ut } = zt(j, {
326
326
  x: 0,
327
327
  y: 0,
328
- width: Math.max(10, h.value.width),
329
- height: Math.max(10, h.value.height)
328
+ width: Math.max(10, p.value.width),
329
+ height: Math.max(10, p.value.height)
330
330
  }, e.value.style.chart.zoom.speed, rt);
331
331
  function ct(t) {
332
332
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: -1 }), Ze("selectNode", t);
@@ -343,7 +343,7 @@ const Vt = ["id"], Gt = {
343
343
  aspectRatio: n
344
344
  };
345
345
  }
346
- const S = b(() => {
346
+ const L = b(() => {
347
347
  const t = e.value.table.useDialog && !e.value.table.show, l = d.value.showTable;
348
348
  return {
349
349
  component: t ? je : Ue,
@@ -384,7 +384,7 @@ const Vt = ["id"], Gt = {
384
384
  getImage: vt,
385
385
  generatePdf: de,
386
386
  generateCsv: Q,
387
- generateImage: pe,
387
+ generateImage: he,
388
388
  toggleTable: Ce,
389
389
  toggleLabels: ye,
390
390
  toggleTooltip: Ae,
@@ -397,7 +397,7 @@ const Vt = ["id"], Gt = {
397
397
  style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
398
398
  id: `cluster_${z.value}`,
399
399
  onMouseleave: l[2] || (l[2] = (o) => {
400
- x.value = null, N.value = null, a(re)(!1);
400
+ x.value = null, S.value = null, a(re)(!1);
401
401
  }),
402
402
  onMouseenter: l[3] || (l[3] = () => a(re)(!0))
403
403
  }, [
@@ -406,7 +406,7 @@ const Vt = ["id"], Gt = {
406
406
  svgRef: a(j),
407
407
  backgroundColor: e.value.style.chart.backgroundColor,
408
408
  color: e.value.style.chart.color,
409
- active: L.value,
409
+ active: N.value,
410
410
  onClose: q
411
411
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
412
412
  Je.value ? (u(), C("div", Gt, null, 512)) : g("", !0),
@@ -446,14 +446,14 @@ const Vt = ["id"], Gt = {
446
446
  chartElement: k.value,
447
447
  position: e.value.userOptions.position,
448
448
  hasAnnotator: e.value.userOptions.buttons.annotator,
449
- isAnnotation: L.value,
449
+ isAnnotation: N.value,
450
450
  callbacks: e.value.userOptions.callbacks,
451
451
  printScale: e.value.userOptions.print.scale,
452
452
  tableDialog: e.value.table.useDialog,
453
453
  onToggleFullscreen: be,
454
454
  onGeneratePdf: a(de),
455
455
  onGenerateCsv: Q,
456
- onGenerateImage: a(pe),
456
+ onGenerateImage: a(he),
457
457
  onToggleTable: Ce,
458
458
  onToggleLabels: ye,
459
459
  onToggleTooltip: Ae,
@@ -465,7 +465,7 @@ const Vt = ["id"], Gt = {
465
465
  t.$slots.menuIcon ? {
466
466
  name: "menuIcon",
467
467
  fn: c(({ isOpen: o, color: n }) => [
468
- v(t.$slots, "menuIcon", $(T({ isOpen: o, color: n })), void 0, !0)
468
+ v(t.$slots, "menuIcon", T($({ isOpen: o, color: n })), void 0, !0)
469
469
  ]),
470
470
  key: "0"
471
471
  } : void 0,
@@ -514,14 +514,14 @@ const Vt = ["id"], Gt = {
514
514
  t.$slots.optionFullscreen ? {
515
515
  name: "optionFullscreen",
516
516
  fn: c(({ toggleFullscreen: o, isFullscreen: n }) => [
517
- v(t.$slots, "optionFullscreen", $(T({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
517
+ v(t.$slots, "optionFullscreen", T($({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
518
518
  ]),
519
519
  key: "7"
520
520
  } : void 0,
521
521
  t.$slots.optionAnnotator ? {
522
522
  name: "optionAnnotator",
523
523
  fn: c(({ toggleAnnotator: o, isAnnotator: n }) => [
524
- v(t.$slots, "optionAnnotator", $(T({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
524
+ v(t.$slots, "optionAnnotator", T($({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
525
525
  ]),
526
526
  key: "8"
527
527
  } : void 0
@@ -540,8 +540,8 @@ const Vt = ["id"], Gt = {
540
540
  key: 0,
541
541
  x: 0,
542
542
  y: 0,
543
- width: h.value.width <= 0 ? 10 : h.value.width,
544
- height: h.value.height <= 0 ? 10 : h.value.height,
543
+ width: p.value.width <= 0 ? 10 : p.value.width,
544
+ height: p.value.height <= 0 ? 10 : p.value.height,
545
545
  style: {
546
546
  pointerEvents: "none"
547
547
  }
@@ -574,14 +574,14 @@ const Vt = ["id"], Gt = {
574
574
  }, null, 8, ["dataset", "color", "backgroundColor"]),
575
575
  I(a(Xe), {
576
576
  dataset: y.value,
577
- hoveredUid: N.value,
577
+ hoveredUid: S.value,
578
578
  stroke: e.value.style.chart.nodes.stroke,
579
579
  strokeHovered: e.value.style.chart.nodes.strokeHovered,
580
580
  onClick: ct,
581
581
  onHover: lt
582
582
  }, {
583
583
  node: c(({ node: o }) => [
584
- v(t.$slots, "node", $(T({ node: o })), void 0, !0)
584
+ v(t.$slots, "node", T($({ node: o })), void 0, !0)
585
585
  ]),
586
586
  _: 3
587
587
  }, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
@@ -589,12 +589,12 @@ const Vt = ["id"], Gt = {
589
589
  key: 1,
590
590
  dataset: y.value,
591
591
  color: e.value.style.chart.color,
592
- hoveredUid: N.value
592
+ hoveredUid: S.value
593
593
  }, null, 8, ["dataset", "color", "hoveredUid"])) : g("", !0),
594
- v(t.$slots, "svg", { svg: h.value }, void 0, !0)
594
+ v(t.$slots, "svg", { svg: p.value }, void 0, !0)
595
595
  ], 14, Xt)),
596
596
  t.$slots.watermark ? (u(), C("div", qt, [
597
- v(t.$slots, "watermark", $(T({ isPrinting: a(ce) || a(ve) })), void 0, !0)
597
+ v(t.$slots, "watermark", T($({ isPrinting: a(ce) || a(ve) })), void 0, !0)
598
598
  ])) : g("", !0),
599
599
  a(it) ? (u(), C("div", Jt, [
600
600
  v(t.$slots, "reset-action", { reset: a(J) }, () => [
@@ -634,17 +634,19 @@ const Vt = ["id"], Gt = {
634
634
  isFullscreen: O.value,
635
635
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
636
636
  smooth: e.value.style.chart.tooltip.smooth,
637
- backdropFilter: e.value.style.chart.tooltip.backdropFilter
637
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter,
638
+ smoothForce: e.value.style.chart.tooltip.smoothForce,
639
+ smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
638
640
  }, {
639
641
  "tooltip-before": c(() => [
640
- v(t.$slots, "tooltip-before", $(T({ ...Z.value })), void 0, !0)
642
+ v(t.$slots, "tooltip-before", T($({ ...Z.value })), void 0, !0)
641
643
  ]),
642
644
  "tooltip-after": c(() => [
643
- v(t.$slots, "tooltip-after", $(T({ ...Z.value })), void 0, !0)
645
+ v(t.$slots, "tooltip-after", T($({ ...Z.value })), void 0, !0)
644
646
  ]),
645
647
  _: 3
646
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
647
- oe.value ? (u(), w(bt(S.value.component), Ct({ key: 7 }, S.value.props, {
648
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
649
+ oe.value && e.value.userOptions.buttons.table ? (u(), w(bt(L.value.component), Ct({ key: 7 }, L.value.props, {
648
650
  ref_key: "tableUnit",
649
651
  ref: F,
650
652
  onClose: ke
@@ -656,7 +658,7 @@ const Vt = ["id"], Gt = {
656
658
  head: _.value.head,
657
659
  body: _.value.body,
658
660
  config: _.value.config,
659
- title: e.value.table.useDialog ? "" : S.value.title,
661
+ title: e.value.table.useDialog ? "" : L.value.title,
660
662
  withCloseButton: !e.value.table.useDialog,
661
663
  onClose: ke
662
664
  }, {
@@ -677,7 +679,7 @@ const Vt = ["id"], Gt = {
677
679
  e.value.table.useDialog ? {
678
680
  name: "title",
679
681
  fn: c(() => [
680
- De(Ie(S.value.title), 1)
682
+ De(Ie(L.value.title), 1)
681
683
  ]),
682
684
  key: "0"
683
685
  } : void 0,
@@ -691,7 +693,7 @@ const Vt = ["id"], Gt = {
691
693
  }, [
692
694
  I(a(te), {
693
695
  name: "excel",
694
- stroke: S.value.props.color
696
+ stroke: L.value.props.color
695
697
  }, null, 8, ["stroke"])
696
698
  ])
697
699
  ]),
@@ -701,7 +703,7 @@ const Vt = ["id"], Gt = {
701
703
  a(G) ? (u(), w(xt, { key: 8 })) : g("", !0)
702
704
  ], 46, Vt));
703
705
  }
704
- }, po = /* @__PURE__ */ Ht(to, [["__scopeId", "data-v-148e098e"]]);
706
+ }, ho = /* @__PURE__ */ Ht(to, [["__scopeId", "data-v-8444816b"]]);
705
707
  export {
706
- po as default
708
+ ho as default
707
709
  };
@@ -1,14 +1,14 @@
1
1
  import { defineAsyncComponent as T, ref as u, computed as c, toRefs as Je, onMounted as Qe, watch as ke, createElementBlock as v, openBlock as r, unref as a, normalizeStyle as j, normalizeClass as be, createBlock as m, createCommentVNode as d, createElementVNode as s, createVNode as z, createSlots as Ce, withCtx as y, renderSlot as f, normalizeProps as W, guardReactiveProps as G, Fragment as we, renderList as xe, toDisplayString as L, Teleport as Ze, resolveDynamicComponent as et, mergeProps as tt, createTextVNode as $e, nextTick as _e } from "vue";
2
- import { u as ot, c as lt, t as at, o as st, f as Ae, b as nt, R as rt, X as ut, s as x, x as it, S as dt, k as Me, i as H, v as ct, w as vt } from "./index-INqbM37s.js";
2
+ import { u as ot, c as lt, t as at, o as st, f as Ae, b as nt, R as rt, X as ut, s as x, x as it, S as dt, k as Me, i as H, v as ct, w as vt } from "./index-C0wrF8hm.js";
3
3
  import { t as yt, u as ht } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as ft, B as pt } from "./BaseScanner-BgWxam9d.js";
5
- import { u as gt } from "./usePrinter-9WO5mDzj.js";
6
- import { u as Te } from "./useNestedProp-BKprMEaB.js";
5
+ import { u as gt } from "./usePrinter-C2jvouU0.js";
6
+ import { u as Te } from "./useNestedProp-Bg2FlIgI.js";
7
7
  import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as kt } from "./useChartAccessibility-9icAAmYg.js";
9
- import bt from "./img-Bl0o2UAr.js";
10
- import Ct from "./Title-nHtPyPd9.js";
11
- import wt from "./Legend-BQqnf4BN.js";
9
+ import bt from "./img-DLgjML7h.js";
10
+ import Ct from "./Title-DbQthJAs.js";
11
+ import wt from "./Legend-D7l8BJ7z.js";
12
12
  import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "height"], Tt = ["id"], Pt = ["stop-color"], Nt = ["stop-color"], Ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Lt = ["d", "stroke", "stroke-width"], It = ["transform"], Dt = ["stroke"], St = ["fill"], Ft = ["transform"], Bt = ["stroke"], Rt = ["fill"], Et = ["transform"], Vt = ["stroke"], Ut = ["fill"], jt = ["transform"], zt = ["stroke"], Wt = ["fill"], Gt = ["transform"], Ht = ["stroke"], Xt = ["fill"], Kt = ["d", "stroke", "stroke-width", "fill"], qt = ["x1", "y1", "x2", "y2", "stroke"], Yt = ["cx", "cy", "fill", "stroke"], Jt = ["cx", "cy", "fill", "stroke"], Qt = ["x", "y", "fill", "font-weight"], Zt = ["x", "y", "fill"], eo = {
14
14
  key: 4,
@@ -33,7 +33,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
33
33
  }
34
34
  },
35
35
  setup(Pe, { expose: Ne }) {
36
- const P = T(() => import("./BaseIcon-B5nQNkmd.js")), Oe = T(() => import("./vue-ui-accordion-CQZjxT5U.js")), Le = T(() => import("./DataTable-CzO3oHys.js")), Ie = T(() => import("./PenAndPaper-C8hICPzL.js")), De = T(() => import("./UserOptions-D3pVnvAB.js")), Se = T(() => import("./PackageVersion-7CxQB-mx.js")), Fe = T(() => import("./BaseDraggableDialog-BdAp3qr9.js")), { vue_ui_mood_radar: Be } = ot(), $ = Pe, k = u(lt()), C = u(null), p = u(null), te = u(null), Re = u(0), Ee = u(0), oe = u(0), le = u(null), ae = u(null), I = u(null), E = u(null), se = u(null), ne = u(!1), D = u(null), X = u(null), re = c(() => !!$.dataset && Object.keys($.dataset).length), e = u(Y()), { loading: K, FINAL_DATASET: _ } = ft({
36
+ const P = T(() => import("./BaseIcon-D_BjQBAR.js")), Oe = T(() => import("./vue-ui-accordion-3JuSLBjV.js")), Le = T(() => import("./DataTable-IycMkaTU.js")), Ie = T(() => import("./PenAndPaper-BdzDJYnr.js")), De = T(() => import("./UserOptions-Dd5XOrwq.js")), Se = T(() => import("./PackageVersion-BtfT0hV9.js")), Fe = T(() => import("./BaseDraggableDialog-BVZPPMT9.js")), { vue_ui_mood_radar: Be } = ot(), $ = Pe, k = u(lt()), C = u(null), p = u(null), te = u(null), Re = u(0), Ee = u(0), oe = u(0), le = u(null), ae = u(null), I = u(null), E = u(null), se = u(null), ne = u(!1), D = u(null), X = u(null), re = c(() => !!$.dataset && Object.keys($.dataset).length), e = u(Y()), { loading: K, FINAL_DATASET: _ } = ft({
37
37
  ...Je($),
38
38
  FINAL_CONFIG: e,
39
39
  prepareConfig: Y,
@@ -790,7 +790,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
790
790
  }, [
791
791
  f(o.$slots, "source", {}, void 0, !0)
792
792
  ], 512)) : d("", !0),
793
- re.value ? (r(), m(et(R.value.component), tt({ key: 7 }, R.value.props, {
793
+ re.value && e.value.userOptions.buttons.table ? (r(), m(et(R.value.component), tt({ key: 7 }, R.value.props, {
794
794
  ref_key: "tableUnit",
795
795
  ref: D,
796
796
  onClose: me
@@ -846,7 +846,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
846
846
  a(K) ? (r(), m(pt, { key: 8 })) : d("", !0)
847
847
  ], 46, $t));
848
848
  }
849
- }, bo = /* @__PURE__ */ xt(no, [["__scopeId", "data-v-ffacf64d"]]);
849
+ }, bo = /* @__PURE__ */ xt(no, [["__scopeId", "data-v-4cb2189a"]]);
850
850
  export {
851
851
  bo as default
852
852
  };