vue-data-ui 3.25.5 → 3.25.6

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 (210) hide show
  1. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  2. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  3. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  4. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  5. package/dist/{ColorPicker-Bn3MY7eL.js → ColorPicker-CUy15T72.js} +1 -1
  6. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  7. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  8. package/dist/{NonSvgPenAndPaper-KXRhcsxM.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  9. package/dist/{PackageVersion-M2Ws-VwJ.js → PackageVersion-ur6jKRL5.js} +1 -1
  10. package/dist/{PenAndPaper-BgH3m_LP.js → PenAndPaper-KFzKlvbi.js} +2 -2
  11. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  12. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-bump.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dag.js +1 -1
  26. package/dist/components/vue-ui-dashboard.js +1 -1
  27. package/dist/components/vue-ui-digits.js +1 -1
  28. package/dist/components/vue-ui-donut-evolution.js +1 -1
  29. package/dist/components/vue-ui-donut.js +1 -1
  30. package/dist/components/vue-ui-dumbbell.js +1 -1
  31. package/dist/components/vue-ui-flow.js +1 -1
  32. package/dist/components/vue-ui-funnel.js +1 -1
  33. package/dist/components/vue-ui-galaxy.js +1 -1
  34. package/dist/components/vue-ui-gauge.js +1 -1
  35. package/dist/components/vue-ui-geo.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-hill.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-label.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-stackline.js +1 -1
  68. package/dist/components/vue-ui-strip-plot.js +1 -1
  69. package/dist/components/vue-ui-table-heatmap.js +1 -1
  70. package/dist/components/vue-ui-table-sparkline.js +1 -1
  71. package/dist/components/vue-ui-table.js +1 -1
  72. package/dist/components/vue-ui-thermometer.js +1 -1
  73. package/dist/components/vue-ui-timer.js +1 -1
  74. package/dist/components/vue-ui-tiremarks.js +1 -1
  75. package/dist/components/vue-ui-treemap.js +1 -1
  76. package/dist/components/vue-ui-vertical-bar.js +1 -1
  77. package/dist/components/vue-ui-waffle.js +1 -1
  78. package/dist/components/vue-ui-wheel.js +1 -1
  79. package/dist/components/vue-ui-word-cloud.js +1 -1
  80. package/dist/components/vue-ui-world.js +1 -1
  81. package/dist/components/vue-ui-xy-canvas.js +1 -1
  82. package/dist/components/vue-ui-xy.js +1 -1
  83. package/dist/{package-ta2JoIjx.js → package-Dx7M6sYy.js} +1 -1
  84. package/dist/{render-common-bvOuxfN3.js → render-common-DETHvNhl.js} +1 -1
  85. package/dist/ssr/vue-ui-donut.js +1 -1
  86. package/dist/ssr/vue-ui-xy.js +1 -1
  87. package/dist/ssr.js +2 -2
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +10 -0
  90. package/dist/{useConfig-C_mX5pOZ.js → useConfig-CIQZ6_r7.js} +11 -1
  91. package/dist/{useObjectBindings-uXpBcVyo.js → useObjectBindings---mHNfbS.js} +2 -2
  92. package/dist/utils.js +1 -1
  93. package/dist/{vue-data-ui-BjdCpsRV.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  94. package/dist/vue-data-ui.js +71 -71
  95. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  96. package/dist/{vue-ui-accordion-DRf3NQyH.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  97. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  98. package/dist/{vue-ui-annotator-DZ0O8Xa5.js → vue-ui-annotator-CTQHAPho.js} +676 -676
  99. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  100. package/dist/{vue-ui-bump-DoHnD1Xy.js → vue-ui-bump-DhwySwgn.js} +380 -380
  101. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  102. package/dist/{vue-ui-carousel-table-k1cBJ1i1.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  103. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  104. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  105. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  106. package/dist/{vue-ui-cursor-CQWLyEx0.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  107. package/dist/{vue-ui-dag-BqlsutMj.js → vue-ui-dag-C_inEafb.js} +792 -792
  108. package/dist/{vue-ui-dashboard-Be3MmkgS.js → vue-ui-dashboard-Bs2mBur5.js} +67 -67
  109. package/dist/{vue-ui-digits-BqdfbcKX.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  110. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  111. package/dist/{vue-ui-donut-gzGZ42uH.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  112. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  113. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  114. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  115. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  116. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  117. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  118. package/dist/{vue-ui-geo-Ca8kPYr-.js → vue-ui-geo-DXIHhp-G.js} +429 -429
  119. package/dist/{vue-ui-gizmo-wUqHJICb.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  120. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  121. package/dist/{vue-ui-hill-D6Y9Xy2K.js → vue-ui-hill-DqsVJkmO.js} +470 -470
  122. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  123. package/dist/{vue-ui-horizontal-bar-3on3-H3B.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +511 -511
  124. package/dist/{vue-ui-kpi-CUpRRIUf.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  125. package/dist/{vue-ui-label-DR2qUZOG.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  126. package/dist/{vue-ui-mini-loader-D8W-fERs.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  127. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  128. package/dist/{vue-ui-mood-radar-TW251icr.js → vue-ui-mood-radar-Dd1qfUiu.js} +376 -376
  129. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  130. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  131. package/dist/{vue-ui-parallel-coordinate-plot-RM25bxtf.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +407 -407
  132. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  133. package/dist/{vue-ui-quick-chart-Cswm3_eI.js → vue-ui-quick-chart-BZq517pL.js} +4 -4
  134. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  135. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  136. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  137. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  138. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  139. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  140. package/dist/{vue-ui-skeleton-D_u8EWeW.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  141. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  142. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  143. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  144. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  145. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  146. package/dist/{vue-ui-sparkline-9qkNNZG6.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  147. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  148. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  149. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  150. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  151. package/dist/{vue-ui-table-heatmap-XmDK1aHJ.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  152. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  153. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  154. package/dist/{vue-ui-thermometer-CLx3SPRv.js → vue-ui-thermometer-D0_KsB-y.js} +192 -192
  155. package/dist/{vue-ui-timer-BDWUNb6t.js → vue-ui-timer-1Z2zginj.js} +153 -153
  156. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  157. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  158. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  159. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  160. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  161. package/dist/{vue-ui-world-C2atz4Xm.js → vue-ui-world-BOBHo7-L.js} +524 -524
  162. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  163. package/dist/{vue-ui-xy-CpA0W6zM.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  164. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  165. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  166. package/package.json +1 -1
  167. package/dist/vue-ui-3d-bar-C0aLR6lw.js +0 -1831
  168. package/dist/vue-ui-age-pyramid-DUcB3lYs.js +0 -1243
  169. package/dist/vue-ui-bullet-DIOCMF2H.js +0 -702
  170. package/dist/vue-ui-candlestick-Cf8TYPl5.js +0 -1859
  171. package/dist/vue-ui-chestnut-BMAuaeif.js +0 -2016
  172. package/dist/vue-ui-chord-DCe2iPjk.js +0 -1347
  173. package/dist/vue-ui-circle-pack-Eb5hS_z3.js +0 -1635
  174. package/dist/vue-ui-donut-CuQVKuZa.js +0 -2415
  175. package/dist/vue-ui-donut-evolution-DckruxZ9.js +0 -1552
  176. package/dist/vue-ui-dumbbell-BYU-hh2E.js +0 -1531
  177. package/dist/vue-ui-flow-DLRcNDLc.js +0 -1217
  178. package/dist/vue-ui-funnel-DjoqNN1U.js +0 -749
  179. package/dist/vue-ui-galaxy-BhR4IOra.js +0 -1085
  180. package/dist/vue-ui-gauge-Cq161Kwp.js +0 -934
  181. package/dist/vue-ui-heatmap-Bl5ymvi9.js +0 -1555
  182. package/dist/vue-ui-history-plot-CvVjsdCL.js +0 -1698
  183. package/dist/vue-ui-molecule-BExVLLgE.js +0 -929
  184. package/dist/vue-ui-nested-donuts-CWzJKr3S.js +0 -1503
  185. package/dist/vue-ui-onion-VaYZQK5i.js +0 -1235
  186. package/dist/vue-ui-quadrant-Dmtwow7n.js +0 -1967
  187. package/dist/vue-ui-radar-C3GYthqu.js +0 -1374
  188. package/dist/vue-ui-rating-CBdDXL80.js +0 -359
  189. package/dist/vue-ui-relation-circle-BA0qy0kp.js +0 -905
  190. package/dist/vue-ui-ridgeline-C5skjBTe.js +0 -1630
  191. package/dist/vue-ui-rings-BJ8yEQMw.js +0 -1252
  192. package/dist/vue-ui-scatter-DXg8ESgr.js +0 -2405
  193. package/dist/vue-ui-smiley-DQOp87rr.js +0 -376
  194. package/dist/vue-ui-spark-trend-CjCufXof.js +0 -457
  195. package/dist/vue-ui-sparkbar-BniEM15a.js +0 -401
  196. package/dist/vue-ui-sparkgauge-BtyCrqTQ.js +0 -268
  197. package/dist/vue-ui-sparkhistogram-DQdn3PW1.js +0 -589
  198. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +0 -738
  199. package/dist/vue-ui-stackbar-CkjicNDv.js +0 -2355
  200. package/dist/vue-ui-stackline-BB1IZta8.js +0 -2469
  201. package/dist/vue-ui-strip-plot-DGLGuH6e.js +0 -1740
  202. package/dist/vue-ui-table-BXz_HY2g.js +0 -1352
  203. package/dist/vue-ui-table-sparkline-MTEw3imE.js +0 -738
  204. package/dist/vue-ui-tiremarks-DoaypTC-.js +0 -540
  205. package/dist/vue-ui-treemap-Bv7PgpiC.js +0 -1733
  206. package/dist/vue-ui-waffle-z2DhvSAx.js +0 -1621
  207. package/dist/vue-ui-wheel-DYLBJuFb.js +0 -873
  208. package/dist/vue-ui-word-cloud-CbpEhSdL.js +0 -1710
  209. package/dist/vue-ui-xy-B3DQ6t46.js +0 -5283
  210. package/dist/vue-ui-xy-canvas-CJefORWc.js +0 -1824
@@ -2,7 +2,7 @@ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { $ as t, D as n, Et as r, G as i, Lt as a, P as o, Pt as s, S as c, V as l, X as u, Yt as ee, Zt as te, c as ne, ht as re, i as ie, nt as ae, q as oe, r as se, t as ce, w as le } from "./lib-Dql7cqyA.js";
3
3
  import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as fe } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as pe } from "./useConfig-C_mX5pOZ.js";
5
+ import { t as pe } from "./useConfig-CIQZ6_r7.js";
6
6
  import { t as me } from "./usePrinter-DISD7q5m.js";
7
7
  import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
8
8
  import { t as _e } from "./useNestedProp-Chvyfpl-.js";
@@ -16,7 +16,7 @@ import { t as Te } from "./A11yDataTable-DdRsVULz.js";
16
16
  import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
17
17
  import { t as De } from "./useChartAccessibility-DYqac8yF.js";
18
18
  import { t as Oe } from "./vue_ui_bump-Vl-zYAtG.js";
19
- import { t as ke } from "./BaseDraggableDialog-BM_R41j8.js";
19
+ import { t as ke } from "./BaseDraggableDialog-Gm4Q30j0.js";
20
20
  import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ne, normalizeClass as Pe, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Fe, onMounted as Ie, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as T, toRefs as ze, unref as E, watch as Be, watchEffect as Ve, withCtx as D } from "vue";
21
21
  //#region src/components/vue-ui-bump.vue
22
22
  var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
@@ -128,16 +128,16 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
128
128
  },
129
129
  emits: ["copyAlt"],
130
130
  setup(e, { expose: Se, emit: He }) {
131
- let ct = _(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), ut = _(() => import("./DataTable-COIO9gi4.js")), dt = _(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), ft = _(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), { vue_ui_bump: mt } = pe(), { isThemeValid: ht, warnInvalidTheme: gt } = ve(), O = e, _t = He, vt = f({
131
+ let ct = _(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), ut = _(() => import("./DataTable-oiM9uWrQ.js")), dt = _(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), ft = _(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-ur6jKRL5.js").then((e) => e.t)), { vue_ui_bump: mt } = pe(), { isThemeValid: ht, warnInvalidTheme: gt } = ve(), O = e, _t = He, vt = f({
132
132
  get() {
133
133
  return !!O.dataset && O.dataset.length;
134
134
  },
135
135
  set(e) {
136
136
  return e;
137
137
  }
138
- }), k = S(null), A = S(oe()), yt = S(0), bt = S(null), xt = S(null), St = S(null), j = S(!1), Ct = S(!1), wt = S(0), Tt = S(0), M = S(null), Et = S(null), Dt = S(!1), N = S(null), Ot = S(null), kt = S(null), At = S(null), P = S(null), jt = S(!1), F = S(It());
138
+ }), k = S(null), A = S(oe()), yt = S(0), bt = S(null), xt = S(null), St = S(null), Ct = S(!1), wt = S(!1), Tt = S(0), Et = S(0), j = S(null), Dt = S(null), Ot = S(!1), M = S(null), kt = S(null), At = S(null), jt = S(null), N = S(null), Mt = S(!1), P = S(Lt()), F = f(() => P.value.style.chart.layout.plots), I = f(() => P.value.style.chart.layout), L = f(() => P.value.style.chart), R = f(() => P.value.userOptions);
139
139
  ue({
140
- config: () => F.value,
140
+ config: () => P.value,
141
141
  dataset: () => O.dataset,
142
142
  component: "VueUiBump",
143
143
  rules: [
@@ -172,7 +172,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
172
172
  }
173
173
  ]
174
174
  });
175
- let I = f(() => F.value.userOptions.useCursorPointer), Mt = f(() => te({
175
+ let z = f(() => P.value.userOptions.useCursorPointer), Nt = f(() => te({
176
176
  defaultConfig: {
177
177
  userOptions: { show: !1 },
178
178
  style: { chart: {
@@ -191,11 +191,11 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
191
191
  }
192
192
  } }
193
193
  },
194
- userConfig: F.value.skeletonConfig ?? {}
195
- })), { loading: Nt, FINAL_DATASET: Pt, manualLoading: Ft } = he({
194
+ userConfig: P.value.skeletonConfig ?? {}
195
+ })), { loading: Pt, FINAL_DATASET: Ft, manualLoading: It } = he({
196
196
  ...ze(O),
197
- FINAL_CONFIG: F,
198
- prepareConfig: It,
197
+ FINAL_CONFIG: P,
198
+ prepareConfig: Lt,
199
199
  skeletonDataset: O.config?.skeletonDataset ?? [
200
200
  {
201
201
  name: "————",
@@ -247,12 +247,12 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
247
247
  }
248
248
  ],
249
249
  skeletonConfig: te({
250
- defaultConfig: F.value,
251
- userConfig: Mt.value
250
+ defaultConfig: P.value,
251
+ userConfig: Nt.value
252
252
  })
253
253
  });
254
- Ie(Xt);
255
- function It() {
254
+ Ie(Zt);
255
+ function Lt() {
256
256
  let e = _e({
257
257
  userConfig: O.config,
258
258
  defaultConfig: mt
@@ -275,46 +275,46 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
275
275
  } else t = e;
276
276
  return t;
277
277
  }
278
- let { userOptionsVisible: Lt, setUserOptionsVisibility: Rt, keepUserOptionState: zt } = Ee({ config: F.value }), { svgRef: L } = De({ config: F.value.style.chart.title });
279
- function Bt() {
280
- Dt.value = !0, Rt(!0);
281
- }
278
+ let { userOptionsVisible: Rt, setUserOptionsVisibility: zt, keepUserOptionState: Bt } = Ee({ config: P.value }), { svgRef: B } = De({ config: L.value.title });
282
279
  function Vt() {
283
- Rt(!1), Dt.value = !1;
280
+ Ot.value = !0, zt(!0);
281
+ }
282
+ function Ht() {
283
+ zt(!1), Ot.value = !1;
284
284
  }
285
- let R = S({ showTable: F.value.table.show });
286
- Be(F, () => {
287
- R.value = { showTable: F.value.table.show };
285
+ let V = S({ showTable: P.value.table.show });
286
+ Be(P, () => {
287
+ V.value = { showTable: P.value.table.show };
288
288
  }, { immediate: !0 }), Be(() => O.config, (e) => {
289
- Nt.value || (F.value = It()), Lt.value = !F.value.userOptions.showOnChartHover, Xt(), wt.value += 1, Tt.value += 1, R.value.showTable = F.value.table.show, z.value.width = F.value.style.chart.width, z.value.height = F.value.style.chart.height, z.value.paddingRatio = {
290
- top: F.value.style.chart.padding.top / F.value.style.chart.height,
291
- right: F.value.style.chart.padding.right / F.value.style.chart.width,
292
- bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
293
- left: F.value.style.chart.padding.left / F.value.style.chart.width
289
+ Pt.value || (P.value = Lt()), Rt.value = !P.value.userOptions.showOnChartHover, Zt(), Tt.value += 1, Et.value += 1, V.value.showTable = P.value.table.show, H.value.width = L.value.width, H.value.height = L.value.height, H.value.paddingRatio = {
290
+ top: L.value.padding.top / L.value.height,
291
+ right: L.value.padding.right / L.value.width,
292
+ bottom: L.value.padding.bottom / L.value.height,
293
+ left: L.value.padding.left / L.value.width
294
294
  };
295
295
  }), Be(() => O.dataset, (e) => {
296
- Array.isArray(e) && e.length > 0 && (Ft.value = !1);
296
+ Array.isArray(e) && e.length > 0 && (It.value = !1);
297
297
  }, { deep: !0 });
298
- let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = me({
298
+ let { isPrinting: Ut, isImaging: Wt, generatePdf: Gt, generateImage: Kt } = me({
299
299
  elementId: `bump_${A.value}`,
300
- fileName: F.value.style.chart.title.text || "vue-ui-bump",
301
- options: F.value.userOptions.print
302
- }), Kt = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = S({
303
- width: F.value.style.chart.width,
304
- height: F.value.style.chart.height,
300
+ fileName: L.value.title.text || "vue-ui-bump",
301
+ options: P.value.userOptions.print
302
+ }), qt = f(() => P.value.userOptions.show && !L.value.title.text), H = S({
303
+ width: L.value.width,
304
+ height: L.value.height,
305
305
  paddingRatio: {
306
- top: F.value.style.chart.padding.top / F.value.style.chart.height,
307
- right: F.value.style.chart.padding.right / F.value.style.chart.width,
308
- bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
309
- left: F.value.style.chart.padding.left / F.value.style.chart.width
306
+ top: L.value.padding.top / L.value.height,
307
+ right: L.value.padding.right / L.value.width,
308
+ bottom: L.value.padding.bottom / L.value.height,
309
+ left: L.value.padding.left / L.value.width
310
310
  }
311
- }), qt = f(() => le(F.value.customPalette)), B = Re(null), V = Re(null), Jt = S(null), Yt = f(() => F.value.debug);
312
- function Xt() {
311
+ }), Jt = f(() => le(P.value.customPalette)), U = Re(null), W = Re(null), Yt = S(null), Xt = f(() => P.value.debug);
312
+ function Zt() {
313
313
  if (s(O.dataset) ? (ae({
314
314
  componentName: "VueUiBump",
315
315
  type: "dataset",
316
- debug: Yt.value
317
- }), Ft.value = !0) : O.dataset.forEach((e, t) => {
316
+ debug: Xt.value
317
+ }), It.value = !0) : O.dataset.forEach((e, t) => {
318
318
  re({
319
319
  datasetObject: e,
320
320
  requiredAttributes: ["name", "values"]
@@ -324,46 +324,46 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
324
324
  type: "datasetSerieAttribute",
325
325
  property: e,
326
326
  index: t,
327
- debug: Yt.value
328
- }), Ft.value = !0;
327
+ debug: Xt.value
328
+ }), It.value = !0;
329
329
  });
330
- }), s(O.dataset) || (Ft.value = F.value.loading), setTimeout(() => {
331
- Ct.value = !0;
332
- }, 10), F.value.responsive) {
330
+ }), s(O.dataset) || (It.value = P.value.loading), setTimeout(() => {
331
+ wt.value = !0;
332
+ }, 10), P.value.responsive) {
333
333
  let e = Ce(() => {
334
- Ct.value = !1;
334
+ wt.value = !1;
335
335
  let { width: e, height: t } = we({
336
336
  chart: k.value,
337
337
  noTitle: xt.value,
338
- title: F.value.style.chart.title.text ? bt.value : null,
338
+ title: L.value.title.text ? bt.value : null,
339
339
  legend: null,
340
340
  slicer: null,
341
341
  source: St.value
342
342
  });
343
343
  requestAnimationFrame(() => {
344
- z.value.width = e, z.value.height = t - 12, clearTimeout(Jt.value), Jt.value = setTimeout(() => {
345
- Ct.value = !0;
344
+ H.value.width = e, H.value.height = t - 12, clearTimeout(Yt.value), Yt.value = setTimeout(() => {
345
+ wt.value = !0;
346
346
  }, 10);
347
347
  });
348
348
  });
349
- B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = k.value.parentNode, B.value.observe(V.value);
349
+ U.value && (W.value && U.value.unobserve(W.value), U.value.disconnect()), U.value = new ResizeObserver(e), W.value = k.value.parentNode, U.value.observe(W.value);
350
350
  }
351
351
  }
352
352
  Fe(() => {
353
- B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
353
+ U.value && (W.value && U.value.unobserve(W.value), U.value.disconnect());
354
354
  });
355
- let Zt = f(() => Pt.value.map((e, t) => {
356
- let n = c(e.color) || qt.value[t] || a[t] || a[t % a.length];
355
+ let Qt = f(() => Ft.value.map((e, t) => {
356
+ let n = c(e.color) || Jt.value[t] || a[t] || a[t % a.length];
357
357
  return {
358
358
  ...e,
359
359
  absoluteIndex: t,
360
360
  id: oe(),
361
361
  color: n
362
362
  };
363
- })), H = f(() => Math.max(...Zt.value.map((e) => e.values.length)));
364
- function Qt(e) {
365
- let t = e.map(() => Array(H.value).fill(null));
366
- for (let n = 0; n < H.value; n += 1) {
363
+ })), G = f(() => Math.max(...Qt.value.map((e) => e.values.length)));
364
+ function $t(e) {
365
+ let t = e.map(() => Array(G.value).fill(null));
366
+ for (let n = 0; n < G.value; n += 1) {
367
367
  let r = e.map((e, r) => ({
368
368
  seriesIndex: r,
369
369
  value: e.values?.[n],
@@ -377,37 +377,37 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
377
377
  }
378
378
  return t;
379
379
  }
380
- function $t() {
380
+ function en() {
381
381
  let e = 0;
382
- return Ot.value && (e = Array.from(Ot.value.querySelectorAll("tspan")).reduce((e, t) => {
382
+ return kt.value && (e = Array.from(kt.value.querySelectorAll("tspan")).reduce((e, t) => {
383
383
  let n = t.getComputedTextLength();
384
384
  return n > e ? n : e;
385
385
  }, 0)), e;
386
386
  }
387
- function en() {
387
+ function tn() {
388
388
  let e = 0;
389
- return kt.value && (e = Array.from(kt.value.querySelectorAll("tspan")).reduce((e, t) => {
389
+ return At.value && (e = Array.from(At.value.querySelectorAll("tspan")).reduce((e, t) => {
390
390
  let n = t.getComputedTextLength();
391
391
  return n > e ? n : e;
392
392
  }, 0)), e;
393
393
  }
394
- let tn = S(0), nn = Ce((e) => {
395
- tn.value = e;
394
+ let nn = S(0), rn = Ce((e) => {
395
+ nn.value = e;
396
396
  }, 100);
397
397
  Ve((e) => {
398
- let t = At.value;
398
+ let t = jt.value;
399
399
  if (!t) return;
400
400
  let n = new ResizeObserver((e) => {
401
- nn(e[0].contentRect.height);
401
+ rn(e[0].contentRect.height);
402
402
  });
403
403
  n.observe(t), e(() => n.disconnect());
404
404
  }), Fe(() => {
405
- tn.value = 0;
405
+ nn.value = 0;
406
406
  });
407
- let rn = f(() => {
408
- let e = F.value.style.chart.layout.timeLabels;
407
+ let an = f(() => {
408
+ let e = I.value.timeLabels;
409
409
  if (!e.show) return 0;
410
- let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = K.value || [];
410
+ let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = Y.value || [];
411
411
  if (!i.length) return 0;
412
412
  let a = i.reduce((e, t) => {
413
413
  let n = String(t?.text ?? "").split("\n").length;
@@ -417,8 +417,8 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
417
417
  return Math.max(e, n);
418
418
  }, 0), s = t * 1.3 * a, c = o * t * (o === 1 ? 1 : .6), l = Math.abs(Math.sin(r)) * c + Math.abs(Math.cos(r)) * s, u = t * .3;
419
419
  return Math.max(0, l + Math.abs(e.offsetY) + u);
420
- }), U = f(() => {
421
- let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i = $t(), a = en(), o = F.value.style.chart.padding.top, s = t - t * n - a, c = t * r + i, l = t - t * n - t * r - i - a, u = e - o - F.value.style.chart.padding.bottom - rn.value, ee = o + u, te = o + u, ne = Math.max(0, e);
420
+ }), K = f(() => {
421
+ let { height: e, width: t } = H.value, { right: n, left: r } = H.value.paddingRatio, i = en(), a = tn(), o = L.value.padding.top, s = t - t * n - a, c = t * r + i, l = t - t * n - t * r - i - a, u = e - o - L.value.padding.bottom - an.value, ee = o + u, te = o + u, ne = Math.max(0, e);
422
422
  return {
423
423
  chartHeight: te,
424
424
  chartWidth: Math.max(0, t),
@@ -428,36 +428,36 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
428
428
  left: Math.max(0, c),
429
429
  width: Math.max(0, l),
430
430
  height: Math.max(0, u),
431
- unitH: Math.max(0, u) / Zt.value.length,
432
- unitW: Math.max(0, l) / H.value,
431
+ unitH: Math.max(0, u) / Qt.value.length,
432
+ unitW: Math.max(0, l) / G.value,
433
433
  svgHeight: ne
434
434
  };
435
- }), W = f(() => {
436
- if (!vt.value && !Nt.value) return [];
437
- let e = Qt(Zt.value);
438
- return Zt.value.map((t, n) => ({
435
+ }), q = f(() => {
436
+ if (!vt.value && !Pt.value) return [];
437
+ let e = $t(Qt.value);
438
+ return Qt.value.map((t, n) => ({
439
439
  ...t,
440
440
  positions: e[n]
441
441
  })).map((e) => {
442
442
  let t = e.positions.map((t, n) => {
443
- let r = ie(F.value.style.chart.layout.plots.labels.formatter, e.values[n], u({
444
- p: F.value.style.chart.layout.plots.labels.prefix,
443
+ let r = ie(F.value.labels.formatter, e.values[n], u({
444
+ p: F.value.labels.prefix,
445
445
  v: e.values[n],
446
- s: F.value.style.chart.layout.plots.labels.suffix,
447
- r: F.value.style.chart.layout.plots.labels.rounding
446
+ s: F.value.labels.suffix,
447
+ r: F.value.labels.rounding
448
448
  }));
449
449
  return {
450
450
  name: e.name,
451
451
  id: e.id,
452
- x: U.value.left + n * U.value.unitW + U.value.unitW / 2,
453
- y: U.value.top + t * U.value.unitH + U.value.unitH / 2,
452
+ x: K.value.left + n * K.value.unitW + K.value.unitW / 2,
453
+ y: K.value.top + t * K.value.unitH + K.value.unitH / 2,
454
454
  value: e.values[n],
455
455
  displayValue: r,
456
456
  rank: e.positions[n] + 1,
457
457
  color: e.color,
458
- labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ? se(e.color) : c(F.value.style.chart.layout.plots.labels.color) ?? se(e.color)
458
+ labelColor: F.value.labels.color === "auto" ? se(e.color) : c(F.value.labels.color) ?? se(e.color)
459
459
  };
460
- }), n = t.filter((e) => r(e.value)), i = F.value.style.chart.layout.lines.smooth ? o(n) : l(n);
460
+ }), n = t.filter((e) => r(e.value)), i = I.value.lines.smooth ? o(n) : l(n);
461
461
  return {
462
462
  ...e,
463
463
  coordinates: t,
@@ -465,7 +465,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
465
465
  };
466
466
  });
467
467
  });
468
- f(() => W.value.flatMap((e, t) => e.coordinates.map((n, r) => ({
468
+ f(() => q.value.flatMap((e, t) => e.coordinates.map((n, r) => ({
469
469
  ...n,
470
470
  pointIndex: r,
471
471
  seriesIndex: t,
@@ -473,7 +473,7 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
473
473
  seriesName: e.name,
474
474
  pointId: `${e.id}_${r}`
475
475
  })).filter((e) => r(e.value))));
476
- function an(e, t, n, r) {
476
+ function on(e, t, n, r) {
477
477
  let i = e.toSorted((e, t) => e.y - t.y);
478
478
  for (let e = 1; e < i.length; e += 1) {
479
479
  let n = i[e - 1], r = i[e];
@@ -493,39 +493,39 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
493
493
  }
494
494
  return i;
495
495
  }
496
- let on = f(() => {
496
+ let sn = f(() => {
497
497
  let e = [], t = [];
498
- W.value.forEach((n) => {
498
+ q.value.forEach((n) => {
499
499
  let r = n.coordinates.filter((e) => Number.isFinite(e.rank));
500
500
  if (!r.length) return;
501
501
  e.push({ ...r[0] });
502
502
  let i = r[r.length - 1];
503
503
  t.push({ ...i });
504
504
  });
505
- let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o = an(t, r, i, a);
505
+ let n = I.value.nameLabels.fontSize, r = n * 1.4, i = K.value.top + n, a = K.value.bottom - n, o = on(t, r, i, a);
506
506
  return {
507
- left: an(e, r, i, a),
507
+ left: on(e, r, i, a),
508
508
  right: o
509
509
  };
510
510
  });
511
- function sn(e) {
512
- let t = F.value.style.chart.layout.plots.labels.fontSize * .4, n = e.displayValue, r = n.length * (F.value.style.chart.layout.plots.labels.fontSize * (n.length === 1 ? 1 : .6)), i = F.value.style.chart.layout.plots.labels.fontSize, a = r + t * 2, o = i + t * 2, s = e.x - a / 2, c = e.y - o / 2, l = F.value.style.chart.layout.plots.strokeWidth;
511
+ function cn(e) {
512
+ let t = F.value.labels.fontSize * .4, n = e.displayValue, r = n.length * (F.value.labels.fontSize * (n.length === 1 ? 1 : .6)), i = F.value.labels.fontSize, a = r + t * 2, o = i + t * 2, s = e.x - a / 2, c = e.y - o / 2, l = F.value.strokeWidth;
513
513
  return {
514
514
  x: s - l / 2,
515
515
  y: c - l / 2,
516
516
  width: a + l,
517
517
  height: o + l,
518
518
  fill: e.color,
519
- stroke: F.value.style.chart.layout.plots.stroke,
519
+ stroke: F.value.stroke,
520
520
  "stroke-width": l,
521
521
  rx: o / 2
522
522
  };
523
523
  }
524
- let G = S([]), cn = 0;
524
+ let J = S([]), ln = 0;
525
525
  Ve(() => {
526
- let e = ++cn, t = F.value.style.chart.layout.timeLabels, n = t.values, r = t.datetimeFormatter, i = H.value;
526
+ let e = ++ln, t = I.value.timeLabels, n = t.values, r = t.datetimeFormatter, i = G.value;
527
527
  if (!i || !Array.isArray(n) || n.length === 0) {
528
- G.value = [];
528
+ J.value = [];
529
529
  return;
530
530
  }
531
531
  (async () => {
@@ -536,70 +536,70 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
536
536
  start: 0,
537
537
  end: i
538
538
  });
539
- e === cn && (G.value = t);
539
+ e === ln && (J.value = t);
540
540
  })();
541
541
  });
542
- let K = f(() => {
543
- let e = F.value.style.chart.layout.timeLabels, t = G.value || [], n = G.value || [], r = H.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
542
+ let Y = f(() => {
543
+ let e = I.value.timeLabels, t = J.value || [], n = J.value || [], r = G.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
544
544
  return ne(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Number(e.modulo) || 1), i, a, 0, null, r);
545
- }), ln = f(() => z.value.width), un = f(() => z.value.height), dn = f(() => ({
545
+ }), un = f(() => H.value.width), dn = f(() => H.value.height), fn = f(() => ({
546
546
  start: 0,
547
- end: H.value
548
- })), q = f(() => [...W.value].map((e) => {
547
+ end: G.value
548
+ })), X = f(() => [...q.value].map((e) => {
549
549
  let t = [...e.coordinates].filter((e) => r(e.value)).at(-1);
550
550
  return {
551
551
  ...e,
552
552
  navigationRank: t?.rank ?? Infinity
553
553
  };
554
554
  }).sort((e, t) => e.navigationRank - t.navigationRank));
555
- function fn() {
556
- P.value = null, jt.value = !0;
557
- }
558
555
  function pn() {
559
- hn(), jt.value = !1;
556
+ N.value = null, Mt.value = !0;
557
+ }
558
+ function mn() {
559
+ gn(), Mt.value = !1;
560
560
  }
561
- function mn(e, t) {
562
- let n = q.value.length;
561
+ function hn(e, t) {
562
+ let n = X.value.length;
563
563
  return n ? e === null || e < 0 || e >= n ? 0 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
564
564
  }
565
- function hn() {
566
- if (P.value !== null) {
567
- let e = q.value[P.value];
565
+ function gn() {
566
+ if (N.value !== null) {
567
+ let e = X.value[N.value];
568
568
  e && $(e, e);
569
569
  }
570
- P.value = null, N.value = null;
570
+ N.value = null, M.value = null;
571
571
  }
572
- function gn(e) {
573
- if (!L.value || Y.value || document.activeElement !== L.value || !q.value.length) return;
572
+ function _n(e) {
573
+ if (!B.value || vn.value || document.activeElement !== B.value || !X.value.length) return;
574
574
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
575
575
  if (!t && !n && !r && !i) return;
576
576
  if (e.preventDefault(), e.stopPropagation(), i) {
577
- hn();
577
+ gn();
578
578
  return;
579
579
  }
580
580
  if (r) {
581
- if (P.value === null) return;
582
- let e = q.value[P.value];
581
+ if (N.value === null) return;
582
+ let e = X.value[N.value];
583
583
  if (!e) return;
584
- An(e, e);
584
+ Pn(e, e);
585
585
  return;
586
586
  }
587
- let a = P.value;
588
- a === null ? a = 0 : t ? a = mn(a, "previous") : n && (a = mn(a, "next"));
589
- let o = q.value[a];
590
- o && (P.value = a, Q(o, o));
587
+ let a = N.value;
588
+ a === null ? a = 0 : t ? a = hn(a, "previous") : n && (a = hn(a, "next"));
589
+ let o = X.value[a];
590
+ o && (N.value = a, Q(o, o));
591
591
  }
592
- let J = f(() => ({
593
- head: Z.value.head,
594
- body: W.value.map((e) => [e.name, ...e.coordinates.map((e) => r(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
595
- caption: F.value.a11y.translations.tableCaption,
596
- notice: F.value.a11y.translations.tableAvailable
592
+ let Z = f(() => ({
593
+ head: En.value.head,
594
+ body: q.value.map((e) => [e.name, ...e.coordinates.map((e) => r(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
595
+ caption: P.value.a11y.translations.tableCaption,
596
+ notice: P.value.a11y.translations.tableAvailable
597
597
  }));
598
598
  be({
599
- timeLabelsEls: At,
600
- timeLabels: G,
601
- slicer: dn,
602
- configRef: F,
599
+ timeLabelsEls: jt,
600
+ timeLabels: J,
601
+ slicer: fn,
602
+ configRef: P,
603
603
  rotationPath: [
604
604
  "style",
605
605
  "chart",
@@ -616,101 +616,101 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
616
616
  "enable"
617
617
  ],
618
618
  isAutoSize: !1,
619
- width: ln,
620
- height: un,
621
- rotation: F.value.style.chart.layout.timeLabels.autoRotate.angle
619
+ width: un,
620
+ height: dn,
621
+ rotation: I.value.timeLabels.autoRotate.angle
622
622
  });
623
- let Y = S(!1);
624
- function _n() {
625
- Y.value = !Y.value;
623
+ let vn = S(!1);
624
+ function yn() {
625
+ vn.value = !vn.value;
626
626
  }
627
- function vn(e) {
628
- j.value = e, yt.value += 1;
627
+ function bn(e) {
628
+ Ct.value = e, yt.value += 1;
629
629
  }
630
- function yn() {
631
- R.value.showTable = !R.value.showTable;
630
+ function xn() {
631
+ V.value.showTable = !V.value.showTable;
632
632
  }
633
- Be(() => R.value.showTable, (e) => {
634
- F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
633
+ Be(() => V.value.showTable, (e) => {
634
+ P.value.table.show || (e && P.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
635
635
  });
636
- function bn() {
637
- R.value.showTable = !1, Et.value && Et.value.setTableIconState(!1);
636
+ function Sn() {
637
+ V.value.showTable = !1, Dt.value && Dt.value.setTableIconState(!1);
638
638
  }
639
- function xn() {
640
- return W.value;
639
+ function Cn() {
640
+ return q.value;
641
641
  }
642
- function Sn(e = null) {
642
+ function wn(e = null) {
643
643
  let r = [
644
- [F.value.style.chart.title.text],
645
- [F.value.style.chart.title.subtitle.text],
644
+ [L.value.title.text],
645
+ [L.value.title.subtitle.text],
646
646
  [""]
647
- ], i = ["", ...K.value.map((e) => e?.text ?? "")], a = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), o = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), s = r.concat([[F.value.table.columnNames.values]]).concat([i]).concat(a).concat([
647
+ ], i = ["", ...Y.value.map((e) => e?.text ?? "")], a = q.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), o = q.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), s = r.concat([[P.value.table.columnNames.values]]).concat([i]).concat(a).concat([
648
648
  [""],
649
- [F.value.table.columnNames.ranking],
649
+ [P.value.table.columnNames.ranking],
650
650
  [i]
651
651
  ]).concat(o), c = n(s);
652
652
  e ? e(c) : t({
653
653
  csvContent: c,
654
- title: F.value.style.chart.title.text || "vue-ui-bump"
654
+ title: L.value.title.text || "vue-ui-bump"
655
655
  });
656
656
  }
657
- let X = f(() => {
658
- let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
657
+ let Tn = f(() => {
658
+ let e = P.value.table.useDialog && !P.value.table.show, t = V.value.showTable;
659
659
  return {
660
660
  component: e ? ke : lt,
661
- title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
661
+ title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
662
662
  props: e ? {
663
- backgroundColor: F.value.table.th.backgroundColor,
664
- color: F.value.table.th.color,
665
- headerColor: F.value.table.th.color,
666
- headerBg: F.value.table.th.backgroundColor,
667
- isFullscreen: j.value,
663
+ backgroundColor: P.value.table.th.backgroundColor,
664
+ color: P.value.table.th.color,
665
+ headerColor: P.value.table.th.color,
666
+ headerBg: P.value.table.th.backgroundColor,
667
+ isFullscreen: Ct.value,
668
668
  fullscreenParent: k.value,
669
669
  forcedWidth: Math.min(800, window.innerWidth * .8),
670
- isCursorPointer: I.value
670
+ isCursorPointer: z.value
671
671
  } : {
672
672
  hideDetails: !0,
673
673
  config: {
674
674
  open: t,
675
675
  maxHeight: 1e4,
676
676
  body: {
677
- backgroundColor: F.value.style.chart.backgroundColor,
678
- color: F.value.style.chart.color
677
+ backgroundColor: L.value.backgroundColor,
678
+ color: L.value.color
679
679
  },
680
680
  head: {
681
- backgroundColor: F.value.style.chart.backgroundColor,
682
- color: F.value.style.chart.color
681
+ backgroundColor: L.value.backgroundColor,
682
+ color: L.value.color
683
683
  }
684
684
  }
685
685
  }
686
686
  };
687
- }), Z = f(() => ({
688
- head: [""].concat(K.value.map((e) => e.text)),
689
- body: W.value.map((e, t) => [e.name, ...e.coordinates.map((e) => `${e.displayValue} (${e.rank})`)]),
687
+ }), En = f(() => ({
688
+ head: [""].concat(Y.value.map((e) => e.text)),
689
+ body: q.value.map((e, t) => [e.name, ...e.coordinates.map((e) => `${e.displayValue} (${e.rank})`)]),
690
690
  config: {
691
691
  th: {
692
- backgroundColor: F.value.table.th.backgroundColor,
693
- color: F.value.table.th.color,
694
- outline: F.value.table.th.outline
692
+ backgroundColor: P.value.table.th.backgroundColor,
693
+ color: P.value.table.th.color,
694
+ outline: P.value.table.th.outline
695
695
  },
696
696
  td: {
697
- backgroundColor: F.value.table.td.backgroundColor,
698
- color: F.value.table.td.color,
699
- outline: F.value.table.td.outline
697
+ backgroundColor: P.value.table.td.backgroundColor,
698
+ color: P.value.table.td.color,
699
+ outline: P.value.table.td.outline
700
700
  },
701
- breakpoint: F.value.table.responsiveBreakpoint
701
+ breakpoint: P.value.table.responsiveBreakpoint
702
702
  },
703
- colNames: [F.value.table.columnNames.series]
704
- })), Cn = f(() => F.value.style.chart.backgroundColor), wn = f(() => F.value.style.chart.title), { isCallbackImaging: Tn, isCallbackSvg: En, generateSvg: Dn, onGenerateImage: On } = ye({
705
- svg: L,
706
- title: wn,
703
+ colNames: [P.value.table.columnNames.series]
704
+ })), Dn = f(() => L.value.backgroundColor), On = f(() => L.value.title), { isCallbackImaging: kn, isCallbackSvg: An, generateSvg: jn, onGenerateImage: Mn } = ye({
705
+ svg: B,
706
+ title: On,
707
707
  legend: null,
708
708
  legendItems: null,
709
- backgroundColor: Cn,
710
- getSvgCallback: () => F.value.userOptions.callbacks.svg,
711
- generateImage: Gt
709
+ backgroundColor: Dn,
710
+ getSvgCallback: () => P.value.userOptions.callbacks.svg,
711
+ generateImage: Kt
712
712
  });
713
- async function kn({ scale: e = 2 } = {}) {
713
+ async function Nn({ scale: e = 2 } = {}) {
714
714
  if (!k.value) return;
715
715
  let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
716
716
  domElement: k.value,
@@ -721,54 +721,54 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
721
721
  return {
722
722
  imageUri: i,
723
723
  base64: a,
724
- title: F.value.style.chart.title.text,
724
+ title: L.value.title.text,
725
725
  width: t,
726
726
  height: n,
727
727
  aspectRatio: r
728
728
  };
729
729
  }
730
730
  function Q(e, t) {
731
- N.value = t.id, F.value.events.datapointEnter && F.value.events.datapointEnter({
731
+ M.value = t.id, P.value.events.datapointEnter && P.value.events.datapointEnter({
732
732
  datapoint: e,
733
733
  seriesIndex: e?.pointIndex ?? null
734
734
  });
735
735
  }
736
736
  function $(e, t) {
737
- N.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
737
+ M.value = null, P.value.events.datapointLeave && P.value.events.datapointLeave({
738
738
  datapoint: e,
739
739
  seriesIndex: e?.pointIndex ?? null
740
740
  });
741
741
  }
742
- function An(e, t) {
743
- F.value.events.datapointClick && F.value.events.datapointClick({
742
+ function Pn(e, t) {
743
+ P.value.events.datapointClick && P.value.events.datapointClick({
744
744
  datapoint: e,
745
745
  seriesIndex: e?.pointIndex ?? null
746
746
  });
747
747
  }
748
- async function jn() {
748
+ async function Fn() {
749
749
  if (_t("copyAlt", {
750
- config: F.value,
751
- dataset: W.value
752
- }), !F.value.userOptions.callbacks.altCopy) {
750
+ config: P.value,
751
+ dataset: q.value
752
+ }), !P.value.userOptions.callbacks.altCopy) {
753
753
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
754
754
  return;
755
755
  }
756
- await Promise.resolve(F.value.userOptions.callbacks.altCopy({
757
- config: F.value,
758
- dataset: W.value
756
+ await Promise.resolve(P.value.userOptions.callbacks.altCopy({
757
+ config: P.value,
758
+ dataset: q.value
759
759
  }));
760
760
  }
761
761
  return Se({
762
- getData: xn,
763
- getImage: kn,
764
- generatePdf: Wt,
765
- generateCsv: Sn,
766
- generateImage: Gt,
767
- generateSvg: Dn,
768
- toggleTable: yn,
769
- toggleAnnotator: _n,
770
- toggleFullscreen: vn,
771
- copyAlt: jn
762
+ getData: Cn,
763
+ getImage: Nn,
764
+ generatePdf: Gt,
765
+ generateCsv: wn,
766
+ generateImage: Kt,
767
+ generateSvg: jn,
768
+ toggleTable: xn,
769
+ toggleAnnotator: yn,
770
+ toggleFullscreen: bn,
771
+ copyAlt: Fn
772
772
  }), (e, t) => (x(), h("div", {
773
773
  id: `bump_${A.value}`,
774
774
  ref_key: "bumpChart",
@@ -776,23 +776,23 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
776
776
  class: Pe({
777
777
  "vue-data-ui-component": !0,
778
778
  "vue-ui-bump": !0,
779
- "vue-data-ui-wrapper-fullscreen": j.value
779
+ "vue-data-ui-wrapper-fullscreen": Ct.value
780
780
  }),
781
- style: b(`background:${F.value.style.chart.backgroundColor};color:${F.value.style.chart.color};font-family:${F.value.style.fontFamily}; position: relative; ${F.value.responsive ? "height: 100%" : ""}`),
782
- onMouseenter: Bt,
783
- onMouseleave: Vt
781
+ style: b(`background:${L.value.backgroundColor};color:${L.value.color};font-family:${P.value.style.fontFamily}; position: relative; ${P.value.responsive ? "height: 100%" : ""}`),
782
+ onMouseenter: Vt,
783
+ onMouseleave: Ht
784
784
  }, [
785
785
  g("p", {
786
786
  id: `chart-instructions-${A.value}`,
787
787
  class: "sr-only"
788
- }, T(F.value.a11y.translations.keyboardNavigation), 9, We),
789
- J.value.body.length ? (x(), p(Te, {
788
+ }, T(P.value.a11y.translations.keyboardNavigation), 9, We),
789
+ Z.value.body.length ? (x(), p(Te, {
790
790
  key: 0,
791
791
  uid: A.value,
792
- head: J.value.head,
793
- body: J.value.body,
794
- caption: J.value.caption,
795
- notice: J.value.notice
792
+ head: Z.value.head,
793
+ body: Z.value.body,
794
+ caption: Z.value.caption,
795
+ notice: Z.value.notice
796
796
  }, null, 8, [
797
797
  "uid",
798
798
  "head",
@@ -800,15 +800,15 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
800
800
  "caption",
801
801
  "notice"
802
802
  ])) : m("", !0),
803
- F.value.userOptions.buttons.annotator ? (x(), p(E(dt), {
803
+ R.value.buttons.annotator ? (x(), p(E(dt), {
804
804
  key: 1,
805
- svgRef: E(L),
806
- backgroundColor: F.value.style.chart.backgroundColor,
807
- color: F.value.style.chart.color,
808
- active: Y.value,
809
- isCursorPointer: I.value,
810
- palette: F.value.userOptions.annotatorPalette,
811
- onClose: _n
805
+ svgRef: E(B),
806
+ backgroundColor: L.value.backgroundColor,
807
+ color: L.value.color,
808
+ active: vn.value,
809
+ isCursorPointer: z.value,
810
+ palette: R.value.annotatorPalette,
811
+ onClose: yn
812
812
  }, {
813
813
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
814
814
  "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
@@ -826,68 +826,68 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
826
826
  "palette"
827
827
  ])) : m("", !0),
828
828
  w(e.$slots, "userConfig", {}, void 0, !0),
829
- Kt.value ? (x(), h("div", {
829
+ qt.value ? (x(), h("div", {
830
830
  key: 2,
831
831
  ref_key: "noTitle",
832
832
  ref: xt,
833
833
  class: "vue-data-ui-no-title-space",
834
834
  style: "height:36px; width: 100%;background:transparent"
835
835
  }, null, 512)) : m("", !0),
836
- F.value.style.chart.title.text ? (x(), h("div", {
836
+ L.value.title.text ? (x(), h("div", {
837
837
  key: 3,
838
838
  ref_key: "chartTitle",
839
839
  ref: bt,
840
840
  style: "width:100%;background:transparent;"
841
841
  }, [(x(), p(xe, {
842
- key: `title_${wt.value}`,
842
+ key: `title_${Tt.value}`,
843
843
  config: {
844
844
  title: {
845
845
  cy: "bump-title",
846
- ...F.value.style.chart.title
846
+ ...L.value.title
847
847
  },
848
848
  subtitle: {
849
849
  cy: "bump-subtitle",
850
- ...F.value.style.chart.title.subtitle
850
+ ...L.value.title.subtitle
851
851
  }
852
852
  }
853
853
  }, null, 8, ["config"]))], 512)) : m("", !0),
854
- F.value.userOptions.show && vt.value && (E(zt) || E(Lt)) ? (x(), p(E(ft), {
854
+ R.value.show && vt.value && (E(Bt) || E(Rt)) ? (x(), p(E(ft), {
855
855
  ref_key: "userOptionsRef",
856
- ref: Et,
856
+ ref: Dt,
857
857
  key: `user_option_${yt.value}`,
858
- backgroundColor: F.value.style.chart.backgroundColor,
859
- color: F.value.style.chart.color,
860
- isPrinting: E(Ht),
861
- isImaging: E(Ut),
858
+ backgroundColor: L.value.backgroundColor,
859
+ color: L.value.color,
860
+ isPrinting: E(Ut),
861
+ isImaging: E(Wt),
862
862
  uid: A.value,
863
863
  hasTooltip: !1,
864
- hasPdf: F.value.userOptions.buttons.pdf,
865
- hasImg: F.value.userOptions.buttons.img,
866
- hasSvg: F.value.userOptions.buttons.svg,
867
- hasXls: F.value.userOptions.buttons.csv,
868
- hasTable: F.value.userOptions.buttons.table,
864
+ hasPdf: R.value.buttons.pdf,
865
+ hasImg: R.value.buttons.img,
866
+ hasSvg: R.value.buttons.svg,
867
+ hasXls: R.value.buttons.csv,
868
+ hasTable: R.value.buttons.table,
869
869
  hasLabel: !1,
870
- hasAltCopy: F.value.userOptions.buttons.altCopy,
871
- hasFullscreen: F.value.userOptions.buttons.fullscreen,
872
- isFullcreen: j.value,
870
+ hasAltCopy: R.value.buttons.altCopy,
871
+ hasFullscreen: R.value.buttons.fullscreen,
872
+ isFullcreen: Ct.value,
873
873
  chartElement: k.value,
874
- position: F.value.userOptions.position,
875
- titles: { ...F.value.userOptions.buttonTitles },
876
- hasAnnotator: F.value.userOptions.buttons.annotator,
877
- isAnnotation: Y.value,
878
- callbacks: F.value.userOptions.callbacks,
879
- printScale: F.value.userOptions.print.scale,
880
- tableDialog: F.value.table.useDialog,
881
- isCursorPointer: I.value,
882
- onToggleFullscreen: vn,
883
- onGeneratePdf: E(Wt),
884
- onGenerateCsv: Sn,
885
- onGenerateImage: E(On),
886
- onGenerateSvg: E(Dn),
887
- onToggleTable: yn,
888
- onToggleAnnotator: _n,
889
- onCopyAlt: jn,
890
- style: b({ visibility: E(zt) ? E(Lt) ? "visible" : "hidden" : "visible" })
874
+ position: R.value.position,
875
+ titles: { ...R.value.buttonTitles },
876
+ hasAnnotator: R.value.buttons.annotator,
877
+ isAnnotation: vn.value,
878
+ callbacks: R.value.callbacks,
879
+ printScale: R.value.print.scale,
880
+ tableDialog: P.value.table.useDialog,
881
+ isCursorPointer: z.value,
882
+ onToggleFullscreen: bn,
883
+ onGeneratePdf: E(Gt),
884
+ onGenerateCsv: wn,
885
+ onGenerateImage: E(Mn),
886
+ onGenerateSvg: E(jn),
887
+ onToggleTable: xn,
888
+ onToggleAnnotator: yn,
889
+ onCopyAlt: Fn,
890
+ style: b({ visibility: E(Bt) ? E(Rt) ? "visible" : "hidden" : "visible" })
891
891
  }, Ae({ _: 2 }, [
892
892
  e.$slots.menuIcon ? {
893
893
  name: "menuIcon",
@@ -956,66 +956,66 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
956
956
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasAltCopy.hasFullscreen.isFullcreen.chartElement.position.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
957
957
  g("div", Ge, [(x(), h("svg", {
958
958
  ref_key: "svgRef",
959
- ref: L,
959
+ ref: B,
960
960
  xmlns: E(ce),
961
961
  "aria-describedby": `chart-instructions-${A.value}`,
962
- viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
962
+ viewBox: `0 0 ${K.value.chartWidth <= 0 ? 10 : K.value.chartWidth} ${K.value.svgHeight <= 0 ? 10 : K.value.svgHeight}`,
963
963
  class: Pe({
964
- "vue-data-ui-loading": E(Nt),
965
- "no-transition": !F.value.useCssAnimation
964
+ "vue-data-ui-loading": E(Pt),
965
+ "no-transition": !P.value.useCssAnimation
966
966
  }),
967
- style: b(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
967
+ style: b(`max-width:100%;overflow:visible;background:transparent;color:${L.value.color}`),
968
968
  role: "img",
969
969
  "aria-live": "polite",
970
970
  preserveAspectRatio: "xMidYMid",
971
971
  tabindex: "0",
972
- onFocus: fn,
973
- onBlur: pn,
974
- onKeydown: gn
972
+ onFocus: pn,
973
+ onBlur: mn,
974
+ onKeydown: _n
975
975
  }, [
976
976
  Me(E(pt)),
977
977
  e.$slots["chart-background"] ? (x(), h("foreignObject", {
978
978
  key: 0,
979
- x: U.value.left,
980
- y: U.value.top,
981
- width: U.value.width <= 0 ? 10 : U.value.width,
982
- height: U.value.height <= 0 ? 10 : U.value.height,
979
+ x: K.value.left,
980
+ y: K.value.top,
981
+ width: K.value.width <= 0 ? 10 : K.value.width,
982
+ height: K.value.height <= 0 ? 10 : K.value.height,
983
983
  style: { pointerEvents: "none" }
984
984
  }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : m("", !0),
985
- (x(!0), h(d, null, C(W.value, (e) => (x(), h(d, null, [g("path", {
985
+ (x(!0), h(d, null, C(q.value, (e) => (x(), h(d, null, [g("path", {
986
986
  class: "transition-opacity",
987
987
  d: `M${e.path}`,
988
- stroke: F.value.style.chart.layout.lines.coatingColor,
989
- "stroke-width": F.value.style.chart.layout.lines.strokeWidth + 2,
988
+ stroke: I.value.lines.coatingColor,
989
+ "stroke-width": I.value.lines.strokeWidth + 2,
990
990
  "stroke-linecap": "round",
991
991
  "stroke-linejoin": "round",
992
992
  fill: "none",
993
- style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
994
- onMouseenter: (t) => N.value = e.id,
995
- onMouseleave: t[0] ||= (e) => N.value = null
993
+ style: b({ opacity: M.value == null || M.value === e.id ? 1 : .1 }),
994
+ onMouseenter: (t) => M.value = e.id,
995
+ onMouseleave: t[0] ||= (e) => M.value = null
996
996
  }, null, 44, Je), g("path", {
997
997
  class: "transition-opacity",
998
998
  d: `M${e.path}`,
999
999
  stroke: e.color,
1000
- "stroke-width": F.value.style.chart.layout.lines.strokeWidth,
1000
+ "stroke-width": I.value.lines.strokeWidth,
1001
1001
  "stroke-linecap": "round",
1002
1002
  "stroke-linejoin": "round",
1003
1003
  fill: "none",
1004
- style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
1004
+ style: b({ opacity: M.value == null || M.value === e.id ? 1 : .1 }),
1005
1005
  onMouseenter: (t) => Q(e, e),
1006
1006
  onMouseleave: (t) => $(e, e),
1007
- onClick: (t) => An(e, e)
1007
+ onClick: (t) => Pn(e, e)
1008
1008
  }, null, 44, Ye)], 64))), 256)),
1009
- (x(!0), h(d, null, C(W.value, (t) => (x(), h(d, null, [
1010
- F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 0 }, C(t.coordinates, (e, n) => (x(), h("circle", {
1009
+ (x(!0), h(d, null, C(q.value, (t) => (x(), h(d, null, [
1010
+ F.value.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 0 }, C(t.coordinates, (e, n) => (x(), h("circle", {
1011
1011
  class: "transition-opacity",
1012
1012
  cx: e.x,
1013
1013
  cy: e.y,
1014
- r: F.value.style.chart.layout.plots.radius,
1014
+ r: F.value.radius,
1015
1015
  fill: t.color,
1016
- stroke: F.value.style.chart.layout.plots.stroke,
1017
- "stroke-width": F.value.style.chart.layout.plots.strokeWidth,
1018
- style: b({ opacity: N.value == null || N.value === t.id ? 1 : .1 }),
1016
+ stroke: F.value.stroke,
1017
+ "stroke-width": F.value.strokeWidth,
1018
+ style: b({ opacity: M.value == null || M.value === t.id ? 1 : .1 }),
1019
1019
  onMouseenter: (r) => Q({
1020
1020
  ...e,
1021
1021
  pointIndex: n
@@ -1029,24 +1029,24 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
1029
1029
  pointIndex: n
1030
1030
  }, t)
1031
1031
  }, null, 44, Xe))), 256)) : m("", !0),
1032
- F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 1 }, C(t.coordinates, (e) => (x(), h("text", {
1032
+ F.value.labels.show && F.value.labels.displayedValue === "rank" ? (x(!0), h(d, { key: 1 }, C(t.coordinates, (e) => (x(), h("text", {
1033
1033
  class: "transition-opacity",
1034
1034
  x: e.x,
1035
- y: e.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
1035
+ y: e.y + F.value.labels.fontSize / 3,
1036
1036
  fill: e.labelColor,
1037
- "font-size": F.value.style.chart.layout.plots.labels.fontSize,
1037
+ "font-size": F.value.labels.fontSize,
1038
1038
  "text-anchor": "middle",
1039
1039
  style: b({
1040
1040
  userSelect: "none",
1041
1041
  pointerEvents: "none",
1042
- opacity: N.value == null || N.value === t.id ? 1 : .1
1042
+ opacity: M.value == null || M.value === t.id ? 1 : .1
1043
1043
  })
1044
1044
  }, T(e.rank), 13, Ze))), 256)) : m("", !0),
1045
- F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (x(!0), h(d, { key: 2 }, C(t.coordinates, (n) => (x(), h(d, null, [E(r)(n.value) ? (x(), h("rect", Ne({
1045
+ F.value.labels.displayedValue === "value" ? (x(!0), h(d, { key: 2 }, C(t.coordinates, (n) => (x(), h(d, null, [E(r)(n.value) ? (x(), h("rect", Ne({
1046
1046
  key: 0,
1047
1047
  class: "transition-opacity"
1048
- }, { ref_for: !0 }, sn(n), {
1049
- style: { opacity: N.value == null || N.value === t.id ? 1 : .1 },
1048
+ }, { ref_for: !0 }, cn(n), {
1049
+ style: { opacity: M.value == null || M.value === t.id ? 1 : .1 },
1050
1050
  onMouseenter: (n) => Q({
1051
1051
  ...e.point,
1052
1052
  pointIndex: e.i
@@ -1059,144 +1059,144 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
1059
1059
  ...e.point,
1060
1060
  pointIndex: e.i
1061
1061
  }, t)
1062
- }), null, 16, Qe)) : m("", !0), E(r)(n.value) && F.value.style.chart.layout.plots.labels.show ? (x(), h("text", {
1062
+ }), null, 16, Qe)) : m("", !0), E(r)(n.value) && F.value.labels.show ? (x(), h("text", {
1063
1063
  key: 1,
1064
1064
  class: "transition-opacity",
1065
1065
  x: n.x,
1066
- y: n.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
1066
+ y: n.y + F.value.labels.fontSize / 3,
1067
1067
  fill: n.labelColor,
1068
- "font-size": F.value.style.chart.layout.plots.labels.fontSize,
1068
+ "font-size": F.value.labels.fontSize,
1069
1069
  "text-anchor": "middle",
1070
1070
  style: b({
1071
1071
  userSelect: "none",
1072
1072
  pointerEvents: "none",
1073
- opacity: N.value == null || N.value === t.id ? 1 : .1
1073
+ opacity: M.value == null || M.value === t.id ? 1 : .1
1074
1074
  })
1075
1075
  }, T(n.displayValue), 13, $e)) : m("", !0)], 64))), 256)) : m("", !0)
1076
1076
  ], 64))), 256)),
1077
- F.value.style.chart.layout.nameLabels.leftLabels.show ? (x(), h("g", {
1077
+ I.value.nameLabels.leftLabels.show ? (x(), h("g", {
1078
1078
  key: 1,
1079
1079
  ref_key: "labelsLeft",
1080
- ref: Ot
1081
- }, [(x(!0), h(d, null, C(on.value.left.filter((e) => E(r)(e.value)), (e, t) => (x(), h("text", {
1080
+ ref: kt
1081
+ }, [(x(!0), h(d, null, C(sn.value.left.filter((e) => E(r)(e.value)), (e, t) => (x(), h("text", {
1082
1082
  class: "transition-opacity",
1083
- x: U.value.left,
1084
- y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1085
- fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1086
- "font-size": F.value.style.chart.layout.nameLabels.fontSize,
1087
- "font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
1083
+ x: K.value.left,
1084
+ y: e.y + I.value.nameLabels.fontSize / 3,
1085
+ fill: I.value.nameLabels.useSerieColor ? e.color : I.value.nameLabels.color,
1086
+ "font-size": I.value.nameLabels.fontSize,
1087
+ "font--weight": I.value.nameLabels.bold ? "bold" : "normal",
1088
1088
  "text-anchor": "end",
1089
1089
  innerHTML: E(i)({
1090
1090
  content: e.name,
1091
- fontSize: F.value.style.chart.layout.nameLabels.fontSize,
1092
- fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1093
- x: U.value.left - F.value.style.chart.layout.nameLabels.offsetX,
1094
- y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1091
+ fontSize: I.value.nameLabels.fontSize,
1092
+ fill: I.value.nameLabels.useSerieColor ? e.color : I.value.nameLabels.color,
1093
+ x: K.value.left - I.value.nameLabels.offsetX,
1094
+ y: e.y + I.value.nameLabels.fontSize / 3,
1095
1095
  translateY: !0
1096
1096
  }),
1097
- style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
1097
+ style: b({ opacity: M.value == null || M.value === e.id ? 1 : .1 }),
1098
1098
  onMouseenter: (t) => Q(e, e),
1099
1099
  onMouseleave: (t) => $(e, e),
1100
- onClick: (t) => An(e, e)
1100
+ onClick: (t) => Pn(e, e)
1101
1101
  }, null, 44, et))), 256))], 512)) : m("", !0),
1102
- F.value.style.chart.layout.nameLabels.rightLabels.show ? (x(), h("g", {
1102
+ I.value.nameLabels.rightLabels.show ? (x(), h("g", {
1103
1103
  key: 2,
1104
1104
  ref_key: "labelsRight",
1105
- ref: kt
1106
- }, [(x(!0), h(d, null, C(on.value.right.filter((e) => E(r)(e.value)), (e, t) => (x(), h("text", {
1105
+ ref: At
1106
+ }, [(x(!0), h(d, null, C(sn.value.right.filter((e) => E(r)(e.value)), (e, t) => (x(), h("text", {
1107
1107
  class: "transition-opacity",
1108
- x: U.value.right,
1109
- y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1110
- fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1111
- "font-size": F.value.style.chart.layout.nameLabels.fontSize,
1112
- "font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
1108
+ x: K.value.right,
1109
+ y: e.y + I.value.nameLabels.fontSize / 3,
1110
+ fill: I.value.nameLabels.useSerieColor ? e.color : I.value.nameLabels.color,
1111
+ "font-size": I.value.nameLabels.fontSize,
1112
+ "font--weight": I.value.nameLabels.bold ? "bold" : "normal",
1113
1113
  "text-anchor": "start",
1114
1114
  innerHTML: E(i)({
1115
1115
  content: e.name,
1116
- fontSize: F.value.style.chart.layout.nameLabels.fontSize,
1117
- fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1118
- x: U.value.right + F.value.style.chart.layout.nameLabels.offsetX,
1119
- y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1116
+ fontSize: I.value.nameLabels.fontSize,
1117
+ fill: I.value.nameLabels.useSerieColor ? e.color : I.value.nameLabels.color,
1118
+ x: K.value.right + I.value.nameLabels.offsetX,
1119
+ y: e.y + I.value.nameLabels.fontSize / 3,
1120
1120
  translateY: !0
1121
1121
  }),
1122
- style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
1122
+ style: b({ opacity: M.value == null || M.value === e.id ? 1 : .1 }),
1123
1123
  onMouseenter: (t) => Q(e, e),
1124
1124
  onMouseleave: (t) => $(e, e),
1125
- onClick: (t) => An(e, e)
1125
+ onClick: (t) => Pn(e, e)
1126
1126
  }, null, 44, tt))), 256))], 512)) : m("", !0),
1127
- F.value.style.chart.layout.timeLabels.show ? (x(), h("g", {
1127
+ I.value.timeLabels.show ? (x(), h("g", {
1128
1128
  key: 3,
1129
1129
  ref_key: "timeLabelsEls",
1130
- ref: At
1131
- }, [e.$slots["time-label"] ? (x(), h("g", nt, [(x(!0), h(d, null, C(K.value, (t, n) => (x(), h("g", null, [w(e.$slots, "time-label", Ne({ ref_for: !0 }, {
1132
- x: U.value.unitW * n + U.value.unitW / 2 + U.value.left,
1133
- y: U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY,
1134
- fontSize: F.value.style.chart.layout.timeLabels.fontSize,
1135
- fill: F.value.style.chart.layout.timeLabels.color,
1136
- transform: `translate(${U.value.unitW * n + U.value.unitW / 2 + U.value.left}, ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY}), rotate(${F.value.style.chart.layout.timeLabels.rotation})`,
1130
+ ref: jt
1131
+ }, [e.$slots["time-label"] ? (x(), h("g", nt, [(x(!0), h(d, null, C(Y.value, (t, n) => (x(), h("g", null, [w(e.$slots, "time-label", Ne({ ref_for: !0 }, {
1132
+ x: K.value.unitW * n + K.value.unitW / 2 + K.value.left,
1133
+ y: K.value.chartHeight + I.value.timeLabels.offsetY,
1134
+ fontSize: I.value.timeLabels.fontSize,
1135
+ fill: I.value.timeLabels.color,
1136
+ transform: `translate(${K.value.unitW * n + K.value.unitW / 2 + K.value.left}, ${K.value.chartHeight + I.value.timeLabels.offsetY}), rotate(${I.value.timeLabels.rotation})`,
1137
1137
  absoluteIndex: t.absoluteIndex,
1138
1138
  content: t.text,
1139
- textAnchor: F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
1139
+ textAnchor: I.value.timeLabels.rotation > 0 ? "start" : L.value.layout.timeLabels.rotation < 0 ? "end" : "middle",
1140
1140
  show: !0
1141
- }), void 0, !0)]))), 256))])) : (x(), h("g", rt, [(x(!0), h(d, null, C(K.value, (e, t) => (x(), h("g", null, [String(e.text).includes("\n") ? (x(), h("text", {
1141
+ }), void 0, !0)]))), 256))])) : (x(), h("g", rt, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("g", null, [String(e.text).includes("\n") ? (x(), h("text", {
1142
1142
  key: t + "-multi",
1143
- "text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
1144
- "font-size": F.value.style.chart.layout.timeLabels.fontSize,
1145
- fill: F.value.style.chart.layout.timeLabels.color,
1143
+ "text-anchor": I.value.timeLabels.rotation > 0 ? "start" : I.value.timeLabels.rotation < 0 ? "end" : "middle",
1144
+ "font-size": I.value.timeLabels.fontSize,
1145
+ fill: I.value.timeLabels.color,
1146
1146
  transform: `
1147
1147
  translate(
1148
- ${U.value.unitW * t + U.value.unitW / 2 + U.value.left},
1149
- ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.fontSize * 1.3 + F.value.style.chart.layout.timeLabels.offsetY}
1148
+ ${K.value.unitW * t + K.value.unitW / 2 + K.value.left},
1149
+ ${K.value.chartHeight + I.value.timeLabels.fontSize * 1.3 + I.value.timeLabels.offsetY}
1150
1150
  ),
1151
- rotate(${F.value.style.chart.layout.timeLabels.rotation})
1151
+ rotate(${I.value.timeLabels.rotation})
1152
1152
  `,
1153
1153
  innerHTML: E(i)({
1154
1154
  content: String(e.text),
1155
- fontSize: F.value.style.chart.layout.timeLabels.fontSize,
1156
- fill: F.value.style.chart.layout.timeLabels.color,
1157
- stroke: F.value.style.chart.backgroundColor,
1155
+ fontSize: I.value.timeLabels.fontSize,
1156
+ fill: L.value.layout.timeLabels.color,
1157
+ stroke: L.value.backgroundColor,
1158
1158
  x: 0,
1159
1159
  y: 0
1160
1160
  })
1161
1161
  }, null, 8, at)) : (x(), h("text", {
1162
1162
  class: "vue-data-ui-time-label",
1163
1163
  key: t,
1164
- "text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
1165
- "font-size": F.value.style.chart.layout.timeLabels.fontSize,
1166
- "font-weight": F.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
1167
- fill: F.value.style.chart.layout.timeLabels.color,
1168
- stroke: F.value.style.chart.backgroundColor,
1164
+ "text-anchor": I.value.timeLabels.rotation > 0 ? "start" : I.value.timeLabels.rotation < 0 ? "end" : "middle",
1165
+ "font-size": I.value.timeLabels.fontSize,
1166
+ "font-weight": I.value.timeLabels.bold ? "bold" : "normal",
1167
+ fill: I.value.timeLabels.color,
1168
+ stroke: L.value.backgroundColor,
1169
1169
  "stroke-width": "3",
1170
1170
  "stroke-linejoin": "round",
1171
1171
  "stroke-linecap": "round",
1172
1172
  "paint-order": "stroke fill",
1173
- transform: `translate(${U.value.unitW * t + U.value.unitW / 2 + U.value.left}, ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY}), rotate(${F.value.style.chart.layout.timeLabels.rotation})`
1173
+ transform: `translate(${K.value.unitW * t + K.value.unitW / 2 + K.value.left}, ${K.value.chartHeight + I.value.timeLabels.offsetY}), rotate(${I.value.timeLabels.rotation})`
1174
1174
  }, T(e.text), 9, it))]))), 256))]))], 512)) : m("", !0),
1175
1175
  w(e.$slots, "svg", { svg: {
1176
- drawingArea: U.value,
1177
- data: W.value,
1178
- isPrintingImg: E(Ht) || E(Ut) || E(Tn),
1179
- isPrintingSvg: E(En)
1176
+ drawingArea: K.value,
1177
+ data: q.value,
1178
+ isPrintingImg: E(Ut) || E(Wt) || E(kn),
1179
+ isPrintingSvg: E(An)
1180
1180
  } }, void 0, !0)
1181
1181
  ], 46, Ke)), e.$slots.hint ? (x(), h("div", ot, [w(e.$slots, "hint", y(v({
1182
- hint: F.value.a11y.translations.keyboardNavigation,
1183
- isVisible: jt.value
1182
+ hint: P.value.a11y.translations.keyboardNavigation,
1183
+ isVisible: Mt.value
1184
1184
  })), void 0, !0)])) : m("", !0)]),
1185
- e.$slots.watermark ? (x(), h("div", st, [w(e.$slots, "watermark", y(v({ isPrinting: E(Ht) || E(Ut) || E(Tn) || E(En) })), void 0, !0)])) : m("", !0),
1186
- vt.value && F.value.userOptions.buttons.table ? (x(), p(Le(X.value.component), Ne({ key: 6 }, X.value.props, {
1185
+ e.$slots.watermark ? (x(), h("div", st, [w(e.$slots, "watermark", y(v({ isPrinting: E(Ut) || E(Wt) || E(kn) || E(An) })), void 0, !0)])) : m("", !0),
1186
+ vt.value && R.value.buttons.table ? (x(), p(Le(Tn.value.component), Ne({ key: 6 }, Tn.value.props, {
1187
1187
  ref_key: "tableUnit",
1188
- ref: M,
1189
- onClose: bn
1188
+ ref: j,
1189
+ onClose: Sn
1190
1190
  }), Ae({
1191
1191
  content: D(() => [Me(E(ut), {
1192
- colNames: Z.value.colNames,
1193
- head: Z.value.head,
1194
- body: Z.value.body,
1195
- config: Z.value.config,
1196
- title: F.value.table.useDialog ? "" : X.value.title,
1197
- withCloseButton: !F.value.table.useDialog,
1198
- isCursorPointer: I.value,
1199
- onClose: bn
1192
+ colNames: En.value.colNames,
1193
+ head: En.value.head,
1194
+ body: En.value.body,
1195
+ config: En.value.config,
1196
+ title: P.value.table.useDialog ? "" : Tn.value.title,
1197
+ withCloseButton: !P.value.table.useDialog,
1198
+ isCursorPointer: z.value,
1199
+ onClose: Sn
1200
1200
  }, {
1201
1201
  th: D(({ th: e }) => [g("div", null, T(e), 1)]),
1202
1202
  td: D(({ td: e }) => [je(T(e), 1)]),
@@ -1211,20 +1211,20 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
1211
1211
  "isCursorPointer"
1212
1212
  ])]),
1213
1213
  _: 2
1214
- }, [F.value.table.useDialog ? {
1214
+ }, [P.value.table.useDialog ? {
1215
1215
  name: "title",
1216
- fn: D(() => [je(T(X.value.title), 1)]),
1216
+ fn: D(() => [je(T(Tn.value.title), 1)]),
1217
1217
  key: "0"
1218
- } : void 0, F.value.table.useDialog ? {
1218
+ } : void 0, P.value.table.useDialog ? {
1219
1219
  name: "actions",
1220
1220
  fn: D(() => [g("button", {
1221
1221
  tabindex: "0",
1222
1222
  class: "vue-ui-user-options-button",
1223
- onClick: t[1] ||= (e) => Sn(F.value.userOptions.callbacks.csv),
1224
- style: b({ cursor: I.value ? "pointer" : "default" })
1223
+ onClick: t[1] ||= (e) => wn(R.value.callbacks.csv),
1224
+ style: b({ cursor: z.value ? "pointer" : "default" })
1225
1225
  }, [Me(E(ct), {
1226
1226
  name: "fileCsv",
1227
- stroke: X.value.props.color
1227
+ stroke: Tn.value.props.color
1228
1228
  }, null, 8, ["stroke"])], 4)]),
1229
1229
  key: "1"
1230
1230
  } : void 0]), 1040)) : m("", !0),
@@ -1234,9 +1234,9 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
1234
1234
  ref: St,
1235
1235
  dir: "auto"
1236
1236
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1237
- w(e.$slots, "skeleton", {}, () => [E(Nt) ? (x(), p(ge, { key: 0 })) : m("", !0)], !0)
1237
+ w(e.$slots, "skeleton", {}, () => [E(Pt) ? (x(), p(ge, { key: 0 })) : m("", !0)], !0)
1238
1238
  ], 46, Ue));
1239
1239
  }
1240
- }, [["__scopeId", "data-v-1c5220d5"]]);
1240
+ }, [["__scopeId", "data-v-aa15b614"]]);
1241
1241
  //#endregion
1242
1242
  export { He as n, ct as t };