vue-data-ui 3.16.4 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/README.md +64 -46
  2. package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
  3. package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
  4. package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
  5. package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-accordion.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-history-plot.js +1 -1
  32. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  33. package/dist/components/vue-ui-kpi.js +1 -1
  34. package/dist/components/vue-ui-mini-loader.js +1 -1
  35. package/dist/components/vue-ui-molecule.js +1 -1
  36. package/dist/components/vue-ui-mood-radar.js +1 -1
  37. package/dist/components/vue-ui-nested-donuts.js +1 -1
  38. package/dist/components/vue-ui-onion.js +1 -1
  39. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  40. package/dist/components/vue-ui-quadrant.js +1 -1
  41. package/dist/components/vue-ui-quick-chart.js +1 -1
  42. package/dist/components/vue-ui-radar.js +1 -1
  43. package/dist/components/vue-ui-rating.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-smiley.js +1 -1
  50. package/dist/components/vue-ui-spark-trend.js +1 -1
  51. package/dist/components/vue-ui-sparkbar.js +1 -1
  52. package/dist/components/vue-ui-sparkgauge.js +1 -1
  53. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  54. package/dist/components/vue-ui-sparkline.js +1 -1
  55. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  56. package/dist/components/vue-ui-stackbar.js +1 -1
  57. package/dist/components/vue-ui-stackline.js +1 -1
  58. package/dist/components/vue-ui-strip-plot.js +1 -1
  59. package/dist/components/vue-ui-table-heatmap.js +1 -1
  60. package/dist/components/vue-ui-table-sparkline.js +1 -1
  61. package/dist/components/vue-ui-table.js +1 -1
  62. package/dist/components/vue-ui-thermometer.js +1 -1
  63. package/dist/components/vue-ui-timer.js +1 -1
  64. package/dist/components/vue-ui-tiremarks.js +1 -1
  65. package/dist/components/vue-ui-treemap.js +1 -1
  66. package/dist/components/vue-ui-vertical-bar.js +1 -1
  67. package/dist/components/vue-ui-waffle.js +1 -1
  68. package/dist/components/vue-ui-wheel.js +1 -1
  69. package/dist/components/vue-ui-word-cloud.js +1 -1
  70. package/dist/components/vue-ui-world.js +1 -1
  71. package/dist/components/vue-ui-xy-canvas.js +1 -1
  72. package/dist/components/vue-ui-xy.js +1 -1
  73. package/dist/style.css +1 -1
  74. package/dist/types/vue-data-ui.d.ts +1 -1
  75. package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
  76. package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
  77. package/dist/utils.js +1 -1
  78. package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
  79. package/dist/vue-data-ui.js +68 -68
  80. package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
  81. package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
  82. package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
  83. package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
  84. package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
  85. package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
  86. package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
  87. package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
  88. package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
  89. package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
  90. package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
  91. package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
  92. package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
  93. package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
  94. package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
  95. package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
  96. package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
  97. package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
  98. package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
  99. package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
  100. package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
  101. package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
  102. package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
  103. package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
  104. package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
  105. package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
  106. package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
  107. package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
  108. package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
  109. package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
  110. package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
  111. package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
  112. package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
  113. package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
  114. package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
  115. package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
  116. package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
  117. package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
  118. package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
  119. package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
  120. package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
  121. package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
  122. package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
  123. package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
  124. package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
  125. package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
  126. package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
  127. package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
  128. package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
  129. package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
  130. package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
  131. package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
  132. package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
  133. package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
  134. package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
  135. package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
  136. package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
  137. package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
  138. package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
  139. package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
  140. package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
  141. package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
  142. package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
  143. package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
  144. package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
  145. package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
  146. package/package.json +1 -1
  147. package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
  148. package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as E, ref as u, shallowRef as ct, computed as h, onMounted as yl, onBeforeUnmount as fl, toRefs as pl, watch as de, watchEffect as gl, openBlock as s, createElementBlock as r, unref as c, normalizeStyle as M, normalizeClass as H, createElementVNode as C, toDisplayString as D, createBlock as F, createCommentVNode as y, renderSlot as f, withCtx as p, normalizeProps as $, guardReactiveProps as I, createSlots as vt, createVNode as _e, Fragment as A, renderList as S, Teleport as xl, resolveDynamicComponent as bl, mergeProps as ml, createTextVNode as dt, nextTick as Le } from "vue";
2
- import { j as ht, o as yt, q as ft, r as kl, t as pt, n as wl, p as he, s as Cl, D as gt, k as K, l as G, X as Al, x as Sl, w as Tl, Z as $l, W as Il, a2 as U, m as _l, a0 as Ll, a1 as Pl, T as zl, a3 as Ol } from "./lib-DBptbyyI.js";
1
+ import { defineAsyncComponent as E, ref as u, shallowRef as ct, computed as h, onMounted as yl, onBeforeUnmount as fl, toRefs as pl, watch as he, watchEffect as gl, openBlock as s, createElementBlock as r, unref as c, normalizeStyle as M, normalizeClass as H, createElementVNode as C, toDisplayString as D, createBlock as F, createCommentVNode as y, renderSlot as f, withCtx as p, normalizeProps as A, guardReactiveProps as S, createSlots as vt, createVNode as Le, Fragment as T, renderList as $, Teleport as xl, resolveDynamicComponent as bl, mergeProps as ml, createTextVNode as dt, nextTick as _e } from "vue";
2
+ import { j as ht, o as yt, q as ft, r as kl, t as pt, n as wl, p as ye, s as Cl, D as gt, k as K, l as G, X as Al, x as Sl, w as Tl, Z as $l, W as Il, a2 as U, m as Ll, a0 as _l, a1 as Pl, T as zl, a3 as Ol } from "./lib-DBptbyyI.js";
3
3
  import { t as xt, u as Ml } from "./useResponsive-DfdjqQps.js";
4
- import { u as Nl } from "./useConfig-CpJA0VZa.js";
4
+ import { u as Nl } from "./useConfig-ChRble71.js";
5
5
  import { u as Dl, B as Fl } from "./BaseScanner-BhhkKVoj.js";
6
6
  import { u as Xl } from "./usePrinter-CEpYU3r5.js";
7
7
  import { u as Bl } from "./useSvgExport-ByUukOZt.js";
@@ -17,7 +17,7 @@ import Vl from "./Legend-CS7Xo5LK.js";
17
17
  import { A as Kl } from "./A11yDataTable-KcVAX2cP.js";
18
18
  import { B as Gl } from "./BaseLegendToggle-BQVIawmA.js";
19
19
  import { _ as ql } from "./_plugin-vue_export-helper-CHgC5LLL.js";
20
- const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative" } }, ta = ["xmlns", "viewBox", "aria-describedby"], la = ["x", "y", "width", "height"], aa = { key: 1 }, oa = ["id"], sa = ["stop-color"], na = ["stop-color"], ra = ["stop-color"], ia = { key: 2 }, ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = { key: 3 }, va = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], da = ["x", "y", "fill", "font-size"], ha = ["transform", "font-size", "fill", "font-weight"], ya = { key: 6 }, fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pa = { key: 7 }, ga = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], xa = ["transform", "fill", "font-size", "text-anchor"], ba = ["x", "y", "font-size", "fill", "font-weight"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = ["d", "stroke", "stroke-width"], Ca = ["d", "stroke", "stroke-width"], Aa = ["cx", "cy", "fill", "r"], Sa = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Ta = { key: 1 }, $a = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], _a = { key: 2 }, La = ["x", "y", "font-size", "font-weight", "fill"], Pa = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], za = {
20
+ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative" } }, ta = ["xmlns", "viewBox", "aria-describedby"], la = ["x", "y", "width", "height"], aa = { key: 1 }, oa = ["id"], sa = ["stop-color"], na = ["stop-color"], ra = ["stop-color"], ia = { key: 2 }, ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = { key: 3 }, va = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], da = ["x", "y", "fill", "font-size"], ha = ["transform", "font-size", "fill", "font-weight"], ya = { key: 6 }, fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pa = { key: 7 }, ga = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], xa = ["transform", "fill", "font-size", "text-anchor"], ba = ["x", "y", "font-size", "fill", "font-weight"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = ["d", "stroke", "stroke-width"], Ca = ["d", "stroke", "stroke-width"], Aa = ["cx", "cy", "fill", "r"], Sa = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Ta = { key: 1 }, $a = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], La = { key: 2 }, _a = ["x", "y", "font-size", "font-weight", "fill"], Pa = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], za = {
21
21
  key: 0,
22
22
  style: { position: "absolute", top: "100%", left: "0", width: "100%" },
23
23
  "data-dom-to-png-ignore": "",
@@ -43,20 +43,20 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
43
43
  },
44
44
  emits: ["selectLegend", "selectDatapoint", "copyAlt"],
45
45
  setup(bt, { expose: mt, emit: kt }) {
46
- const wt = E(() => import("./Tooltip-Bf-kM3_A.js")), Ct = E(() => import("./BaseIcon-Cb3zzG6s.js")), At = E(() => import("./vue-ui-accordion-BF4v32wv.js")), St = E(() => import("./DataTable-DT2kIdQ6.js")), Tt = E(() => import("./PenAndPaper-Ct3qJ4lA.js")), $t = E(() => import("./UserOptions-rW2fRf3V.js")), It = E(() => import("./PackageVersion-1BHnPIBZ.js")), _t = E(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_history_plot: Lt } = Nl(), { isThemeValid: Pt, warnInvalidTheme: zt } = Rl(), _ = bt, X = u(null), ze = u(null), Oe = u(0), Me = u(null), Ne = u(0), De = u(0), Fe = u(0), R = ct(null), W = ct(null), Xe = u(null), L = u(ht()), oe = u(!1), ye = u(""), x = u([]), q = u(!1), P = u(null), Z = u(!1), Be = u(null), Re = u(!1), J = u(null), fe = u(null), se = u(!1), ne = u(!1), pe = u(null), ge = u(null), re = u(null), xe = u(null), k = u(null), w = u(null), Ee = u({ x: 0, y: 0 }), ie = u("pointer"), be = u(!1), ue = h({
47
- get: () => !!_.dataset && _.dataset.length,
46
+ const wt = E(() => import("./Tooltip-C8KGyqQk.js")), Ct = E(() => import("./BaseIcon-Cb3zzG6s.js")), At = E(() => import("./vue-ui-accordion-CnDW2UQL.js")), St = E(() => import("./DataTable-DT2kIdQ6.js")), Tt = E(() => import("./PenAndPaper-Ct3qJ4lA.js")), $t = E(() => import("./UserOptions-rW2fRf3V.js")), It = E(() => import("./PackageVersion-B3kmPxTR.js")), Lt = E(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_history_plot: _t } = Nl(), { isThemeValid: Pt, warnInvalidTheme: zt } = Rl(), L = bt, X = u(null), ze = u(null), Oe = u(0), Me = u(null), Ne = u(0), De = u(0), Fe = u(0), R = ct(null), W = ct(null), Xe = u(null), _ = u(ht()), oe = u(!1), fe = u(""), x = u([]), q = u(!1), P = u(null), Z = u(!1), Be = u(null), Re = u(!1), J = u(null), pe = u(null), se = u(!1), ne = u(!1), ge = u(null), xe = u(null), re = u(null), be = u(null), k = u(null), w = u(null), Ee = u({ x: 0, y: 0 }), ie = u("pointer"), me = u(!1), ue = h({
47
+ get: () => !!L.dataset && L.dataset.length,
48
48
  set: (t) => t
49
- }), me = kt;
49
+ }), ke = kt;
50
50
  yl(() => {
51
51
  Re.value = !0, He();
52
52
  });
53
53
  const Ye = h(() => !!e.value.debug);
54
54
  function He() {
55
- if (yt(_.dataset) ? (ft({
55
+ if (yt(L.dataset) ? (ft({
56
56
  componentName: "VueUiHistoryPlot",
57
57
  type: "dataset",
58
58
  debug: Ye.value
59
- }), we.value = !0) : _.dataset.forEach((t, a) => {
59
+ }), Ce.value = !0) : L.dataset.forEach((t, a) => {
60
60
  kl({
61
61
  datasetObject: t,
62
62
  requiredAttributes: ["name", "values"]
@@ -69,7 +69,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
69
69
  debug: Ye.value
70
70
  });
71
71
  });
72
- }), yt(_.dataset) || (we.value = e.value.loading), e.value.responsive) {
72
+ }), yt(L.dataset) || (Ce.value = e.value.loading), e.value.responsive) {
73
73
  const t = xt(() => {
74
74
  const { width: a, height: l } = Ml({
75
75
  chart: X.value,
@@ -130,10 +130,10 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
130
130
  fl(() => {
131
131
  R.value && (W.value && R.value.unobserve(W.value), R.value.disconnect());
132
132
  });
133
- function ke() {
133
+ function we() {
134
134
  const t = Pe({
135
- userConfig: _.config,
136
- defaultConfig: Lt
135
+ userConfig: L.config,
136
+ defaultConfig: _t
137
137
  });
138
138
  let a = {};
139
139
  const l = t.theme;
@@ -142,22 +142,22 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
142
142
  zt(t), a = t;
143
143
  else {
144
144
  const n = Pe({
145
- userConfig: jl[l] || _.config,
145
+ userConfig: jl[l] || L.config,
146
146
  defaultConfig: t
147
147
  });
148
148
  a = {
149
149
  ...Pe({
150
- userConfig: _.config,
150
+ userConfig: L.config,
151
151
  defaultConfig: n
152
152
  }),
153
- customPalette: t.customPalette.length ? t.customPalette : _l[l] || he
153
+ customPalette: t.customPalette.length ? t.customPalette : Ll[l] || ye
154
154
  };
155
155
  }
156
156
  else
157
157
  a = t;
158
158
  return a;
159
159
  }
160
- const e = u(ke()), j = h(() => e.value.userOptions.useCursorPointer), Ot = h(() => pt({
160
+ const e = u(we()), j = h(() => e.value.userOptions.useCursorPointer), Ot = h(() => pt({
161
161
  defaultConfig: {
162
162
  userOptions: { show: !1 },
163
163
  table: { show: !1 },
@@ -208,11 +208,11 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
208
208
  }
209
209
  },
210
210
  userConfig: e.value.skeletonConfig ?? {}
211
- })), { loading: B, FINAL_DATASET: Mt, manualLoading: we } = Dl({
212
- ...pl(_),
211
+ })), { loading: B, FINAL_DATASET: Mt, manualLoading: Ce } = Dl({
212
+ ...pl(L),
213
213
  FINAL_CONFIG: e,
214
- prepareConfig: ke,
215
- skeletonDataset: _.config?.skeletonDataset ?? [
214
+ prepareConfig: we,
215
+ skeletonDataset: L.config?.skeletonDataset ?? [
216
216
  {
217
217
  name: "",
218
218
  color: "#CACACA",
@@ -228,21 +228,21 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
228
228
  defaultConfig: e.value,
229
229
  userConfig: Ot.value
230
230
  })
231
- }), { userOptionsVisible: Ce, setUserOptionsVisibility: Ue, keepUserOptionState: We } = El({ config: e.value }), { svgRef: Y } = Yl({ config: e.value.style.chart.title });
232
- de(() => _.config, (t) => {
233
- B.value || (e.value = ke()), Ce.value = !e.value.userOptions.showOnChartHover, He(), Oe.value += 1, De.value += 1, Ne.value += 1, b.value.height = e.value.style.chart.height, b.value.width = e.value.style.chart.width, i.value.plots = e.value.style.chart.plots.radius, i.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, i.value.labels = e.value.style.chart.plots.labels.fontSize, i.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, i.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, i.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, i.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.chart.tooltip.show;
234
- }, { deep: !0 }), de(() => _.dataset, (t) => {
235
- Array.isArray(t) && t.length > 0 && (we.value = !1);
231
+ }), { userOptionsVisible: Ae, setUserOptionsVisibility: Ue, keepUserOptionState: We } = El({ config: e.value }), { svgRef: Y } = Yl({ config: e.value.style.chart.title });
232
+ he(() => L.config, (t) => {
233
+ B.value || (e.value = we()), Ae.value = !e.value.userOptions.showOnChartHover, He(), Oe.value += 1, De.value += 1, Ne.value += 1, b.value.height = e.value.style.chart.height, b.value.width = e.value.style.chart.width, i.value.plots = e.value.style.chart.plots.radius, i.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, i.value.labels = e.value.style.chart.plots.labels.fontSize, i.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, i.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, i.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, i.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.chart.tooltip.show;
234
+ }, { deep: !0 }), he(() => L.dataset, (t) => {
235
+ Array.isArray(t) && t.length > 0 && (Ce.value = !1);
236
236
  }, { deep: !0 });
237
- const { isPrinting: Ae, isImaging: Se, generatePdf: je, generateImage: Ve } = Xl({
238
- elementId: `history_plot_${L.value}`,
237
+ const { isPrinting: Se, isImaging: Te, generatePdf: je, generateImage: Ve } = Xl({
238
+ elementId: `history_plot_${_.value}`,
239
239
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
240
240
  options: e.value.userOptions.print
241
241
  }), Nt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Dt = h(() => wl(e.value.customPalette)), z = u({
242
242
  showTable: e.value.table.show,
243
243
  showTooltip: e.value.style.chart.tooltip.show
244
244
  });
245
- de(e, () => {
245
+ he(e, () => {
246
246
  z.value = {
247
247
  showTable: e.value.table.show,
248
248
  showTooltip: e.value.style.chart.tooltip.show
@@ -254,11 +254,11 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
254
254
  }), Ft = h(() => b.value.width), Xt = h(() => b.value.height);
255
255
  function Bt() {
256
256
  let t = 0;
257
- xe.value && (t = Array.from(xe.value.querySelectorAll("text")).reduce((n, o) => {
257
+ be.value && (t = Array.from(be.value.querySelectorAll("text")).reduce((n, o) => {
258
258
  const d = o.getComputedTextLength();
259
259
  return d > n ? d : n;
260
260
  }, 0));
261
- const a = ge.value ? ge.value.getBoundingClientRect().width : 0;
261
+ const a = xe.value ? xe.value.getBoundingClientRect().width : 0;
262
262
  return t + a + (a ? 24 : 0);
263
263
  }
264
264
  const Ke = u(0), Rt = xt((t) => {
@@ -274,7 +274,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
274
274
  });
275
275
  const Ge = h(() => {
276
276
  let t = 0;
277
- pe.value && (t = pe.value.getBBox().height + i.value.xAxisName / 2);
277
+ ge.value && (t = ge.value.getBBox().height + i.value.xAxisName / 2);
278
278
  let a = 0;
279
279
  return re.value && (a = Ke.value), t + a;
280
280
  }), v = h(() => {
@@ -297,7 +297,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
297
297
  yAxisName: e.value.style.chart.axes.y.name.fontSize
298
298
  }), N = h(() => Mt.value.map((t, a) => ({
299
299
  ...t,
300
- color: t.color ? Cl(t.color) : Dt.value[a] || he[a] || he[a % he.length],
300
+ color: t.color ? Cl(t.color) : Dt.value[a] || ye[a] || ye[a % ye.length],
301
301
  seriesIndex: a
302
302
  }))), Et = h(() => Math.max(...N.value.filter((t) => !x.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), Yt = h(() => {
303
303
  const t = Math.min(...N.value.filter((a) => !x.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
@@ -394,10 +394,10 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
394
394
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
395
395
  }));
396
396
  function Ze({ datapoint: t, plotIndex: a, seriesIndex: l }) {
397
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), me("selectDatapoint", t);
397
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), ke("selectDatapoint", t);
398
398
  }
399
399
  function Je(t) {
400
- me("selectLegend", {
400
+ ke("selectLegend", {
401
401
  ...t,
402
402
  isSegregated: !t.isSegregated,
403
403
  opacity: t.isSegregated ? 1 : 0.5
@@ -406,7 +406,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
406
406
  function Qe(t) {
407
407
  q.value = t, Fe.value += 1;
408
408
  }
409
- const Te = u(null);
409
+ const ve = u(null);
410
410
  function et({ datapoint: t, plotIndex: a, seriesIndex: l }) {
411
411
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), !(ie.value === "keyboard" && k.value === l && w.value === a) && (oe.value = !1, P.value = null);
412
412
  }
@@ -420,7 +420,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
420
420
  o && (Ee.value = o);
421
421
  }
422
422
  function tt({ datapoint: t, plotIndex: a, seriesIndex: l, triggerMode: n = "pointer" }) {
423
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), k.value = l, w.value = a, ie.value = n, Te.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: N.value }, P.value = t;
423
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), k.value = l, w.value = a, ie.value = n, ve.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: N.value }, P.value = t;
424
424
  const o = e.value.style.chart.tooltip.customFormat;
425
425
  if (Z.value = !1, zl(o))
426
426
  try {
@@ -431,7 +431,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
431
431
  series: N.value,
432
432
  config: e.value
433
433
  });
434
- typeof d == "string" && (ye.value = d, Z.value = !0);
434
+ typeof d == "string" && (fe.value = d, Z.value = !0);
435
435
  } catch {
436
436
  console.warn("Custom format cannot be applied."), Z.value = !1;
437
437
  }
@@ -455,9 +455,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
455
455
  s: e.value.style.chart.axes.y.labels.suffix,
456
456
  r: e.value.style.chart.axes.y.labels.rounding
457
457
  })
458
- )}</div>`, ye.value = `<div>${d}</div>`;
458
+ )}</div>`, fe.value = `<div>${d}</div>`;
459
459
  }
460
- oe.value = !0, n === "keyboard" && Le(() => {
460
+ oe.value = !0, n === "keyboard" && _e(() => {
461
461
  Zt(l, a);
462
462
  });
463
463
  }
@@ -518,22 +518,22 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
518
518
  };
519
519
  });
520
520
  function $e(t = null) {
521
- Le(() => {
521
+ _e(() => {
522
522
  const a = [
523
523
  [e.value.table.columnNames.series],
524
524
  [e.value.table.columnNames.datapoint],
525
525
  [e.value.table.columnNames.x],
526
526
  [e.value.table.columnNames.y]
527
- ], l = g.value.flatMap((d) => d.plots.map((T) => [
528
- [T.seriesName],
529
- [T.label],
530
- [T.valueX],
531
- [T.valueY]
527
+ ], l = g.value.flatMap((d) => d.plots.map((I) => [
528
+ [I.seriesName],
529
+ [I.label],
530
+ [I.valueX],
531
+ [I.valueY]
532
532
  ])), n = [
533
533
  [e.value.style.chart.title.text],
534
534
  [e.value.style.chart.title.subtitle.text],
535
535
  a
536
- ].concat(l), o = Ll(n);
536
+ ].concat(l), o = _l(n);
537
537
  t ? t(o) : Pl({
538
538
  csvContent: o,
539
539
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
@@ -582,7 +582,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
582
582
  const te = h(() => {
583
583
  const t = e.value.table.useDialog && !e.value.table.show, a = z.value.showTable;
584
584
  return {
585
- component: t ? _t : At,
585
+ component: t ? Lt : At,
586
586
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
587
587
  props: t ? {
588
588
  backgroundColor: e.value.table.th.backgroundColor,
@@ -609,11 +609,11 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
609
609
  }
610
610
  };
611
611
  });
612
- de(() => z.value.showTable, (t) => {
612
+ he(() => z.value.showTable, (t) => {
613
613
  e.value.table.show || (t && e.value.table.useDialog && J.value ? J.value.open() : "close" in J.value && J.value.close());
614
614
  });
615
615
  function ot() {
616
- z.value.showTable = !1, fe.value && fe.value.setTableIconState(!1);
616
+ z.value.showTable = !1, pe.value && pe.value.setTableIconState(!1);
617
617
  }
618
618
  const ll = h(() => e.value.style.chart.backgroundColor), al = h(() => e.value.style.chart.legend), ol = h(() => e.value.style.chart.title), { exportSvg: sl, getSvg: nl } = Bl({
619
619
  svg: Y,
@@ -623,7 +623,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
623
623
  backgroundColor: ll
624
624
  });
625
625
  async function st({ isCb: t }) {
626
- ne.value = !0, await Le();
626
+ ne.value = !0, await _e();
627
627
  try {
628
628
  if (t) {
629
629
  const { blob: a, url: l, text: n, dataUrl: o } = await nl();
@@ -646,7 +646,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
646
646
  Ve();
647
647
  }
648
648
  async function nt() {
649
- if (me("copyAlt", {
649
+ if (ke("copyAlt", {
650
650
  config: e.value,
651
651
  dataset: g.value
652
652
  }), !e.value.userOptions.callbacks.altCopy) {
@@ -684,35 +684,35 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
684
684
  k.value = null, w.value = null, ie.value = "pointer", oe.value = !1, P.value = null;
685
685
  }
686
686
  function ul() {
687
- k.value = null, w.value = null, be.value = !0;
687
+ k.value = null, w.value = null, me.value = !0;
688
688
  }
689
689
  function cl() {
690
- rt(), be.value = !1;
690
+ rt(), me.value = !1;
691
691
  }
692
692
  function vl(t, a) {
693
693
  if (!t?.plots?.length) return null;
694
694
  const l = t.plots.length;
695
695
  return (a % l + l) % l;
696
696
  }
697
- function ve({ seriesIndex: t, plotIndex: a, direction: l }) {
697
+ function de({ seriesIndex: t, plotIndex: a, direction: l }) {
698
698
  if (!g.value.length) return null;
699
699
  const n = il(t);
700
700
  if (n === -1) return null;
701
701
  if (l === "up" || l === "down") {
702
702
  const o = g.value[n];
703
703
  if (!o?.plots?.length) return null;
704
- const T = vl(o, a + (l === "up" ? -1 : 1));
704
+ const I = vl(o, a + (l === "up" ? -1 : 1));
705
705
  return {
706
706
  seriesIndex: o.seriesIndex,
707
- plotIndex: T
707
+ plotIndex: I
708
708
  };
709
709
  }
710
710
  if (l === "left" || l === "right") {
711
- const d = ((n + (l === "left" ? -1 : 1)) % g.value.length + g.value.length) % g.value.length, T = g.value[d];
712
- if (!T?.plots?.length) return null;
713
- const O = Math.min(a, T.plots.length - 1);
711
+ const d = ((n + (l === "left" ? -1 : 1)) % g.value.length + g.value.length) % g.value.length, I = g.value[d];
712
+ if (!I?.plots?.length) return null;
713
+ const O = Math.min(a, I.plots.length - 1);
714
714
  return {
715
- seriesIndex: T.seriesIndex,
715
+ seriesIndex: I.seriesIndex,
716
716
  plotIndex: O
717
717
  };
718
718
  }
@@ -720,9 +720,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
720
720
  }
721
721
  function dl(t) {
722
722
  if (!Y.value || ee.value || document.activeElement !== Y.value || !g.value.length) return;
723
- const a = t.key === "ArrowLeft", l = t.key === "ArrowRight", n = t.key === "ArrowUp", o = t.key === "ArrowDown", d = t.key === "Enter" || t.key === " ", T = t.key === "Escape";
724
- if (!a && !l && !n && !o && !d && !T) return;
725
- if (t.preventDefault(), t.stopPropagation(), T) {
723
+ const a = t.key === "ArrowLeft", l = t.key === "ArrowRight", n = t.key === "ArrowUp", o = t.key === "ArrowDown", d = t.key === "Enter" || t.key === " ", I = t.key === "Escape";
724
+ if (!a && !l && !n && !o && !d && !I) return;
725
+ if (t.preventDefault(), t.stopPropagation(), I) {
726
726
  rt();
727
727
  return;
728
728
  }
@@ -745,19 +745,19 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
745
745
  seriesIndex: ae.seriesIndex,
746
746
  plotIndex: 0
747
747
  };
748
- } else n ? O = ve({
748
+ } else n ? O = de({
749
749
  seriesIndex: k.value,
750
750
  plotIndex: w.value,
751
751
  direction: "up"
752
- }) : o ? O = ve({
752
+ }) : o ? O = de({
753
753
  seriesIndex: k.value,
754
754
  plotIndex: w.value,
755
755
  direction: "down"
756
- }) : a ? O = ve({
756
+ }) : a ? O = de({
757
757
  seriesIndex: k.value,
758
758
  plotIndex: w.value,
759
759
  direction: "left"
760
- }) : l && (O = ve({
760
+ }) : l && (O = de({
761
761
  seriesIndex: k.value,
762
762
  plotIndex: w.value,
763
763
  direction: "right"
@@ -786,7 +786,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
786
786
  toggleFullscreen: Qe,
787
787
  copyAlt: nt
788
788
  }), (t, a) => (s(), r("div", {
789
- id: `history_plot_${L.value}`,
789
+ id: `history_plot_${_.value}`,
790
790
  ref_key: "historyPlotChart",
791
791
  ref: X,
792
792
  class: H({ "vue-data-ui-component": !0, "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": q.value }),
@@ -795,14 +795,14 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
795
795
  onMouseleave: a[3] || (a[3] = () => c(Ue)(!1))
796
796
  }, [
797
797
  C("div", {
798
- id: `chart-instructions-${L.value}`,
798
+ id: `chart-instructions-${_.value}`,
799
799
  class: "sr-only"
800
800
  }, [
801
801
  C("p", null, D(e.value.a11y.translations.keyboardNavigation), 1)
802
802
  ], 8, Jl),
803
803
  le.value.body.length ? (s(), F(Kl, {
804
804
  key: 0,
805
- uid: L.value,
805
+ uid: _.value,
806
806
  head: le.value.head,
807
807
  body: le.value.body,
808
808
  caption: le.value.caption,
@@ -822,19 +822,19 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
822
822
  f(t.$slots, "annotator-action-close", {}, void 0, !0)
823
823
  ]),
824
824
  "annotator-action-color": p(({ color: l }) => [
825
- f(t.$slots, "annotator-action-color", $(I({ color: l })), void 0, !0)
825
+ f(t.$slots, "annotator-action-color", A(S({ color: l })), void 0, !0)
826
826
  ]),
827
827
  "annotator-action-draw": p(({ mode: l }) => [
828
- f(t.$slots, "annotator-action-draw", $(I({ mode: l })), void 0, !0)
828
+ f(t.$slots, "annotator-action-draw", A(S({ mode: l })), void 0, !0)
829
829
  ]),
830
830
  "annotator-action-undo": p(({ disabled: l }) => [
831
- f(t.$slots, "annotator-action-undo", $(I({ disabled: l })), void 0, !0)
831
+ f(t.$slots, "annotator-action-undo", A(S({ disabled: l })), void 0, !0)
832
832
  ]),
833
833
  "annotator-action-redo": p(({ disabled: l }) => [
834
- f(t.$slots, "annotator-action-redo", $(I({ disabled: l })), void 0, !0)
834
+ f(t.$slots, "annotator-action-redo", A(S({ disabled: l })), void 0, !0)
835
835
  ]),
836
836
  "annotator-action-delete": p(({ disabled: l }) => [
837
- f(t.$slots, "annotator-action-delete", $(I({ disabled: l })), void 0, !0)
837
+ f(t.$slots, "annotator-action-delete", A(S({ disabled: l })), void 0, !0)
838
838
  ]),
839
839
  _: 3
840
840
  }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : y("", !0),
@@ -867,17 +867,17 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
867
867
  }, null, 8, ["config"]))
868
868
  ], 4)) : y("", !0),
869
869
  C("div", {
870
- id: `legend-top-${L.value}`
870
+ id: `legend-top-${_.value}`
871
871
  }, null, 8, Ql),
872
- e.value.userOptions.show && ue.value && (c(We) || c(Ce)) ? (s(), F(c($t), {
872
+ e.value.userOptions.show && ue.value && (c(We) || c(Ae)) ? (s(), F(c($t), {
873
873
  ref_key: "userOptionsRef",
874
- ref: fe,
874
+ ref: pe,
875
875
  key: `user_option_${Fe.value}`,
876
876
  backgroundColor: e.value.style.chart.backgroundColor,
877
877
  color: e.value.style.chart.color,
878
- isPrinting: c(Ae),
879
- isImaging: c(Se),
880
- uid: L.value,
878
+ isPrinting: c(Se),
879
+ isImaging: c(Te),
880
+ uid: _.value,
881
881
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
882
882
  hasPdf: e.value.userOptions.buttons.pdf,
883
883
  hasImg: e.value.userOptions.buttons.img,
@@ -908,13 +908,13 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
908
908
  onToggleAnnotator: Ie,
909
909
  onCopyAlt: nt,
910
910
  style: M({
911
- visibility: c(We) ? c(Ce) ? "visible" : "hidden" : "visible"
911
+ visibility: c(We) ? c(Ae) ? "visible" : "hidden" : "visible"
912
912
  })
913
913
  }, vt({ _: 2 }, [
914
914
  t.$slots.menuIcon ? {
915
915
  name: "menuIcon",
916
916
  fn: p(({ isOpen: l, color: n }) => [
917
- f(t.$slots, "menuIcon", $(I({ isOpen: l, color: n })), void 0, !0)
917
+ f(t.$slots, "menuIcon", A(S({ isOpen: l, color: n })), void 0, !0)
918
918
  ]),
919
919
  key: "0"
920
920
  } : void 0,
@@ -963,21 +963,21 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
963
963
  t.$slots.optionFullscreen ? {
964
964
  name: "optionFullscreen",
965
965
  fn: p(({ toggleFullscreen: l, isFullscreen: n }) => [
966
- f(t.$slots, "optionFullscreen", $(I({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
966
+ f(t.$slots, "optionFullscreen", A(S({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
967
967
  ]),
968
968
  key: "7"
969
969
  } : void 0,
970
970
  t.$slots.optionAnnotator ? {
971
971
  name: "optionAnnotator",
972
972
  fn: p(({ toggleAnnotator: l, isAnnotator: n }) => [
973
- f(t.$slots, "optionAnnotator", $(I({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
973
+ f(t.$slots, "optionAnnotator", A(S({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
974
974
  ]),
975
975
  key: "8"
976
976
  } : void 0,
977
977
  t.$slots.optionAltCopy ? {
978
978
  name: "optionAltCopy",
979
979
  fn: p(({ altCopy: l }) => [
980
- f(t.$slots, "optionAltCopy", $(I({ altCopy: l })), void 0, !0)
980
+ f(t.$slots, "optionAltCopy", A(S({ altCopy: l })), void 0, !0)
981
981
  ]),
982
982
  key: "9"
983
983
  } : void 0
@@ -989,13 +989,13 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
989
989
  xmlns: c(Al),
990
990
  viewBox: `0 0 ${b.value.width < 0 ? 0.1 : b.value.width} ${b.value.height < 0 ? 0.1 : b.value.height}`,
991
991
  style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
992
- "aria-describedby": `chart-instructions-${L.value}`,
992
+ "aria-describedby": `chart-instructions-${_.value}`,
993
993
  tabindex: "0",
994
994
  onFocus: ul,
995
995
  onBlur: cl,
996
996
  onKeydown: dl
997
997
  }, [
998
- _e(c(It)),
998
+ Le(c(It)),
999
999
  t.$slots["chart-background"] ? (s(), r("foreignObject", {
1000
1000
  key: 0,
1001
1001
  x: v.value.left,
@@ -1009,8 +1009,8 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1009
1009
  f(t.$slots, "chart-background", {}, void 0, !0)
1010
1010
  ], 8, la)) : y("", !0),
1011
1011
  e.value.style.chart.plots.gradient.show ? (s(), r("defs", aa, [
1012
- (s(!0), r(A, null, S(g.value, (l, n) => (s(), r("radialGradient", {
1013
- id: `gradient_${n}_${L.value}`,
1012
+ (s(!0), r(T, null, $(g.value, (l, n) => (s(), r("radialGradient", {
1013
+ id: `gradient_${n}_${_.value}`,
1014
1014
  fy: "30%"
1015
1015
  }, [
1016
1016
  C("stop", {
@@ -1028,7 +1028,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1028
1028
  ], 8, oa))), 256))
1029
1029
  ])) : y("", !0),
1030
1030
  e.value.style.chart.grid.verticalLines.show ? (s(), r("g", ia, [
1031
- (s(!0), r(A, null, S(m.value.tickX, (l) => (s(), r("line", {
1031
+ (s(!0), r(T, null, $(m.value.tickX, (l) => (s(), r("line", {
1032
1032
  x1: l.x,
1033
1033
  x2: l.x,
1034
1034
  y1: l.y1,
@@ -1039,7 +1039,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1039
1039
  }, null, 8, ua))), 256))
1040
1040
  ])) : y("", !0),
1041
1041
  e.value.style.chart.axes.y.labels.show ? (s(), r("g", ca, [
1042
- (s(!0), r(A, null, S(m.value.tickY, (l) => (s(), r("line", {
1042
+ (s(!0), r(T, null, $(m.value.tickY, (l) => (s(), r("line", {
1043
1043
  stroke: e.value.style.chart.grid.verticalLines.stroke,
1044
1044
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
1045
1045
  "stroke-linecap": "round",
@@ -1052,9 +1052,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1052
1052
  e.value.style.chart.axes.y.labels.show ? (s(), r("g", {
1053
1053
  key: 4,
1054
1054
  ref_key: "yAxisScales",
1055
- ref: xe
1055
+ ref: be
1056
1056
  }, [
1057
- (s(!0), r(A, null, S(m.value.tickY, (l) => (s(), r("text", {
1057
+ (s(!0), r(T, null, $(m.value.tickY, (l) => (s(), r("text", {
1058
1058
  x: v.value.left + e.value.style.chart.axes.y.labels.offsetX - 4 - e.value.style.chart.plots.radius,
1059
1059
  y: l.y + i.value.yAxisLabels / 3,
1060
1060
  fill: e.value.style.chart.axes.y.labels.color,
@@ -1074,7 +1074,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1074
1074
  e.value.style.chart.axes.y.name.text ? (s(), r("text", {
1075
1075
  key: 5,
1076
1076
  ref_key: "yAxisLabel",
1077
- ref: ge,
1077
+ ref: xe,
1078
1078
  transform: `translate(${i.value.yAxisName}, ${b.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
1079
1079
  "font-size": i.value.yAxisName,
1080
1080
  fill: e.value.style.chart.axes.y.name.color,
@@ -1082,7 +1082,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1082
1082
  "text-anchor": "middle"
1083
1083
  }, D(e.value.style.chart.axes.y.name.text), 9, ha)) : y("", !0),
1084
1084
  e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", ya, [
1085
- (s(!0), r(A, null, S(m.value.tickY, (l) => (s(), r("line", {
1085
+ (s(!0), r(T, null, $(m.value.tickY, (l) => (s(), r("line", {
1086
1086
  x1: l.x1,
1087
1087
  x2: l.x2,
1088
1088
  y1: l.y,
@@ -1093,7 +1093,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1093
1093
  }, null, 8, fa))), 256))
1094
1094
  ])) : y("", !0),
1095
1095
  e.value.style.chart.axes.x.labels.show ? (s(), r("g", pa, [
1096
- (s(!0), r(A, null, S(m.value.tickX, (l) => (s(), r("line", {
1096
+ (s(!0), r(T, null, $(m.value.tickX, (l) => (s(), r("line", {
1097
1097
  stroke: e.value.style.chart.grid.verticalLines.stroke,
1098
1098
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
1099
1099
  "stroke-linecap": "round",
@@ -1108,7 +1108,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1108
1108
  ref_key: "xAxisScales",
1109
1109
  ref: re
1110
1110
  }, [
1111
- (s(!0), r(A, null, S(m.value.tickX, (l) => (s(), r("text", {
1111
+ (s(!0), r(T, null, $(m.value.tickX, (l) => (s(), r("text", {
1112
1112
  class: "vue-ui-history-plot-x-axis-scale",
1113
1113
  transform: `translate(${l.x}, ${v.value.bottom + e.value.style.chart.axes.x.labels.offsetY + i.value.xAxisLabels + e.value.style.chart.plots.radius}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
1114
1114
  fill: e.value.style.chart.axes.x.labels.color,
@@ -1128,7 +1128,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1128
1128
  e.value.style.chart.axes.x.name.text ? (s(), r("text", {
1129
1129
  key: 9,
1130
1130
  ref_key: "xAxisLabel",
1131
- ref: pe,
1131
+ ref: ge,
1132
1132
  x: b.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
1133
1133
  y: b.value.height,
1134
1134
  "font-size": i.value.xAxisName,
@@ -1156,7 +1156,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1156
1156
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
1157
1157
  "stroke-linecap": "round"
1158
1158
  }, null, 8, ka)) : y("", !0),
1159
- (s(!0), r(A, null, S(g.value, (l, n) => (s(), r("g", null, [
1159
+ (s(!0), r(T, null, $(g.value, (l, n) => (s(), r("g", null, [
1160
1160
  e.value.style.chart.paths.show ? (s(), r("g", {
1161
1161
  key: 0,
1162
1162
  style: M({
@@ -1182,17 +1182,17 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1182
1182
  class: H({ animated: e.value.useCssAnimation && !c(B) })
1183
1183
  }, null, 10, Ca)
1184
1184
  ], 4)) : y("", !0),
1185
- (s(!0), r(A, null, S(l.plots, (o) => (s(), r("circle", {
1185
+ (s(!0), r(T, null, $(l.plots, (o) => (s(), r("circle", {
1186
1186
  cx: o.x,
1187
1187
  cy: o.y,
1188
1188
  fill: e.value.style.chart.backgroundColor,
1189
1189
  r: i.value.plots,
1190
1190
  stroke: "none"
1191
1191
  }, null, 8, Aa))), 256)),
1192
- (s(!0), r(A, null, S(l.plots, (o) => (s(), r("circle", {
1192
+ (s(!0), r(T, null, $(l.plots, (o) => (s(), r("circle", {
1193
1193
  cx: o.x,
1194
1194
  cy: o.y,
1195
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${L.value})` : o.color,
1195
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${_.value})` : o.color,
1196
1196
  r: i.value.plots,
1197
1197
  stroke: e.value.style.chart.plots.stroke,
1198
1198
  "stroke-width": e.value.style.chart.plots.strokeWidth,
@@ -1203,7 +1203,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1203
1203
  })
1204
1204
  }, null, 14, Sa))), 256)),
1205
1205
  e.value.style.chart.plots.labels.show ? (s(), r("g", Ta, [
1206
- (s(!0), r(A, null, S(l.plots, (o) => (s(), r("g", null, [
1206
+ (s(!0), r(T, null, $(l.plots, (o) => (s(), r("g", null, [
1207
1207
  String(o.label).includes(`
1208
1208
  `) ? (s(), r("text", {
1209
1209
  key: 1,
@@ -1241,8 +1241,8 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1241
1241
  }, D(o.label), 15, $a))
1242
1242
  ]))), 256))
1243
1243
  ])) : y("", !0),
1244
- e.value.style.chart.plots.indexLabels.show ? (s(), r("g", _a, [
1245
- (s(!0), r(A, null, S(l.plots, (o, d) => (s(), r("text", {
1244
+ e.value.style.chart.plots.indexLabels.show ? (s(), r("g", La, [
1245
+ (s(!0), r(T, null, $(l.plots, (o, d) => (s(), r("text", {
1246
1246
  x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
1247
1247
  y: o.y + e.value.style.chart.plots.indexLabels.offsetY + i.value.indexLabels / 3,
1248
1248
  "font-size": i.value.indexLabels,
@@ -1254,11 +1254,11 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1254
1254
  opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
1255
1255
  transition: "opacity 0.2s ease-in-out"
1256
1256
  })
1257
- }, D(e.value.style.chart.plots.indexLabels.startAtZero ? d : d + 1), 15, La))), 256))
1257
+ }, D(e.value.style.chart.plots.indexLabels.startAtZero ? d : d + 1), 15, _a))), 256))
1258
1258
  ])) : y("", !0)
1259
1259
  ]))), 256)),
1260
- (s(!0), r(A, null, S(g.value, (l) => (s(), r("g", null, [
1261
- (s(!0), r(A, null, S(l.plots, (n, o) => (s(), r("circle", {
1260
+ (s(!0), r(T, null, $(g.value, (l) => (s(), r("g", null, [
1261
+ (s(!0), r(T, null, $(l.plots, (n, o) => (s(), r("circle", {
1262
1262
  cx: n.x,
1263
1263
  cy: n.y,
1264
1264
  fill: "transparent",
@@ -1285,24 +1285,24 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1285
1285
  f(t.$slots, "svg", {
1286
1286
  svg: {
1287
1287
  ...b.value,
1288
- isPrintingImg: c(Ae) | c(Se) | se.value,
1288
+ isPrintingImg: c(Se) | c(Te) | se.value,
1289
1289
  isPrintingSvg: ne.value
1290
1290
  }
1291
1291
  }, void 0, !0)
1292
1292
  ], 44, ta)),
1293
1293
  t.$slots.hint ? (s(), r("div", za, [
1294
- f(t.$slots, "hint", $(I({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: be.value })), void 0, !0)
1294
+ f(t.$slots, "hint", A(S({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: me.value })), void 0, !0)
1295
1295
  ])) : y("", !0)
1296
1296
  ]),
1297
1297
  t.$slots.watermark ? (s(), r("div", Oa, [
1298
- f(t.$slots, "watermark", $(I({ isPrinting: c(Ae) || c(Se) || se.value || ne.value })), void 0, !0)
1298
+ f(t.$slots, "watermark", A(S({ isPrinting: c(Se) || c(Te) || se.value || ne.value })), void 0, !0)
1299
1299
  ])) : y("", !0),
1300
1300
  C("div", {
1301
- id: `legend-bottom-${L.value}`
1301
+ id: `legend-bottom-${_.value}`
1302
1302
  }, null, 8, Ma),
1303
1303
  Re.value ? (s(), F(xl, {
1304
1304
  key: 6,
1305
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${L.value}` : `#legend-bottom-${L.value}`
1305
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${_.value}` : `#legend-bottom-${_.value}`
1306
1306
  }, [
1307
1307
  C("div", {
1308
1308
  ref_key: "chartLegend",
@@ -1351,7 +1351,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1351
1351
  }, [
1352
1352
  f(t.$slots, "source", {}, void 0, !0)
1353
1353
  ], 512)) : y("", !0),
1354
- _e(c(wt), {
1354
+ Le(c(wt), {
1355
1355
  teleportTo: e.value.style.chart.tooltip.teleportTo,
1356
1356
  show: z.value.showTooltip && oe.value,
1357
1357
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -1364,7 +1364,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1364
1364
  position: e.value.style.chart.tooltip.position,
1365
1365
  offsetY: e.value.style.chart.tooltip.offsetY,
1366
1366
  parent: X.value,
1367
- content: ye.value,
1367
+ content: fe.value,
1368
1368
  isCustom: Z.value,
1369
1369
  isFullscreen: q.value,
1370
1370
  smooth: e.value.style.chart.tooltip.smooth,
@@ -1375,10 +1375,13 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1375
1375
  a11yPosition: Ee.value
1376
1376
  }, {
1377
1377
  "tooltip-before": p(() => [
1378
- f(t.$slots, "tooltip-before", $(I({ ...Te.value })), void 0, !0)
1378
+ f(t.$slots, "tooltip-before", A(S({ ...ve.value })), void 0, !0)
1379
+ ]),
1380
+ tooltip: p(() => [
1381
+ f(t.$slots, "tooltip", A(S({ ...ve.value })), void 0, !0)
1379
1382
  ]),
1380
1383
  "tooltip-after": p(() => [
1381
- f(t.$slots, "tooltip-after", $(I({ ...Te.value })), void 0, !0)
1384
+ f(t.$slots, "tooltip-after", A(S({ ...ve.value })), void 0, !0)
1382
1385
  ]),
1383
1386
  _: 3
1384
1387
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
@@ -1429,7 +1432,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1429
1432
  onClick: a[1] || (a[1] = (l) => $e(e.value.userOptions.callbacks.csv)),
1430
1433
  style: M({ cursor: j.value ? "pointer" : "default" })
1431
1434
  }, [
1432
- _e(c(Ct), {
1435
+ Le(c(Ct), {
1433
1436
  name: "fileCsv",
1434
1437
  stroke: te.value.props.color
1435
1438
  }, null, 8, ["stroke"])
@@ -1443,7 +1446,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1443
1446
  ], !0)
1444
1447
  ], 46, Zl));
1445
1448
  }
1446
- }, oo = /* @__PURE__ */ ql(Fa, [["__scopeId", "data-v-156f0653"]]);
1449
+ }, oo = /* @__PURE__ */ ql(Fa, [["__scopeId", "data-v-9f997071"]]);
1447
1450
  export {
1448
1451
  oo as default
1449
1452
  };