vue-data-ui 3.6.0 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +2 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
  105. package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
  106. package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
  113. package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
  114. package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
  115. package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
  116. package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
  119. package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
  123. package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
  124. package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
  125. package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
  129. package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
  132. package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
  133. package/dist/vue-ui-rings-BowsO9I8.js +884 -0
  134. package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
  138. package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
  139. package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
  141. package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
  143. package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
  144. package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
  149. package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
  151. package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
  152. package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
  155. package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
  156. package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
  158. package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -1,5 +1,5 @@
1
- import { default as o, default as u } from "../vue-ui-word-cloud-Dcaogr-D.js";
1
+ import { v as d, v as e } from "../vue-ui-word-cloud-BqKSDn2J.js";
2
2
  export {
3
- o as VueUiWordCloud,
4
- u as default
3
+ d as VueUiWordCloud,
4
+ e as default
5
5
  };
@@ -1,4 +1,4 @@
1
- import { default as d, default as f } from "../vue-ui-world-xOY__pp8.js";
1
+ import { default as d, default as f } from "../vue-ui-world-glj9mQAg.js";
2
2
  export {
3
3
  d as VueUiWorld,
4
4
  f as default
@@ -1,5 +1,5 @@
1
- import { default as f, default as t } from "../vue-ui-xy-canvas-BoB7-4QK.js";
1
+ import { v as s, v } from "../vue-ui-xy-canvas-Cr13t9M5.js";
2
2
  export {
3
- f as VueUiXyCanvas,
4
- t as default
3
+ s as VueUiXyCanvas,
4
+ v as default
5
5
  };
@@ -1,5 +1,5 @@
1
- import { default as f, default as t } from "../vue-ui-xy-BT67faLv.js";
1
+ import { V, V as f } from "../vue-ui-xy-BdXV4naK.js";
2
2
  export {
3
- f as VueUiXy,
4
- t as default
3
+ V as VueUiXy,
4
+ f as default
5
5
  };
@@ -1,4 +1,4 @@
1
- import { X as x } from "./lib-C_mNZmhD.js";
1
+ import { X as x } from "./lib-C5BH09_g.js";
2
2
  async function F(n) {
3
3
  const i = n.querySelectorAll("img"), s = Array.from(i).map((t) => new Promise((o) => {
4
4
  if (!t.src || t.src.startsWith("data:")) return o();
@@ -1,4 +1,4 @@
1
- import { d as n } from "./dom-to-png--BNgrTZV.js";
1
+ import { d as n } from "./dom-to-png-CH2DfsJe.js";
2
2
  async function u({ domElement: t, fileName: c, format: f = "png", scale: i = 2, base64: a = !1, img: g = !1 }) {
3
3
  if (!t) return Promise.reject("No element provided");
4
4
  const h = typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
@@ -1,11 +1,11 @@
1
- import { unref as J, isRef as tt, toRaw as lt } from "vue";
2
- const ut = "#COMP# dataset prop is either missing, undefined or empty.", ft = "#COMP# dataset is missing the '#ATTR#' attribute.", ht = "#COMP# dataset '#ATTR#' attribute cannot be empty.", Ft = "#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.", dt = "#COMP# : Chart could not be built. Dataset is not formatted correctly", gt = "#COMP# : A wrong value was provided to the #ATTR# attribute (#KEY# is not a valid value).", pt = {
3
- dataset: ut,
4
- datasetAttribute: ft,
5
- datasetAttributeEmpty: ht,
6
- datasetSerieAttribute: Ft,
7
- notBuildable: dt,
8
- attributeWrongValue: gt
1
+ import { unref as J, isRef as tt, toRaw as ut } from "vue";
2
+ const ft = "#COMP# dataset prop is either missing, undefined or empty.", ht = "#COMP# dataset is missing the '#ATTR#' attribute.", Ft = "#COMP# dataset '#ATTR#' attribute cannot be empty.", dt = "#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.", gt = "#COMP# : Chart could not be built. Dataset is not formatted correctly", pt = "#COMP# : A wrong value was provided to the #ATTR# attribute (#KEY# is not a valid value).", Et = {
3
+ dataset: ft,
4
+ datasetAttribute: ht,
5
+ datasetAttributeEmpty: Ft,
6
+ datasetSerieAttribute: dt,
7
+ notBuildable: gt,
8
+ attributeWrongValue: pt
9
9
  };
10
10
  function kt(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a = 0) {
11
11
  const { series: f } = t;
@@ -68,7 +68,7 @@ function nt([t, n], [e, o]) {
68
68
  function et([[t, n], [e, o]], [r, s]) {
69
69
  return [t * r + n * s, e * r + o * s];
70
70
  }
71
- function Et(t) {
71
+ function At(t) {
72
72
  return [
73
73
  [Math.cos(t), -Math.sin(t)],
74
74
  [Math.sin(t), Math.cos(t)]
@@ -76,7 +76,7 @@ function Et(t) {
76
76
  }
77
77
  function Z([t, n], [e, o], [r, s], c, i = 360, l = 2, u = !1) {
78
78
  s = s % (l * Math.PI);
79
- const a = Et(c), [f, h] = nt(
79
+ const a = At(c), [f, h] = nt(
80
80
  et(a, [
81
81
  e * Math.cos(r),
82
82
  o * Math.sin(r)
@@ -105,12 +105,12 @@ function Z([t, n], [e, o], [r, s], c, i = 360, l = 2, u = !1) {
105
105
  ].join(" ")}`
106
106
  };
107
107
  }
108
- function At({ defaultConfig: t, userConfig: n }) {
108
+ function yt({ defaultConfig: t, userConfig: n }) {
109
109
  const e = { ...t };
110
110
  return Object.keys(e).forEach((o) => {
111
111
  if (Object.hasOwn(n, o)) {
112
112
  const r = n[o];
113
- r === null ? e[o] = null : ["boolean", "function"].includes(typeof r) ? e[o] = r : ["string", "number"].includes(typeof r) ? ct(r) && (e[o] = r) : Array.isArray(e[o]) ? yt({ userConfig: n, key: o }) && (e[o] = r) : xt({ userConfig: n, key: o }) && (e[o] = At({
113
+ r === null ? e[o] = null : ["boolean", "function"].includes(typeof r) ? e[o] = r : ["string", "number"].includes(typeof r) ? at(r) && (e[o] = r) : Array.isArray(e[o]) ? xt({ userConfig: n, key: o }) && (e[o] = r) : mt({ userConfig: n, key: o }) && (e[o] = yt({
114
114
  defaultConfig: e[o],
115
115
  userConfig: r
116
116
  }));
@@ -122,25 +122,25 @@ function At({ defaultConfig: t, userConfig: n }) {
122
122
  }
123
123
  }), e;
124
124
  }
125
- function yt({ userConfig: t, key: n }) {
125
+ function xt({ userConfig: t, key: n }) {
126
126
  return Object.hasOwn(t, n) && Array.isArray(t[n]) && t[n].length >= 0;
127
127
  }
128
- function xt({ userConfig: t, key: n }) {
128
+ function mt({ userConfig: t, key: n }) {
129
129
  return Object.hasOwn(t, n) && !Array.isArray(t[n]) && typeof t[n] == "object";
130
130
  }
131
- function ct(t) {
131
+ function at(t) {
132
132
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
133
133
  }
134
134
  function Yt(t) {
135
135
  return ![void 0, NaN, 1 / 0, -1 / 0].includes(t);
136
136
  }
137
137
  function Ht(t, n = 0) {
138
- return ct(t) ? t : n;
138
+ return at(t) ? t : n;
139
139
  }
140
140
  function A(t, n = 0) {
141
141
  return isNaN(t) ? n : t;
142
142
  }
143
- const mt = [
143
+ const rt = [
144
144
  "#1f77b4",
145
145
  "#aec7e8",
146
146
  "#ff7f0e",
@@ -199,7 +199,8 @@ function Ut(t = "default") {
199
199
  }
200
200
  }
201
201
  const v = {
202
- default: mt,
202
+ default: rt,
203
+ dark: rt,
203
204
  celebration: [
204
205
  "#D32F2F",
205
206
  "#E64A19",
@@ -362,8 +363,8 @@ const v = {
362
363
  "#C3C5C5",
363
364
  "#A0AC94"
364
365
  ]
365
- }, rt = ["00", "03", "05", "08", "0A", "0D", "0F", "12", "14", "17", "1A", "1C", "1F", "21", "24", "26", "29", "2B", "2E", "30", "33", "36", "38", "3B", "3D", "40", "42", "45", "47", "4A", "4D", "4F", "52", "54", "57", "59", "5C", "5E", "61", "63", "66", "69", "6B", "6E", "70", "73", "75", "78", "7A", "7D", "80", "82", "85", "87", "8A", "8C", "8F", "91", "94", "96", "99", "9C", "9E", "A1", "A3", "A6", "A8", "AB", "AD", "B0", "B3", "B5", "B8", "BA", "BD", "BF", "C2", "C4", "C7", "C9", "CC", "CF", "D1", "D4", "D6", "D9", "DB", "DE", "E0", "E3", "E6", "E8", "EB", "ED", "F0", "F2", "F5", "F7", "FA", "FC", "FF"];
366
- function at(t) {
366
+ }, st = ["00", "03", "05", "08", "0A", "0D", "0F", "12", "14", "17", "1A", "1C", "1F", "21", "24", "26", "29", "2B", "2E", "30", "33", "36", "38", "3B", "3D", "40", "42", "45", "47", "4A", "4D", "4F", "52", "54", "57", "59", "5C", "5E", "61", "63", "66", "69", "6B", "6E", "70", "73", "75", "78", "7A", "7D", "80", "82", "85", "87", "8A", "8C", "8F", "91", "94", "96", "99", "9C", "9E", "A1", "A3", "A6", "A8", "AB", "AD", "B0", "B3", "B5", "B8", "BA", "BD", "BF", "C2", "C4", "C7", "C9", "CC", "CF", "D1", "D4", "D6", "D9", "DB", "DE", "E0", "E3", "E6", "E8", "EB", "ED", "F0", "F2", "F5", "F7", "FA", "FC", "FF"];
367
+ function lt(t) {
367
368
  const n = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, e = /^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, o = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)$/i, r = /^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*([\d.]+))?\)$/i;
368
369
  if (t == null || typeof t == "number" && isNaN(t))
369
370
  return null;
@@ -587,21 +588,21 @@ function K(t) {
587
588
  function Q(t) {
588
589
  return !!t && (t.__v_isRef || t.__v_isReactive || t.__v_isReadonly || t.effect || t.dep || t.deps || t.subs);
589
590
  }
590
- function st(t) {
591
- return t === "" ? "#000000" : t === "transparent" ? "#FFFFFF00" : at(t) ?? t;
591
+ function ot(t) {
592
+ return t === "" ? "#000000" : t === "transparent" ? "#FFFFFF00" : lt(t) ?? t;
592
593
  }
593
594
  function q(t, n = /* @__PURE__ */ new WeakSet()) {
594
- const e = lt(t);
595
+ const e = ut(t);
595
596
  if (!K(e) || n.has(e)) return e;
596
597
  n.add(e);
597
598
  for (const o in e) {
598
599
  const r = tt(e[o]) ? J(e[o]) : e[o];
599
600
  if (o === "color" || o === "backgroundColor") {
600
- typeof r == "string" && (e[o] = st(r));
601
+ typeof r == "string" && (e[o] = ot(r));
601
602
  continue;
602
603
  }
603
604
  if (o === "stroke") {
604
- typeof r == "string" ? e[o] = st(r) : K(r) && !Q(r) && q(r, n);
605
+ typeof r == "string" ? e[o] = ot(r) : K(r) && !Q(r) && q(r, n);
605
606
  continue;
606
607
  }
607
608
  if (Array.isArray(r)) {
@@ -851,7 +852,7 @@ function gn(t) {
851
852
  function pn({ componentName: t, type: n, property: e = "", index: o = "", key: r = "", warn: s = !0, debug: c = !0 }) {
852
853
  if (!c) return;
853
854
  const i = `
854
- > ${pt[n].replace("#COMP#", t).replace("#ATTR#", e).replace("#INDX#", o).replace("#KEY#", r)}
855
+ > ${Et[n].replace("#COMP#", t).replace("#ATTR#", e).replace("#INDX#", o).replace("#KEY#", r)}
855
856
  `;
856
857
  if (s)
857
858
  console.warn(i);
@@ -904,7 +905,7 @@ function An({ datasetObject: t, requiredAttributes: n }) {
904
905
  Object.hasOwn(t, o) || e.push(o);
905
906
  }), e;
906
907
  }
907
- const ot = {
908
+ const it = {
908
909
  ALICEBLUE: "#F0F8FF",
909
910
  ANTIQUEWHITE: "#FAEBD7",
910
911
  AQUA: "#00FFFF",
@@ -1054,7 +1055,7 @@ function Bt(t) {
1054
1055
  if (e === "" || e[0] === "#") return e;
1055
1056
  if (e.toLowerCase() === "transparent") return "#FFFFFF00";
1056
1057
  const o = e.toUpperCase(), r = o.replace(/GRAY/g, "GREY");
1057
- return ot[o] || ot[r] || e;
1058
+ return it[o] || it[r] || e;
1058
1059
  }
1059
1060
  const yn = "http://www.w3.org/2000/svg";
1060
1061
  function xn(t) {
@@ -1101,7 +1102,7 @@ function Mn({
1101
1102
  }), i;
1102
1103
  }
1103
1104
  function Cn(t) {
1104
- return t.length ? t.map((n) => at(n)) : [];
1105
+ return t.length ? t.map((n) => lt(n)) : [];
1105
1106
  }
1106
1107
  function $n(t, n = null) {
1107
1108
  const e = t.replace(/[\p{P}\p{S}]+/gu, " ").trim(), c = (/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(t) ? [...e] : e.split(/\s+/)).filter((i) => i.trim().length > 0).reduce((i, l) => (i[l] ? i[l] += 1 : i[l] = 1, i), {});
@@ -1259,7 +1260,7 @@ function Nn(t, n = [], e = !1) {
1259
1260
  return r(t);
1260
1261
  }
1261
1262
  function On(t, n = 100) {
1262
- return t.length === 9 ? t.substring(0, 7) + rt[n] : t + rt[n];
1263
+ return t.length === 9 ? t.substring(0, 7) + st[n] : t + st[n];
1263
1264
  }
1264
1265
  function wn({ series: t, center: n, maxRadius: e, hasGhost: o = !1 }) {
1265
1266
  const s = 360 / (t.length - (o ? 1 : 0));
@@ -1498,13 +1499,13 @@ function Wn(t) {
1498
1499
  function Ot(t) {
1499
1500
  return t && typeof t == "object" && !Array.isArray(t) && Object.keys(t).length === 0 ? null : t;
1500
1501
  }
1501
- function it(t) {
1502
+ function ct(t) {
1502
1503
  if (Array.isArray(t))
1503
- return t.map(it);
1504
+ return t.map(ct);
1504
1505
  if (t && typeof t == "object" && !Array.isArray(t)) {
1505
1506
  const n = {};
1506
1507
  for (const e in t)
1507
- Object.hasOwn(t, e) && (n[e] = it(t[e]));
1508
+ Object.hasOwn(t, e) && (n[e] = ct(t[e]));
1508
1509
  return Ot(n);
1509
1510
  }
1510
1511
  return t;
@@ -1842,92 +1843,92 @@ function oe(t) {
1842
1843
  return String(t).replaceAll("&", "&amp;").replaceAll('"', "&quot;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1843
1844
  }
1844
1845
  export {
1845
- bn as $,
1846
+ V as $,
1846
1847
  Xn as A,
1847
1848
  _t as B,
1848
- Kn as C,
1849
- vn as D,
1850
- Gn as E,
1851
- te as F,
1852
- Fn as G,
1853
- dn as H,
1854
- hn as I,
1855
- Kt as J,
1856
- Mn as K,
1857
- Wt as L,
1858
- mn as M,
1859
- Un as N,
1860
- Ln as O,
1861
- sn as P,
1862
- rn as Q,
1863
- Rn as R,
1864
- on as S,
1865
- kt as T,
1866
- cn as U,
1867
- Jt as V,
1868
- V as W,
1849
+ ne as C,
1850
+ at as D,
1851
+ Hn as E,
1852
+ an as F,
1853
+ ln as G,
1854
+ Yt as H,
1855
+ Ht as I,
1856
+ Pn as J,
1857
+ re as K,
1858
+ Dn as L,
1859
+ A as M,
1860
+ Kn as N,
1861
+ vn as O,
1862
+ Gn as P,
1863
+ te as Q,
1864
+ dn as R,
1865
+ hn as S,
1866
+ Mn as T,
1867
+ mn as U,
1868
+ Un as V,
1869
+ Ln as W,
1869
1870
  yn as X,
1870
- W as Y,
1871
- wn as Z,
1872
- qt as _,
1871
+ Rn as Y,
1872
+ kt as Z,
1873
+ Jt as _,
1873
1874
  In as a,
1874
- Vn as a0,
1875
- Nn as a1,
1876
- tn as a2,
1877
- nn as a3,
1878
- it as a4,
1879
- En as a5,
1880
- Yn as a6,
1881
- _ as a7,
1882
- en as a8,
1883
- Sn as a9,
1884
- Tn as aa,
1885
- jt as ab,
1886
- Zt as ac,
1887
- xn as ad,
1888
- un as ae,
1889
- kn as af,
1890
- Vt as ag,
1891
- qn as ah,
1892
- q as ai,
1893
- Bn as aj,
1894
- Wn as ak,
1895
- Jn as al,
1896
- ne as am,
1897
- ct as an,
1898
- Hn as ao,
1899
- se as ap,
1900
- oe as aq,
1901
- $n as ar,
1902
- Qn as as,
1903
- _n as at,
1904
- zn as au,
1905
- Ut as av,
1875
+ W as a0,
1876
+ wn as a1,
1877
+ qt as a2,
1878
+ bn as a3,
1879
+ Vn as a4,
1880
+ Nn as a5,
1881
+ tn as a6,
1882
+ nn as a7,
1883
+ ct as a8,
1884
+ En as a9,
1885
+ Yn as aa,
1886
+ _ as ab,
1887
+ en as ac,
1888
+ Sn as ad,
1889
+ Tn as ae,
1890
+ jt as af,
1891
+ Zt as ag,
1892
+ xn as ah,
1893
+ un as ai,
1894
+ kn as aj,
1895
+ Vt as ak,
1896
+ qn as al,
1897
+ Bn as am,
1898
+ Wn as an,
1899
+ Jn as ao,
1900
+ $n as ap,
1901
+ Qn as aq,
1902
+ _n as ar,
1903
+ zn as as,
1904
+ Ut as at,
1905
+ se as au,
1906
+ oe as av,
1906
1907
  ee as aw,
1907
- rt as ax,
1908
- v as b,
1908
+ st as ax,
1909
+ Xt as b,
1909
1910
  Qt as c,
1910
1911
  fn as d,
1911
- Cn as e,
1912
- pn as f,
1913
- An as g,
1914
- at as h,
1915
- Gt as i,
1916
- Xt as j,
1917
- vt as k,
1918
- Zn as l,
1919
- an as m,
1920
- ln as n,
1912
+ vt as e,
1913
+ Zn as f,
1914
+ pn as g,
1915
+ Gt as h,
1916
+ v as i,
1917
+ Cn as j,
1918
+ An as k,
1919
+ lt as l,
1920
+ Wt as m,
1921
+ on as n,
1921
1922
  gn as o,
1922
- mt as p,
1923
- Yt as q,
1924
- Ht as r,
1923
+ rt as p,
1924
+ rn as q,
1925
+ cn as r,
1925
1926
  On as s,
1926
- At as t,
1927
- Pn as u,
1928
- re as v,
1929
- Dn as w,
1930
- A as x,
1927
+ yt as t,
1928
+ sn as u,
1929
+ q as v,
1930
+ Kt as w,
1931
+ Fn as x,
1931
1932
  jn as y,
1932
1933
  zt as z
1933
1934
  };
@@ -1,4 +1,4 @@
1
- import { d as g } from "./dom-to-png--BNgrTZV.js";
1
+ import { d as g } from "./dom-to-png-CH2DfsJe.js";
2
2
  async function E({
3
3
  domElement: a,
4
4
  fileName: D,