vue-data-ui 3.0.0-next.6 → 3.0.0-next.60

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 (125) hide show
  1. package/dist/{Arrow-Ul64M9UV.js → Arrow-Dt0ZxTK2.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Q2ajCztp.js → BaseDraggableDialog-Bl-2tw3H.js} +2 -2
  3. package/dist/{BaseIcon-BKR7AGeP.js → BaseIcon-C3ljqn8J.js} +1 -1
  4. package/dist/{ColorPicker-BagIs8-K.js → ColorPicker-0d0whOB3.js} +2 -2
  5. package/dist/{DataTable-CDwApkI_.js → DataTable-C_tJHvMd.js} +2 -2
  6. package/dist/{Legend-BSLj7tYc.js → Legend-VD0VB7l7.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DjJe5fXu.js → NonSvgPenAndPaper-DQsHc_AG.js} +3 -3
  8. package/dist/{PackageVersion-BsKpz6KS.js → PackageVersion-5S8ajCUS.js} +1 -1
  9. package/dist/{PenAndPaper-BYRk8xrS.js → PenAndPaper-D6wazxlT.js} +3 -3
  10. package/dist/{Shape-DK7zYTKa.js → Shape-DDSX29LV.js} +43 -37
  11. package/dist/Slicer-D3SbIarX.js +602 -0
  12. package/dist/{SparkTooltip-Dy2sVTb_.js → SparkTooltip-BCdP3VDl.js} +1 -1
  13. package/dist/{Title-Cednydse.js → Title-DEKAfzRX.js} +1 -1
  14. package/dist/{Tooltip-DJlwW-XP.js → Tooltip-DJlC-n25.js} +23 -19
  15. package/dist/{UserOptions-DxIzWere.js → UserOptions-D2G7II3G.js} +2 -2
  16. package/dist/{dom-to-png-lZcM-YfK.js → dom-to-png-Y0tASTWQ.js} +1 -1
  17. package/dist/{img-DqlIAUF6.js → img-ChLGv8nO.js} +1 -1
  18. package/dist/{index-BQcLOx39.js → index-BLtc1AIS.js} +1707 -1131
  19. package/dist/{pdf-CjIXhsyg.js → pdf-DNiq-xsc.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +481 -21
  22. package/dist/types/vue-data-ui.d.ts +481 -21
  23. package/dist/useAutoSizeLabelsInsideViewbox-BJDcwsoB.js +41 -0
  24. package/dist/useNestedProp-DExlTpuj.js +13 -0
  25. package/dist/usePanZoom-BVca3eMk.js +122 -0
  26. package/dist/{usePrinter-BRY5saEA.js → usePrinter-fqbzwh0l.js} +2 -2
  27. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  28. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
  29. package/dist/{vue-data-ui-CWRlSsiN.js → vue-data-ui-B8bRwUEL.js} +105 -100
  30. package/dist/vue-data-ui.js +23 -22
  31. package/dist/vue-ui-3d-bar-Dddx5kJW.js +1323 -0
  32. package/dist/{vue-ui-accordion-Df-5BRRg.js → vue-ui-accordion-EMAj3Ykx.js} +3 -3
  33. package/dist/vue-ui-age-pyramid-CMzKOGfv.js +834 -0
  34. package/dist/{vue-ui-annotator-BxC5dcIv.js → vue-ui-annotator-BQxXVdZW.js} +2 -2
  35. package/dist/vue-ui-bullet-DIie_6-T.js +571 -0
  36. package/dist/vue-ui-candlestick-DU796IGE.js +999 -0
  37. package/dist/{vue-ui-carousel-table-NTDzafWQ.js → vue-ui-carousel-table-xDItqzuw.js} +29 -29
  38. package/dist/{vue-ui-chestnut-k21Qqjjq.js → vue-ui-chestnut-DnQ494SU.js} +5 -5
  39. package/dist/{vue-ui-chord-BVoA6nfI.js → vue-ui-chord-DTs9gQ-R.js} +8 -8
  40. package/dist/{vue-ui-circle-pack-CEBgImRX.js → vue-ui-circle-pack-D73gxFJW.js} +24 -24
  41. package/dist/{vue-ui-cursor-BQcz8xw2.js → vue-ui-cursor-CNXTFeSs.js} +2 -2
  42. package/dist/{vue-ui-dashboard-CyzEpJoI.js → vue-ui-dashboard-Duph5Yta.js} +62 -62
  43. package/dist/{vue-ui-digits-Dafw1UsT.js → vue-ui-digits-D7qOSGZ-.js} +2 -2
  44. package/dist/{vue-ui-donut-DKfux8XT.js → vue-ui-donut-EfxITdHJ.js} +320 -308
  45. package/dist/vue-ui-donut-evolution-H6nfW_kx.js +1075 -0
  46. package/dist/vue-ui-dumbbell-DCUR8kl_.js +1119 -0
  47. package/dist/vue-ui-flow-DUENWmgc.js +841 -0
  48. package/dist/{vue-ui-funnel-CuN8HWwP.js → vue-ui-funnel-BSGUxWhW.js} +16 -16
  49. package/dist/{vue-ui-galaxy-BHCLFlmy.js → vue-ui-galaxy-D8PBQfbb.js} +60 -58
  50. package/dist/vue-ui-gauge-C8v8wKJO.js +791 -0
  51. package/dist/{vue-ui-gizmo-DHEEfdp9.js → vue-ui-gizmo-DmguslRh.js} +3 -3
  52. package/dist/vue-ui-heatmap-BM5Gfdzz.js +1078 -0
  53. package/dist/vue-ui-history-plot-CF6SlpwK.js +1073 -0
  54. package/dist/{vue-ui-kpi-C4i2w_Yd.js → vue-ui-kpi-BCyX-Zu-.js} +7 -7
  55. package/dist/{vue-ui-mini-loader-BeetGv_m.js → vue-ui-mini-loader-ByMff4PK.js} +2 -2
  56. package/dist/{vue-ui-molecule-F_gDXjJr.js → vue-ui-molecule-Cxnf2xDy.js} +53 -51
  57. package/dist/{vue-ui-mood-radar-BJMOEqlu.js → vue-ui-mood-radar-DEfJWXE7.js} +15 -15
  58. package/dist/vue-ui-nested-donuts-Bt7Pw9l0.js +1286 -0
  59. package/dist/vue-ui-onion-Bk3KL1Nk.js +776 -0
  60. package/dist/vue-ui-parallel-coordinate-plot-BpKRlOYy.js +915 -0
  61. package/dist/{vue-ui-quadrant-DTyRC1_v.js → vue-ui-quadrant-D1dgOAp2.js} +59 -57
  62. package/dist/vue-ui-quick-chart-_I6OrH-J.js +1761 -0
  63. package/dist/{vue-ui-radar-De2iznwo.js → vue-ui-radar-BWnhxayf.js} +30 -28
  64. package/dist/{vue-ui-rating-CarXXyD-.js → vue-ui-rating-I08lL1Nb.js} +2 -2
  65. package/dist/{vue-ui-relation-circle-CKkK9D4E.js → vue-ui-relation-circle-CMF5FSha.js} +6 -6
  66. package/dist/vue-ui-ridgeline-prYrXNYF.js +1153 -0
  67. package/dist/vue-ui-rings-DmbUIw9S.js +728 -0
  68. package/dist/vue-ui-scatter-srTVLcUK.js +1178 -0
  69. package/dist/{vue-ui-skeleton-C7maR60-.js → vue-ui-skeleton-FanSnKr8.js} +3 -3
  70. package/dist/{vue-ui-smiley-DzCCn5Oc.js → vue-ui-smiley-CWA0Y6wM.js} +26 -26
  71. package/dist/{vue-ui-spark-trend-Db-Fnp8C.js → vue-ui-spark-trend-EiEzMoPj.js} +3 -3
  72. package/dist/vue-ui-sparkbar-CCe0U_o0.js +351 -0
  73. package/dist/{vue-ui-sparkgauge-DAQ4zozy.js → vue-ui-sparkgauge-Cdcirik_.js} +3 -3
  74. package/dist/{vue-ui-sparkhistogram-CMEaO0CW.js → vue-ui-sparkhistogram-CEj9qz9m.js} +4 -4
  75. package/dist/vue-ui-sparkline-B2-YztKx.js +489 -0
  76. package/dist/vue-ui-sparkstackbar-BGMtc_HC.js +421 -0
  77. package/dist/vue-ui-stackbar-DrKaioRS.js +1370 -0
  78. package/dist/vue-ui-strip-plot-C4qWoDEh.js +915 -0
  79. package/dist/{vue-ui-table-Dck8Pyg9.js → vue-ui-table-CXqyTj_Z.js} +11 -11
  80. package/dist/{vue-ui-table-heatmap-DknIGf9_.js → vue-ui-table-heatmap-BZTn3qnM.js} +5 -5
  81. package/dist/{vue-ui-table-sparkline-G4HAzUt6.js → vue-ui-table-sparkline-CIBdN_KF.js} +14 -14
  82. package/dist/vue-ui-thermometer-DPIpWKUI.js +541 -0
  83. package/dist/{vue-ui-timer-Dmr-HCSc.js → vue-ui-timer-Cha-Gb1x.js} +5 -5
  84. package/dist/vue-ui-tiremarks-B4SjQyS7.js +406 -0
  85. package/dist/vue-ui-treemap-1twI_ag-.js +1035 -0
  86. package/dist/{vue-ui-vertical-bar--QFtoFje.js → vue-ui-vertical-bar-C31Jqkbw.js} +318 -302
  87. package/dist/vue-ui-waffle-DkZykFPK.js +910 -0
  88. package/dist/vue-ui-wheel-CYOrBHBD.js +379 -0
  89. package/dist/vue-ui-word-cloud-Clyg0CRZ.js +765 -0
  90. package/dist/{vue-ui-world-BcK_brDq.js → vue-ui-world-BYgMbS-e.js} +11 -9
  91. package/dist/vue-ui-xy-BMszd4wZ.js +3760 -0
  92. package/dist/{vue-ui-xy-canvas--88oKdGN.js → vue-ui-xy-canvas-DwXvZ311.js} +265 -264
  93. package/package.json +1 -1
  94. package/dist/Slicer-B_Hb6qSk.js +0 -577
  95. package/dist/useNestedProp-DefBVltl.js +0 -13
  96. package/dist/usePanZoom-BQMvRXEQ.js +0 -115
  97. package/dist/vue-ui-3d-bar-CJMZqDo1.js +0 -1227
  98. package/dist/vue-ui-age-pyramid-B6WAMtPk.js +0 -746
  99. package/dist/vue-ui-bullet-NmtltFbU.js +0 -513
  100. package/dist/vue-ui-candlestick-BzqQtynP.js +0 -873
  101. package/dist/vue-ui-donut-evolution-D7cNk_6l.js +0 -903
  102. package/dist/vue-ui-dumbbell--H80zebk.js +0 -753
  103. package/dist/vue-ui-flow-lk_HU5NB.js +0 -765
  104. package/dist/vue-ui-gauge-DWlCh2_B.js +0 -738
  105. package/dist/vue-ui-heatmap-BK6BNOY_.js +0 -877
  106. package/dist/vue-ui-history-plot-CGF6lE-7.js +0 -924
  107. package/dist/vue-ui-nested-donuts-BX0Z0rb1.js +0 -1177
  108. package/dist/vue-ui-onion-BhjUET_W.js +0 -701
  109. package/dist/vue-ui-parallel-coordinate-plot-n7QPVLrW.js +0 -807
  110. package/dist/vue-ui-quick-chart-5xX-yBIY.js +0 -1612
  111. package/dist/vue-ui-ridgeline-DQ8RQf3E.js +0 -969
  112. package/dist/vue-ui-rings-Cze6OsmO.js +0 -685
  113. package/dist/vue-ui-scatter-CwI3_Dn7.js +0 -1045
  114. package/dist/vue-ui-sparkbar-C6wsNMMO.js +0 -301
  115. package/dist/vue-ui-sparkline-R7pfxRWN.js +0 -459
  116. package/dist/vue-ui-sparkstackbar-DV_XqJQ2.js +0 -381
  117. package/dist/vue-ui-stackbar-gReSujA_.js +0 -1207
  118. package/dist/vue-ui-strip-plot-8fsm3nn2.js +0 -761
  119. package/dist/vue-ui-thermometer-BIkXa4hY.js +0 -495
  120. package/dist/vue-ui-tiremarks-YWbRk0dm.js +0 -358
  121. package/dist/vue-ui-treemap-D2OnG3Fh.js +0 -965
  122. package/dist/vue-ui-waffle-BdaCXuWc.js +0 -863
  123. package/dist/vue-ui-wheel-Bw3XSa8N.js +0 -352
  124. package/dist/vue-ui-word-cloud-BH8UZH_J.js +0 -659
  125. package/dist/vue-ui-xy-Be--zwe9.js +0 -2980
@@ -1,6 +1,6 @@
1
- import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as y, ref as k, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
2
- import { u as L } from "./useNestedProp-DefBVltl.js";
3
- import { u as M, i as E, f as I } from "./index-BQcLOx39.js";
1
+ import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as k, ref as y, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
2
+ import { u as L } from "./useNestedProp-DExlTpuj.js";
3
+ import { u as M, k as E, i as I } from "./index-BLtc1AIS.js";
4
4
  const G = {
5
5
  __name: "vue-ui-kpi",
6
6
  props: {
@@ -16,7 +16,7 @@ const G = {
16
16
  }
17
17
  },
18
18
  setup(o) {
19
- const F = A(() => import("./vue-ui-digits-Dafw1UsT.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
19
+ const F = A(() => import("./vue-ui-digits-D7qOSGZ-.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
20
20
  get: () => c(),
21
21
  set: (a) => a
22
22
  }), D = z();
@@ -29,10 +29,10 @@ const G = {
29
29
  defaultConfig: N
30
30
  });
31
31
  }
32
- y(() => l.config, (a) => {
32
+ k(() => l.config, (a) => {
33
33
  e.value = c(), d();
34
34
  }, { deep: !0 });
35
- const S = k((typeof l.dataset == "number", l.dataset)), t = k(e.value.useAnimation ? e.value.animationValueStart : S.value), m = (a) => {
35
+ const S = y((typeof l.dataset == "number", l.dataset)), t = y(e.value.useAnimation ? e.value.animationValueStart : S.value), m = (a) => {
36
36
  const f = e.value.animationFrames, p = Math.abs(a - t.value) / f;
37
37
  function g() {
38
38
  t.value < a ? t.value = Math.min(t.value + p, a) : t.value > a && (t.value = Math.max(t.value - p, a)), t.value !== a && requestAnimationFrame(g);
@@ -45,7 +45,7 @@ const G = {
45
45
  function d() {
46
46
  e.value.useAnimation ? (t.value = e.value.animationValueStart, m(l.dataset)) : t.value = l.dataset;
47
47
  }
48
- return y(() => l.dataset, (a) => {
48
+ return k(() => l.dataset, (a) => {
49
49
  e.value.useAnimation ? m(a) : t.value = a;
50
50
  }), (a, f) => (s(), i("div", {
51
51
  class: r(`vue-ui-kpi ${e.value.layoutClass}`),
@@ -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-DefBVltl.js";
3
- import { u as y, X as L } from "./index-BQcLOx39.js";
2
+ import { u as m } from "./useNestedProp-DExlTpuj.js";
3
+ import { u as y, X as L } from "./index-BLtc1AIS.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,21 +1,21 @@
1
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-BQcLOx39.js";
3
- import { u as ye } from "./useNestedProp-DefBVltl.js";
4
- import { u as Ct } from "./usePrinter-BRY5saEA.js";
2
+ import { u as rt, o as it, f as ut, c as fe, a as ct, p as ge, b as dt, d as vt, Q as ht, X as pt, l as ft, R as gt, e as me, v as mt, w as yt, y as bt, z as kt } from "./index-BLtc1AIS.js";
3
+ import { u as ye } from "./useNestedProp-DExlTpuj.js";
4
+ import { u as Ct } from "./usePrinter-fqbzwh0l.js";
5
5
  import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
7
- import { u as Tt } from "./usePanZoom-BQMvRXEQ.js";
8
- import Ot from "./img-DqlIAUF6.js";
7
+ import { u as Tt } from "./usePanZoom-BVca3eMk.js";
8
+ import Ot from "./img-ChLGv8nO.js";
9
9
  import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const At = ["id"], It = {
10
+ const At = ["id"], Ft = {
11
11
  key: 1,
12
12
  ref: "noTitle",
13
13
  class: "vue-data-ui-no-title-space",
14
14
  style: "height:36px; width: 100%;background:transparent"
15
- }, Nt = {
15
+ }, It = {
16
16
  key: 2,
17
17
  style: "width:100%;background:transparent;"
18
- }, Ft = ["xmlns", "viewBox"], St = ["width", "height"], _t = ["id"], Lt = ["stop-color"], Dt = ["stop-color"], Bt = {
18
+ }, Nt = ["xmlns", "viewBox"], St = ["width", "height"], _t = ["id"], Lt = ["stop-color"], Dt = ["stop-color"], Bt = {
19
19
  key: 5,
20
20
  class: "vue-data-ui-watermark"
21
21
  }, Rt = {
@@ -26,7 +26,7 @@ const At = ["id"], It = {
26
26
  key: 8,
27
27
  ref: "source",
28
28
  dir: "auto"
29
- }, Et = ["innerHTML"], xt = {
29
+ }, Et = ["innerHTML"], zt = {
30
30
  __name: "vue-ui-molecule",
31
31
  props: {
32
32
  config: {
@@ -45,9 +45,9 @@ const At = ["id"], It = {
45
45
  emits: ["selectNode"],
46
46
  setup(be, { expose: ke, emit: Ce }) {
47
47
  Je((t) => ({
48
- "7a354ece": t.slicerColor
48
+ "69f7b946": t.slicerColor
49
49
  }));
50
- const $e = p(() => import("./vue-ui-accordion-Df-5BRRg.js")), we = p(() => import("./BaseIcon-BKR7AGeP.js")), Te = p(() => import("./DataTable-CDwApkI_.js")), Oe = p(() => import("./PackageVersion-BsKpz6KS.js")), Pe = p(() => import("./PenAndPaper-BYRk8xrS.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-C7maR60-.js")), Se = p(() => import("./Title-Cednydse.js")), _e = p(() => import("./Tooltip-DJlwW-XP.js")), Le = p(() => import("./UserOptions-DxIzWere.js")), { vue_ui_molecule: De } = rt(), C = be, Be = Ce, L = k(() => !!C.dataset && C.dataset.length);
50
+ const $e = p(() => import("./vue-ui-accordion-EMAj3Ykx.js")), we = p(() => import("./BaseIcon-C3ljqn8J.js")), Te = p(() => import("./DataTable-C_tJHvMd.js")), Oe = p(() => import("./PackageVersion-5S8ajCUS.js")), Pe = p(() => import("./PenAndPaper-D6wazxlT.js")), Ae = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Fe = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-FanSnKr8.js")), Se = p(() => import("./Title-DEKAfzRX.js")), _e = p(() => import("./Tooltip-DJlC-n25.js")), Le = p(() => import("./UserOptions-D2G7II3G.js")), { vue_ui_molecule: De } = rt(), C = be, Be = Ce, L = k(() => !!C.dataset && C.dataset.length);
51
51
  Ke(() => {
52
52
  W();
53
53
  });
@@ -58,10 +58,10 @@ const At = ["id"], It = {
58
58
  });
59
59
  }
60
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({
61
- get: () => Q(),
61
+ get: () => q(),
62
62
  set: (t) => t
63
- }), { userOptionsVisible: x, setUserOptionsVisibility: Z, keepUserOptionState: q } = $t({ config: e.value }), { svgRef: z } = wt({ config: e.value.style.chart.title });
64
- function Q() {
63
+ }), { userOptionsVisible: z, setUserOptionsVisibility: Z, keepUserOptionState: Q } = $t({ config: e.value }), { svgRef: x } = wt({ config: e.value.style.chart.title });
64
+ function q() {
65
65
  const t = ye({
66
66
  userConfig: C.config,
67
67
  defaultConfig: De
@@ -75,7 +75,7 @@ const At = ["id"], It = {
75
75
  } : t;
76
76
  }
77
77
  et(() => C.config, (t) => {
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
+ e.value = q(), z.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;
79
79
  }, { deep: !0 });
80
80
  const { isPrinting: J, isImaging: K, generatePdf: ee, generateImage: te } = Ct({
81
81
  elementId: `cluster_${U.value}`,
@@ -89,7 +89,7 @@ const At = ["id"], It = {
89
89
  function oe(t, l = 0) {
90
90
  return Array.isArray(t) && t.length > 0 && t[0].nodes ? oe(t[0].nodes, l + 1) : l;
91
91
  }
92
- function xe() {
92
+ function ze() {
93
93
  const t = oe(C.dataset);
94
94
  let l = 100, o = l;
95
95
  for (let n = 0; n < t; n += 1)
@@ -99,18 +99,18 @@ const At = ["id"], It = {
99
99
  width: o
100
100
  };
101
101
  }
102
- const v = c(xe());
102
+ const v = c(ze());
103
103
  c(`0 0 ${v.value.width} ${v.value.height}`);
104
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) {
105
105
  if (!Array.isArray(t) || t.length === 0) return t;
106
- const Qe = gt({
106
+ const qe = gt({
107
107
  plot: l,
108
108
  radius: o,
109
109
  sides: t.length,
110
110
  rotation: a
111
111
  });
112
112
  return t.forEach((m, de) => {
113
- const ve = Qe.coordinates[de], he = m.color ? (() => {
113
+ const ve = qe.coordinates[de], he = m.color ? (() => {
114
114
  let M = me(m.color);
115
115
  return M.startsWith("#") ? M : `#${M}`;
116
116
  })() : null;
@@ -127,7 +127,7 @@ const At = ["id"], It = {
127
127
  ));
128
128
  }), t;
129
129
  }
130
- function ze(t) {
130
+ function xe(t) {
131
131
  const l = /* @__PURE__ */ new Set();
132
132
  function o(a) {
133
133
  a.forEach((r) => {
@@ -143,7 +143,7 @@ const At = ["id"], It = {
143
143
  n[a] = `gradient_${r}`;
144
144
  }), n;
145
145
  }
146
- const He = k(() => ze(b.value)), b = k(() => {
146
+ const He = k(() => xe(b.value)), b = k(() => {
147
147
  const t = ht(C.dataset);
148
148
  return le(t);
149
149
  }), H = c(null);
@@ -173,9 +173,9 @@ const At = ["id"], It = {
173
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>`;
174
174
  }
175
175
  }
176
- const se = c(null), I = c(null);
176
+ const se = c(null), F = c(null);
177
177
  function Ge(t) {
178
- se.value = t, t ? (E.value = !0, Ve(t), I.value = t.uid) : (E.value = !1, D.value = "", I.value = null);
178
+ se.value = t, t ? (E.value = !0, Ve(t), F.value = t.uid) : (E.value = !1, D.value = "", F.value = null);
179
179
  }
180
180
  function Me(t) {
181
181
  const l = [];
@@ -237,9 +237,9 @@ const At = ["id"], It = {
237
237
  function Xe() {
238
238
  return b.value;
239
239
  }
240
- const N = c(!1);
240
+ const I = c(!1);
241
241
  function ne(t) {
242
- N.value = t, X.value += 1;
242
+ I.value = t, X.value += 1;
243
243
  }
244
244
  function re() {
245
245
  h.value.showTable = !h.value.showTable;
@@ -250,11 +250,11 @@ const At = ["id"], It = {
250
250
  function ue() {
251
251
  h.value.showTooltip = !h.value.showTooltip;
252
252
  }
253
- const F = c(!1);
253
+ const N = c(!1);
254
254
  function V() {
255
- F.value = !F.value;
255
+ N.value = !N.value;
256
256
  }
257
- const je = k(() => !F.value), { viewBox: B, resetZoom: ce, isZoom: Ye } = Tt(z, {
257
+ const je = k(() => !N.value), { viewBox: B, resetZoom: ce, isZoom: Ye } = Tt(x, {
258
258
  x: 0,
259
259
  y: 0,
260
260
  width: v.value.width <= 0 ? 10 : v.value.width,
@@ -263,7 +263,7 @@ const At = ["id"], It = {
263
263
  function Ze(t) {
264
264
  Be("selectNode", t);
265
265
  }
266
- async function qe({ scale: t = 2 } = {}) {
266
+ async function Qe({ scale: t = 2 } = {}) {
267
267
  if (!O.value) return;
268
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
269
  return {
@@ -277,7 +277,7 @@ const At = ["id"], It = {
277
277
  }
278
278
  return ke({
279
279
  getData: Xe,
280
- getImage: qe,
280
+ getImage: Qe,
281
281
  generatePdf: ee,
282
282
  generateCsv: ae,
283
283
  generateImage: te,
@@ -289,24 +289,24 @@ const At = ["id"], It = {
289
289
  }), (t, l) => (i(), y("div", {
290
290
  ref_key: "moleculeChart",
291
291
  ref: O,
292
- class: pe(`vue-ui-molecule ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
292
+ class: pe(`vue-ui-molecule ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
293
293
  style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
294
294
  id: `cluster_${U.value}`,
295
295
  onMouseleave: l[2] || (l[2] = (o) => {
296
- se.value = null, I.value = null, s(Z)(!1);
296
+ se.value = null, F.value = null, s(Z)(!1);
297
297
  }),
298
298
  onMouseenter: l[3] || (l[3] = () => s(Z)(!0))
299
299
  }, [
300
300
  e.value.userOptions.buttons.annotator ? (i(), $(s(Pe), {
301
301
  key: 0,
302
- svgRef: s(z),
302
+ svgRef: s(x),
303
303
  backgroundColor: e.value.style.chart.backgroundColor,
304
304
  color: e.value.style.chart.color,
305
- active: F.value,
305
+ active: N.value,
306
306
  onClose: V
307
307
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
308
- Ue.value ? (i(), y("div", It, null, 512)) : f("", !0),
309
- e.value.style.chart.title.text ? (i(), y("div", Nt, [
308
+ Ue.value ? (i(), y("div", Ft, null, 512)) : f("", !0),
309
+ e.value.style.chart.title.text ? (i(), y("div", It, [
310
310
  (i(), $(s(Se), {
311
311
  key: `title_${j.value}`,
312
312
  config: {
@@ -321,7 +321,7 @@ const At = ["id"], It = {
321
321
  }
322
322
  }, null, 8, ["config"]))
323
323
  ])) : f("", !0),
324
- e.value.userOptions.show && L.value && (s(q) || s(x)) ? (i(), $(s(Le), {
324
+ e.value.userOptions.show && L.value && (s(Q) || s(z)) ? (i(), $(s(Le), {
325
325
  ref_key: "details",
326
326
  ref: Re,
327
327
  key: `user_options_${X.value}`,
@@ -342,7 +342,7 @@ const At = ["id"], It = {
342
342
  chartElement: O.value,
343
343
  position: e.value.userOptions.position,
344
344
  hasAnnotator: e.value.userOptions.buttons.annotator,
345
- isAnnotation: F.value,
345
+ isAnnotation: N.value,
346
346
  callbacks: e.value.userOptions.callbacks,
347
347
  printScale: e.value.userOptions.print.scale,
348
348
  onToggleFullscreen: ne,
@@ -354,7 +354,7 @@ const At = ["id"], It = {
354
354
  onToggleTooltip: ue,
355
355
  onToggleAnnotator: V,
356
356
  style: R({
357
- visibility: s(q) ? s(x) ? "visible" : "hidden" : "visible"
357
+ visibility: s(Q) ? s(z) ? "visible" : "hidden" : "visible"
358
358
  })
359
359
  }, tt({ _: 2 }, [
360
360
  t.$slots.menuIcon ? {
@@ -424,10 +424,10 @@ const At = ["id"], It = {
424
424
  L.value ? (i(), y("svg", {
425
425
  key: 4,
426
426
  ref_key: "svgRef",
427
- ref: z,
427
+ ref: x,
428
428
  xmlns: s(pt),
429
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 }),
430
+ class: pe({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
431
431
  style: R(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
432
432
  }, [
433
433
  S(s(Oe)),
@@ -462,14 +462,14 @@ const At = ["id"], It = {
462
462
  }, null, 8, Dt)
463
463
  ], 8, _t))), 256))
464
464
  ]),
465
- S(s(Ne), {
465
+ S(s(Ie), {
466
466
  dataset: b.value,
467
467
  color: e.value.style.chart.links.stroke,
468
468
  backgroundColor: e.value.style.chart.backgroundColor
469
469
  }, null, 8, ["dataset", "color", "backgroundColor"]),
470
470
  S(s(Ae), {
471
471
  dataset: b.value,
472
- hoveredUid: I.value,
472
+ hoveredUid: F.value,
473
473
  stroke: e.value.style.chart.nodes.stroke,
474
474
  strokeHovered: e.value.style.chart.nodes.strokeHovered,
475
475
  onClick: Ze,
@@ -480,14 +480,14 @@ const At = ["id"], It = {
480
480
  ]),
481
481
  _: 3
482
482
  }, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
483
- h.value.showDataLabels ? (i(), $(s(Ie), {
483
+ h.value.showDataLabels ? (i(), $(s(Fe), {
484
484
  key: 1,
485
485
  dataset: b.value,
486
486
  color: e.value.style.chart.color,
487
- hoveredUid: I.value
487
+ hoveredUid: F.value
488
488
  }, null, 8, ["dataset", "color", "hoveredUid"])) : f("", !0),
489
489
  u(t.$slots, "svg", { svg: v.value }, void 0, !0)
490
- ], 14, Ft)) : f("", !0),
490
+ ], 14, Nt)) : f("", !0),
491
491
  t.$slots.watermark ? (i(), y("div", Bt, [
492
492
  u(t.$slots, "watermark", w(T({ isPrinting: s(J) || s(K) })), void 0, !0)
493
493
  ])) : f("", !0),
@@ -510,7 +510,7 @@ const At = ["id"], It = {
510
510
  ], 4)
511
511
  ], !0)
512
512
  ])) : f("", !0),
513
- L.value ? f("", !0) : (i(), $(s(Fe), {
513
+ L.value ? f("", !0) : (i(), $(s(Ne), {
514
514
  key: 7,
515
515
  config: {
516
516
  type: "molecule",
@@ -538,8 +538,10 @@ const At = ["id"], It = {
538
538
  offsetY: e.value.style.chart.tooltip.offsetY,
539
539
  parent: O.value,
540
540
  content: D.value,
541
- isFullscreen: N.value,
542
- isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
541
+ isFullscreen: I.value,
542
+ isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
543
+ smooth: e.value.style.chart.tooltip.smooth,
544
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter
543
545
  }, {
544
546
  "tooltip-before": d(() => [
545
547
  u(t.$slots, "tooltip-before", w(T({ ...H.value })), void 0, !0)
@@ -548,7 +550,7 @@ const At = ["id"], It = {
548
550
  u(t.$slots, "tooltip-after", w(T({ ...H.value })), void 0, !0)
549
551
  ]),
550
552
  _: 3
551
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
553
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
552
554
  L.value ? (i(), $(s($e), {
553
555
  key: 9,
554
556
  hideDetails: "",
@@ -591,7 +593,7 @@ const At = ["id"], It = {
591
593
  }, 8, ["config"])) : f("", !0)
592
594
  ], 46, At));
593
595
  }
594
- }, Zt = /* @__PURE__ */ Pt(xt, [["__scopeId", "data-v-7d6bc092"]]);
596
+ }, Zt = /* @__PURE__ */ Pt(zt, [["__scopeId", "data-v-2630765e"]]);
595
597
  export {
596
598
  Zt as default
597
599
  };
@@ -1,13 +1,13 @@
1
1
  import { defineAsyncComponent as _, computed as c, onMounted as Oe, ref as h, watch as Te, createElementBlock as f, openBlock as r, unref as a, normalizeStyle as F, normalizeClass as oe, createBlock as g, createCommentVNode as i, renderSlot as v, createVNode as E, createSlots as Ie, withCtx as p, normalizeProps as S, guardReactiveProps as V, createElementVNode as s, Fragment as le, renderList as ae, toDisplayString as T, createTextVNode as se, nextTick as Le } from "vue";
2
- import { u as Fe, o as Se, e as re, c as Ve, a as Re, R as je, X as Be, s as w, w as Ue, S as Ee, i as ne, f as R, q as We, r as ze } from "./index-BQcLOx39.js";
3
- import { u as ue } from "./useNestedProp-DefBVltl.js";
4
- import { u as De } from "./usePrinter-BRY5saEA.js";
2
+ import { u as Fe, o as Se, f as re, c as Ve, b as Re, R as je, X as Be, s as w, x as Ue, S as Ee, k as ne, i as R, v as We, w as ze } from "./index-BLtc1AIS.js";
3
+ import { u as ue } from "./useNestedProp-DExlTpuj.js";
4
+ import { u as De } from "./usePrinter-fqbzwh0l.js";
5
5
  import { u as Ge } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as He } from "./useChartAccessibility-9icAAmYg.js";
7
- import Xe from "./Legend-BSLj7tYc.js";
8
- import Ke from "./Title-Cednydse.js";
9
- import qe from "./img-DqlIAUF6.js";
10
- import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ import Xe from "./Legend-VD0VB7l7.js";
8
+ import Ke from "./Title-DEKAfzRX.js";
9
+ import Ye from "./img-ChLGv8nO.js";
10
+ import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const Je = ["id"], Qe = {
12
12
  key: 2,
13
13
  style: "width:100%;background:transparent"
@@ -35,7 +35,7 @@ const Je = ["id"], Qe = {
35
35
  }
36
36
  },
37
37
  setup(ie, { expose: de }) {
38
- const ce = _(() => import("./vue-ui-accordion-Df-5BRRg.js")), $ = _(() => import("./BaseIcon-BKR7AGeP.js")), ve = _(() => import("./DataTable-CDwApkI_.js")), ye = _(() => import("./PackageVersion-BsKpz6KS.js")), he = _(() => import("./PenAndPaper-BYRk8xrS.js")), fe = _(() => import("./vue-ui-skeleton-C7maR60-.js")), pe = _(() => import("./UserOptions-DxIzWere.js")), { vue_ui_mood_radar: me } = Fe(), d = ie, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
38
+ const ce = _(() => import("./vue-ui-accordion-EMAj3Ykx.js")), $ = _(() => import("./BaseIcon-C3ljqn8J.js")), ve = _(() => import("./DataTable-C_tJHvMd.js")), ye = _(() => import("./PackageVersion-5S8ajCUS.js")), he = _(() => import("./PenAndPaper-D6wazxlT.js")), fe = _(() => import("./vue-ui-skeleton-FanSnKr8.js")), pe = _(() => import("./UserOptions-D2G7II3G.js")), { vue_ui_mood_radar: me } = Fe(), d = ie, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
39
39
  Oe(() => {
40
40
  W();
41
41
  });
@@ -64,7 +64,7 @@ const Je = ["id"], Qe = {
64
64
  Te(() => d.config, (o) => {
65
65
  e.value = X(), j.value = !e.value.userOptions.showOnChartHover, W(), be.value += 1, Ce.value += 1, z.value += 1, A.value.showTable = e.value.table.show;
66
66
  }, { deep: !0 });
67
- const { isPrinting: K, isImaging: q, generatePdf: Y, generateImage: J } = De({
67
+ const { isPrinting: K, isImaging: Y, generatePdf: q, generateImage: J } = De({
68
68
  elementId: P.value,
69
69
  fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
70
70
  options: e.value.userOptions.print
@@ -195,7 +195,7 @@ const Je = ["id"], Qe = {
195
195
  }
196
196
  async function Ne({ scale: o = 2 } = {}) {
197
197
  if (!N.value) return;
198
- const { width: l, height: t } = N.value.getBoundingClientRect(), u = l / t, { imageUri: b, base64: y } = await qe({ domElement: N.value, base64: !0, img: !0, scale: o });
198
+ const { width: l, height: t } = N.value.getBoundingClientRect(), u = l / t, { imageUri: b, base64: y } = await Ye({ domElement: N.value, base64: !0, img: !0, scale: o });
199
199
  return {
200
200
  imageUri: b,
201
201
  base64: y,
@@ -208,7 +208,7 @@ const Je = ["id"], Qe = {
208
208
  return de({
209
209
  getData: Pe,
210
210
  getImage: Ne,
211
- generatePdf: Y,
211
+ generatePdf: q,
212
212
  generateCsv: Z,
213
213
  generateImage: J,
214
214
  toggleTable: ee,
@@ -259,7 +259,7 @@ const Je = ["id"], Qe = {
259
259
  backgroundColor: e.value.style.chart.backgroundColor,
260
260
  color: e.value.style.chart.color,
261
261
  isPrinting: a(K),
262
- isImaging: a(q),
262
+ isImaging: a(Y),
263
263
  uid: P.value,
264
264
  hasPdf: e.value.userOptions.buttons.pdf,
265
265
  hasXls: e.value.userOptions.buttons.csv,
@@ -275,7 +275,7 @@ const Je = ["id"], Qe = {
275
275
  callbacks: e.value.userOptions.callbacks,
276
276
  printScale: e.value.userOptions.print.scale,
277
277
  onToggleFullscreen: te,
278
- onGeneratePdf: a(Y),
278
+ onGeneratePdf: a(q),
279
279
  onGenerateCsv: Z,
280
280
  onGenerateImage: a(J),
281
281
  onToggleTable: ee,
@@ -539,7 +539,7 @@ const Je = ["id"], Qe = {
539
539
  v(o.$slots, "svg", { svg: m.value }, void 0, !0)
540
540
  ], 14, Ze)) : i("", !0),
541
541
  o.$slots.watermark ? (r(), f("div", wt, [
542
- v(o.$slots, "watermark", S(V({ isPrinting: a(K) || a(q) })), void 0, !0)
542
+ v(o.$slots, "watermark", S(V({ isPrinting: a(K) || a(Y) })), void 0, !0)
543
543
  ])) : i("", !0),
544
544
  M.value ? i("", !0) : (r(), g(a(fe), {
545
545
  key: 6,
@@ -664,7 +664,7 @@ const Je = ["id"], Qe = {
664
664
  }, 8, ["config"])) : i("", !0)
665
665
  ], 46, Je));
666
666
  }
667
- }, jt = /* @__PURE__ */ Ye(Pt, [["__scopeId", "data-v-b1ec6585"]]);
667
+ }, jt = /* @__PURE__ */ qe(Pt, [["__scopeId", "data-v-b1ec6585"]]);
668
668
  export {
669
669
  jt as default
670
670
  };