vue-data-ui 3.25.4 → 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 (213) hide show
  1. package/README.md +13 -13
  2. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  3. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  4. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  5. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  6. package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
  7. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  8. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  9. package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  10. package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
  11. package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
  12. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  13. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-hill.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-label.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +1 -1
  47. package/dist/components/vue-ui-mood-radar.js +1 -1
  48. package/dist/components/vue-ui-nested-donuts.js +1 -1
  49. package/dist/components/vue-ui-onion.js +1 -1
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +1 -1
  52. package/dist/components/vue-ui-quick-chart.js +1 -1
  53. package/dist/components/vue-ui-radar.js +1 -1
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +1 -1
  56. package/dist/components/vue-ui-ridgeline.js +1 -1
  57. package/dist/components/vue-ui-rings.js +1 -1
  58. package/dist/components/vue-ui-scatter.js +1 -1
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +1 -1
  63. package/dist/components/vue-ui-sparkgauge.js +1 -1
  64. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  65. package/dist/components/vue-ui-sparkline.js +1 -1
  66. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  67. package/dist/components/vue-ui-stackbar.js +1 -1
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +1 -1
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +1 -1
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +1 -1
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +1 -1
  76. package/dist/components/vue-ui-treemap.js +1 -1
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +1 -1
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +1 -1
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +1 -1
  83. package/dist/components/vue-ui-xy.js +1 -1
  84. package/dist/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
  85. package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.js} +1 -1
  86. package/dist/ssr/vue-ui-donut.js +1 -1
  87. package/dist/ssr/vue-ui-xy.js +1 -1
  88. package/dist/ssr.js +2 -2
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +80 -1
  91. package/dist/types/vue-ui-annotator.d.ts +58 -2
  92. package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
  93. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
  94. package/dist/utils.js +1 -1
  95. package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  96. package/dist/vue-data-ui.js +71 -71
  97. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  98. package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  99. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  100. package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
  101. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  102. package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
  103. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  104. package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  105. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  106. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  107. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  108. package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  109. package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
  110. package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
  111. package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  112. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  113. package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  114. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  115. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  116. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  117. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  118. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  119. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  120. package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
  121. package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  122. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  123. package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
  124. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  125. package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
  126. package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  127. package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  128. package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  129. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  130. package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
  131. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  132. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  133. package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
  134. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  135. package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
  136. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  137. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  138. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  139. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  140. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  141. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  142. package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  143. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  144. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  145. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  146. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  147. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  148. package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  149. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  150. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  151. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  152. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  153. package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  154. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  155. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  156. package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
  157. package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
  158. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  159. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  160. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  161. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  162. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  163. package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
  164. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  165. package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  166. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  167. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  168. package/package.json +1 -1
  169. package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
  170. package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
  171. package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
  172. package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
  173. package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
  174. package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
  175. package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
  176. package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
  177. package/dist/vue-ui-donut-DfiocufT.js +0 -2413
  178. package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
  179. package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
  180. package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
  181. package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
  182. package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
  183. package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
  184. package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
  185. package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
  186. package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
  187. package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
  188. package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
  189. package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
  190. package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
  191. package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
  192. package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
  193. package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
  194. package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
  195. package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
  196. package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
  197. package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
  198. package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
  199. package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
  200. package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
  201. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
  202. package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
  203. package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
  204. package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
  205. package/dist/vue-ui-table-BQna1wL6.js +0 -1352
  206. package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
  207. package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
  208. package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
  209. package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
  210. package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
  211. package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
  212. package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
  213. package/dist/vue-ui-xy-canvas-B_8Mu19r.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-CyCVHo81.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-D4zsdacF.js").then((e) => e.n)), ut = _(() => import("./DataTable-COIO9gi4.js")), dt = _(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), ft = _(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-5SWftabm.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,14 +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
- 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
811
812
  }, {
812
813
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
813
814
  "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
@@ -821,71 +822,72 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
821
822
  "backgroundColor",
822
823
  "color",
823
824
  "active",
824
- "isCursorPointer"
825
+ "isCursorPointer",
826
+ "palette"
825
827
  ])) : m("", !0),
826
828
  w(e.$slots, "userConfig", {}, void 0, !0),
827
- Kt.value ? (x(), h("div", {
829
+ qt.value ? (x(), h("div", {
828
830
  key: 2,
829
831
  ref_key: "noTitle",
830
832
  ref: xt,
831
833
  class: "vue-data-ui-no-title-space",
832
834
  style: "height:36px; width: 100%;background:transparent"
833
835
  }, null, 512)) : m("", !0),
834
- F.value.style.chart.title.text ? (x(), h("div", {
836
+ L.value.title.text ? (x(), h("div", {
835
837
  key: 3,
836
838
  ref_key: "chartTitle",
837
839
  ref: bt,
838
840
  style: "width:100%;background:transparent;"
839
841
  }, [(x(), p(xe, {
840
- key: `title_${wt.value}`,
842
+ key: `title_${Tt.value}`,
841
843
  config: {
842
844
  title: {
843
845
  cy: "bump-title",
844
- ...F.value.style.chart.title
846
+ ...L.value.title
845
847
  },
846
848
  subtitle: {
847
849
  cy: "bump-subtitle",
848
- ...F.value.style.chart.title.subtitle
850
+ ...L.value.title.subtitle
849
851
  }
850
852
  }
851
853
  }, null, 8, ["config"]))], 512)) : m("", !0),
852
- 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), {
853
855
  ref_key: "userOptionsRef",
854
- ref: Et,
856
+ ref: Dt,
855
857
  key: `user_option_${yt.value}`,
856
- backgroundColor: F.value.style.chart.backgroundColor,
857
- color: F.value.style.chart.color,
858
- isPrinting: E(Ht),
859
- isImaging: E(Ut),
858
+ backgroundColor: L.value.backgroundColor,
859
+ color: L.value.color,
860
+ isPrinting: E(Ut),
861
+ isImaging: E(Wt),
860
862
  uid: A.value,
861
863
  hasTooltip: !1,
862
- hasPdf: F.value.userOptions.buttons.pdf,
863
- hasImg: F.value.userOptions.buttons.img,
864
- hasSvg: F.value.userOptions.buttons.svg,
865
- hasXls: F.value.userOptions.buttons.csv,
866
- 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,
867
869
  hasLabel: !1,
868
- hasAltCopy: F.value.userOptions.buttons.altCopy,
869
- hasFullscreen: F.value.userOptions.buttons.fullscreen,
870
- isFullcreen: j.value,
870
+ hasAltCopy: R.value.buttons.altCopy,
871
+ hasFullscreen: R.value.buttons.fullscreen,
872
+ isFullcreen: Ct.value,
871
873
  chartElement: k.value,
872
- position: F.value.userOptions.position,
873
- titles: { ...F.value.userOptions.buttonTitles },
874
- hasAnnotator: F.value.userOptions.buttons.annotator,
875
- isAnnotation: Y.value,
876
- callbacks: F.value.userOptions.callbacks,
877
- printScale: F.value.userOptions.print.scale,
878
- tableDialog: F.value.table.useDialog,
879
- isCursorPointer: I.value,
880
- onToggleFullscreen: vn,
881
- onGeneratePdf: E(Wt),
882
- onGenerateCsv: Sn,
883
- onGenerateImage: E(On),
884
- onGenerateSvg: E(Dn),
885
- onToggleTable: yn,
886
- onToggleAnnotator: _n,
887
- onCopyAlt: jn,
888
- 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" })
889
891
  }, Ae({ _: 2 }, [
890
892
  e.$slots.menuIcon ? {
891
893
  name: "menuIcon",
@@ -954,66 +956,66 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
954
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),
955
957
  g("div", Ge, [(x(), h("svg", {
956
958
  ref_key: "svgRef",
957
- ref: L,
959
+ ref: B,
958
960
  xmlns: E(ce),
959
961
  "aria-describedby": `chart-instructions-${A.value}`,
960
- 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}`,
961
963
  class: Pe({
962
- "vue-data-ui-loading": E(Nt),
963
- "no-transition": !F.value.useCssAnimation
964
+ "vue-data-ui-loading": E(Pt),
965
+ "no-transition": !P.value.useCssAnimation
964
966
  }),
965
- 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}`),
966
968
  role: "img",
967
969
  "aria-live": "polite",
968
970
  preserveAspectRatio: "xMidYMid",
969
971
  tabindex: "0",
970
- onFocus: fn,
971
- onBlur: pn,
972
- onKeydown: gn
972
+ onFocus: pn,
973
+ onBlur: mn,
974
+ onKeydown: _n
973
975
  }, [
974
976
  Me(E(pt)),
975
977
  e.$slots["chart-background"] ? (x(), h("foreignObject", {
976
978
  key: 0,
977
- x: U.value.left,
978
- y: U.value.top,
979
- width: U.value.width <= 0 ? 10 : U.value.width,
980
- 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,
981
983
  style: { pointerEvents: "none" }
982
984
  }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : m("", !0),
983
- (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", {
984
986
  class: "transition-opacity",
985
987
  d: `M${e.path}`,
986
- stroke: F.value.style.chart.layout.lines.coatingColor,
987
- "stroke-width": F.value.style.chart.layout.lines.strokeWidth + 2,
988
+ stroke: I.value.lines.coatingColor,
989
+ "stroke-width": I.value.lines.strokeWidth + 2,
988
990
  "stroke-linecap": "round",
989
991
  "stroke-linejoin": "round",
990
992
  fill: "none",
991
- style: b({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
992
- onMouseenter: (t) => N.value = e.id,
993
- 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
994
996
  }, null, 44, Je), g("path", {
995
997
  class: "transition-opacity",
996
998
  d: `M${e.path}`,
997
999
  stroke: e.color,
998
- "stroke-width": F.value.style.chart.layout.lines.strokeWidth,
1000
+ "stroke-width": I.value.lines.strokeWidth,
999
1001
  "stroke-linecap": "round",
1000
1002
  "stroke-linejoin": "round",
1001
1003
  fill: "none",
1002
- 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 }),
1003
1005
  onMouseenter: (t) => Q(e, e),
1004
1006
  onMouseleave: (t) => $(e, e),
1005
- onClick: (t) => An(e, e)
1007
+ onClick: (t) => Pn(e, e)
1006
1008
  }, null, 44, Ye)], 64))), 256)),
1007
- (x(!0), h(d, null, C(W.value, (t) => (x(), h(d, null, [
1008
- 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", {
1009
1011
  class: "transition-opacity",
1010
1012
  cx: e.x,
1011
1013
  cy: e.y,
1012
- r: F.value.style.chart.layout.plots.radius,
1014
+ r: F.value.radius,
1013
1015
  fill: t.color,
1014
- stroke: F.value.style.chart.layout.plots.stroke,
1015
- "stroke-width": F.value.style.chart.layout.plots.strokeWidth,
1016
- 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 }),
1017
1019
  onMouseenter: (r) => Q({
1018
1020
  ...e,
1019
1021
  pointIndex: n
@@ -1027,24 +1029,24 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
1027
1029
  pointIndex: n
1028
1030
  }, t)
1029
1031
  }, null, 44, Xe))), 256)) : m("", !0),
1030
- 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", {
1031
1033
  class: "transition-opacity",
1032
1034
  x: e.x,
1033
- y: e.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
1035
+ y: e.y + F.value.labels.fontSize / 3,
1034
1036
  fill: e.labelColor,
1035
- "font-size": F.value.style.chart.layout.plots.labels.fontSize,
1037
+ "font-size": F.value.labels.fontSize,
1036
1038
  "text-anchor": "middle",
1037
1039
  style: b({
1038
1040
  userSelect: "none",
1039
1041
  pointerEvents: "none",
1040
- opacity: N.value == null || N.value === t.id ? 1 : .1
1042
+ opacity: M.value == null || M.value === t.id ? 1 : .1
1041
1043
  })
1042
1044
  }, T(e.rank), 13, Ze))), 256)) : m("", !0),
1043
- 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({
1044
1046
  key: 0,
1045
1047
  class: "transition-opacity"
1046
- }, { ref_for: !0 }, sn(n), {
1047
- 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 },
1048
1050
  onMouseenter: (n) => Q({
1049
1051
  ...e.point,
1050
1052
  pointIndex: e.i
@@ -1057,144 +1059,144 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
1057
1059
  ...e.point,
1058
1060
  pointIndex: e.i
1059
1061
  }, t)
1060
- }), 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", {
1061
1063
  key: 1,
1062
1064
  class: "transition-opacity",
1063
1065
  x: n.x,
1064
- y: n.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
1066
+ y: n.y + F.value.labels.fontSize / 3,
1065
1067
  fill: n.labelColor,
1066
- "font-size": F.value.style.chart.layout.plots.labels.fontSize,
1068
+ "font-size": F.value.labels.fontSize,
1067
1069
  "text-anchor": "middle",
1068
1070
  style: b({
1069
1071
  userSelect: "none",
1070
1072
  pointerEvents: "none",
1071
- opacity: N.value == null || N.value === t.id ? 1 : .1
1073
+ opacity: M.value == null || M.value === t.id ? 1 : .1
1072
1074
  })
1073
1075
  }, T(n.displayValue), 13, $e)) : m("", !0)], 64))), 256)) : m("", !0)
1074
1076
  ], 64))), 256)),
1075
- F.value.style.chart.layout.nameLabels.leftLabels.show ? (x(), h("g", {
1077
+ I.value.nameLabels.leftLabels.show ? (x(), h("g", {
1076
1078
  key: 1,
1077
1079
  ref_key: "labelsLeft",
1078
- ref: Ot
1079
- }, [(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", {
1080
1082
  class: "transition-opacity",
1081
- x: U.value.left,
1082
- y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1083
- fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1084
- "font-size": F.value.style.chart.layout.nameLabels.fontSize,
1085
- "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",
1086
1088
  "text-anchor": "end",
1087
1089
  innerHTML: E(i)({
1088
1090
  content: e.name,
1089
- fontSize: F.value.style.chart.layout.nameLabels.fontSize,
1090
- fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1091
- x: U.value.left - F.value.style.chart.layout.nameLabels.offsetX,
1092
- 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,
1093
1095
  translateY: !0
1094
1096
  }),
1095
- 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 }),
1096
1098
  onMouseenter: (t) => Q(e, e),
1097
1099
  onMouseleave: (t) => $(e, e),
1098
- onClick: (t) => An(e, e)
1100
+ onClick: (t) => Pn(e, e)
1099
1101
  }, null, 44, et))), 256))], 512)) : m("", !0),
1100
- F.value.style.chart.layout.nameLabels.rightLabels.show ? (x(), h("g", {
1102
+ I.value.nameLabels.rightLabels.show ? (x(), h("g", {
1101
1103
  key: 2,
1102
1104
  ref_key: "labelsRight",
1103
- ref: kt
1104
- }, [(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", {
1105
1107
  class: "transition-opacity",
1106
- x: U.value.right,
1107
- y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1108
- fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1109
- "font-size": F.value.style.chart.layout.nameLabels.fontSize,
1110
- "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",
1111
1113
  "text-anchor": "start",
1112
1114
  innerHTML: E(i)({
1113
1115
  content: e.name,
1114
- fontSize: F.value.style.chart.layout.nameLabels.fontSize,
1115
- fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1116
- x: U.value.right + F.value.style.chart.layout.nameLabels.offsetX,
1117
- 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,
1118
1120
  translateY: !0
1119
1121
  }),
1120
- 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 }),
1121
1123
  onMouseenter: (t) => Q(e, e),
1122
1124
  onMouseleave: (t) => $(e, e),
1123
- onClick: (t) => An(e, e)
1125
+ onClick: (t) => Pn(e, e)
1124
1126
  }, null, 44, tt))), 256))], 512)) : m("", !0),
1125
- F.value.style.chart.layout.timeLabels.show ? (x(), h("g", {
1127
+ I.value.timeLabels.show ? (x(), h("g", {
1126
1128
  key: 3,
1127
1129
  ref_key: "timeLabelsEls",
1128
- ref: At
1129
- }, [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 }, {
1130
- x: U.value.unitW * n + U.value.unitW / 2 + U.value.left,
1131
- y: U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY,
1132
- fontSize: F.value.style.chart.layout.timeLabels.fontSize,
1133
- fill: F.value.style.chart.layout.timeLabels.color,
1134
- 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})`,
1135
1137
  absoluteIndex: t.absoluteIndex,
1136
1138
  content: t.text,
1137
- 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",
1138
1140
  show: !0
1139
- }), 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", {
1140
1142
  key: t + "-multi",
1141
- "text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
1142
- "font-size": F.value.style.chart.layout.timeLabels.fontSize,
1143
- 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,
1144
1146
  transform: `
1145
1147
  translate(
1146
- ${U.value.unitW * t + U.value.unitW / 2 + U.value.left},
1147
- ${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}
1148
1150
  ),
1149
- rotate(${F.value.style.chart.layout.timeLabels.rotation})
1151
+ rotate(${I.value.timeLabels.rotation})
1150
1152
  `,
1151
1153
  innerHTML: E(i)({
1152
1154
  content: String(e.text),
1153
- fontSize: F.value.style.chart.layout.timeLabels.fontSize,
1154
- fill: F.value.style.chart.layout.timeLabels.color,
1155
- stroke: F.value.style.chart.backgroundColor,
1155
+ fontSize: I.value.timeLabels.fontSize,
1156
+ fill: L.value.layout.timeLabels.color,
1157
+ stroke: L.value.backgroundColor,
1156
1158
  x: 0,
1157
1159
  y: 0
1158
1160
  })
1159
1161
  }, null, 8, at)) : (x(), h("text", {
1160
1162
  class: "vue-data-ui-time-label",
1161
1163
  key: t,
1162
- "text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
1163
- "font-size": F.value.style.chart.layout.timeLabels.fontSize,
1164
- "font-weight": F.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
1165
- fill: F.value.style.chart.layout.timeLabels.color,
1166
- 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,
1167
1169
  "stroke-width": "3",
1168
1170
  "stroke-linejoin": "round",
1169
1171
  "stroke-linecap": "round",
1170
1172
  "paint-order": "stroke fill",
1171
- 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})`
1172
1174
  }, T(e.text), 9, it))]))), 256))]))], 512)) : m("", !0),
1173
1175
  w(e.$slots, "svg", { svg: {
1174
- drawingArea: U.value,
1175
- data: W.value,
1176
- isPrintingImg: E(Ht) || E(Ut) || E(Tn),
1177
- isPrintingSvg: E(En)
1176
+ drawingArea: K.value,
1177
+ data: q.value,
1178
+ isPrintingImg: E(Ut) || E(Wt) || E(kn),
1179
+ isPrintingSvg: E(An)
1178
1180
  } }, void 0, !0)
1179
1181
  ], 46, Ke)), e.$slots.hint ? (x(), h("div", ot, [w(e.$slots, "hint", y(v({
1180
- hint: F.value.a11y.translations.keyboardNavigation,
1181
- isVisible: jt.value
1182
+ hint: P.value.a11y.translations.keyboardNavigation,
1183
+ isVisible: Mt.value
1182
1184
  })), void 0, !0)])) : m("", !0)]),
1183
- 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),
1184
- 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, {
1185
1187
  ref_key: "tableUnit",
1186
- ref: M,
1187
- onClose: bn
1188
+ ref: j,
1189
+ onClose: Sn
1188
1190
  }), Ae({
1189
1191
  content: D(() => [Me(E(ut), {
1190
- colNames: Z.value.colNames,
1191
- head: Z.value.head,
1192
- body: Z.value.body,
1193
- config: Z.value.config,
1194
- title: F.value.table.useDialog ? "" : X.value.title,
1195
- withCloseButton: !F.value.table.useDialog,
1196
- isCursorPointer: I.value,
1197
- 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
1198
1200
  }, {
1199
1201
  th: D(({ th: e }) => [g("div", null, T(e), 1)]),
1200
1202
  td: D(({ td: e }) => [je(T(e), 1)]),
@@ -1209,20 +1211,20 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
1209
1211
  "isCursorPointer"
1210
1212
  ])]),
1211
1213
  _: 2
1212
- }, [F.value.table.useDialog ? {
1214
+ }, [P.value.table.useDialog ? {
1213
1215
  name: "title",
1214
- fn: D(() => [je(T(X.value.title), 1)]),
1216
+ fn: D(() => [je(T(Tn.value.title), 1)]),
1215
1217
  key: "0"
1216
- } : void 0, F.value.table.useDialog ? {
1218
+ } : void 0, P.value.table.useDialog ? {
1217
1219
  name: "actions",
1218
1220
  fn: D(() => [g("button", {
1219
1221
  tabindex: "0",
1220
1222
  class: "vue-ui-user-options-button",
1221
- onClick: t[1] ||= (e) => Sn(F.value.userOptions.callbacks.csv),
1222
- 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" })
1223
1225
  }, [Me(E(ct), {
1224
1226
  name: "fileCsv",
1225
- stroke: X.value.props.color
1227
+ stroke: Tn.value.props.color
1226
1228
  }, null, 8, ["stroke"])], 4)]),
1227
1229
  key: "1"
1228
1230
  } : void 0]), 1040)) : m("", !0),
@@ -1232,9 +1234,9 @@ var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge
1232
1234
  ref: St,
1233
1235
  dir: "auto"
1234
1236
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1235
- 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)
1236
1238
  ], 46, Ue));
1237
1239
  }
1238
- }, [["__scopeId", "data-v-744eabfb"]]);
1240
+ }, [["__scopeId", "data-v-aa15b614"]]);
1239
1241
  //#endregion
1240
1242
  export { He as n, ct as t };