vue-data-ui 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.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-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,19 +1,19 @@
1
- import { defineAsyncComponent as I, ref as v, shallowRef as Ue, computed as h, onMounted as Rt, onBeforeUnmount as Bt, toRefs as Yt, watch as K, watchEffect as Ht, createElementBlock as n, openBlock as o, unref as i, normalizeStyle as $, normalizeClass as F, renderSlot as p, createBlock as N, createCommentVNode as d, createElementVNode as S, createVNode as xe, createSlots as We, withCtx as g, normalizeProps as R, guardReactiveProps as B, Fragment as b, renderList as k, toDisplayString as M, Teleport as Et, resolveDynamicComponent as Ut, mergeProps as Wt, createTextVNode as je, nextTick as jt } from "vue";
2
- import { c as Ge, o as Ve, f as qe, g as Gt, t as Vt, e as qt, h as Jt, p as ee, m as Je, a as Y, d as H, X as Qt, S as Zt, U as Kt, M as el, J as tl, R as D, b as ll, O as te, P as al, Q as sl, G as ol } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as P, ref as v, shallowRef as Ue, computed as h, onMounted as Rt, onBeforeUnmount as Bt, toRefs as Yt, watch as K, watchEffect as Ht, createElementBlock as n, openBlock as o, unref as u, normalizeStyle as L, normalizeClass as X, renderSlot as y, createBlock as F, createCommentVNode as d, createElementVNode as S, createVNode as xe, withCtx as f, normalizeProps as $, guardReactiveProps as _, createSlots as We, Fragment as b, renderList as k, toDisplayString as O, Teleport as Et, resolveDynamicComponent as Ut, mergeProps as Wt, createTextVNode as je, nextTick as jt } from "vue";
2
+ import { c as Ge, o as Ve, f as qe, g as Gt, t as Vt, e as qt, h as Jt, p as ee, m as Je, a as Y, d as H, X as Qt, S as Zt, U as Kt, M as el, J as tl, R, b as ll, O as te, P as al, Q as sl, G as ol } from "./lib-C_mNZmhD.js";
3
3
  import { t as Qe, u as nl } from "./useResponsive-DfdjqQps.js";
4
- import { u as rl, a as Ze } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as ul, B as il } from "./BaseScanner-BgWxam9d.js";
4
+ import { u as rl, a as Ze } from "./useNestedProp-DjGXw6S9.js";
5
+ import { u as il, B as ul } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as cl } from "./usePrinter-DTzqpYKF.js";
7
7
  import { u as vl } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as hl } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as dl } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { u as yl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
11
  import fl from "./img-BecE5qXd.js";
12
- import xl from "./Title-l36lOBMx.js";
12
+ import xl from "./Title-isbiM8i8.js";
13
13
  import { t as pl } from "./themes-AUNCOb2G.js";
14
14
  import gl from "./Legend-G6GMcdAc.js";
15
15
  import { _ as ml } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"], Al = { key: 1 }, Sl = ["id"], _l = ["stop-color"], $l = ["stop-color"], Tl = ["stop-color"], Ll = { key: 2 }, Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zl = { key: 3 }, Ol = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Il = ["x", "y", "fill", "font-size"], Nl = ["transform", "font-size", "fill", "font-weight"], Pl = { key: 6 }, Fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dl = { key: 7 }, Xl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Rl = ["transform", "fill", "font-size", "text-anchor"], Bl = ["x", "y", "font-size", "fill", "font-weight"], Yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], El = ["d", "stroke", "stroke-width"], Ul = ["d", "stroke", "stroke-width"], Wl = ["cx", "cy", "fill", "r"], jl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Gl = { key: 1 }, Vl = ["x", "y", "font-size", "fill", "font-weight"], ql = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Jl = { key: 2 }, Ql = ["x", "y", "font-size", "font-weight", "fill"], Zl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Kl = {
16
+ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"], Al = { key: 1 }, Sl = ["id"], $l = ["stop-color"], _l = ["stop-color"], Tl = ["stop-color"], Ll = { key: 2 }, Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zl = { key: 3 }, Ol = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Il = ["x", "y", "fill", "font-size"], Nl = ["transform", "font-size", "fill", "font-weight"], Pl = { key: 6 }, Fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dl = { key: 7 }, Xl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Rl = ["transform", "fill", "font-size", "text-anchor"], Bl = ["x", "y", "font-size", "fill", "font-weight"], Yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], El = ["d", "stroke", "stroke-width"], Ul = ["d", "stroke", "stroke-width"], Wl = ["cx", "cy", "fill", "r"], jl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Gl = { key: 1 }, Vl = ["x", "y", "font-size", "fill", "font-weight"], ql = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Jl = { key: 2 }, Ql = ["x", "y", "font-size", "font-weight", "fill"], Zl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Kl = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
19
  }, ea = ["id"], ta = ["onClick"], la = ["innerHTML"], aa = {
@@ -34,20 +34,20 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
34
34
  },
35
35
  emits: ["selectLegend", "selectDatapoint"],
36
36
  setup(Ke, { expose: et, emit: tt }) {
37
- const lt = I(() => import("./Tooltip-oWCO1HKy.js")), at = I(() => import("./BaseIcon-BmMbm4d0.js")), st = I(() => import("./vue-ui-accordion-CZ0thhxa.js")), ot = I(() => import("./DataTable-BT7VF2ua.js")), nt = I(() => import("./PenAndPaper-DSvu9dwa.js")), rt = I(() => import("./UserOptions-CGnQt6Fd.js")), ut = I(() => import("./PackageVersion-Cyx_s25h.js")), it = I(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_history_plot: ct } = rl(), y = Ke, T = v(null), pe = v(null), ge = v(0), me = v(null), be = v(0), ke = v(0), we = v(0), z = Ue(null), X = Ue(null), Ce = v(null), L = v(Ge()), le = v(!1), ae = v(""), m = v([]), E = v(!1), A = v(null), U = v(!1), Ae = v(null), Se = v(!1), W = v(null), se = v(null), oe = v(null), ne = v(null), G = v(null), re = v(null), V = h({
38
- get: () => !!y.dataset && y.dataset.length,
37
+ const lt = P(() => import("./Tooltip-oWCO1HKy.js")), at = P(() => import("./BaseIcon-BmMbm4d0.js")), st = P(() => import("./vue-ui-accordion-CqhVCfc2.js")), ot = P(() => import("./DataTable-BT7VF2ua.js")), nt = P(() => import("./PenAndPaper-SZQIAgkg.js")), rt = P(() => import("./UserOptions-CGnQt6Fd.js")), it = P(() => import("./PackageVersion-DQvyATVa.js")), ut = P(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_history_plot: ct } = rl(), x = Ke, M = v(null), pe = v(null), ge = v(0), me = v(null), be = v(0), ke = v(0), we = v(0), I = Ue(null), B = Ue(null), Ce = v(null), z = v(Ge()), le = v(!1), ae = v(""), m = v([]), E = v(!1), A = v(null), U = v(!1), Ae = v(null), Se = v(!1), W = v(null), se = v(null), oe = v(null), ne = v(null), G = v(null), re = v(null), V = h({
38
+ get: () => !!x.dataset && x.dataset.length,
39
39
  set: (t) => t
40
- }), _e = tt;
40
+ }), $e = tt;
41
41
  Rt(() => {
42
42
  Se.value = !0, Te();
43
43
  });
44
- const $e = h(() => !!e.value.debug);
44
+ const _e = h(() => !!e.value.debug);
45
45
  function Te() {
46
- if (Ve(y.dataset) ? (qe({
46
+ if (Ve(x.dataset) ? (qe({
47
47
  componentName: "VueUiHistoryPlot",
48
48
  type: "dataset",
49
- debug: $e.value
50
- }), ie.value = !0) : y.dataset.forEach((t, a) => {
49
+ debug: _e.value
50
+ }), ue.value = !0) : x.dataset.forEach((t, a) => {
51
51
  Gt({
52
52
  datasetObject: t,
53
53
  requiredAttributes: ["name", "values"]
@@ -57,56 +57,56 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
57
57
  type: "datasetSerieAttribute",
58
58
  property: l,
59
59
  index: a,
60
- debug: $e.value
60
+ debug: _e.value
61
61
  });
62
62
  });
63
- }), Ve(y.dataset) || (ie.value = e.value.loading), e.value.responsive) {
63
+ }), Ve(x.dataset) || (ue.value = e.value.loading), e.value.responsive) {
64
64
  const t = Qe(() => {
65
65
  const { width: a, height: l } = nl({
66
- chart: T.value,
66
+ chart: M.value,
67
67
  title: e.value.style.chart.title.text ? pe.value : null,
68
68
  noTitle: Ce.value,
69
69
  legend: e.value.style.chart.legend.show ? me.value : null,
70
70
  source: Ae.value
71
71
  });
72
72
  requestAnimationFrame(() => {
73
- f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (r.value.plots = D({
73
+ p.value.width = a, p.value.height = l, e.value.responsiveProportionalSizing ? (r.value.plots = R({
74
74
  relator: Math.min(a, l),
75
75
  adjuster: 600,
76
76
  source: e.value.style.chart.plots.radius,
77
77
  threshold: 3,
78
78
  fallback: 3
79
- }), r.value.indexLabels = D({
79
+ }), r.value.indexLabels = R({
80
80
  relator: Math.min(a, l),
81
81
  adjuster: 600,
82
82
  source: e.value.style.chart.plots.indexLabels.fontSize,
83
83
  threshold: 6,
84
84
  fallback: 6
85
- }), r.value.labels = D({
85
+ }), r.value.labels = R({
86
86
  relator: Math.min(a, l),
87
87
  adjuster: 600,
88
88
  source: e.value.style.chart.plots.labels.fontSize,
89
89
  threshold: 6,
90
90
  fallback: 6
91
- }), r.value.xAxisLabels = D({
91
+ }), r.value.xAxisLabels = R({
92
92
  relator: Math.min(a, l),
93
93
  adjuster: 600,
94
94
  source: e.value.style.chart.axes.x.labels.fontSize,
95
95
  threshold: 6,
96
96
  fallback: 6
97
- }), r.value.xAxisName = D({
97
+ }), r.value.xAxisName = R({
98
98
  relator: Math.min(a, l),
99
99
  adjuster: 600,
100
100
  source: e.value.style.chart.axes.x.name.fontSize,
101
101
  threshold: 6,
102
102
  fallback: 6
103
- }), r.value.yAxisLabels = D({
103
+ }), r.value.yAxisLabels = R({
104
104
  relator: Math.min(a, l),
105
105
  adjuster: 600,
106
106
  source: e.value.style.chart.axes.y.labels.fontSize,
107
107
  threshold: 6,
108
108
  fallback: 6
109
- }), r.value.yAxisName = D({
109
+ }), r.value.yAxisName = R({
110
110
  relator: Math.min(a, l),
111
111
  adjuster: 600,
112
112
  source: e.value.style.chart.axes.y.name.fontSize,
@@ -115,30 +115,30 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
115
115
  })) : (r.value.plots = e.value.style.chart.plots.radius, r.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, r.value.labels = e.value.style.chart.plots.labels.fontSize, r.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, r.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, r.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, r.value.yAxisName = e.value.style.chart.axes.y.name.fontSize);
116
116
  });
117
117
  });
118
- z.value && (X.value && z.value.unobserve(X.value), z.value.disconnect()), z.value = new ResizeObserver(t), X.value = T.value.parentNode, z.value.observe(X.value);
118
+ I.value && (B.value && I.value.unobserve(B.value), I.value.disconnect()), I.value = new ResizeObserver(t), B.value = M.value.parentNode, I.value.observe(B.value);
119
119
  }
120
120
  }
121
121
  Bt(() => {
122
- z.value && (X.value && z.value.unobserve(X.value), z.value.disconnect());
122
+ I.value && (B.value && I.value.unobserve(B.value), I.value.disconnect());
123
123
  });
124
- function ue() {
124
+ function ie() {
125
125
  const t = Ze({
126
- userConfig: y.config,
126
+ userConfig: x.config,
127
127
  defaultConfig: ct
128
128
  });
129
129
  let a = {};
130
130
  return t.theme ? a = {
131
131
  ...Ze({
132
- userConfig: pl.vue_ui_history_plot[t.theme] || y.config,
132
+ userConfig: pl.vue_ui_history_plot[t.theme] || x.config,
133
133
  defaultConfig: t
134
134
  }),
135
135
  customPalette: ll[t.theme] || ee
136
- } : a = t, y.config && te(y.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = y.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, y.config && te(y.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = y.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, y.config && te(y.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = y.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, y.config && te(y.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = y.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
136
+ } : a = t, x.config && te(x.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = x.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, x.config && te(x.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = x.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, x.config && te(x.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = x.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, x.config && te(x.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = x.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
137
137
  }
138
- const e = v(ue()), { loading: O, FINAL_DATASET: vt, manualLoading: ie } = ul({
139
- ...Yt(y),
138
+ const e = v(ie()), { loading: N, FINAL_DATASET: vt, manualLoading: ue } = il({
139
+ ...Yt(x),
140
140
  FINAL_CONFIG: e,
141
- prepareConfig: ue,
141
+ prepareConfig: ie,
142
142
  skeletonDataset: [
143
143
  {
144
144
  name: "",
@@ -204,13 +204,13 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
204
204
  }
205
205
  })
206
206
  }), { userOptionsVisible: ce, setUserOptionsVisibility: Le, keepUserOptionState: Me } = hl({ config: e.value }), { svgRef: ve } = dl({ config: e.value.style.chart.title });
207
- K(() => y.config, (t) => {
208
- O.value || (e.value = ue()), ce.value = !e.value.userOptions.showOnChartHover, Te(), ge.value += 1, ke.value += 1, be.value += 1, f.value.height = e.value.style.chart.height, f.value.width = e.value.style.chart.width, r.value.plots = e.value.style.chart.plots.radius, r.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, r.value.labels = e.value.style.chart.plots.labels.fontSize, r.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, r.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, r.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, r.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
209
- }, { deep: !0 }), K(() => y.dataset, (t) => {
210
- Array.isArray(t) && t.length > 0 && (ie.value = !1);
207
+ K(() => x.config, (t) => {
208
+ N.value || (e.value = ie()), ce.value = !e.value.userOptions.showOnChartHover, Te(), ge.value += 1, ke.value += 1, be.value += 1, p.value.height = e.value.style.chart.height, p.value.width = e.value.style.chart.width, r.value.plots = e.value.style.chart.plots.radius, r.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, r.value.labels = e.value.style.chart.plots.labels.fontSize, r.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, r.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, r.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, r.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
209
+ }, { deep: !0 }), K(() => x.dataset, (t) => {
210
+ Array.isArray(t) && t.length > 0 && (ue.value = !1);
211
211
  }, { deep: !0 });
212
212
  const { isPrinting: ze, isImaging: Oe, generatePdf: Ie, generateImage: Ne } = cl({
213
- elementId: `history_plot_${L.value}`,
213
+ elementId: `history_plot_${z.value}`,
214
214
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
215
215
  options: e.value.userOptions.print
216
216
  }), ht = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), dt = h(() => qt(e.value.customPalette)), C = v({
@@ -223,15 +223,15 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
223
223
  showTooltip: e.value.style.chart.tooltip.show
224
224
  };
225
225
  }, { immediate: !0 });
226
- const f = v({
226
+ const p = v({
227
227
  height: e.value.style.chart.height,
228
228
  width: e.value.style.chart.width
229
- }), yt = h(() => f.value.width), ft = h(() => f.value.height);
229
+ }), yt = h(() => p.value.width), ft = h(() => p.value.height);
230
230
  function xt() {
231
231
  let t = 0;
232
- re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((u, s) => {
232
+ re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((i, s) => {
233
233
  const w = s.getComputedTextLength();
234
- return w > u ? w : u;
234
+ return w > i ? w : i;
235
235
  }, 0));
236
236
  const a = ne.value ? ne.value.getBoundingClientRect().width : 0;
237
237
  return t + a + (a ? 24 : 0);
@@ -242,8 +242,8 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
242
242
  Ht((t) => {
243
243
  const a = G.value;
244
244
  if (!a) return;
245
- const l = new ResizeObserver((u) => {
246
- pt(u[0].contentRect.height);
245
+ const l = new ResizeObserver((i) => {
246
+ pt(i[0].contentRect.height);
247
247
  });
248
248
  l.observe(a), t(() => l.disconnect());
249
249
  });
@@ -253,14 +253,14 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
253
253
  let a = 0;
254
254
  return G.value && (a = Pe.value), t + a;
255
255
  }), c = h(() => {
256
- const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = xt(), u = e.value.style.chart.plots.radius;
256
+ const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = xt(), i = e.value.style.chart.plots.radius;
257
257
  return {
258
258
  left: t + l + e.value.style.chart.axes.y.name.offsetX,
259
- top: a + u,
260
- right: f.value.width - e.value.style.chart.padding.right - u - e.value.style.chart.axes.y.name.offsetX,
261
- bottom: f.value.height - e.value.style.chart.padding.bottom - Fe.value - u - e.value.style.chart.axes.x.name.offsetY,
262
- width: f.value.width - t - e.value.style.chart.padding.right - l - u - e.value.style.chart.axes.y.name.offsetX,
263
- height: f.value.height - a - e.value.style.chart.padding.bottom - Fe.value - u * 2 - e.value.style.chart.axes.x.name.offsetY
259
+ top: a + i,
260
+ right: p.value.width - e.value.style.chart.padding.right - i - e.value.style.chart.axes.y.name.offsetX,
261
+ bottom: p.value.height - e.value.style.chart.padding.bottom - Fe.value - i - e.value.style.chart.axes.x.name.offsetY,
262
+ width: p.value.width - t - e.value.style.chart.padding.right - l - i - e.value.style.chart.axes.y.name.offsetX,
263
+ height: p.value.height - a - e.value.style.chart.padding.bottom - Fe.value - i * 2 - e.value.style.chart.axes.x.name.offsetY
264
264
  };
265
265
  }), r = v({
266
266
  plots: e.value.style.chart.plots.radius,
@@ -270,17 +270,17 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
270
270
  xAxisName: e.value.style.chart.axes.x.name.fontSize,
271
271
  yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
272
272
  yAxisName: e.value.style.chart.axes.y.name.fontSize
273
- }), _ = h(() => vt.value.map((t, a) => ({
273
+ }), T = h(() => vt.value.map((t, a) => ({
274
274
  ...t,
275
275
  color: t.color ? Jt(t.color) : dt.value[a] || ee[a] || ee[a % ee.length],
276
276
  seriesIndex: a
277
- }))), gt = h(() => Math.max(..._.value.filter((t) => !m.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), mt = h(() => {
278
- const t = Math.min(..._.value.filter((a) => !m.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
277
+ }))), gt = h(() => Math.max(...T.value.filter((t) => !m.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), mt = h(() => {
278
+ const t = Math.min(...T.value.filter((a) => !m.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
279
279
  return t < 0 ? t : 0;
280
- }), bt = h(() => Math.max(..._.value.filter((t) => !m.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), kt = h(() => {
281
- const t = Math.min(..._.value.filter((a) => !m.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
280
+ }), bt = h(() => Math.max(...T.value.filter((t) => !m.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), kt = h(() => {
281
+ const t = Math.min(...T.value.filter((a) => !m.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
282
282
  return t < 0 ? t : 0;
283
- }), x = h(() => {
283
+ }), g = h(() => {
284
284
  const t = Je(
285
285
  e.value.style.chart.axes.x.scaleMin === null ? mt.value : e.value.style.chart.axes.x.scaleMin,
286
286
  e.value.style.chart.axes.x.scaleMax === null ? gt.value : e.value.style.chart.axes.x.scaleMax,
@@ -308,14 +308,14 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
308
308
  };
309
309
  });
310
310
  function wt(t) {
311
- const a = x.value.x.min < 0 ? Math.abs(x.value.x.min) : x.value.x.min > 0 ? -x.value.x.min : 0;
312
- return c.value.left + ((t || 0) + a) / (x.value.x.max + a) * c.value.width;
311
+ const a = g.value.x.min < 0 ? Math.abs(g.value.x.min) : g.value.x.min > 0 ? -g.value.x.min : 0;
312
+ return c.value.left + ((t || 0) + a) / (g.value.x.max + a) * c.value.width;
313
313
  }
314
314
  function Ct(t) {
315
- const a = x.value.y.min < 0 ? Math.abs(x.value.y.min) : x.value.y.min > 0 ? -x.value.y.min : 0;
316
- return c.value.bottom - ((t || 0) + a) / (x.value.y.max + a) * c.value.height;
315
+ const a = g.value.y.min < 0 ? Math.abs(g.value.y.min) : g.value.y.min > 0 ? -g.value.y.min : 0;
316
+ return c.value.bottom - ((t || 0) + a) / (g.value.y.max + a) * c.value.height;
317
317
  }
318
- const P = h(() => _.value.filter((t) => !m.value.includes(t.seriesIndex)).map((t, a) => {
318
+ const D = h(() => T.value.filter((t) => !m.value.includes(t.seriesIndex)).map((t, a) => {
319
319
  const l = t.values.map((s, w) => ({
320
320
  valueX: s.x,
321
321
  valueY: s.y,
@@ -325,20 +325,20 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
325
325
  color: t.color,
326
326
  seriesName: t.name,
327
327
  id: Ge()
328
- })), u = l.map((s) => `${s.x},${s.y} `).join("").trim();
328
+ })), i = l.map((s) => `${s.x},${s.y} `).join("").trim();
329
329
  return {
330
330
  ...t,
331
331
  plots: l,
332
- path: `M${u}`
332
+ path: `M${i}`
333
333
  };
334
334
  }));
335
335
  function q(t) {
336
336
  m.value.includes(t) ? m.value = m.value.filter((a) => a !== t) : m.value.push(t);
337
337
  }
338
338
  function De(t) {
339
- if (!_.value.length)
339
+ if (!T.value.length)
340
340
  return e.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null;
341
- const a = _.value.find((l) => l.name === t);
341
+ const a = T.value.find((l) => l.name === t);
342
342
  return a || (e.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${t}"`), null);
343
343
  }
344
344
  function At(t) {
@@ -349,13 +349,13 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
349
349
  const a = De(t);
350
350
  a !== null && (m.value.includes(a.seriesIndex) || q(a.seriesIndex));
351
351
  }
352
- const he = h(() => _.value.map((t) => ({
352
+ const he = h(() => T.value.map((t) => ({
353
353
  ...t,
354
354
  opacity: m.value.includes(t.seriesIndex) ? 0.5 : 1,
355
355
  segregate: () => q(t.seriesIndex),
356
356
  isSegregated: m.value.includes(t.seriesIndex),
357
357
  shape: "circle"
358
- }))), _t = h(() => ({
358
+ }))), $t = h(() => ({
359
359
  cy: "history-plot-div-legend",
360
360
  backgroundColor: e.value.style.chart.legend.backgroundColor,
361
361
  color: e.value.style.chart.legend.color,
@@ -363,11 +363,11 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
363
363
  paddingBottom: 12,
364
364
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
365
365
  }));
366
- function $t({ datapoint: t, plotIndex: a, seriesIndex: l }) {
367
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), _e("selectDatapoint", t);
366
+ function _t({ datapoint: t, plotIndex: a, seriesIndex: l }) {
367
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), $e("selectDatapoint", t);
368
368
  }
369
369
  function Xe(t) {
370
- _e("selectLegend", {
370
+ $e("selectLegend", {
371
371
  ...t,
372
372
  isSegregated: !t.isSegregated,
373
373
  opacity: t.isSegregated ? 1 : 0.5
@@ -381,15 +381,15 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
381
381
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), le.value = !1, A.value = null;
382
382
  }
383
383
  function Lt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
384
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), de.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: _.value }, A.value = t;
385
- const u = e.value.style.chart.tooltip.customFormat;
386
- if (U.value = !1, ol(u))
384
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), de.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: T.value }, A.value = t;
385
+ const i = e.value.style.chart.tooltip.customFormat;
386
+ if (U.value = !1, ol(i))
387
387
  try {
388
- const s = u({
388
+ const s = i({
389
389
  seriesIndex: l,
390
390
  datapoint: t,
391
391
  plotIndex: a,
392
- series: _.value,
392
+ series: T.value,
393
393
  config: e.value
394
394
  });
395
395
  typeof s == "string" && (ae.value = s, U.value = !0);
@@ -420,7 +420,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
420
420
  }
421
421
  le.value = !0;
422
422
  }
423
- h(() => ({ head: P.value.map((a) => ({
423
+ h(() => ({ head: D.value.map((a) => ({
424
424
  name: a.name,
425
425
  color: a.color
426
426
  })) }));
@@ -430,7 +430,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
430
430
  e.value.table.columnNames.datapoint,
431
431
  e.value.table.columnNames.x,
432
432
  e.value.table.columnNames.y
433
- ], a = P.value.flatMap((u) => u.plots.map((s) => [
433
+ ], a = D.value.flatMap((i) => i.plots.map((s) => [
434
434
  {
435
435
  color: s.color,
436
436
  name: s.seriesName
@@ -483,16 +483,16 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
483
483
  [e.value.table.columnNames.datapoint],
484
484
  [e.value.table.columnNames.x],
485
485
  [e.value.table.columnNames.y]
486
- ], l = P.value.flatMap((w) => w.plots.map((Z) => [
486
+ ], l = D.value.flatMap((w) => w.plots.map((Z) => [
487
487
  [Z.seriesName],
488
488
  [Z.label],
489
489
  [Z.valueX],
490
490
  [Z.valueY]
491
- ])), u = [
491
+ ])), i = [
492
492
  [e.value.style.chart.title.text],
493
493
  [e.value.style.chart.title.subtitle.text],
494
494
  a
495
- ].concat(l), s = al(u);
495
+ ].concat(l), s = al(i);
496
496
  t ? t(s) : sl({
497
497
  csvContent: s,
498
498
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
@@ -510,21 +510,21 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
510
510
  C.value.showTooltip = !C.value.showTooltip;
511
511
  }
512
512
  function Mt() {
513
- return P.value;
513
+ return D.value;
514
514
  }
515
515
  async function zt({ scale: t = 2 } = {}) {
516
- if (!T.value) return;
517
- const { width: a, height: l } = T.value.getBoundingClientRect(), u = a / l, { imageUri: s, base64: w } = await fl({ domElement: T.value, base64: !0, img: !0, scale: t });
516
+ if (!M.value) return;
517
+ const { width: a, height: l } = M.value.getBoundingClientRect(), i = a / l, { imageUri: s, base64: w } = await fl({ domElement: M.value, base64: !0, img: !0, scale: t });
518
518
  return {
519
519
  imageUri: s,
520
520
  base64: w,
521
521
  title: e.value.style.chart.title.text,
522
522
  width: a,
523
523
  height: l,
524
- aspectRatio: u
524
+ aspectRatio: i
525
525
  };
526
526
  }
527
- const Ot = h(() => x.value.tickX), It = h(() => ({ start: 0, end: x.value.tickX.length }));
527
+ const Ot = h(() => g.value.tickX), It = h(() => ({ start: 0, end: g.value.tickX.length }));
528
528
  yl({
529
529
  timeLabelsEls: G,
530
530
  timeLabels: Ot,
@@ -541,7 +541,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
541
541
  const j = h(() => {
542
542
  const t = e.value.table.useDialog && !e.value.table.show, a = C.value.showTable;
543
543
  return {
544
- component: t ? it : st,
544
+ component: t ? ut : st,
545
545
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
546
546
  props: t ? {
547
547
  backgroundColor: e.value.table.th.backgroundColor,
@@ -549,7 +549,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
549
549
  headerColor: e.value.table.th.color,
550
550
  headerBg: e.value.table.th.backgroundColor,
551
551
  isFullscreen: E.value,
552
- fullscreenParent: T.value,
552
+ fullscreenParent: M.value,
553
553
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
554
554
  } : {
555
555
  hideDetails: !0,
@@ -583,8 +583,8 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
583
583
  });
584
584
  async function Ee({ isCb: t }) {
585
585
  if (t) {
586
- const { blob: a, url: l, text: u, dataUrl: s } = await Xt();
587
- e.value.userOptions.callbacks.svg({ blob: a, url: l, text: u, dataUrl: s });
586
+ const { blob: a, url: l, text: i, dataUrl: s } = await Xt();
587
+ e.value.userOptions.callbacks.svg({ blob: a, url: l, text: i, dataUrl: s });
588
588
  } else
589
589
  Dt();
590
590
  }
@@ -602,23 +602,43 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
602
602
  toggleAnnotator: fe,
603
603
  toggleFullscreen: Re
604
604
  }), (t, a) => (o(), n("div", {
605
- id: `history_plot_${L.value}`,
605
+ id: `history_plot_${z.value}`,
606
606
  ref_key: "historyPlotChart",
607
- ref: T,
608
- class: F({ "vue-data-ui-component": !0, "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": E.value }),
609
- style: $(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
610
- onMouseenter: a[2] || (a[2] = () => i(Le)(!0)),
611
- onMouseleave: a[3] || (a[3] = () => i(Le)(!1))
607
+ ref: M,
608
+ class: X({ "vue-data-ui-component": !0, "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": E.value }),
609
+ style: L(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
610
+ onMouseenter: a[2] || (a[2] = () => u(Le)(!0)),
611
+ onMouseleave: a[3] || (a[3] = () => u(Le)(!1))
612
612
  }, [
613
- p(t.$slots, "userConfig", {}, void 0, !0),
614
- e.value.userOptions.buttons.annotator ? (o(), N(i(nt), {
613
+ y(t.$slots, "userConfig", {}, void 0, !0),
614
+ e.value.userOptions.buttons.annotator ? (o(), F(u(nt), {
615
615
  key: 0,
616
- svgRef: i(ve),
616
+ svgRef: u(ve),
617
617
  backgroundColor: e.value.style.chart.backgroundColor,
618
618
  color: e.value.style.chart.color,
619
619
  active: Q.value,
620
620
  onClose: fe
621
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
621
+ }, {
622
+ "annotator-action-close": f(() => [
623
+ y(t.$slots, "annotator-action-close", {}, void 0, !0)
624
+ ]),
625
+ "annotator-action-color": f(({ color: l }) => [
626
+ y(t.$slots, "annotator-action-color", $(_({ color: l })), void 0, !0)
627
+ ]),
628
+ "annotator-action-draw": f(({ mode: l }) => [
629
+ y(t.$slots, "annotator-action-draw", $(_({ mode: l })), void 0, !0)
630
+ ]),
631
+ "annotator-action-undo": f(({ disabled: l }) => [
632
+ y(t.$slots, "annotator-action-undo", $(_({ disabled: l })), void 0, !0)
633
+ ]),
634
+ "annotator-action-redo": f(({ disabled: l }) => [
635
+ y(t.$slots, "annotator-action-redo", $(_({ disabled: l })), void 0, !0)
636
+ ]),
637
+ "annotator-action-delete": f(({ disabled: l }) => [
638
+ y(t.$slots, "annotator-action-delete", $(_({ disabled: l })), void 0, !0)
639
+ ]),
640
+ _: 3
641
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
622
642
  ht.value ? (o(), n("div", {
623
643
  key: 1,
624
644
  ref_key: "noTitle",
@@ -631,9 +651,9 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
631
651
  ref_key: "chartTitle",
632
652
  ref: pe,
633
653
  class: "vue-ui-xy-title",
634
- style: $(`font-family:${e.value.style.fontFamily}`)
654
+ style: L(`font-family:${e.value.style.fontFamily}`)
635
655
  }, [
636
- (o(), N(xl, {
656
+ (o(), F(xl, {
637
657
  key: `title_${ge.value}`,
638
658
  config: {
639
659
  title: {
@@ -648,17 +668,17 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
648
668
  }, null, 8, ["config"]))
649
669
  ], 4)) : d("", !0),
650
670
  S("div", {
651
- id: `legend-top-${L.value}`
671
+ id: `legend-top-${z.value}`
652
672
  }, null, 8, kl),
653
- e.value.userOptions.show && V.value && (i(Me) || i(ce)) ? (o(), N(i(rt), {
673
+ e.value.userOptions.show && V.value && (u(Me) || u(ce)) ? (o(), F(u(rt), {
654
674
  ref_key: "userOptionsRef",
655
675
  ref: se,
656
676
  key: `user_option_${we.value}`,
657
677
  backgroundColor: e.value.style.chart.backgroundColor,
658
678
  color: e.value.style.chart.color,
659
- isPrinting: i(ze),
660
- isImaging: i(Oe),
661
- uid: L.value,
679
+ isPrinting: u(ze),
680
+ isImaging: u(Oe),
681
+ uid: z.value,
662
682
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
663
683
  hasPdf: e.value.userOptions.buttons.pdf,
664
684
  hasImg: e.value.userOptions.buttons.img,
@@ -668,7 +688,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
668
688
  hasLabel: !1,
669
689
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
670
690
  isFullscreen: E.value,
671
- chartElement: T.value,
691
+ chartElement: M.value,
672
692
  position: e.value.userOptions.position,
673
693
  isTooltip: C.value.showTooltip,
674
694
  titles: { ...e.value.userOptions.buttonTitles },
@@ -678,77 +698,77 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
678
698
  printScale: e.value.userOptions.print.scale,
679
699
  tableDialog: e.value.table.useDialog,
680
700
  onToggleFullscreen: Re,
681
- onGeneratePdf: i(Ie),
701
+ onGeneratePdf: u(Ie),
682
702
  onGenerateCsv: ye,
683
- onGenerateImage: i(Ne),
703
+ onGenerateImage: u(Ne),
684
704
  onGenerateSvg: Ee,
685
705
  onToggleTable: Be,
686
706
  onToggleTooltip: Ye,
687
707
  onToggleAnnotator: fe,
688
- style: $({
689
- visibility: i(Me) ? i(ce) ? "visible" : "hidden" : "visible"
708
+ style: L({
709
+ visibility: u(Me) ? u(ce) ? "visible" : "hidden" : "visible"
690
710
  })
691
711
  }, We({ _: 2 }, [
692
712
  t.$slots.menuIcon ? {
693
713
  name: "menuIcon",
694
- fn: g(({ isOpen: l, color: u }) => [
695
- p(t.$slots, "menuIcon", R(B({ isOpen: l, color: u })), void 0, !0)
714
+ fn: f(({ isOpen: l, color: i }) => [
715
+ y(t.$slots, "menuIcon", $(_({ isOpen: l, color: i })), void 0, !0)
696
716
  ]),
697
717
  key: "0"
698
718
  } : void 0,
699
719
  t.$slots.optionTooltip ? {
700
720
  name: "optionTooltip",
701
- fn: g(() => [
702
- p(t.$slots, "optionTooltip", {}, void 0, !0)
721
+ fn: f(() => [
722
+ y(t.$slots, "optionTooltip", {}, void 0, !0)
703
723
  ]),
704
724
  key: "1"
705
725
  } : void 0,
706
726
  t.$slots.optionPdf ? {
707
727
  name: "optionPdf",
708
- fn: g(() => [
709
- p(t.$slots, "optionPdf", {}, void 0, !0)
728
+ fn: f(() => [
729
+ y(t.$slots, "optionPdf", {}, void 0, !0)
710
730
  ]),
711
731
  key: "2"
712
732
  } : void 0,
713
733
  t.$slots.optionCsv ? {
714
734
  name: "optionCsv",
715
- fn: g(() => [
716
- p(t.$slots, "optionCsv", {}, void 0, !0)
735
+ fn: f(() => [
736
+ y(t.$slots, "optionCsv", {}, void 0, !0)
717
737
  ]),
718
738
  key: "3"
719
739
  } : void 0,
720
740
  t.$slots.optionImg ? {
721
741
  name: "optionImg",
722
- fn: g(() => [
723
- p(t.$slots, "optionImg", {}, void 0, !0)
742
+ fn: f(() => [
743
+ y(t.$slots, "optionImg", {}, void 0, !0)
724
744
  ]),
725
745
  key: "4"
726
746
  } : void 0,
727
747
  t.$slots.optionSvg ? {
728
748
  name: "optionSvg",
729
- fn: g(() => [
730
- p(t.$slots, "optionSvg", {}, void 0, !0)
749
+ fn: f(() => [
750
+ y(t.$slots, "optionSvg", {}, void 0, !0)
731
751
  ]),
732
752
  key: "5"
733
753
  } : void 0,
734
754
  t.$slots.optionTable ? {
735
755
  name: "optionTable",
736
- fn: g(() => [
737
- p(t.$slots, "optionTable", {}, void 0, !0)
756
+ fn: f(() => [
757
+ y(t.$slots, "optionTable", {}, void 0, !0)
738
758
  ]),
739
759
  key: "6"
740
760
  } : void 0,
741
761
  t.$slots.optionFullscreen ? {
742
762
  name: "optionFullscreen",
743
- fn: g(({ toggleFullscreen: l, isFullscreen: u }) => [
744
- p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
763
+ fn: f(({ toggleFullscreen: l, isFullscreen: i }) => [
764
+ y(t.$slots, "optionFullscreen", $(_({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
745
765
  ]),
746
766
  key: "7"
747
767
  } : void 0,
748
768
  t.$slots.optionAnnotator ? {
749
769
  name: "optionAnnotator",
750
- fn: g(({ toggleAnnotator: l, isAnnotator: u }) => [
751
- p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
770
+ fn: f(({ toggleAnnotator: l, isAnnotator: i }) => [
771
+ y(t.$slots, "optionAnnotator", $(_({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
752
772
  ]),
753
773
  key: "8"
754
774
  } : void 0
@@ -756,11 +776,11 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
756
776
  (o(), n("svg", {
757
777
  ref_key: "svgRef",
758
778
  ref: ve,
759
- xmlns: i(Qt),
760
- viewBox: `0 0 ${f.value.width < 0 ? 0.1 : f.value.width} ${f.value.height < 0 ? 0.1 : f.value.height}`,
761
- style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
779
+ xmlns: u(Qt),
780
+ viewBox: `0 0 ${p.value.width < 0 ? 0.1 : p.value.width} ${p.value.height < 0 ? 0.1 : p.value.height}`,
781
+ style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
762
782
  }, [
763
- xe(i(ut)),
783
+ xe(u(it)),
764
784
  t.$slots["chart-background"] ? (o(), n("foreignObject", {
765
785
  key: 0,
766
786
  x: c.value.left,
@@ -771,21 +791,21 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
771
791
  pointerEvents: "none"
772
792
  }
773
793
  }, [
774
- p(t.$slots, "chart-background", {}, void 0, !0)
794
+ y(t.$slots, "chart-background", {}, void 0, !0)
775
795
  ], 8, Cl)) : d("", !0),
776
796
  e.value.style.chart.plots.gradient.show ? (o(), n("defs", Al, [
777
- (o(!0), n(b, null, k(P.value, (l, u) => (o(), n("radialGradient", {
778
- id: `gradient_${u}_${L.value}`,
797
+ (o(!0), n(b, null, k(D.value, (l, i) => (o(), n("radialGradient", {
798
+ id: `gradient_${i}_${z.value}`,
779
799
  fy: "30%"
780
800
  }, [
781
801
  S("stop", {
782
802
  offset: "10%",
783
- "stop-color": i(Zt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
784
- }, null, 8, _l),
803
+ "stop-color": u(Zt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
804
+ }, null, 8, $l),
785
805
  S("stop", {
786
806
  offset: "90%",
787
- "stop-color": i(Kt)(l.color, 0.1)
788
- }, null, 8, $l),
807
+ "stop-color": u(Kt)(l.color, 0.1)
808
+ }, null, 8, _l),
789
809
  S("stop", {
790
810
  offset: "100%",
791
811
  "stop-color": l.color
@@ -793,7 +813,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
793
813
  ], 8, Sl))), 256))
794
814
  ])) : d("", !0),
795
815
  e.value.style.chart.grid.verticalLines.show ? (o(), n("g", Ll, [
796
- (o(!0), n(b, null, k(x.value.tickX, (l) => (o(), n("line", {
816
+ (o(!0), n(b, null, k(g.value.tickX, (l) => (o(), n("line", {
797
817
  x1: l.x,
798
818
  x2: l.x,
799
819
  y1: l.y1,
@@ -804,7 +824,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
804
824
  }, null, 8, Ml))), 256))
805
825
  ])) : d("", !0),
806
826
  e.value.style.chart.axes.y.labels.show ? (o(), n("g", zl, [
807
- (o(!0), n(b, null, k(x.value.tickY, (l) => (o(), n("line", {
827
+ (o(!0), n(b, null, k(g.value.tickY, (l) => (o(), n("line", {
808
828
  stroke: e.value.style.chart.grid.verticalLines.stroke,
809
829
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
810
830
  "stroke-linecap": "round",
@@ -819,16 +839,16 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
819
839
  ref_key: "yAxisScales",
820
840
  ref: re
821
841
  }, [
822
- (o(!0), n(b, null, k(x.value.tickY, (l) => (o(), n("text", {
842
+ (o(!0), n(b, null, k(g.value.tickY, (l) => (o(), n("text", {
823
843
  x: c.value.left + e.value.style.chart.axes.y.labels.offsetX - 4 - e.value.style.chart.plots.radius,
824
844
  y: l.y + r.value.yAxisLabels / 3,
825
845
  fill: e.value.style.chart.axes.y.labels.color,
826
846
  "font-size": r.value.yAxisLabels,
827
847
  "text-anchor": "end"
828
- }, M(i(Y)(
848
+ }, O(u(Y)(
829
849
  e.value.style.chart.axes.y.labels.formatter,
830
850
  l.value,
831
- i(H)({
851
+ u(H)({
832
852
  p: e.value.style.chart.axes.y.labels.prefix,
833
853
  v: l.value,
834
854
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -840,14 +860,14 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
840
860
  key: 5,
841
861
  ref_key: "yAxisLabel",
842
862
  ref: ne,
843
- transform: `translate(${r.value.yAxisName}, ${f.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
863
+ transform: `translate(${r.value.yAxisName}, ${p.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
844
864
  "font-size": r.value.yAxisName,
845
865
  fill: e.value.style.chart.axes.y.name.color,
846
866
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
847
867
  "text-anchor": "middle"
848
- }, M(e.value.style.chart.axes.y.name.text), 9, Nl)) : d("", !0),
868
+ }, O(e.value.style.chart.axes.y.name.text), 9, Nl)) : d("", !0),
849
869
  e.value.style.chart.grid.horizontalLines.show ? (o(), n("g", Pl, [
850
- (o(!0), n(b, null, k(x.value.tickY, (l) => (o(), n("line", {
870
+ (o(!0), n(b, null, k(g.value.tickY, (l) => (o(), n("line", {
851
871
  x1: l.x1,
852
872
  x2: l.x2,
853
873
  y1: l.y,
@@ -858,7 +878,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
858
878
  }, null, 8, Fl))), 256))
859
879
  ])) : d("", !0),
860
880
  e.value.style.chart.axes.x.labels.show ? (o(), n("g", Dl, [
861
- (o(!0), n(b, null, k(x.value.tickX, (l) => (o(), n("line", {
881
+ (o(!0), n(b, null, k(g.value.tickX, (l) => (o(), n("line", {
862
882
  stroke: e.value.style.chart.grid.verticalLines.stroke,
863
883
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
864
884
  "stroke-linecap": "round",
@@ -873,16 +893,16 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
873
893
  ref_key: "xAxisScales",
874
894
  ref: G
875
895
  }, [
876
- (o(!0), n(b, null, k(x.value.tickX, (l) => (o(), n("text", {
896
+ (o(!0), n(b, null, k(g.value.tickX, (l) => (o(), n("text", {
877
897
  class: "vue-ui-history-plot-x-axis-scale",
878
898
  transform: `translate(${l.x}, ${c.value.bottom + e.value.style.chart.axes.x.labels.offsetY + r.value.xAxisLabels + e.value.style.chart.plots.radius}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
879
899
  fill: e.value.style.chart.axes.x.labels.color,
880
900
  "font-size": r.value.xAxisLabels,
881
901
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
882
- }, M(i(Y)(
902
+ }, O(u(Y)(
883
903
  e.value.style.chart.axes.x.labels.formatter,
884
904
  l.value,
885
- i(H)({
905
+ u(H)({
886
906
  p: e.value.style.chart.axes.x.labels.prefix,
887
907
  v: l.value,
888
908
  s: e.value.style.chart.axes.x.labels.suffix,
@@ -894,13 +914,13 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
894
914
  key: 9,
895
915
  ref_key: "xAxisLabel",
896
916
  ref: oe,
897
- x: f.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
898
- y: f.value.height,
917
+ x: p.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
918
+ y: p.value.height,
899
919
  "font-size": r.value.xAxisName,
900
920
  fill: e.value.style.chart.axes.x.name.color,
901
921
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
902
922
  "text-anchor": "middle"
903
- }, M(e.value.style.chart.axes.x.name.text), 9, Bl)) : d("", !0),
923
+ }, O(e.value.style.chart.axes.x.name.text), 9, Bl)) : d("", !0),
904
924
  e.value.style.chart.grid.xAxis.show ? (o(), n("line", {
905
925
  key: 10,
906
926
  x1: c.value.left,
@@ -921,10 +941,10 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
921
941
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
922
942
  "stroke-linecap": "round"
923
943
  }, null, 8, Hl)) : d("", !0),
924
- (o(!0), n(b, null, k(P.value, (l, u) => (o(), n("g", null, [
944
+ (o(!0), n(b, null, k(D.value, (l, i) => (o(), n("g", null, [
925
945
  e.value.style.chart.paths.show ? (o(), n("g", {
926
946
  key: 0,
927
- style: $({
947
+ style: L({
928
948
  opacity: A.value === null ? 1 : 0.3
929
949
  })
930
950
  }, [
@@ -935,7 +955,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
935
955
  fill: "none",
936
956
  "stroke-linecap": "round",
937
957
  "stroke-linejoin": "round",
938
- class: F({ animated: e.value.useCssAnimation && !i(O) })
958
+ class: X({ animated: e.value.useCssAnimation && !u(N) })
939
959
  }, null, 10, El),
940
960
  S("path", {
941
961
  d: l.path,
@@ -944,7 +964,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
944
964
  fill: "none",
945
965
  "stroke-linecap": "round",
946
966
  "stroke-linejoin": "round",
947
- class: F({ animated: e.value.useCssAnimation && !i(O) })
967
+ class: X({ animated: e.value.useCssAnimation && !u(N) })
948
968
  }, null, 10, Ul)
949
969
  ], 4)) : d("", !0),
950
970
  (o(!0), n(b, null, k(l.plots, (s) => (o(), n("circle", {
@@ -957,12 +977,12 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
957
977
  (o(!0), n(b, null, k(l.plots, (s) => (o(), n("circle", {
958
978
  cx: s.x,
959
979
  cy: s.y,
960
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${u}_${L.value})` : s.color,
980
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${z.value})` : s.color,
961
981
  r: r.value.plots,
962
982
  stroke: e.value.style.chart.plots.stroke,
963
983
  "stroke-width": e.value.style.chart.plots.strokeWidth,
964
- class: F({ animated: e.value.useCssAnimation && !i(O) }),
965
- style: $({
984
+ class: X({ animated: e.value.useCssAnimation && !u(N) }),
985
+ style: L({
966
986
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
967
987
  transition: "opacity 0.2s ease-in-out"
968
988
  })
@@ -978,12 +998,12 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
978
998
  fill: e.value.style.chart.plots.labels.color,
979
999
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
980
1000
  "text-anchor": "middle",
981
- class: F({ animated: e.value.useCssAnimation && !i(O) }),
982
- style: $({
1001
+ class: X({ animated: e.value.useCssAnimation && !u(N) }),
1002
+ style: L({
983
1003
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
984
1004
  transition: "opacity 0.2s ease-in-out"
985
1005
  }),
986
- innerHTML: i(el)({
1006
+ innerHTML: u(el)({
987
1007
  content: String(s.label),
988
1008
  fontSize: r.value.labels,
989
1009
  fill: e.value.style.chart.plots.labels.color,
@@ -998,12 +1018,12 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
998
1018
  fill: e.value.style.chart.plots.labels.color,
999
1019
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
1000
1020
  "text-anchor": "middle",
1001
- class: F({ animated: e.value.useCssAnimation && !i(O) }),
1002
- style: $({
1021
+ class: X({ animated: e.value.useCssAnimation && !u(N) }),
1022
+ style: L({
1003
1023
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
1004
1024
  transition: "opacity 0.2s ease-in-out"
1005
1025
  })
1006
- }, M(s.label), 15, Vl))
1026
+ }, O(s.label), 15, Vl))
1007
1027
  ]))), 256))
1008
1028
  ])) : d("", !0),
1009
1029
  e.value.style.chart.plots.indexLabels.show ? (o(), n("g", Jl, [
@@ -1012,74 +1032,74 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
1012
1032
  y: s.y + e.value.style.chart.plots.indexLabels.offsetY + r.value.indexLabels / 3,
1013
1033
  "font-size": r.value.indexLabels,
1014
1034
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
1015
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(tl)(l.color) : e.value.style.chart.plots.indexLabels.color,
1035
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(tl)(l.color) : e.value.style.chart.plots.indexLabels.color,
1016
1036
  "text-anchor": "middle",
1017
- class: F({ animated: e.value.useCssAnimation && !i(O) }),
1018
- style: $({
1037
+ class: X({ animated: e.value.useCssAnimation && !u(N) }),
1038
+ style: L({
1019
1039
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
1020
1040
  transition: "opacity 0.2s ease-in-out"
1021
1041
  })
1022
- }, M(e.value.style.chart.plots.indexLabels.startAtZero ? w : w + 1), 15, Ql))), 256))
1042
+ }, O(e.value.style.chart.plots.indexLabels.startAtZero ? w : w + 1), 15, Ql))), 256))
1023
1043
  ])) : d("", !0)
1024
1044
  ]))), 256)),
1025
- (o(!0), n(b, null, k(P.value, (l) => (o(), n("g", null, [
1026
- (o(!0), n(b, null, k(l.plots, (u, s) => (o(), n("circle", {
1027
- cx: u.x,
1028
- cy: u.y,
1045
+ (o(!0), n(b, null, k(D.value, (l) => (o(), n("g", null, [
1046
+ (o(!0), n(b, null, k(l.plots, (i, s) => (o(), n("circle", {
1047
+ cx: i.x,
1048
+ cy: i.y,
1029
1049
  fill: "transparent",
1030
1050
  r: r.value.plots,
1031
1051
  stroke: "none",
1032
1052
  onMouseenter: (w) => Lt({
1033
- datapoint: u,
1053
+ datapoint: i,
1034
1054
  plotIndex: s,
1035
1055
  seriesIndex: l.seriesIndex
1036
1056
  }),
1037
1057
  onMouseleave: (w) => Tt({
1038
- datapoint: u,
1058
+ datapoint: i,
1039
1059
  plotIndex: s,
1040
1060
  seriesIndex: l.seriesIndex
1041
1061
  }),
1042
- onClick: (w) => $t({
1043
- datapoint: u,
1062
+ onClick: (w) => _t({
1063
+ datapoint: i,
1044
1064
  plotIndex: s,
1045
1065
  seriesIndex: l.seriesIndex
1046
1066
  })
1047
1067
  }, null, 40, Zl))), 256))
1048
1068
  ]))), 256)),
1049
- p(t.$slots, "svg", { svg: f.value }, void 0, !0)
1069
+ y(t.$slots, "svg", { svg: p.value }, void 0, !0)
1050
1070
  ], 12, wl)),
1051
1071
  t.$slots.watermark ? (o(), n("div", Kl, [
1052
- p(t.$slots, "watermark", R(B({ isPrinting: i(ze) || i(Oe) })), void 0, !0)
1072
+ y(t.$slots, "watermark", $(_({ isPrinting: u(ze) || u(Oe) })), void 0, !0)
1053
1073
  ])) : d("", !0),
1054
1074
  S("div", {
1055
- id: `legend-bottom-${L.value}`
1075
+ id: `legend-bottom-${z.value}`
1056
1076
  }, null, 8, ea),
1057
- Se.value ? (o(), N(Et, {
1077
+ Se.value ? (o(), F(Et, {
1058
1078
  key: 5,
1059
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${L.value}` : `#legend-bottom-${L.value}`
1079
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${z.value}` : `#legend-bottom-${z.value}`
1060
1080
  }, [
1061
1081
  S("div", {
1062
1082
  ref_key: "chartLegend",
1063
1083
  ref: me
1064
1084
  }, [
1065
- e.value.style.chart.legend.show && V.value ? (o(), N(gl, {
1085
+ e.value.style.chart.legend.show && V.value ? (o(), F(gl, {
1066
1086
  key: `legend_${be.value}`,
1067
1087
  legendSet: he.value,
1068
- config: _t.value,
1088
+ config: $t.value,
1069
1089
  onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
1070
1090
  q(l.seriesIndex), Xe(l);
1071
1091
  })
1072
1092
  }, {
1073
- item: g(({ legend: l, index: u }) => [
1093
+ item: f(({ legend: l, index: i }) => [
1074
1094
  S("div", {
1075
1095
  onClick: (s) => {
1076
1096
  l.segregate(), Xe(l);
1077
1097
  },
1078
- style: $(`opacity:${m.value.includes(l.seriesIndex) ? 0.5 : 1}`)
1079
- }, M(l.name), 13, ta)
1098
+ style: L(`opacity:${m.value.includes(l.seriesIndex) ? 0.5 : 1}`)
1099
+ }, O(l.name), 13, ta)
1080
1100
  ]),
1081
1101
  _: 1
1082
- }, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
1102
+ }, 8, ["legendSet", "config"])) : y(t.$slots, "legend", {
1083
1103
  key: 1,
1084
1104
  legend: he.value
1085
1105
  }, void 0, !0)
@@ -1091,9 +1111,9 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
1091
1111
  ref: Ae,
1092
1112
  dir: "auto"
1093
1113
  }, [
1094
- p(t.$slots, "source", {}, void 0, !0)
1114
+ y(t.$slots, "source", {}, void 0, !0)
1095
1115
  ], 512)) : d("", !0),
1096
- xe(i(lt), {
1116
+ xe(u(lt), {
1097
1117
  show: C.value.showTooltip && le.value,
1098
1118
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1099
1119
  color: e.value.style.chart.tooltip.color,
@@ -1104,7 +1124,7 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
1104
1124
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1105
1125
  position: e.value.style.chart.tooltip.position,
1106
1126
  offsetY: e.value.style.chart.tooltip.offsetY,
1107
- parent: T.value,
1127
+ parent: M.value,
1108
1128
  content: ae.value,
1109
1129
  isCustom: U.value,
1110
1130
  isFullscreen: E.value,
@@ -1113,21 +1133,21 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
1113
1133
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1114
1134
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1115
1135
  }, {
1116
- "tooltip-before": g(() => [
1117
- p(t.$slots, "tooltip-before", R(B({ ...de.value })), void 0, !0)
1136
+ "tooltip-before": f(() => [
1137
+ y(t.$slots, "tooltip-before", $(_({ ...de.value })), void 0, !0)
1118
1138
  ]),
1119
- "tooltip-after": g(() => [
1120
- p(t.$slots, "tooltip-after", R(B({ ...de.value })), void 0, !0)
1139
+ "tooltip-after": f(() => [
1140
+ y(t.$slots, "tooltip-after", $(_({ ...de.value })), void 0, !0)
1121
1141
  ]),
1122
1142
  _: 3
1123
1143
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1124
- V.value && e.value.userOptions.buttons.table ? (o(), N(Ut(j.value.component), Wt({ key: 7 }, j.value.props, {
1144
+ V.value && e.value.userOptions.buttons.table ? (o(), F(Ut(j.value.component), Wt({ key: 7 }, j.value.props, {
1125
1145
  ref_key: "tableUnit",
1126
1146
  ref: W,
1127
1147
  onClose: He
1128
1148
  }), We({
1129
- content: g(() => [
1130
- (o(), N(i(ot), {
1149
+ content: f(() => [
1150
+ (o(), F(u(ot), {
1131
1151
  key: `table_${ke.value}`,
1132
1152
  colNames: J.value.colNames,
1133
1153
  head: J.value.head,
@@ -1137,14 +1157,14 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
1137
1157
  withCloseButton: !e.value.table.useDialog,
1138
1158
  onClose: He
1139
1159
  }, {
1140
- th: g(({ th: l }) => [
1160
+ th: f(({ th: l }) => [
1141
1161
  S("div", {
1142
1162
  innerHTML: l,
1143
1163
  style: { display: "flex", "align-items": "center" }
1144
1164
  }, null, 8, la)
1145
1165
  ]),
1146
- td: g(({ td: l }) => [
1147
- je(M(l.name || l), 1)
1166
+ td: f(({ td: l }) => [
1167
+ je(O(l.name || l), 1)
1148
1168
  ]),
1149
1169
  _: 1
1150
1170
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1153,20 +1173,20 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
1153
1173
  }, [
1154
1174
  e.value.table.useDialog ? {
1155
1175
  name: "title",
1156
- fn: g(() => [
1157
- je(M(j.value.title), 1)
1176
+ fn: f(() => [
1177
+ je(O(j.value.title), 1)
1158
1178
  ]),
1159
1179
  key: "0"
1160
1180
  } : void 0,
1161
1181
  e.value.table.useDialog ? {
1162
1182
  name: "actions",
1163
- fn: g(() => [
1183
+ fn: f(() => [
1164
1184
  S("button", {
1165
1185
  tabindex: "0",
1166
1186
  class: "vue-ui-user-options-button",
1167
1187
  onClick: a[1] || (a[1] = (l) => ye(e.value.userOptions.callbacks.csv))
1168
1188
  }, [
1169
- xe(i(at), {
1189
+ xe(u(at), {
1170
1190
  name: "excel",
1171
1191
  stroke: j.value.props.color
1172
1192
  }, null, 8, ["stroke"])
@@ -1175,10 +1195,10 @@ const bl = ["id"], kl = ["id"], wl = ["xmlns", "viewBox"], Cl = ["x", "y", "widt
1175
1195
  key: "1"
1176
1196
  } : void 0
1177
1197
  ]), 1040)) : d("", !0),
1178
- i(O) ? (o(), N(il, { key: 8 })) : d("", !0)
1198
+ u(N) ? (o(), F(ul, { key: 8 })) : d("", !0)
1179
1199
  ], 46, bl));
1180
1200
  }
1181
- }, ma = /* @__PURE__ */ ml(aa, [["__scopeId", "data-v-234b2fb3"]]);
1201
+ }, ma = /* @__PURE__ */ ml(aa, [["__scopeId", "data-v-3fe2716c"]]);
1182
1202
  export {
1183
1203
  ma as default
1184
1204
  };