vue-data-ui 3.6.0 → 3.7.1

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 (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +2 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
  105. package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
  106. package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
  113. package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
  114. package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
  115. package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
  116. package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
  119. package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
  123. package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
  124. package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
  125. package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
  129. package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
  132. package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
  133. package/dist/vue-ui-rings-BowsO9I8.js +884 -0
  134. package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
  138. package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
  139. package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
  141. package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
  143. package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
  144. package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
  149. package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
  151. package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
  152. package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
  155. package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
  156. package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
  158. package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -1,753 +0,0 @@
1
- import { useCssVars as bt, defineAsyncComponent as p, computed as h, onMounted as Ct, ref as u, toRefs as yt, watch as x, nextTick as H, createElementBlock as k, openBlock as v, unref as a, normalizeStyle as M, normalizeClass as Oe, createBlock as T, createCommentVNode as y, createVNode as D, withCtx as r, renderSlot as i, normalizeProps as f, guardReactiveProps as g, createSlots as Se, createElementVNode as P, Fragment as kt, renderList as At, resolveDynamicComponent as wt, mergeProps as $t, createTextVNode as De, toDisplayString as Pe } from "vue";
2
- import { o as Tt, f as _t, c as Ie, t as Ot, b as St, p as Fe, e as Dt, a7 as Pt, X as It, S as Ft, k as Nt, h as Ne, P as Lt, Q as Bt, G as Et, H as Rt } from "./lib-C_mNZmhD.js";
3
- import { u as Ut, a as Le } from "./useNestedProp-CIoDlpHu.js";
4
- import { u as xt, B as Ht } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Mt } from "./usePrinter-DTzqpYKF.js";
6
- import { u as Gt } from "./useSvgExport-DrjCWun4.js";
7
- import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
9
- import Wt from "./img-BecE5qXd.js";
10
- import { t as Xt } from "./themes-DH-N_ePR.js";
11
- import { u as jt } from "./usePanZoom-BVca3eMk.js";
12
- import { _ as Yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Zt = ["id"], Qt = {
14
- key: 1,
15
- ref: "noTitle",
16
- class: "vue-data-ui-no-title-space",
17
- style: "height:36px; width: 100%;background:transparent"
18
- }, qt = {
19
- key: 2,
20
- style: "width:100%;background:transparent;"
21
- }, Jt = ["xmlns", "viewBox"], Kt = ["width", "height"], eo = ["id"], to = ["stop-color"], oo = ["stop-color"], lo = {
22
- key: 4,
23
- class: "vue-data-ui-watermark"
24
- }, ao = {
25
- key: 5,
26
- "data-dom-to-png-ignore": "",
27
- class: "reset-wrapper"
28
- }, so = {
29
- key: 6,
30
- ref: "source",
31
- dir: "auto"
32
- }, no = ["innerHTML"], ro = {
33
- __name: "vue-ui-molecule",
34
- props: {
35
- config: {
36
- type: Object,
37
- default() {
38
- return {};
39
- }
40
- },
41
- dataset: {
42
- type: Array,
43
- default() {
44
- return [];
45
- }
46
- }
47
- },
48
- emits: ["selectNode"],
49
- setup(Be, { expose: Ee, emit: Re }) {
50
- bt((t) => ({
51
- f4051c3a: t.slicerColor
52
- }));
53
- const Ue = p(() => import("./Title-Bb1VWCtR.js")), xe = p(() => import("./Tooltip-oWCO1HKy.js")), te = p(() => import("./BaseIcon-DLFL0M4-.js")), He = p(() => import("./vue-ui-accordion-SSLXLlNz.js")), Me = p(() => import("./DataTable-UCyd_BQI.js")), Ge = p(() => import("./PenAndPaper-BJSMejV9.js")), Ve = p(() => import("./UserOptions-BqmUW9Kp.js")), ze = p(() => import("./PackageVersion-D_4Hr4S4.js")), We = p(() => import("./RecursiveLinks-00zGWPf9.js")), Xe = p(() => import("./RecursiveLabels-Bgcv0pzu.js")), je = p(() => import("./RecursiveCircles-BcLb1aRS.js")), Ye = p(() => import("./BaseDraggableDialog-DhKIof09.js")), { vue_ui_molecule: Ze } = Ut(), w = Be, Qe = Re, oe = h(() => !!w.dataset && w.dataset.length);
54
- Ct(() => {
55
- le();
56
- });
57
- const qe = h(() => e.value.debug);
58
- function le() {
59
- Tt(w.dataset) && _t({
60
- componentName: "VueUiMolecule",
61
- type: "dataset",
62
- debug: qe.value
63
- });
64
- }
65
- const G = u(Ie()), V = u(!1), B = u(""), $ = u(null), ae = u(0), se = u(0), ne = u(0), I = u(null), z = u(null), e = u(Y()), { loading: W, FINAL_DATASET: X } = xt({
66
- ...yt(w),
67
- FINAL_CONFIG: e,
68
- prepareConfig: Y,
69
- skeletonDataset: [
70
- {
71
- name: "_",
72
- color: "#CACACA",
73
- nodes: [
74
- { name: "_", color: "#CACACA", nodes: [
75
- { name: "_", color: "#CACACA" },
76
- { name: "_", color: "#CACACA" },
77
- { name: "_", color: "#CACACA" }
78
- ] },
79
- { name: "_", color: "#CACACA", nodes: [
80
- { name: "_", color: "#CACACA" },
81
- { name: "_", color: "#CACACA" },
82
- { name: "_", color: "#CACACA" }
83
- ] },
84
- { name: "_", color: "#CACACA", nodes: [
85
- { name: "_", color: "#CACACA" },
86
- { name: "_", color: "#CACACA" },
87
- { name: "_", color: "#CACACA" }
88
- ] },
89
- { name: "_", color: "#CACACA", nodes: [
90
- { name: "_", color: "#CACACA" },
91
- { name: "_", color: "#CACACA" },
92
- { name: "_", color: "#CACACA" }
93
- ] },
94
- { name: "_", color: "#CACACA", nodes: [
95
- { name: "_", color: "#CACACA" },
96
- { name: "_", color: "#CACACA" },
97
- { name: "_", color: "#CACACA" }
98
- ] },
99
- { name: "_", color: "#CACACA", nodes: [
100
- { name: "_", color: "#CACACA" },
101
- { name: "_", color: "#CACACA" },
102
- { name: "_", color: "#CACACA" }
103
- ] }
104
- ]
105
- }
106
- ],
107
- skeletonConfig: Ot({
108
- defaultConfig: e.value,
109
- userConfig: {
110
- userOptions: { show: !1 },
111
- table: { show: !1 },
112
- style: {
113
- chart: {
114
- backgroundColor: "#99999930",
115
- nodes: { stroke: "#6A6A6A" },
116
- links: { stroke: "#6A6A6A80" }
117
- }
118
- }
119
- }
120
- })
121
- }), { userOptionsVisible: j, setUserOptionsVisibility: re, keepUserOptionState: ie } = Vt({ config: e.value }), { svgRef: E } = zt({ config: e.value.style.chart.title });
122
- function Y() {
123
- const t = Le({
124
- userConfig: w.config,
125
- defaultConfig: Ze
126
- });
127
- return t.theme ? {
128
- ...Le({
129
- userConfig: Xt.vue_ui_molecule[t.theme] || w.config,
130
- defaultConfig: t
131
- }),
132
- customPalette: St[t.theme] || Fe
133
- } : t;
134
- }
135
- x(() => w.config, (t) => {
136
- e.value = Y(), j.value = !e.value.userOptions.showOnChartHover, le(), se.value += 1, ne.value += 1, d.value.showTable = e.value.table.show, d.value.showTooltip = e.value.style.chart.tooltip.show;
137
- }, { deep: !0 });
138
- const ue = u(0), Je = () => {
139
- ue.value += 1;
140
- };
141
- x([() => W.value, () => X.value], async ([t]) => {
142
- t || (await H(), m.value = fe(), await H(), Je(), await H(), ct({ x: 0, y: 0, width: 400, height: 400 }), J(!1));
143
- }, { flush: "post", deep: !1 });
144
- const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: pe } = Mt({
145
- elementId: `cluster_${G.value}`,
146
- fileName: e.value.style.chart.title.text || "vue-ui-molecule",
147
- options: e.value.userOptions.print
148
- }), Ke = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), et = h(() => Dt(e.value.customPalette)), d = u({
149
- showTable: e.value.table.show,
150
- showDataLabels: !0,
151
- showTooltip: e.value.style.chart.tooltip.show
152
- });
153
- x(e, () => {
154
- d.value = {
155
- showTable: e.value.table.show,
156
- showDataLabels: !0,
157
- showTooltip: e.value.style.chart.tooltip.show
158
- };
159
- }, { immediate: !0 });
160
- function he(t, l = 0) {
161
- return Array.isArray(t) && t.length > 0 && t[0].nodes ? he(t[0].nodes, l + 1) : l;
162
- }
163
- function fe() {
164
- const t = he(X.value);
165
- let l = 100, o = l;
166
- for (let n = 0; n < t; n += 1)
167
- l /= 1, o += l;
168
- return {
169
- height: o,
170
- width: o
171
- };
172
- }
173
- const m = u(fe());
174
- function ge(t, l = { x: -m.value.width / 2.43, y: m.value.height / 2 }, o = m.value.width / 1.1, n = 24, s = 0, c = 0, b = "#BBBBBB", K = 0) {
175
- if (!Array.isArray(t) || t.length === 0) return t;
176
- const mt = Nt({
177
- plot: l,
178
- radius: o,
179
- sides: t.length,
180
- rotation: s
181
- });
182
- return t.forEach((C, $e) => {
183
- const Te = mt.coordinates[$e], _e = C.color ? (() => {
184
- let ee = Ne(C.color);
185
- return ee.startsWith("#") ? ee : `#${ee}`;
186
- })() : null;
187
- let S;
188
- _e ? S = _e : K === 0 ? S = b : K === 1 ? (S = et.value[c] || Fe[c] || b, c += 1) : S = b, C.polygonPath = { coordinates: [Te] }, C.circleRadius = n, C.color = S, C.uid = Ie(), Array.isArray(C.nodes) && C.nodes.length && (C.nodes = ge(
189
- C.nodes,
190
- Te,
191
- o / 2.9,
192
- n / 2.2,
193
- s + Math.PI * $e / C.nodes.length,
194
- c,
195
- S,
196
- K + 1
197
- ));
198
- }), t;
199
- }
200
- function tt(t) {
201
- const l = /* @__PURE__ */ new Set();
202
- function o(s) {
203
- s.forEach((c) => {
204
- if (!c.color) return;
205
- let b = c.color;
206
- /^#?[0-9A-F]{6}$/i.test(b) || (b = Ne(b)), b.startsWith("#") || (b = `#${b}`), l.add(b), Array.isArray(c.nodes) && c.nodes.length && o(c.nodes);
207
- });
208
- }
209
- o(t);
210
- const n = {};
211
- return Array.from(l).forEach((s) => {
212
- const c = s.slice(1);
213
- n[s] = `gradient_${c}`;
214
- }), n;
215
- }
216
- const ot = h(() => tt(A.value)), A = h(() => {
217
- const t = Pt(X.value);
218
- return ge(t);
219
- }), Z = u(null);
220
- function lt(t) {
221
- Z.value = {
222
- datapoint: t,
223
- seriesIndex: -1,
224
- series: A.value,
225
- config: e.value
226
- };
227
- const l = e.value.style.chart.tooltip.customFormat;
228
- if (Et(l) && Rt(() => l({
229
- seriesIndex: -1,
230
- datapoint: t,
231
- series: A.value,
232
- config: e.value
233
- })))
234
- B.value = l({
235
- seriesIndex: -1,
236
- // well, ok
237
- datapoint: t,
238
- series: A.value,
239
- config: e.value
240
- });
241
- else {
242
- let o = "";
243
- o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`), B.value = `<div style="font-family:inherit">${o}</div>`;
244
- }
245
- }
246
- const R = u(null), F = u(null), me = u(null);
247
- function at(t) {
248
- me.value = R.value, R.value = t, t ? e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: -1 }) : e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: me.value || R.value, seriesIndex: -1 }), t ? (V.value = !0, lt(t), F.value = t.uid) : (V.value = !1, B.value = "", F.value = null);
249
- }
250
- function st(t) {
251
- const l = [];
252
- function o(n) {
253
- n.forEach((s) => {
254
- const c = {
255
- name: s.name,
256
- details: s.details || "-",
257
- ancestor: s.ancestor && s.ancestor.name || "-",
258
- color: s.color || ""
259
- };
260
- l.push(c), s.nodes && s.nodes.length > 0 && o(s.nodes, s.name);
261
- });
262
- }
263
- return o(t), l;
264
- }
265
- const nt = h(() => st(A.value)), _ = h(() => {
266
- const t = [
267
- e.value.table.translations.nodeName,
268
- e.value.table.translations.details,
269
- e.value.table.translations.ancestor
270
- ], l = nt.value.map((s, c) => [
271
- {
272
- color: s.color,
273
- name: s.name
274
- },
275
- s.details,
276
- s.ancestor || ""
277
- ]), o = {
278
- th: {
279
- backgroundColor: e.value.table.th.backgroundColor,
280
- color: e.value.table.th.color,
281
- outline: e.value.table.th.outline
282
- },
283
- td: {
284
- backgroundColor: e.value.table.td.backgroundColor,
285
- color: e.value.table.td.color,
286
- outline: e.value.table.td.outline
287
- },
288
- breakpoint: e.value.table.responsiveBreakpoint
289
- }, n = [
290
- e.value.table.translations.nodeName,
291
- e.value.table.translations.details,
292
- e.value.table.translations.ancestor
293
- ];
294
- return {
295
- head: t,
296
- body: l,
297
- config: o,
298
- colNames: n
299
- };
300
- });
301
- function Q(t = null) {
302
- H(() => {
303
- const l = _.value.body.map((s, c) => [[s[0].name], [s[1]], [s[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[..._.value.head]]].concat(l), n = Lt(o);
304
- t ? t(n) : Bt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-molecule" });
305
- });
306
- }
307
- function rt() {
308
- return A.value;
309
- }
310
- const O = u(!1);
311
- function be(t) {
312
- O.value = t, ae.value += 1;
313
- }
314
- function Ce() {
315
- d.value.showTable = !d.value.showTable;
316
- }
317
- function ye() {
318
- d.value.showDataLabels = !d.value.showDataLabels;
319
- }
320
- function ke() {
321
- d.value.showTooltip = !d.value.showTooltip;
322
- }
323
- const N = u(!1);
324
- function q() {
325
- N.value = !N.value;
326
- }
327
- const it = h(() => !N.value), { viewBox: U, resetZoom: J, isZoom: ut, setInitialViewBox: ct } = jt(E, {
328
- x: 0,
329
- y: 0,
330
- width: Math.max(10, m.value.width),
331
- height: Math.max(10, m.value.height)
332
- }, e.value.style.chart.zoom.speed, it);
333
- function vt(t) {
334
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: -1 }), Qe("selectNode", t);
335
- }
336
- async function dt({ scale: t = 2 } = {}) {
337
- if (!$.value) return;
338
- const { width: l, height: o } = $.value.getBoundingClientRect(), n = l / o, { imageUri: s, base64: c } = await Wt({ domElement: $.value, base64: !0, img: !0, scale: t });
339
- return {
340
- imageUri: s,
341
- base64: c,
342
- title: e.value.style.chart.title.text,
343
- width: l,
344
- height: o,
345
- aspectRatio: n
346
- };
347
- }
348
- const L = h(() => {
349
- const t = e.value.table.useDialog && !e.value.table.show, l = d.value.showTable;
350
- return {
351
- component: t ? Ye : He,
352
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
353
- props: t ? {
354
- backgroundColor: e.value.table.th.backgroundColor,
355
- color: e.value.table.th.color,
356
- headerColor: e.value.table.th.color,
357
- headerBg: e.value.table.th.backgroundColor,
358
- isFullscreen: O.value,
359
- fullscreenParent: $.value,
360
- forcedWidth: Math.min(800, window.innerWidth * 0.8)
361
- } : {
362
- hideDetails: !0,
363
- config: {
364
- open: l,
365
- maxHeight: 1e4,
366
- body: {
367
- backgroundColor: e.value.style.chart.backgroundColor,
368
- color: e.value.style.chart.color
369
- },
370
- head: {
371
- backgroundColor: e.value.style.chart.backgroundColor,
372
- color: e.value.style.chart.color
373
- }
374
- }
375
- }
376
- };
377
- });
378
- x(() => d.value.showTable, (t) => {
379
- e.value.table.show || (t && e.value.table.useDialog && I.value ? I.value.open() : "close" in I.value && I.value.close());
380
- });
381
- function Ae() {
382
- d.value.showTable = !1, z.value && z.value.setTableIconState(!1);
383
- }
384
- const pt = h(() => e.value.style.chart.backgroundColor), ht = h(() => e.value.style.chart.title), { exportSvg: ft, getSvg: gt } = Gt({
385
- svg: E,
386
- title: ht,
387
- backgroundColor: pt
388
- });
389
- async function we({ isCb: t }) {
390
- if (t) {
391
- const { blob: l, url: o, text: n, dataUrl: s } = await gt();
392
- e.value.userOptions.callbacks.svg({ blob: l, url: o, text: n, dataUrl: s });
393
- } else
394
- ft();
395
- }
396
- return Ee({
397
- getData: rt,
398
- getImage: dt,
399
- generatePdf: de,
400
- generateCsv: Q,
401
- generateImage: pe,
402
- generateSvg: we,
403
- toggleTable: Ce,
404
- toggleLabels: ye,
405
- toggleTooltip: ke,
406
- toggleAnnotator: q,
407
- toggleFullscreen: be
408
- }), (t, l) => (v(), k("div", {
409
- ref_key: "moleculeChart",
410
- ref: $,
411
- class: Oe(`vue-data-ui-component vue-ui-molecule ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
412
- style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
413
- id: `cluster_${G.value}`,
414
- onMouseleave: l[2] || (l[2] = (o) => {
415
- R.value = null, F.value = null, a(re)(!1);
416
- }),
417
- onMouseenter: l[3] || (l[3] = () => a(re)(!0))
418
- }, [
419
- e.value.userOptions.buttons.annotator ? (v(), T(a(Ge), {
420
- key: 0,
421
- svgRef: a(E),
422
- backgroundColor: e.value.style.chart.backgroundColor,
423
- color: e.value.style.chart.color,
424
- active: N.value,
425
- onClose: q
426
- }, {
427
- "annotator-action-close": r(() => [
428
- i(t.$slots, "annotator-action-close", {}, void 0, !0)
429
- ]),
430
- "annotator-action-color": r(({ color: o }) => [
431
- i(t.$slots, "annotator-action-color", f(g({ color: o })), void 0, !0)
432
- ]),
433
- "annotator-action-draw": r(({ mode: o }) => [
434
- i(t.$slots, "annotator-action-draw", f(g({ mode: o })), void 0, !0)
435
- ]),
436
- "annotator-action-undo": r(({ disabled: o }) => [
437
- i(t.$slots, "annotator-action-undo", f(g({ disabled: o })), void 0, !0)
438
- ]),
439
- "annotator-action-redo": r(({ disabled: o }) => [
440
- i(t.$slots, "annotator-action-redo", f(g({ disabled: o })), void 0, !0)
441
- ]),
442
- "annotator-action-delete": r(({ disabled: o }) => [
443
- i(t.$slots, "annotator-action-delete", f(g({ disabled: o })), void 0, !0)
444
- ]),
445
- _: 3
446
- }, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
447
- Ke.value ? (v(), k("div", Qt, null, 512)) : y("", !0),
448
- e.value.style.chart.title.text ? (v(), k("div", qt, [
449
- (v(), T(a(Ue), {
450
- key: `title_${se.value}`,
451
- config: {
452
- title: {
453
- cy: "molecule-div-title",
454
- ...e.value.style.chart.title
455
- },
456
- subtitle: {
457
- cy: "molecule-div-subtitle",
458
- ...e.value.style.chart.title.subtitle
459
- }
460
- }
461
- }, null, 8, ["config"]))
462
- ])) : y("", !0),
463
- e.value.userOptions.show && oe.value && (a(ie) || a(j)) ? (v(), T(a(Ve), {
464
- ref_key: "userOptionsRef",
465
- ref: z,
466
- key: `user_options_${ae.value}`,
467
- backgroundColor: e.value.style.chart.backgroundColor,
468
- color: e.value.style.chart.color,
469
- isPrinting: a(ce),
470
- isImaging: a(ve),
471
- uid: G.value,
472
- hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
473
- hasPdf: e.value.userOptions.buttons.pdf,
474
- hasXls: e.value.userOptions.buttons.csv,
475
- hasImg: e.value.userOptions.buttons.img,
476
- hasSvg: e.value.userOptions.buttons.svg,
477
- hasTable: e.value.userOptions.buttons.table,
478
- hasLabel: e.value.userOptions.buttons.labels,
479
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
480
- isTooltip: d.value.showTooltip,
481
- titles: { ...e.value.userOptions.buttonTitles },
482
- chartElement: $.value,
483
- position: e.value.userOptions.position,
484
- hasAnnotator: e.value.userOptions.buttons.annotator,
485
- isAnnotation: N.value,
486
- callbacks: e.value.userOptions.callbacks,
487
- printScale: e.value.userOptions.print.scale,
488
- tableDialog: e.value.table.useDialog,
489
- onToggleFullscreen: be,
490
- onGeneratePdf: a(de),
491
- onGenerateCsv: Q,
492
- onGenerateImage: a(pe),
493
- onGenerateSvg: we,
494
- onToggleTable: Ce,
495
- onToggleLabels: ye,
496
- onToggleTooltip: ke,
497
- onToggleAnnotator: q,
498
- style: M({
499
- visibility: a(ie) ? a(j) ? "visible" : "hidden" : "visible"
500
- })
501
- }, Se({ _: 2 }, [
502
- t.$slots.menuIcon ? {
503
- name: "menuIcon",
504
- fn: r(({ isOpen: o, color: n }) => [
505
- i(t.$slots, "menuIcon", f(g({ isOpen: o, color: n })), void 0, !0)
506
- ]),
507
- key: "0"
508
- } : void 0,
509
- t.$slots.optionTooltip ? {
510
- name: "optionTooltip",
511
- fn: r(() => [
512
- i(t.$slots, "optionTooltip", {}, void 0, !0)
513
- ]),
514
- key: "1"
515
- } : void 0,
516
- t.$slots.optionPdf ? {
517
- name: "optionPdf",
518
- fn: r(() => [
519
- i(t.$slots, "optionPdf", {}, void 0, !0)
520
- ]),
521
- key: "2"
522
- } : void 0,
523
- t.$slots.optionCsv ? {
524
- name: "optionCsv",
525
- fn: r(() => [
526
- i(t.$slots, "optionCsv", {}, void 0, !0)
527
- ]),
528
- key: "3"
529
- } : void 0,
530
- t.$slots.optionImg ? {
531
- name: "optionImg",
532
- fn: r(() => [
533
- i(t.$slots, "optionImg", {}, void 0, !0)
534
- ]),
535
- key: "4"
536
- } : void 0,
537
- t.$slots.optionSvg ? {
538
- name: "optionSvg",
539
- fn: r(() => [
540
- i(t.$slots, "optionSvg", {}, void 0, !0)
541
- ]),
542
- key: "5"
543
- } : void 0,
544
- t.$slots.optionTable ? {
545
- name: "optionTable",
546
- fn: r(() => [
547
- i(t.$slots, "optionTable", {}, void 0, !0)
548
- ]),
549
- key: "6"
550
- } : void 0,
551
- t.$slots.optionLabels ? {
552
- name: "optionLabels",
553
- fn: r(() => [
554
- i(t.$slots, "optionLabels", {}, void 0, !0)
555
- ]),
556
- key: "7"
557
- } : void 0,
558
- t.$slots.optionFullscreen ? {
559
- name: "optionFullscreen",
560
- fn: r(({ toggleFullscreen: o, isFullscreen: n }) => [
561
- i(t.$slots, "optionFullscreen", f(g({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
562
- ]),
563
- key: "8"
564
- } : void 0,
565
- t.$slots.optionAnnotator ? {
566
- name: "optionAnnotator",
567
- fn: r(({ toggleAnnotator: o, isAnnotator: n }) => [
568
- i(t.$slots, "optionAnnotator", f(g({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
569
- ]),
570
- key: "9"
571
- } : void 0
572
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
573
- (v(), k("svg", {
574
- ref_key: "svgRef",
575
- ref: E,
576
- key: `svg_${ue.value}`,
577
- xmlns: a(It),
578
- viewBox: `${a(U).x} ${a(U).y} ${a(U).width} ${a(U).height}`,
579
- class: Oe({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
580
- style: M(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
581
- }, [
582
- D(a(ze)),
583
- t.$slots["chart-background"] ? (v(), k("foreignObject", {
584
- key: 0,
585
- x: 0,
586
- y: 0,
587
- width: m.value.width <= 0 ? 10 : m.value.width,
588
- height: m.value.height <= 0 ? 10 : m.value.height,
589
- style: {
590
- pointerEvents: "none"
591
- }
592
- }, [
593
- i(t.$slots, "chart-background", {}, void 0, !0)
594
- ], 8, Kt)) : y("", !0),
595
- P("defs", null, [
596
- (v(!0), k(kt, null, At(Object.keys(ot.value), (o) => (v(), k("radialGradient", {
597
- id: `gradient_${o}`,
598
- cx: "50%",
599
- cy: "30%",
600
- r: "50%",
601
- fx: "50%",
602
- fy: "50%"
603
- }, [
604
- P("stop", {
605
- offset: "0%",
606
- "stop-color": a(Ft)(o, 0.5)
607
- }, null, 8, to),
608
- P("stop", {
609
- offset: "100%",
610
- "stop-color": o
611
- }, null, 8, oo)
612
- ], 8, eo))), 256))
613
- ]),
614
- D(a(We), {
615
- dataset: A.value,
616
- color: e.value.style.chart.links.stroke,
617
- backgroundColor: e.value.style.chart.backgroundColor
618
- }, null, 8, ["dataset", "color", "backgroundColor"]),
619
- D(a(je), {
620
- dataset: A.value,
621
- hoveredUid: F.value,
622
- stroke: e.value.style.chart.nodes.stroke,
623
- strokeHovered: e.value.style.chart.nodes.strokeHovered,
624
- onClick: vt,
625
- onHover: at
626
- }, {
627
- node: r(({ node: o }) => [
628
- i(t.$slots, "node", f(g({ node: o })), void 0, !0)
629
- ]),
630
- _: 3
631
- }, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
632
- d.value.showDataLabels && !a(W) ? (v(), T(a(Xe), {
633
- key: 1,
634
- dataset: A.value,
635
- color: e.value.style.chart.color,
636
- hoveredUid: F.value
637
- }, null, 8, ["dataset", "color", "hoveredUid"])) : y("", !0),
638
- i(t.$slots, "svg", { svg: m.value }, void 0, !0)
639
- ], 14, Jt)),
640
- t.$slots.watermark ? (v(), k("div", lo, [
641
- i(t.$slots, "watermark", f(g({ isPrinting: a(ce) || a(ve) })), void 0, !0)
642
- ])) : y("", !0),
643
- a(ut) ? (v(), k("div", ao, [
644
- i(t.$slots, "reset-action", { reset: a(J) }, () => [
645
- P("button", {
646
- "data-cy-reset": "",
647
- tabindex: "0",
648
- role: "button",
649
- class: "vue-data-ui-refresh-button",
650
- style: M({
651
- background: e.value.style.chart.backgroundColor
652
- }),
653
- onClick: l[0] || (l[0] = (o) => a(J)(!0))
654
- }, [
655
- D(a(te), {
656
- name: "refresh",
657
- stroke: e.value.style.chart.color
658
- }, null, 8, ["stroke"])
659
- ], 4)
660
- ], !0)
661
- ])) : y("", !0),
662
- t.$slots.source ? (v(), k("div", so, [
663
- i(t.$slots, "source", {}, void 0, !0)
664
- ], 512)) : y("", !0),
665
- D(a(xe), {
666
- show: d.value.showTooltip && V.value,
667
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
668
- color: e.value.style.chart.tooltip.color,
669
- borderRadius: e.value.style.chart.tooltip.borderRadius,
670
- borderColor: e.value.style.chart.tooltip.borderColor,
671
- borderWidth: e.value.style.chart.tooltip.borderWidth,
672
- fontSize: e.value.style.chart.tooltip.fontSize,
673
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
674
- position: e.value.style.chart.tooltip.position,
675
- offsetY: e.value.style.chart.tooltip.offsetY,
676
- parent: $.value,
677
- content: B.value,
678
- isFullscreen: O.value,
679
- isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
680
- smooth: e.value.style.chart.tooltip.smooth,
681
- backdropFilter: e.value.style.chart.tooltip.backdropFilter,
682
- smoothForce: e.value.style.chart.tooltip.smoothForce,
683
- smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
684
- }, {
685
- "tooltip-before": r(() => [
686
- i(t.$slots, "tooltip-before", f(g({ ...Z.value })), void 0, !0)
687
- ]),
688
- "tooltip-after": r(() => [
689
- i(t.$slots, "tooltip-after", f(g({ ...Z.value })), void 0, !0)
690
- ]),
691
- _: 3
692
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
693
- oe.value && e.value.userOptions.buttons.table ? (v(), T(wt(L.value.component), $t({ key: 7 }, L.value.props, {
694
- ref_key: "tableUnit",
695
- ref: I,
696
- onClose: Ae
697
- }), Se({
698
- content: r(() => [
699
- (v(), T(a(Me), {
700
- key: `table_${ne.value}`,
701
- colNames: _.value.colNames,
702
- head: _.value.head,
703
- body: _.value.body,
704
- config: _.value.config,
705
- title: e.value.table.useDialog ? "" : L.value.title,
706
- withCloseButton: !e.value.table.useDialog,
707
- onClose: Ae
708
- }, {
709
- th: r(({ th: o }) => [
710
- P("div", {
711
- innerHTML: o,
712
- style: { display: "flex", "align-items": "center" }
713
- }, null, 8, no)
714
- ]),
715
- td: r(({ td: o }) => [
716
- De(Pe(o.name || o), 1)
717
- ]),
718
- _: 1
719
- }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
720
- ]),
721
- _: 2
722
- }, [
723
- e.value.table.useDialog ? {
724
- name: "title",
725
- fn: r(() => [
726
- De(Pe(L.value.title), 1)
727
- ]),
728
- key: "0"
729
- } : void 0,
730
- e.value.table.useDialog ? {
731
- name: "actions",
732
- fn: r(() => [
733
- P("button", {
734
- tabindex: "0",
735
- class: "vue-ui-user-options-button",
736
- onClick: l[1] || (l[1] = (o) => Q(e.value.userOptions.callbacks.csv))
737
- }, [
738
- D(a(te), {
739
- name: "excel",
740
- stroke: L.value.props.color
741
- }, null, 8, ["stroke"])
742
- ])
743
- ]),
744
- key: "1"
745
- } : void 0
746
- ]), 1040)) : y("", !0),
747
- a(W) ? (v(), T(Ht, { key: 8 })) : y("", !0)
748
- ], 46, Zt));
749
- }
750
- }, ko = /* @__PURE__ */ Yt(ro, [["__scopeId", "data-v-834b0111"]]);
751
- export {
752
- ko as default
753
- };