vue-data-ui 3.25.7 → 3.25.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-hill.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-label.js +1 -1
  33. package/dist/components/vue-ui-mini-loader.js +1 -1
  34. package/dist/components/vue-ui-molecule.js +1 -1
  35. package/dist/components/vue-ui-mood-radar.js +1 -1
  36. package/dist/components/vue-ui-nested-donuts.js +1 -1
  37. package/dist/components/vue-ui-onion.js +1 -1
  38. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  39. package/dist/components/vue-ui-quadrant.js +1 -1
  40. package/dist/components/vue-ui-quick-chart.js +1 -1
  41. package/dist/components/vue-ui-radar.js +1 -1
  42. package/dist/components/vue-ui-rating.js +1 -1
  43. package/dist/components/vue-ui-relation-circle.js +1 -1
  44. package/dist/components/vue-ui-ridgeline.js +1 -1
  45. package/dist/components/vue-ui-rings.js +1 -1
  46. package/dist/components/vue-ui-scatter.js +1 -1
  47. package/dist/components/vue-ui-skeleton.js +1 -1
  48. package/dist/components/vue-ui-smiley.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
  73. package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
  74. package/dist/ssr/vue-ui-donut.js +1 -1
  75. package/dist/ssr/vue-ui-xy.js +1 -1
  76. package/dist/ssr.js +2 -2
  77. package/dist/style.css +1 -1
  78. package/dist/types/vue-data-ui.d.ts +2 -0
  79. package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
  80. package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
  81. package/dist/utils.js +1 -1
  82. package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
  83. package/dist/vue-data-ui.js +70 -70
  84. package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
  85. package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
  86. package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
  87. package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
  88. package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
  89. package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
  90. package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
  91. package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
  92. package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
  93. package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
  94. package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
  95. package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
  96. package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
  97. package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
  98. package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
  99. package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
  100. package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
  101. package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
  102. package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
  103. package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
  104. package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
  105. package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
  106. package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
  107. package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
  108. package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
  109. package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
  110. package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
  111. package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
  112. package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
  113. package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
  114. package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
  115. package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
  116. package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
  117. package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
  118. package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
  119. package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
  120. package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
  121. package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
  122. package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
  123. package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
  124. package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
  125. package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
  126. package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
  127. package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
  128. package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
  129. package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
  130. package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
  131. package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
  135. package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
  136. package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
  137. package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
  138. package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
  139. package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
  140. package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
  141. package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
  143. package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
  144. package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
  145. package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
  146. package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
  147. package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
  148. package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
  149. package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
  150. package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
  151. package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
  152. package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
  153. package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
  154. package/package.json +1 -1
  155. package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
  156. package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
  157. package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
  158. package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
  159. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
  160. package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
  161. package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
  162. package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
  163. package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
@@ -1,25 +1,25 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, J as i, Lt as a, Pt as o, S as s, X as c, Yt as l, Zt as u, b as d, ht as f, nt as p, q as m, t as h } from "./lib-Dql7cqyA.js";
3
- import { n as g, t as _ } from "./useHints-Dq_w2E8B.js";
4
- import { t as v } from "./useConfig-CIQZ6_r7.js";
5
- import { t as ee } from "./usePrinter-DISD7q5m.js";
6
- import { n as te, t as ne } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as y } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as b } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as x } from "./useChartExport-iwOqiIWX.js";
10
- import { t as S } from "./img-DhGApYG0.js";
11
- import { n as C } from "./Title-CPHi-evi.js";
12
- import { t as w } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { i as re, t as ie } from "./useResponsive-ZtArZtUf.js";
14
- import { t as ae } from "./A11yDataTable-DdRsVULz.js";
15
- import { t as T } from "./useUserOptionState-DK-_1ddE.js";
2
+ import { $ as t, Ct as n, D as r, J as i, Lt as a, Pt as o, S as s, X as c, Yt as l, Z as u, Zt as d, b as f, ht as p, nt as m, q as h, t as g } from "./lib-Dql7cqyA.js";
3
+ import { n as _, t as v } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ee } from "./useConfig-D32D002m.js";
5
+ import { t as te } from "./usePrinter-DISD7q5m.js";
6
+ import { n as ne, t as y } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as b } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as x } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as S } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as C } from "./img-DhGApYG0.js";
11
+ import { n as w } from "./Title-CPHi-evi.js";
12
+ import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { i as T, t as ie } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as E } from "./A11yDataTable-DdRsVULz.js";
15
+ import { t as ae } from "./useUserOptionState-DK-_1ddE.js";
16
16
  import { t as oe } from "./useChartAccessibility-DYqac8yF.js";
17
17
  import { t as se } from "./usePanZoom-CYU3B4T3.js";
18
18
  import { t as ce } from "./vue_ui_word_cloud-C-qIMNLu.js";
19
19
  import { t as le } from "./BaseZoomControls-BTzjVDPM.js";
20
- import { Fragment as ue, computed as E, createBlock as D, createCommentVNode as O, createElementBlock as k, createElementVNode as A, createSlots as de, createTextVNode as fe, createVNode as pe, defineAsyncComponent as j, guardReactiveProps as M, mergeProps as me, nextTick as he, normalizeClass as ge, normalizeProps as N, normalizeStyle as _e, onBeforeUnmount as ve, onMounted as ye, openBlock as P, ref as F, renderList as be, renderSlot as I, resolveDynamicComponent as xe, shallowRef as Se, toDisplayString as Ce, toRefs as we, unref as L, watch as Te, withCtx as R } from "vue";
20
+ import { Fragment as ue, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as de, createSlots as fe, createTextVNode as pe, createVNode as me, defineAsyncComponent as j, guardReactiveProps as M, mergeProps as he, nextTick as ge, normalizeClass as _e, normalizeProps as N, normalizeStyle as ve, onBeforeUnmount as ye, onMounted as be, openBlock as P, ref as F, renderList as xe, renderSlot as I, resolveDynamicComponent as Se, shallowRef as Ce, toDisplayString as we, toRefs as Te, unref as L, watch as Ee, withCtx as R } from "vue";
21
21
  //#region src/wordcloud.js
22
- var Ee = {
22
+ var De = {
23
23
  fast: {
24
24
  spiralStep: 6,
25
25
  fallbackSpiralStep: 2,
@@ -50,13 +50,13 @@ var Ee = {
50
50
  minimumVisualPadding: 4,
51
51
  scaleStep: .95
52
52
  }
53
- }, De = "fast";
54
- function Oe(e) {
55
- return Ee[e] || Ee[De];
53
+ }, Oe = "fast";
54
+ function ke(e) {
55
+ return De[e] || De[Oe];
56
56
  }
57
- var ke = /* @__PURE__ */ new Map();
58
- function Ae(e) {
59
- let t = String(e), n = ke.get(t);
57
+ var Ae = /* @__PURE__ */ new Map();
58
+ function je(e) {
59
+ let t = String(e), n = Ae.get(t);
60
60
  if (n) return n;
61
61
  let r = Math.PI / 180, i = [], a = [];
62
62
  for (let t = 0; t < 360; t += e) {
@@ -67,9 +67,9 @@ function Ae(e) {
67
67
  cosineArray: i,
68
68
  sineArray: a
69
69
  };
70
- return ke.set(t, o), o;
70
+ return Ae.set(t, o), o;
71
71
  }
72
- function je({ word: e, fontSize: t, pad: n, canvas: r, ctx: i, svg: a }) {
72
+ function Me({ word: e, fontSize: t, pad: n, canvas: r, ctx: i, svg: a }) {
73
73
  let o = a.style && a.style.bold, s = a.style && a.style.fontFamily || "Arial, \"Noto Sans Arabic\", Tahoma, sans-serif", c = `${o ? "bold " : ""}${t}px ${s}`, l = String(e.name || ""), u = /[\u0600-\u06FF]/.test(l);
74
74
  i.font = c, i.direction = u ? "rtl" : "ltr", i.textAlign = "left", i.textBaseline = "alphabetic";
75
75
  let d = i.measureText(l), f = Math.ceil(Math.abs(d.actualBoundingBoxLeft || 0)), p = Math.ceil(Math.abs(d.actualBoundingBoxRight || d.width)), m = Math.ceil(d.actualBoundingBoxAscent || t), h = Math.ceil(d.actualBoundingBoxDescent || t * .25), g = Math.max(0, Math.round(n || 0)) + Math.ceil(t * (u ? .22 : .12)), _ = Math.max(1, f + p + g * 2), v = Math.max(1, m + h + g * 2);
@@ -101,7 +101,7 @@ function je({ word: e, fontSize: t, pad: n, canvas: r, ctx: i, svg: a }) {
101
101
  maxY: w
102
102
  };
103
103
  }
104
- function Me(e) {
104
+ function Ne(e) {
105
105
  let t = [];
106
106
  if (!e.length) return t;
107
107
  let n = e[0][1], r = e[0][0], i = r;
@@ -123,16 +123,16 @@ function Me(e) {
123
123
  i
124
124
  ]), t;
125
125
  }
126
- function Ne(e, t) {
126
+ function Pe(e, t) {
127
127
  return 4294967295 >>> 32 - (t - e + 1) << e >>> 0;
128
128
  }
129
- function Pe(e) {
129
+ function Fe(e) {
130
130
  return 4294967295 << e >>> 0;
131
131
  }
132
- function Fe(e) {
132
+ function Ie(e) {
133
133
  return 4294967295 >>> 31 - e >>> 0;
134
134
  }
135
- function Ie({ maskBits: e, maskRowStride: t, maskW: n, maskH: r, wx: i, wy: a, runs: o }) {
135
+ function Le({ maskBits: e, maskRowStride: t, maskW: n, maskH: r, wx: i, wy: a, runs: o }) {
136
136
  for (let s = 0; s < o.length; s += 1) {
137
137
  let c = o[s][0], l = o[s][1], u = o[s][2], d = a + c;
138
138
  if (d < 0 || d >= r) return !1;
@@ -140,16 +140,16 @@ function Ie({ maskBits: e, maskRowStride: t, maskW: n, maskH: r, wx: i, wy: a, r
140
140
  if (f < 0 || p >= n) return !1;
141
141
  let m = d * t, h = f >>> 5, g = p >>> 5, _ = f & 31, v = p & 31;
142
142
  if (h === g) {
143
- if (e[m + h] & Ne(_, v)) return !1;
143
+ if (e[m + h] & Pe(_, v)) return !1;
144
144
  } else {
145
- if (e[m + h] & Pe(_)) return !1;
145
+ if (e[m + h] & Fe(_)) return !1;
146
146
  for (let t = h + 1; t < g; t += 1) if (e[m + t]) return !1;
147
- if (e[m + g] & Fe(v)) return !1;
147
+ if (e[m + g] & Ie(v)) return !1;
148
148
  }
149
149
  }
150
150
  return !0;
151
151
  }
152
- function Le({ maskBits: e, maskRowStride: t, maskW: n, maskH: r, wx: i, wy: a, runs: o }) {
152
+ function Re({ maskBits: e, maskRowStride: t, maskW: n, maskH: r, wx: i, wy: a, runs: o }) {
153
153
  for (let s = 0; s < o.length; s += 1) {
154
154
  let c = o[s][0], l = o[s][1], u = o[s][2], d = a + c;
155
155
  if (d < 0 || d >= r) continue;
@@ -157,16 +157,16 @@ function Le({ maskBits: e, maskRowStride: t, maskW: n, maskH: r, wx: i, wy: a, r
157
157
  if (p < 0 || f >= n) continue;
158
158
  let m = d * t, h = f >>> 5, g = p >>> 5, _ = f & 31, v = p & 31;
159
159
  if (h === g) {
160
- let t = Ne(_, v);
160
+ let t = Pe(_, v);
161
161
  e[m + h] |= t;
162
162
  } else {
163
163
  {
164
- let t = Pe(_);
164
+ let t = Fe(_);
165
165
  e[m + h] |= t;
166
166
  }
167
167
  for (let t = h + 1; t < g; t += 1) e[m + t] = 4294967295;
168
168
  {
169
- let t = Fe(v);
169
+ let t = Ie(v);
170
170
  e[m + g] |= t;
171
171
  }
172
172
  }
@@ -198,7 +198,7 @@ function z({ wordMask: e, w: t, h: n, dilation: r }) {
198
198
  }
199
199
  return o;
200
200
  }
201
- function Re(e, t) {
201
+ function ze(e, t) {
202
202
  let n = [];
203
203
  for (let r = 0; r < t; r += 1) {
204
204
  let t = e[r];
@@ -221,7 +221,7 @@ function Re(e, t) {
221
221
  }
222
222
  return n;
223
223
  }
224
- function ze({ runs: e, w: t, h: n, dilation: r }) {
224
+ function Be({ runs: e, w: t, h: n, dilation: r }) {
225
225
  if (!e.length || r <= 0) return e;
226
226
  let i = Array(n);
227
227
  for (let a = 0; a < e.length; a += 1) {
@@ -231,7 +231,7 @@ function ze({ runs: e, w: t, h: n, dilation: r }) {
231
231
  t || (t = [], i[e] = t), t.push([c, l]);
232
232
  }
233
233
  }
234
- return Re(i, n);
234
+ return ze(i, n);
235
235
  }
236
236
  function B(e, t) {
237
237
  let n = e.runs, r = e.w, i = e.h, a = Math.max(1, Math.round(r * t)), o = Math.max(1, Math.round(i * t)), s = Array(o), c = a, l = o, u = 0, d = 0, f = !1;
@@ -282,23 +282,23 @@ function B(e, t) {
282
282
  maxY: d
283
283
  };
284
284
  }
285
- var Be = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map();
286
- function Ve({ word: e, fontSize: t, pad: n, svg: r }) {
285
+ var Ve = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map();
286
+ function He({ word: e, fontSize: t, pad: n, svg: r }) {
287
287
  let i = r.style && r.style.bold ? 1 : 0, a = n || 0;
288
288
  return `${e.name}::${t}::${a}::${i}`;
289
289
  }
290
- function He({ word: e, fontSize: t, pad: n, canvas: r, ctx: i, svg: a }) {
291
- let o = Ve({
290
+ function Ue({ word: e, fontSize: t, pad: n, canvas: r, ctx: i, svg: a }) {
291
+ let o = He({
292
292
  word: e,
293
293
  fontSize: t,
294
294
  pad: n,
295
295
  svg: a
296
- }), s = Be.get(o);
296
+ }), s = Ve.get(o);
297
297
  if (s) return {
298
298
  key: o,
299
299
  bitmap: s
300
300
  };
301
- let c = je({
301
+ let c = Me({
302
302
  word: e,
303
303
  fontSize: t,
304
304
  pad: n,
@@ -306,12 +306,12 @@ function He({ word: e, fontSize: t, pad: n, canvas: r, ctx: i, svg: a }) {
306
306
  ctx: i,
307
307
  svg: a
308
308
  });
309
- return Be.set(o, c), {
309
+ return Ve.set(o, c), {
310
310
  key: o,
311
311
  bitmap: c
312
312
  };
313
313
  }
314
- function Ue({ bitmapKey: e, wordMask: t, w: n, h: r, dilation: i }) {
314
+ function We({ bitmapKey: e, wordMask: t, w: n, h: r, dilation: i }) {
315
315
  let a = `${e}::d${i}`, o = V.get(a);
316
316
  if (o) return o;
317
317
  let s = z({
@@ -321,11 +321,11 @@ function Ue({ bitmapKey: e, wordMask: t, w: n, h: r, dilation: i }) {
321
321
  dilation: i
322
322
  }), c = {
323
323
  wordMask: s,
324
- runs: Me(s)
324
+ runs: Ne(s)
325
325
  };
326
326
  return V.set(a, c), c;
327
327
  }
328
- function We(e, t, n) {
328
+ function Ge(e, t, n) {
329
329
  if (!e.length) return;
330
330
  let r = Infinity, i = -Infinity, a = Infinity, o = -Infinity;
331
331
  for (let t = 0; t < e.length; t += 1) {
@@ -344,19 +344,19 @@ function We(e, t, n) {
344
344
  }
345
345
  }
346
346
  }
347
- function Ge() {
347
+ function Ke() {
348
348
  return typeof performance < "u" && typeof performance.now == "function" ? () => performance.now() : () => Date.now();
349
349
  }
350
- function Ke({ value: e, minimumValue: t, maximumValue: n, configuredMinimumFontSize: r, maximumFontSize: i }) {
350
+ function qe({ value: e, minimumValue: t, maximumValue: n, configuredMinimumFontSize: r, maximumFontSize: i }) {
351
351
  if (n === t) return i;
352
352
  let a = (e - t) / (n - t) * (i - r) + r;
353
353
  return Math.max(r, Math.min(i, a));
354
354
  }
355
- function qe({ bitmapHeight: e, proximity: t, strictPixelPadding: n, minimumVisualPadding: r }) {
355
+ function Je({ bitmapHeight: e, proximity: t, strictPixelPadding: n, minimumVisualPadding: r }) {
356
356
  let i = Math.max(0, Math.round(t || 0)), a = Math.ceil(e * .035) + 2;
357
357
  return Math.max(i, a, n ? 3 : 0, r);
358
358
  }
359
- function Je({ currentBitmap: e, strictPixelPadding: t, scaleFactor: n, baseBitmap: r, bitmapKey: i, proximity: a, minimumVisualPadding: o }) {
359
+ function Ye({ currentBitmap: e, strictPixelPadding: t, scaleFactor: n, baseBitmap: r, bitmapKey: i, proximity: a, minimumVisualPadding: o }) {
360
360
  let s = e.runs, c = e.w, l = e.h, u = e.minX, d = e.minY, f = e.maxX, p = e.maxY;
361
361
  if (!s.length) return {
362
362
  runs: s,
@@ -367,7 +367,7 @@ function Je({ currentBitmap: e, strictPixelPadding: t, scaleFactor: n, baseBitma
367
367
  bitmapMaximumX: f,
368
368
  bitmapMaximumY: p
369
369
  };
370
- let m = qe({
370
+ let m = Je({
371
371
  bitmapHeight: l,
372
372
  proximity: a,
373
373
  strictPixelPadding: t,
@@ -382,7 +382,7 @@ function Je({ currentBitmap: e, strictPixelPadding: t, scaleFactor: n, baseBitma
382
382
  bitmapMaximumX: f,
383
383
  bitmapMaximumY: p
384
384
  } : n === 1 && m === 2 && t ? {
385
- runs: Ue({
385
+ runs: We({
386
386
  bitmapKey: i,
387
387
  wordMask: r.wordMask,
388
388
  w: r.w,
@@ -396,7 +396,7 @@ function Je({ currentBitmap: e, strictPixelPadding: t, scaleFactor: n, baseBitma
396
396
  bitmapMaximumX: f,
397
397
  bitmapMaximumY: p
398
398
  } : {
399
- runs: ze({
399
+ runs: Be({
400
400
  runs: s,
401
401
  w: c,
402
402
  h: l,
@@ -410,10 +410,10 @@ function Je({ currentBitmap: e, strictPixelPadding: t, scaleFactor: n, baseBitma
410
410
  bitmapMaximumY: p
411
411
  };
412
412
  }
413
- async function Ye({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskBits: r, maskRowStride: i, maskWidth: a, maskHeight: o, centerX: s, centerY: c, maximumRadius: l, scaleStep: u, strictPixelPadding: d, bitmapKey: f, minimumFontSize: p, rawWord: m, cosineArray: h, sineArray: g, radiusStep: _, maximumAttempts: v, maybeYield: ee, proximity: te, minimumVisualPadding: ne }) {
413
+ async function Xe({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskBits: r, maskRowStride: i, maskWidth: a, maskHeight: o, centerX: s, centerY: c, maximumRadius: l, scaleStep: u, strictPixelPadding: d, bitmapKey: f, minimumFontSize: p, rawWord: m, cosineArray: h, sineArray: g, radiusStep: _, maximumAttempts: v, maybeYield: ee, proximity: te, minimumVisualPadding: ne }) {
414
414
  let y = 1;
415
415
  for (; y >= n;) {
416
- let { runs: n, bitmapWidth: b, bitmapHeight: x, bitmapMinimumX: S, bitmapMinimumY: C, bitmapMaximumX: w, bitmapMaximumY: re } = Je({
416
+ let { runs: n, bitmapWidth: b, bitmapHeight: x, bitmapMinimumX: S, bitmapMinimumY: C, bitmapMaximumX: w, bitmapMaximumY: re } = Ye({
417
417
  currentBitmap: y === 1 ? e : B(e, y),
418
418
  strictPixelPadding: d,
419
419
  scaleFactor: y,
@@ -421,12 +421,12 @@ async function Ye({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskB
421
421
  bitmapKey: f,
422
422
  proximity: te,
423
423
  minimumVisualPadding: ne
424
- }), ie = 0, ae = 0;
425
- for (; ie < l && ae < v;) {
424
+ }), T = 0, ie = 0;
425
+ for (; T < l && ie < v;) {
426
426
  for (let e = 0; e < h.length; e += 1) {
427
- ae += 1;
428
- let l = Math.round(s + ie * h[e] - b / 2), u = Math.round(c + ie * g[e] - x / 2);
429
- if (!(l < 0 || u < 0 || l + b > a || u + x > o) && Ie({
427
+ ie += 1;
428
+ let l = Math.round(s + T * h[e] - b / 2), u = Math.round(c + T * g[e] - x / 2);
429
+ if (!(l < 0 || u < 0 || l + b > a || u + x > o) && Le({
430
430
  maskBits: r,
431
431
  maskRowStride: i,
432
432
  maskW: a,
@@ -448,7 +448,7 @@ async function Ye({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskB
448
448
  maxX: w,
449
449
  maxY: re
450
450
  };
451
- return Le({
451
+ return Re({
452
452
  maskBits: r,
453
453
  maskRowStride: i,
454
454
  maskW: a,
@@ -459,14 +459,14 @@ async function Ye({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskB
459
459
  }), d;
460
460
  }
461
461
  }
462
- ie += _, ae & 1023 || await ee();
462
+ T += _, ie & 1023 || await ee();
463
463
  }
464
464
  y *= u, await ee();
465
465
  }
466
466
  return null;
467
467
  }
468
- async function Xe({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskBits: r, maskRowStride: i, maskWidth: a, maskHeight: o, centerX: s, centerY: c, maximumRadius: l, scaleStep: u, strictPixelPadding: d, bitmapKey: f, minimumFontSize: p, rawWord: m, maybeYield: h, proximity: g, qualityPreset: _, primarySpiral: v, fallbackSpiral: ee }) {
469
- return await Ye({
468
+ async function Ze({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskBits: r, maskRowStride: i, maskWidth: a, maskHeight: o, centerX: s, centerY: c, maximumRadius: l, scaleStep: u, strictPixelPadding: d, bitmapKey: f, minimumFontSize: p, rawWord: m, maybeYield: h, proximity: g, qualityPreset: _, primarySpiral: v, fallbackSpiral: ee }) {
469
+ return await Xe({
470
470
  baseBitmap: e,
471
471
  baseFontSize: t,
472
472
  minimumScaleFactor: n,
@@ -489,7 +489,7 @@ async function Xe({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskB
489
489
  maybeYield: h,
490
490
  proximity: g,
491
491
  minimumVisualPadding: _.minimumVisualPadding
492
- }) || await Ye({
492
+ }) || await Xe({
493
493
  baseBitmap: e,
494
494
  baseFontSize: t,
495
495
  minimumScaleFactor: n,
@@ -514,28 +514,28 @@ async function Xe({ baseBitmap: e, baseFontSize: t, minimumScaleFactor: n, maskB
514
514
  minimumVisualPadding: _.minimumVisualPadding
515
515
  });
516
516
  }
517
- async function Ze({ words: e, proximity: t = 0, svg: n, strictPixelPadding: r, quality: i = De, onProgress: a, debugTiming: o = !1 }) {
518
- let s = Ge(), c = s(), l = c;
517
+ async function Qe({ words: e, proximity: t = 0, svg: n, strictPixelPadding: r, quality: i = Oe, onProgress: a, debugTiming: o = !1 }) {
518
+ let s = Ke(), c = s(), l = c;
519
519
  async function u() {
520
520
  s() - l >= 12 && (await new Promise((e) => setTimeout(e, 0)), l = s());
521
521
  }
522
- let d = n.width, f = n.height, p = Math.round(d), m = Math.round(f), h = Oe(i), g = Ae(h.spiralStep), _ = Ae(h.fallbackSpiralStep), v = n.minFontSize, ee = Math.min(n.maxFontSize, 100), te = e.map((e) => e.value), ne = Math.min(...te), y = Math.max(...te);
522
+ let d = n.width, f = n.height, p = Math.round(d), m = Math.round(f), h = ke(i), g = je(h.spiralStep), _ = je(h.fallbackSpiralStep), v = n.minFontSize, ee = Math.min(n.maxFontSize, 100), te = e.map((e) => e.value), ne = Math.min(...te), y = Math.max(...te);
523
523
  if (p <= 0 || m <= 0) return [];
524
524
  let b = p + 31 >>> 5, x = new Uint32Array(b * m), S = document.createElement("canvas"), C = S.getContext("2d", { willReadFrequently: !0 });
525
525
  S.width = p, S.height = m;
526
- let w = Math.max(p, m), re = Math.floor(p / 2), ie = Math.floor(m / 2), ae = [...e.map((e, t) => ({
526
+ let w = Math.max(p, m), re = Math.floor(p / 2), T = Math.floor(m / 2), ie = [...e.map((e, t) => ({
527
527
  ...e,
528
528
  __wcIndex: t,
529
529
  id: e.id == null ? `${e.name}__${t}` : e.id
530
- }))].sort((e, t) => t.value - e.value), T = [], oe = h.scaleStep;
531
- for (let e = 0; e < ae.length; e += 1) {
532
- let i = ae[e], o = T.length, s = Ke({
530
+ }))].sort((e, t) => t.value - e.value), E = [], ae = h.scaleStep;
531
+ for (let e = 0; e < ie.length; e += 1) {
532
+ let i = ie[e], o = E.length, s = qe({
533
533
  value: i.value,
534
534
  minimumValue: ne,
535
535
  maximumValue: y,
536
536
  configuredMinimumFontSize: v,
537
537
  maximumFontSize: ee
538
- }), c = He({
538
+ }), c = Ue({
539
539
  word: i,
540
540
  fontSize: s,
541
541
  pad: t,
@@ -547,7 +547,7 @@ async function Ze({ words: e, proximity: t = 0, svg: n, strictPixelPadding: r, q
547
547
  await u();
548
548
  continue;
549
549
  }
550
- let se = await Xe({
550
+ let oe = await Ze({
551
551
  baseBitmap: d,
552
552
  baseFontSize: s,
553
553
  minimumScaleFactor: Math.max(1 / s, .1),
@@ -556,9 +556,9 @@ async function Ze({ words: e, proximity: t = 0, svg: n, strictPixelPadding: r, q
556
556
  maskWidth: p,
557
557
  maskHeight: m,
558
558
  centerX: re,
559
- centerY: ie,
559
+ centerY: T,
560
560
  maximumRadius: w,
561
- scaleStep: oe,
561
+ scaleStep: ae,
562
562
  strictPixelPadding: r,
563
563
  bitmapKey: l,
564
564
  minimumFontSize: 1,
@@ -569,31 +569,31 @@ async function Ze({ words: e, proximity: t = 0, svg: n, strictPixelPadding: r, q
569
569
  primarySpiral: g,
570
570
  fallbackSpiral: _
571
571
  });
572
- if (se && (T.push(se), a && T.length > o)) {
573
- let e = T[T.length - 1];
572
+ if (oe && (E.push(oe), a && E.length > o)) {
573
+ let e = E[E.length - 1];
574
574
  a({
575
575
  word: e,
576
- all: T
576
+ all: E
577
577
  });
578
578
  }
579
579
  await u();
580
580
  }
581
- if (!T.length) return [];
582
- We(T, p, m);
583
- let se = s() - c;
584
- return o && typeof console < "u" && console.log && console.log("[vue-data-ui][word-cloud] positionWordsAsync:", `${se.toFixed(2)} ms for ${e.length} words`), T.sort((e, t) => t.fontSize - e.fontSize);
581
+ if (!E.length) return [];
582
+ Ge(E, p, m);
583
+ let oe = s() - c;
584
+ return o && typeof console < "u" && console.log && console.log("[vue-data-ui][word-cloud] positionWordsAsync:", `${oe.toFixed(2)} ms for ${e.length} words`), E.sort((e, t) => t.fontSize - e.fontSize);
585
585
  }
586
586
  //#endregion
587
587
  //#region src/components/vue-ui-word-cloud.vue
588
- var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
588
+ var H = /* @__PURE__ */ e({ default: () => ft }), $e = [
589
589
  "id",
590
590
  "data-resizing",
591
591
  "data-relayout"
592
- ], $e = ["id"], et = { style: { position: "relative" } }, tt = [
592
+ ], et = ["id"], tt = { style: { position: "relative" } }, nt = [
593
593
  "aria-describedby",
594
594
  "xmlns",
595
595
  "viewBox"
596
- ], nt = ["width", "height"], rt = ["transform"], it = ["transform"], at = [
596
+ ], rt = ["width", "height"], it = ["transform"], at = ["transform"], ot = [
597
597
  "data-a11y-word-index",
598
598
  "x",
599
599
  "y",
@@ -603,14 +603,14 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
603
603
  "onMouseover",
604
604
  "onMouseleave",
605
605
  "onClick"
606
- ], ot = [
606
+ ], st = [
607
607
  "fill",
608
608
  "font-weight",
609
609
  "font-size",
610
610
  "transform",
611
611
  "stroke",
612
612
  "stroke-width"
613
- ], st = {
613
+ ], ct = {
614
614
  key: 0,
615
615
  style: {
616
616
  position: "absolute",
@@ -620,17 +620,17 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
620
620
  },
621
621
  "data-dom-to-png-ignore": "",
622
622
  "aria-hidden": "true"
623
- }, ct = {
623
+ }, lt = {
624
624
  key: 5,
625
625
  class: "vue-data-ui-watermark"
626
- }, lt = {
626
+ }, ut = {
627
627
  key: 6,
628
628
  "data-dom-to-png-ignore": "",
629
629
  class: "reset-wrapper"
630
- }, ut = { style: {
630
+ }, dt = { style: {
631
631
  display: "flex",
632
632
  "align-items": "center"
633
- } }, dt = /*#__PURE__*/ w({
633
+ } }, ft = /*#__PURE__*/ re({
634
634
  __name: "vue-ui-word-cloud",
635
635
  props: {
636
636
  config: {
@@ -647,25 +647,25 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
647
647
  }
648
648
  },
649
649
  emits: ["copyAlt"],
650
- setup(e, { expose: w, emit: Ee }) {
651
- let De = j(() => import("./Tooltip-hhrkQ3Lk.js")), Oe = j(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), ke = j(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), Ae = j(() => import("./DataTable-oiM9uWrQ.js")), je = j(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Me = j(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ne = j(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), Pe = j(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_word_cloud: Fe } = v(), { isThemeValid: Ie, warnInvalidTheme: Le } = b(), z = e, Re = Ee, ze = E({
650
+ setup(e, { expose: re, emit: De }) {
651
+ let Oe = j(() => import("./Tooltip-hhrkQ3Lk.js")), ke = j(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Ae = j(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), je = j(() => import("./DataTable-oiM9uWrQ.js")), Me = j(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ne = j(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Pe = j(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), Fe = j(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_word_cloud: Ie } = ee(), { isThemeValid: Le, warnInvalidTheme: Re } = x(), z = e, ze = De, Be = D({
652
652
  get() {
653
653
  return !!z.dataset && z.dataset.length;
654
654
  },
655
655
  set(e) {
656
656
  return e;
657
657
  }
658
- }), B = F(m()), Be = F(0), V = F(null), Ve = F(null), He = F(null), Ue = F(0), We = F(0), Ge = F(!1), Ke = F(null), qe = F(null), Je = F(!1), Ye = F(!1), Xe = F(null), H = F(null), dt = F({
658
+ }), B = F(h()), Ve = F(0), V = F(null), He = F(null), Ue = F(null), We = F(0), Ge = F(0), Ke = F(!1), qe = F(null), Je = F(null), Ye = F(!1), Xe = F(!1), Ze = F(null), H = F(null), ft = F({
659
659
  x: 0,
660
660
  y: 0
661
- }), ft = F("pointer"), pt = F(!1), U = F(Tt()), W = E(() => U.value.userOptions), G = E(() => U.value.style.chart.tooltip), mt = E(() => U.value.style.chart.controls), K = E(() => U.value.style.chart.words), q = E(() => U.value.style.chart);
662
- g({
661
+ }), pt = F("pointer"), mt = F(!1), U = F(Et()), W = D(() => U.value.userOptions), G = D(() => U.value.style.chart.tooltip), ht = D(() => U.value.style.chart.controls), K = D(() => U.value.style.chart.words), q = D(() => U.value.style.chart);
662
+ _({
663
663
  config: () => U.value,
664
664
  dataset: () => z.dataset,
665
665
  component: "VueUiWordCloud",
666
- rules: [_.noHint]
666
+ rules: [v.noHint]
667
667
  });
668
- let ht = E(() => U.value.userOptions.useCursorPointer), gt = E(() => u({
668
+ let gt = D(() => U.value.userOptions.useCursorPointer), _t = D(() => d({
669
669
  defaultConfig: {
670
670
  userOptions: { show: !1 },
671
671
  table: { show: !1 },
@@ -683,10 +683,10 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
683
683
  } }
684
684
  },
685
685
  userConfig: U.value.skeletonConfig ?? {}
686
- })), { loading: _t, FINAL_DATASET: vt, manualLoading: yt } = te({
687
- ...we(z),
686
+ })), { loading: vt, FINAL_DATASET: yt, manualLoading: bt } = ne({
687
+ ...Te(z),
688
688
  FINAL_CONFIG: U,
689
- prepareConfig: Tt,
689
+ prepareConfig: Et,
690
690
  callback: () => {
691
691
  Promise.resolve().then(() => {
692
692
  Z.value.showTable = U.value.table.show, Z.value.showTooltip = G.value.show, Z.value.showZoom = q.value.zoom.show;
@@ -886,29 +886,29 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
886
886
  value: 1
887
887
  }
888
888
  ],
889
- skeletonConfig: u({
889
+ skeletonConfig: d({
890
890
  defaultConfig: U.value,
891
- userConfig: gt.value
891
+ userConfig: _t.value
892
892
  })
893
- }), bt = F(xt());
894
- function xt() {
895
- return typeof vt.value == "string" ? i(vt.value) : vt.value.map((e, t) => ({
893
+ }), xt = F(St());
894
+ function St() {
895
+ return typeof yt.value == "string" ? i(yt.value) : yt.value.map((e, t) => ({
896
896
  ...e,
897
- value: d(e.value)
897
+ value: f(e.value)
898
898
  }));
899
899
  }
900
- let { userOptionsVisible: St, setUserOptionsVisibility: Ct, keepUserOptionState: wt } = T({ config: U.value }), { svgRef: J } = oe({ config: q.value.title });
901
- function Tt() {
902
- let e = y({
900
+ let { userOptionsVisible: Ct, setUserOptionsVisibility: wt, keepUserOptionState: Tt } = ae({ config: U.value }), { svgRef: J } = oe({ config: q.value.title });
901
+ function Et() {
902
+ let e = b({
903
903
  userConfig: z.config,
904
- defaultConfig: Fe
904
+ defaultConfig: Ie
905
905
  }), t = e.theme;
906
906
  if (!t) return e;
907
- if (!Ie.value(e)) return Le(e), e;
908
- let n = y({
907
+ if (!Le.value(e)) return Re(e), e;
908
+ let n = b({
909
909
  userConfig: ce[t] || z.config,
910
910
  defaultConfig: e
911
- }), r = y({
911
+ }), r = b({
912
912
  userConfig: z.config,
913
913
  defaultConfig: n
914
914
  });
@@ -917,29 +917,42 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
917
917
  customPalette: r.customPalette.length ? r.customPalette : l[t] || a
918
918
  };
919
919
  }
920
- let Et = F({
920
+ let Dt = F({
921
921
  x: 0,
922
922
  y: 0
923
923
  });
924
- function Dt() {
924
+ function Ot() {
925
925
  let e = {
926
926
  x: 0,
927
927
  y: 0,
928
928
  width: Math.max(10, Y.value.width),
929
929
  height: Math.max(10, Y.value.height)
930
930
  };
931
- nn(e), Et.value = {
931
+ on(e), Dt.value = {
932
932
  x: e.x + e.width / 2,
933
933
  y: e.y + e.height / 2
934
- }, en();
934
+ }, rn();
935
+ }
936
+ let kt = T(() => {
937
+ Wt();
938
+ }, 100), At = F(!1);
939
+ Ee(() => At.value, (e) => {
940
+ e === !1 && (Xe.value = !0, kt(), Ot());
941
+ });
942
+ function jt(e) {
943
+ let t = u(e);
944
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
935
945
  }
936
- let Ot = re(() => {
937
- Vt();
938
- }, 100), kt = F(!1);
939
- Te(() => kt.value, (e) => {
940
- e === !1 && (Ye.value = !0, Ot(), Dt());
941
- }), Te(() => z.config, (e) => {
942
- U.value = Tt(), St.value = !U.value.userOptions.showOnChartHover, Pt(), Ue.value += 1, We.value += 1, Z.value.showTable = U.value.table.show, Z.value.showTooltip = G.value.show, Z.value.showZoom = q.value.zoom.show;
946
+ let Mt = jt(z.config);
947
+ Ee(() => z.config, (e, t) => {
948
+ let n = jt(e), r = n !== Mt;
949
+ Mt = n;
950
+ let i = Et();
951
+ if (!r) {
952
+ U.value.style.chart.tooltip = i.style.chart.tooltip, Z.value.showTooltip = U.value.style.chart.tooltip.show;
953
+ return;
954
+ }
955
+ U.value = i, Ct.value = !U.value.userOptions.showOnChartHover, Lt(), We.value += 1, Ge.value += 1, Z.value.showTable = U.value.table.show, Z.value.showTooltip = G.value.show, Z.value.showZoom = q.value.zoom.show;
943
956
  }, { deep: !0 });
944
957
  let Y = F({
945
958
  width: q.value.width,
@@ -947,45 +960,45 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
947
960
  maxFontSize: K.value.maxFontSize,
948
961
  minFontSize: K.value.minFontSize,
949
962
  bold: K.value.bold
950
- }), At = re(() => {
963
+ }), Nt = T(() => {
951
964
  let { width: e, height: t } = ie({
952
965
  chart: V.value,
953
- title: q.value.title.text ? Ve.value : null,
954
- legend: mt.value.show ? Xe.value?.$el : null,
955
- source: He.value
966
+ title: q.value.title.text ? He.value : null,
967
+ legend: ht.value.show ? Ze.value?.$el : null,
968
+ source: Ue.value
956
969
  });
957
970
  requestAnimationFrame(async () => {
958
- Y.value.width = Math.max(10, e), Y.value.height = Math.max(10, t - 12), await he(), kt.value = !1;
971
+ Y.value.width = Math.max(10, e), Y.value.height = Math.max(10, t - 12), await ge(), At.value = !1;
959
972
  });
960
- }, 100), jt = () => {
961
- kt.value = !0, At();
962
- }, X = Se(null), Mt = Se(null);
963
- ye(Pt);
964
- let Nt = E(() => U.value.debug);
965
- function Pt() {
966
- o(z.dataset) ? p({
973
+ }, 100), Pt = () => {
974
+ At.value = !0, Nt();
975
+ }, X = Ce(null), Ft = Ce(null);
976
+ be(Lt);
977
+ let It = D(() => U.value.debug);
978
+ function Lt() {
979
+ o(z.dataset) ? m({
967
980
  componentName: "VueUiWordCloud",
968
981
  type: "dataset",
969
- debug: Nt.value
970
- }) : bt.value.forEach((e, t) => {
971
- f({
982
+ debug: It.value
983
+ }) : xt.value.forEach((e, t) => {
984
+ p({
972
985
  datasetObject: e,
973
986
  requiredAttributes: ["name", "value"]
974
987
  }).forEach((e) => {
975
- ze.value = !1, p({
988
+ Be.value = !1, m({
976
989
  componentName: "VueUiWordCloud",
977
990
  type: "datasetSerieAttribute",
978
991
  property: e,
979
992
  index: t,
980
- debug: Nt.value
993
+ debug: It.value
981
994
  });
982
995
  });
983
- }), o(z.dataset) || (yt.value = U.value.loading), U.value.responsive && (X.value && (Mt.value && X.value.unobserve(Mt.value), X.value.disconnect()), X.value = new ResizeObserver(jt), Mt.value = V.value.parentNode, X.value.observe(Mt.value)), Dt();
996
+ }), o(z.dataset) || (bt.value = U.value.loading), U.value.responsive && (X.value && (Ft.value && X.value.unobserve(Ft.value), X.value.disconnect()), X.value = new ResizeObserver(Pt), Ft.value = V.value.parentNode, X.value.observe(Ft.value)), Ot();
984
997
  }
985
- ve(() => {
986
- X.value && (Mt.value && X.value.unobserve(Mt.value), X.value.disconnect());
998
+ ye(() => {
999
+ X.value && (Ft.value && X.value.unobserve(Ft.value), X.value.disconnect());
987
1000
  });
988
- let { isPrinting: Ft, isImaging: It, generatePdf: Lt, generateImage: Rt } = ee({
1001
+ let { isPrinting: Rt, isImaging: zt, generatePdf: Bt, generateImage: Vt } = te({
989
1002
  elementId: `wordCloud_${B.value}`,
990
1003
  fileName: q.value.title.text || "vue-ui-word-cloud",
991
1004
  options: U.value.userOptions.print
@@ -994,22 +1007,22 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
994
1007
  showTooltip: G.value.show,
995
1008
  showZoom: q.value.zoom.show
996
1009
  });
997
- Te(U, () => {
1010
+ Ee(U, () => {
998
1011
  Z.value.showTable = U.value.table.show, Z.value.showTooltip = G.value.show, Z.value.showZoom = q.value.zoom.show;
999
1012
  }, { immediate: !0 });
1000
- function zt(e, t, n = "Arial") {
1013
+ function Ht(e, t, n = "Arial") {
1001
1014
  let r = document.createElement("canvas").getContext("2d");
1002
1015
  return r.font = `${t}px ${K.value.bold ? "bold" : "normal"} ${n}`, {
1003
1016
  width: r.measureText(e).width + K.value.proximity,
1004
1017
  height: t
1005
1018
  };
1006
1019
  }
1007
- let Q = F([]), Bt = /* @__PURE__ */ new Map();
1008
- function Vt() {
1009
- let e = [...bt.value].map((e) => e.value), t = Math.max(...e), n = Math.min(...e), r = [...bt.value].map((e, r) => {
1020
+ let Q = F([]), Ut = /* @__PURE__ */ new Map();
1021
+ function Wt() {
1022
+ let e = [...xt.value].map((e) => e.value), t = Math.max(...e), n = Math.min(...e), r = [...xt.value].map((e, r) => {
1010
1023
  let i = (e.value - n) / (t - n) * (Y.value.maxFontSize - Y.value.minFontSize) + Y.value.minFontSize;
1011
1024
  i = isNaN(i) ? Y.value.minFontSize : i;
1012
- let o = zt(e.name, i);
1025
+ let o = Ht(e.name, i);
1013
1026
  return {
1014
1027
  ...e,
1015
1028
  id: e.id ?? `${e.name}__${r}`,
@@ -1019,8 +1032,8 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1019
1032
  color: e.color ? s(e.color) : K.value.usePalette ? U.value.customPalette[r] || U.value.customPalette[r % U.value.customPalette.length] || a[r] || a[r % a.length] : K.value.color
1020
1033
  };
1021
1034
  });
1022
- Q.value.length = 0, Bt.clear(), Ze({
1023
- debugTiming: Nt.value,
1035
+ Q.value.length = 0, Ut.clear(), Qe({
1036
+ debugTiming: It.value,
1024
1037
  words: r,
1025
1038
  svg: Y.value,
1026
1039
  proximity: K.value.proximity,
@@ -1028,28 +1041,28 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1028
1041
  quality: U.value.quality,
1029
1042
  onProgress: ({ all: e }) => {
1030
1043
  for (let t of e) {
1031
- let e = t.id, n = Bt.get(e);
1032
- if (n === void 0) n = Q.value.length, Bt.set(e, n), Q.value.push({ ...t });
1044
+ let e = t.id, n = Ut.get(e);
1045
+ if (n === void 0) n = Q.value.length, Ut.set(e, n), Q.value.push({ ...t });
1033
1046
  else {
1034
1047
  let e = Q.value[n];
1035
1048
  e.x = t.x, e.y = t.y, e.width = t.width, e.height = t.height, e.fontSize = t.fontSize, e.minX = t.minX, e.minY = t.minY, e.maxX = t.maxX, e.maxY = t.maxY;
1036
1049
  }
1037
1050
  }
1038
1051
  }
1039
- }), Q.value.sort((e, t) => t.fontSize - e.fontSize), Bt.clear(), Q.value.forEach((e, t) => {
1040
- Bt.set(e.id, t);
1041
- }), Je.value = !0, Ye.value = !1;
1052
+ }), Q.value.sort((e, t) => t.fontSize - e.fontSize), Ut.clear(), Q.value.forEach((e, t) => {
1053
+ Ut.set(e.id, t);
1054
+ }), Ye.value = !0, Xe.value = !1;
1042
1055
  }
1043
- let Ht = E(() => ({
1056
+ let Gt = D(() => ({
1044
1057
  head: Q.value.map((e) => ({
1045
1058
  name: e.name,
1046
1059
  color: e.color
1047
1060
  })),
1048
1061
  body: Q.value.map((e) => e.value)
1049
1062
  }));
1050
- function Ut(e = null) {
1051
- he(() => {
1052
- let n = Ht.value.head.map((e, t) => [[e.name], [Ht.value.body[t]]]), i = [
1063
+ function Kt(e = null) {
1064
+ ge(() => {
1065
+ let n = Gt.value.head.map((e, t) => [[e.name], [Gt.value.body[t]]]), i = [
1053
1066
  [q.value.title.text],
1054
1067
  [q.value.title.subtitle.text],
1055
1068
  [[""], [U.value.table.columnNames.value]]
@@ -1060,11 +1073,11 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1060
1073
  });
1061
1074
  });
1062
1075
  }
1063
- let Wt = E(() => {
1064
- let e = [U.value.table.columnNames.series, U.value.table.columnNames.value], t = Ht.value.head.map((e, t) => {
1076
+ let qt = D(() => {
1077
+ let e = [U.value.table.columnNames.series, U.value.table.columnNames.value], t = Gt.value.head.map((e, t) => {
1065
1078
  let n = c({
1066
1079
  p: U.value.table.td.prefix,
1067
- v: Ht.value.body[t],
1080
+ v: Gt.value.body[t],
1068
1081
  s: U.value.table.td.suffix,
1069
1082
  r: U.value.table.td.roundingValue
1070
1083
  });
@@ -1093,37 +1106,37 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1093
1106
  config: r
1094
1107
  };
1095
1108
  }), $ = F(!1);
1096
- function Gt(e) {
1097
- $.value = e, Be.value += 1;
1109
+ function Jt(e) {
1110
+ $.value = e, Ve.value += 1;
1098
1111
  }
1099
- function Kt() {
1112
+ function Yt() {
1100
1113
  return Q.value;
1101
1114
  }
1102
- function qt() {
1115
+ function Xt() {
1103
1116
  Z.value.showTable = !Z.value.showTable;
1104
1117
  }
1105
- function Jt() {
1118
+ function Zt() {
1106
1119
  Z.value.showTooltip = !Z.value.showTooltip;
1107
1120
  }
1108
- let Yt = F(!1);
1109
- function Xt() {
1110
- Yt.value = !Yt.value;
1121
+ let Qt = F(!1);
1122
+ function $t() {
1123
+ Qt.value = !Qt.value;
1111
1124
  }
1112
- function Zt() {
1125
+ function en() {
1113
1126
  Z.value.showZoom = !Z.value.showZoom;
1114
1127
  }
1115
- let Qt = E(() => !Yt.value && Z.value.showZoom), { viewBox: $t, resetZoom: en, isZoom: tn, setInitialViewBox: nn, zoomByFactor: rn, scale: an } = se(J, {
1128
+ let tn = D(() => !Qt.value && Z.value.showZoom), { viewBox: nn, resetZoom: rn, isZoom: an, setInitialViewBox: on, zoomByFactor: sn, scale: cn } = se(J, {
1116
1129
  x: 0,
1117
1130
  y: 0,
1118
1131
  width: Y.value.width <= 0 ? 10 : Y.value.width,
1119
1132
  height: Y.value.height <= 0 ? 10 : Y.value.height
1120
- }, 1, Qt);
1121
- Te(() => z.dataset, () => {
1122
- bt.value = xt(), U.value.responsive || (Vt(), Dt());
1133
+ }, 1, tn);
1134
+ Ee(() => z.dataset, () => {
1135
+ xt.value = St(), U.value.responsive || (Wt(), Ot());
1123
1136
  }, { immediate: !0 });
1124
- async function on({ scale: e = 2 } = {}) {
1137
+ async function ln({ scale: e = 2 } = {}) {
1125
1138
  if (!V.value) return;
1126
- let { width: t, height: n } = V.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await S({
1139
+ let { width: t, height: n } = V.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await C({
1127
1140
  domElement: V.value,
1128
1141
  base64: !0,
1129
1142
  img: !0,
@@ -1138,10 +1151,10 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1138
1151
  aspectRatio: r
1139
1152
  };
1140
1153
  }
1141
- let sn = E(() => {
1154
+ let un = D(() => {
1142
1155
  let e = U.value.table.useDialog && !U.value.table.show, t = Z.value.showTable;
1143
1156
  return {
1144
- component: e ? Pe : ke,
1157
+ component: e ? Fe : Ae,
1145
1158
  title: `${q.value.title.text}${q.value.title.subtitle.text ? `: ${q.value.title.subtitle.text}` : ""}`,
1146
1159
  props: e ? {
1147
1160
  backgroundColor: U.value.table.th.backgroundColor,
@@ -1151,7 +1164,7 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1151
1164
  isFullscreen: $.value,
1152
1165
  fullscreenParent: V.value,
1153
1166
  forcedWidth: Math.min(500, window.innerWidth * .8),
1154
- isCursorPointer: ht.value
1167
+ isCursorPointer: gt.value
1155
1168
  } : {
1156
1169
  hideDetails: !0,
1157
1170
  config: {
@@ -1169,83 +1182,83 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1169
1182
  }
1170
1183
  };
1171
1184
  });
1172
- Te(() => Z.value.showTable, (e) => {
1173
- U.value.table.show || (e && U.value.table.useDialog && Ke.value ? Ke.value.open() : "close" in Ke.value && Ke.value.close());
1185
+ Ee(() => Z.value.showTable, (e) => {
1186
+ U.value.table.show || (e && U.value.table.useDialog && qe.value ? qe.value.open() : "close" in qe.value && qe.value.close());
1174
1187
  });
1175
- function cn() {
1176
- Z.value.showTable = !1, qe.value && qe.value.setTableIconState(!1);
1188
+ function dn() {
1189
+ Z.value.showTable = !1, Je.value && Je.value.setTableIconState(!1);
1177
1190
  }
1178
- let ln = E(() => q.value.backgroundColor), un = E(() => q.value.title), { isCallbackImaging: dn, isCallbackSvg: fn, generateSvg: pn, onGenerateImage: mn } = x({
1191
+ let fn = D(() => q.value.backgroundColor), pn = D(() => q.value.title), { isCallbackImaging: mn, isCallbackSvg: hn, generateSvg: gn, onGenerateImage: _n } = S({
1179
1192
  svg: J,
1180
- title: un,
1193
+ title: pn,
1181
1194
  legend: null,
1182
1195
  legendItems: null,
1183
- backgroundColor: ln,
1196
+ backgroundColor: fn,
1184
1197
  getSvgCallback: () => U.value.userOptions.callbacks.svg,
1185
- generateImage: Rt
1198
+ generateImage: Vt
1186
1199
  });
1187
- function hn() {
1188
- rn(1.5, !0);
1200
+ function vn() {
1201
+ sn(1.5, !0);
1189
1202
  }
1190
- function gn() {
1191
- rn(1 / 1.5, !0);
1203
+ function yn() {
1204
+ sn(1 / 1.5, !0);
1192
1205
  }
1193
- let _n = F(null), vn = F(!1), yn = F(""), bn = F(null);
1194
- function xn() {
1195
- _n.value = null, H.value = null, Ge.value = !1;
1206
+ let bn = F(null), xn = F(!1), Sn = F(""), Cn = F(null);
1207
+ function wn() {
1208
+ bn.value = null, H.value = null, Ke.value = !1;
1196
1209
  }
1197
- function Sn(e, t) {
1210
+ function Tn(e, t) {
1198
1211
  U.value.events.datapointLeave && U.value.events.datapointLeave({
1199
1212
  datapoint: e,
1200
1213
  seriesIndex: t
1201
- }), (H.value !== t || ft.value !== "keyboard") && (_n.value = null, Ge.value = !1);
1214
+ }), (H.value !== t || pt.value !== "keyboard") && (bn.value = null, Ke.value = !1);
1202
1215
  }
1203
- function Cn(e, t) {
1216
+ function En(e, t) {
1204
1217
  U.value.events.datapointClick && U.value.events.datapointClick({
1205
1218
  datapoint: e,
1206
1219
  seriesIndex: t
1207
1220
  });
1208
1221
  }
1209
- function wn(e) {
1222
+ function Dn(e) {
1210
1223
  if (!J.value || e == null) return;
1211
1224
  let t = J.value.querySelector(`[data-a11y-word-index="${e}-${B.value}"]`);
1212
1225
  if (!t) return;
1213
1226
  let n = t.getBoundingClientRect();
1214
- dt.value = {
1227
+ ft.value = {
1215
1228
  x: n.left + n.width / 2,
1216
1229
  y: n.top + n.height / 2
1217
1230
  };
1218
1231
  }
1219
- function Tn(e, t, r = "pointer") {
1232
+ function On(e, t, r = "pointer") {
1220
1233
  if (U.value.events.datapointEnter && U.value.events.datapointEnter({
1221
1234
  datapoint: e,
1222
1235
  seriesIndex: t
1223
1236
  }), !Z.value.showTooltip) return;
1224
- ft.value = r, H.value = t, _n.value = e.id, bn.value = {
1237
+ pt.value = r, H.value = t, bn.value = e.id, Cn.value = {
1225
1238
  datapoint: e,
1226
1239
  config: U.value,
1227
1240
  seriesIndex: t
1228
1241
  };
1229
1242
  let i = G.value.customFormat;
1230
- if (vn.value = !1, n(i)) try {
1243
+ if (xn.value = !1, n(i)) try {
1231
1244
  let t = i({
1232
1245
  datapoint: e,
1233
1246
  config: U.value
1234
1247
  });
1235
- typeof t == "string" && (yn.value = t, vn.value = !0);
1248
+ typeof t == "string" && (Sn.value = t, xn.value = !0);
1236
1249
  } catch {
1237
- console.warn("Custom format cannot be applied."), vn.value = !1;
1250
+ console.warn("Custom format cannot be applied."), xn.value = !1;
1238
1251
  }
1239
- if (!vn.value) {
1252
+ if (!xn.value) {
1240
1253
  let t = `<svg viewBox="0 0 10 10" height="${G.value.fontSize}"><circle cx="5" cy="5" r="5" fill="${e.color}"/></svg><span>${e.name}:</span><b>${(e.value || 0).toFixed(G.value.roundingValue)}</b>`;
1241
- yn.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${t}</div>`;
1254
+ Sn.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${t}</div>`;
1242
1255
  }
1243
- r === "keyboard" && he(() => {
1244
- wn(t);
1245
- }), Ge.value = !0;
1256
+ r === "keyboard" && ge(() => {
1257
+ Dn(t);
1258
+ }), Ke.value = !0;
1246
1259
  }
1247
- async function En() {
1248
- if (Re("copyAlt", {
1260
+ async function kn() {
1261
+ if (ze("copyAlt", {
1249
1262
  config: U.value,
1250
1263
  dataset: Q.value
1251
1264
  }), !U.value.userOptions.callbacks.altCopy) {
@@ -1257,72 +1270,72 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1257
1270
  dataset: Q.value
1258
1271
  }));
1259
1272
  }
1260
- function Dn() {
1261
- H.value = null, pt.value = !0;
1273
+ function An() {
1274
+ H.value = null, mt.value = !0;
1262
1275
  }
1263
- function On() {
1264
- xn(), pt.value = !1;
1276
+ function jn() {
1277
+ wn(), mt.value = !1;
1265
1278
  }
1266
- function kn(e) {
1267
- if (!J.value || Yt.value || document.activeElement !== J.value || !Q.value.length) return;
1279
+ function Mn(e) {
1280
+ if (!J.value || Qt.value || document.activeElement !== J.value || !Q.value.length) return;
1268
1281
  let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1269
1282
  if (!t && !n && !r && !i) return;
1270
1283
  if (e.preventDefault(), e.stopPropagation(), i) {
1271
- xn();
1284
+ wn();
1272
1285
  return;
1273
1286
  }
1274
1287
  if (r) {
1275
1288
  if (H.value === null) return;
1276
1289
  let e = Q.value[H.value];
1277
1290
  if (!e) return;
1278
- Cn(e, H.value);
1291
+ En(e, H.value);
1279
1292
  return;
1280
1293
  }
1281
1294
  let a = H.value;
1282
1295
  a === null || a < 0 || a >= Q.value.length ? a = n ? 0 : Q.value.length - 1 : (a += n ? 1 : -1, a < 0 && (a = Q.value.length - 1), a >= Q.value.length && (a = 0));
1283
1296
  let o = Q.value[a];
1284
- o && Tn(o, a, "keyboard");
1297
+ o && On(o, a, "keyboard");
1285
1298
  }
1286
- let An = E(() => ({
1287
- headers: Wt.value?.colNames ?? [],
1288
- rows: Wt.value?.a11yBody ?? []
1299
+ let Nn = D(() => ({
1300
+ headers: qt.value?.colNames ?? [],
1301
+ rows: qt.value?.a11yBody ?? []
1289
1302
  }));
1290
- return w({
1291
- getData: Kt,
1292
- getImage: on,
1293
- generateCsv: Ut,
1294
- generatePdf: Lt,
1295
- generateImage: Rt,
1296
- generateSvg: pn,
1297
- resetZoom: en,
1298
- toggleTable: qt,
1299
- toggleTooltip: Jt,
1300
- toggleAnnotator: Xt,
1301
- toggleFullscreen: Gt,
1302
- toggleZoom: Zt,
1303
- copyAlt: En
1304
- }), (e, t) => (P(), k("div", {
1303
+ return re({
1304
+ getData: Yt,
1305
+ getImage: ln,
1306
+ generateCsv: Kt,
1307
+ generatePdf: Bt,
1308
+ generateImage: Vt,
1309
+ generateSvg: gn,
1310
+ resetZoom: rn,
1311
+ toggleTable: Xt,
1312
+ toggleTooltip: Zt,
1313
+ toggleAnnotator: $t,
1314
+ toggleFullscreen: Jt,
1315
+ toggleZoom: en,
1316
+ copyAlt: kn
1317
+ }), (e, t) => (P(), A("div", {
1305
1318
  class: "vue-data-ui-component vue-ui-word-cloud",
1306
1319
  ref_key: "wordCloudChart",
1307
1320
  ref: V,
1308
1321
  id: `wordCloud_${B.value}`,
1309
- "data-resizing": kt.value,
1310
- "data-relayout": Ye.value,
1311
- style: _e(`width: 100%; font-family:${U.value.style.fontFamily};background:${q.value.backgroundColor};${U.value.responsive ? "height:100%" : ""}`),
1312
- onMouseenter: t[3] ||= () => L(Ct)(!0),
1322
+ "data-resizing": At.value,
1323
+ "data-relayout": Xe.value,
1324
+ style: ve(`width: 100%; font-family:${U.value.style.fontFamily};background:${q.value.backgroundColor};${U.value.responsive ? "height:100%" : ""}`),
1325
+ onMouseenter: t[3] ||= () => L(wt)(!0),
1313
1326
  onMouseleave: t[4] ||= () => {
1314
- L(Ct)(!1), pt.value || xn();
1327
+ L(wt)(!1), mt.value || wn();
1315
1328
  }
1316
1329
  }, [
1317
- A("div", {
1330
+ de("div", {
1318
1331
  id: `chart-instructions-${B.value}`,
1319
1332
  class: "sr-only"
1320
- }, [A("p", null, Ce(U.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
1321
- An.value?.rows?.length ? (P(), D(ae, {
1333
+ }, [de("p", null, we(U.value.a11y.translations.keyboardNavigation), 1)], 8, et),
1334
+ Nn.value?.rows?.length ? (P(), O(E, {
1322
1335
  key: 0,
1323
1336
  uid: B.value,
1324
- head: An.value.headers,
1325
- body: An.value.rows,
1337
+ head: Nn.value.headers,
1338
+ body: Nn.value.rows,
1326
1339
  notice: U.value.a11y.translations.tableAvailable,
1327
1340
  caption: U.value.a11y.translations.tableCaption
1328
1341
  }, null, 8, [
@@ -1331,16 +1344,16 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1331
1344
  "body",
1332
1345
  "notice",
1333
1346
  "caption"
1334
- ])) : O("", !0),
1335
- W.value.buttons.annotator ? (P(), D(L(je), {
1347
+ ])) : k("", !0),
1348
+ W.value.buttons.annotator ? (P(), O(L(Me), {
1336
1349
  key: 1,
1337
1350
  svgRef: L(J),
1338
1351
  backgroundColor: q.value.backgroundColor,
1339
1352
  color: q.value.color,
1340
- active: Yt.value,
1341
- isCursorPointer: ht.value,
1353
+ active: Qt.value,
1354
+ isCursorPointer: gt.value,
1342
1355
  palette: W.value.annotatorPalette,
1343
- onClose: Xt
1356
+ onClose: $t
1344
1357
  }, {
1345
1358
  "annotator-action-close": R(() => [I(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1346
1359
  "annotator-action-color": R(({ color: t }) => [I(e.$slots, "annotator-action-color", N(M({ color: t })), void 0, !0)]),
@@ -1356,27 +1369,27 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1356
1369
  "active",
1357
1370
  "isCursorPointer",
1358
1371
  "palette"
1359
- ])) : O("", !0),
1360
- q.value.title.text ? (P(), k("div", {
1372
+ ])) : k("", !0),
1373
+ q.value.title.text ? (P(), A("div", {
1361
1374
  key: 2,
1362
1375
  ref_key: "chartTitle",
1363
- ref: Ve,
1376
+ ref: He,
1364
1377
  style: "width:100%;background:transparent;padding-bottom:24px"
1365
- }, [(P(), D(C, {
1366
- key: `title_${Ue.value}`,
1378
+ }, [(P(), O(w, {
1379
+ key: `title_${We.value}`,
1367
1380
  config: {
1368
1381
  title: { ...q.value.title },
1369
1382
  subtitle: { ...q.value.title.subtitle }
1370
1383
  }
1371
- }, null, 8, ["config"]))], 512)) : O("", !0),
1372
- W.value.show && ze.value && (L(wt) || L(St)) ? (P(), D(L(Me), {
1384
+ }, null, 8, ["config"]))], 512)) : k("", !0),
1385
+ W.value.show && Be.value && (L(Tt) || L(Ct)) ? (P(), O(L(Ne), {
1373
1386
  ref_key: "userOptionsRef",
1374
- ref: qe,
1375
- key: `user_option_${Be.value}`,
1387
+ ref: Je,
1388
+ key: `user_option_${Ve.value}`,
1376
1389
  backgroundColor: q.value.backgroundColor,
1377
1390
  color: q.value.color,
1378
- isPrinting: L(Ft),
1379
- isImaging: L(It),
1391
+ isPrinting: L(Rt),
1392
+ isImaging: L(zt),
1380
1393
  uid: B.value,
1381
1394
  hasPdf: W.value.buttons.pdf,
1382
1395
  hasXls: W.value.buttons.csv,
@@ -1392,25 +1405,25 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1392
1405
  hasTooltip: G.value.show && W.value.buttons.tooltip,
1393
1406
  isTooltip: Z.value.showTooltip,
1394
1407
  hasAnnotator: W.value.buttons.annotator,
1395
- isAnnotation: Yt.value,
1408
+ isAnnotation: Qt.value,
1396
1409
  callbacks: W.value.callbacks,
1397
1410
  printScale: W.value.print.scale,
1398
1411
  tableDialog: U.value.table.useDialog,
1399
1412
  hasZoom: W.value.buttons.zoom,
1400
1413
  isZoom: Z.value.showZoom,
1401
- isCursorPointer: ht.value,
1402
- onToggleFullscreen: Gt,
1403
- onGeneratePdf: L(Lt),
1404
- onGenerateCsv: Ut,
1405
- onGenerateImage: L(mn),
1406
- onGenerateSvg: L(pn),
1407
- onToggleTable: qt,
1408
- onToggleTooltip: Jt,
1409
- onToggleAnnotator: Xt,
1410
- onToggleZoom: Zt,
1411
- onCopyAlt: En,
1412
- style: _e({ visibility: L(wt) ? L(St) ? "visible" : "hidden" : "visible" })
1413
- }, de({ _: 2 }, [
1414
+ isCursorPointer: gt.value,
1415
+ onToggleFullscreen: Jt,
1416
+ onGeneratePdf: L(Bt),
1417
+ onGenerateCsv: Kt,
1418
+ onGenerateImage: L(_n),
1419
+ onGenerateSvg: L(gn),
1420
+ onToggleTable: Xt,
1421
+ onToggleTooltip: Zt,
1422
+ onToggleAnnotator: $t,
1423
+ onToggleZoom: en,
1424
+ onCopyAlt: kn,
1425
+ style: ve({ visibility: L(Tt) ? L(Ct) ? "visible" : "hidden" : "visible" })
1426
+ }, fe({ _: 2 }, [
1414
1427
  e.$slots.menuIcon ? {
1415
1428
  name: "menuIcon",
1416
1429
  fn: R(({ isOpen: t, color: n }) => [I(e.$slots, "menuIcon", N(M({
@@ -1488,57 +1501,57 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1488
1501
  fn: R(() => [I(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1489
1502
  key: "12"
1490
1503
  } : void 0
1491
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasTooltip.isTooltip.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.hasZoom.isZoom.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : O("", !0),
1492
- mt.value.position === "top" && mt.value.show && !L(_t) ? (P(), D(le, {
1504
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasTooltip.isTooltip.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.hasZoom.isZoom.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : k("", !0),
1505
+ ht.value.position === "top" && ht.value.show && !L(vt) ? (P(), O(le, {
1493
1506
  key: 4,
1494
1507
  ref_key: "zoomControls",
1495
- ref: Xe,
1508
+ ref: Ze,
1496
1509
  config: U.value,
1497
- scale: L(an),
1510
+ scale: L(cn),
1498
1511
  isFullscreen: $.value,
1499
- isCursorPointer: ht.value,
1500
- onZoomIn: hn,
1501
- onZoomOut: gn,
1502
- onResetZoom: t[0] ||= (e) => L(en)(!0)
1512
+ isCursorPointer: gt.value,
1513
+ onZoomIn: vn,
1514
+ onZoomOut: yn,
1515
+ onResetZoom: t[0] ||= (e) => L(rn)(!0)
1503
1516
  }, null, 8, [
1504
1517
  "config",
1505
1518
  "scale",
1506
1519
  "isFullscreen",
1507
1520
  "isCursorPointer"
1508
- ])) : O("", !0),
1509
- A("div", et, [(P(), k("svg", {
1521
+ ])) : k("", !0),
1522
+ de("div", tt, [(P(), A("svg", {
1510
1523
  ref_key: "svgRef",
1511
1524
  ref: J,
1512
- class: ge({
1525
+ class: _e({
1513
1526
  "vue-data-ui-fullscreen--on": $.value,
1514
1527
  "vue-data-ui-fulscreen--off": !$.value
1515
1528
  }),
1516
1529
  "aria-describedby": `chart-instructions-${B.value}`,
1517
- xmlns: L(h),
1518
- viewBox: `${L($t).x} ${L($t).y} ${L($t).width} ${L($t).height}`,
1530
+ xmlns: L(g),
1531
+ viewBox: `${L(nn).x} ${L(nn).y} ${L(nn).width} ${L(nn).height}`,
1519
1532
  style: "overflow:hidden;background:transparent;display:block",
1520
1533
  tabindex: "0",
1521
- onFocus: Dn,
1522
- onBlur: On,
1523
- onKeydown: kn
1534
+ onFocus: An,
1535
+ onBlur: jn,
1536
+ onKeydown: Mn
1524
1537
  }, [
1525
- pe(L(Ne)),
1526
- e.$slots["chart-background"] ? (P(), k("foreignObject", {
1538
+ me(L(Pe)),
1539
+ e.$slots["chart-background"] ? (P(), A("foreignObject", {
1527
1540
  key: 0,
1528
1541
  x: 0,
1529
1542
  y: 0,
1530
1543
  width: Y.value.width <= 0 ? 10 : Y.value.width,
1531
1544
  height: Y.value.height <= 0 ? 10 : Y.value.height,
1532
1545
  style: { pointerEvents: "none" }
1533
- }, [I(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : O("", !0),
1534
- A("g", {
1535
- transform: `translate(${Et.value.x}, ${Et.value.y})`,
1536
- class: ge({ "wc-finalized": Je.value })
1537
- }, [(P(!0), k(ue, null, be(Q.value, (e, t) => (P(), k("g", {
1546
+ }, [I(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : k("", !0),
1547
+ de("g", {
1548
+ transform: `translate(${Dt.value.x}, ${Dt.value.y})`,
1549
+ class: _e({ "wc-finalized": Ye.value })
1550
+ }, [(P(!0), A(ue, null, xe(Q.value, (e, t) => (P(), A("g", {
1538
1551
  key: e.id,
1539
1552
  class: "vue-ui-word-cloud-word",
1540
1553
  transform: `translate(${e.x}, ${e.y})`
1541
- }, [e.minX === void 0 ? O("", !0) : (P(), k("rect", {
1554
+ }, [e.minX === void 0 ? k("", !0) : (P(), A("rect", {
1542
1555
  key: 0,
1543
1556
  "data-a11y-word-index": `${t}-${B.value}`,
1544
1557
  x: e.minX,
@@ -1548,10 +1561,10 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1548
1561
  fill: "transparent",
1549
1562
  "pointer-events": "visiblePainted",
1550
1563
  "aria-label": `${e.name}: ${(e.value || 0).toFixed(G.value.roundingValue)}`,
1551
- onMouseover: (n) => Tn(e, t),
1552
- onMouseleave: (n) => Sn(e, t),
1553
- onClick: (n) => Cn(e, t)
1554
- }, null, 40, at)), A("text", {
1564
+ onMouseover: (n) => On(e, t),
1565
+ onMouseleave: (n) => Tn(e, t),
1566
+ onClick: (n) => En(e, t)
1567
+ }, null, 40, ot)), de("text", {
1555
1568
  fill: e.color,
1556
1569
  "font-weight": K.value.bold ? "bold" : "normal",
1557
1570
  x: 0,
@@ -1561,46 +1574,46 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1561
1574
  "text-anchor": "middle",
1562
1575
  "dominant-baseline": "central",
1563
1576
  "paint-order": "stroke fill",
1564
- stroke: !_n.value || _n.value === e.id ? K.value.selectedStroke : void 0,
1577
+ stroke: !bn.value || bn.value === e.id ? K.value.selectedStroke : void 0,
1565
1578
  "stroke-width": e.height * .05,
1566
1579
  "stroke-linecap": "round",
1567
1580
  "stroke-linejoin": "round",
1568
- style: _e(`
1581
+ style: ve(`
1569
1582
  pointer-events:none;
1570
- fill-opacity:${!_n.value || _n.value === e.id || !Je.value ? 1 : K.value.hoverOpacity} !important;
1583
+ fill-opacity:${!bn.value || bn.value === e.id || !Ye.value ? 1 : K.value.hoverOpacity} !important;
1571
1584
  `)
1572
- }, Ce(e.name), 13, ot)], 8, it))), 128))], 10, rt),
1585
+ }, we(e.name), 13, st)], 8, at))), 128))], 10, it),
1573
1586
  I(e.$slots, "svg", { svg: {
1574
1587
  ...Y.value,
1575
- isPrintingImg: L(Ft) || L(It) || L(dn),
1576
- isPrintingSvg: L(fn)
1588
+ isPrintingImg: L(Rt) || L(zt) || L(mn),
1589
+ isPrintingSvg: L(hn)
1577
1590
  } }, void 0, !0)
1578
- ], 42, tt)), e.$slots.hint ? (P(), k("div", st, [I(e.$slots, "hint", N(M({
1591
+ ], 42, nt)), e.$slots.hint ? (P(), A("div", ct, [I(e.$slots, "hint", N(M({
1579
1592
  hint: U.value.a11y.translations.keyboardNavigation,
1580
- isVisible: pt.value
1581
- })), void 0, !0)])) : O("", !0)]),
1582
- e.$slots.watermark ? (P(), k("div", ct, [I(e.$slots, "watermark", N(M({ isPrinting: L(Ft) || L(It) || L(dn) || L(fn) })), void 0, !0)])) : O("", !0),
1583
- L(tn) ? (P(), k("div", lt, [I(e.$slots, "reset-action", { reset: L(en) }, void 0, !0)])) : O("", !0),
1584
- mt.value.position === "bottom" && mt.value.show && !L(_t) ? (P(), D(le, {
1593
+ isVisible: mt.value
1594
+ })), void 0, !0)])) : k("", !0)]),
1595
+ e.$slots.watermark ? (P(), A("div", lt, [I(e.$slots, "watermark", N(M({ isPrinting: L(Rt) || L(zt) || L(mn) || L(hn) })), void 0, !0)])) : k("", !0),
1596
+ L(an) ? (P(), A("div", ut, [I(e.$slots, "reset-action", { reset: L(rn) }, void 0, !0)])) : k("", !0),
1597
+ ht.value.position === "bottom" && ht.value.show && !L(vt) ? (P(), O(le, {
1585
1598
  key: 7,
1586
1599
  ref_key: "zoomControls",
1587
- ref: Xe,
1600
+ ref: Ze,
1588
1601
  config: U.value,
1589
- scale: L(an),
1602
+ scale: L(cn),
1590
1603
  isFullscreen: $.value,
1591
- isCursorPointer: ht.value,
1592
- onZoomIn: hn,
1593
- onZoomOut: gn,
1594
- onResetZoom: t[1] ||= (e) => L(en)(!0)
1604
+ isCursorPointer: gt.value,
1605
+ onZoomIn: vn,
1606
+ onZoomOut: yn,
1607
+ onResetZoom: t[1] ||= (e) => L(rn)(!0)
1595
1608
  }, null, 8, [
1596
1609
  "config",
1597
1610
  "scale",
1598
1611
  "isFullscreen",
1599
1612
  "isCursorPointer"
1600
- ])) : O("", !0),
1601
- pe(L(De), {
1613
+ ])) : k("", !0),
1614
+ me(L(Oe), {
1602
1615
  teleportTo: G.value.teleportTo,
1603
- show: Z.value.showTooltip && Ge.value,
1616
+ show: Z.value.showTooltip && Ke.value,
1604
1617
  backgroundColor: G.value.backgroundColor,
1605
1618
  color: G.value.color,
1606
1619
  fontSize: G.value.fontSize,
@@ -1612,19 +1625,19 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1612
1625
  offsetX: G.value.offsetX,
1613
1626
  offsetY: G.value.offsetY,
1614
1627
  parent: V.value,
1615
- content: yn.value,
1616
- isCustom: vn.value,
1628
+ content: Sn.value,
1629
+ isCustom: xn.value,
1617
1630
  isFullscreen: $.value,
1618
1631
  smooth: G.value.smooth,
1619
1632
  backdropFilter: G.value.backdropFilter,
1620
1633
  smoothForce: G.value.smoothForce,
1621
1634
  smoothSnapThreshold: G.value.smoothSnapThreshold,
1622
- isA11yMode: ft.value === "keyboard",
1623
- a11yPosition: dt.value
1635
+ isA11yMode: pt.value === "keyboard",
1636
+ a11yPosition: ft.value
1624
1637
  }, {
1625
- "tooltip-before": R(() => [I(e.$slots, "tooltip-before", N(M({ ...bn.value })), void 0, !0)]),
1626
- tooltip: R(() => [I(e.$slots, "tooltip", N(M({ ...bn.value })), void 0, !0)]),
1627
- "tooltip-after": R(() => [I(e.$slots, "tooltip-after", N(M({ ...bn.value })), void 0, !0)]),
1638
+ "tooltip-before": R(() => [I(e.$slots, "tooltip-before", N(M({ ...Cn.value })), void 0, !0)]),
1639
+ tooltip: R(() => [I(e.$slots, "tooltip", N(M({ ...Cn.value })), void 0, !0)]),
1640
+ "tooltip-after": R(() => [I(e.$slots, "tooltip-after", N(M({ ...Cn.value })), void 0, !0)]),
1628
1641
  _: 3
1629
1642
  }, 8, [
1630
1643
  "teleportTo",
@@ -1650,30 +1663,30 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1650
1663
  "isA11yMode",
1651
1664
  "a11yPosition"
1652
1665
  ]),
1653
- e.$slots.source ? (P(), k("div", {
1666
+ e.$slots.source ? (P(), A("div", {
1654
1667
  key: 8,
1655
1668
  ref_key: "source",
1656
- ref: He,
1669
+ ref: Ue,
1657
1670
  dir: "auto"
1658
- }, [I(e.$slots, "source", {}, void 0, !0)], 512)) : O("", !0),
1659
- ze.value && W.value.buttons.table ? (P(), D(xe(sn.value.component), me({ key: 9 }, sn.value.props, {
1671
+ }, [I(e.$slots, "source", {}, void 0, !0)], 512)) : k("", !0),
1672
+ Be.value && W.value.buttons.table ? (P(), O(Se(un.value.component), he({ key: 9 }, un.value.props, {
1660
1673
  ref_key: "tableUnit",
1661
- ref: Ke,
1662
- onClose: cn
1663
- }), de({
1664
- content: R(() => [(P(), D(L(Ae), {
1665
- key: `table_${We.value}`,
1666
- colNames: Wt.value.colNames,
1667
- head: Wt.value.head,
1668
- body: Wt.value.body,
1669
- config: Wt.value.config,
1670
- title: U.value.table.useDialog ? "" : sn.value.title,
1674
+ ref: qe,
1675
+ onClose: dn
1676
+ }), fe({
1677
+ content: R(() => [(P(), O(L(je), {
1678
+ key: `table_${Ge.value}`,
1679
+ colNames: qt.value.colNames,
1680
+ head: qt.value.head,
1681
+ body: qt.value.body,
1682
+ config: qt.value.config,
1683
+ title: U.value.table.useDialog ? "" : un.value.title,
1671
1684
  withCloseButton: !U.value.table.useDialog,
1672
- isCursorPointer: ht.value,
1673
- onClose: cn
1685
+ isCursorPointer: gt.value,
1686
+ onClose: dn
1674
1687
  }, {
1675
- th: R(({ th: e }) => [A("div", ut, Ce(e), 1)]),
1676
- td: R(({ td: e }) => [fe(Ce(e.name || e), 1)]),
1688
+ th: R(({ th: e }) => [de("div", dt, we(e), 1)]),
1689
+ td: R(({ td: e }) => [pe(we(e.name || e), 1)]),
1677
1690
  _: 1
1678
1691
  }, 8, [
1679
1692
  "colNames",
@@ -1687,24 +1700,24 @@ var H = /* @__PURE__ */ e({ default: () => dt }), Qe = [
1687
1700
  _: 2
1688
1701
  }, [U.value.table.useDialog ? {
1689
1702
  name: "title",
1690
- fn: R(() => [fe(Ce(sn.value.title), 1)]),
1703
+ fn: R(() => [pe(we(un.value.title), 1)]),
1691
1704
  key: "0"
1692
1705
  } : void 0, U.value.table.useDialog ? {
1693
1706
  name: "actions",
1694
- fn: R(() => [A("button", {
1707
+ fn: R(() => [de("button", {
1695
1708
  tabindex: "0",
1696
1709
  class: "vue-ui-user-options-button",
1697
- onClick: t[2] ||= (e) => Ut(W.value.callbacks.csv),
1698
- style: _e({ cursor: ht.value ? "pointer" : "default" })
1699
- }, [pe(L(Oe), {
1710
+ onClick: t[2] ||= (e) => Kt(W.value.callbacks.csv),
1711
+ style: ve({ cursor: gt.value ? "pointer" : "default" })
1712
+ }, [me(L(ke), {
1700
1713
  name: "fileCsv",
1701
- stroke: sn.value.props.color
1714
+ stroke: un.value.props.color
1702
1715
  }, null, 8, ["stroke"])], 4)]),
1703
1716
  key: "1"
1704
- } : void 0]), 1040)) : O("", !0),
1705
- I(e.$slots, "skeleton", {}, () => [L(_t) ? (P(), D(ne, { key: 0 })) : O("", !0)], !0)
1706
- ], 44, Qe));
1717
+ } : void 0]), 1040)) : k("", !0),
1718
+ I(e.$slots, "skeleton", {}, () => [L(vt) ? (P(), O(y, { key: 0 })) : k("", !0)], !0)
1719
+ ], 44, $e));
1707
1720
  }
1708
- }, [["__scopeId", "data-v-e14e4b0d"]]);
1721
+ }, [["__scopeId", "data-v-aa6e09c8"]]);
1709
1722
  //#endregion
1710
- export { H as n, dt as t };
1723
+ export { H as n, ft as t };