vue-data-ui 3.25.7 → 3.25.9

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 (163) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-hill.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-label.js +1 -1
  33. package/dist/components/vue-ui-mini-loader.js +1 -1
  34. package/dist/components/vue-ui-molecule.js +1 -1
  35. package/dist/components/vue-ui-mood-radar.js +1 -1
  36. package/dist/components/vue-ui-nested-donuts.js +1 -1
  37. package/dist/components/vue-ui-onion.js +1 -1
  38. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  39. package/dist/components/vue-ui-quadrant.js +1 -1
  40. package/dist/components/vue-ui-quick-chart.js +1 -1
  41. package/dist/components/vue-ui-radar.js +1 -1
  42. package/dist/components/vue-ui-rating.js +1 -1
  43. package/dist/components/vue-ui-relation-circle.js +1 -1
  44. package/dist/components/vue-ui-ridgeline.js +1 -1
  45. package/dist/components/vue-ui-rings.js +1 -1
  46. package/dist/components/vue-ui-scatter.js +1 -1
  47. package/dist/components/vue-ui-skeleton.js +1 -1
  48. package/dist/components/vue-ui-smiley.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
  73. package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
  74. package/dist/ssr/vue-ui-donut.js +1 -1
  75. package/dist/ssr/vue-ui-xy.js +1 -1
  76. package/dist/ssr.js +2 -2
  77. package/dist/style.css +1 -1
  78. package/dist/types/vue-data-ui.d.ts +2 -0
  79. package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
  80. package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
  81. package/dist/utils.js +1 -1
  82. package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
  83. package/dist/vue-data-ui.js +70 -70
  84. package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
  85. package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
  86. package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
  87. package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
  88. package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
  89. package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
  90. package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
  91. package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
  92. package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
  93. package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
  94. package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
  95. package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
  96. package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
  97. package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
  98. package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
  99. package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
  100. package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
  101. package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
  102. package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
  103. package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
  104. package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
  105. package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
  106. package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
  107. package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
  108. package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
  109. package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
  110. package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
  111. package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
  112. package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
  113. package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
  114. package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
  115. package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
  116. package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
  117. package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
  118. package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
  119. package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
  120. package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
  121. package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
  122. package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
  123. package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
  124. package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
  125. package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
  126. package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
  127. package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
  128. package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
  129. package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
  130. package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
  131. package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
  135. package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
  136. package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
  137. package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
  138. package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
  139. package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
  140. package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
  141. package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
  143. package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
  144. package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
  145. package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
  146. package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
  147. package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
  148. package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
  149. package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
  150. package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
  151. package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
  152. package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
  153. package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
  154. package/package.json +1 -1
  155. package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
  156. package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
  157. package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
  158. package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
  159. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
  160. package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
  161. package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
  162. package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
  163. package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Lt as i, M as a, Pt as o, S as ee, Yt as s, Z as c, Zt as l, jt as te, lt as u, nt as d, q as ne, t as re, w as ie } from "./lib-Dql7cqyA.js";
3
- import { n as ae, t as oe } from "./useHints-Dq_w2E8B.js";
4
- import { t as se } from "./useConfig-CIQZ6_r7.js";
5
- import { t as ce } from "./usePrinter-DISD7q5m.js";
6
- import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as de } from "./useNestedProp-Chvyfpl-.js";
2
+ import { $ as t, Ct as n, D as r, Lt as i, M as a, Pt as ee, S as te, Yt as o, Z as s, Zt as c, jt as ne, lt as l, nt as u, q as re, t as ie, w as ae } from "./lib-Dql7cqyA.js";
3
+ import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ce } from "./useConfig-D32D002m.js";
5
+ import { t as le } from "./usePrinter-DISD7q5m.js";
6
+ import { n as ue, t as de } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as d } from "./useNestedProp-Chvyfpl-.js";
8
8
  import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as pe } from "./useChartExport-iwOqiIWX.js";
10
10
  import { t as me } from "./img-DhGApYG0.js";
@@ -16,7 +16,7 @@ import { t as ye } from "./vue_ui_molecule-CO9L59SF.js";
16
16
  import { t as be } from "./usePanZoom-CYU3B4T3.js";
17
17
  import { Fragment as xe, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Se, createTextVNode as Ce, createVNode as _, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as we, nextTick as b, normalizeClass as Te, normalizeProps as x, normalizeStyle as S, onMounted as Ee, openBlock as C, ref as w, renderList as De, renderSlot as T, resolveDynamicComponent as Oe, toDisplayString as E, toRefs as ke, unref as D, useCssVars as Ae, watch as O, withCtx as k } from "vue";
18
18
  //#region src/components/vue-ui-molecule.vue
19
- var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
19
+ var je = /* @__PURE__ */ e({ default: () => Be }), Me = ["id"], Ne = {
20
20
  key: 1,
21
21
  ref: "noTitle",
22
22
  class: "vue-data-ui-no-title-space",
@@ -35,7 +35,7 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
35
35
  key: 6,
36
36
  ref: "source",
37
37
  dir: "auto"
38
- }, A = /*#__PURE__*/ he({
38
+ }, Be = /*#__PURE__*/ he({
39
39
  __name: "vue-ui-molecule",
40
40
  props: {
41
41
  config: {
@@ -53,26 +53,26 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
53
53
  },
54
54
  emits: ["selectNode", "copyAlt"],
55
55
  setup(e, { expose: he, emit: je }) {
56
- Ae((e) => ({ v6d392c4e: tn.value }));
57
- let A = v(() => import("./Title-CPHi-evi.js").then((e) => e.t)), Be = v(() => import("./Tooltip-hhrkQ3Lk.js")), Ve = v(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), He = v(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), Ue = v(() => import("./DataTable-oiM9uWrQ.js")), We = v(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ge = v(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ke = v(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), qe = v(() => import("./RecursiveLinks-BygcpDiT.js")), Je = v(() => import("./RecursiveLabels-D9rfID6q.js")), Ye = v(() => import("./RecursiveCircles-D6aDPmoe.js")), Xe = v(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_molecule: Ze } = se(), { isThemeValid: Qe, warnInvalidTheme: $e } = fe(), j = e, et = je, tt = f(() => !!j.dataset && j.dataset.length);
56
+ Ae((e) => ({ v98264478: rn.value }));
57
+ let Be = v(() => import("./Title-CPHi-evi.js").then((e) => e.t)), Ve = v(() => import("./Tooltip-hhrkQ3Lk.js")), He = v(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Ue = v(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), We = v(() => import("./DataTable-oiM9uWrQ.js")), Ge = v(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ke = v(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), qe = v(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), Je = v(() => import("./RecursiveLinks-BygcpDiT.js")), Ye = v(() => import("./RecursiveLabels-D9rfID6q.js")), Xe = v(() => import("./RecursiveCircles-D6aDPmoe.js")), Ze = v(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_molecule: Qe } = ce(), { isThemeValid: $e, warnInvalidTheme: et } = fe(), A = e, tt = je, nt = f(() => !!A.dataset && A.dataset.length);
58
58
  Ee(() => {
59
- rt();
59
+ it();
60
60
  });
61
- let nt = f(() => L.value.debug);
62
- function rt() {
63
- o(j.dataset) && d({
61
+ let rt = f(() => F.value.debug);
62
+ function it() {
63
+ ee(A.dataset) && u({
64
64
  componentName: "VueUiMolecule",
65
65
  type: "dataset",
66
- debug: nt.value
66
+ debug: rt.value
67
67
  });
68
68
  }
69
- let M = w(ne()), N = w(!1), P = w(""), F = w(null), it = w(0), at = w(0), ot = w(0), I = w(null), st = w(null), L = w(mt()), R = f(() => L.value.style.chart.tooltip), z = f(() => L.value.style.chart), B = f(() => L.value.userOptions);
70
- ae({
71
- config: () => L.value,
72
- dataset: () => j.dataset,
69
+ let at = w(re()), ot = w(!1), j = w(""), M = w(null), st = w(0), ct = w(0), lt = w(0), N = w(null), P = w(null), F = w(ht()), I = f(() => F.value.style.chart.tooltip), L = f(() => F.value.style.chart), R = f(() => F.value.userOptions);
70
+ oe({
71
+ config: () => F.value,
72
+ dataset: () => A.dataset,
73
73
  component: "VueUiMolecule",
74
74
  rules: [
75
- oe.emptyArray,
75
+ se.emptyArray,
76
76
  {
77
77
  test: (e) => e[0] && e[0].nodes && e[0].nodes.length === 0,
78
78
  message: [
@@ -91,7 +91,7 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
91
91
  }
92
92
  ]
93
93
  });
94
- let V = f(() => L.value.userOptions.useCursorPointer), ct = f(() => l({
94
+ let z = f(() => F.value.userOptions.useCursorPointer), ut = f(() => c({
95
95
  defaultConfig: {
96
96
  userOptions: { show: !1 },
97
97
  table: { show: !1 },
@@ -101,12 +101,12 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
101
101
  links: { stroke: "#6A6A6A80" }
102
102
  } }
103
103
  },
104
- userConfig: L.value.skeletonConfig ?? {}
105
- })), { loading: lt, FINAL_DATASET: ut } = le({
106
- ...ke(j),
107
- FINAL_CONFIG: L,
108
- prepareConfig: mt,
109
- skeletonDataset: j.config?.skeletonDataset ?? [{
104
+ userConfig: F.value.skeletonConfig ?? {}
105
+ })), { loading: B, FINAL_DATASET: dt } = ue({
106
+ ...ke(A),
107
+ FINAL_CONFIG: F,
108
+ prepareConfig: ht,
109
+ skeletonDataset: A.config?.skeletonDataset ?? [{
110
110
  name: "_",
111
111
  color: "#CACACA",
112
112
  nodes: [
@@ -220,103 +220,115 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
220
220
  }
221
221
  ]
222
222
  }],
223
- skeletonConfig: l({
224
- defaultConfig: L.value,
225
- userConfig: ct.value
223
+ skeletonConfig: c({
224
+ defaultConfig: F.value,
225
+ userConfig: ut.value
226
226
  })
227
- }), { userOptionsVisible: dt, setUserOptionsVisibility: ft, keepUserOptionState: pt } = _e({ config: L.value }), { svgRef: H } = ve({ config: z.value.title });
228
- function mt() {
229
- let e = de({
230
- userConfig: j.config,
231
- defaultConfig: Ze
227
+ }), { userOptionsVisible: ft, setUserOptionsVisibility: pt, keepUserOptionState: mt } = _e({ config: F.value }), { svgRef: V } = ve({ config: L.value.title });
228
+ function ht() {
229
+ let e = d({
230
+ userConfig: A.config,
231
+ defaultConfig: Qe
232
232
  }), t = e.theme;
233
233
  if (!t) return e;
234
- if (!Qe.value(e)) return $e(e), e;
235
- let n = de({
236
- userConfig: ye[t] || j.config,
234
+ if (!$e.value(e)) return et(e), e;
235
+ let n = d({
236
+ userConfig: ye[t] || A.config,
237
237
  defaultConfig: e
238
- }), r = de({
239
- userConfig: j.config,
238
+ }), r = d({
239
+ userConfig: A.config,
240
240
  defaultConfig: n
241
241
  });
242
242
  return {
243
243
  ...r,
244
- customPalette: r.customPalette.length ? r.customPalette : s[t] || i
244
+ customPalette: r.customPalette.length ? r.customPalette : o[t] || i
245
245
  };
246
246
  }
247
- O(() => j.config, (e) => {
248
- L.value = mt(), dt.value = !L.value.userOptions.showOnChartHover, rt(), at.value += 1, ot.value += 1, U.value.showTable = L.value.table.show, U.value.showTooltip = R.value.show, U.value.showZoom = z.value.zoom.show;
247
+ function gt(e) {
248
+ let t = s(e);
249
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
250
+ }
251
+ let _t = gt(A.config);
252
+ O((e, t) => A.config, (e) => {
253
+ let t = gt(newConfig), n = t !== _t;
254
+ _t = t;
255
+ let r = ht();
256
+ if (!n) {
257
+ F.value.style.chart.tooltip = r.style.chart.tooltip, H.value.showTooltip = F.value.style.chart.tooltip.show;
258
+ return;
259
+ }
260
+ F.value = r, ft.value = !F.value.userOptions.showOnChartHover, it(), ct.value += 1, lt.value += 1, H.value.showTable = F.value.table.show, H.value.showTooltip = I.value.show, H.value.showZoom = L.value.zoom.show;
249
261
  }, { deep: !0 });
250
- let ht = w(0), gt = () => {
251
- ht.value += 1;
262
+ let vt = w(0), yt = () => {
263
+ vt.value += 1;
252
264
  };
253
- O([() => lt.value, () => ut.value], async ([e]) => {
254
- e || (await b(), W.value = wt(), await b(), gt(), await b(), Wt({
265
+ O([() => B.value, () => dt.value], async ([e]) => {
266
+ e || (await b(), U.value = Dt(), await b(), yt(), await b(), Kt({
255
267
  x: 0,
256
268
  y: 0,
257
269
  width: 400,
258
270
  height: 400
259
- }), Ht(!1));
271
+ }), Wt(!1));
260
272
  }, {
261
273
  flush: "post",
262
274
  deep: !1
263
275
  });
264
- let { isPrinting: _t, isImaging: vt, generatePdf: yt, generateImage: bt } = ce({
265
- elementId: `cluster_${M.value}`,
266
- fileName: z.value.title.text || "vue-ui-molecule",
267
- options: L.value.userOptions.print
268
- }), xt = f(() => L.value.userOptions.show && !z.value.title.text), St = f(() => ie(L.value.customPalette)), U = w({
269
- showTable: L.value.table.show,
276
+ let { isPrinting: bt, isImaging: xt, generatePdf: St, generateImage: Ct } = le({
277
+ elementId: `cluster_${at.value}`,
278
+ fileName: L.value.title.text || "vue-ui-molecule",
279
+ options: F.value.userOptions.print
280
+ }), wt = f(() => F.value.userOptions.show && !L.value.title.text), Tt = f(() => ae(F.value.customPalette)), H = w({
281
+ showTable: F.value.table.show,
270
282
  showDataLabels: !0,
271
- showTooltip: R.value.show,
272
- showZoom: z.value.zoom.show
283
+ showTooltip: I.value.show,
284
+ showZoom: L.value.zoom.show
273
285
  });
274
- O(L, () => {
275
- U.value = {
276
- showTable: L.value.table.show,
286
+ O(F, () => {
287
+ H.value = {
288
+ showTable: F.value.table.show,
277
289
  showDataLabels: !0,
278
- showTooltip: R.value.show,
279
- showZoom: z.value.zoom.show
290
+ showTooltip: I.value.show,
291
+ showZoom: L.value.zoom.show
280
292
  };
281
293
  }, { immediate: !0 });
282
- function Ct(e, t = 0) {
283
- return Array.isArray(e) && e.length > 0 && e[0].nodes ? Ct(e[0].nodes, t + 1) : t;
294
+ function Et(e, t = 0) {
295
+ return Array.isArray(e) && e.length > 0 && e[0].nodes ? Et(e[0].nodes, t + 1) : t;
284
296
  }
285
- function wt() {
286
- let e = Ct(ut.value), t = 100, n = t;
297
+ function Dt() {
298
+ let e = Et(dt.value), t = 100, n = t;
287
299
  for (let r = 0; r < e; r += 1) t /= 1, n += t;
288
300
  return {
289
301
  height: n,
290
302
  width: n
291
303
  };
292
304
  }
293
- let W = w(wt());
294
- function Tt(e, t = {
295
- x: -W.value.width / 2.43,
296
- y: W.value.height / 2
297
- }, n = W.value.width / 1.1, r = 24, o = 0, s = 0, c = "#BBBBBB", l = 0) {
305
+ let U = w(Dt());
306
+ function Ot(e, t = {
307
+ x: -U.value.width / 2.43,
308
+ y: U.value.height / 2
309
+ }, n = U.value.width / 1.1, r = 24, ee = 0, o = 0, s = "#BBBBBB", c = 0) {
298
310
  if (!Array.isArray(e) || e.length === 0) return e;
299
- let te = a({
311
+ let ne = a({
300
312
  plot: t,
301
313
  radius: n,
302
314
  sides: e.length,
303
- rotation: o
315
+ rotation: ee
304
316
  });
305
317
  return e.forEach((e, t) => {
306
- let a = te.coordinates[t], u = e.color ? (() => {
307
- let t = ee(e.color);
318
+ let a = ne.coordinates[t], l = e.color ? (() => {
319
+ let t = te(e.color);
308
320
  return t.startsWith("#") ? t : `#${t}`;
309
- })() : null, d;
310
- u ? d = u : l === 0 ? d = c : l === 1 ? (d = St.value[s] || i[s] || c, s += 1) : d = c, e.polygonPath = { coordinates: [a] }, e.circleRadius = r, e.color = d, e.strokeWidth = Math.min(z.value.links.strokeWidth / (l + 1), r / 2), e.uid = ne(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Tt(e.nodes, a, n / 2.9, r / 2.2, o + Math.PI * t / e.nodes.length, s, d, l + 1));
321
+ })() : null, u;
322
+ l ? u = l : c === 0 ? u = s : c === 1 ? (u = Tt.value[o] || i[o] || s, o += 1) : u = s, e.polygonPath = { coordinates: [a] }, e.circleRadius = r, e.color = u, e.strokeWidth = Math.min(L.value.links.strokeWidth / (c + 1), r / 2), e.uid = re(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Ot(e.nodes, a, n / 2.9, r / 2.2, ee + Math.PI * t / e.nodes.length, o, u, c + 1));
311
323
  }), e;
312
324
  }
313
- function Et(e) {
325
+ function kt(e) {
314
326
  let t = /* @__PURE__ */ new Set();
315
327
  function n(e) {
316
328
  e.forEach((e) => {
317
329
  if (!e.color) return;
318
330
  let r = e.color;
319
- /^#?[0-9A-F]{6}$/i.test(r) || (r = ee(r)), r.startsWith("#") || (r = `#${r}`), t.add(r), Array.isArray(e.nodes) && e.nodes.length && n(e.nodes);
331
+ /^#?[0-9A-F]{6}$/i.test(r) || (r = te(r)), r.startsWith("#") || (r = `#${r}`), t.add(r), Array.isArray(e.nodes) && e.nodes.length && n(e.nodes);
320
332
  });
321
333
  }
322
334
  n(e);
@@ -326,42 +338,42 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
326
338
  r[e] = `gradient_${t}`;
327
339
  }), r;
328
340
  }
329
- let Dt = f(() => Et(G.value)), G = f(() => Tt(c(ut.value))), K = w(null);
330
- function Ot(e) {
331
- K.value = {
341
+ let At = f(() => kt(W.value)), W = f(() => Ot(s(dt.value))), G = w(null);
342
+ function jt(e) {
343
+ G.value = {
332
344
  datapoint: e,
333
345
  seriesIndex: -1,
334
- series: G.value,
335
- config: L.value
346
+ series: W.value,
347
+ config: F.value
336
348
  };
337
- let t = R.value.customFormat;
338
- if (n(t) && u(() => t({
349
+ let t = I.value.customFormat;
350
+ if (n(t) && l(() => t({
339
351
  seriesIndex: -1,
340
352
  datapoint: e,
341
- series: G.value,
342
- config: L.value
343
- }))) P.value = t({
353
+ series: W.value,
354
+ config: F.value
355
+ }))) j.value = t({
344
356
  seriesIndex: -1,
345
357
  datapoint: e,
346
- series: G.value,
347
- config: L.value
358
+ series: W.value,
359
+ config: F.value
348
360
  });
349
361
  else {
350
362
  let t = "";
351
- t += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (t += `<div style="width:100%;border-top:1px solid ${R.value.borderColor};margin-top: 2px">${e.details}</div>`), P.value = `<div style="font-family:inherit">${t}</div>`;
363
+ t += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (t += `<div style="width:100%;border-top:1px solid ${I.value.borderColor};margin-top: 2px">${e.details}</div>`), j.value = `<div style="font-family:inherit">${t}</div>`;
352
364
  }
353
365
  }
354
- let q = w(null), J = w(null), kt = w(null);
355
- function At(e) {
356
- kt.value = q.value, q.value = e, e ? L.value.events.datapointEnter && L.value.events.datapointEnter({
366
+ let K = w(null), q = w(null), Mt = w(null);
367
+ function Nt(e) {
368
+ Mt.value = K.value, K.value = e, e ? F.value.events.datapointEnter && F.value.events.datapointEnter({
357
369
  datapoint: e,
358
370
  seriesIndex: -1
359
- }) : L.value.events.datapointLeave && L.value.events.datapointLeave({
360
- datapoint: kt.value || q.value,
371
+ }) : F.value.events.datapointLeave && F.value.events.datapointLeave({
372
+ datapoint: Mt.value || K.value,
361
373
  seriesIndex: -1
362
- }), e ? (N.value = !0, Ot(e), J.value = e.uid) : (N.value = !1, P.value = "", J.value = null);
374
+ }), e ? (ot.value = !0, jt(e), q.value = e.uid) : (ot.value = !1, j.value = "", q.value = null);
363
375
  }
364
- function jt(e) {
376
+ function Pt(e) {
365
377
  let t = [];
366
378
  function n(e) {
367
379
  e.forEach((e) => {
@@ -376,13 +388,13 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
376
388
  }
377
389
  return n(e), t;
378
390
  }
379
- let Mt = f(() => jt(G.value)), Y = f(() => ({
391
+ let Ft = f(() => Pt(W.value)), J = f(() => ({
380
392
  head: [
381
- L.value.table.translations.nodeName,
382
- L.value.table.translations.details,
383
- L.value.table.translations.ancestor
393
+ F.value.table.translations.nodeName,
394
+ F.value.table.translations.details,
395
+ F.value.table.translations.ancestor
384
396
  ],
385
- body: Mt.value.map((e, t) => [
397
+ body: Ft.value.map((e, t) => [
386
398
  {
387
399
  color: e.color,
388
400
  name: e.name
@@ -392,79 +404,79 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
392
404
  ]),
393
405
  config: {
394
406
  th: {
395
- backgroundColor: L.value.table.th.backgroundColor,
396
- color: L.value.table.th.color,
397
- outline: L.value.table.th.outline
407
+ backgroundColor: F.value.table.th.backgroundColor,
408
+ color: F.value.table.th.color,
409
+ outline: F.value.table.th.outline
398
410
  },
399
411
  td: {
400
- backgroundColor: L.value.table.td.backgroundColor,
401
- color: L.value.table.td.color,
402
- outline: L.value.table.td.outline
412
+ backgroundColor: F.value.table.td.backgroundColor,
413
+ color: F.value.table.td.color,
414
+ outline: F.value.table.td.outline
403
415
  },
404
- breakpoint: L.value.table.responsiveBreakpoint
416
+ breakpoint: F.value.table.responsiveBreakpoint
405
417
  },
406
418
  colNames: [
407
- L.value.table.translations.nodeName,
408
- L.value.table.translations.details,
409
- L.value.table.translations.ancestor
419
+ F.value.table.translations.nodeName,
420
+ F.value.table.translations.details,
421
+ F.value.table.translations.ancestor
410
422
  ]
411
423
  }));
412
- function Nt(e = null) {
424
+ function It(e = null) {
413
425
  b(() => {
414
- let n = Y.value.body.map((e, t) => [
426
+ let n = J.value.body.map((e, t) => [
415
427
  [e[0].name],
416
428
  [e[1]],
417
429
  [e[2]]
418
430
  ]), i = [
419
- [z.value.title.text],
420
- [z.value.title.subtitle.text],
421
- [[...Y.value.head]]
431
+ [L.value.title.text],
432
+ [L.value.title.subtitle.text],
433
+ [[...J.value.head]]
422
434
  ].concat(n), a = r(i);
423
435
  e ? e(a) : t({
424
436
  csvContent: a,
425
- title: z.value.title.text || "vue-ui-molecule"
437
+ title: L.value.title.text || "vue-ui-molecule"
426
438
  });
427
439
  });
428
440
  }
429
- function Pt() {
430
- return G.value;
431
- }
432
- let X = w(!1);
433
- function Ft(e) {
434
- X.value = e, it.value += 1;
435
- }
436
- function It() {
437
- U.value.showTable = !U.value.showTable;
438
- }
439
441
  function Lt() {
440
- U.value.showDataLabels = !U.value.showDataLabels;
442
+ return W.value;
441
443
  }
442
- function Rt() {
443
- U.value.showTooltip = !U.value.showTooltip;
444
+ let Y = w(!1);
445
+ function Rt(e) {
446
+ Y.value = e, st.value += 1;
444
447
  }
445
448
  function zt() {
446
- U.value.showZoom = !U.value.showZoom;
449
+ H.value.showTable = !H.value.showTable;
447
450
  }
448
- let Z = w(!1);
449
451
  function Bt() {
450
- Z.value = !Z.value;
452
+ H.value.showDataLabels = !H.value.showDataLabels;
453
+ }
454
+ function Vt() {
455
+ H.value.showTooltip = !H.value.showTooltip;
451
456
  }
452
- let Vt = f(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: Ht, isZoom: Ut, setInitialViewBox: Wt } = be(H, {
457
+ function Ht() {
458
+ H.value.showZoom = !H.value.showZoom;
459
+ }
460
+ let X = w(!1);
461
+ function Z() {
462
+ X.value = !X.value;
463
+ }
464
+ let Ut = f(() => !X.value && H.value.showZoom), { viewBox: Q, resetZoom: Wt, isZoom: Gt, setInitialViewBox: Kt } = be(V, {
453
465
  x: 0,
454
466
  y: 0,
455
- width: Math.max(10, W.value.width),
456
- height: Math.max(10, W.value.height)
457
- }, z.value.zoom.speed, Vt);
458
- function Gt(e) {
459
- L.value.events.datapointClick && L.value.events.datapointClick({
467
+ width: Math.max(10, U.value.width),
468
+ height: Math.max(10, U.value.height)
469
+ }, L.value.zoom.speed, Ut);
470
+ function qt(e) {
471
+ F.value.events.datapointClick && F.value.events.datapointClick({
460
472
  datapoint: e,
461
473
  seriesIndex: -1
462
- }), et("selectNode", e);
474
+ }), tt("selectNode", e);
463
475
  }
464
- async function Kt({ scale: e = 2 } = {}) {
465
- if (!F.value) return;
466
- let { width: t, height: n } = F.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
467
- domElement: F.value,
476
+ async function Jt({ scale: e = 2 } = {}) {
477
+ if (!M.value) return;
478
+ let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
479
+ domElement: M.value,
468
480
  base64: !0,
469
481
  img: !0,
470
482
  scale: e
@@ -472,105 +484,105 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
472
484
  return {
473
485
  imageUri: i,
474
486
  base64: a,
475
- title: z.value.title.text,
487
+ title: L.value.title.text,
476
488
  width: t,
477
489
  height: n,
478
490
  aspectRatio: r
479
491
  };
480
492
  }
481
493
  let $ = f(() => {
482
- let e = L.value.table.useDialog && !L.value.table.show, t = U.value.showTable;
494
+ let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
483
495
  return {
484
- component: e ? Xe : He,
485
- title: `${z.value.title.text}${z.value.title.subtitle.text ? `: ${z.value.title.subtitle.text}` : ""}`,
496
+ component: e ? Ze : Ue,
497
+ title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
486
498
  props: e ? {
487
- backgroundColor: L.value.table.th.backgroundColor,
488
- color: L.value.table.th.color,
489
- headerColor: L.value.table.th.color,
490
- headerBg: L.value.table.th.backgroundColor,
491
- isFullscreen: X.value,
492
- fullscreenParent: F.value,
499
+ backgroundColor: F.value.table.th.backgroundColor,
500
+ color: F.value.table.th.color,
501
+ headerColor: F.value.table.th.color,
502
+ headerBg: F.value.table.th.backgroundColor,
503
+ isFullscreen: Y.value,
504
+ fullscreenParent: M.value,
493
505
  forcedWidth: Math.min(800, window.innerWidth * .8),
494
- isCursorPointer: V.value
506
+ isCursorPointer: z.value
495
507
  } : {
496
508
  hideDetails: !0,
497
509
  config: {
498
510
  open: t,
499
511
  maxHeight: 1e4,
500
512
  body: {
501
- backgroundColor: z.value.backgroundColor,
502
- color: z.value.color
513
+ backgroundColor: L.value.backgroundColor,
514
+ color: L.value.color
503
515
  },
504
516
  head: {
505
- backgroundColor: z.value.backgroundColor,
506
- color: z.value.color
517
+ backgroundColor: L.value.backgroundColor,
518
+ color: L.value.color
507
519
  }
508
520
  }
509
521
  }
510
522
  };
511
523
  });
512
- O(() => U.value.showTable, (e) => {
513
- L.value.table.show || (e && L.value.table.useDialog && I.value ? I.value.open() : "close" in I.value && I.value.close());
524
+ O(() => H.value.showTable, (e) => {
525
+ F.value.table.show || (e && F.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
514
526
  });
515
- function qt() {
516
- U.value.showTable = !1, st.value && st.value.setTableIconState(!1);
527
+ function Yt() {
528
+ H.value.showTable = !1, P.value && P.value.setTableIconState(!1);
517
529
  }
518
- let Jt = f(() => z.value.backgroundColor), Yt = f(() => z.value.title), { isCallbackImaging: Xt, isCallbackSvg: Zt, generateSvg: Qt, onGenerateImage: $t } = pe({
519
- svg: H,
520
- title: Yt,
530
+ let Xt = f(() => L.value.backgroundColor), Zt = f(() => L.value.title), { isCallbackImaging: Qt, isCallbackSvg: $t, generateSvg: en, onGenerateImage: tn } = pe({
531
+ svg: V,
532
+ title: Zt,
521
533
  legend: null,
522
534
  legendItems: null,
523
- backgroundColor: Jt,
524
- getSvgCallback: () => L.value.userOptions.callbacks.svg,
525
- generateImage: bt
535
+ backgroundColor: Xt,
536
+ getSvgCallback: () => F.value.userOptions.callbacks.svg,
537
+ generateImage: Ct
526
538
  });
527
- async function en() {
528
- if (et("copyAlt", {
529
- config: L.value,
530
- dataset: G.value
531
- }), !L.value.userOptions.callbacks.altCopy) {
539
+ async function nn() {
540
+ if (tt("copyAlt", {
541
+ config: F.value,
542
+ dataset: W.value
543
+ }), !F.value.userOptions.callbacks.altCopy) {
532
544
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
533
545
  return;
534
546
  }
535
- await Promise.resolve(L.value.userOptions.callbacks.altCopy({
536
- config: L.value,
537
- dataset: G.value
547
+ await Promise.resolve(F.value.userOptions.callbacks.altCopy({
548
+ config: F.value,
549
+ dataset: W.value
538
550
  }));
539
551
  }
540
- let tn = f(() => z.value.color);
552
+ let rn = f(() => L.value.color);
541
553
  return he({
542
- getData: Pt,
543
- getImage: Kt,
544
- generatePdf: yt,
545
- generateCsv: Nt,
546
- generateImage: bt,
547
- generateSvg: Qt,
548
- toggleTable: It,
549
- toggleLabels: Lt,
550
- toggleTooltip: Rt,
551
- toggleAnnotator: Bt,
552
- toggleFullscreen: Ft,
553
- toggleZoom: zt,
554
- copyAlt: en
554
+ getData: Lt,
555
+ getImage: Jt,
556
+ generatePdf: St,
557
+ generateCsv: It,
558
+ generateImage: Ct,
559
+ generateSvg: en,
560
+ toggleTable: zt,
561
+ toggleLabels: Bt,
562
+ toggleTooltip: Vt,
563
+ toggleAnnotator: Z,
564
+ toggleFullscreen: Rt,
565
+ toggleZoom: Ht,
566
+ copyAlt: nn
555
567
  }), (e, t) => (C(), h("div", {
556
568
  ref_key: "moleculeChart",
557
- ref: F,
558
- class: Te(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
559
- style: S(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${z.value.backgroundColor}`),
560
- id: `cluster_${M.value}`,
569
+ ref: M,
570
+ class: Te(`vue-data-ui-component vue-ui-molecule ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
571
+ style: S(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${L.value.backgroundColor}`),
572
+ id: `cluster_${at.value}`,
561
573
  onMouseleave: t[2] ||= (e) => {
562
- q.value = null, J.value = null, D(ft)(!1);
574
+ K.value = null, q.value = null, D(pt)(!1);
563
575
  },
564
- onMouseenter: t[3] ||= () => D(ft)(!0)
576
+ onMouseenter: t[3] ||= () => D(pt)(!0)
565
577
  }, [
566
- B.value.buttons.annotator && D(H) ? (C(), p(D(We), {
578
+ R.value.buttons.annotator && D(V) ? (C(), p(D(Ge), {
567
579
  key: 0,
568
- svgRef: D(H),
569
- backgroundColor: z.value.backgroundColor,
570
- color: z.value.color,
571
- active: Z.value,
572
- isCursorPointer: V.value,
573
- onClose: Bt
580
+ svgRef: D(V),
581
+ backgroundColor: L.value.backgroundColor,
582
+ color: L.value.color,
583
+ active: X.value,
584
+ isCursorPointer: z.value,
585
+ onClose: Z
574
586
  }, {
575
587
  "annotator-action-close": k(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
576
588
  "annotator-action-color": k(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
@@ -586,62 +598,62 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
586
598
  "active",
587
599
  "isCursorPointer"
588
600
  ])) : m("", !0),
589
- xt.value ? (C(), h("div", Ne, null, 512)) : m("", !0),
590
- z.value.title.text ? (C(), h("div", Pe, [(C(), p(D(A), {
591
- key: `title_${at.value}`,
601
+ wt.value ? (C(), h("div", Ne, null, 512)) : m("", !0),
602
+ L.value.title.text ? (C(), h("div", Pe, [(C(), p(D(Be), {
603
+ key: `title_${ct.value}`,
592
604
  config: {
593
605
  title: {
594
606
  cy: "molecule-div-title",
595
- ...z.value.title
607
+ ...L.value.title
596
608
  },
597
609
  subtitle: {
598
610
  cy: "molecule-div-subtitle",
599
- ...z.value.title.subtitle
611
+ ...L.value.title.subtitle
600
612
  }
601
613
  }
602
614
  }, null, 8, ["config"]))])) : m("", !0),
603
- B.value.show && tt.value && (D(pt) || D(dt)) ? (C(), p(D(Ge), {
615
+ R.value.show && nt.value && (D(mt) || D(ft)) ? (C(), p(D(Ke), {
604
616
  ref_key: "userOptionsRef",
605
- ref: st,
606
- key: `user_options_${it.value}`,
607
- backgroundColor: z.value.backgroundColor,
608
- color: z.value.color,
609
- isPrinting: D(_t),
610
- isImaging: D(vt),
611
- uid: M.value,
612
- hasTooltip: B.value.buttons.tooltip && R.value.show,
613
- hasPdf: B.value.buttons.pdf,
614
- hasXls: B.value.buttons.csv,
615
- hasImg: B.value.buttons.img,
616
- hasSvg: B.value.buttons.svg,
617
- hasTable: B.value.buttons.table,
618
- hasLabel: B.value.buttons.labels,
619
- hasFullscreen: B.value.buttons.fullscreen,
620
- hasAltCopy: B.value.buttons.altCopy,
621
- isTooltip: U.value.showTooltip,
622
- titles: { ...B.value.buttonTitles },
623
- chartElement: F.value,
624
- position: B.value.position,
625
- hasAnnotator: B.value.buttons.annotator,
626
- isAnnotation: Z.value,
627
- callbacks: B.value.callbacks,
628
- printScale: B.value.print.scale,
629
- tableDialog: L.value.table.useDialog,
630
- hasZoom: B.value.buttons.zoom,
631
- isZoom: U.value.showZoom,
632
- isCursorPointer: V.value,
633
- onToggleFullscreen: Ft,
634
- onGeneratePdf: D(yt),
635
- onGenerateCsv: Nt,
636
- onGenerateImage: D($t),
637
- onGenerateSvg: D(Qt),
638
- onToggleTable: It,
639
- onToggleLabels: Lt,
640
- onToggleTooltip: Rt,
641
- onToggleAnnotator: Bt,
642
- onToggleZoom: zt,
643
- onCopyAlt: en,
644
- style: S({ visibility: D(pt) ? D(dt) ? "visible" : "hidden" : "visible" })
617
+ ref: P,
618
+ key: `user_options_${st.value}`,
619
+ backgroundColor: L.value.backgroundColor,
620
+ color: L.value.color,
621
+ isPrinting: D(bt),
622
+ isImaging: D(xt),
623
+ uid: at.value,
624
+ hasTooltip: R.value.buttons.tooltip && I.value.show,
625
+ hasPdf: R.value.buttons.pdf,
626
+ hasXls: R.value.buttons.csv,
627
+ hasImg: R.value.buttons.img,
628
+ hasSvg: R.value.buttons.svg,
629
+ hasTable: R.value.buttons.table,
630
+ hasLabel: R.value.buttons.labels,
631
+ hasFullscreen: R.value.buttons.fullscreen,
632
+ hasAltCopy: R.value.buttons.altCopy,
633
+ isTooltip: H.value.showTooltip,
634
+ titles: { ...R.value.buttonTitles },
635
+ chartElement: M.value,
636
+ position: R.value.position,
637
+ hasAnnotator: R.value.buttons.annotator,
638
+ isAnnotation: X.value,
639
+ callbacks: R.value.callbacks,
640
+ printScale: R.value.print.scale,
641
+ tableDialog: F.value.table.useDialog,
642
+ hasZoom: R.value.buttons.zoom,
643
+ isZoom: H.value.showZoom,
644
+ isCursorPointer: z.value,
645
+ onToggleFullscreen: Rt,
646
+ onGeneratePdf: D(St),
647
+ onGenerateCsv: It,
648
+ onGenerateImage: D(tn),
649
+ onGenerateSvg: D(en),
650
+ onToggleTable: zt,
651
+ onToggleLabels: Bt,
652
+ onToggleTooltip: Vt,
653
+ onToggleAnnotator: Z,
654
+ onToggleZoom: Ht,
655
+ onCopyAlt: nn,
656
+ style: S({ visibility: D(mt) ? D(ft) ? "visible" : "hidden" : "visible" })
645
657
  }, Se({ _: 2 }, [
646
658
  e.$slots.menuIcon ? {
647
659
  name: "menuIcon",
@@ -728,26 +740,26 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
728
740
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.hasZoom.isZoom.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
729
741
  (C(), h("svg", {
730
742
  ref_key: "svgRef",
731
- ref: H,
732
- key: `svg_${ht.value}`,
733
- xmlns: D(re),
743
+ ref: V,
744
+ key: `svg_${vt.value}`,
745
+ xmlns: D(ie),
734
746
  viewBox: `${D(Q).x} ${D(Q).y} ${D(Q).width} ${D(Q).height}`,
735
747
  class: Te({
736
- "vue-data-ui-fullscreen--on": X.value,
737
- "vue-data-ui-fulscreen--off": !X.value
748
+ "vue-data-ui-fullscreen--on": Y.value,
749
+ "vue-data-ui-fulscreen--off": !Y.value
738
750
  }),
739
- style: S(`overflow: hidden; background:transparent;color:${z.value.color}`)
751
+ style: S(`overflow: hidden; background:transparent;color:${L.value.color}`)
740
752
  }, [
741
- _(D(Ke)),
753
+ _(D(qe)),
742
754
  e.$slots["chart-background"] ? (C(), h("foreignObject", {
743
755
  key: 0,
744
756
  x: 0,
745
757
  y: 0,
746
- width: W.value.width <= 0 ? 10 : W.value.width,
747
- height: W.value.height <= 0 ? 10 : W.value.height,
758
+ width: U.value.width <= 0 ? 10 : U.value.width,
759
+ height: U.value.height <= 0 ? 10 : U.value.height,
748
760
  style: { pointerEvents: "none" }
749
761
  }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Ie)) : m("", !0),
750
- g("defs", null, [(C(!0), h(xe, null, De(Object.keys(Dt.value), (e, t) => (C(), p(ge, {
762
+ g("defs", null, [(C(!0), h(xe, null, De(Object.keys(At.value), (e, t) => (C(), p(ge, {
751
763
  t: "radial",
752
764
  id: `gradient_${e}`,
753
765
  key: `gradient_${e}_${t}`,
@@ -758,7 +770,7 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
758
770
  fy: "50%",
759
771
  stops: [[
760
772
  "0%",
761
- D(te)(e, .5),
773
+ D(ne)(e, .5),
762
774
  1
763
775
  ], [
764
776
  "100%",
@@ -766,24 +778,24 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
766
778
  1
767
779
  ]]
768
780
  }, null, 8, ["id", "stops"]))), 128))]),
769
- _(D(qe), {
770
- dataset: G.value,
771
- color: z.value.links.stroke,
772
- backgroundColor: z.value.backgroundColor,
773
- useChildColor: z.value.links.useChildColor
781
+ _(D(Je), {
782
+ dataset: W.value,
783
+ color: L.value.links.stroke,
784
+ backgroundColor: L.value.backgroundColor,
785
+ useChildColor: L.value.links.useChildColor
774
786
  }, null, 8, [
775
787
  "dataset",
776
788
  "color",
777
789
  "backgroundColor",
778
790
  "useChildColor"
779
791
  ]),
780
- _(D(Ye), {
781
- dataset: G.value,
782
- hoveredUid: J.value,
783
- stroke: z.value.nodes.stroke,
784
- strokeHovered: z.value.nodes.strokeHovered,
785
- onClick: Gt,
786
- onHover: At
792
+ _(D(Xe), {
793
+ dataset: W.value,
794
+ hoveredUid: q.value,
795
+ stroke: L.value.nodes.stroke,
796
+ strokeHovered: L.value.nodes.strokeHovered,
797
+ onClick: qt,
798
+ onHover: Nt
787
799
  }, {
788
800
  node: k(({ node: t }) => [T(e.$slots, "node", x(y({ node: t })), void 0, !0)]),
789
801
  "node-svg": k(({ nodeSvg: t }) => [T(e.$slots, "node-svg", x(y({ nodeSvg: t })), void 0, !0)]),
@@ -794,64 +806,64 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
794
806
  "stroke",
795
807
  "strokeHovered"
796
808
  ]),
797
- U.value.showDataLabels && !D(lt) ? (C(), p(D(Je), {
809
+ H.value.showDataLabels && !D(B) ? (C(), p(D(Ye), {
798
810
  key: 1,
799
- dataset: G.value,
800
- color: z.value.color,
801
- hoveredUid: J.value
811
+ dataset: W.value,
812
+ color: L.value.color,
813
+ hoveredUid: q.value
802
814
  }, null, 8, [
803
815
  "dataset",
804
816
  "color",
805
817
  "hoveredUid"
806
818
  ])) : m("", !0),
807
819
  T(e.$slots, "svg", { svg: {
808
- ...W.value,
820
+ ...U.value,
809
821
  drawingArea: { ...D(Q) },
810
- isPrintingImg: D(_t) || D(vt) || D(Xt),
811
- isPrintingSvg: D(Zt)
822
+ isPrintingImg: D(bt) || D(xt) || D(Qt),
823
+ isPrintingSvg: D($t)
812
824
  } }, void 0, !0)
813
825
  ], 14, Fe)),
814
- e.$slots.watermark ? (C(), h("div", Le, [T(e.$slots, "watermark", x(y({ isPrinting: D(_t) || D(vt) || D(Xt) || D(Zt) })), void 0, !0)])) : m("", !0),
815
- D(Ut) ? (C(), h("div", Re, [T(e.$slots, "reset-action", { reset: D(Ht) }, () => [g("button", {
826
+ e.$slots.watermark ? (C(), h("div", Le, [T(e.$slots, "watermark", x(y({ isPrinting: D(bt) || D(xt) || D(Qt) || D($t) })), void 0, !0)])) : m("", !0),
827
+ D(Gt) ? (C(), h("div", Re, [T(e.$slots, "reset-action", { reset: D(Wt) }, () => [g("button", {
816
828
  "data-cy-reset": "",
817
829
  tabindex: "0",
818
830
  role: "button",
819
831
  class: "vue-data-ui-refresh-button",
820
832
  style: S({
821
- background: z.value.backgroundColor,
822
- cursor: V.value ? "pointer" : "default"
833
+ background: L.value.backgroundColor,
834
+ cursor: z.value ? "pointer" : "default"
823
835
  }),
824
- onClick: t[0] ||= (e) => D(Ht)(!0)
825
- }, [_(D(Ve), {
836
+ onClick: t[0] ||= (e) => D(Wt)(!0)
837
+ }, [_(D(He), {
826
838
  name: "refresh",
827
- stroke: z.value.color
839
+ stroke: L.value.color
828
840
  }, null, 8, ["stroke"])], 4)], !0)])) : m("", !0),
829
841
  e.$slots.source ? (C(), h("div", ze, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
830
- _(D(Be), {
831
- teleportTo: R.value.teleportTo,
832
- show: U.value.showTooltip && N.value,
833
- backgroundColor: R.value.backgroundColor,
834
- color: R.value.color,
835
- borderRadius: R.value.borderRadius,
836
- borderColor: R.value.borderColor,
837
- borderWidth: R.value.borderWidth,
838
- fontSize: R.value.fontSize,
839
- backgroundOpacity: R.value.backgroundOpacity,
840
- position: R.value.position,
841
- offsetX: R.value.offsetX,
842
- offsetY: R.value.offsetY,
843
- parent: F.value,
844
- content: P.value,
845
- isFullscreen: X.value,
846
- isCustom: R.value.customFormat && typeof R.value.customFormat == "function",
847
- smooth: R.value.smooth,
848
- backdropFilter: R.value.backdropFilter,
849
- smoothForce: R.value.smoothForce,
850
- smoothSnapThreshold: R.value.smoothSnapThreshold
842
+ _(D(Ve), {
843
+ teleportTo: I.value.teleportTo,
844
+ show: H.value.showTooltip && ot.value,
845
+ backgroundColor: I.value.backgroundColor,
846
+ color: I.value.color,
847
+ borderRadius: I.value.borderRadius,
848
+ borderColor: I.value.borderColor,
849
+ borderWidth: I.value.borderWidth,
850
+ fontSize: I.value.fontSize,
851
+ backgroundOpacity: I.value.backgroundOpacity,
852
+ position: I.value.position,
853
+ offsetX: I.value.offsetX,
854
+ offsetY: I.value.offsetY,
855
+ parent: M.value,
856
+ content: j.value,
857
+ isFullscreen: Y.value,
858
+ isCustom: I.value.customFormat && typeof I.value.customFormat == "function",
859
+ smooth: I.value.smooth,
860
+ backdropFilter: I.value.backdropFilter,
861
+ smoothForce: I.value.smoothForce,
862
+ smoothSnapThreshold: I.value.smoothSnapThreshold
851
863
  }, {
852
- "tooltip-before": k(() => [T(e.$slots, "tooltip-before", x(y({ ...K.value })), void 0, !0)]),
853
- tooltip: k(() => [T(e.$slots, "tooltip", x(y({ ...K.value })), void 0, !0)]),
854
- "tooltip-after": k(() => [T(e.$slots, "tooltip-after", x(y({ ...K.value })), void 0, !0)]),
864
+ "tooltip-before": k(() => [T(e.$slots, "tooltip-before", x(y({ ...G.value })), void 0, !0)]),
865
+ tooltip: k(() => [T(e.$slots, "tooltip", x(y({ ...G.value })), void 0, !0)]),
866
+ "tooltip-after": k(() => [T(e.$slots, "tooltip-after", x(y({ ...G.value })), void 0, !0)]),
855
867
  _: 3
856
868
  }, 8, [
857
869
  "teleportTo",
@@ -875,21 +887,21 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
875
887
  "smoothForce",
876
888
  "smoothSnapThreshold"
877
889
  ]),
878
- tt.value && B.value.buttons.table ? (C(), p(Oe($.value.component), we({ key: 7 }, $.value.props, {
890
+ nt.value && R.value.buttons.table ? (C(), p(Oe($.value.component), we({ key: 7 }, $.value.props, {
879
891
  ref_key: "tableUnit",
880
- ref: I,
881
- onClose: qt
892
+ ref: N,
893
+ onClose: Yt
882
894
  }), Se({
883
- content: k(() => [(C(), p(D(Ue), {
884
- key: `table_${ot.value}`,
885
- colNames: Y.value.colNames,
886
- head: Y.value.head,
887
- body: Y.value.body,
888
- config: Y.value.config,
889
- title: L.value.table.useDialog ? "" : $.value.title,
890
- withCloseButton: !L.value.table.useDialog,
891
- isCursorPointer: V.value,
892
- onClose: qt
895
+ content: k(() => [(C(), p(D(We), {
896
+ key: `table_${lt.value}`,
897
+ colNames: J.value.colNames,
898
+ head: J.value.head,
899
+ body: J.value.body,
900
+ config: J.value.config,
901
+ title: F.value.table.useDialog ? "" : $.value.title,
902
+ withCloseButton: !F.value.table.useDialog,
903
+ isCursorPointer: z.value,
904
+ onClose: Yt
893
905
  }, {
894
906
  th: k(({ th: e }) => [g("div", null, E(e), 1)]),
895
907
  td: k(({ td: e }) => [Ce(E(e.name || e), 1)]),
@@ -904,26 +916,26 @@ var je = /* @__PURE__ */ e({ default: () => A }), Me = ["id"], Ne = {
904
916
  "isCursorPointer"
905
917
  ]))]),
906
918
  _: 2
907
- }, [L.value.table.useDialog ? {
919
+ }, [F.value.table.useDialog ? {
908
920
  name: "title",
909
921
  fn: k(() => [Ce(E($.value.title), 1)]),
910
922
  key: "0"
911
- } : void 0, L.value.table.useDialog ? {
923
+ } : void 0, F.value.table.useDialog ? {
912
924
  name: "actions",
913
925
  fn: k(() => [g("button", {
914
926
  tabindex: "0",
915
927
  class: "vue-ui-user-options-button",
916
- onClick: t[1] ||= (e) => Nt(B.value.callbacks.csv),
917
- style: S({ cursor: V.value ? "pointer" : "default" })
918
- }, [_(D(Ve), {
928
+ onClick: t[1] ||= (e) => It(R.value.callbacks.csv),
929
+ style: S({ cursor: z.value ? "pointer" : "default" })
930
+ }, [_(D(He), {
919
931
  name: "fileCsv",
920
932
  stroke: $.value.props.color
921
933
  }, null, 8, ["stroke"])], 4)]),
922
934
  key: "1"
923
935
  } : void 0]), 1040)) : m("", !0),
924
- T(e.$slots, "skeleton", {}, () => [D(lt) ? (C(), p(ue, { key: 0 })) : m("", !0)], !0)
936
+ T(e.$slots, "skeleton", {}, () => [D(B) ? (C(), p(de, { key: 0 })) : m("", !0)], !0)
925
937
  ], 46, Me));
926
938
  }
927
- }, [["__scopeId", "data-v-f0ae3fa2"]]);
939
+ }, [["__scopeId", "data-v-96e92816"]]);
928
940
  //#endregion
929
- export { je as n, A as t };
941
+ export { je as n, Be as t };