vue-data-ui 3.22.5 → 3.22.7

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 (185) hide show
  1. package/dist/{Arrow-CgzmXCW_.js → Arrow-DaGI9u-b.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
  3. package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-_-BX7be3.js} +1 -1
  4. package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-CHnlKalt.js} +1 -1
  5. package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-C9bdZSCj.js} +2 -2
  6. package/dist/{ColorPicker-Usv7badH.js → ColorPicker-TB3KhY3j.js} +2 -2
  7. package/dist/{DataTable-PidUPOit.js → DataTable-CVF7DoZn.js} +2 -2
  8. package/dist/{Legend-DXOzbXb-.js → Legend-kAr7Vqqu.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-CEiv7_gM.js} +3 -3
  10. package/dist/{PackageVersion-CqE8ssFu.js → PackageVersion-Dse0n05o.js} +1 -1
  11. package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-gaV1QPpP.js} +3 -3
  12. package/dist/{Shape-BnF9aMPX.js → Shape-CiQIxyyT.js} +1 -1
  13. package/dist/{Slicer-hEvKOLw3.js → Slicer-6FOtg9py.js} +2 -2
  14. package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-DUywypFu.js} +2 -2
  15. package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-B-qsPj68.js} +1 -1
  16. package/dist/{Title-DDEEO-Nr.js → Title-PiTKr6sp.js} +1 -1
  17. package/dist/{Tooltip-BhKov422.js → Tooltip-B8yYfISA.js} +1 -1
  18. package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BL9VlHop.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-ZOysoMwu.js → dom-to-png-BZjYWNEg.js} +1 -1
  89. package/dist/{exposedLib-C2U48XK7.js → exposedLib-Be0ifkti.js} +1 -1
  90. package/dist/{img-B29J8tV5.js → img-B_abIg0o.js} +1 -1
  91. package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CTDRZdP1.js} +1 -1
  92. package/dist/{lib-CuwHGt1j.js → lib-EAmk-PgA.js} +19 -9
  93. package/dist/{package-YOcaZtwF.js → package-DeMimPej.js} +1 -1
  94. package/dist/{pdf-ymYt9Lee.js → pdf-B6qrdEqB.js} +1 -1
  95. package/dist/{render-common-B80rr2N_.js → render-common-DMai0gHB.js} +22 -22
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +13 -0
  101. package/dist/types/vue-ui-treemap.d.ts +3 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
  103. package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
  104. package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-D8XqxgOU.js} +1 -1
  105. package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
  106. package/dist/{usePrinter-C0wAS8yc.js → usePrinter-DnGzpp6Q.js} +2 -2
  107. package/dist/utils.js +10 -10
  108. package/dist/{vue-data-ui-mqURXOql.js → vue-data-ui-D6qVWloL.js} +68 -68
  109. package/dist/vue-data-ui.js +73 -73
  110. package/dist/{vue-ui-3d-bar-BZ1Slxfu.js → vue-ui-3d-bar-CjNuWXoA.js} +7 -7
  111. package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-Dzz8XhX3.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +1238 -0
  113. package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-DXZumSP8.js} +7 -7
  114. package/dist/{vue-ui-bullet-RGCGF_cO.js → vue-ui-bullet-Dde6FhbR.js} +8 -8
  115. package/dist/{vue-ui-bump-CiUmHi6k.js → vue-ui-bump-C5pni1JV.js} +7 -7
  116. package/dist/{vue-ui-candlestick-BJUk5fMm.js → vue-ui-candlestick-Ctw65O4_.js} +444 -441
  117. package/dist/{vue-ui-carousel-table-BksIDurC.js → vue-ui-carousel-table-BEUvhUH0.js} +5 -5
  118. package/dist/{vue-ui-chestnut-B3OHA5rg.js → vue-ui-chestnut-C3IbAdkQ.js} +6 -6
  119. package/dist/{vue-ui-chord-DETV2viY.js → vue-ui-chord-5eCWG4br.js} +9 -9
  120. package/dist/{vue-ui-circle-pack-DddaioRm.js → vue-ui-circle-pack-Cq4lkmee.js} +7 -7
  121. package/dist/{vue-ui-cursor-D2-hWt_G.js → vue-ui-cursor-DLJcFwRZ.js} +4 -4
  122. package/dist/{vue-ui-dag-Dp7pV6Ps.js → vue-ui-dag-DemsIecS.js} +8 -8
  123. package/dist/{vue-ui-dashboard-D91C5cXo.js → vue-ui-dashboard-DWHD_wNN.js} +70 -70
  124. package/dist/{vue-ui-digits-CMA3U4ZS.js → vue-ui-digits-sIKc85vS.js} +4 -4
  125. package/dist/vue-ui-donut-CLheJPcO.js +2410 -0
  126. package/dist/{vue-ui-donut-DpiS28CQ.js → vue-ui-donut-Dp6GW0dw.js} +91 -91
  127. package/dist/{vue-ui-donut-evolution-2B61hvv2.js → vue-ui-donut-evolution-zmRPpJLj.js} +10 -10
  128. package/dist/{vue-ui-dumbbell-Cmr65TNE.js → vue-ui-dumbbell-bSbgHd0U.js} +8 -8
  129. package/dist/{vue-ui-flow-7Yfsu6AY.js → vue-ui-flow-q_M7O1BK.js} +8 -8
  130. package/dist/{vue-ui-funnel-BLRBDW1a.js → vue-ui-funnel-BEZUEuuh.js} +7 -7
  131. package/dist/vue-ui-galaxy-DCCWmIyH.js +1077 -0
  132. package/dist/{vue-ui-gauge-yo4G5HMt.js → vue-ui-gauge-B1ljgfE1.js} +8 -8
  133. package/dist/{vue-ui-geo-BOHI6oMZ.js → vue-ui-geo-CM59rpnj.js} +8 -8
  134. package/dist/{vue-ui-gizmo-DI-35oK-.js → vue-ui-gizmo-D2RL6IVp.js} +4 -4
  135. package/dist/{vue-ui-heatmap-DBVM90VE.js → vue-ui-heatmap-BX6PQxML.js} +23 -23
  136. package/dist/{vue-ui-history-plot-BiWpOHKE.js → vue-ui-history-plot-DaHAeQph.js} +9 -9
  137. package/dist/{vue-ui-horizontal-bar-XBrvSxtJ.js → vue-ui-horizontal-bar-CTW6l4n3.js} +20 -20
  138. package/dist/{vue-ui-kpi-55wwhSBh.js → vue-ui-kpi-DLbP7lJR.js} +4 -4
  139. package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-DPHzHsM7.js} +3 -3
  140. package/dist/{vue-ui-molecule-DB3rmTw1.js → vue-ui-molecule-aD0SMTiX.js} +8 -8
  141. package/dist/{vue-ui-mood-radar-izcbwGOc.js → vue-ui-mood-radar-CCWaPr0P.js} +8 -8
  142. package/dist/{vue-ui-nested-donuts-DRJ1QT2n.js → vue-ui-nested-donuts--BCPWkl7.js} +21 -21
  143. package/dist/{vue-ui-onion-xTZOmmtb.js → vue-ui-onion-s4iMCGAP.js} +17 -17
  144. package/dist/{vue-ui-parallel-coordinate-plot-BxQ7D2_o.js → vue-ui-parallel-coordinate-plot-CfgvpyoC.js} +17 -17
  145. package/dist/{vue-ui-quadrant-BvAmtyAE.js → vue-ui-quadrant-T_UmRAAy.js} +15 -15
  146. package/dist/{vue-ui-quick-chart-CJ1xQgYc.js → vue-ui-quick-chart-D1OWBgQJ.js} +446 -446
  147. package/dist/{vue-ui-radar-C26C6p7e.js → vue-ui-radar-CHjeGOMC.js} +34 -34
  148. package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-Bek8Tgr-.js} +3 -3
  149. package/dist/{vue-ui-relation-circle-Dl1aWFAI.js → vue-ui-relation-circle-DRZGQ_UX.js} +8 -8
  150. package/dist/{vue-ui-ridgeline-BbJa5C-d.js → vue-ui-ridgeline-DIODGiu8.js} +10 -10
  151. package/dist/{vue-ui-rings-CyrvskTi.js → vue-ui-rings-CcdUSXGG.js} +17 -17
  152. package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
  153. package/dist/{vue-ui-skeleton-C4D0i9ho.js → vue-ui-skeleton-Fmue6DAG.js} +4 -4
  154. package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-BVMI5vUy.js} +3 -3
  155. package/dist/{vue-ui-spark-trend-CMb7UI2t.js → vue-ui-spark-trend-DfZeLiWA.js} +4 -4
  156. package/dist/{vue-ui-sparkbar-DEawjWhg.js → vue-ui-sparkbar-Cl1e49sw.js} +4 -4
  157. package/dist/{vue-ui-sparkgauge-mubHGQF_.js → vue-ui-sparkgauge-DDNNBIdf.js} +4 -4
  158. package/dist/{vue-ui-sparkhistogram-D8N-jNBt.js → vue-ui-sparkhistogram-ny_liYa6.js} +5 -5
  159. package/dist/{vue-ui-sparkline-D4p0PS3-.js → vue-ui-sparkline-BNxdO-Bx.js} +44 -44
  160. package/dist/{vue-ui-sparkstackbar-DnrZkIIc.js → vue-ui-sparkstackbar-BfF5-Wg2.js} +5 -5
  161. package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
  162. package/dist/vue-ui-stackline-CdvVPQUM.js +2419 -0
  163. package/dist/{vue-ui-strip-plot-pPiVqFYo.js → vue-ui-strip-plot-CRXPXA5V.js} +16 -16
  164. package/dist/{vue-ui-table-BzqQKuL-.js → vue-ui-table-Dr1dK3d_.js} +6 -6
  165. package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-D-Qrm3oX.js} +6 -6
  166. package/dist/{vue-ui-table-sparkline-BnavmY2R.js → vue-ui-table-sparkline-C31Q32My.js} +5 -5
  167. package/dist/{vue-ui-thermometer-ePIxpTuE.js → vue-ui-thermometer-BUrtIfuo.js} +8 -8
  168. package/dist/{vue-ui-timer-BQZxD91f.js → vue-ui-timer-B5bkNNHS.js} +6 -6
  169. package/dist/{vue-ui-tiremarks-CDOlCWS8.js → vue-ui-tiremarks-Bn8b-ZSz.js} +7 -7
  170. package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
  171. package/dist/{vue-ui-waffle-BpZrFfUb.js → vue-ui-waffle-B_L3gkky.js} +275 -275
  172. package/dist/{vue-ui-wheel-DRfyK9q9.js → vue-ui-wheel-CeVwXtEX.js} +7 -7
  173. package/dist/{vue-ui-word-cloud-D0JUA9I9.js → vue-ui-word-cloud-D81-qJLw.js} +8 -8
  174. package/dist/{vue-ui-world-Dx-41fUM.js → vue-ui-world-B7npRmTa.js} +8 -8
  175. package/dist/{vue-ui-xy-BLSGO4Lm.js → vue-ui-xy-C2p9H2IX.js} +1498 -1496
  176. package/dist/{vue-ui-xy-DpRqQ09J.js → vue-ui-xy-OhwS0kcZ.js} +86 -86
  177. package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DLKDdH35.js} +411 -408
  178. package/package.json +1 -1
  179. package/dist/vue-ui-age-pyramid-uUVFZo8M.js +0 -1238
  180. package/dist/vue-ui-donut-DObpw5zP.js +0 -2410
  181. package/dist/vue-ui-galaxy-B9cxOcoE.js +0 -1077
  182. package/dist/vue-ui-scatter-D9Iw5xlb.js +0 -2413
  183. package/dist/vue-ui-stackbar-BzHSHKqe.js +0 -2329
  184. package/dist/vue-ui-stackline-CWSvsW1n.js +0 -2416
  185. package/dist/vue-ui-treemap-DrZlX_7n.js +0 -1587
@@ -1873,9 +1873,6 @@ function Rt(e) {
1873
1873
  return String(e).replaceAll("&", "&amp;").replaceAll("\"", "&quot;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1874
1874
  }
1875
1875
  function zt(e) {
1876
- return String(e).replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;").replaceAll("'", "&#39;");
1877
- }
1878
- function Bt(e) {
1879
1876
  if (!e || typeof e != "string") return null;
1880
1877
  let t = document.createElementNS(K, "svg");
1881
1878
  t.setAttribute("xmlns", K);
@@ -1887,13 +1884,13 @@ function Bt(e) {
1887
1884
  y: i.y
1888
1885
  };
1889
1886
  }
1890
- function Vt(e, t = "(", n = ")") {
1887
+ function Bt(e, t = "(", n = ")") {
1891
1888
  return `${t}${e}${n}`;
1892
1889
  }
1893
- function Ht(e, t) {
1890
+ function Vt(e, t) {
1894
1891
  return t <= 1 ? "0%" : `${e * 100 / (t - 1)}%`;
1895
1892
  }
1896
- function Ut(e, t, n) {
1893
+ function Ht(e, t, n) {
1897
1894
  if (!n || !Number.isFinite(e) || !Number.isFinite(t)) return null;
1898
1895
  if (n.createSVGPoint && n.getScreenCTM) {
1899
1896
  let r = n.createSVGPoint();
@@ -1913,10 +1910,10 @@ function Ut(e, t, n) {
1913
1910
  y: r.top + t
1914
1911
  };
1915
1912
  }
1916
- function Wt(e) {
1913
+ function Ut(e) {
1917
1914
  return e != null && Number.isFinite(Number(e));
1918
1915
  }
1919
- function Gt(e, t = 1) {
1916
+ function Wt(e, t = 1) {
1920
1917
  if (!e.length) return "";
1921
1918
  if (e.length === 1) return `${e[0].x} ${e[0].y}`;
1922
1919
  let n = [`${e[0].x} ${e[0].y}`];
@@ -1932,5 +1929,18 @@ function Gt(e, t = 1) {
1932
1929
  }
1933
1930
  return n.join(" ");
1934
1931
  }
1932
+ function Gt(e, t = 1) {
1933
+ return !e || typeof window > "u" ? Promise.resolve(null) : new Promise((n) => {
1934
+ let r = new window.Image();
1935
+ r.onload = () => {
1936
+ let e = r.naturalWidth / t, i = r.naturalHeight / t;
1937
+ n({
1938
+ width: e,
1939
+ height: i,
1940
+ aspectRatio: i ? e / i : 0
1941
+ });
1942
+ }, r.onerror = () => n(null), r.src = e;
1943
+ });
1944
+ }
1935
1945
  //#endregion
1936
- export { zt as $, Ct as A, y as At, gt as B, ye as Bt, Gt as C, ot as Ct, pt as D, be as Dt, ft as E, i as Et, Be as F, nt as Ft, Je as G, l as Gt, q as H, Ut as Ht, se as I, Ht as It, J, Mt as Jt, we as K, $ as Kt, F as L, rt as Lt, L as M, Vt as Mt, _t as N, lt as Nt, it as O, Fe as Ot, St as P, ut as Pt, Ie as Q, he as R, re as Rt, qe as S, at as St, ct as T, Ce as Tt, Ge as U, v as Ut, Ke as V, Qe as Vt, R as W, Ze as Wt, xe as X, Q as Y, Et as Z, ve as _, Ae as _t, Ye as a, At as at, b, Wt as bt, Nt as c, Ot as ct, B as d, _ as dt, Lt as et, me as f, Xe as ft, Ee as g, ke as gt, Te as h, tt as ht, et as i, m as it, I as j, g as jt, ae as k, ge as kt, pe as l, We as lt, Ue as m, ce as mt, Me as n, jt as nt, kt as o, Pe as ot, _e as p, Bt as pt, je as q, Pt as qt, fe as r, V as rt, It as s, Dt as st, K as t, Rt as tt, z as u, Ve as ut, h as v, Ne as vt, Se as w, st as wt, P as x, f as xt, le as y, p as yt, ht as z, wt as zt };
1946
+ export { Lt as $, Ct as A, y as At, gt as B, ye as Bt, Wt as C, ot as Ct, pt as D, be as Dt, ft as E, i as Et, Be as F, nt as Ft, Je as G, l as Gt, q as H, Ht, se as I, Vt as It, J, Mt as Jt, we as K, $ as Kt, F as L, rt as Lt, L as M, Bt as Mt, _t as N, lt as Nt, it as O, Fe as Ot, St as P, ut as Pt, Ie as Q, he as R, re as Rt, qe as S, at as St, ct as T, Ce as Tt, Ge as U, v as Ut, Ke as V, Qe as Vt, R as W, Ze as Wt, xe as X, Q as Y, Et as Z, ve as _, Ae as _t, Ye as a, Pe as at, b, Ut as bt, Nt as c, Gt as ct, B as d, _ as dt, Rt as et, me as f, Xe as ft, Ee as g, ke as gt, Te as h, tt as ht, et as i, At as it, I as j, g as jt, ae as k, ge as kt, pe as l, We as lt, Ue as m, ce as mt, Me as n, V as nt, kt as o, Dt as ot, _e as p, zt as pt, je as q, Pt as qt, fe as r, m as rt, It as s, Ot as st, K as t, jt as tt, z as u, Ve as ut, h as v, Ne as vt, Se as w, st as wt, P as x, f as xt, le as y, p as yt, ht as z, wt as zt };
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var e = "3.22.5";
2
+ var e = "3.22.7";
3
3
  //#endregion
4
4
  export { e as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./dom-to-png-ZOysoMwu.js";
1
+ import { t as e } from "./dom-to-png-BZjYWNEg.js";
2
2
  //#region src/pdf.js
3
3
  async function t({ domElement: t, fileName: n, scale: r = 2, orientation: i = "auto", overflowTolerance: a = .2, aspectRatio: o = null }) {
4
4
  if (!t) return Promise.reject("No domElement provided");
@@ -1,5 +1,5 @@
1
- import { I as e, b as t, et as n, k as r, tt as i } from "./lib-CuwHGt1j.js";
2
- import { t as a } from "./package-YOcaZtwF.js";
1
+ import { $ as e, I as t, b as n, et as r, k as i } from "./lib-EAmk-PgA.js";
2
+ import { t as a } from "./package-DeMimPej.js";
3
3
  //#region src/svg/utils/index.js
4
4
  function o(e, t = 0) {
5
5
  let n = Number(e);
@@ -12,15 +12,15 @@ function c(e) {
12
12
  return Number.isFinite(Number(e));
13
13
  }
14
14
  function l(e, t = {}, n = "") {
15
- let r = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${i(t)}"`).join(" ");
16
- return `<${e}${r ? ` ${r}` : ""}>${n}</${e}>`;
15
+ let i = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${r(t)}"`).join(" ");
16
+ return `<${e}${i ? ` ${i}` : ""}>${n}</${e}>`;
17
17
  }
18
18
  function u(e, t = {}) {
19
- let n = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${i(t)}"`).join(" ");
19
+ let n = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${r(t)}"`).join(" ");
20
20
  return `<${e}${n ? ` ${n}` : ""}/>`;
21
21
  }
22
- function d(e, t = {}) {
23
- return l("text", t, n(e ?? ""));
22
+ function d(t, n = {}) {
23
+ return l("text", n, e(t ?? ""));
24
24
  }
25
25
  function f(e) {
26
26
  return [
@@ -32,10 +32,10 @@ function f(e) {
32
32
  "star"
33
33
  ].includes(e) ? e : "circle";
34
34
  }
35
- function p({ dataCy: t, shape: n, plot: i, radius: a, fill: s, stroke: c, strokeWidth: l }) {
36
- let d = f(n), p = o(i.x, 0), m = o(i.y, 0), h = o(a, 4);
35
+ function p({ dataCy: e, shape: n, plot: r, radius: a, fill: s, stroke: c, strokeWidth: l }) {
36
+ let d = f(n), p = o(r.x, 0), m = o(r.y, 0), h = o(a, 4);
37
37
  if (d === "circle") return u("circle", {
38
- "data-cy": t,
38
+ "data-cy": e,
39
39
  cx: p,
40
40
  cy: m,
41
41
  r: h,
@@ -44,8 +44,8 @@ function p({ dataCy: t, shape: n, plot: i, radius: a, fill: s, stroke: c, stroke
44
44
  "stroke-width": l
45
45
  });
46
46
  if (d === "star") return u("polygon", {
47
- "data-cy": t,
48
- points: e({
47
+ "data-cy": e,
48
+ points: t({
49
49
  plot: {
50
50
  x: p,
51
51
  y: m
@@ -79,8 +79,8 @@ function p({ dataCy: t, shape: n, plot: i, radius: a, fill: s, stroke: c, stroke
79
79
  }
80
80
  }[d];
81
81
  return u("path", {
82
- "data-cy": t,
83
- d: r({
82
+ "data-cy": e,
83
+ d: i({
84
84
  plot: {
85
85
  x: p,
86
86
  y: m
@@ -115,8 +115,8 @@ function _(e, t, n) {
115
115
  let r = m(e, t, void 0);
116
116
  return r === void 0 ? g(e, t, n) : r;
117
117
  }
118
- function v(e, n = "#000000") {
119
- return t(e) || e || n;
118
+ function v(e, t = "#000000") {
119
+ return n(e) || e || t;
120
120
  }
121
121
  function y(e, t = "#FFFFFF") {
122
122
  return v(g(e, "backgroundColor", t), t);
@@ -131,19 +131,19 @@ function x(e, t) {
131
131
  fill: t ?? y(e.config)
132
132
  });
133
133
  }
134
- function S({ content: e, x: t, fontSize: r, fill: i, textAnchor: a }) {
135
- return String(e).split(/\n/g).map((e, o) => l("tspan", {
136
- x: t,
134
+ function S({ content: t, x: n, fontSize: r, fill: i, textAnchor: a }) {
135
+ return String(t).split(/\n/g).map((t, o) => l("tspan", {
136
+ x: n,
137
137
  dy: o === 0 ? 0 : r * 1.2,
138
138
  fill: i,
139
139
  "text-anchor": a
140
- }, n(e))).join("");
140
+ }, e(t))).join("");
141
141
  }
142
142
  function C(e, t) {
143
143
  return String(e).split("").reduce((e, n) => n === " " ? e + t * .28 : "ilI.,:;|!".includes(n) ? e + t * .24 : "()[]{}".includes(n) ? e + t * .34 : "0123456789%/".includes(n) ? e + t * .5 : n === n.toUpperCase() && /[A-Z]/.test(n) ? e + t * .62 : e + t * .52, 0);
144
144
  }
145
- function w(e) {
146
- return e.svgTitle ? l("desc", { "aria-hidden": "true" }, n(e.svgTitle)) : "";
145
+ function w(t) {
146
+ return t.svgTitle ? l("desc", { "aria-hidden": "true" }, e(t.svgTitle)) : "";
147
147
  }
148
148
  function T() {
149
149
  return `<desc aria-hidden="true">Composed with Vue Data UI ${a}</desc>`;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../vue-ui-donut-DpiS28CQ.js";
1
+ import { t as e } from "../vue-ui-donut-Dp6GW0dw.js";
2
2
  export { e as createStaticVueUiDonut };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../vue-ui-xy-DpRqQ09J.js";
1
+ import { t as e } from "../vue-ui-xy-OhwS0kcZ.js";
2
2
  export { e as createStaticVueUiXy };
package/dist/ssr.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as e } from "./vue-ui-xy-DpRqQ09J.js";
2
- import { t } from "./vue-ui-donut-DpiS28CQ.js";
1
+ import { t as e } from "./vue-ui-xy-OhwS0kcZ.js";
2
+ import { t } from "./vue-ui-donut-Dp6GW0dw.js";
3
3
  export { t as createStaticVueUiDonut, e as createStaticVueUiXy };