vue-data-ui 3.3.2 → 3.4.0

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 (161) hide show
  1. package/dist/{Arrow-DLi6NnGD.js → Arrow-CRe_nKB4.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
  3. package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
  4. package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
  5. package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
  6. package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
  8. package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
  9. package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
  10. package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
  11. package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
  12. package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
  13. package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
  14. package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
  15. package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
  16. package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.js} +2 -2
  17. package/dist/components/arrow.js +1 -1
  18. package/dist/components/vue-ui-3d-bar.js +1 -1
  19. package/dist/components/vue-ui-accordion.js +1 -1
  20. package/dist/components/vue-ui-age-pyramid.js +1 -1
  21. package/dist/components/vue-ui-annotator.js +1 -1
  22. package/dist/components/vue-ui-bullet.js +1 -1
  23. package/dist/components/vue-ui-candlestick.js +1 -1
  24. package/dist/components/vue-ui-carousel-table.js +1 -1
  25. package/dist/components/vue-ui-chestnut.js +1 -1
  26. package/dist/components/vue-ui-chord.js +1 -1
  27. package/dist/components/vue-ui-circle-pack.js +1 -1
  28. package/dist/components/vue-ui-cursor.js +1 -1
  29. package/dist/components/vue-ui-dashboard.js +1 -1
  30. package/dist/components/vue-ui-digits.js +1 -1
  31. package/dist/components/vue-ui-donut-evolution.js +1 -1
  32. package/dist/components/vue-ui-donut.js +1 -1
  33. package/dist/components/vue-ui-dumbbell.js +1 -1
  34. package/dist/components/vue-ui-flow.js +1 -1
  35. package/dist/components/vue-ui-funnel.js +1 -1
  36. package/dist/components/vue-ui-galaxy.js +1 -1
  37. package/dist/components/vue-ui-gauge.js +1 -1
  38. package/dist/components/vue-ui-gizmo.js +1 -1
  39. package/dist/components/vue-ui-heatmap.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-strip-plot.js +1 -1
  68. package/dist/components/vue-ui-table-heatmap.js +1 -1
  69. package/dist/components/vue-ui-table-sparkline.js +1 -1
  70. package/dist/components/vue-ui-table.js +1 -1
  71. package/dist/components/vue-ui-thermometer.js +1 -1
  72. package/dist/components/vue-ui-timer.js +1 -1
  73. package/dist/components/vue-ui-tiremarks.js +1 -1
  74. package/dist/components/vue-ui-treemap.js +1 -1
  75. package/dist/components/vue-ui-vertical-bar.js +1 -1
  76. package/dist/components/vue-ui-waffle.js +1 -1
  77. package/dist/components/vue-ui-wheel.js +1 -1
  78. package/dist/components/vue-ui-word-cloud.js +1 -1
  79. package/dist/components/vue-ui-world.js +1 -1
  80. package/dist/components/vue-ui-xy-canvas.js +1 -1
  81. package/dist/components/vue-ui-xy.js +1 -1
  82. package/dist/{dom-to-png-DxyZSvDx.js → dom-to-png-xQ7LXrxp.js} +1 -1
  83. package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
  84. package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
  85. package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
  86. package/dist/style.css +1 -1
  87. package/dist/types/vue-data-ui.d.ts +82 -8
  88. package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
  89. package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
  90. package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
  91. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  92. package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
  93. package/dist/vue-data-ui.js +100 -100
  94. package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
  95. package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
  96. package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
  97. package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
  98. package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
  99. package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
  100. package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
  101. package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
  102. package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
  103. package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
  104. package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
  105. package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
  106. package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
  107. package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
  108. package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
  109. package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
  110. package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
  111. package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
  112. package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
  113. package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
  114. package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
  115. package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
  116. package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
  117. package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
  118. package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
  119. package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
  120. package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
  121. package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
  122. package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
  123. package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
  124. package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
  125. package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
  126. package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
  127. package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
  128. package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
  129. package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
  130. package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
  131. package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
  132. package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
  133. package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
  134. package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
  135. package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
  136. package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
  137. package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
  138. package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
  139. package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
  140. package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
  141. package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
  142. package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
  143. package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
  144. package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
  145. package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
  146. package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
  147. package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
  148. package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
  149. package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
  150. package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
  151. package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
  152. package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
  153. package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
  154. package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
  155. package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
  156. package/package.json +1 -1
  157. package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
  158. package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
  159. package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
  160. package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
  161. package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
@@ -1,14 +1,14 @@
1
1
  import { useCssVars as dt, defineAsyncComponent as j, computed as q, ref as m, toRefs as mt, watch as oe, shallowRef as Ee, onMounted as ht, onBeforeUnmount as pt, createElementBlock as _, openBlock as k, unref as i, normalizeStyle as ye, createBlock as le, createCommentVNode as W, createVNode as we, createSlots as Xe, withCtx as S, renderSlot as F, normalizeProps as ne, guardReactiveProps as se, normalizeClass as Ue, createElementVNode as ke, Fragment as ft, renderList as gt, toDisplayString as Me, resolveDynamicComponent as bt, mergeProps as yt, createTextVNode as Le, nextTick as Ye } from "vue";
2
2
  import { d as wt, t as kt, u as Ct } from "./useResponsive-DfdjqQps.js";
3
- import { c as Ge, t as xt, aj as $t, q as Tt, b as St, p as Ce, o as je, f as qe, g as Ft, d as Mt, X as Pt, x as Ot, y as At, z as It } from "./lib-CEjkWSLj.js";
4
- import { u as zt, a as He } from "./useNestedProp-Ce3PwN8T.js";
3
+ import { c as Ge, t as xt, ap as $t, x as Tt, b as St, p as Ce, o as je, f as qe, g as Ft, d as Mt, X as Pt, P as Ot, Q as At, G as It } from "./lib-BcBZIm6u.js";
4
+ import { u as zt, a as He } from "./useNestedProp-B7CiTRDS.js";
5
5
  import { u as Dt, B as Nt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as _t } from "./usePrinter-DJ1iH-F_.js";
6
+ import { u as _t } from "./usePrinter-C1GiglOH.js";
7
7
  import { u as Bt } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
10
- import Wt from "./img-J2dLIr8Y.js";
11
- import Et from "./Title-Camz1Lce.js";
10
+ import Wt from "./img-CFY3JivG.js";
11
+ import Et from "./Title-CFmv95In.js";
12
12
  import { t as Xt } from "./themes-Dw-dDudK.js";
13
13
  import { u as Ut } from "./usePanZoom-BVca3eMk.js";
14
14
  import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -38,14 +38,14 @@ function Ze({
38
38
  const [y, E, X, w] = Yt(h, d);
39
39
  return d.restore(), { w: o, h: s, wordMask: r, minX: y, minY: E, maxX: X, maxY: w };
40
40
  }
41
- function Je({ mask: C, maskW: b, maskH: v, wx: h, wy: d, wordMask: p }) {
41
+ function Qe({ mask: C, maskW: b, maskH: v, wx: h, wy: d, wordMask: p }) {
42
42
  for (let l = 0; l < p.length; l += 1) {
43
43
  const o = h + p[l][0], s = d + p[l][1];
44
44
  if (o < 0 || s < 0 || o >= b || s >= v || C[s * b + o]) return !1;
45
45
  }
46
46
  return !0;
47
47
  }
48
- function Ke({ mask: C, maskW: b, maskH: v, wx: h, wy: d, wordMask: p }) {
48
+ function Je({ mask: C, maskW: b, maskH: v, wx: h, wy: d, wordMask: p }) {
49
49
  for (let l = 0; l < p.length; l += 1) {
50
50
  const o = h + p[l][0], s = d + p[l][1];
51
51
  o >= 0 && s >= 0 && o < b && s < v && (C[s * b + o] = 1);
@@ -70,13 +70,13 @@ function jt({
70
70
  }) {
71
71
  const { width: d, height: p } = v, l = Math.round(d), o = Math.round(p), s = 1, x = v.minFontSize, M = Math.min(v.maxFontSize, 100), r = C.map(($) => $.value), y = Math.min(...r), E = Math.max(...r), X = new Uint8Array(l * o), w = document.createElement("canvas"), B = w.getContext("2d", { willReadFrequently: !0 });
72
72
  w.width = l, w.height = o;
73
- const U = 6, me = 2, he = 2, ue = 1, Y = Math.floor(l / 2), Q = Math.floor(o / 2), e = [...C].sort(($, R) => R.value - $.value), ie = [];
73
+ const U = 6, me = 2, he = 2, ue = 1, Y = Math.floor(l / 2), K = Math.floor(o / 2), e = [...C].sort(($, R) => R.value - $.value), ie = [];
74
74
  for (const $ of e) {
75
75
  let R = x;
76
76
  E !== y && (R = ($.value - y) / (E - y) * (M - x) + x), R = Math.max(x, Math.min(M, R));
77
77
  let O = !1, I = R;
78
78
  for (; !O && I >= s; ) {
79
- let { w: A, h: z, wordMask: V, minX: G, minY: H, maxX: Z, maxY: J } = Ze({
79
+ let { w: A, h: z, wordMask: V, minX: G, minY: H, maxX: Z, maxY: Q } = Ze({
80
80
  word: $,
81
81
  fontSize: I,
82
82
  pad: b,
@@ -89,9 +89,9 @@ function jt({
89
89
  for (; D < Math.max(l, o) && !O && L < 1e4; ) {
90
90
  for (let u = 0; u < 360; u += U) {
91
91
  L += 1;
92
- const P = Math.round(Y + D * Math.cos(u * Math.PI / 180) - A / 2), f = Math.round(Q + D * Math.sin(u * Math.PI / 180) - z / 2);
93
- if (!(P < 0 || f < 0 || P + A > l || f + z > o) && Je({ mask: X, maskW: l, maskH: o, wx: P, wy: f, wordMask: V })) {
94
- ie.push({ ...$, x: P - l / 2, y: f - o / 2, fontSize: I, width: A, height: z, angle: 0, minX: G, minY: H, maxX: Z, maxY: J }), Ke({ mask: X, maskW: l, maskH: o, wx: P, wy: f, wordMask: V }), O = !0;
92
+ const P = Math.round(Y + D * Math.cos(u * Math.PI / 180) - A / 2), f = Math.round(K + D * Math.sin(u * Math.PI / 180) - z / 2);
93
+ if (!(P < 0 || f < 0 || P + A > l || f + z > o) && Qe({ mask: X, maskW: l, maskH: o, wx: P, wy: f, wordMask: V })) {
94
+ ie.push({ ...$, x: P - l / 2, y: f - o / 2, fontSize: I, width: A, height: z, angle: 0, minX: G, minY: H, maxX: Z, maxY: Q }), Je({ mask: X, maskW: l, maskH: o, wx: P, wy: f, wordMask: V }), O = !0;
95
95
  break;
96
96
  }
97
97
  }
@@ -101,7 +101,7 @@ function jt({
101
101
  }
102
102
  if (!O && I < s) {
103
103
  I = s;
104
- const { w: A, h: z, wordMask: V, minX: G, minY: H, maxX: Z, maxY: J } = Ze({
104
+ const { w: A, h: z, wordMask: V, minX: G, minY: H, maxX: Z, maxY: Q } = Ze({
105
105
  word: $,
106
106
  fontSize: I,
107
107
  pad: b,
@@ -113,9 +113,9 @@ function jt({
113
113
  for (; D < Math.max(l, o) && !O && L < 25e3; ) {
114
114
  for (let u = 0; u < 360; u += he) {
115
115
  L += 1;
116
- const P = Math.round(Y + D * Math.cos(u * Math.PI / 180) - A / 2), f = Math.round(Q + D * Math.sin(u * Math.PI / 180) - z / 2);
117
- if (!(P < 0 || f < 0 || P + A > l || f + z > o) && Je({ mask: X, maskW: l, maskH: o, wx: P, wy: f, wordMask: V })) {
118
- ie.push({ ...$, x: P - l / 2, y: f - o / 2, fontSize: I, width: A, height: z, angle: 0, minX: G, minY: H, maxX: Z, maxY: J }), Ke({ mask: X, maskW: l, maskH: o, wx: P, wy: f, wordMask: V }), O = !0;
116
+ const P = Math.round(Y + D * Math.cos(u * Math.PI / 180) - A / 2), f = Math.round(K + D * Math.sin(u * Math.PI / 180) - z / 2);
117
+ if (!(P < 0 || f < 0 || P + A > l || f + z > o) && Qe({ mask: X, maskW: l, maskH: o, wx: P, wy: f, wordMask: V })) {
118
+ ie.push({ ...$, x: P - l / 2, y: f - o / 2, fontSize: I, width: A, height: z, angle: 0, minX: G, minY: H, maxX: Z, maxY: Q }), Je({ mask: X, maskW: l, maskH: o, wx: P, wy: f, wordMask: V }), O = !0;
119
119
  break;
120
120
  }
121
121
  }
@@ -125,7 +125,7 @@ function jt({
125
125
  }
126
126
  return ie.sort(($, R) => R.fontSize - $.fontSize);
127
127
  }
128
- const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["transform"], Kt = ["x", "y", "width", "height", "onMouseover", "onMouseleave", "onClick"], Qt = ["fill", "font-weight", "x", "y", "font-size", "transform"], ea = {
128
+ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Qt = ["transform"], Jt = ["x", "y", "width", "height", "onMouseover", "onMouseleave", "onClick"], Kt = ["fill", "font-weight", "x", "y", "font-size", "transform"], ea = {
129
129
  key: 3,
130
130
  class: "vue-data-ui-watermark"
131
131
  }, ta = {
@@ -152,14 +152,14 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
152
152
  dt((t) => ({
153
153
  v47a92ace: t.slicerColor
154
154
  }));
155
- const v = j(() => import("./Tooltip-VOcQEHa4.js")), h = j(() => import("./BaseIcon-eZbszQrv.js")), d = j(() => import("./vue-ui-accordion-VTP418mC.js")), p = j(() => import("./DataTable-yAMEyP6y.js")), l = j(() => import("./PenAndPaper-Bo-lMUik.js")), o = j(() => import("./UserOptions-CSja1SGU.js")), s = j(() => import("./PackageVersion-r-Q1R3nV.js")), x = j(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_word_cloud: M } = zt(), r = C, y = q({
155
+ const v = j(() => import("./Tooltip-Cs4v8OnI.js")), h = j(() => import("./BaseIcon-B5KaGWWC.js")), d = j(() => import("./vue-ui-accordion-BKkTS12x.js")), p = j(() => import("./DataTable-DOx3zgih.js")), l = j(() => import("./PenAndPaper-Dj2diYr0.js")), o = j(() => import("./UserOptions-C0YT60JN.js")), s = j(() => import("./PackageVersion-DyDViSOy.js")), x = j(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_word_cloud: M } = zt(), r = C, y = q({
156
156
  get() {
157
157
  return !!r.dataset && r.dataset.length;
158
158
  },
159
159
  set(t) {
160
160
  return t;
161
161
  }
162
- }), E = m(Ge()), X = m(0), w = m(null), B = m(null), U = m(null), me = m(0), he = m(0), ue = m(!1), Y = m(null), Q = m(null), e = m(H()), { loading: ie, FINAL_DATASET: $, manualLoading: R } = Dt({
162
+ }), E = m(Ge()), X = m(0), w = m(null), B = m(null), U = m(null), me = m(0), he = m(0), ue = m(!1), Y = m(null), K = m(null), e = m(H()), { loading: ie, FINAL_DATASET: $, manualLoading: R } = Dt({
163
163
  ...mt(r),
164
164
  FINAL_CONFIG: e,
165
165
  prepareConfig: H,
@@ -241,7 +241,7 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
241
241
  }));
242
242
  }
243
243
  oe(() => r.dataset, () => {
244
- O.value = I(), xe(), J();
244
+ O.value = I(), xe(), Q();
245
245
  });
246
246
  const { userOptionsVisible: A, setUserOptionsVisibility: z, keepUserOptionState: V } = Rt({ config: e.value }), { svgRef: G } = Vt({ config: e.value.style.chart.title });
247
247
  function H() {
@@ -258,7 +258,7 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
258
258
  } : t;
259
259
  }
260
260
  const Z = m({ x: 0, y: 0 });
261
- function J() {
261
+ function Q() {
262
262
  const t = {
263
263
  x: 0,
264
264
  y: 0,
@@ -274,7 +274,7 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
274
274
  xe();
275
275
  }, 10), L = m(!1);
276
276
  oe(() => L.value, (t) => {
277
- t === !1 && (D(), J());
277
+ t === !1 && (D(), Q());
278
278
  }), oe(() => r.config, (t) => {
279
279
  e.value = H(), A.value = !e.value.userOptions.showOnChartHover, Oe(), me.value += 1, he.value += 1, T.value.showTable = e.value.table.show, T.value.showTooltip = e.value.style.chart.tooltip.show;
280
280
  }, { deep: !0 });
@@ -315,7 +315,7 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
315
315
  debug: Pe.value
316
316
  });
317
317
  });
318
- }), je(r.dataset) || (R.value = e.value.loading), e.value.responsive && (f.value && (ee.value && f.value.unobserve(ee.value), f.value.disconnect()), f.value = new ResizeObserver(P), ee.value = w.value.parentNode, f.value.observe(ee.value)), J();
318
+ }), je(r.dataset) || (R.value = e.value.loading), e.value.responsive && (f.value && (ee.value && f.value.unobserve(ee.value), f.value.disconnect()), f.value = new ResizeObserver(P), ee.value = w.value.parentNode, f.value.observe(ee.value)), Q();
319
319
  }
320
320
  pt(() => {
321
321
  f.value && (ee.value && f.value.unobserve(ee.value), f.value.disconnect());
@@ -334,7 +334,7 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
334
334
  showTooltip: e.value.style.chart.tooltip.show
335
335
  };
336
336
  }, { immediate: !0 });
337
- function Qe(t, n, a = "Arial") {
337
+ function Ke(t, n, a = "Arial") {
338
338
  const g = document.createElement("canvas").getContext("2d");
339
339
  return g.font = `${n}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${a}`, {
340
340
  width: g.measureText(t).width + e.value.style.chart.words.proximity,
@@ -345,13 +345,13 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
345
345
  oe(() => r.dataset, xe, { immediate: !0 });
346
346
  function xe() {
347
347
  const t = [...O.value].map((g) => g.value), n = Math.max(...t), a = Math.min(...t), c = [...O.value].map((g, N) => {
348
- let K = (g.value - a) / (n - a) * (u.value.maxFontSize - u.value.minFontSize) + u.value.minFontSize;
349
- K = isNaN(K) ? u.value.minFontSize : K;
350
- const We = Qe(g.name, K);
348
+ let J = (g.value - a) / (n - a) * (u.value.maxFontSize - u.value.minFontSize) + u.value.minFontSize;
349
+ J = isNaN(J) ? u.value.minFontSize : J;
350
+ const We = Ke(g.name, J);
351
351
  return {
352
352
  ...g,
353
353
  id: Ge(),
354
- fontSize: K,
354
+ fontSize: J,
355
355
  width: We.width,
356
356
  height: We.height,
357
357
  color: e.value.style.chart.words.usePalette ? e.value.customPalette[N] || e.value.customPalette[N % e.value.customPalette.length] || Ce[N] || Ce[N % Ce.length] : e.value.style.chart.words.color
@@ -384,13 +384,13 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
384
384
  e.value.table.columnNames.series,
385
385
  e.value.table.columnNames.value
386
386
  ], n = pe.value.head.map((g, N) => {
387
- const K = Mt({ p: e.value.table.td.prefix, v: pe.value.body[N], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
387
+ const J = Mt({ p: e.value.table.td.prefix, v: pe.value.body[N], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
388
388
  return [
389
389
  {
390
390
  color: g.color,
391
391
  name: g.name
392
392
  },
393
- K
393
+ J
394
394
  ];
395
395
  }), a = {
396
396
  th: {
@@ -483,7 +483,7 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
483
483
  e.value.table.show || (t && e.value.table.useDialog && Y.value ? Y.value.open() : "close" in Y.value && Y.value.close());
484
484
  });
485
485
  function Re() {
486
- T.value.showTable = !1, Q.value && Q.value.setTableIconState(!1);
486
+ T.value.showTable = !1, K.value && K.value.setTableIconState(!1);
487
487
  }
488
488
  const nt = q(() => e.value.style.chart.backgroundColor), st = q(() => e.value.style.chart.title), { exportSvg: ut, getSvg: it } = Bt({
489
489
  svg: G,
@@ -574,7 +574,7 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
574
574
  ], 512)) : W("", !0),
575
575
  e.value.userOptions.show && y.value && (i(V) || i(A)) ? (k(), le(i(o), {
576
576
  ref_key: "userOptionsRef",
577
- ref: Q,
577
+ ref: K,
578
578
  key: `user_option_${X.value}`,
579
579
  backgroundColor: e.value.style.chart.backgroundColor,
580
580
  color: e.value.style.chart.color,
@@ -696,7 +696,7 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
696
696
  onMouseover: (g) => vt(a, c),
697
697
  onMouseleave: (g) => rt(a, c),
698
698
  onClick: (g) => ct(a, c)
699
- }, null, 40, Kt)) : W("", !0),
699
+ }, null, 40, Jt)) : W("", !0),
700
700
  (k(), _("text", {
701
701
  fill: a.color,
702
702
  "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
@@ -709,9 +709,9 @@ const qt = ["id"], Ht = ["xmlns", "viewBox"], Zt = ["width", "height"], Jt = ["t
709
709
  "text-anchor": "middle",
710
710
  "dominant-baseline": "central",
711
711
  style: ye(`animation-delay:${c * e.value.animationDelayMs}ms !important; pointer-events:none;`)
712
- }, Me(a.name), 15, Qt))
712
+ }, Me(a.name), 15, Kt))
713
713
  ]))), 256))
714
- ], 8, Jt),
714
+ ], 8, Qt),
715
715
  F(t.$slots, "svg", {
716
716
  svg: { height: u.value.height, width: u.value.width }
717
717
  }, void 0, !0)