vue-data-ui 3.20.11 → 3.21.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 (188) hide show
  1. package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
  2. package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
  3. package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
  4. package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
  5. package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
  6. package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
  7. package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
  8. package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
  10. package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
  11. package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
  12. package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
  13. package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
  14. package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
  15. package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
  16. package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
  17. package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
  18. package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
  89. package/dist/exposedLib-BJbE_A8E.js +19 -0
  90. package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
  91. package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
  92. package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
  93. package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
  94. package/dist/ssr.js +1366 -0
  95. package/dist/types/ssr.d.ts +128 -0
  96. package/dist/types/vue-data-ui.d.ts +135 -1
  97. package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
  98. package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
  99. package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
  100. package/dist/utils.js +8 -8
  101. package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
  102. package/dist/vue-data-ui.js +72 -72
  103. package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
  104. package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
  105. package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
  106. package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
  107. package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
  108. package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
  109. package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
  110. package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
  111. package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
  112. package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
  113. package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
  114. package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
  115. package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
  116. package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
  117. package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
  118. package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
  119. package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
  120. package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
  121. package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
  122. package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
  123. package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
  124. package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
  125. package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
  126. package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
  127. package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
  128. package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
  129. package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
  130. package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
  131. package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
  132. package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
  133. package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
  134. package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
  135. package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
  136. package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
  137. package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
  138. package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
  139. package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
  140. package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
  141. package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
  142. package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
  143. package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
  144. package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
  145. package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
  146. package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
  147. package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
  148. package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
  149. package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
  150. package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
  151. package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
  152. package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
  153. package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
  154. package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
  155. package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
  156. package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
  157. package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
  158. package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
  159. package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
  160. package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
  161. package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
  162. package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
  163. package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
  164. package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
  165. package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
  166. package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
  167. package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
  168. package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
  169. package/package.json +5 -1
  170. package/dist/exposedLib-CI8ji8G-.js +0 -19
  171. package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
  172. package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
  173. package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
  174. package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
  175. package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
  176. package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
  177. package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
  178. package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
  179. package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
  180. package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
  181. package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
  182. package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
  183. package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
  184. package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
  185. package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
  186. package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
  187. package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
  188. package/dist/vue-ui-xy-omDIF90L.js +0 -4744
@@ -1,23 +1,23 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Bt as n, Ct as r, Et as i, G as a, H as o, J as s, Mt as c, Rt as l, S as u, X as ee, a as te, bt as ne, dt as re, h as ie, i as ae, nt as oe, pt as se, vt as ce, x as le, y as ue } from "./lib-DUeYQsS0.js";
2
+ import { Bt as t, G as n, H as r, Ht as i, J as a, Mt as o, Ot as s, Pt as c, S as l, St as u, Tt as ee, X as te, a as ne, bt as re, h as ie, ht as ae, i as oe, it as se, pt as ce, x as le, y as ue } from "./lib-AJRHFE5U.js";
3
3
  import { n as de, r as fe, t as pe } from "./useTimeLabels-BmBRv27Y.js";
4
4
  import { t as me } from "./useConfig-DnH7Pf_2.js";
5
- import { t as he } from "./usePrinter-C1Gqt_Sp.js";
5
+ import { t as he } from "./usePrinter-6n2MzVyV.js";
6
6
  import { n as ge, t as _e } from "./BaseScanner-Dr2a1Msy.js";
7
- import { t as ve } from "./useNestedProp-CNcoy38D.js";
7
+ import { t as ve } from "./useNestedProp-DtcXIg7n.js";
8
8
  import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as be } from "./img-1cKsci8e.js";
10
- import { n as xe } from "./Title-NWp4qB4K.js";
9
+ import { t as be } from "./img-C_RNNswI.js";
10
+ import { n as xe } from "./Title-DH6G8_cZ.js";
11
11
  import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { a as Ce, c as we, i as d, n as Te, o as Ee, r as De, s as f, t as Oe } from "./canvas-lib-BOP_HS11.js";
13
13
  import { t as ke } from "./useResponsive-BfnK0KxU.js";
14
- import { t as Ae } from "./BaseIcon-DfLoHNUj.js";
15
- import { t as je } from "./SlicerPreview-By4kBVCY.js";
16
- import { t as Me } from "./vue-ui-accordion-Bpbv-VHE.js";
17
- import { t as Ne } from "./BaseLegendToggle-C_Db-y7s.js";
14
+ import { t as Ae } from "./BaseIcon-CbDazQLH.js";
15
+ import { t as je } from "./SlicerPreview-CXLgqXX8.js";
16
+ import { t as Me } from "./vue-ui-accordion-DLnwuQda.js";
17
+ import { t as Ne } from "./BaseLegendToggle-BNRi408o.js";
18
18
  import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
19
19
  import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Ie } from "./Legend-Cz2uQ5gs.js";
20
+ import { t as Ie } from "./Legend-BLhREbj7.js";
21
21
  import { t as Le } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
22
22
  import { Teleport as Re, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as ze, createElementVNode as g, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as Ue, guardReactiveProps as _, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeProps as v, normalizeStyle as qe, onBeforeUnmount as Je, onMounted as Ye, openBlock as y, ref as b, renderSlot as x, resolveDynamicComponent as Xe, shallowRef as Ze, toDisplayString as Qe, toRefs as $e, unref as S, useSlots as et, watch as C, watchEffect as tt, withCtx as w } from "vue";
23
23
  //#region src/components/vue-ui-xy-canvas.vue
@@ -64,7 +64,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
64
64
  "copyAlt"
65
65
  ],
66
66
  setup(e, { expose: Se, emit: nt }) {
67
- let pt = Ue(() => import("./Tooltip-BENq327o.js")), mt = Ue(() => import("./DataTable-B--IN22e.js")), ht = Ue(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), gt = Ue(() => import("./NonSvgPenAndPaper-gLNJ1Lmr.js")), _t = Ue(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_xy_canvas: vt } = me(), { isThemeValid: yt, warnInvalidTheme: bt } = ye(), T = e, E = b(o()), D = b(null), xt = b(null), O = b(null), k = b(1), A = b(1), St = b(!1), j = b(null), Ct = b(""), wt = b(null), M = b([]), Tt = b(1), N = b(!0), P = b(!0), Et = b(null), Dt = b(0), Ot = b(!1), kt = b(null), At = b(null), F = b(null), jt = b(null), Mt = b(0), Nt = b(0), Pt = b(0), I = b(null), Ft = b(!1), It = b(null), Lt = b(null), Rt = b(!1), zt = b(!1), Bt = b(!1), L = b(null), Vt = b(!1), Ht = b(!1), Ut = b(!1), R = b(null), Wt = b({
67
+ let pt = Ue(() => import("./Tooltip-979Ytd8R.js")), mt = Ue(() => import("./DataTable-DweDyHc1.js")), ht = Ue(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), gt = Ue(() => import("./NonSvgPenAndPaper-BzZyMJBF.js")), _t = Ue(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_xy_canvas: vt } = me(), { isThemeValid: yt, warnInvalidTheme: bt } = ye(), T = e, E = b(r()), D = b(null), xt = b(null), O = b(null), k = b(1), A = b(1), St = b(!1), j = b(null), Ct = b(""), wt = b(null), M = b([]), Tt = b(1), N = b(!0), P = b(!0), Et = b(null), Dt = b(0), Ot = b(!1), kt = b(null), At = b(null), F = b(null), jt = b(null), Mt = b(0), Nt = b(0), Pt = b(0), I = b(null), Ft = b(!1), It = b(null), Lt = b(null), Rt = b(!1), zt = b(!1), Bt = b(!1), L = b(null), Vt = b(!1), Ht = b(!1), Ut = b(!1), R = b(null), Wt = b({
68
68
  x: 0,
69
69
  y: 0
70
70
  }), z = p(() => Array.isArray($t.value) && $t.value.length > 0), Gt = nt, Kt = et();
@@ -81,7 +81,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
81
81
  let t = e.series[R.value], n = t?.value ?? t ?? null;
82
82
  return `${e.name}: ${n}`;
83
83
  }).join(". ")}.`;
84
- }), Yt = p(() => B.value.userOptions.useCursorPointer), Xt = p(() => !!B.value.debug), Zt = p(() => n({
84
+ }), Yt = p(() => B.value.userOptions.useCursorPointer), Xt = p(() => !!B.value.debug), Zt = p(() => i({
85
85
  defaultConfig: {
86
86
  userOptions: { show: !1 },
87
87
  table: { show: !1 },
@@ -157,7 +157,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
157
157
  type: "bar",
158
158
  color: "#AAAAAA"
159
159
  }],
160
- skeletonConfig: n({
160
+ skeletonConfig: i({
161
161
  defaultConfig: B.value,
162
162
  userConfig: Zt.value
163
163
  })
@@ -176,26 +176,26 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
176
176
  let e = ve({
177
177
  userConfig: T.config,
178
178
  defaultConfig: vt
179
- }), t = {}, n = e.theme;
180
- if (n) if (!yt.value(e)) bt(e), t = e;
179
+ }), n = {}, r = e.theme;
180
+ if (r) if (!yt.value(e)) bt(e), n = e;
181
181
  else {
182
- let r = ve({
183
- userConfig: Le[n] || T.config,
182
+ let i = ve({
183
+ userConfig: Le[r] || T.config,
184
184
  defaultConfig: e
185
185
  });
186
- t = {
186
+ n = {
187
187
  ...ve({
188
188
  userConfig: T.config,
189
- defaultConfig: r
189
+ defaultConfig: i
190
190
  }),
191
- customPalette: e.customPalette.length ? e.customPalette : l[n] || i
191
+ customPalette: e.customPalette.length ? e.customPalette : t[r] || s
192
192
  };
193
193
  }
194
- else t = e;
195
- return T.config && re(T.config, "style.chart.grid.y.timeLabels") && (console.warn("VueUiXyCanvas: you are using the deprecated config.style.chart.grid.y.timeLabels. It is recommended to move this configuration to config.style.chart.grid.x.timeLabels."), t.style.chart.grid.x.timeLabels = ve({
196
- defaultConfig: t.style.chart.grid.x.timeLabels,
194
+ else n = e;
195
+ return T.config && ce(T.config, "style.chart.grid.y.timeLabels") && (console.warn("VueUiXyCanvas: you are using the deprecated config.style.chart.grid.y.timeLabels. It is recommended to move this configuration to config.style.chart.grid.x.timeLabels."), n.style.chart.grid.x.timeLabels = ve({
196
+ defaultConfig: n.style.chart.grid.x.timeLabels,
197
197
  userConfig: T.config.style.chart.grid.y.timeLabels
198
- })), t;
198
+ })), n;
199
199
  }
200
200
  C(() => T.config, (e) => {
201
201
  Qt.value || (B.value = on()), en.value = !B.value.userOptions.showOnChartHover, xr(), Mt.value += 1, Nt.value += 1, Pt.value += 1, H.value.showTable = B.value.table.show, H.value.showDataLabels = B.value.style.chart.dataLabels.show, H.value.stacked = B.value.style.chart.stacked, H.value.showTooltip = B.value.style.chart.tooltip.show;
@@ -297,7 +297,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
297
297
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
298
298
  </svg>
299
299
  <span>${e.name ? e.name + ": " : ""}</span>
300
- <span>${ae(B.value.style.chart.dataLabels.formatter, e.series[j.value] ?? "-", a({
300
+ <span>${oe(B.value.style.chart.dataLabels.formatter, e.series[j.value] ?? "-", n({
301
301
  p: e.prefix || "",
302
302
  v: e.series[j.value] ?? "-",
303
303
  s: e.suffix || "",
@@ -307,14 +307,14 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
307
307
  seriesIndex: j.value
308
308
  })}</span>
309
309
  </div>
310
- `)), wn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => $t.value.map((e, n) => ({
310
+ `)), wn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => $t.value.map((e, t) => ({
311
311
  ...e,
312
- series: ce({
313
- data: t(e.series, [], wn.value),
312
+ series: re({
313
+ data: o(e.series, [], wn.value),
314
314
  threshold: B.value.downsample.threshold
315
315
  }),
316
- absoluteIndex: n,
317
- color: ue(e.color || pn.value[n] || i[n] || i[n % i.length])
316
+ absoluteIndex: t,
317
+ color: ue(e.color || pn.value[t] || s[t] || s[t % s.length])
318
318
  }))), Tn = p(() => {
319
319
  if (!B.value.style.chart.zoom.minimap.show) return [];
320
320
  let e = K.value.filter((e) => !M.value.includes(e.absoluteIndex)), t = Math.max(...e.map((e) => e.series.length)), n = [];
@@ -328,7 +328,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
328
328
  C(U, (e) => {
329
329
  e && kn();
330
330
  });
331
- let q = p(() => te(K.value.filter((e, t) => !M.value.includes(e.absoluteIndex))).map((e, t) => ({
331
+ let q = p(() => ne(K.value.filter((e, t) => !M.value.includes(e.absoluteIndex))).map((e, t) => ({
332
332
  ...e,
333
333
  series: e.series.slice(J.value.start, J.value.end)
334
334
  })).map((e, t) => {
@@ -625,7 +625,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
625
625
  }
626
626
  function Vn() {
627
627
  q.value.forEach((e) => {
628
- e.showYMarker && sr(e) && f(O.value, ae(B.value.style.chart.dataLabels.formatter, sr(e).value, a({
628
+ e.showYMarker && sr(e) && f(O.value, oe(B.value.style.chart.dataLabels.formatter, sr(e).value, n({
629
629
  p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
630
630
  v: sr(e).value,
631
631
  s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
@@ -642,15 +642,15 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
642
642
  }
643
643
  function Hn() {
644
644
  B.value.style.chart.grid.y.axisLabels.show && (H.value.stacked ? q.value.forEach((e) => {
645
- e.localYLabels.forEach((t, n) => {
646
- f(O.value, ae(B.value.style.chart.dataLabels.formatter, t.value, a({
645
+ e.localYLabels.forEach((t, r) => {
646
+ f(O.value, oe(B.value.style.chart.dataLabels.formatter, t.value, n({
647
647
  p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
648
648
  v: t.value,
649
649
  s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
650
650
  r: e.rounding || B.value.style.chart.grid.y.axisLabels.rounding || 0
651
651
  }), {
652
652
  datapoint: t,
653
- seriesIndex: n
653
+ seriesIndex: r
654
654
  }), t.x + B.value.style.chart.grid.y.axisLabels.offsetX, t.y, {
655
655
  align: "right",
656
656
  font: `${B.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(k.value / 40 * B.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
@@ -659,7 +659,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
659
659
  });
660
660
  });
661
661
  }) : G.value.yLabels.forEach((e, t) => {
662
- f(O.value, ae(B.value.style.chart.dataLabels.formatter, e.value, a({
662
+ f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.value, n({
663
663
  p: B.value.style.chart.grid.y.axisLabels.prefix || "",
664
664
  v: e.value,
665
665
  s: B.value.style.chart.grid.y.axisLabels.suffix || "",
@@ -676,7 +676,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
676
676
  }));
677
677
  }
678
678
  function Un(e) {
679
- for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value, ae(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[t].value, a({
679
+ for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[t].value, n({
680
680
  p: e.prefix || "",
681
681
  v: e.coordinatesLine[t].value,
682
682
  s: e.suffix || "",
@@ -776,33 +776,33 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
776
776
  }
777
777
  function $n() {
778
778
  X.value.forEach((e, t) => {
779
- for (let n = 0; n < e.coordinatesLine.length; n += 1) Ee(O.value, [
779
+ for (let r = 0; r < e.coordinatesLine.length; r += 1) Ee(O.value, [
780
780
  {
781
- x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
781
+ x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
782
782
  y: H.value.stacked ? e.localZero : G.value.zero
783
783
  },
784
784
  {
785
- x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
785
+ x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
786
786
  y: H.value.stacked ? e.localZero : G.value.zero
787
787
  },
788
788
  {
789
- x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
790
- y: e.coordinatesLine[n].y
789
+ x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
790
+ y: e.coordinatesLine[r].y
791
791
  },
792
792
  {
793
- x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
794
- y: e.coordinatesLine[n].y
793
+ x: W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
794
+ y: e.coordinatesLine[r].y
795
795
  }
796
796
  ], {
797
797
  strokeColor: B.value.style.chart.backgroundColor,
798
798
  gradient: {
799
799
  type: "linear",
800
800
  start: {
801
- x: e.coordinatesLine[n].x,
802
- y: e.coordinatesLine[n].y
801
+ x: e.coordinatesLine[r].x,
802
+ y: e.coordinatesLine[r].y
803
803
  },
804
804
  end: {
805
- x: e.coordinatesLine[n].x,
805
+ x: e.coordinatesLine[r].x,
806
806
  y: H.value.stacked ? e.localZero : G.value.zero
807
807
  },
808
808
  stops: [{
@@ -810,18 +810,18 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
810
810
  color: e.color
811
811
  }, {
812
812
  offset: 1,
813
- color: B.value.style.chart.bar.gradient.show ? ne(e.color, .5) : e.color
813
+ color: B.value.style.chart.bar.gradient.show ? u(e.color, .5) : e.color
814
814
  }]
815
815
  }
816
- }), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value, ae(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[n].value, a({
816
+ }), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[r].value, n({
817
817
  p: e.prefix || "",
818
- v: e.coordinatesLine[n].value,
818
+ v: e.coordinatesLine[r].value,
819
819
  s: e.suffix || "",
820
820
  r: e.rounding || 0
821
821
  }), {
822
- datapoint: e.coordinatesLine[n],
823
- seriesIndex: n
824
- }), W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .4 / (H.value.stacked ? 1 : X.value.length), (e.coordinatesLine[n].value < 0 ? H.value.stacked ? e.localZero : G.value.zero : e.coordinatesLine[n].y) + B.value.style.chart.dataLabels.offsetY, {
822
+ datapoint: e.coordinatesLine[r],
823
+ seriesIndex: r
824
+ }), W.value.left + W.value.slot * r + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .4 / (H.value.stacked ? 1 : X.value.length), (e.coordinatesLine[r].value < 0 ? H.value.stacked ? e.localZero : G.value.zero : e.coordinatesLine[r].y) + B.value.style.chart.dataLabels.offsetY, {
825
825
  align: "center",
826
826
  font: `${Math.round(k.value / 40 * B.value.style.chart.dataLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
827
827
  color: B.value.style.chart.dataLabels.useSerieColor ? e.color : B.value.style.chart.dataLabels.color,
@@ -1029,7 +1029,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1029
1029
  }, _r({
1030
1030
  seriesIndex: j.value,
1031
1031
  datapoint: c
1032
- }), se(s) && oe(() => s({
1032
+ }), ae(s) && se(() => s({
1033
1033
  seriesIndex: j.value,
1034
1034
  datapoint: c,
1035
1035
  series: q.value,
@@ -1055,7 +1055,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1055
1055
  return _r({
1056
1056
  seriesIndex: e,
1057
1057
  datapoint: r
1058
- }), se(n) && oe(() => n({
1058
+ }), ae(n) && se(() => n({
1059
1059
  seriesIndex: e,
1060
1060
  datapoint: r,
1061
1061
  series: q.value,
@@ -1132,7 +1132,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1132
1132
  Ft.value = !0, xr();
1133
1133
  });
1134
1134
  function xr() {
1135
- if (r(T.dataset) && Xt.value && ee({
1135
+ if (ee(T.dataset) && Xt.value && te({
1136
1136
  componentName: "VueUiXyCanvas",
1137
1137
  type: "dataset"
1138
1138
  }), Ge(() => {
@@ -1181,7 +1181,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1181
1181
  let Dr = p(() => K.value.map((e, t) => ({
1182
1182
  ...e,
1183
1183
  name: e.name,
1184
- color: ue(e.color) || pn.value[t] || i[t] || i[t % i.length],
1184
+ color: ue(e.color) || pn.value[t] || s[t] || s[t % s.length],
1185
1185
  shape: e.shape || "circle",
1186
1186
  prefix: e.prefix || "",
1187
1187
  suffix: e.suffix || "",
@@ -1251,8 +1251,8 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1251
1251
  [B.value.style.chart.title.text],
1252
1252
  [B.value.style.chart.title.subtitle.text],
1253
1253
  [""]
1254
- ], n = ["", ...Ar.value.head.map((e) => e.label)], r = Ar.value.body, i = u(t.concat([n]).concat(r));
1255
- e ? e(i) : s({
1254
+ ], n = ["", ...Ar.value.head.map((e) => e.label)], r = Ar.value.body, i = l(t.concat([n]).concat(r));
1255
+ e ? e(i) : a({
1256
1256
  csvContent: i,
1257
1257
  title: B.value.style.chart.title.text || "vue-ui-xy-canvas"
1258
1258
  });
@@ -1564,7 +1564,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1564
1564
  content: Ct.value,
1565
1565
  isFullscreen: Ot.value,
1566
1566
  backgroundOpacity: B.value.style.chart.tooltip.backgroundOpacity,
1567
- isCustom: S(se)(B.value.style.chart.tooltip.customFormat),
1567
+ isCustom: S(ae)(B.value.style.chart.tooltip.customFormat),
1568
1568
  smooth: B.value.style.chart.tooltip.smooth,
1569
1569
  backdropFilter: B.value.style.chart.tooltip.backdropFilter,
1570
1570
  smoothForce: B.value.style.chart.tooltip.smoothForce,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.20.11",
4
+ "version": "3.21.0",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -73,6 +73,10 @@
73
73
  "types": "./dist/types/utils.d.ts",
74
74
  "import": "./dist/utils.js"
75
75
  },
76
+ "./ssr": {
77
+ "types": "./dist/types/ssr.d.ts",
78
+ "import": "./dist/ssr.js"
79
+ },
76
80
  "./*": {
77
81
  "types": "./dist/types/*.d.ts",
78
82
  "import": "./dist/components/*.js",
@@ -1,19 +0,0 @@
1
- import { Bt as e, Nt as t, W as n, bt as r, y as i } from "./lib-DUeYQsS0.js";
2
- //#region src/exposedLib.js
3
- function a(e, t) {
4
- return r(i(e), t);
5
- }
6
- function o(e, t) {
7
- return n(i(e), t);
8
- }
9
- function s(e, n) {
10
- return t(i(e), n);
11
- }
12
- function c({ defaultConfig: t, userConfig: n }) {
13
- return e({
14
- defaultConfig: t,
15
- userConfig: n
16
- });
17
- }
18
- //#endregion
19
- export { s as i, a as n, c as r, o as t };