vue-data-ui 3.22.8 → 3.22.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 (169) hide show
  1. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
  2. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  3. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  4. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
  5. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
  6. package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
  7. package/dist/DefGrad-DVBqDjhO.js +48 -0
  8. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
  9. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
  10. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
  11. package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
  12. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
  13. package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
  82. package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
  83. package/dist/ssr/vue-ui-donut.js +1 -1
  84. package/dist/ssr/vue-ui-xy.js +1 -1
  85. package/dist/ssr.js +2 -2
  86. package/dist/style.css +1 -1
  87. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
  88. package/dist/vue-data-ui.js +67 -67
  89. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  90. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
  91. package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
  92. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
  93. package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
  94. package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
  95. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
  96. package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
  97. package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
  98. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
  99. package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
  100. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
  101. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
  103. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
  104. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
  105. package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
  106. package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
  107. package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
  108. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
  109. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  110. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
  111. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  112. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
  113. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  114. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
  115. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
  116. package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
  117. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
  118. package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
  119. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
  120. package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
  121. package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
  122. package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
  123. package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
  124. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
  125. package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
  126. package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
  127. package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
  128. package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
  129. package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
  130. package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
  131. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
  132. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
  133. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
  134. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  135. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
  136. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  137. package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
  138. package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
  139. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
  140. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  141. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
  142. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
  143. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
  144. package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
  145. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  146. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
  147. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
  148. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
  149. package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
  150. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
  151. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
  152. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
  153. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
  154. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
  156. package/package.json +1 -1
  157. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  158. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  159. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  160. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  161. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  162. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  163. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  164. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
  165. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  166. package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
  167. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  168. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  169. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
@@ -8,32 +8,33 @@ import { t as u } from "./useNestedProp-DIuuzG1r.js";
8
8
  import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as pe } from "./img-DnP3eXuv.js";
10
10
  import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { t as he } from "./useUserOptionState-DK-_1ddE.js";
12
- import { t as ge } from "./useChartAccessibility-DYqac8yF.js";
13
- import { t as _e } from "./vue_ui_molecule-CO9L59SF.js";
14
- import { t as ve } from "./usePanZoom-CYU3B4T3.js";
15
- import { Fragment as ye, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as be, createTextVNode as xe, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Se, nextTick as y, normalizeClass as Ce, normalizeProps as b, normalizeStyle as x, onMounted as we, openBlock as S, ref as C, renderList as Te, renderSlot as w, resolveDynamicComponent as Ee, toDisplayString as De, toRefs as Oe, unref as T, useCssVars as ke, watch as E, withCtx as D } from "vue";
11
+ import { t as he } from "./DefGrad-DVBqDjhO.js";
12
+ import { t as ge } from "./useUserOptionState-DK-_1ddE.js";
13
+ import { t as _e } from "./useChartAccessibility-DYqac8yF.js";
14
+ import { t as ve } from "./vue_ui_molecule-CO9L59SF.js";
15
+ import { t as ye } from "./usePanZoom-CYU3B4T3.js";
16
+ import { Fragment as be, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as xe, createTextVNode as Se, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ce, nextTick as y, normalizeClass as we, normalizeProps as b, normalizeStyle as x, onMounted as Te, openBlock as S, ref as C, renderList as Ee, renderSlot as w, resolveDynamicComponent as De, toDisplayString as Oe, toRefs as ke, unref as T, useCssVars as Ae, watch as E, withCtx as D } from "vue";
16
17
  //#region src/components/vue-ui-molecule.vue
17
- var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
18
+ var je = /* @__PURE__ */ e({ default: () => O }), Me = ["id"], Ne = {
18
19
  key: 1,
19
20
  ref: "noTitle",
20
21
  class: "vue-data-ui-no-title-space",
21
22
  style: "height:36px; width: 100%;background:transparent"
22
- }, Ne = {
23
+ }, Pe = {
23
24
  key: 2,
24
25
  style: "width:100%;background:transparent;"
25
- }, Pe = ["xmlns", "viewBox"], Fe = ["width", "height"], Ie = ["id"], Le = ["stop-color"], Re = ["stop-color"], ze = {
26
+ }, Fe = ["xmlns", "viewBox"], Ie = ["width", "height"], Le = {
26
27
  key: 4,
27
28
  class: "vue-data-ui-watermark"
28
- }, Be = {
29
+ }, Re = {
29
30
  key: 5,
30
31
  "data-dom-to-png-ignore": "",
31
32
  class: "reset-wrapper"
32
- }, Ve = {
33
+ }, ze = {
33
34
  key: 6,
34
35
  ref: "source",
35
36
  dir: "auto"
36
- }, He = ["innerHTML"], O = /*#__PURE__*/ me({
37
+ }, Be = ["innerHTML"], O = /*#__PURE__*/ me({
37
38
  __name: "vue-ui-molecule",
38
39
  props: {
39
40
  config: {
@@ -50,21 +51,21 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
50
51
  }
51
52
  },
52
53
  emits: ["selectNode", "copyAlt"],
53
- setup(e, { expose: me, emit: Ae }) {
54
- ke((e) => ({ v2702dffc: en.value }));
55
- let O = _(() => import("./Title-CcNiYzEo.js").then((e) => e.t)), Ue = _(() => import("./Tooltip-CxOrWlFy.js")), We = _(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), Ge = _(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Ke = _(() => import("./DataTable-D9NvewTT.js")), qe = _(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Je = _(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Ye = _(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), Xe = _(() => import("./RecursiveLinks-BygcpDiT.js")), Ze = _(() => import("./RecursiveLabels-D9rfID6q.js")), Qe = _(() => import("./RecursiveCircles-D6aDPmoe.js")), $e = _(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_molecule: et } = se(), { isThemeValid: tt, warnInvalidTheme: nt } = fe(), k = e, rt = Ae, it = d(() => !!k.dataset && k.dataset.length);
56
- we(() => {
57
- ot();
54
+ setup(e, { expose: me, emit: je }) {
55
+ Ae((e) => ({ v62768f10: Qt.value }));
56
+ let O = _(() => import("./Title-CcNiYzEo.js").then((e) => e.t)), Ve = _(() => import("./Tooltip-CxOrWlFy.js")), He = _(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), Ue = _(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), We = _(() => import("./DataTable-BxpTMgfK.js")), Ge = _(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), Ke = _(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), qe = _(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), Je = _(() => import("./RecursiveLinks-BygcpDiT.js")), Ye = _(() => import("./RecursiveLabels-D9rfID6q.js")), Xe = _(() => import("./RecursiveCircles-D6aDPmoe.js")), Ze = _(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_molecule: Qe } = se(), { isThemeValid: $e, warnInvalidTheme: et } = fe(), k = e, tt = je, nt = d(() => !!k.dataset && k.dataset.length);
57
+ Te(() => {
58
+ it();
58
59
  });
59
- let at = d(() => R.value.debug);
60
- function ot() {
60
+ let rt = d(() => F.value.debug);
61
+ function it() {
61
62
  ie(k.dataset) && t({
62
63
  componentName: "VueUiMolecule",
63
64
  type: "dataset",
64
- debug: at.value
65
+ debug: rt.value
65
66
  });
66
67
  }
67
- let A = C(ee()), j = C(!1), M = C(""), N = C(null), st = C(0), ct = C(0), lt = C(0), P = C(null), F = C(null), I = C(!1), L = C(!1), R = C(mt()), z = d(() => R.value.userOptions.useCursorPointer), ut = d(() => i({
68
+ let at = C(ee()), ot = C(!1), A = C(""), j = C(null), st = C(0), ct = C(0), lt = C(0), M = C(null), ut = C(null), N = C(!1), P = C(!1), F = C(V()), I = d(() => F.value.userOptions.useCursorPointer), dt = d(() => i({
68
69
  defaultConfig: {
69
70
  userOptions: { show: !1 },
70
71
  table: { show: !1 },
@@ -74,11 +75,11 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
74
75
  links: { stroke: "#6A6A6A80" }
75
76
  } }
76
77
  },
77
- userConfig: R.value.skeletonConfig ?? {}
78
- })), { loading: B, FINAL_DATASET: V } = le({
79
- ...Oe(k),
80
- FINAL_CONFIG: R,
81
- prepareConfig: mt,
78
+ userConfig: F.value.skeletonConfig ?? {}
79
+ })), { loading: L, FINAL_DATASET: R } = le({
80
+ ...ke(k),
81
+ FINAL_CONFIG: F,
82
+ prepareConfig: V,
82
83
  skeletonDataset: k.config?.skeletonDataset ?? [{
83
84
  name: "_",
84
85
  color: "#CACACA",
@@ -194,19 +195,19 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
194
195
  ]
195
196
  }],
196
197
  skeletonConfig: i({
197
- defaultConfig: R.value,
198
- userConfig: ut.value
198
+ defaultConfig: F.value,
199
+ userConfig: dt.value
199
200
  })
200
- }), { userOptionsVisible: dt, setUserOptionsVisibility: ft, keepUserOptionState: pt } = he({ config: R.value }), { svgRef: H } = ge({ config: R.value.style.chart.title });
201
- function mt() {
201
+ }), { userOptionsVisible: z, setUserOptionsVisibility: ft, keepUserOptionState: pt } = ge({ config: F.value }), { svgRef: B } = _e({ config: F.value.style.chart.title });
202
+ function V() {
202
203
  let e = u({
203
204
  userConfig: k.config,
204
- defaultConfig: et
205
+ defaultConfig: Qe
205
206
  }), t = e.theme;
206
207
  if (!t) return e;
207
- if (!tt.value(e)) return nt(e), e;
208
+ if (!$e.value(e)) return et(e), e;
208
209
  let n = u({
209
- userConfig: _e[t] || k.config,
210
+ userConfig: ve[t] || k.config,
210
211
  defaultConfig: e
211
212
  }), r = u({
212
213
  userConfig: k.config,
@@ -218,53 +219,53 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
218
219
  };
219
220
  }
220
221
  E(() => k.config, (e) => {
221
- R.value = mt(), dt.value = !R.value.userOptions.showOnChartHover, ot(), ct.value += 1, lt.value += 1, U.value.showTable = R.value.table.show, U.value.showTooltip = R.value.style.chart.tooltip.show, U.value.showZoom = R.value.style.chart.zoom.show;
222
+ F.value = V(), z.value = !F.value.userOptions.showOnChartHover, it(), ct.value += 1, lt.value += 1, U.value.showTable = F.value.table.show, U.value.showTooltip = F.value.style.chart.tooltip.show, U.value.showZoom = F.value.style.chart.zoom.show;
222
223
  }, { deep: !0 });
223
- let ht = C(0), gt = () => {
224
- ht.value += 1;
224
+ let mt = C(0), ht = () => {
225
+ mt.value += 1;
225
226
  };
226
- E([() => B.value, () => V.value], async ([e]) => {
227
- e || (await y(), W.value = wt(), await y(), gt(), await y(), Wt({
227
+ E([() => L.value, () => R.value], async ([e]) => {
228
+ e || (await y(), W.value = St(), await y(), ht(), await y(), Ht({
228
229
  x: 0,
229
230
  y: 0,
230
231
  width: 400,
231
232
  height: 400
232
- }), Ht(!1));
233
+ }), Bt(!1));
233
234
  }, {
234
235
  flush: "post",
235
236
  deep: !1
236
237
  });
237
- let { isPrinting: _t, isImaging: vt, generatePdf: yt, generateImage: bt } = ce({
238
- elementId: `cluster_${A.value}`,
239
- fileName: R.value.style.chart.title.text || "vue-ui-molecule",
240
- options: R.value.userOptions.print
241
- }), xt = d(() => R.value.userOptions.show && !R.value.style.chart.title.text), St = d(() => a(R.value.customPalette)), U = C({
242
- showTable: R.value.table.show,
238
+ let { isPrinting: H, isImaging: gt, generatePdf: _t, generateImage: vt } = ce({
239
+ elementId: `cluster_${at.value}`,
240
+ fileName: F.value.style.chart.title.text || "vue-ui-molecule",
241
+ options: F.value.userOptions.print
242
+ }), yt = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), bt = d(() => a(F.value.customPalette)), U = C({
243
+ showTable: F.value.table.show,
243
244
  showDataLabels: !0,
244
- showTooltip: R.value.style.chart.tooltip.show,
245
- showZoom: R.value.style.chart.zoom.show
245
+ showTooltip: F.value.style.chart.tooltip.show,
246
+ showZoom: F.value.style.chart.zoom.show
246
247
  });
247
- E(R, () => {
248
+ E(F, () => {
248
249
  U.value = {
249
- showTable: R.value.table.show,
250
+ showTable: F.value.table.show,
250
251
  showDataLabels: !0,
251
- showTooltip: R.value.style.chart.tooltip.show,
252
- showZoom: R.value.style.chart.zoom.show
252
+ showTooltip: F.value.style.chart.tooltip.show,
253
+ showZoom: F.value.style.chart.zoom.show
253
254
  };
254
255
  }, { immediate: !0 });
255
- function Ct(e, t = 0) {
256
- return Array.isArray(e) && e.length > 0 && e[0].nodes ? Ct(e[0].nodes, t + 1) : t;
256
+ function xt(e, t = 0) {
257
+ return Array.isArray(e) && e.length > 0 && e[0].nodes ? xt(e[0].nodes, t + 1) : t;
257
258
  }
258
- function wt() {
259
- let e = Ct(V.value), t = 100, n = t;
259
+ function St() {
260
+ let e = xt(R.value), t = 100, n = t;
260
261
  for (let r = 0; r < e; r += 1) t /= 1, n += t;
261
262
  return {
262
263
  height: n,
263
264
  width: n
264
265
  };
265
266
  }
266
- let W = C(wt());
267
- function Tt(e, t = {
267
+ let W = C(St());
268
+ function Ct(e, t = {
268
269
  x: -W.value.width / 2.43,
269
270
  y: W.value.height / 2
270
271
  }, r = W.value.width / 1.1, i = 24, a = 0, o = 0, s = "#BBBBBB", c = 0) {
@@ -280,10 +281,10 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
280
281
  let t = re(e.color);
281
282
  return t.startsWith("#") ? t : `#${t}`;
282
283
  })() : null, l;
283
- ie ? l = ie : c === 0 ? l = s : c === 1 ? (l = St.value[o] || te[o] || s, o += 1) : l = s, e.polygonPath = { coordinates: [n] }, e.circleRadius = i, e.color = l, e.strokeWidth = Math.min(R.value.style.chart.links.strokeWidth / (c + 1), i / 2), e.uid = ee(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Tt(e.nodes, n, r / 2.9, i / 2.2, a + Math.PI * t / e.nodes.length, o, l, c + 1));
284
+ ie ? l = ie : c === 0 ? l = s : c === 1 ? (l = bt.value[o] || te[o] || s, o += 1) : l = s, e.polygonPath = { coordinates: [n] }, e.circleRadius = i, e.color = l, e.strokeWidth = Math.min(F.value.style.chart.links.strokeWidth / (c + 1), i / 2), e.uid = ee(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Ct(e.nodes, n, r / 2.9, i / 2.2, a + Math.PI * t / e.nodes.length, o, l, c + 1));
284
285
  }), e;
285
286
  }
286
- function Et(e) {
287
+ function wt(e) {
287
288
  let t = /* @__PURE__ */ new Set();
288
289
  function n(e) {
289
290
  e.forEach((e) => {
@@ -298,42 +299,42 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
298
299
  r[e] = `gradient_${e.slice(1)}`;
299
300
  }), r;
300
301
  }
301
- let Dt = d(() => Et(G.value)), G = d(() => Tt(c(V.value))), K = C(null);
302
- function Ot(e) {
302
+ let Tt = d(() => wt(G.value)), G = d(() => Ct(c(R.value))), K = C(null);
303
+ function Et(e) {
303
304
  K.value = {
304
305
  datapoint: e,
305
306
  seriesIndex: -1,
306
307
  series: G.value,
307
- config: R.value
308
+ config: F.value
308
309
  };
309
- let t = R.value.style.chart.tooltip.customFormat;
310
+ let t = F.value.style.chart.tooltip.customFormat;
310
311
  if (oe(t) && l(() => t({
311
312
  seriesIndex: -1,
312
313
  datapoint: e,
313
314
  series: G.value,
314
- config: R.value
315
- }))) M.value = t({
315
+ config: F.value
316
+ }))) A.value = t({
316
317
  seriesIndex: -1,
317
318
  datapoint: e,
318
319
  series: G.value,
319
- config: R.value
320
+ config: F.value
320
321
  });
321
322
  else {
322
323
  let t = "";
323
- 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.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), M.value = `<div style="font-family:inherit">${t}</div>`;
324
+ 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 ${F.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), A.value = `<div style="font-family:inherit">${t}</div>`;
324
325
  }
325
326
  }
326
- let q = C(null), J = C(null), kt = C(null);
327
- function At(e) {
328
- kt.value = q.value, q.value = e, e ? R.value.events.datapointEnter && R.value.events.datapointEnter({
327
+ let q = C(null), J = C(null), Dt = C(null);
328
+ function Ot(e) {
329
+ Dt.value = q.value, q.value = e, e ? F.value.events.datapointEnter && F.value.events.datapointEnter({
329
330
  datapoint: e,
330
331
  seriesIndex: -1
331
- }) : R.value.events.datapointLeave && R.value.events.datapointLeave({
332
- datapoint: kt.value || q.value,
332
+ }) : F.value.events.datapointLeave && F.value.events.datapointLeave({
333
+ datapoint: Dt.value || q.value,
333
334
  seriesIndex: -1
334
- }), e ? (j.value = !0, Ot(e), J.value = e.uid) : (j.value = !1, M.value = "", J.value = null);
335
+ }), e ? (ot.value = !0, Et(e), J.value = e.uid) : (ot.value = !1, A.value = "", J.value = null);
335
336
  }
336
- function jt(e) {
337
+ function kt(e) {
337
338
  let t = [];
338
339
  function n(e) {
339
340
  e.forEach((e) => {
@@ -348,13 +349,13 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
348
349
  }
349
350
  return n(e), t;
350
351
  }
351
- let Mt = d(() => jt(G.value)), Y = d(() => ({
352
+ let At = d(() => kt(G.value)), Y = d(() => ({
352
353
  head: [
353
- R.value.table.translations.nodeName,
354
- R.value.table.translations.details,
355
- R.value.table.translations.ancestor
354
+ F.value.table.translations.nodeName,
355
+ F.value.table.translations.details,
356
+ F.value.table.translations.ancestor
356
357
  ],
357
- body: Mt.value.map((e, t) => [
358
+ body: At.value.map((e, t) => [
358
359
  {
359
360
  color: e.color,
360
361
  name: e.name
@@ -364,79 +365,79 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
364
365
  ]),
365
366
  config: {
366
367
  th: {
367
- backgroundColor: R.value.table.th.backgroundColor,
368
- color: R.value.table.th.color,
369
- outline: R.value.table.th.outline
368
+ backgroundColor: F.value.table.th.backgroundColor,
369
+ color: F.value.table.th.color,
370
+ outline: F.value.table.th.outline
370
371
  },
371
372
  td: {
372
- backgroundColor: R.value.table.td.backgroundColor,
373
- color: R.value.table.td.color,
374
- outline: R.value.table.td.outline
373
+ backgroundColor: F.value.table.td.backgroundColor,
374
+ color: F.value.table.td.color,
375
+ outline: F.value.table.td.outline
375
376
  },
376
- breakpoint: R.value.table.responsiveBreakpoint
377
+ breakpoint: F.value.table.responsiveBreakpoint
377
378
  },
378
379
  colNames: [
379
- R.value.table.translations.nodeName,
380
- R.value.table.translations.details,
381
- R.value.table.translations.ancestor
380
+ F.value.table.translations.nodeName,
381
+ F.value.table.translations.details,
382
+ F.value.table.translations.ancestor
382
383
  ]
383
384
  }));
384
- function Nt(e = null) {
385
+ function jt(e = null) {
385
386
  y(() => {
386
387
  let t = Y.value.body.map((e, t) => [
387
388
  [e[0].name],
388
389
  [e[1]],
389
390
  [e[2]]
390
391
  ]), n = o([
391
- [R.value.style.chart.title.text],
392
- [R.value.style.chart.title.subtitle.text],
392
+ [F.value.style.chart.title.text],
393
+ [F.value.style.chart.title.subtitle.text],
393
394
  [[...Y.value.head]]
394
395
  ].concat(t));
395
396
  e ? e(n) : ne({
396
397
  csvContent: n,
397
- title: R.value.style.chart.title.text || "vue-ui-molecule"
398
+ title: F.value.style.chart.title.text || "vue-ui-molecule"
398
399
  });
399
400
  });
400
401
  }
401
- function Pt() {
402
+ function Mt() {
402
403
  return G.value;
403
404
  }
404
405
  let X = C(!1);
405
- function Ft(e) {
406
+ function Nt(e) {
406
407
  X.value = e, st.value += 1;
407
408
  }
408
- function It() {
409
+ function Pt() {
409
410
  U.value.showTable = !U.value.showTable;
410
411
  }
411
- function Lt() {
412
+ function Ft() {
412
413
  U.value.showDataLabels = !U.value.showDataLabels;
413
414
  }
414
- function Rt() {
415
+ function It() {
415
416
  U.value.showTooltip = !U.value.showTooltip;
416
417
  }
417
- function zt() {
418
+ function Lt() {
418
419
  U.value.showZoom = !U.value.showZoom;
419
420
  }
420
421
  let Z = C(!1);
421
- function Bt() {
422
+ function Rt() {
422
423
  Z.value = !Z.value;
423
424
  }
424
- let Vt = d(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: Ht, isZoom: Ut, setInitialViewBox: Wt } = ve(H, {
425
+ let zt = d(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: Bt, isZoom: Vt, setInitialViewBox: Ht } = ye(B, {
425
426
  x: 0,
426
427
  y: 0,
427
428
  width: Math.max(10, W.value.width),
428
429
  height: Math.max(10, W.value.height)
429
- }, R.value.style.chart.zoom.speed, Vt);
430
- function Gt(e) {
431
- R.value.events.datapointClick && R.value.events.datapointClick({
430
+ }, F.value.style.chart.zoom.speed, zt);
431
+ function Ut(e) {
432
+ F.value.events.datapointClick && F.value.events.datapointClick({
432
433
  datapoint: e,
433
434
  seriesIndex: -1
434
- }), rt("selectNode", e);
435
+ }), tt("selectNode", e);
435
436
  }
436
- async function Kt({ scale: e = 2 } = {}) {
437
- if (!N.value) return;
438
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: ee, base64: i } = await pe({
439
- domElement: N.value,
437
+ async function Wt({ scale: e = 2 } = {}) {
438
+ if (!j.value) return;
439
+ let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: ee, base64: i } = await pe({
440
+ domElement: j.value,
440
441
  base64: !0,
441
442
  img: !0,
442
443
  scale: e
@@ -444,128 +445,128 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
444
445
  return {
445
446
  imageUri: ee,
446
447
  base64: i,
447
- title: R.value.style.chart.title.text,
448
+ title: F.value.style.chart.title.text,
448
449
  width: t,
449
450
  height: n,
450
451
  aspectRatio: r
451
452
  };
452
453
  }
453
454
  let $ = d(() => {
454
- let e = R.value.table.useDialog && !R.value.table.show, t = U.value.showTable;
455
+ let e = F.value.table.useDialog && !F.value.table.show, t = U.value.showTable;
455
456
  return {
456
- component: e ? $e : Ge,
457
- title: `${R.value.style.chart.title.text}${R.value.style.chart.title.subtitle.text ? `: ${R.value.style.chart.title.subtitle.text}` : ""}`,
457
+ component: e ? Ze : Ue,
458
+ title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
458
459
  props: e ? {
459
- backgroundColor: R.value.table.th.backgroundColor,
460
- color: R.value.table.th.color,
461
- headerColor: R.value.table.th.color,
462
- headerBg: R.value.table.th.backgroundColor,
460
+ backgroundColor: F.value.table.th.backgroundColor,
461
+ color: F.value.table.th.color,
462
+ headerColor: F.value.table.th.color,
463
+ headerBg: F.value.table.th.backgroundColor,
463
464
  isFullscreen: X.value,
464
- fullscreenParent: N.value,
465
+ fullscreenParent: j.value,
465
466
  forcedWidth: Math.min(800, window.innerWidth * .8),
466
- isCursorPointer: z.value
467
+ isCursorPointer: I.value
467
468
  } : {
468
469
  hideDetails: !0,
469
470
  config: {
470
471
  open: t,
471
472
  maxHeight: 1e4,
472
473
  body: {
473
- backgroundColor: R.value.style.chart.backgroundColor,
474
- color: R.value.style.chart.color
474
+ backgroundColor: F.value.style.chart.backgroundColor,
475
+ color: F.value.style.chart.color
475
476
  },
476
477
  head: {
477
- backgroundColor: R.value.style.chart.backgroundColor,
478
- color: R.value.style.chart.color
478
+ backgroundColor: F.value.style.chart.backgroundColor,
479
+ color: F.value.style.chart.color
479
480
  }
480
481
  }
481
482
  }
482
483
  };
483
484
  });
484
485
  E(() => U.value.showTable, (e) => {
485
- R.value.table.show || (e && R.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
486
+ F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
486
487
  });
487
- function qt() {
488
- U.value.showTable = !1, F.value && F.value.setTableIconState(!1);
488
+ function Gt() {
489
+ U.value.showTable = !1, ut.value && ut.value.setTableIconState(!1);
489
490
  }
490
- let Jt = d(() => R.value.style.chart.backgroundColor), { exportSvg: Yt, getSvg: Xt } = de({
491
- svg: H,
492
- title: d(() => R.value.style.chart.title),
493
- backgroundColor: Jt
491
+ let Kt = d(() => F.value.style.chart.backgroundColor), { exportSvg: qt, getSvg: Jt } = de({
492
+ svg: B,
493
+ title: d(() => F.value.style.chart.title),
494
+ backgroundColor: Kt
494
495
  });
495
- async function Zt({ isCb: e }) {
496
- L.value = !0, await y();
496
+ async function Yt({ isCb: e }) {
497
+ P.value = !0, await y();
497
498
  try {
498
499
  if (e) {
499
- let { blob: e, url: t, text: n, dataUrl: r } = await Xt();
500
- await Promise.resolve(R.value.userOptions.callbacks.svg({
500
+ let { blob: e, url: t, text: n, dataUrl: r } = await Jt();
501
+ await Promise.resolve(F.value.userOptions.callbacks.svg({
501
502
  blob: e,
502
503
  url: t,
503
504
  text: n,
504
505
  dataUrl: r
505
506
  }));
506
- } else await Promise.resolve(Yt());
507
+ } else await Promise.resolve(qt());
507
508
  } finally {
508
- L.value = !1;
509
+ P.value = !1;
509
510
  }
510
511
  }
511
- function Qt(e) {
512
+ function Xt(e) {
512
513
  if (e?.stage === "start") {
513
- I.value = !0;
514
+ N.value = !0;
514
515
  return;
515
516
  }
516
517
  if (e?.stage === "end") {
517
- I.value = !1;
518
+ N.value = !1;
518
519
  return;
519
520
  }
520
- bt();
521
+ vt();
521
522
  }
522
- async function $t() {
523
- if (rt("copyAlt", {
524
- config: R.value,
523
+ async function Zt() {
524
+ if (tt("copyAlt", {
525
+ config: F.value,
525
526
  dataset: G.value
526
- }), !R.value.userOptions.callbacks.altCopy) {
527
+ }), !F.value.userOptions.callbacks.altCopy) {
527
528
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
528
529
  return;
529
530
  }
530
- await Promise.resolve(R.value.userOptions.callbacks.altCopy({
531
- config: R.value,
531
+ await Promise.resolve(F.value.userOptions.callbacks.altCopy({
532
+ config: F.value,
532
533
  dataset: G.value
533
534
  }));
534
535
  }
535
- let en = d(() => R.value.style.chart.color);
536
+ let Qt = d(() => F.value.style.chart.color);
536
537
  return me({
537
- getData: Pt,
538
- getImage: Kt,
539
- generatePdf: yt,
540
- generateCsv: Nt,
541
- generateImage: bt,
542
- generateSvg: Zt,
543
- toggleTable: It,
544
- toggleLabels: Lt,
545
- toggleTooltip: Rt,
546
- toggleAnnotator: Bt,
547
- toggleFullscreen: Ft,
548
- toggleZoom: zt,
549
- copyAlt: $t
538
+ getData: Mt,
539
+ getImage: Wt,
540
+ generatePdf: _t,
541
+ generateCsv: jt,
542
+ generateImage: vt,
543
+ generateSvg: Yt,
544
+ toggleTable: Pt,
545
+ toggleLabels: Ft,
546
+ toggleTooltip: It,
547
+ toggleAnnotator: Rt,
548
+ toggleFullscreen: Nt,
549
+ toggleZoom: Lt,
550
+ copyAlt: Zt
550
551
  }), (e, t) => (S(), m("div", {
551
552
  ref_key: "moleculeChart",
552
- ref: N,
553
- class: Ce(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
554
- style: x(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.chart.backgroundColor}`),
555
- id: `cluster_${A.value}`,
553
+ ref: j,
554
+ class: we(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
555
+ style: x(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
556
+ id: `cluster_${at.value}`,
556
557
  onMouseleave: t[2] ||= (e) => {
557
558
  q.value = null, J.value = null, T(ft)(!1);
558
559
  },
559
560
  onMouseenter: t[3] ||= () => T(ft)(!0)
560
561
  }, [
561
- R.value.userOptions.buttons.annotator && T(H) ? (S(), f(T(qe), {
562
+ F.value.userOptions.buttons.annotator && T(B) ? (S(), f(T(Ge), {
562
563
  key: 0,
563
- svgRef: T(H),
564
- backgroundColor: R.value.style.chart.backgroundColor,
565
- color: R.value.style.chart.color,
564
+ svgRef: T(B),
565
+ backgroundColor: F.value.style.chart.backgroundColor,
566
+ color: F.value.style.chart.color,
566
567
  active: Z.value,
567
- isCursorPointer: z.value,
568
- onClose: Bt
568
+ isCursorPointer: I.value,
569
+ onClose: Rt
569
570
  }, {
570
571
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
571
572
  "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
@@ -581,63 +582,63 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
581
582
  "active",
582
583
  "isCursorPointer"
583
584
  ])) : p("", !0),
584
- xt.value ? (S(), m("div", Me, null, 512)) : p("", !0),
585
- R.value.style.chart.title.text ? (S(), m("div", Ne, [(S(), f(T(O), {
585
+ yt.value ? (S(), m("div", Ne, null, 512)) : p("", !0),
586
+ F.value.style.chart.title.text ? (S(), m("div", Pe, [(S(), f(T(O), {
586
587
  key: `title_${ct.value}`,
587
588
  config: {
588
589
  title: {
589
590
  cy: "molecule-div-title",
590
- ...R.value.style.chart.title
591
+ ...F.value.style.chart.title
591
592
  },
592
593
  subtitle: {
593
594
  cy: "molecule-div-subtitle",
594
- ...R.value.style.chart.title.subtitle
595
+ ...F.value.style.chart.title.subtitle
595
596
  }
596
597
  }
597
598
  }, null, 8, ["config"]))])) : p("", !0),
598
- R.value.userOptions.show && it.value && (T(pt) || T(dt)) ? (S(), f(T(Je), {
599
+ F.value.userOptions.show && nt.value && (T(pt) || T(z)) ? (S(), f(T(Ke), {
599
600
  ref_key: "userOptionsRef",
600
- ref: F,
601
+ ref: ut,
601
602
  key: `user_options_${st.value}`,
602
- backgroundColor: R.value.style.chart.backgroundColor,
603
- color: R.value.style.chart.color,
604
- isPrinting: T(_t),
605
- isImaging: T(vt),
606
- uid: A.value,
607
- hasTooltip: R.value.userOptions.buttons.tooltip && R.value.style.chart.tooltip.show,
608
- hasPdf: R.value.userOptions.buttons.pdf,
609
- hasXls: R.value.userOptions.buttons.csv,
610
- hasImg: R.value.userOptions.buttons.img,
611
- hasSvg: R.value.userOptions.buttons.svg,
612
- hasTable: R.value.userOptions.buttons.table,
613
- hasLabel: R.value.userOptions.buttons.labels,
614
- hasFullscreen: R.value.userOptions.buttons.fullscreen,
615
- hasAltCopy: R.value.userOptions.buttons.altCopy,
603
+ backgroundColor: F.value.style.chart.backgroundColor,
604
+ color: F.value.style.chart.color,
605
+ isPrinting: T(H),
606
+ isImaging: T(gt),
607
+ uid: at.value,
608
+ hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
609
+ hasPdf: F.value.userOptions.buttons.pdf,
610
+ hasXls: F.value.userOptions.buttons.csv,
611
+ hasImg: F.value.userOptions.buttons.img,
612
+ hasSvg: F.value.userOptions.buttons.svg,
613
+ hasTable: F.value.userOptions.buttons.table,
614
+ hasLabel: F.value.userOptions.buttons.labels,
615
+ hasFullscreen: F.value.userOptions.buttons.fullscreen,
616
+ hasAltCopy: F.value.userOptions.buttons.altCopy,
616
617
  isTooltip: U.value.showTooltip,
617
- titles: { ...R.value.userOptions.buttonTitles },
618
- chartElement: N.value,
619
- position: R.value.userOptions.position,
620
- hasAnnotator: R.value.userOptions.buttons.annotator,
618
+ titles: { ...F.value.userOptions.buttonTitles },
619
+ chartElement: j.value,
620
+ position: F.value.userOptions.position,
621
+ hasAnnotator: F.value.userOptions.buttons.annotator,
621
622
  isAnnotation: Z.value,
622
- callbacks: R.value.userOptions.callbacks,
623
- printScale: R.value.userOptions.print.scale,
624
- tableDialog: R.value.table.useDialog,
625
- hasZoom: R.value.userOptions.buttons.zoom,
623
+ callbacks: F.value.userOptions.callbacks,
624
+ printScale: F.value.userOptions.print.scale,
625
+ tableDialog: F.value.table.useDialog,
626
+ hasZoom: F.value.userOptions.buttons.zoom,
626
627
  isZoom: U.value.showZoom,
627
- isCursorPointer: z.value,
628
- onToggleFullscreen: Ft,
629
- onGeneratePdf: T(yt),
630
- onGenerateCsv: Nt,
631
- onGenerateImage: Qt,
632
- onGenerateSvg: Zt,
633
- onToggleTable: It,
634
- onToggleLabels: Lt,
635
- onToggleTooltip: Rt,
636
- onToggleAnnotator: Bt,
637
- onToggleZoom: zt,
638
- onCopyAlt: $t,
639
- style: x({ visibility: T(pt) ? T(dt) ? "visible" : "hidden" : "visible" })
640
- }, be({ _: 2 }, [
628
+ isCursorPointer: I.value,
629
+ onToggleFullscreen: Nt,
630
+ onGeneratePdf: T(_t),
631
+ onGenerateCsv: jt,
632
+ onGenerateImage: Xt,
633
+ onGenerateSvg: Yt,
634
+ onToggleTable: Pt,
635
+ onToggleLabels: Ft,
636
+ onToggleTooltip: It,
637
+ onToggleAnnotator: Rt,
638
+ onToggleZoom: Lt,
639
+ onCopyAlt: Zt,
640
+ style: x({ visibility: T(pt) ? T(z) ? "visible" : "hidden" : "visible" })
641
+ }, xe({ _: 2 }, [
641
642
  e.$slots.menuIcon ? {
642
643
  name: "menuIcon",
643
644
  fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
@@ -723,17 +724,17 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
723
724
  ]), 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.style".split("."))) : p("", !0),
724
725
  (S(), m("svg", {
725
726
  ref_key: "svgRef",
726
- ref: H,
727
- key: `svg_${ht.value}`,
727
+ ref: B,
728
+ key: `svg_${mt.value}`,
728
729
  xmlns: T(ae),
729
730
  viewBox: `${T(Q).x} ${T(Q).y} ${T(Q).width} ${T(Q).height}`,
730
- class: Ce({
731
+ class: we({
731
732
  "vue-data-ui-fullscreen--on": X.value,
732
733
  "vue-data-ui-fulscreen--off": !X.value
733
734
  }),
734
- style: x(`overflow: hidden; background:transparent;color:${R.value.style.chart.color}`)
735
+ style: x(`overflow: hidden; background:transparent;color:${F.value.style.chart.color}`)
735
736
  }, [
736
- g(T(Ye)),
737
+ g(T(qe)),
737
738
  e.$slots["chart-background"] ? (S(), m("foreignObject", {
738
739
  key: 0,
739
740
  x: 0,
@@ -741,39 +742,44 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
741
742
  width: W.value.width <= 0 ? 10 : W.value.width,
742
743
  height: W.value.height <= 0 ? 10 : W.value.height,
743
744
  style: { pointerEvents: "none" }
744
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Fe)) : p("", !0),
745
- h("defs", null, [(S(!0), m(ye, null, Te(Object.keys(Dt.value), (e) => (S(), m("radialGradient", {
745
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ie)) : p("", !0),
746
+ h("defs", null, [(S(!0), m(be, null, Ee(Object.keys(Tt.value), (e, t) => (S(), f(he, {
747
+ t: "radial",
746
748
  id: `gradient_${e}`,
749
+ key: `gradient_${e}_${t}`,
747
750
  cx: "50%",
748
751
  cy: "30%",
749
752
  r: "50%",
750
753
  fx: "50%",
751
- fy: "50%"
752
- }, [h("stop", {
753
- offset: "0%",
754
- "stop-color": T(r)(e, .5)
755
- }, null, 8, Le), h("stop", {
756
- offset: "100%",
757
- "stop-color": e
758
- }, null, 8, Re)], 8, Ie))), 256))]),
759
- g(T(Xe), {
754
+ fy: "50%",
755
+ stops: [[
756
+ "0%",
757
+ T(r)(e, .5),
758
+ 1
759
+ ], [
760
+ "100%",
761
+ e,
762
+ 1
763
+ ]]
764
+ }, null, 8, ["id", "stops"]))), 128))]),
765
+ g(T(Je), {
760
766
  dataset: G.value,
761
- color: R.value.style.chart.links.stroke,
762
- backgroundColor: R.value.style.chart.backgroundColor,
763
- useChildColor: R.value.style.chart.links.useChildColor
767
+ color: F.value.style.chart.links.stroke,
768
+ backgroundColor: F.value.style.chart.backgroundColor,
769
+ useChildColor: F.value.style.chart.links.useChildColor
764
770
  }, null, 8, [
765
771
  "dataset",
766
772
  "color",
767
773
  "backgroundColor",
768
774
  "useChildColor"
769
775
  ]),
770
- g(T(Qe), {
776
+ g(T(Xe), {
771
777
  dataset: G.value,
772
778
  hoveredUid: J.value,
773
- stroke: R.value.style.chart.nodes.stroke,
774
- strokeHovered: R.value.style.chart.nodes.strokeHovered,
775
- onClick: Gt,
776
- onHover: At
779
+ stroke: F.value.style.chart.nodes.stroke,
780
+ strokeHovered: F.value.style.chart.nodes.strokeHovered,
781
+ onClick: Ut,
782
+ onHover: Ot
777
783
  }, {
778
784
  node: D(({ node: t }) => [w(e.$slots, "node", b(v({ node: t })), void 0, !0)]),
779
785
  "node-svg": D(({ nodeSvg: t }) => [w(e.$slots, "node-svg", b(v({ nodeSvg: t })), void 0, !0)]),
@@ -784,10 +790,10 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
784
790
  "stroke",
785
791
  "strokeHovered"
786
792
  ]),
787
- U.value.showDataLabels && !T(B) ? (S(), f(T(Ze), {
793
+ U.value.showDataLabels && !T(L) ? (S(), f(T(Ye), {
788
794
  key: 1,
789
795
  dataset: G.value,
790
- color: R.value.style.chart.color,
796
+ color: F.value.style.chart.color,
791
797
  hoveredUid: J.value
792
798
  }, null, 8, [
793
799
  "dataset",
@@ -797,47 +803,47 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
797
803
  w(e.$slots, "svg", { svg: {
798
804
  ...W.value,
799
805
  drawingArea: { ...T(Q) },
800
- isPrintingImg: T(_t) || T(vt) || I.value,
801
- isPrintingSvg: L.value
806
+ isPrintingImg: T(H) || T(gt) || N.value,
807
+ isPrintingSvg: P.value
802
808
  } }, void 0, !0)
803
- ], 14, Pe)),
804
- e.$slots.watermark ? (S(), m("div", ze, [w(e.$slots, "watermark", b(v({ isPrinting: T(_t) || T(vt) || I.value || L.value })), void 0, !0)])) : p("", !0),
805
- T(Ut) ? (S(), m("div", Be, [w(e.$slots, "reset-action", { reset: T(Ht) }, () => [h("button", {
809
+ ], 14, Fe)),
810
+ e.$slots.watermark ? (S(), m("div", Le, [w(e.$slots, "watermark", b(v({ isPrinting: T(H) || T(gt) || N.value || P.value })), void 0, !0)])) : p("", !0),
811
+ T(Vt) ? (S(), m("div", Re, [w(e.$slots, "reset-action", { reset: T(Bt) }, () => [h("button", {
806
812
  "data-cy-reset": "",
807
813
  tabindex: "0",
808
814
  role: "button",
809
815
  class: "vue-data-ui-refresh-button",
810
816
  style: x({
811
- background: R.value.style.chart.backgroundColor,
812
- cursor: z.value ? "pointer" : "default"
817
+ background: F.value.style.chart.backgroundColor,
818
+ cursor: I.value ? "pointer" : "default"
813
819
  }),
814
- onClick: t[0] ||= (e) => T(Ht)(!0)
815
- }, [g(T(We), {
820
+ onClick: t[0] ||= (e) => T(Bt)(!0)
821
+ }, [g(T(He), {
816
822
  name: "refresh",
817
- stroke: R.value.style.chart.color
823
+ stroke: F.value.style.chart.color
818
824
  }, null, 8, ["stroke"])], 4)], !0)])) : p("", !0),
819
- e.$slots.source ? (S(), m("div", Ve, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
820
- g(T(Ue), {
821
- teleportTo: R.value.style.chart.tooltip.teleportTo,
822
- show: U.value.showTooltip && j.value,
823
- backgroundColor: R.value.style.chart.tooltip.backgroundColor,
824
- color: R.value.style.chart.tooltip.color,
825
- borderRadius: R.value.style.chart.tooltip.borderRadius,
826
- borderColor: R.value.style.chart.tooltip.borderColor,
827
- borderWidth: R.value.style.chart.tooltip.borderWidth,
828
- fontSize: R.value.style.chart.tooltip.fontSize,
829
- backgroundOpacity: R.value.style.chart.tooltip.backgroundOpacity,
830
- position: R.value.style.chart.tooltip.position,
831
- offsetX: R.value.style.chart.tooltip.offsetX,
832
- offsetY: R.value.style.chart.tooltip.offsetY,
833
- parent: N.value,
834
- content: M.value,
825
+ e.$slots.source ? (S(), m("div", ze, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
826
+ g(T(Ve), {
827
+ teleportTo: F.value.style.chart.tooltip.teleportTo,
828
+ show: U.value.showTooltip && ot.value,
829
+ backgroundColor: F.value.style.chart.tooltip.backgroundColor,
830
+ color: F.value.style.chart.tooltip.color,
831
+ borderRadius: F.value.style.chart.tooltip.borderRadius,
832
+ borderColor: F.value.style.chart.tooltip.borderColor,
833
+ borderWidth: F.value.style.chart.tooltip.borderWidth,
834
+ fontSize: F.value.style.chart.tooltip.fontSize,
835
+ backgroundOpacity: F.value.style.chart.tooltip.backgroundOpacity,
836
+ position: F.value.style.chart.tooltip.position,
837
+ offsetX: F.value.style.chart.tooltip.offsetX,
838
+ offsetY: F.value.style.chart.tooltip.offsetY,
839
+ parent: j.value,
840
+ content: A.value,
835
841
  isFullscreen: X.value,
836
- isCustom: R.value.style.chart.tooltip.customFormat && typeof R.value.style.chart.tooltip.customFormat == "function",
837
- smooth: R.value.style.chart.tooltip.smooth,
838
- backdropFilter: R.value.style.chart.tooltip.backdropFilter,
839
- smoothForce: R.value.style.chart.tooltip.smoothForce,
840
- smoothSnapThreshold: R.value.style.chart.tooltip.smoothSnapThreshold
842
+ isCustom: F.value.style.chart.tooltip.customFormat && typeof F.value.style.chart.tooltip.customFormat == "function",
843
+ smooth: F.value.style.chart.tooltip.smooth,
844
+ backdropFilter: F.value.style.chart.tooltip.backdropFilter,
845
+ smoothForce: F.value.style.chart.tooltip.smoothForce,
846
+ smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold
841
847
  }, {
842
848
  "tooltip-before": D(() => [w(e.$slots, "tooltip-before", b(v({ ...K.value })), void 0, !0)]),
843
849
  tooltip: D(() => [w(e.$slots, "tooltip", b(v({ ...K.value })), void 0, !0)]),
@@ -865,21 +871,21 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
865
871
  "smoothForce",
866
872
  "smoothSnapThreshold"
867
873
  ]),
868
- it.value && R.value.userOptions.buttons.table ? (S(), f(Ee($.value.component), Se({ key: 7 }, $.value.props, {
874
+ nt.value && F.value.userOptions.buttons.table ? (S(), f(De($.value.component), Ce({ key: 7 }, $.value.props, {
869
875
  ref_key: "tableUnit",
870
- ref: P,
871
- onClose: qt
872
- }), be({
873
- content: D(() => [(S(), f(T(Ke), {
876
+ ref: M,
877
+ onClose: Gt
878
+ }), xe({
879
+ content: D(() => [(S(), f(T(We), {
874
880
  key: `table_${lt.value}`,
875
881
  colNames: Y.value.colNames,
876
882
  head: Y.value.head,
877
883
  body: Y.value.body,
878
884
  config: Y.value.config,
879
- title: R.value.table.useDialog ? "" : $.value.title,
880
- withCloseButton: !R.value.table.useDialog,
881
- isCursorPointer: z.value,
882
- onClose: qt
885
+ title: F.value.table.useDialog ? "" : $.value.title,
886
+ withCloseButton: !F.value.table.useDialog,
887
+ isCursorPointer: I.value,
888
+ onClose: Gt
883
889
  }, {
884
890
  th: D(({ th: e }) => [h("div", {
885
891
  innerHTML: e,
@@ -887,8 +893,8 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
887
893
  display: "flex",
888
894
  "align-items": "center"
889
895
  }
890
- }, null, 8, He)]),
891
- td: D(({ td: e }) => [xe(De(e.name || e), 1)]),
896
+ }, null, 8, Be)]),
897
+ td: D(({ td: e }) => [Se(Oe(e.name || e), 1)]),
892
898
  _: 1
893
899
  }, 8, [
894
900
  "colNames",
@@ -900,26 +906,26 @@ var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
900
906
  "isCursorPointer"
901
907
  ]))]),
902
908
  _: 2
903
- }, [R.value.table.useDialog ? {
909
+ }, [F.value.table.useDialog ? {
904
910
  name: "title",
905
- fn: D(() => [xe(De($.value.title), 1)]),
911
+ fn: D(() => [Se(Oe($.value.title), 1)]),
906
912
  key: "0"
907
- } : void 0, R.value.table.useDialog ? {
913
+ } : void 0, F.value.table.useDialog ? {
908
914
  name: "actions",
909
915
  fn: D(() => [h("button", {
910
916
  tabindex: "0",
911
917
  class: "vue-ui-user-options-button",
912
- onClick: t[1] ||= (e) => Nt(R.value.userOptions.callbacks.csv),
913
- style: x({ cursor: z.value ? "pointer" : "default" })
914
- }, [g(T(We), {
918
+ onClick: t[1] ||= (e) => jt(F.value.userOptions.callbacks.csv),
919
+ style: x({ cursor: I.value ? "pointer" : "default" })
920
+ }, [g(T(He), {
915
921
  name: "fileCsv",
916
922
  stroke: $.value.props.color
917
923
  }, null, 8, ["stroke"])], 4)]),
918
924
  key: "1"
919
925
  } : void 0]), 1040)) : p("", !0),
920
- w(e.$slots, "skeleton", {}, () => [T(B) ? (S(), f(ue, { key: 0 })) : p("", !0)], !0)
921
- ], 46, je));
926
+ w(e.$slots, "skeleton", {}, () => [T(L) ? (S(), f(ue, { key: 0 })) : p("", !0)], !0)
927
+ ], 46, Me));
922
928
  }
923
- }, [["__scopeId", "data-v-102eae3a"]]);
929
+ }, [["__scopeId", "data-v-96a218d7"]]);
924
930
  //#endregion
925
- export { Ae as n, O as t };
931
+ export { je as n, O as t };