vue-data-ui 3.22.4 → 3.22.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/{Arrow-CgzmXCW_.js → Arrow-Ds4xmpiQ.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
  3. package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
  4. package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
  5. package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
  6. package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
  7. package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
  8. package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
  10. package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
  11. package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
  12. package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
  13. package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
  14. package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
  15. package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
  16. package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
  17. package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
  18. package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.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-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-ZOysoMwu.js → dom-to-png-CVJfsfwL.js} +1 -1
  89. package/dist/exposedLib-CjwriUaG.js +19 -0
  90. package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
  91. package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
  92. package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
  93. package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
  94. package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
  95. package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.js} +22 -22
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +14 -0
  101. package/dist/types/vue-ui-treemap.d.ts +3 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
  103. package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
  104. package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
  105. package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
  106. package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
  107. package/dist/utils.js +10 -10
  108. package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
  109. package/dist/vue-data-ui.js +73 -73
  110. package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
  111. package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
  113. package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
  114. package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
  115. package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
  116. package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
  117. package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
  118. package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
  119. package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
  120. package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
  121. package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
  122. package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
  123. package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
  124. package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
  125. package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
  126. package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
  127. package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
  128. package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
  129. package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
  130. package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
  131. package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
  132. package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
  133. package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
  134. package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
  135. package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
  136. package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
  137. package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
  138. package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
  139. package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
  140. package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
  141. package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
  142. package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
  143. package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
  144. package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
  145. package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
  146. package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
  147. package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
  148. package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
  149. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
  150. package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
  151. package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
  152. package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
  153. package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
  154. package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
  155. package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
  156. package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
  157. package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
  158. package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
  159. package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
  160. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
  161. package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
  162. package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
  163. package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
  164. package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
  165. package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
  166. package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
  167. package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
  168. package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
  169. package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
  170. package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
  171. package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
  172. package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
  173. package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
  174. package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
  175. package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
  176. package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
  177. package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
  178. package/package.json +1 -1
  179. package/dist/exposedLib-C2U48XK7.js +0 -19
  180. package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
  181. package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
  182. package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
  183. package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
  184. package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
  185. package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
  186. package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
  187. package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
  188. package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
  189. package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
  190. package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
  191. package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
  192. package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
  193. package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
  194. package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
  195. package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
  196. package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
@@ -0,0 +1,925 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { At as t, Dt as n, Ht as r, J as i, Q as a, S as o, W as ee, Wt as s, X as c, _t as te, at as l, b as ne, k as u, t as d, w as re, wt as ie } from "./lib-DRBJCmHW.js";
3
+ import { t as ae } from "./useConfig-DYM3f6EI.js";
4
+ import { t as oe } from "./usePrinter-CRp5IW3v.js";
5
+ import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as le } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as f } from "./useNestedProp-BEo2N1Db.js";
8
+ import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as de } from "./img-B_y5qDdm.js";
10
+ import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
+ import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
12
+ import { t as me } from "./useChartAccessibility-DYqac8yF.js";
13
+ import { t as he } from "./vue_ui_molecule-CO9L59SF.js";
14
+ import { t as ge } from "./usePanZoom-CYU3B4T3.js";
15
+ import { Fragment as _e, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as ve, createTextVNode as ye, createVNode as v, defineAsyncComponent as y, guardReactiveProps as b, mergeProps as be, nextTick as x, normalizeClass as xe, normalizeProps as S, normalizeStyle as C, onMounted as Se, openBlock as w, ref as T, renderList as Ce, renderSlot as E, resolveDynamicComponent as we, toDisplayString as Te, toRefs as Ee, unref as D, useCssVars as De, watch as O, withCtx as k } from "vue";
16
+ //#region src/components/vue-ui-molecule.vue
17
+ var Oe = /* @__PURE__ */ e({ default: () => A }), ke = ["id"], Ae = {
18
+ key: 1,
19
+ ref: "noTitle",
20
+ class: "vue-data-ui-no-title-space",
21
+ style: "height:36px; width: 100%;background:transparent"
22
+ }, je = {
23
+ key: 2,
24
+ style: "width:100%;background:transparent;"
25
+ }, Me = ["xmlns", "viewBox"], Ne = ["width", "height"], Pe = ["id"], Fe = ["stop-color"], Ie = ["stop-color"], Le = {
26
+ key: 4,
27
+ class: "vue-data-ui-watermark"
28
+ }, Re = {
29
+ key: 5,
30
+ "data-dom-to-png-ignore": "",
31
+ class: "reset-wrapper"
32
+ }, ze = {
33
+ key: 6,
34
+ ref: "source",
35
+ dir: "auto"
36
+ }, Be = ["innerHTML"], A = /*#__PURE__*/ fe({
37
+ __name: "vue-ui-molecule",
38
+ props: {
39
+ config: {
40
+ type: Object,
41
+ default() {
42
+ return {};
43
+ }
44
+ },
45
+ dataset: {
46
+ type: Array,
47
+ default() {
48
+ return [];
49
+ }
50
+ }
51
+ },
52
+ emits: ["selectNode", "copyAlt"],
53
+ setup(e, { expose: fe, emit: Oe }) {
54
+ De((e) => ({ v2702dffc: en.value }));
55
+ let A = y(() => import("./Title-C-p0ilWB.js").then((e) => e.t)), Ve = y(() => import("./Tooltip-YabpoXo1.js")), He = y(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), Ue = y(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), We = y(() => import("./DataTable-CXfvIulC.js")), Ge = y(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), Ke = y(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), qe = y(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), Je = y(() => import("./RecursiveLinks-BygcpDiT.js")), Ye = y(() => import("./RecursiveLabels-D9rfID6q.js")), Xe = y(() => import("./RecursiveCircles-D6aDPmoe.js")), Ze = y(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_molecule: Qe } = ae(), { isThemeValid: $e, warnInvalidTheme: et } = ue(), j = e, tt = Oe, nt = p(() => !!j.dataset && j.dataset.length);
56
+ Se(() => {
57
+ it();
58
+ });
59
+ let rt = p(() => B.value.debug);
60
+ function it() {
61
+ n(j.dataset) && a({
62
+ componentName: "VueUiMolecule",
63
+ type: "dataset",
64
+ debug: rt.value
65
+ });
66
+ }
67
+ let M = T(ee()), N = T(!1), P = T(""), F = T(null), at = T(0), ot = T(0), st = T(0), I = T(null), L = T(null), R = T(!1), z = T(!1), B = T(mt()), V = p(() => B.value.userOptions.useCursorPointer), ct = p(() => s({
68
+ defaultConfig: {
69
+ userOptions: { show: !1 },
70
+ table: { show: !1 },
71
+ style: { chart: {
72
+ backgroundColor: "#99999930",
73
+ nodes: { stroke: "#6A6A6A" },
74
+ links: { stroke: "#6A6A6A80" }
75
+ } }
76
+ },
77
+ userConfig: B.value.skeletonConfig ?? {}
78
+ })), { loading: lt, FINAL_DATASET: ut } = se({
79
+ ...Ee(j),
80
+ FINAL_CONFIG: B,
81
+ prepareConfig: mt,
82
+ skeletonDataset: j.config?.skeletonDataset ?? [{
83
+ name: "_",
84
+ color: "#CACACA",
85
+ nodes: [
86
+ {
87
+ name: "_",
88
+ color: "#CACACA",
89
+ nodes: [
90
+ {
91
+ name: "_",
92
+ color: "#CACACA"
93
+ },
94
+ {
95
+ name: "_",
96
+ color: "#CACACA"
97
+ },
98
+ {
99
+ name: "_",
100
+ color: "#CACACA"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ name: "_",
106
+ color: "#CACACA",
107
+ nodes: [
108
+ {
109
+ name: "_",
110
+ color: "#CACACA"
111
+ },
112
+ {
113
+ name: "_",
114
+ color: "#CACACA"
115
+ },
116
+ {
117
+ name: "_",
118
+ color: "#CACACA"
119
+ }
120
+ ]
121
+ },
122
+ {
123
+ name: "_",
124
+ color: "#CACACA",
125
+ nodes: [
126
+ {
127
+ name: "_",
128
+ color: "#CACACA"
129
+ },
130
+ {
131
+ name: "_",
132
+ color: "#CACACA"
133
+ },
134
+ {
135
+ name: "_",
136
+ color: "#CACACA"
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ name: "_",
142
+ color: "#CACACA",
143
+ nodes: [
144
+ {
145
+ name: "_",
146
+ color: "#CACACA"
147
+ },
148
+ {
149
+ name: "_",
150
+ color: "#CACACA"
151
+ },
152
+ {
153
+ name: "_",
154
+ color: "#CACACA"
155
+ }
156
+ ]
157
+ },
158
+ {
159
+ name: "_",
160
+ color: "#CACACA",
161
+ nodes: [
162
+ {
163
+ name: "_",
164
+ color: "#CACACA"
165
+ },
166
+ {
167
+ name: "_",
168
+ color: "#CACACA"
169
+ },
170
+ {
171
+ name: "_",
172
+ color: "#CACACA"
173
+ }
174
+ ]
175
+ },
176
+ {
177
+ name: "_",
178
+ color: "#CACACA",
179
+ nodes: [
180
+ {
181
+ name: "_",
182
+ color: "#CACACA"
183
+ },
184
+ {
185
+ name: "_",
186
+ color: "#CACACA"
187
+ },
188
+ {
189
+ name: "_",
190
+ color: "#CACACA"
191
+ }
192
+ ]
193
+ }
194
+ ]
195
+ }],
196
+ skeletonConfig: s({
197
+ defaultConfig: B.value,
198
+ userConfig: ct.value
199
+ })
200
+ }), { userOptionsVisible: dt, setUserOptionsVisibility: ft, keepUserOptionState: pt } = pe({ config: B.value }), { svgRef: H } = me({ config: B.value.style.chart.title });
201
+ function mt() {
202
+ let e = f({
203
+ userConfig: j.config,
204
+ defaultConfig: Qe
205
+ }), n = e.theme;
206
+ if (!n) return e;
207
+ if (!$e.value(e)) return et(e), e;
208
+ let i = f({
209
+ userConfig: he[n] || j.config,
210
+ defaultConfig: e
211
+ }), a = f({
212
+ userConfig: j.config,
213
+ defaultConfig: i
214
+ });
215
+ return {
216
+ ...a,
217
+ customPalette: a.customPalette.length ? a.customPalette : r[n] || t
218
+ };
219
+ }
220
+ O(() => j.config, (e) => {
221
+ B.value = mt(), dt.value = !B.value.userOptions.showOnChartHover, it(), ot.value += 1, st.value += 1, U.value.showTable = B.value.table.show, U.value.showTooltip = B.value.style.chart.tooltip.show, U.value.showZoom = B.value.style.chart.zoom.show;
222
+ }, { deep: !0 });
223
+ let ht = T(0), gt = () => {
224
+ ht.value += 1;
225
+ };
226
+ O([() => lt.value, () => ut.value], async ([e]) => {
227
+ e || (await x(), W.value = wt(), await x(), gt(), await x(), Wt({
228
+ x: 0,
229
+ y: 0,
230
+ width: 400,
231
+ height: 400
232
+ }), Ht(!1));
233
+ }, {
234
+ flush: "post",
235
+ deep: !1
236
+ });
237
+ let { isPrinting: _t, isImaging: vt, generatePdf: yt, generateImage: bt } = oe({
238
+ elementId: `cluster_${M.value}`,
239
+ fileName: B.value.style.chart.title.text || "vue-ui-molecule",
240
+ options: B.value.userOptions.print
241
+ }), xt = p(() => B.value.userOptions.show && !B.value.style.chart.title.text), St = p(() => o(B.value.customPalette)), U = T({
242
+ showTable: B.value.table.show,
243
+ showDataLabels: !0,
244
+ showTooltip: B.value.style.chart.tooltip.show,
245
+ showZoom: B.value.style.chart.zoom.show
246
+ });
247
+ O(B, () => {
248
+ U.value = {
249
+ showTable: B.value.table.show,
250
+ showDataLabels: !0,
251
+ showTooltip: B.value.style.chart.tooltip.show,
252
+ showZoom: B.value.style.chart.zoom.show
253
+ };
254
+ }, { 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;
257
+ }
258
+ function wt() {
259
+ let e = Ct(ut.value), t = 100, n = t;
260
+ for (let r = 0; r < e; r += 1) t /= 1, n += t;
261
+ return {
262
+ height: n,
263
+ width: n
264
+ };
265
+ }
266
+ let W = T(wt());
267
+ function Tt(e, n = {
268
+ x: -W.value.width / 2.43,
269
+ y: W.value.height / 2
270
+ }, r = W.value.width / 1.1, i = 24, a = 0, o = 0, s = "#BBBBBB", c = 0) {
271
+ if (!Array.isArray(e) || e.length === 0) return e;
272
+ let te = u({
273
+ plot: n,
274
+ radius: r,
275
+ sides: e.length,
276
+ rotation: a
277
+ });
278
+ return e.forEach((e, n) => {
279
+ let l = te.coordinates[n], u = e.color ? (() => {
280
+ let t = ne(e.color);
281
+ return t.startsWith("#") ? t : `#${t}`;
282
+ })() : null, d;
283
+ u ? d = u : c === 0 ? d = s : c === 1 ? (d = St.value[o] || t[o] || s, o += 1) : d = s, e.polygonPath = { coordinates: [l] }, e.circleRadius = i, e.color = d, e.strokeWidth = Math.min(B.value.style.chart.links.strokeWidth / (c + 1), i / 2), e.uid = ee(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Tt(e.nodes, l, r / 2.9, i / 2.2, a + Math.PI * n / e.nodes.length, o, d, c + 1));
284
+ }), e;
285
+ }
286
+ function Et(e) {
287
+ let t = /* @__PURE__ */ new Set();
288
+ function n(e) {
289
+ e.forEach((e) => {
290
+ if (!e.color) return;
291
+ let r = e.color;
292
+ /^#?[0-9A-F]{6}$/i.test(r) || (r = ne(r)), r.startsWith("#") || (r = `#${r}`), t.add(r), Array.isArray(e.nodes) && e.nodes.length && n(e.nodes);
293
+ });
294
+ }
295
+ n(e);
296
+ let r = {};
297
+ return Array.from(t).forEach((e) => {
298
+ r[e] = `gradient_${e.slice(1)}`;
299
+ }), r;
300
+ }
301
+ let Dt = p(() => Et(G.value)), G = p(() => Tt(i(ut.value))), K = T(null);
302
+ function Ot(e) {
303
+ K.value = {
304
+ datapoint: e,
305
+ seriesIndex: -1,
306
+ series: G.value,
307
+ config: B.value
308
+ };
309
+ let t = B.value.style.chart.tooltip.customFormat;
310
+ if (te(t) && l(() => t({
311
+ seriesIndex: -1,
312
+ datapoint: e,
313
+ series: G.value,
314
+ config: B.value
315
+ }))) P.value = t({
316
+ seriesIndex: -1,
317
+ datapoint: e,
318
+ series: G.value,
319
+ config: B.value
320
+ });
321
+ else {
322
+ 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 ${B.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), P.value = `<div style="font-family:inherit">${t}</div>`;
324
+ }
325
+ }
326
+ let q = T(null), J = T(null), kt = T(null);
327
+ function At(e) {
328
+ kt.value = q.value, q.value = e, e ? B.value.events.datapointEnter && B.value.events.datapointEnter({
329
+ datapoint: e,
330
+ seriesIndex: -1
331
+ }) : B.value.events.datapointLeave && B.value.events.datapointLeave({
332
+ datapoint: kt.value || q.value,
333
+ seriesIndex: -1
334
+ }), e ? (N.value = !0, Ot(e), J.value = e.uid) : (N.value = !1, P.value = "", J.value = null);
335
+ }
336
+ function jt(e) {
337
+ let t = [];
338
+ function n(e) {
339
+ e.forEach((e) => {
340
+ let r = {
341
+ name: e.name,
342
+ details: e.details || "-",
343
+ ancestor: e.ancestor && e.ancestor.name || "-",
344
+ color: e.color || ""
345
+ };
346
+ t.push(r), e.nodes && e.nodes.length > 0 && n(e.nodes, e.name);
347
+ });
348
+ }
349
+ return n(e), t;
350
+ }
351
+ let Mt = p(() => jt(G.value)), Y = p(() => ({
352
+ head: [
353
+ B.value.table.translations.nodeName,
354
+ B.value.table.translations.details,
355
+ B.value.table.translations.ancestor
356
+ ],
357
+ body: Mt.value.map((e, t) => [
358
+ {
359
+ color: e.color,
360
+ name: e.name
361
+ },
362
+ e.details,
363
+ e.ancestor || ""
364
+ ]),
365
+ config: {
366
+ th: {
367
+ backgroundColor: B.value.table.th.backgroundColor,
368
+ color: B.value.table.th.color,
369
+ outline: B.value.table.th.outline
370
+ },
371
+ td: {
372
+ backgroundColor: B.value.table.td.backgroundColor,
373
+ color: B.value.table.td.color,
374
+ outline: B.value.table.td.outline
375
+ },
376
+ breakpoint: B.value.table.responsiveBreakpoint
377
+ },
378
+ colNames: [
379
+ B.value.table.translations.nodeName,
380
+ B.value.table.translations.details,
381
+ B.value.table.translations.ancestor
382
+ ]
383
+ }));
384
+ function Nt(e = null) {
385
+ x(() => {
386
+ let t = Y.value.body.map((e, t) => [
387
+ [e[0].name],
388
+ [e[1]],
389
+ [e[2]]
390
+ ]), n = re([
391
+ [B.value.style.chart.title.text],
392
+ [B.value.style.chart.title.subtitle.text],
393
+ [[...Y.value.head]]
394
+ ].concat(t));
395
+ e ? e(n) : c({
396
+ csvContent: n,
397
+ title: B.value.style.chart.title.text || "vue-ui-molecule"
398
+ });
399
+ });
400
+ }
401
+ function Pt() {
402
+ return G.value;
403
+ }
404
+ let X = T(!1);
405
+ function Ft(e) {
406
+ X.value = e, at.value += 1;
407
+ }
408
+ function It() {
409
+ U.value.showTable = !U.value.showTable;
410
+ }
411
+ function Lt() {
412
+ U.value.showDataLabels = !U.value.showDataLabels;
413
+ }
414
+ function Rt() {
415
+ U.value.showTooltip = !U.value.showTooltip;
416
+ }
417
+ function zt() {
418
+ U.value.showZoom = !U.value.showZoom;
419
+ }
420
+ let Z = T(!1);
421
+ function Bt() {
422
+ Z.value = !Z.value;
423
+ }
424
+ let Vt = p(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: Ht, isZoom: Ut, setInitialViewBox: Wt } = ge(H, {
425
+ x: 0,
426
+ y: 0,
427
+ width: Math.max(10, W.value.width),
428
+ height: Math.max(10, W.value.height)
429
+ }, B.value.style.chart.zoom.speed, Vt);
430
+ function Gt(e) {
431
+ B.value.events.datapointClick && B.value.events.datapointClick({
432
+ datapoint: e,
433
+ seriesIndex: -1
434
+ }), tt("selectNode", e);
435
+ }
436
+ async function Kt({ scale: e = 2 } = {}) {
437
+ if (!F.value) return;
438
+ let { width: t, height: n } = F.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await de({
439
+ domElement: F.value,
440
+ base64: !0,
441
+ img: !0,
442
+ scale: e
443
+ });
444
+ return {
445
+ imageUri: i,
446
+ base64: a,
447
+ title: B.value.style.chart.title.text,
448
+ width: t,
449
+ height: n,
450
+ aspectRatio: r
451
+ };
452
+ }
453
+ let $ = p(() => {
454
+ let e = B.value.table.useDialog && !B.value.table.show, t = U.value.showTable;
455
+ return {
456
+ component: e ? Ze : Ue,
457
+ title: `${B.value.style.chart.title.text}${B.value.style.chart.title.subtitle.text ? `: ${B.value.style.chart.title.subtitle.text}` : ""}`,
458
+ props: e ? {
459
+ backgroundColor: B.value.table.th.backgroundColor,
460
+ color: B.value.table.th.color,
461
+ headerColor: B.value.table.th.color,
462
+ headerBg: B.value.table.th.backgroundColor,
463
+ isFullscreen: X.value,
464
+ fullscreenParent: F.value,
465
+ forcedWidth: Math.min(800, window.innerWidth * .8),
466
+ isCursorPointer: V.value
467
+ } : {
468
+ hideDetails: !0,
469
+ config: {
470
+ open: t,
471
+ maxHeight: 1e4,
472
+ body: {
473
+ backgroundColor: B.value.style.chart.backgroundColor,
474
+ color: B.value.style.chart.color
475
+ },
476
+ head: {
477
+ backgroundColor: B.value.style.chart.backgroundColor,
478
+ color: B.value.style.chart.color
479
+ }
480
+ }
481
+ }
482
+ };
483
+ });
484
+ O(() => U.value.showTable, (e) => {
485
+ B.value.table.show || (e && B.value.table.useDialog && I.value ? I.value.open() : "close" in I.value && I.value.close());
486
+ });
487
+ function qt() {
488
+ U.value.showTable = !1, L.value && L.value.setTableIconState(!1);
489
+ }
490
+ let Jt = p(() => B.value.style.chart.backgroundColor), { exportSvg: Yt, getSvg: Xt } = le({
491
+ svg: H,
492
+ title: p(() => B.value.style.chart.title),
493
+ backgroundColor: Jt
494
+ });
495
+ async function Zt({ isCb: e }) {
496
+ z.value = !0, await x();
497
+ try {
498
+ if (e) {
499
+ let { blob: e, url: t, text: n, dataUrl: r } = await Xt();
500
+ await Promise.resolve(B.value.userOptions.callbacks.svg({
501
+ blob: e,
502
+ url: t,
503
+ text: n,
504
+ dataUrl: r
505
+ }));
506
+ } else await Promise.resolve(Yt());
507
+ } finally {
508
+ z.value = !1;
509
+ }
510
+ }
511
+ function Qt(e) {
512
+ if (e?.stage === "start") {
513
+ R.value = !0;
514
+ return;
515
+ }
516
+ if (e?.stage === "end") {
517
+ R.value = !1;
518
+ return;
519
+ }
520
+ bt();
521
+ }
522
+ async function $t() {
523
+ if (tt("copyAlt", {
524
+ config: B.value,
525
+ dataset: G.value
526
+ }), !B.value.userOptions.callbacks.altCopy) {
527
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
528
+ return;
529
+ }
530
+ await Promise.resolve(B.value.userOptions.callbacks.altCopy({
531
+ config: B.value,
532
+ dataset: G.value
533
+ }));
534
+ }
535
+ let en = p(() => B.value.style.chart.color);
536
+ return fe({
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
550
+ }), (e, t) => (w(), g("div", {
551
+ ref_key: "moleculeChart",
552
+ ref: F,
553
+ class: xe(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
554
+ style: C(`font-family:${B.value.style.fontFamily};width:100%; text-align:center;background:${B.value.style.chart.backgroundColor}`),
555
+ id: `cluster_${M.value}`,
556
+ onMouseleave: t[2] ||= (e) => {
557
+ q.value = null, J.value = null, D(ft)(!1);
558
+ },
559
+ onMouseenter: t[3] ||= () => D(ft)(!0)
560
+ }, [
561
+ B.value.userOptions.buttons.annotator && D(H) ? (w(), m(D(Ge), {
562
+ key: 0,
563
+ svgRef: D(H),
564
+ backgroundColor: B.value.style.chart.backgroundColor,
565
+ color: B.value.style.chart.color,
566
+ active: Z.value,
567
+ isCursorPointer: V.value,
568
+ onClose: Bt
569
+ }, {
570
+ "annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
571
+ "annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", S(b({ color: t })), void 0, !0)]),
572
+ "annotator-action-draw": k(({ mode: t }) => [E(e.$slots, "annotator-action-draw", S(b({ mode: t })), void 0, !0)]),
573
+ "annotator-action-undo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-undo", S(b({ disabled: t })), void 0, !0)]),
574
+ "annotator-action-redo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-redo", S(b({ disabled: t })), void 0, !0)]),
575
+ "annotator-action-delete": k(({ disabled: t }) => [E(e.$slots, "annotator-action-delete", S(b({ disabled: t })), void 0, !0)]),
576
+ _: 3
577
+ }, 8, [
578
+ "svgRef",
579
+ "backgroundColor",
580
+ "color",
581
+ "active",
582
+ "isCursorPointer"
583
+ ])) : h("", !0),
584
+ xt.value ? (w(), g("div", Ae, null, 512)) : h("", !0),
585
+ B.value.style.chart.title.text ? (w(), g("div", je, [(w(), m(D(A), {
586
+ key: `title_${ot.value}`,
587
+ config: {
588
+ title: {
589
+ cy: "molecule-div-title",
590
+ ...B.value.style.chart.title
591
+ },
592
+ subtitle: {
593
+ cy: "molecule-div-subtitle",
594
+ ...B.value.style.chart.title.subtitle
595
+ }
596
+ }
597
+ }, null, 8, ["config"]))])) : h("", !0),
598
+ B.value.userOptions.show && nt.value && (D(pt) || D(dt)) ? (w(), m(D(Ke), {
599
+ ref_key: "userOptionsRef",
600
+ ref: L,
601
+ key: `user_options_${at.value}`,
602
+ backgroundColor: B.value.style.chart.backgroundColor,
603
+ color: B.value.style.chart.color,
604
+ isPrinting: D(_t),
605
+ isImaging: D(vt),
606
+ uid: M.value,
607
+ hasTooltip: B.value.userOptions.buttons.tooltip && B.value.style.chart.tooltip.show,
608
+ hasPdf: B.value.userOptions.buttons.pdf,
609
+ hasXls: B.value.userOptions.buttons.csv,
610
+ hasImg: B.value.userOptions.buttons.img,
611
+ hasSvg: B.value.userOptions.buttons.svg,
612
+ hasTable: B.value.userOptions.buttons.table,
613
+ hasLabel: B.value.userOptions.buttons.labels,
614
+ hasFullscreen: B.value.userOptions.buttons.fullscreen,
615
+ hasAltCopy: B.value.userOptions.buttons.altCopy,
616
+ isTooltip: U.value.showTooltip,
617
+ titles: { ...B.value.userOptions.buttonTitles },
618
+ chartElement: F.value,
619
+ position: B.value.userOptions.position,
620
+ hasAnnotator: B.value.userOptions.buttons.annotator,
621
+ isAnnotation: Z.value,
622
+ callbacks: B.value.userOptions.callbacks,
623
+ printScale: B.value.userOptions.print.scale,
624
+ tableDialog: B.value.table.useDialog,
625
+ hasZoom: B.value.userOptions.buttons.zoom,
626
+ isZoom: U.value.showZoom,
627
+ isCursorPointer: V.value,
628
+ onToggleFullscreen: Ft,
629
+ onGeneratePdf: D(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: C({ visibility: D(pt) ? D(dt) ? "visible" : "hidden" : "visible" })
640
+ }, ve({ _: 2 }, [
641
+ e.$slots.menuIcon ? {
642
+ name: "menuIcon",
643
+ fn: k(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", S(b({
644
+ isOpen: t,
645
+ color: n
646
+ })), void 0, !0)]),
647
+ key: "0"
648
+ } : void 0,
649
+ e.$slots.optionTooltip ? {
650
+ name: "optionTooltip",
651
+ fn: k(() => [E(e.$slots, "optionTooltip", {}, void 0, !0)]),
652
+ key: "1"
653
+ } : void 0,
654
+ e.$slots.optionPdf ? {
655
+ name: "optionPdf",
656
+ fn: k(() => [E(e.$slots, "optionPdf", {}, void 0, !0)]),
657
+ key: "2"
658
+ } : void 0,
659
+ e.$slots.optionCsv ? {
660
+ name: "optionCsv",
661
+ fn: k(() => [E(e.$slots, "optionCsv", {}, void 0, !0)]),
662
+ key: "3"
663
+ } : void 0,
664
+ e.$slots.optionImg ? {
665
+ name: "optionImg",
666
+ fn: k(() => [E(e.$slots, "optionImg", {}, void 0, !0)]),
667
+ key: "4"
668
+ } : void 0,
669
+ e.$slots.optionSvg ? {
670
+ name: "optionSvg",
671
+ fn: k(() => [E(e.$slots, "optionSvg", {}, void 0, !0)]),
672
+ key: "5"
673
+ } : void 0,
674
+ e.$slots.optionTable ? {
675
+ name: "optionTable",
676
+ fn: k(() => [E(e.$slots, "optionTable", {}, void 0, !0)]),
677
+ key: "6"
678
+ } : void 0,
679
+ e.$slots.optionLabels ? {
680
+ name: "optionLabels",
681
+ fn: k(() => [E(e.$slots, "optionLabels", {}, void 0, !0)]),
682
+ key: "7"
683
+ } : void 0,
684
+ e.$slots.optionFullscreen ? {
685
+ name: "optionFullscreen",
686
+ fn: k(({ toggleFullscreen: t, isFullscreen: n }) => [E(e.$slots, "optionFullscreen", S(b({
687
+ toggleFullscreen: t,
688
+ isFullscreen: n
689
+ })), void 0, !0)]),
690
+ key: "8"
691
+ } : void 0,
692
+ e.$slots.optionAnnotator ? {
693
+ name: "optionAnnotator",
694
+ fn: k(({ toggleAnnotator: t, isAnnotator: n }) => [E(e.$slots, "optionAnnotator", S(b({
695
+ toggleAnnotator: t,
696
+ isAnnotator: n
697
+ })), void 0, !0)]),
698
+ key: "9"
699
+ } : void 0,
700
+ e.$slots.optionZoom ? {
701
+ name: "optionZoom",
702
+ fn: k(({ toggleZoom: t, isZoomLocked: n }) => [E(e.$slots, "optionZoom", S(b({
703
+ toggleZoom: t,
704
+ isZoomLocked: n
705
+ })), void 0, !0)]),
706
+ key: "10"
707
+ } : void 0,
708
+ e.$slots.optionAltCopy ? {
709
+ name: "optionAltCopy",
710
+ fn: k(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", S(b({ altCopy: t })), void 0, !0)]),
711
+ key: "11"
712
+ } : void 0,
713
+ e.$slots["custom-menu-before"] ? {
714
+ name: "custom-menu-before",
715
+ fn: k(() => [E(e.$slots, "custom-menu-before", {}, void 0, !0)]),
716
+ key: "12"
717
+ } : void 0,
718
+ e.$slots["custom-menu-after"] ? {
719
+ name: "custom-menu-after",
720
+ fn: k(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
721
+ key: "13"
722
+ } : void 0
723
+ ]), 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("."))) : h("", !0),
724
+ (w(), g("svg", {
725
+ ref_key: "svgRef",
726
+ ref: H,
727
+ key: `svg_${ht.value}`,
728
+ xmlns: D(d),
729
+ viewBox: `${D(Q).x} ${D(Q).y} ${D(Q).width} ${D(Q).height}`,
730
+ class: xe({
731
+ "vue-data-ui-fullscreen--on": X.value,
732
+ "vue-data-ui-fulscreen--off": !X.value
733
+ }),
734
+ style: C(`overflow: hidden; background:transparent;color:${B.value.style.chart.color}`)
735
+ }, [
736
+ v(D(qe)),
737
+ e.$slots["chart-background"] ? (w(), g("foreignObject", {
738
+ key: 0,
739
+ x: 0,
740
+ y: 0,
741
+ width: W.value.width <= 0 ? 10 : W.value.width,
742
+ height: W.value.height <= 0 ? 10 : W.value.height,
743
+ style: { pointerEvents: "none" }
744
+ }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Ne)) : h("", !0),
745
+ _("defs", null, [(w(!0), g(_e, null, Ce(Object.keys(Dt.value), (e) => (w(), g("radialGradient", {
746
+ id: `gradient_${e}`,
747
+ cx: "50%",
748
+ cy: "30%",
749
+ r: "50%",
750
+ fx: "50%",
751
+ fy: "50%"
752
+ }, [_("stop", {
753
+ offset: "0%",
754
+ "stop-color": D(ie)(e, .5)
755
+ }, null, 8, Fe), _("stop", {
756
+ offset: "100%",
757
+ "stop-color": e
758
+ }, null, 8, Ie)], 8, Pe))), 256))]),
759
+ v(D(Je), {
760
+ dataset: G.value,
761
+ color: B.value.style.chart.links.stroke,
762
+ backgroundColor: B.value.style.chart.backgroundColor,
763
+ useChildColor: B.value.style.chart.links.useChildColor
764
+ }, null, 8, [
765
+ "dataset",
766
+ "color",
767
+ "backgroundColor",
768
+ "useChildColor"
769
+ ]),
770
+ v(D(Xe), {
771
+ dataset: G.value,
772
+ hoveredUid: J.value,
773
+ stroke: B.value.style.chart.nodes.stroke,
774
+ strokeHovered: B.value.style.chart.nodes.strokeHovered,
775
+ onClick: Gt,
776
+ onHover: At
777
+ }, {
778
+ node: k(({ node: t }) => [E(e.$slots, "node", S(b({ node: t })), void 0, !0)]),
779
+ "node-svg": k(({ nodeSvg: t }) => [E(e.$slots, "node-svg", S(b({ nodeSvg: t })), void 0, !0)]),
780
+ _: 3
781
+ }, 8, [
782
+ "dataset",
783
+ "hoveredUid",
784
+ "stroke",
785
+ "strokeHovered"
786
+ ]),
787
+ U.value.showDataLabels && !D(lt) ? (w(), m(D(Ye), {
788
+ key: 1,
789
+ dataset: G.value,
790
+ color: B.value.style.chart.color,
791
+ hoveredUid: J.value
792
+ }, null, 8, [
793
+ "dataset",
794
+ "color",
795
+ "hoveredUid"
796
+ ])) : h("", !0),
797
+ E(e.$slots, "svg", { svg: {
798
+ ...W.value,
799
+ drawingArea: { ...D(Q) },
800
+ isPrintingImg: D(_t) || D(vt) || R.value,
801
+ isPrintingSvg: z.value
802
+ } }, void 0, !0)
803
+ ], 14, Me)),
804
+ e.$slots.watermark ? (w(), g("div", Le, [E(e.$slots, "watermark", S(b({ isPrinting: D(_t) || D(vt) || R.value || z.value })), void 0, !0)])) : h("", !0),
805
+ D(Ut) ? (w(), g("div", Re, [E(e.$slots, "reset-action", { reset: D(Ht) }, () => [_("button", {
806
+ "data-cy-reset": "",
807
+ tabindex: "0",
808
+ role: "button",
809
+ class: "vue-data-ui-refresh-button",
810
+ style: C({
811
+ background: B.value.style.chart.backgroundColor,
812
+ cursor: V.value ? "pointer" : "default"
813
+ }),
814
+ onClick: t[0] ||= (e) => D(Ht)(!0)
815
+ }, [v(D(He), {
816
+ name: "refresh",
817
+ stroke: B.value.style.chart.color
818
+ }, null, 8, ["stroke"])], 4)], !0)])) : h("", !0),
819
+ e.$slots.source ? (w(), g("div", ze, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
820
+ v(D(Ve), {
821
+ teleportTo: B.value.style.chart.tooltip.teleportTo,
822
+ show: U.value.showTooltip && N.value,
823
+ backgroundColor: B.value.style.chart.tooltip.backgroundColor,
824
+ color: B.value.style.chart.tooltip.color,
825
+ borderRadius: B.value.style.chart.tooltip.borderRadius,
826
+ borderColor: B.value.style.chart.tooltip.borderColor,
827
+ borderWidth: B.value.style.chart.tooltip.borderWidth,
828
+ fontSize: B.value.style.chart.tooltip.fontSize,
829
+ backgroundOpacity: B.value.style.chart.tooltip.backgroundOpacity,
830
+ position: B.value.style.chart.tooltip.position,
831
+ offsetX: B.value.style.chart.tooltip.offsetX,
832
+ offsetY: B.value.style.chart.tooltip.offsetY,
833
+ parent: F.value,
834
+ content: P.value,
835
+ isFullscreen: X.value,
836
+ isCustom: B.value.style.chart.tooltip.customFormat && typeof B.value.style.chart.tooltip.customFormat == "function",
837
+ smooth: B.value.style.chart.tooltip.smooth,
838
+ backdropFilter: B.value.style.chart.tooltip.backdropFilter,
839
+ smoothForce: B.value.style.chart.tooltip.smoothForce,
840
+ smoothSnapThreshold: B.value.style.chart.tooltip.smoothSnapThreshold
841
+ }, {
842
+ "tooltip-before": k(() => [E(e.$slots, "tooltip-before", S(b({ ...K.value })), void 0, !0)]),
843
+ tooltip: k(() => [E(e.$slots, "tooltip", S(b({ ...K.value })), void 0, !0)]),
844
+ "tooltip-after": k(() => [E(e.$slots, "tooltip-after", S(b({ ...K.value })), void 0, !0)]),
845
+ _: 3
846
+ }, 8, [
847
+ "teleportTo",
848
+ "show",
849
+ "backgroundColor",
850
+ "color",
851
+ "borderRadius",
852
+ "borderColor",
853
+ "borderWidth",
854
+ "fontSize",
855
+ "backgroundOpacity",
856
+ "position",
857
+ "offsetX",
858
+ "offsetY",
859
+ "parent",
860
+ "content",
861
+ "isFullscreen",
862
+ "isCustom",
863
+ "smooth",
864
+ "backdropFilter",
865
+ "smoothForce",
866
+ "smoothSnapThreshold"
867
+ ]),
868
+ nt.value && B.value.userOptions.buttons.table ? (w(), m(we($.value.component), be({ key: 7 }, $.value.props, {
869
+ ref_key: "tableUnit",
870
+ ref: I,
871
+ onClose: qt
872
+ }), ve({
873
+ content: k(() => [(w(), m(D(We), {
874
+ key: `table_${st.value}`,
875
+ colNames: Y.value.colNames,
876
+ head: Y.value.head,
877
+ body: Y.value.body,
878
+ config: Y.value.config,
879
+ title: B.value.table.useDialog ? "" : $.value.title,
880
+ withCloseButton: !B.value.table.useDialog,
881
+ isCursorPointer: V.value,
882
+ onClose: qt
883
+ }, {
884
+ th: k(({ th: e }) => [_("div", {
885
+ innerHTML: e,
886
+ style: {
887
+ display: "flex",
888
+ "align-items": "center"
889
+ }
890
+ }, null, 8, Be)]),
891
+ td: k(({ td: e }) => [ye(Te(e.name || e), 1)]),
892
+ _: 1
893
+ }, 8, [
894
+ "colNames",
895
+ "head",
896
+ "body",
897
+ "config",
898
+ "title",
899
+ "withCloseButton",
900
+ "isCursorPointer"
901
+ ]))]),
902
+ _: 2
903
+ }, [B.value.table.useDialog ? {
904
+ name: "title",
905
+ fn: k(() => [ye(Te($.value.title), 1)]),
906
+ key: "0"
907
+ } : void 0, B.value.table.useDialog ? {
908
+ name: "actions",
909
+ fn: k(() => [_("button", {
910
+ tabindex: "0",
911
+ class: "vue-ui-user-options-button",
912
+ onClick: t[1] ||= (e) => Nt(B.value.userOptions.callbacks.csv),
913
+ style: C({ cursor: V.value ? "pointer" : "default" })
914
+ }, [v(D(He), {
915
+ name: "fileCsv",
916
+ stroke: $.value.props.color
917
+ }, null, 8, ["stroke"])], 4)]),
918
+ key: "1"
919
+ } : void 0]), 1040)) : h("", !0),
920
+ E(e.$slots, "skeleton", {}, () => [D(lt) ? (w(), m(ce, { key: 0 })) : h("", !0)], !0)
921
+ ], 46, ke));
922
+ }
923
+ }, [["__scopeId", "data-v-102eae3a"]]);
924
+ //#endregion
925
+ export { Oe as n, A as t };