vue-data-ui 3.25.2 → 3.25.4

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 (194) hide show
  1. package/dist/{Arrow-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
  3. package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
  4. package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
  5. package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
  6. package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
  7. package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
  8. package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
  9. package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
  11. package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
  12. package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
  13. package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
  14. package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
  15. package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
  16. package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
  17. package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
  18. package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
  91. package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
  92. package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
  93. package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
  94. package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
  95. package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
  96. package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
  97. package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
  103. package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
  104. package/dist/utils.js +2 -2
  105. package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
  106. package/dist/vue-data-ui.js +73 -73
  107. package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
  108. package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
  109. package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
  110. package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
  111. package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
  112. package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
  113. package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
  114. package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
  115. package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
  116. package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
  117. package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
  118. package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
  119. package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
  120. package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
  121. package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
  122. package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
  123. package/dist/vue-ui-donut-DfiocufT.js +2413 -0
  124. package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
  125. package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
  126. package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
  127. package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
  128. package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
  129. package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
  130. package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
  131. package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
  132. package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
  133. package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
  134. package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
  135. package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
  136. package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
  137. package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
  138. package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
  139. package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
  140. package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
  141. package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
  142. package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
  143. package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
  144. package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
  145. package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
  146. package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
  147. package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
  148. package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
  149. package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
  150. package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
  151. package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
  152. package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
  153. package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
  154. package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
  155. package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
  156. package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
  157. package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
  158. package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
  159. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
  160. package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
  161. package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
  162. package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
  163. package/dist/vue-ui-table-BQna1wL6.js +1352 -0
  164. package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
  165. package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
  166. package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
  167. package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
  168. package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
  169. package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
  170. package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
  171. package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
  172. package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
  173. package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
  174. package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
  175. package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
  176. package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
  177. package/package.json +1 -1
  178. package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
  179. package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
  180. package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
  181. package/dist/vue-ui-donut-BfehCl28.js +0 -2413
  182. package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
  183. package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
  184. package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
  185. package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
  186. package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
  187. package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
  188. package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
  189. package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
  190. package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
  191. package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
  192. package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
  193. package/dist/vue-ui-table-CftOhYTO.js +0 -1352
  194. package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
@@ -0,0 +1,929 @@
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 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-CyCVHo81.js";
5
+ import { t as le } from "./usePrinter-DISD7q5m.js";
6
+ import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as fe } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as me } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as he } from "./img-DhGApYG0.js";
11
+ import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { t as _e } from "./DefGrad-DVBqDjhO.js";
13
+ import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
14
+ import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
15
+ import { t as be } from "./vue_ui_molecule-CO9L59SF.js";
16
+ import { t as xe } from "./usePanZoom-CYU3B4T3.js";
17
+ import { Fragment as Se, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ce, createTextVNode as we, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Te, nextTick as y, normalizeClass as Ee, normalizeProps as b, normalizeStyle as x, onMounted as De, openBlock as S, ref as C, renderList as Oe, renderSlot as w, resolveDynamicComponent as ke, toDisplayString as Ae, toRefs as je, unref as T, useCssVars as Me, watch as E, withCtx as D } from "vue";
18
+ //#region src/components/vue-ui-molecule.vue
19
+ var Ne = /* @__PURE__ */ e({ default: () => He }), Pe = ["id"], Fe = {
20
+ key: 1,
21
+ ref: "noTitle",
22
+ class: "vue-data-ui-no-title-space",
23
+ style: "height:36px; width: 100%;background:transparent"
24
+ }, Ie = {
25
+ key: 2,
26
+ style: "width:100%;background:transparent;"
27
+ }, Le = ["xmlns", "viewBox"], Re = ["width", "height"], ze = {
28
+ key: 4,
29
+ class: "vue-data-ui-watermark"
30
+ }, Be = {
31
+ key: 5,
32
+ "data-dom-to-png-ignore": "",
33
+ class: "reset-wrapper"
34
+ }, Ve = {
35
+ key: 6,
36
+ ref: "source",
37
+ dir: "auto"
38
+ }, He = /*#__PURE__*/ ge({
39
+ __name: "vue-ui-molecule",
40
+ props: {
41
+ config: {
42
+ type: Object,
43
+ default() {
44
+ return {};
45
+ }
46
+ },
47
+ dataset: {
48
+ type: Array,
49
+ default() {
50
+ return [];
51
+ }
52
+ }
53
+ },
54
+ emits: ["selectNode", "copyAlt"],
55
+ setup(e, { expose: ge, emit: Ne }) {
56
+ Me((e) => ({ v168d8cce: Qt.value }));
57
+ let He = _(() => import("./Title-CPHi-evi.js").then((e) => e.t)), Ue = _(() => import("./Tooltip-hhrkQ3Lk.js")), We = _(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Ge = _(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), Ke = _(() => import("./DataTable-COIO9gi4.js")), qe = _(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Je = _(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Ye = _(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), Xe = _(() => import("./RecursiveLinks-BygcpDiT.js")), Ze = _(() => import("./RecursiveLabels-D9rfID6q.js")), Qe = _(() => import("./RecursiveCircles-D6aDPmoe.js")), $e = _(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_molecule: et } = ce(), { isThemeValid: tt, warnInvalidTheme: nt } = pe(), O = e, rt = Ne, it = d(() => !!O.dataset && O.dataset.length);
58
+ De(() => {
59
+ ot();
60
+ });
61
+ let at = d(() => N.value.debug);
62
+ function ot() {
63
+ ee(O.dataset) && u({
64
+ componentName: "VueUiMolecule",
65
+ type: "dataset",
66
+ debug: at.value
67
+ });
68
+ }
69
+ let st = C(re()), ct = C(!1), k = C(""), A = C(null), lt = C(0), ut = C(0), dt = C(0), j = C(null), M = C(null), N = C(z());
70
+ oe({
71
+ config: () => N.value,
72
+ dataset: () => O.dataset,
73
+ component: "VueUiMolecule",
74
+ rules: [
75
+ se.emptyArray,
76
+ {
77
+ test: (e) => e[0] && e[0].nodes && e[0].nodes.length === 0,
78
+ message: [
79
+ "👀 There are no children nodes attached to the root node. Consider:",
80
+ "",
81
+ "▶️ Adding children nodes to the root node."
82
+ ]
83
+ },
84
+ {
85
+ test: (e) => e[0] && e[0].nodes && e[0].nodes.length > 8,
86
+ message: [
87
+ "👀 The number of children nodes > 8, some nodes might overlap. Consider:",
88
+ "",
89
+ "▶️ Grouping data into broader categories."
90
+ ]
91
+ }
92
+ ]
93
+ });
94
+ let P = d(() => N.value.userOptions.useCursorPointer), ft = d(() => c({
95
+ defaultConfig: {
96
+ userOptions: { show: !1 },
97
+ table: { show: !1 },
98
+ style: { chart: {
99
+ backgroundColor: "#99999930",
100
+ nodes: { stroke: "#6A6A6A" },
101
+ links: { stroke: "#6A6A6A80" }
102
+ } }
103
+ },
104
+ userConfig: N.value.skeletonConfig ?? {}
105
+ })), { loading: F, FINAL_DATASET: I } = ue({
106
+ ...je(O),
107
+ FINAL_CONFIG: N,
108
+ prepareConfig: z,
109
+ skeletonDataset: O.config?.skeletonDataset ?? [{
110
+ name: "_",
111
+ color: "#CACACA",
112
+ nodes: [
113
+ {
114
+ name: "_",
115
+ color: "#CACACA",
116
+ nodes: [
117
+ {
118
+ name: "_",
119
+ color: "#CACACA"
120
+ },
121
+ {
122
+ name: "_",
123
+ color: "#CACACA"
124
+ },
125
+ {
126
+ name: "_",
127
+ color: "#CACACA"
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ name: "_",
133
+ color: "#CACACA",
134
+ nodes: [
135
+ {
136
+ name: "_",
137
+ color: "#CACACA"
138
+ },
139
+ {
140
+ name: "_",
141
+ color: "#CACACA"
142
+ },
143
+ {
144
+ name: "_",
145
+ color: "#CACACA"
146
+ }
147
+ ]
148
+ },
149
+ {
150
+ name: "_",
151
+ color: "#CACACA",
152
+ nodes: [
153
+ {
154
+ name: "_",
155
+ color: "#CACACA"
156
+ },
157
+ {
158
+ name: "_",
159
+ color: "#CACACA"
160
+ },
161
+ {
162
+ name: "_",
163
+ color: "#CACACA"
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ name: "_",
169
+ color: "#CACACA",
170
+ nodes: [
171
+ {
172
+ name: "_",
173
+ color: "#CACACA"
174
+ },
175
+ {
176
+ name: "_",
177
+ color: "#CACACA"
178
+ },
179
+ {
180
+ name: "_",
181
+ color: "#CACACA"
182
+ }
183
+ ]
184
+ },
185
+ {
186
+ name: "_",
187
+ color: "#CACACA",
188
+ nodes: [
189
+ {
190
+ name: "_",
191
+ color: "#CACACA"
192
+ },
193
+ {
194
+ name: "_",
195
+ color: "#CACACA"
196
+ },
197
+ {
198
+ name: "_",
199
+ color: "#CACACA"
200
+ }
201
+ ]
202
+ },
203
+ {
204
+ name: "_",
205
+ color: "#CACACA",
206
+ nodes: [
207
+ {
208
+ name: "_",
209
+ color: "#CACACA"
210
+ },
211
+ {
212
+ name: "_",
213
+ color: "#CACACA"
214
+ },
215
+ {
216
+ name: "_",
217
+ color: "#CACACA"
218
+ }
219
+ ]
220
+ }
221
+ ]
222
+ }],
223
+ skeletonConfig: c({
224
+ defaultConfig: N.value,
225
+ userConfig: ft.value
226
+ })
227
+ }), { userOptionsVisible: L, setUserOptionsVisibility: pt, keepUserOptionState: mt } = ve({ config: N.value }), { svgRef: R } = ye({ config: N.value.style.chart.title });
228
+ function z() {
229
+ let e = fe({
230
+ userConfig: O.config,
231
+ defaultConfig: et
232
+ }), t = e.theme;
233
+ if (!t) return e;
234
+ if (!tt.value(e)) return nt(e), e;
235
+ let n = fe({
236
+ userConfig: be[t] || O.config,
237
+ defaultConfig: e
238
+ }), r = fe({
239
+ userConfig: O.config,
240
+ defaultConfig: n
241
+ });
242
+ return {
243
+ ...r,
244
+ customPalette: r.customPalette.length ? r.customPalette : o[t] || i
245
+ };
246
+ }
247
+ E(() => O.config, (e) => {
248
+ N.value = z(), L.value = !N.value.userOptions.showOnChartHover, ot(), ut.value += 1, dt.value += 1, H.value.showTable = N.value.table.show, H.value.showTooltip = N.value.style.chart.tooltip.show, H.value.showZoom = N.value.style.chart.zoom.show;
249
+ }, { deep: !0 });
250
+ let ht = C(0), gt = () => {
251
+ ht.value += 1;
252
+ };
253
+ E([() => F.value, () => I.value], async ([e]) => {
254
+ e || (await y(), U.value = St(), await y(), gt(), await y(), Vt({
255
+ x: 0,
256
+ y: 0,
257
+ width: 400,
258
+ height: 400
259
+ }), Q(!1));
260
+ }, {
261
+ flush: "post",
262
+ deep: !1
263
+ });
264
+ let { isPrinting: B, isImaging: V, generatePdf: _t, generateImage: vt } = le({
265
+ elementId: `cluster_${st.value}`,
266
+ fileName: N.value.style.chart.title.text || "vue-ui-molecule",
267
+ options: N.value.userOptions.print
268
+ }), yt = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), bt = d(() => ae(N.value.customPalette)), H = C({
269
+ showTable: N.value.table.show,
270
+ showDataLabels: !0,
271
+ showTooltip: N.value.style.chart.tooltip.show,
272
+ showZoom: N.value.style.chart.zoom.show
273
+ });
274
+ E(N, () => {
275
+ H.value = {
276
+ showTable: N.value.table.show,
277
+ showDataLabels: !0,
278
+ showTooltip: N.value.style.chart.tooltip.show,
279
+ showZoom: N.value.style.chart.zoom.show
280
+ };
281
+ }, { immediate: !0 });
282
+ function xt(e, t = 0) {
283
+ return Array.isArray(e) && e.length > 0 && e[0].nodes ? xt(e[0].nodes, t + 1) : t;
284
+ }
285
+ function St() {
286
+ let e = xt(I.value), t = 100, n = t;
287
+ for (let r = 0; r < e; r += 1) t /= 1, n += t;
288
+ return {
289
+ height: n,
290
+ width: n
291
+ };
292
+ }
293
+ let U = C(St());
294
+ function Ct(e, t = {
295
+ x: -U.value.width / 2.43,
296
+ y: U.value.height / 2
297
+ }, n = U.value.width / 1.1, r = 24, ee = 0, o = 0, s = "#BBBBBB", c = 0) {
298
+ if (!Array.isArray(e) || e.length === 0) return e;
299
+ let ne = a({
300
+ plot: t,
301
+ radius: n,
302
+ sides: e.length,
303
+ rotation: ee
304
+ });
305
+ return e.forEach((e, t) => {
306
+ let a = ne.coordinates[t], l = e.color ? (() => {
307
+ let t = te(e.color);
308
+ return t.startsWith("#") ? t : `#${t}`;
309
+ })() : null, u;
310
+ l ? u = l : c === 0 ? u = s : c === 1 ? (u = bt.value[o] || i[o] || s, o += 1) : u = s, e.polygonPath = { coordinates: [a] }, e.circleRadius = r, e.color = u, e.strokeWidth = Math.min(N.value.style.chart.links.strokeWidth / (c + 1), r / 2), e.uid = re(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Ct(e.nodes, a, n / 2.9, r / 2.2, ee + Math.PI * t / e.nodes.length, o, u, c + 1));
311
+ }), e;
312
+ }
313
+ function wt(e) {
314
+ let t = /* @__PURE__ */ new Set();
315
+ function n(e) {
316
+ e.forEach((e) => {
317
+ if (!e.color) return;
318
+ let r = e.color;
319
+ /^#?[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
+ });
321
+ }
322
+ n(e);
323
+ let r = {};
324
+ return Array.from(t).forEach((e) => {
325
+ let t = e.slice(1);
326
+ r[e] = `gradient_${t}`;
327
+ }), r;
328
+ }
329
+ let Tt = d(() => wt(W.value)), W = d(() => Ct(s(I.value))), G = C(null);
330
+ function Et(e) {
331
+ G.value = {
332
+ datapoint: e,
333
+ seriesIndex: -1,
334
+ series: W.value,
335
+ config: N.value
336
+ };
337
+ let t = N.value.style.chart.tooltip.customFormat;
338
+ if (n(t) && l(() => t({
339
+ seriesIndex: -1,
340
+ datapoint: e,
341
+ series: W.value,
342
+ config: N.value
343
+ }))) k.value = t({
344
+ seriesIndex: -1,
345
+ datapoint: e,
346
+ series: W.value,
347
+ config: N.value
348
+ });
349
+ else {
350
+ 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 ${N.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), k.value = `<div style="font-family:inherit">${t}</div>`;
352
+ }
353
+ }
354
+ let K = C(null), q = C(null), Dt = C(null);
355
+ function Ot(e) {
356
+ Dt.value = K.value, K.value = e, e ? N.value.events.datapointEnter && N.value.events.datapointEnter({
357
+ datapoint: e,
358
+ seriesIndex: -1
359
+ }) : N.value.events.datapointLeave && N.value.events.datapointLeave({
360
+ datapoint: Dt.value || K.value,
361
+ seriesIndex: -1
362
+ }), e ? (ct.value = !0, Et(e), q.value = e.uid) : (ct.value = !1, k.value = "", q.value = null);
363
+ }
364
+ function kt(e) {
365
+ let t = [];
366
+ function n(e) {
367
+ e.forEach((e) => {
368
+ let r = {
369
+ name: e.name,
370
+ details: e.details || "-",
371
+ ancestor: e.ancestor && e.ancestor.name || "-",
372
+ color: e.color || ""
373
+ };
374
+ t.push(r), e.nodes && e.nodes.length > 0 && n(e.nodes, e.name);
375
+ });
376
+ }
377
+ return n(e), t;
378
+ }
379
+ let At = d(() => kt(W.value)), J = d(() => ({
380
+ head: [
381
+ N.value.table.translations.nodeName,
382
+ N.value.table.translations.details,
383
+ N.value.table.translations.ancestor
384
+ ],
385
+ body: At.value.map((e, t) => [
386
+ {
387
+ color: e.color,
388
+ name: e.name
389
+ },
390
+ e.details,
391
+ e.ancestor || ""
392
+ ]),
393
+ config: {
394
+ th: {
395
+ backgroundColor: N.value.table.th.backgroundColor,
396
+ color: N.value.table.th.color,
397
+ outline: N.value.table.th.outline
398
+ },
399
+ td: {
400
+ backgroundColor: N.value.table.td.backgroundColor,
401
+ color: N.value.table.td.color,
402
+ outline: N.value.table.td.outline
403
+ },
404
+ breakpoint: N.value.table.responsiveBreakpoint
405
+ },
406
+ colNames: [
407
+ N.value.table.translations.nodeName,
408
+ N.value.table.translations.details,
409
+ N.value.table.translations.ancestor
410
+ ]
411
+ }));
412
+ function jt(e = null) {
413
+ y(() => {
414
+ let n = J.value.body.map((e, t) => [
415
+ [e[0].name],
416
+ [e[1]],
417
+ [e[2]]
418
+ ]), i = [
419
+ [N.value.style.chart.title.text],
420
+ [N.value.style.chart.title.subtitle.text],
421
+ [[...J.value.head]]
422
+ ].concat(n), a = r(i);
423
+ e ? e(a) : t({
424
+ csvContent: a,
425
+ title: N.value.style.chart.title.text || "vue-ui-molecule"
426
+ });
427
+ });
428
+ }
429
+ function Mt() {
430
+ return W.value;
431
+ }
432
+ let Y = C(!1);
433
+ function Nt(e) {
434
+ Y.value = e, lt.value += 1;
435
+ }
436
+ function Pt() {
437
+ H.value.showTable = !H.value.showTable;
438
+ }
439
+ function Ft() {
440
+ H.value.showDataLabels = !H.value.showDataLabels;
441
+ }
442
+ function It() {
443
+ H.value.showTooltip = !H.value.showTooltip;
444
+ }
445
+ function Lt() {
446
+ H.value.showZoom = !H.value.showZoom;
447
+ }
448
+ let X = C(!1);
449
+ function Rt() {
450
+ X.value = !X.value;
451
+ }
452
+ let zt = d(() => !X.value && H.value.showZoom), { viewBox: Z, resetZoom: Q, isZoom: Bt, setInitialViewBox: Vt } = xe(R, {
453
+ x: 0,
454
+ y: 0,
455
+ width: Math.max(10, U.value.width),
456
+ height: Math.max(10, U.value.height)
457
+ }, N.value.style.chart.zoom.speed, zt);
458
+ function Ht(e) {
459
+ N.value.events.datapointClick && N.value.events.datapointClick({
460
+ datapoint: e,
461
+ seriesIndex: -1
462
+ }), rt("selectNode", e);
463
+ }
464
+ async function Ut({ scale: e = 2 } = {}) {
465
+ if (!A.value) return;
466
+ let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
467
+ domElement: A.value,
468
+ base64: !0,
469
+ img: !0,
470
+ scale: e
471
+ });
472
+ return {
473
+ imageUri: i,
474
+ base64: a,
475
+ title: N.value.style.chart.title.text,
476
+ width: t,
477
+ height: n,
478
+ aspectRatio: r
479
+ };
480
+ }
481
+ let $ = d(() => {
482
+ let e = N.value.table.useDialog && !N.value.table.show, t = H.value.showTable;
483
+ return {
484
+ component: e ? $e : Ge,
485
+ title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
486
+ props: e ? {
487
+ backgroundColor: N.value.table.th.backgroundColor,
488
+ color: N.value.table.th.color,
489
+ headerColor: N.value.table.th.color,
490
+ headerBg: N.value.table.th.backgroundColor,
491
+ isFullscreen: Y.value,
492
+ fullscreenParent: A.value,
493
+ forcedWidth: Math.min(800, window.innerWidth * .8),
494
+ isCursorPointer: P.value
495
+ } : {
496
+ hideDetails: !0,
497
+ config: {
498
+ open: t,
499
+ maxHeight: 1e4,
500
+ body: {
501
+ backgroundColor: N.value.style.chart.backgroundColor,
502
+ color: N.value.style.chart.color
503
+ },
504
+ head: {
505
+ backgroundColor: N.value.style.chart.backgroundColor,
506
+ color: N.value.style.chart.color
507
+ }
508
+ }
509
+ }
510
+ };
511
+ });
512
+ E(() => H.value.showTable, (e) => {
513
+ N.value.table.show || (e && N.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
514
+ });
515
+ function Wt() {
516
+ H.value.showTable = !1, M.value && M.value.setTableIconState(!1);
517
+ }
518
+ let Gt = d(() => N.value.style.chart.backgroundColor), Kt = d(() => N.value.style.chart.title), { isCallbackImaging: qt, isCallbackSvg: Jt, generateSvg: Yt, onGenerateImage: Xt } = me({
519
+ svg: R,
520
+ title: Kt,
521
+ legend: null,
522
+ legendItems: null,
523
+ backgroundColor: Gt,
524
+ getSvgCallback: () => N.value.userOptions.callbacks.svg,
525
+ generateImage: vt
526
+ });
527
+ async function Zt() {
528
+ if (rt("copyAlt", {
529
+ config: N.value,
530
+ dataset: W.value
531
+ }), !N.value.userOptions.callbacks.altCopy) {
532
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
533
+ return;
534
+ }
535
+ await Promise.resolve(N.value.userOptions.callbacks.altCopy({
536
+ config: N.value,
537
+ dataset: W.value
538
+ }));
539
+ }
540
+ let Qt = d(() => N.value.style.chart.color);
541
+ return ge({
542
+ getData: Mt,
543
+ getImage: Ut,
544
+ generatePdf: _t,
545
+ generateCsv: jt,
546
+ generateImage: vt,
547
+ generateSvg: Yt,
548
+ toggleTable: Pt,
549
+ toggleLabels: Ft,
550
+ toggleTooltip: It,
551
+ toggleAnnotator: Rt,
552
+ toggleFullscreen: Nt,
553
+ toggleZoom: Lt,
554
+ copyAlt: Zt
555
+ }), (e, t) => (S(), m("div", {
556
+ ref_key: "moleculeChart",
557
+ ref: A,
558
+ class: Ee(`vue-data-ui-component vue-ui-molecule ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
559
+ style: x(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor}`),
560
+ id: `cluster_${st.value}`,
561
+ onMouseleave: t[2] ||= (e) => {
562
+ K.value = null, q.value = null, T(pt)(!1);
563
+ },
564
+ onMouseenter: t[3] ||= () => T(pt)(!0)
565
+ }, [
566
+ N.value.userOptions.buttons.annotator && T(R) ? (S(), f(T(qe), {
567
+ key: 0,
568
+ svgRef: T(R),
569
+ backgroundColor: N.value.style.chart.backgroundColor,
570
+ color: N.value.style.chart.color,
571
+ active: X.value,
572
+ isCursorPointer: P.value,
573
+ onClose: Rt
574
+ }, {
575
+ "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
576
+ "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
577
+ "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
578
+ "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
579
+ "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
580
+ "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
581
+ _: 3
582
+ }, 8, [
583
+ "svgRef",
584
+ "backgroundColor",
585
+ "color",
586
+ "active",
587
+ "isCursorPointer"
588
+ ])) : p("", !0),
589
+ yt.value ? (S(), m("div", Fe, null, 512)) : p("", !0),
590
+ N.value.style.chart.title.text ? (S(), m("div", Ie, [(S(), f(T(He), {
591
+ key: `title_${ut.value}`,
592
+ config: {
593
+ title: {
594
+ cy: "molecule-div-title",
595
+ ...N.value.style.chart.title
596
+ },
597
+ subtitle: {
598
+ cy: "molecule-div-subtitle",
599
+ ...N.value.style.chart.title.subtitle
600
+ }
601
+ }
602
+ }, null, 8, ["config"]))])) : p("", !0),
603
+ N.value.userOptions.show && it.value && (T(mt) || T(L)) ? (S(), f(T(Je), {
604
+ ref_key: "userOptionsRef",
605
+ ref: M,
606
+ key: `user_options_${lt.value}`,
607
+ backgroundColor: N.value.style.chart.backgroundColor,
608
+ color: N.value.style.chart.color,
609
+ isPrinting: T(B),
610
+ isImaging: T(V),
611
+ uid: st.value,
612
+ hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
613
+ hasPdf: N.value.userOptions.buttons.pdf,
614
+ hasXls: N.value.userOptions.buttons.csv,
615
+ hasImg: N.value.userOptions.buttons.img,
616
+ hasSvg: N.value.userOptions.buttons.svg,
617
+ hasTable: N.value.userOptions.buttons.table,
618
+ hasLabel: N.value.userOptions.buttons.labels,
619
+ hasFullscreen: N.value.userOptions.buttons.fullscreen,
620
+ hasAltCopy: N.value.userOptions.buttons.altCopy,
621
+ isTooltip: H.value.showTooltip,
622
+ titles: { ...N.value.userOptions.buttonTitles },
623
+ chartElement: A.value,
624
+ position: N.value.userOptions.position,
625
+ hasAnnotator: N.value.userOptions.buttons.annotator,
626
+ isAnnotation: X.value,
627
+ callbacks: N.value.userOptions.callbacks,
628
+ printScale: N.value.userOptions.print.scale,
629
+ tableDialog: N.value.table.useDialog,
630
+ hasZoom: N.value.userOptions.buttons.zoom,
631
+ isZoom: H.value.showZoom,
632
+ isCursorPointer: P.value,
633
+ onToggleFullscreen: Nt,
634
+ onGeneratePdf: T(_t),
635
+ onGenerateCsv: jt,
636
+ onGenerateImage: T(Xt),
637
+ onGenerateSvg: T(Yt),
638
+ onToggleTable: Pt,
639
+ onToggleLabels: Ft,
640
+ onToggleTooltip: It,
641
+ onToggleAnnotator: Rt,
642
+ onToggleZoom: Lt,
643
+ onCopyAlt: Zt,
644
+ style: x({ visibility: T(mt) ? T(L) ? "visible" : "hidden" : "visible" })
645
+ }, Ce({ _: 2 }, [
646
+ e.$slots.menuIcon ? {
647
+ name: "menuIcon",
648
+ fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
649
+ isOpen: t,
650
+ color: n
651
+ })), void 0, !0)]),
652
+ key: "0"
653
+ } : void 0,
654
+ e.$slots.optionTooltip ? {
655
+ name: "optionTooltip",
656
+ fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
657
+ key: "1"
658
+ } : void 0,
659
+ e.$slots.optionPdf ? {
660
+ name: "optionPdf",
661
+ fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
662
+ key: "2"
663
+ } : void 0,
664
+ e.$slots.optionCsv ? {
665
+ name: "optionCsv",
666
+ fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
667
+ key: "3"
668
+ } : void 0,
669
+ e.$slots.optionImg ? {
670
+ name: "optionImg",
671
+ fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
672
+ key: "4"
673
+ } : void 0,
674
+ e.$slots.optionSvg ? {
675
+ name: "optionSvg",
676
+ fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
677
+ key: "5"
678
+ } : void 0,
679
+ e.$slots.optionTable ? {
680
+ name: "optionTable",
681
+ fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
682
+ key: "6"
683
+ } : void 0,
684
+ e.$slots.optionLabels ? {
685
+ name: "optionLabels",
686
+ fn: D(() => [w(e.$slots, "optionLabels", {}, void 0, !0)]),
687
+ key: "7"
688
+ } : void 0,
689
+ e.$slots.optionFullscreen ? {
690
+ name: "optionFullscreen",
691
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(v({
692
+ toggleFullscreen: t,
693
+ isFullscreen: n
694
+ })), void 0, !0)]),
695
+ key: "8"
696
+ } : void 0,
697
+ e.$slots.optionAnnotator ? {
698
+ name: "optionAnnotator",
699
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(v({
700
+ toggleAnnotator: t,
701
+ isAnnotator: n
702
+ })), void 0, !0)]),
703
+ key: "9"
704
+ } : void 0,
705
+ e.$slots.optionZoom ? {
706
+ name: "optionZoom",
707
+ fn: D(({ toggleZoom: t, isZoomLocked: n }) => [w(e.$slots, "optionZoom", b(v({
708
+ toggleZoom: t,
709
+ isZoomLocked: n
710
+ })), void 0, !0)]),
711
+ key: "10"
712
+ } : void 0,
713
+ e.$slots.optionAltCopy ? {
714
+ name: "optionAltCopy",
715
+ fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
716
+ key: "11"
717
+ } : void 0,
718
+ e.$slots["custom-menu-before"] ? {
719
+ name: "custom-menu-before",
720
+ fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
721
+ key: "12"
722
+ } : void 0,
723
+ e.$slots["custom-menu-after"] ? {
724
+ name: "custom-menu-after",
725
+ fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
726
+ key: "13"
727
+ } : void 0
728
+ ]), 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("."))) : p("", !0),
729
+ (S(), m("svg", {
730
+ ref_key: "svgRef",
731
+ ref: R,
732
+ key: `svg_${ht.value}`,
733
+ xmlns: T(ie),
734
+ viewBox: `${T(Z).x} ${T(Z).y} ${T(Z).width} ${T(Z).height}`,
735
+ class: Ee({
736
+ "vue-data-ui-fullscreen--on": Y.value,
737
+ "vue-data-ui-fulscreen--off": !Y.value
738
+ }),
739
+ style: x(`overflow: hidden; background:transparent;color:${N.value.style.chart.color}`)
740
+ }, [
741
+ g(T(Ye)),
742
+ e.$slots["chart-background"] ? (S(), m("foreignObject", {
743
+ key: 0,
744
+ x: 0,
745
+ y: 0,
746
+ width: U.value.width <= 0 ? 10 : U.value.width,
747
+ height: U.value.height <= 0 ? 10 : U.value.height,
748
+ style: { pointerEvents: "none" }
749
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Re)) : p("", !0),
750
+ h("defs", null, [(S(!0), m(Se, null, Oe(Object.keys(Tt.value), (e, t) => (S(), f(_e, {
751
+ t: "radial",
752
+ id: `gradient_${e}`,
753
+ key: `gradient_${e}_${t}`,
754
+ cx: "50%",
755
+ cy: "30%",
756
+ r: "50%",
757
+ fx: "50%",
758
+ fy: "50%",
759
+ stops: [[
760
+ "0%",
761
+ T(ne)(e, .5),
762
+ 1
763
+ ], [
764
+ "100%",
765
+ e,
766
+ 1
767
+ ]]
768
+ }, null, 8, ["id", "stops"]))), 128))]),
769
+ g(T(Xe), {
770
+ dataset: W.value,
771
+ color: N.value.style.chart.links.stroke,
772
+ backgroundColor: N.value.style.chart.backgroundColor,
773
+ useChildColor: N.value.style.chart.links.useChildColor
774
+ }, null, 8, [
775
+ "dataset",
776
+ "color",
777
+ "backgroundColor",
778
+ "useChildColor"
779
+ ]),
780
+ g(T(Qe), {
781
+ dataset: W.value,
782
+ hoveredUid: q.value,
783
+ stroke: N.value.style.chart.nodes.stroke,
784
+ strokeHovered: N.value.style.chart.nodes.strokeHovered,
785
+ onClick: Ht,
786
+ onHover: Ot
787
+ }, {
788
+ node: D(({ node: t }) => [w(e.$slots, "node", b(v({ node: t })), void 0, !0)]),
789
+ "node-svg": D(({ nodeSvg: t }) => [w(e.$slots, "node-svg", b(v({ nodeSvg: t })), void 0, !0)]),
790
+ _: 3
791
+ }, 8, [
792
+ "dataset",
793
+ "hoveredUid",
794
+ "stroke",
795
+ "strokeHovered"
796
+ ]),
797
+ H.value.showDataLabels && !T(F) ? (S(), f(T(Ze), {
798
+ key: 1,
799
+ dataset: W.value,
800
+ color: N.value.style.chart.color,
801
+ hoveredUid: q.value
802
+ }, null, 8, [
803
+ "dataset",
804
+ "color",
805
+ "hoveredUid"
806
+ ])) : p("", !0),
807
+ w(e.$slots, "svg", { svg: {
808
+ ...U.value,
809
+ drawingArea: { ...T(Z) },
810
+ isPrintingImg: T(B) || T(V) || T(qt),
811
+ isPrintingSvg: T(Jt)
812
+ } }, void 0, !0)
813
+ ], 14, Le)),
814
+ e.$slots.watermark ? (S(), m("div", ze, [w(e.$slots, "watermark", b(v({ isPrinting: T(B) || T(V) || T(qt) || T(Jt) })), void 0, !0)])) : p("", !0),
815
+ T(Bt) ? (S(), m("div", Be, [w(e.$slots, "reset-action", { reset: T(Q) }, () => [h("button", {
816
+ "data-cy-reset": "",
817
+ tabindex: "0",
818
+ role: "button",
819
+ class: "vue-data-ui-refresh-button",
820
+ style: x({
821
+ background: N.value.style.chart.backgroundColor,
822
+ cursor: P.value ? "pointer" : "default"
823
+ }),
824
+ onClick: t[0] ||= (e) => T(Q)(!0)
825
+ }, [g(T(We), {
826
+ name: "refresh",
827
+ stroke: N.value.style.chart.color
828
+ }, null, 8, ["stroke"])], 4)], !0)])) : p("", !0),
829
+ e.$slots.source ? (S(), m("div", Ve, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
830
+ g(T(Ue), {
831
+ teleportTo: N.value.style.chart.tooltip.teleportTo,
832
+ show: H.value.showTooltip && ct.value,
833
+ backgroundColor: N.value.style.chart.tooltip.backgroundColor,
834
+ color: N.value.style.chart.tooltip.color,
835
+ borderRadius: N.value.style.chart.tooltip.borderRadius,
836
+ borderColor: N.value.style.chart.tooltip.borderColor,
837
+ borderWidth: N.value.style.chart.tooltip.borderWidth,
838
+ fontSize: N.value.style.chart.tooltip.fontSize,
839
+ backgroundOpacity: N.value.style.chart.tooltip.backgroundOpacity,
840
+ position: N.value.style.chart.tooltip.position,
841
+ offsetX: N.value.style.chart.tooltip.offsetX,
842
+ offsetY: N.value.style.chart.tooltip.offsetY,
843
+ parent: A.value,
844
+ content: k.value,
845
+ isFullscreen: Y.value,
846
+ isCustom: N.value.style.chart.tooltip.customFormat && typeof N.value.style.chart.tooltip.customFormat == "function",
847
+ smooth: N.value.style.chart.tooltip.smooth,
848
+ backdropFilter: N.value.style.chart.tooltip.backdropFilter,
849
+ smoothForce: N.value.style.chart.tooltip.smoothForce,
850
+ smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold
851
+ }, {
852
+ "tooltip-before": D(() => [w(e.$slots, "tooltip-before", b(v({ ...G.value })), void 0, !0)]),
853
+ tooltip: D(() => [w(e.$slots, "tooltip", b(v({ ...G.value })), void 0, !0)]),
854
+ "tooltip-after": D(() => [w(e.$slots, "tooltip-after", b(v({ ...G.value })), void 0, !0)]),
855
+ _: 3
856
+ }, 8, [
857
+ "teleportTo",
858
+ "show",
859
+ "backgroundColor",
860
+ "color",
861
+ "borderRadius",
862
+ "borderColor",
863
+ "borderWidth",
864
+ "fontSize",
865
+ "backgroundOpacity",
866
+ "position",
867
+ "offsetX",
868
+ "offsetY",
869
+ "parent",
870
+ "content",
871
+ "isFullscreen",
872
+ "isCustom",
873
+ "smooth",
874
+ "backdropFilter",
875
+ "smoothForce",
876
+ "smoothSnapThreshold"
877
+ ]),
878
+ it.value && N.value.userOptions.buttons.table ? (S(), f(ke($.value.component), Te({ key: 7 }, $.value.props, {
879
+ ref_key: "tableUnit",
880
+ ref: j,
881
+ onClose: Wt
882
+ }), Ce({
883
+ content: D(() => [(S(), f(T(Ke), {
884
+ key: `table_${dt.value}`,
885
+ colNames: J.value.colNames,
886
+ head: J.value.head,
887
+ body: J.value.body,
888
+ config: J.value.config,
889
+ title: N.value.table.useDialog ? "" : $.value.title,
890
+ withCloseButton: !N.value.table.useDialog,
891
+ isCursorPointer: P.value,
892
+ onClose: Wt
893
+ }, {
894
+ th: D(({ th: e }) => [h("div", null, Ae(e), 1)]),
895
+ td: D(({ td: e }) => [we(Ae(e.name || e), 1)]),
896
+ _: 1
897
+ }, 8, [
898
+ "colNames",
899
+ "head",
900
+ "body",
901
+ "config",
902
+ "title",
903
+ "withCloseButton",
904
+ "isCursorPointer"
905
+ ]))]),
906
+ _: 2
907
+ }, [N.value.table.useDialog ? {
908
+ name: "title",
909
+ fn: D(() => [we(Ae($.value.title), 1)]),
910
+ key: "0"
911
+ } : void 0, N.value.table.useDialog ? {
912
+ name: "actions",
913
+ fn: D(() => [h("button", {
914
+ tabindex: "0",
915
+ class: "vue-ui-user-options-button",
916
+ onClick: t[1] ||= (e) => jt(N.value.userOptions.callbacks.csv),
917
+ style: x({ cursor: P.value ? "pointer" : "default" })
918
+ }, [g(T(We), {
919
+ name: "fileCsv",
920
+ stroke: $.value.props.color
921
+ }, null, 8, ["stroke"])], 4)]),
922
+ key: "1"
923
+ } : void 0]), 1040)) : p("", !0),
924
+ w(e.$slots, "skeleton", {}, () => [T(F) ? (S(), f(de, { key: 0 })) : p("", !0)], !0)
925
+ ], 46, Pe));
926
+ }
927
+ }, [["__scopeId", "data-v-09af1533"]]);
928
+ //#endregion
929
+ export { Ne as n, He as t };