vue-data-ui 3.4.9 → 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 (151) hide show
  1. package/README.md +114 -37
  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-CTUqGqWV.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-DjxWWa78.js → vue-data-ui-B_RxfmEm.js} +113 -107
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-CLE7f9pl.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-D73uIOPm.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-Bybo0xK2.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-DA0g0bDV.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-BPDm-ro5.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-CxZcJFTo.js +1681 -0
  89. package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-BVYL-BUJ.js} +480 -444
  90. package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-CUoDRr-O.js} +313 -277
  94. package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-C6p_aThr.js} +478 -442
  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-I2OhrCR2.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-D0MCLs5n.js} +597 -557
  103. package/dist/vue-ui-onion-B7yPJ3gL.js +915 -0
  104. package/dist/vue-ui-parallel-coordinate-plot-DY21ivNe.js +1051 -0
  105. package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-b0vMRaq-.js} +532 -495
  106. package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-B5Vkoz9M.js} +412 -373
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CAMNq-p_.js} +517 -481
  111. package/dist/vue-ui-rings-ImGOqm_J.js +855 -0
  112. package/dist/vue-ui-scatter-CterNJYe.js +1590 -0
  113. package/dist/{vue-ui-skeleton-DUdI2uOO.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-DxpRfUJz.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/vue-ui-sparkstackbar-BXNy6nuw.js +441 -0
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-DdBdLrAL.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-EpCo2Be5.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-Br3wp8hG.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-DPE8SY0_.js +1330 -0
  130. package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-ZU1GCbX0.js} +484 -448
  131. package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-z7nuSuSV.js} +398 -362
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-NDDbNbds.js} +1263 -1227
  136. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-2a6NlQe3.js} +338 -322
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-CDgzolI-.js +0 -1133
  140. package/dist/vue-ui-dashboard-CeJwbiON.js +0 -412
  141. package/dist/vue-ui-donut-DjQXHBJE.js +0 -1645
  142. package/dist/vue-ui-onion-DTY2p87s.js +0 -873
  143. package/dist/vue-ui-parallel-coordinate-plot-C8aWTcNn.js +0 -1014
  144. package/dist/vue-ui-rings-CnTMFK6R.js +0 -813
  145. package/dist/vue-ui-scatter-fzR2c0St.js +0 -1554
  146. package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
  147. package/dist/vue-ui-stackbar-DubS6Pg8.js +0 -1708
  148. package/dist/vue-ui-thermometer-DTnfnf9z.js +0 -564
  149. package/dist/vue-ui-tiremarks-CrC_tlIx.js +0 -430
  150. package/dist/vue-ui-treemap-kyuyi2ES.js +0 -1294
  151. package/dist/vue-ui-wheel-BasM7FWt.js +0 -643
@@ -1,22 +1,22 @@
1
- import { defineAsyncComponent as N, ref as v, shallowRef as He, computed as h, onMounted as Ft, onBeforeUnmount as Dt, toRefs as Xt, watch as Z, watchEffect as Rt, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as S, normalizeClass as F, renderSlot as p, createBlock as I, createCommentVNode as d, createElementVNode as _, createVNode as fe, createSlots as We, withCtx as g, normalizeProps as R, guardReactiveProps as B, Fragment as m, renderList as b, toDisplayString as T, Teleport as Bt, resolveDynamicComponent as Yt, mergeProps as Et, createTextVNode as Ue, nextTick as Ht } from "vue";
2
- import { c as je, o as Ge, f as Ve, g as Wt, t as Ut, e as jt, h as Gt, p as K, m as qe, a as Y, d as E, X as Vt, S as qt, U as Jt, M as Qt, J as Zt, R as D, b as Kt, O as ee, P as el, Q as tl, G as ll } from "./lib-C_mNZmhD.js";
3
- import { t as Je, u as al } from "./useResponsive-DfdjqQps.js";
4
- import { u as sl, a as Qe } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as ol, B as rl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as nl } from "./usePrinter-DTzqpYKF.js";
7
- import { u as ul } from "./useSvgExport-DrjCWun4.js";
8
- import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as cl } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as vl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import hl from "./img-BecE5qXd.js";
12
- import dl from "./Title-l36lOBMx.js";
13
- import { t as yl } from "./themes-AUNCOb2G.js";
14
- import fl from "./Legend-G6GMcdAc.js";
15
- import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "width", "height"], kl = { key: 1 }, wl = ["id"], Cl = ["stop-color"], Al = ["stop-color"], _l = ["stop-color"], Sl = { key: 2 }, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = { key: 3 }, Tl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Ml = ["x", "y", "fill", "font-size"], zl = ["transform", "font-size", "fill", "font-weight"], Ol = { key: 6 }, Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Il = { key: 7 }, Pl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Fl = ["transform", "fill", "font-size", "text-anchor"], Dl = ["x", "y", "font-size", "fill", "font-weight"], Xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["d", "stroke", "stroke-width"], Yl = ["d", "stroke", "stroke-width"], El = ["cx", "cy", "fill", "r"], Hl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Wl = { key: 1 }, Ul = ["x", "y", "font-size", "fill", "font-weight"], jl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Gl = { key: 2 }, Vl = ["x", "y", "font-size", "font-weight", "fill"], ql = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Jl = {
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
+ import { t as Qe, u as nl } from "./useResponsive-DfdjqQps.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
+ import { u as cl } from "./usePrinter-DTzqpYKF.js";
7
+ import { u as vl } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as hl } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as dl } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as yl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
+ import fl from "./img-BecE5qXd.js";
12
+ import xl from "./Title-isbiM8i8.js";
13
+ import { t as pl } from "./themes-AUNCOb2G.js";
14
+ import gl from "./Legend-G6GMcdAc.js";
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 = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
- }, Ql = ["id"], Zl = ["onClick"], Kl = ["innerHTML"], ea = {
19
+ }, ea = ["id"], ta = ["onClick"], la = ["innerHTML"], aa = {
20
20
  __name: "vue-ui-history-plot",
21
21
  props: {
22
22
  config: {
@@ -33,112 +33,112 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
33
33
  }
34
34
  },
35
35
  emits: ["selectLegend", "selectDatapoint"],
36
- setup(Ze, { expose: Ke, emit: et }) {
37
- const tt = N(() => import("./Tooltip-oWCO1HKy.js")), lt = N(() => import("./BaseIcon-BmMbm4d0.js")), at = N(() => import("./vue-ui-accordion-CZ0thhxa.js")), st = N(() => import("./DataTable-BT7VF2ua.js")), ot = N(() => import("./PenAndPaper-DSvu9dwa.js")), rt = N(() => import("./UserOptions-CGnQt6Fd.js")), nt = N(() => import("./PackageVersion-CTUqGqWV.js")), ut = N(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_history_plot: it } = sl(), y = Ze, $ = v(null), xe = v(null), pe = v(0), ge = v(null), me = v(0), be = v(0), ke = v(0), M = He(null), X = He(null), we = v(null), L = v(je()), te = v(!1), le = v(""), w = v([]), H = v(!1), A = v(null), W = v(!1), Ce = v(null), Ae = v(!1), U = v(null), ae = v(null), se = v(null), oe = v(null), G = v(null), re = v(null), V = h({
38
- get: () => !!y.dataset && y.dataset.length,
36
+ setup(Ke, { expose: et, emit: tt }) {
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 = et;
41
- Ft(() => {
42
- Ae.value = !0, $e();
40
+ }), $e = tt;
41
+ Rt(() => {
42
+ Se.value = !0, Te();
43
43
  });
44
- const Se = h(() => !!e.value.debug);
45
- function $e() {
46
- if (Ge(y.dataset) ? (Ve({
44
+ const _e = h(() => !!e.value.debug);
45
+ function Te() {
46
+ if (Ve(x.dataset) ? (qe({
47
47
  componentName: "VueUiHistoryPlot",
48
48
  type: "dataset",
49
- debug: Se.value
50
- }), ue.value = !0) : y.dataset.forEach((t, a) => {
51
- Wt({
49
+ debug: _e.value
50
+ }), ue.value = !0) : x.dataset.forEach((t, a) => {
51
+ Gt({
52
52
  datasetObject: t,
53
53
  requiredAttributes: ["name", "values"]
54
54
  }).forEach((l) => {
55
- V.value = !1, Ve({
55
+ V.value = !1, qe({
56
56
  componentName: "VueUiHistoryPlot",
57
57
  type: "datasetSerieAttribute",
58
58
  property: l,
59
59
  index: a,
60
- debug: Se.value
60
+ debug: _e.value
61
61
  });
62
62
  });
63
- }), Ge(y.dataset) || (ue.value = e.value.loading), e.value.responsive) {
64
- const t = Je(() => {
65
- const { width: a, height: l } = al({
66
- chart: $.value,
67
- title: e.value.style.chart.title.text ? xe.value : null,
68
- noTitle: we.value,
69
- legend: e.value.style.chart.legend.show ? ge.value : null,
70
- source: Ce.value
63
+ }), Ve(x.dataset) || (ue.value = e.value.loading), e.value.responsive) {
64
+ const t = Qe(() => {
65
+ const { width: a, height: l } = nl({
66
+ chart: M.value,
67
+ title: e.value.style.chart.title.text ? pe.value : null,
68
+ noTitle: Ce.value,
69
+ legend: e.value.style.chart.legend.show ? me.value : null,
70
+ source: Ae.value
71
71
  });
72
72
  requestAnimationFrame(() => {
73
- f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.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
- }), n.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
- }), n.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
- }), n.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
- }), n.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
- }), n.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
- }), n.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,
113
113
  threshold: 6,
114
114
  fallback: 6
115
- })) : (n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize);
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
- M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect()), M.value = new ResizeObserver(t), X.value = $.value.parentNode, M.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
- Dt(() => {
122
- M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect());
121
+ Bt(() => {
122
+ I.value && (B.value && I.value.unobserve(B.value), I.value.disconnect());
123
123
  });
124
- function ne() {
125
- const t = Qe({
126
- userConfig: y.config,
127
- defaultConfig: it
124
+ function ie() {
125
+ const t = Ze({
126
+ userConfig: x.config,
127
+ defaultConfig: ct
128
128
  });
129
129
  let a = {};
130
130
  return t.theme ? a = {
131
- ...Qe({
132
- userConfig: yl.vue_ui_history_plot[t.theme] || y.config,
131
+ ...Ze({
132
+ userConfig: pl.vue_ui_history_plot[t.theme] || x.config,
133
133
  defaultConfig: t
134
134
  }),
135
- customPalette: Kt[t.theme] || K
136
- } : a = t, y.config && ee(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 && ee(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 && ee(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 && ee(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;
135
+ customPalette: ll[t.theme] || ee
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(ne()), { loading: z, FINAL_DATASET: ct, manualLoading: ue } = ol({
139
- ...Xt(y),
138
+ const e = v(ie()), { loading: N, FINAL_DATASET: vt, manualLoading: ue } = il({
139
+ ...Yt(x),
140
140
  FINAL_CONFIG: e,
141
- prepareConfig: ne,
141
+ prepareConfig: ie,
142
142
  skeletonDataset: [
143
143
  {
144
144
  name: "",
@@ -151,7 +151,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
151
151
  ]
152
152
  }
153
153
  ],
154
- skeletonConfig: Ut({
154
+ skeletonConfig: Vt({
155
155
  defaultConfig: e.value,
156
156
  userConfig: {
157
157
  userOptions: { show: !1 },
@@ -203,66 +203,66 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
203
203
  }
204
204
  }
205
205
  })
206
- }), { userOptionsVisible: ie, setUserOptionsVisibility: Le, keepUserOptionState: Te } = il({ config: e.value }), { svgRef: ce } = cl({ config: e.value.style.chart.title });
207
- Z(() => y.config, (t) => {
208
- z.value || (e.value = ne()), ie.value = !e.value.userOptions.showOnChartHover, $e(), pe.value += 1, be.value += 1, me.value += 1, f.value.height = e.value.style.chart.height, f.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.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 }), Z(() => y.dataset, (t) => {
206
+ }), { userOptionsVisible: ce, setUserOptionsVisibility: Le, keepUserOptionState: Me } = hl({ config: e.value }), { svgRef: ve } = dl({ config: e.value.style.chart.title });
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
210
  Array.isArray(t) && t.length > 0 && (ue.value = !1);
211
211
  }, { deep: !0 });
212
- const { isPrinting: Me, isImaging: ze, generatePdf: Oe, generateImage: Ne } = nl({
213
- elementId: `history_plot_${L.value}`,
212
+ const { isPrinting: ze, isImaging: Oe, generatePdf: Ie, generateImage: Ne } = cl({
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
- }), vt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = h(() => jt(e.value.customPalette)), C = v({
216
+ }), ht = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), dt = h(() => qt(e.value.customPalette)), C = v({
217
217
  showTable: e.value.table.show,
218
218
  showTooltip: e.value.style.chart.tooltip.show
219
219
  });
220
- Z(e, () => {
220
+ K(e, () => {
221
221
  C.value = {
222
222
  showTable: e.value.table.show,
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
- }), dt = h(() => f.value.width), yt = h(() => f.value.height);
230
- function ft() {
229
+ }), yt = h(() => p.value.width), ft = h(() => p.value.height);
230
+ function xt() {
231
231
  let t = 0;
232
- re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((u, s) => {
233
- const k = s.getComputedTextLength();
234
- return k > u ? k : u;
232
+ re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((i, s) => {
233
+ const w = s.getComputedTextLength();
234
+ return w > i ? w : i;
235
235
  }, 0));
236
- const a = oe.value ? oe.value.getBoundingClientRect().width : 0;
236
+ const a = ne.value ? ne.value.getBoundingClientRect().width : 0;
237
237
  return t + a + (a ? 24 : 0);
238
238
  }
239
- const Ie = v(0), xt = Je((t) => {
240
- Ie.value = t;
239
+ const Pe = v(0), pt = Qe((t) => {
240
+ Pe.value = t;
241
241
  });
242
- Rt((t) => {
242
+ Ht((t) => {
243
243
  const a = G.value;
244
244
  if (!a) return;
245
- const l = new ResizeObserver((u) => {
246
- xt(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
  });
250
- const Pe = h(() => {
250
+ const Fe = h(() => {
251
251
  let t = 0;
252
- se.value && (t = se.value.getBBox().height + n.value.xAxisName / 2);
252
+ oe.value && (t = oe.value.getBBox().height + r.value.xAxisName / 2);
253
253
  let a = 0;
254
- return G.value && (a = Ie.value), t + a;
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 = ft(), 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 - Pe.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 - Pe.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
- }), n = v({
265
+ }), r = v({
266
266
  plots: e.value.style.chart.plots.radius,
267
267
  indexLabels: e.value.style.chart.plots.indexLabels.fontSize,
268
268
  labels: e.value.style.chart.plots.labels.fontSize,
@@ -270,24 +270,24 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["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
- }), O = h(() => ct.value.map((t, a) => ({
273
+ }), T = h(() => vt.value.map((t, a) => ({
274
274
  ...t,
275
- color: t.color ? Gt(t.color) : ht.value[a] || K[a] || K[a % K.length],
275
+ color: t.color ? Jt(t.color) : dt.value[a] || ee[a] || ee[a % ee.length],
276
276
  seriesIndex: a
277
- }))), pt = h(() => Math.max(...O.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), gt = h(() => {
278
- const t = Math.min(...O.value.filter((a) => !w.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
- }), mt = h(() => Math.max(...O.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), bt = h(() => {
281
- const t = Math.min(...O.value.filter((a) => !w.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(() => {
284
- const t = qe(
285
- e.value.style.chart.axes.x.scaleMin === null ? gt.value : e.value.style.chart.axes.x.scaleMin,
286
- e.value.style.chart.axes.x.scaleMax === null ? pt.value : e.value.style.chart.axes.x.scaleMax,
283
+ }), g = h(() => {
284
+ const t = Je(
285
+ e.value.style.chart.axes.x.scaleMin === null ? mt.value : e.value.style.chart.axes.x.scaleMin,
286
+ e.value.style.chart.axes.x.scaleMax === null ? gt.value : e.value.style.chart.axes.x.scaleMax,
287
287
  e.value.style.chart.axes.x.ticks
288
- ), a = qe(
289
- e.value.style.chart.axes.y.scaleMin === null ? bt.value : e.value.style.chart.axes.y.scaleMin,
290
- e.value.style.chart.axes.y.scaleMax === null ? mt.value : e.value.style.chart.axes.y.scaleMax,
288
+ ), a = Je(
289
+ e.value.style.chart.axes.y.scaleMin === null ? kt.value : e.value.style.chart.axes.y.scaleMin,
290
+ e.value.style.chart.axes.y.scaleMax === null ? bt.value : e.value.style.chart.axes.y.scaleMax,
291
291
  e.value.style.chart.axes.y.ticks
292
292
  );
293
293
  return {
@@ -307,41 +307,55 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
307
307
  }))
308
308
  };
309
309
  });
310
- function kt(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;
313
- }
314
310
  function wt(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;
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
+ }
314
+ function Ct(t) {
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(() => O.value.filter((t) => !w.value.includes(t.seriesIndex)).map((t, a) => {
319
- const l = t.values.map((s, k) => ({
318
+ const D = h(() => T.value.filter((t) => !m.value.includes(t.seriesIndex)).map((t, a) => {
319
+ const l = t.values.map((s, w) => ({
320
320
  valueX: s.x,
321
321
  valueY: s.y,
322
322
  label: s.label,
323
- x: kt(s.x),
324
- y: wt(s.y),
323
+ x: wt(s.x),
324
+ y: Ct(s.y),
325
325
  color: t.color,
326
326
  seriesName: t.name,
327
- id: je()
328
- })), u = l.map((s) => `${s.x},${s.y} `).join("").trim();
327
+ id: Ge()
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
- function Fe(t) {
336
- w.value.includes(t) ? w.value = w.value.filter((a) => a !== t) : w.value.push(t);
335
+ function q(t) {
336
+ m.value.includes(t) ? m.value = m.value.filter((a) => a !== t) : m.value.push(t);
337
+ }
338
+ function De(t) {
339
+ if (!T.value.length)
340
+ return e.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null;
341
+ const a = T.value.find((l) => l.name === t);
342
+ return a || (e.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${t}"`), null);
337
343
  }
338
- const ve = h(() => O.value.map((t) => ({
344
+ function At(t) {
345
+ const a = De(t);
346
+ a !== null && m.value.includes(a.seriesIndex) && q(a.seriesIndex);
347
+ }
348
+ function St(t) {
349
+ const a = De(t);
350
+ a !== null && (m.value.includes(a.seriesIndex) || q(a.seriesIndex));
351
+ }
352
+ const he = h(() => T.value.map((t) => ({
339
353
  ...t,
340
- opacity: w.value.includes(t.seriesIndex) ? 0.5 : 1,
341
- segregate: () => Fe(t.seriesIndex),
342
- isSegregated: w.value.includes(t.seriesIndex),
354
+ opacity: m.value.includes(t.seriesIndex) ? 0.5 : 1,
355
+ segregate: () => q(t.seriesIndex),
356
+ isSegregated: m.value.includes(t.seriesIndex),
343
357
  shape: "circle"
344
- }))), Ct = h(() => ({
358
+ }))), $t = h(() => ({
345
359
  cy: "history-plot-div-legend",
346
360
  backgroundColor: e.value.style.chart.legend.backgroundColor,
347
361
  color: e.value.style.chart.legend.color,
@@ -349,45 +363,45 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
349
363
  paddingBottom: 12,
350
364
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
351
365
  }));
352
- function At({ datapoint: t, plotIndex: a, seriesIndex: l }) {
353
- 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);
354
368
  }
355
- function De(t) {
356
- _e("selectLegend", {
369
+ function Xe(t) {
370
+ $e("selectLegend", {
357
371
  ...t,
358
372
  isSegregated: !t.isSegregated,
359
373
  opacity: t.isSegregated ? 1 : 0.5
360
374
  });
361
375
  }
362
- function Xe(t) {
363
- H.value = t, ke.value += 1;
376
+ function Re(t) {
377
+ E.value = t, we.value += 1;
364
378
  }
365
- const he = v(null);
366
- function _t({ datapoint: t, plotIndex: a, seriesIndex: l }) {
367
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), te.value = !1, A.value = null;
379
+ const de = v(null);
380
+ function Tt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
381
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), le.value = !1, A.value = null;
368
382
  }
369
- function St({ datapoint: t, plotIndex: a, seriesIndex: l }) {
370
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), he.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: O.value }, A.value = t;
371
- const u = e.value.style.chart.tooltip.customFormat;
372
- if (W.value = !1, ll(u))
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: T.value }, A.value = t;
385
+ const i = e.value.style.chart.tooltip.customFormat;
386
+ if (U.value = !1, ol(i))
373
387
  try {
374
- const s = u({
388
+ const s = i({
375
389
  seriesIndex: l,
376
390
  datapoint: t,
377
391
  plotIndex: a,
378
- series: O.value,
392
+ series: T.value,
379
393
  config: e.value
380
394
  });
381
- typeof s == "string" && (le.value = s, W.value = !0);
395
+ typeof s == "string" && (ae.value = s, U.value = !0);
382
396
  } catch {
383
- console.warn("Custom format cannot be applied."), W.value = !1;
397
+ console.warn("Custom format cannot be applied."), U.value = !1;
384
398
  }
385
- if (!W.value) {
399
+ if (!U.value) {
386
400
  let s = "";
387
401
  s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, s += `<div>${t.label}</div>`, s += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${Y(
388
402
  e.value.style.chart.axes.x.labels.formatter,
389
403
  t.valueX,
390
- E({
404
+ H({
391
405
  p: e.value.style.chart.axes.x.labels.prefix,
392
406
  v: t.valueX,
393
407
  s: e.value.style.chart.axes.x.labels.suffix,
@@ -396,27 +410,27 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
396
410
  )}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${Y(
397
411
  e.value.style.chart.axes.y.labels.formatter,
398
412
  t.valueY,
399
- E({
413
+ H({
400
414
  p: e.value.style.chart.axes.y.labels.prefix,
401
415
  v: t.valueY,
402
416
  s: e.value.style.chart.axes.y.labels.suffix,
403
417
  r: e.value.style.chart.axes.y.labels.rounding
404
418
  })
405
- )}</div>`, le.value = `<div>${s}</div>`;
419
+ )}</div>`, ae.value = `<div>${s}</div>`;
406
420
  }
407
- te.value = !0;
421
+ le.value = !0;
408
422
  }
409
- h(() => ({ head: P.value.map((a) => ({
423
+ h(() => ({ head: D.value.map((a) => ({
410
424
  name: a.name,
411
425
  color: a.color
412
426
  })) }));
413
- const q = h(() => {
427
+ const J = h(() => {
414
428
  const t = [
415
429
  e.value.table.columnNames.series,
416
430
  e.value.table.columnNames.datapoint,
417
431
  e.value.table.columnNames.x,
418
432
  e.value.table.columnNames.y
419
- ], a = P.value.flatMap((u) => u.plots.map((s) => [
433
+ ], a = D.value.flatMap((i) => i.plots.map((s) => [
420
434
  {
421
435
  color: s.color,
422
436
  name: s.seriesName
@@ -425,7 +439,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
425
439
  Y(
426
440
  e.value.style.chart.axes.x.labels.formatter,
427
441
  s.valueX,
428
- E({
442
+ H({
429
443
  p: e.value.style.chart.axes.x.labels.prefix,
430
444
  v: s.valueX,
431
445
  s: e.value.style.chart.axes.x.labels.suffix,
@@ -435,7 +449,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
435
449
  Y(
436
450
  e.value.style.chart.axes.y.labels.formatter,
437
451
  s.valueY,
438
- E({
452
+ H({
439
453
  p: e.value.style.chart.axes.y.labels.prefix,
440
454
  v: s.valueY,
441
455
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -462,80 +476,80 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
462
476
  colNames: t
463
477
  };
464
478
  });
465
- function de(t = null) {
466
- Ht(() => {
479
+ function ye(t = null) {
480
+ jt(() => {
467
481
  const a = [
468
482
  [e.value.table.columnNames.series],
469
483
  [e.value.table.columnNames.datapoint],
470
484
  [e.value.table.columnNames.x],
471
485
  [e.value.table.columnNames.y]
472
- ], l = P.value.flatMap((k) => k.plots.map((Q) => [
473
- [Q.seriesName],
474
- [Q.label],
475
- [Q.valueX],
476
- [Q.valueY]
477
- ])), u = [
486
+ ], l = D.value.flatMap((w) => w.plots.map((Z) => [
487
+ [Z.seriesName],
488
+ [Z.label],
489
+ [Z.valueX],
490
+ [Z.valueY]
491
+ ])), i = [
478
492
  [e.value.style.chart.title.text],
479
493
  [e.value.style.chart.title.subtitle.text],
480
494
  a
481
- ].concat(l), s = el(u);
482
- t ? t(s) : tl({
495
+ ].concat(l), s = al(i);
496
+ t ? t(s) : sl({
483
497
  csvContent: s,
484
498
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
485
499
  });
486
500
  });
487
501
  }
488
- const J = v(!1);
489
- function ye() {
490
- J.value = !J.value;
502
+ const Q = v(!1);
503
+ function fe() {
504
+ Q.value = !Q.value;
491
505
  }
492
- function Re() {
506
+ function Be() {
493
507
  C.value.showTable = !C.value.showTable;
494
508
  }
495
- function Be() {
509
+ function Ye() {
496
510
  C.value.showTooltip = !C.value.showTooltip;
497
511
  }
498
- function $t() {
499
- return P.value;
512
+ function Mt() {
513
+ return D.value;
500
514
  }
501
- async function Lt({ scale: t = 2 } = {}) {
502
- if (!$.value) return;
503
- const { width: a, height: l } = $.value.getBoundingClientRect(), u = a / l, { imageUri: s, base64: k } = await hl({ domElement: $.value, base64: !0, img: !0, scale: t });
515
+ async function zt({ scale: t = 2 } = {}) {
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 });
504
518
  return {
505
519
  imageUri: s,
506
- base64: k,
520
+ base64: w,
507
521
  title: e.value.style.chart.title.text,
508
522
  width: a,
509
523
  height: l,
510
- aspectRatio: u
524
+ aspectRatio: i
511
525
  };
512
526
  }
513
- const Tt = h(() => x.value.tickX), Mt = h(() => ({ start: 0, end: x.value.tickX.length }));
514
- vl({
527
+ const Ot = h(() => g.value.tickX), It = h(() => ({ start: 0, end: g.value.tickX.length }));
528
+ yl({
515
529
  timeLabelsEls: G,
516
- timeLabels: Tt,
517
- slicer: Mt,
530
+ timeLabels: Ot,
531
+ slicer: It,
518
532
  configRef: e,
519
533
  rotationPath: ["style", "chart", "axes", "x", "labels", "rotation"],
520
534
  autoRotatePath: ["style", "chart", "axes", "x", "labels", "autoRotate", "enable"],
521
535
  isAutoSize: !1,
522
- width: dt,
523
- height: yt,
536
+ width: yt,
537
+ height: ft,
524
538
  targetClass: ".vue-ui-history-plot-x-axis-scale",
525
539
  rotation: e.value.style.chart.axes.x.labels.autoRotate.angle
526
540
  });
527
541
  const j = h(() => {
528
542
  const t = e.value.table.useDialog && !e.value.table.show, a = C.value.showTable;
529
543
  return {
530
- component: t ? ut : at,
544
+ component: t ? ut : st,
531
545
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
532
546
  props: t ? {
533
547
  backgroundColor: e.value.table.th.backgroundColor,
534
548
  color: e.value.table.th.color,
535
549
  headerColor: e.value.table.th.color,
536
550
  headerBg: e.value.table.th.backgroundColor,
537
- isFullscreen: H.value,
538
- fullscreenParent: $.value,
551
+ isFullscreen: E.value,
552
+ fullscreenParent: M.value,
539
553
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
540
554
  } : {
541
555
  hideDetails: !0,
@@ -554,71 +568,93 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
554
568
  }
555
569
  };
556
570
  });
557
- Z(() => C.value.showTable, (t) => {
558
- e.value.table.show || (t && e.value.table.useDialog && U.value ? U.value.open() : "close" in U.value && U.value.close());
571
+ K(() => C.value.showTable, (t) => {
572
+ e.value.table.show || (t && e.value.table.useDialog && W.value ? W.value.open() : "close" in W.value && W.value.close());
559
573
  });
560
- function Ye() {
561
- C.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
574
+ function He() {
575
+ C.value.showTable = !1, se.value && se.value.setTableIconState(!1);
562
576
  }
563
- const zt = h(() => e.value.style.chart.backgroundColor), Ot = h(() => e.value.style.chart.legend), Nt = h(() => e.value.style.chart.title), { exportSvg: It, getSvg: Pt } = ul({
564
- svg: ce,
565
- title: Nt,
566
- legend: Ot,
567
- legendItems: ve,
568
- backgroundColor: zt
577
+ const Nt = h(() => e.value.style.chart.backgroundColor), Pt = h(() => e.value.style.chart.legend), Ft = h(() => e.value.style.chart.title), { exportSvg: Dt, getSvg: Xt } = vl({
578
+ svg: ve,
579
+ title: Ft,
580
+ legend: Pt,
581
+ legendItems: he,
582
+ backgroundColor: Nt
569
583
  });
570
584
  async function Ee({ isCb: t }) {
571
585
  if (t) {
572
- const { blob: a, url: l, text: u, dataUrl: s } = await Pt();
573
- 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 });
574
588
  } else
575
- It();
589
+ Dt();
576
590
  }
577
- return Ke({
578
- getData: $t,
579
- getImage: Lt,
580
- generatePdf: Oe,
581
- generateCsv: de,
591
+ return et({
592
+ getData: Mt,
593
+ getImage: zt,
594
+ generatePdf: Ie,
595
+ generateCsv: ye,
582
596
  generateImage: Ne,
583
597
  generateSvg: Ee,
584
- toggleTable: Re,
585
- toggleTooltip: Be,
586
- toggleAnnotator: ye,
587
- toggleFullscreen: Xe
588
- }), (t, a) => (o(), r("div", {
589
- id: `history_plot_${L.value}`,
598
+ hideSeries: St,
599
+ showSeries: At,
600
+ toggleTable: Be,
601
+ toggleTooltip: Ye,
602
+ toggleAnnotator: fe,
603
+ toggleFullscreen: Re
604
+ }), (t, a) => (o(), n("div", {
605
+ id: `history_plot_${z.value}`,
590
606
  ref_key: "historyPlotChart",
591
- ref: $,
592
- class: F({ "vue-data-ui-component": !0, "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
593
- style: S(`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%" : ""}`),
594
- onMouseenter: a[2] || (a[2] = () => i(Le)(!0)),
595
- 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))
596
612
  }, [
597
- p(t.$slots, "userConfig", {}, void 0, !0),
598
- e.value.userOptions.buttons.annotator ? (o(), I(i(ot), {
613
+ y(t.$slots, "userConfig", {}, void 0, !0),
614
+ e.value.userOptions.buttons.annotator ? (o(), F(u(nt), {
599
615
  key: 0,
600
- svgRef: i(ce),
616
+ svgRef: u(ve),
601
617
  backgroundColor: e.value.style.chart.backgroundColor,
602
618
  color: e.value.style.chart.color,
603
- active: J.value,
604
- onClose: ye
605
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
606
- vt.value ? (o(), r("div", {
619
+ active: Q.value,
620
+ onClose: fe
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),
642
+ ht.value ? (o(), n("div", {
607
643
  key: 1,
608
644
  ref_key: "noTitle",
609
- ref: we,
645
+ ref: Ce,
610
646
  class: "vue-data-ui-no-title-space",
611
647
  style: "height:36px; width: 100%;background:transparent"
612
648
  }, null, 512)) : d("", !0),
613
- e.value.style.chart.title.text ? (o(), r("div", {
649
+ e.value.style.chart.title.text ? (o(), n("div", {
614
650
  key: 2,
615
651
  ref_key: "chartTitle",
616
- ref: xe,
652
+ ref: pe,
617
653
  class: "vue-ui-xy-title",
618
- style: S(`font-family:${e.value.style.fontFamily}`)
654
+ style: L(`font-family:${e.value.style.fontFamily}`)
619
655
  }, [
620
- (o(), I(dl, {
621
- key: `title_${pe.value}`,
656
+ (o(), F(xl, {
657
+ key: `title_${ge.value}`,
622
658
  config: {
623
659
  title: {
624
660
  cy: "history-plot-div-title",
@@ -631,18 +667,18 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
631
667
  }
632
668
  }, null, 8, ["config"]))
633
669
  ], 4)) : d("", !0),
634
- _("div", {
635
- id: `legend-top-${L.value}`
636
- }, null, 8, gl),
637
- e.value.userOptions.show && V.value && (i(Te) || i(ie)) ? (o(), I(i(rt), {
670
+ S("div", {
671
+ id: `legend-top-${z.value}`
672
+ }, null, 8, kl),
673
+ e.value.userOptions.show && V.value && (u(Me) || u(ce)) ? (o(), F(u(rt), {
638
674
  ref_key: "userOptionsRef",
639
- ref: ae,
640
- key: `user_option_${ke.value}`,
675
+ ref: se,
676
+ key: `user_option_${we.value}`,
641
677
  backgroundColor: e.value.style.chart.backgroundColor,
642
678
  color: e.value.style.chart.color,
643
- isPrinting: i(Me),
644
- isImaging: i(ze),
645
- uid: L.value,
679
+ isPrinting: u(ze),
680
+ isImaging: u(Oe),
681
+ uid: z.value,
646
682
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
647
683
  hasPdf: e.value.userOptions.buttons.pdf,
648
684
  hasImg: e.value.userOptions.buttons.img,
@@ -651,101 +687,101 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
651
687
  hasTable: e.value.userOptions.buttons.table,
652
688
  hasLabel: !1,
653
689
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
654
- isFullscreen: H.value,
655
- chartElement: $.value,
690
+ isFullscreen: E.value,
691
+ chartElement: M.value,
656
692
  position: e.value.userOptions.position,
657
693
  isTooltip: C.value.showTooltip,
658
694
  titles: { ...e.value.userOptions.buttonTitles },
659
695
  hasAnnotator: e.value.userOptions.buttons.annotator,
660
- isAnnotation: J.value,
696
+ isAnnotation: Q.value,
661
697
  callbacks: e.value.userOptions.callbacks,
662
698
  printScale: e.value.userOptions.print.scale,
663
699
  tableDialog: e.value.table.useDialog,
664
- onToggleFullscreen: Xe,
665
- onGeneratePdf: i(Oe),
666
- onGenerateCsv: de,
667
- onGenerateImage: i(Ne),
700
+ onToggleFullscreen: Re,
701
+ onGeneratePdf: u(Ie),
702
+ onGenerateCsv: ye,
703
+ onGenerateImage: u(Ne),
668
704
  onGenerateSvg: Ee,
669
- onToggleTable: Re,
670
- onToggleTooltip: Be,
671
- onToggleAnnotator: ye,
672
- style: S({
673
- visibility: i(Te) ? i(ie) ? "visible" : "hidden" : "visible"
705
+ onToggleTable: Be,
706
+ onToggleTooltip: Ye,
707
+ onToggleAnnotator: fe,
708
+ style: L({
709
+ visibility: u(Me) ? u(ce) ? "visible" : "hidden" : "visible"
674
710
  })
675
711
  }, We({ _: 2 }, [
676
712
  t.$slots.menuIcon ? {
677
713
  name: "menuIcon",
678
- fn: g(({ isOpen: l, color: u }) => [
679
- 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)
680
716
  ]),
681
717
  key: "0"
682
718
  } : void 0,
683
719
  t.$slots.optionTooltip ? {
684
720
  name: "optionTooltip",
685
- fn: g(() => [
686
- p(t.$slots, "optionTooltip", {}, void 0, !0)
721
+ fn: f(() => [
722
+ y(t.$slots, "optionTooltip", {}, void 0, !0)
687
723
  ]),
688
724
  key: "1"
689
725
  } : void 0,
690
726
  t.$slots.optionPdf ? {
691
727
  name: "optionPdf",
692
- fn: g(() => [
693
- p(t.$slots, "optionPdf", {}, void 0, !0)
728
+ fn: f(() => [
729
+ y(t.$slots, "optionPdf", {}, void 0, !0)
694
730
  ]),
695
731
  key: "2"
696
732
  } : void 0,
697
733
  t.$slots.optionCsv ? {
698
734
  name: "optionCsv",
699
- fn: g(() => [
700
- p(t.$slots, "optionCsv", {}, void 0, !0)
735
+ fn: f(() => [
736
+ y(t.$slots, "optionCsv", {}, void 0, !0)
701
737
  ]),
702
738
  key: "3"
703
739
  } : void 0,
704
740
  t.$slots.optionImg ? {
705
741
  name: "optionImg",
706
- fn: g(() => [
707
- p(t.$slots, "optionImg", {}, void 0, !0)
742
+ fn: f(() => [
743
+ y(t.$slots, "optionImg", {}, void 0, !0)
708
744
  ]),
709
745
  key: "4"
710
746
  } : void 0,
711
747
  t.$slots.optionSvg ? {
712
748
  name: "optionSvg",
713
- fn: g(() => [
714
- p(t.$slots, "optionSvg", {}, void 0, !0)
749
+ fn: f(() => [
750
+ y(t.$slots, "optionSvg", {}, void 0, !0)
715
751
  ]),
716
752
  key: "5"
717
753
  } : void 0,
718
754
  t.$slots.optionTable ? {
719
755
  name: "optionTable",
720
- fn: g(() => [
721
- p(t.$slots, "optionTable", {}, void 0, !0)
756
+ fn: f(() => [
757
+ y(t.$slots, "optionTable", {}, void 0, !0)
722
758
  ]),
723
759
  key: "6"
724
760
  } : void 0,
725
761
  t.$slots.optionFullscreen ? {
726
762
  name: "optionFullscreen",
727
- fn: g(({ toggleFullscreen: l, isFullscreen: u }) => [
728
- 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)
729
765
  ]),
730
766
  key: "7"
731
767
  } : void 0,
732
768
  t.$slots.optionAnnotator ? {
733
769
  name: "optionAnnotator",
734
- fn: g(({ toggleAnnotator: l, isAnnotator: u }) => [
735
- 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)
736
772
  ]),
737
773
  key: "8"
738
774
  } : void 0
739
775
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
740
- (o(), r("svg", {
776
+ (o(), n("svg", {
741
777
  ref_key: "svgRef",
742
- ref: ce,
743
- xmlns: i(Vt),
744
- viewBox: `0 0 ${f.value.width < 0 ? 0.1 : f.value.width} ${f.value.height < 0 ? 0.1 : f.value.height}`,
745
- style: S(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
778
+ ref: ve,
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}`)
746
782
  }, [
747
- fe(i(nt)),
748
- t.$slots["chart-background"] ? (o(), r("foreignObject", {
783
+ xe(u(it)),
784
+ t.$slots["chart-background"] ? (o(), n("foreignObject", {
749
785
  key: 0,
750
786
  x: c.value.left,
751
787
  y: c.value.top,
@@ -755,29 +791,29 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
755
791
  pointerEvents: "none"
756
792
  }
757
793
  }, [
758
- p(t.$slots, "chart-background", {}, void 0, !0)
759
- ], 8, bl)) : d("", !0),
760
- e.value.style.chart.plots.gradient.show ? (o(), r("defs", kl, [
761
- (o(!0), r(m, null, b(P.value, (l, u) => (o(), r("radialGradient", {
762
- id: `gradient_${u}_${L.value}`,
794
+ y(t.$slots, "chart-background", {}, void 0, !0)
795
+ ], 8, Cl)) : d("", !0),
796
+ e.value.style.chart.plots.gradient.show ? (o(), n("defs", Al, [
797
+ (o(!0), n(b, null, k(D.value, (l, i) => (o(), n("radialGradient", {
798
+ id: `gradient_${i}_${z.value}`,
763
799
  fy: "30%"
764
800
  }, [
765
- _("stop", {
801
+ S("stop", {
766
802
  offset: "10%",
767
- "stop-color": i(qt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
768
- }, null, 8, Cl),
769
- _("stop", {
803
+ "stop-color": u(Zt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
804
+ }, null, 8, $l),
805
+ S("stop", {
770
806
  offset: "90%",
771
- "stop-color": i(Jt)(l.color, 0.1)
772
- }, null, 8, Al),
773
- _("stop", {
807
+ "stop-color": u(Kt)(l.color, 0.1)
808
+ }, null, 8, _l),
809
+ S("stop", {
774
810
  offset: "100%",
775
811
  "stop-color": l.color
776
- }, null, 8, _l)
777
- ], 8, wl))), 256))
812
+ }, null, 8, Tl)
813
+ ], 8, Sl))), 256))
778
814
  ])) : d("", !0),
779
- e.value.style.chart.grid.verticalLines.show ? (o(), r("g", Sl, [
780
- (o(!0), r(m, null, b(x.value.tickX, (l) => (o(), r("line", {
815
+ e.value.style.chart.grid.verticalLines.show ? (o(), n("g", Ll, [
816
+ (o(!0), n(b, null, k(g.value.tickX, (l) => (o(), n("line", {
781
817
  x1: l.x,
782
818
  x2: l.x,
783
819
  y1: l.y1,
@@ -785,10 +821,10 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
785
821
  stroke: e.value.style.chart.grid.verticalLines.stroke,
786
822
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
787
823
  "stroke-linecap": "round"
788
- }, null, 8, $l))), 256))
824
+ }, null, 8, Ml))), 256))
789
825
  ])) : d("", !0),
790
- e.value.style.chart.axes.y.labels.show ? (o(), r("g", Ll, [
791
- (o(!0), r(m, null, b(x.value.tickY, (l) => (o(), r("line", {
826
+ e.value.style.chart.axes.y.labels.show ? (o(), n("g", zl, [
827
+ (o(!0), n(b, null, k(g.value.tickY, (l) => (o(), n("line", {
792
828
  stroke: e.value.style.chart.grid.verticalLines.stroke,
793
829
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
794
830
  "stroke-linecap": "round",
@@ -796,42 +832,42 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
796
832
  x2: c.value.left,
797
833
  y1: l.y,
798
834
  y2: l.y
799
- }, null, 8, Tl))), 256))
835
+ }, null, 8, Ol))), 256))
800
836
  ])) : d("", !0),
801
- e.value.style.chart.axes.y.labels.show ? (o(), r("g", {
837
+ e.value.style.chart.axes.y.labels.show ? (o(), n("g", {
802
838
  key: 4,
803
839
  ref_key: "yAxisScales",
804
840
  ref: re
805
841
  }, [
806
- (o(!0), r(m, null, b(x.value.tickY, (l) => (o(), r("text", {
842
+ (o(!0), n(b, null, k(g.value.tickY, (l) => (o(), n("text", {
807
843
  x: c.value.left + e.value.style.chart.axes.y.labels.offsetX - 4 - e.value.style.chart.plots.radius,
808
- y: l.y + n.value.yAxisLabels / 3,
844
+ y: l.y + r.value.yAxisLabels / 3,
809
845
  fill: e.value.style.chart.axes.y.labels.color,
810
- "font-size": n.value.yAxisLabels,
846
+ "font-size": r.value.yAxisLabels,
811
847
  "text-anchor": "end"
812
- }, T(i(Y)(
848
+ }, O(u(Y)(
813
849
  e.value.style.chart.axes.y.labels.formatter,
814
850
  l.value,
815
- i(E)({
851
+ u(H)({
816
852
  p: e.value.style.chart.axes.y.labels.prefix,
817
853
  v: l.value,
818
854
  s: e.value.style.chart.axes.y.labels.suffix,
819
855
  r: e.value.style.chart.axes.y.labels.rounding
820
856
  })
821
- )), 9, Ml))), 256))
857
+ )), 9, Il))), 256))
822
858
  ], 512)) : d("", !0),
823
- e.value.style.chart.axes.y.name.text ? (o(), r("text", {
859
+ e.value.style.chart.axes.y.name.text ? (o(), n("text", {
824
860
  key: 5,
825
861
  ref_key: "yAxisLabel",
826
- ref: oe,
827
- transform: `translate(${n.value.yAxisName}, ${f.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
828
- "font-size": n.value.yAxisName,
862
+ ref: ne,
863
+ transform: `translate(${r.value.yAxisName}, ${p.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
864
+ "font-size": r.value.yAxisName,
829
865
  fill: e.value.style.chart.axes.y.name.color,
830
866
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
831
867
  "text-anchor": "middle"
832
- }, T(e.value.style.chart.axes.y.name.text), 9, zl)) : d("", !0),
833
- e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Ol, [
834
- (o(!0), r(m, null, b(x.value.tickY, (l) => (o(), r("line", {
868
+ }, O(e.value.style.chart.axes.y.name.text), 9, Nl)) : d("", !0),
869
+ e.value.style.chart.grid.horizontalLines.show ? (o(), n("g", Pl, [
870
+ (o(!0), n(b, null, k(g.value.tickY, (l) => (o(), n("line", {
835
871
  x1: l.x1,
836
872
  x2: l.x2,
837
873
  y1: l.y,
@@ -839,10 +875,10 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
839
875
  stroke: e.value.style.chart.grid.horizontalLines.stroke,
840
876
  "stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
841
877
  "stroke-linecap": "round"
842
- }, null, 8, Nl))), 256))
878
+ }, null, 8, Fl))), 256))
843
879
  ])) : d("", !0),
844
- e.value.style.chart.axes.x.labels.show ? (o(), r("g", Il, [
845
- (o(!0), r(m, null, b(x.value.tickX, (l) => (o(), r("line", {
880
+ e.value.style.chart.axes.x.labels.show ? (o(), n("g", Dl, [
881
+ (o(!0), n(b, null, k(g.value.tickX, (l) => (o(), n("line", {
846
882
  stroke: e.value.style.chart.grid.verticalLines.stroke,
847
883
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
848
884
  "stroke-linecap": "round",
@@ -850,42 +886,42 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
850
886
  x2: l.x,
851
887
  y1: c.value.bottom,
852
888
  y2: c.value.bottom + 5
853
- }, null, 8, Pl))), 256))
889
+ }, null, 8, Xl))), 256))
854
890
  ])) : d("", !0),
855
- e.value.style.chart.axes.x.labels.show ? (o(), r("g", {
891
+ e.value.style.chart.axes.x.labels.show ? (o(), n("g", {
856
892
  key: 8,
857
893
  ref_key: "xAxisScales",
858
894
  ref: G
859
895
  }, [
860
- (o(!0), r(m, null, b(x.value.tickX, (l) => (o(), r("text", {
896
+ (o(!0), n(b, null, k(g.value.tickX, (l) => (o(), n("text", {
861
897
  class: "vue-ui-history-plot-x-axis-scale",
862
- transform: `translate(${l.x}, ${c.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels + e.value.style.chart.plots.radius}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
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})`,
863
899
  fill: e.value.style.chart.axes.x.labels.color,
864
- "font-size": n.value.xAxisLabels,
900
+ "font-size": r.value.xAxisLabels,
865
901
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
866
- }, T(i(Y)(
902
+ }, O(u(Y)(
867
903
  e.value.style.chart.axes.x.labels.formatter,
868
904
  l.value,
869
- i(E)({
905
+ u(H)({
870
906
  p: e.value.style.chart.axes.x.labels.prefix,
871
907
  v: l.value,
872
908
  s: e.value.style.chart.axes.x.labels.suffix,
873
909
  r: e.value.style.chart.axes.x.labels.rounding
874
910
  })
875
- )), 9, Fl))), 256))
911
+ )), 9, Rl))), 256))
876
912
  ], 512)) : d("", !0),
877
- e.value.style.chart.axes.x.name.text ? (o(), r("text", {
913
+ e.value.style.chart.axes.x.name.text ? (o(), n("text", {
878
914
  key: 9,
879
915
  ref_key: "xAxisLabel",
880
- ref: se,
881
- x: f.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
882
- y: f.value.height,
883
- "font-size": n.value.xAxisName,
916
+ ref: oe,
917
+ x: p.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
918
+ y: p.value.height,
919
+ "font-size": r.value.xAxisName,
884
920
  fill: e.value.style.chart.axes.x.name.color,
885
921
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
886
922
  "text-anchor": "middle"
887
- }, T(e.value.style.chart.axes.x.name.text), 9, Dl)) : d("", !0),
888
- e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
923
+ }, O(e.value.style.chart.axes.x.name.text), 9, Bl)) : d("", !0),
924
+ e.value.style.chart.grid.xAxis.show ? (o(), n("line", {
889
925
  key: 10,
890
926
  x1: c.value.left,
891
927
  x2: c.value.left + c.value.width,
@@ -894,8 +930,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
894
930
  stroke: e.value.style.chart.grid.xAxis.stroke,
895
931
  "stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
896
932
  "stroke-linecap": "round"
897
- }, null, 8, Xl)) : d("", !0),
898
- e.value.style.chart.grid.yAxis.show ? (o(), r("line", {
933
+ }, null, 8, Yl)) : d("", !0),
934
+ e.value.style.chart.grid.yAxis.show ? (o(), n("line", {
899
935
  key: 11,
900
936
  x1: c.value.left,
901
937
  x2: c.value.left,
@@ -904,181 +940,181 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
904
940
  stroke: e.value.style.chart.grid.yAxis.stroke,
905
941
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
906
942
  "stroke-linecap": "round"
907
- }, null, 8, Rl)) : d("", !0),
908
- (o(!0), r(m, null, b(P.value, (l, u) => (o(), r("g", null, [
909
- e.value.style.chart.paths.show ? (o(), r("g", {
943
+ }, null, 8, Hl)) : d("", !0),
944
+ (o(!0), n(b, null, k(D.value, (l, i) => (o(), n("g", null, [
945
+ e.value.style.chart.paths.show ? (o(), n("g", {
910
946
  key: 0,
911
- style: S({
947
+ style: L({
912
948
  opacity: A.value === null ? 1 : 0.3
913
949
  })
914
950
  }, [
915
- _("path", {
951
+ S("path", {
916
952
  d: l.path,
917
953
  stroke: e.value.style.chart.backgroundColor,
918
954
  "stroke-width": e.value.style.chart.paths.strokeWidth + 4,
919
955
  fill: "none",
920
956
  "stroke-linecap": "round",
921
957
  "stroke-linejoin": "round",
922
- class: F({ animated: e.value.useCssAnimation && !i(z) })
923
- }, null, 10, Bl),
924
- _("path", {
958
+ class: X({ animated: e.value.useCssAnimation && !u(N) })
959
+ }, null, 10, El),
960
+ S("path", {
925
961
  d: l.path,
926
962
  stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
927
963
  "stroke-width": e.value.style.chart.paths.strokeWidth,
928
964
  fill: "none",
929
965
  "stroke-linecap": "round",
930
966
  "stroke-linejoin": "round",
931
- class: F({ animated: e.value.useCssAnimation && !i(z) })
932
- }, null, 10, Yl)
967
+ class: X({ animated: e.value.useCssAnimation && !u(N) })
968
+ }, null, 10, Ul)
933
969
  ], 4)) : d("", !0),
934
- (o(!0), r(m, null, b(l.plots, (s) => (o(), r("circle", {
970
+ (o(!0), n(b, null, k(l.plots, (s) => (o(), n("circle", {
935
971
  cx: s.x,
936
972
  cy: s.y,
937
973
  fill: e.value.style.chart.backgroundColor,
938
- r: n.value.plots,
974
+ r: r.value.plots,
939
975
  stroke: "none"
940
- }, null, 8, El))), 256)),
941
- (o(!0), r(m, null, b(l.plots, (s) => (o(), r("circle", {
976
+ }, null, 8, Wl))), 256)),
977
+ (o(!0), n(b, null, k(l.plots, (s) => (o(), n("circle", {
942
978
  cx: s.x,
943
979
  cy: s.y,
944
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${u}_${L.value})` : s.color,
945
- r: n.value.plots,
980
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${z.value})` : s.color,
981
+ r: r.value.plots,
946
982
  stroke: e.value.style.chart.plots.stroke,
947
983
  "stroke-width": e.value.style.chart.plots.strokeWidth,
948
- class: F({ animated: e.value.useCssAnimation && !i(z) }),
949
- style: S({
984
+ class: X({ animated: e.value.useCssAnimation && !u(N) }),
985
+ style: L({
950
986
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
951
987
  transition: "opacity 0.2s ease-in-out"
952
988
  })
953
- }, null, 14, Hl))), 256)),
954
- e.value.style.chart.plots.labels.show ? (o(), r("g", Wl, [
955
- (o(!0), r(m, null, b(l.plots, (s) => (o(), r("g", null, [
989
+ }, null, 14, jl))), 256)),
990
+ e.value.style.chart.plots.labels.show ? (o(), n("g", Gl, [
991
+ (o(!0), n(b, null, k(l.plots, (s) => (o(), n("g", null, [
956
992
  String(s.label).includes(`
957
- `) ? (o(), r("text", {
993
+ `) ? (o(), n("text", {
958
994
  key: 1,
959
995
  x: s.x + e.value.style.chart.plots.labels.offsetX,
960
- y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
961
- "font-size": n.value.labels,
996
+ y: s.y + e.value.style.chart.plots.labels.offsetY + r.value.plots + r.value.labels,
997
+ "font-size": r.value.labels,
962
998
  fill: e.value.style.chart.plots.labels.color,
963
999
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
964
1000
  "text-anchor": "middle",
965
- class: F({ animated: e.value.useCssAnimation && !i(z) }),
966
- style: S({
1001
+ class: X({ animated: e.value.useCssAnimation && !u(N) }),
1002
+ style: L({
967
1003
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
968
1004
  transition: "opacity 0.2s ease-in-out"
969
1005
  }),
970
- innerHTML: i(Qt)({
1006
+ innerHTML: u(el)({
971
1007
  content: String(s.label),
972
- fontSize: n.value.labels,
1008
+ fontSize: r.value.labels,
973
1009
  fill: e.value.style.chart.plots.labels.color,
974
1010
  x: s.x + e.value.style.chart.plots.labels.offsetX,
975
- y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
1011
+ y: s.y + e.value.style.chart.plots.labels.offsetY + r.value.plots + r.value.labels
976
1012
  })
977
- }, null, 14, jl)) : (o(), r("text", {
1013
+ }, null, 14, ql)) : (o(), n("text", {
978
1014
  key: 0,
979
1015
  x: s.x + e.value.style.chart.plots.labels.offsetX,
980
- y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
981
- "font-size": n.value.labels,
1016
+ y: s.y + e.value.style.chart.plots.labels.offsetY + r.value.plots + r.value.labels,
1017
+ "font-size": r.value.labels,
982
1018
  fill: e.value.style.chart.plots.labels.color,
983
1019
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
984
1020
  "text-anchor": "middle",
985
- class: F({ animated: e.value.useCssAnimation && !i(z) }),
986
- style: S({
1021
+ class: X({ animated: e.value.useCssAnimation && !u(N) }),
1022
+ style: L({
987
1023
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
988
1024
  transition: "opacity 0.2s ease-in-out"
989
1025
  })
990
- }, T(s.label), 15, Ul))
1026
+ }, O(s.label), 15, Vl))
991
1027
  ]))), 256))
992
1028
  ])) : d("", !0),
993
- e.value.style.chart.plots.indexLabels.show ? (o(), r("g", Gl, [
994
- (o(!0), r(m, null, b(l.plots, (s, k) => (o(), r("text", {
1029
+ e.value.style.chart.plots.indexLabels.show ? (o(), n("g", Jl, [
1030
+ (o(!0), n(b, null, k(l.plots, (s, w) => (o(), n("text", {
995
1031
  x: s.x + e.value.style.chart.plots.indexLabels.offsetX,
996
- y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
997
- "font-size": n.value.indexLabels,
1032
+ y: s.y + e.value.style.chart.plots.indexLabels.offsetY + r.value.indexLabels / 3,
1033
+ "font-size": r.value.indexLabels,
998
1034
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
999
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(Zt)(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,
1000
1036
  "text-anchor": "middle",
1001
- class: F({ animated: e.value.useCssAnimation && !i(z) }),
1002
- style: S({
1037
+ class: X({ animated: e.value.useCssAnimation && !u(N) }),
1038
+ style: L({
1003
1039
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
1004
1040
  transition: "opacity 0.2s ease-in-out"
1005
1041
  })
1006
- }, T(e.value.style.chart.plots.indexLabels.startAtZero ? k : k + 1), 15, Vl))), 256))
1042
+ }, O(e.value.style.chart.plots.indexLabels.startAtZero ? w : w + 1), 15, Ql))), 256))
1007
1043
  ])) : d("", !0)
1008
1044
  ]))), 256)),
1009
- (o(!0), r(m, null, b(P.value, (l) => (o(), r("g", null, [
1010
- (o(!0), r(m, null, b(l.plots, (u, s) => (o(), r("circle", {
1011
- cx: u.x,
1012
- 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,
1013
1049
  fill: "transparent",
1014
- r: n.value.plots,
1050
+ r: r.value.plots,
1015
1051
  stroke: "none",
1016
- onMouseenter: (k) => St({
1017
- datapoint: u,
1052
+ onMouseenter: (w) => Lt({
1053
+ datapoint: i,
1018
1054
  plotIndex: s,
1019
1055
  seriesIndex: l.seriesIndex
1020
1056
  }),
1021
- onMouseleave: (k) => _t({
1022
- datapoint: u,
1057
+ onMouseleave: (w) => Tt({
1058
+ datapoint: i,
1023
1059
  plotIndex: s,
1024
1060
  seriesIndex: l.seriesIndex
1025
1061
  }),
1026
- onClick: (k) => At({
1027
- datapoint: u,
1062
+ onClick: (w) => _t({
1063
+ datapoint: i,
1028
1064
  plotIndex: s,
1029
1065
  seriesIndex: l.seriesIndex
1030
1066
  })
1031
- }, null, 40, ql))), 256))
1067
+ }, null, 40, Zl))), 256))
1032
1068
  ]))), 256)),
1033
- p(t.$slots, "svg", { svg: f.value }, void 0, !0)
1034
- ], 12, ml)),
1035
- t.$slots.watermark ? (o(), r("div", Jl, [
1036
- p(t.$slots, "watermark", R(B({ isPrinting: i(Me) || i(ze) })), void 0, !0)
1069
+ y(t.$slots, "svg", { svg: p.value }, void 0, !0)
1070
+ ], 12, wl)),
1071
+ t.$slots.watermark ? (o(), n("div", Kl, [
1072
+ y(t.$slots, "watermark", $(_({ isPrinting: u(ze) || u(Oe) })), void 0, !0)
1037
1073
  ])) : d("", !0),
1038
- _("div", {
1039
- id: `legend-bottom-${L.value}`
1040
- }, null, 8, Ql),
1041
- Ae.value ? (o(), I(Bt, {
1074
+ S("div", {
1075
+ id: `legend-bottom-${z.value}`
1076
+ }, null, 8, ea),
1077
+ Se.value ? (o(), F(Et, {
1042
1078
  key: 5,
1043
- 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}`
1044
1080
  }, [
1045
- _("div", {
1081
+ S("div", {
1046
1082
  ref_key: "chartLegend",
1047
- ref: ge
1083
+ ref: me
1048
1084
  }, [
1049
- e.value.style.chart.legend.show && V.value ? (o(), I(fl, {
1050
- key: `legend_${me.value}`,
1051
- legendSet: ve.value,
1052
- config: Ct.value,
1085
+ e.value.style.chart.legend.show && V.value ? (o(), F(gl, {
1086
+ key: `legend_${be.value}`,
1087
+ legendSet: he.value,
1088
+ config: $t.value,
1053
1089
  onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
1054
- Fe(l.seriesIndex), De(l);
1090
+ q(l.seriesIndex), Xe(l);
1055
1091
  })
1056
1092
  }, {
1057
- item: g(({ legend: l, index: u }) => [
1058
- _("div", {
1093
+ item: f(({ legend: l, index: i }) => [
1094
+ S("div", {
1059
1095
  onClick: (s) => {
1060
- l.segregate(), De(l);
1096
+ l.segregate(), Xe(l);
1061
1097
  },
1062
- style: S(`opacity:${w.value.includes(l.seriesIndex) ? 0.5 : 1}`)
1063
- }, T(l.name), 13, Zl)
1098
+ style: L(`opacity:${m.value.includes(l.seriesIndex) ? 0.5 : 1}`)
1099
+ }, O(l.name), 13, ta)
1064
1100
  ]),
1065
1101
  _: 1
1066
- }, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
1102
+ }, 8, ["legendSet", "config"])) : y(t.$slots, "legend", {
1067
1103
  key: 1,
1068
- legend: ve.value
1104
+ legend: he.value
1069
1105
  }, void 0, !0)
1070
1106
  ], 512)
1071
1107
  ], 8, ["to"])) : d("", !0),
1072
- t.$slots.source ? (o(), r("div", {
1108
+ t.$slots.source ? (o(), n("div", {
1073
1109
  key: 6,
1074
1110
  ref_key: "source",
1075
- ref: Ce,
1111
+ ref: Ae,
1076
1112
  dir: "auto"
1077
1113
  }, [
1078
- p(t.$slots, "source", {}, void 0, !0)
1114
+ y(t.$slots, "source", {}, void 0, !0)
1079
1115
  ], 512)) : d("", !0),
1080
- fe(i(tt), {
1081
- show: C.value.showTooltip && te.value,
1116
+ xe(u(lt), {
1117
+ show: C.value.showTooltip && le.value,
1082
1118
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1083
1119
  color: e.value.style.chart.tooltip.color,
1084
1120
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1088,47 +1124,47 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
1088
1124
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1089
1125
  position: e.value.style.chart.tooltip.position,
1090
1126
  offsetY: e.value.style.chart.tooltip.offsetY,
1091
- parent: $.value,
1092
- content: le.value,
1093
- isCustom: W.value,
1094
- isFullscreen: H.value,
1127
+ parent: M.value,
1128
+ content: ae.value,
1129
+ isCustom: U.value,
1130
+ isFullscreen: E.value,
1095
1131
  smooth: e.value.style.chart.tooltip.smooth,
1096
1132
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1097
1133
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1098
1134
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1099
1135
  }, {
1100
- "tooltip-before": g(() => [
1101
- p(t.$slots, "tooltip-before", R(B({ ...he.value })), void 0, !0)
1136
+ "tooltip-before": f(() => [
1137
+ y(t.$slots, "tooltip-before", $(_({ ...de.value })), void 0, !0)
1102
1138
  ]),
1103
- "tooltip-after": g(() => [
1104
- p(t.$slots, "tooltip-after", R(B({ ...he.value })), void 0, !0)
1139
+ "tooltip-after": f(() => [
1140
+ y(t.$slots, "tooltip-after", $(_({ ...de.value })), void 0, !0)
1105
1141
  ]),
1106
1142
  _: 3
1107
1143
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1108
- V.value && e.value.userOptions.buttons.table ? (o(), I(Yt(j.value.component), Et({ 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, {
1109
1145
  ref_key: "tableUnit",
1110
- ref: U,
1111
- onClose: Ye
1146
+ ref: W,
1147
+ onClose: He
1112
1148
  }), We({
1113
- content: g(() => [
1114
- (o(), I(i(st), {
1115
- key: `table_${be.value}`,
1116
- colNames: q.value.colNames,
1117
- head: q.value.head,
1118
- body: q.value.body,
1119
- config: q.value.config,
1149
+ content: f(() => [
1150
+ (o(), F(u(ot), {
1151
+ key: `table_${ke.value}`,
1152
+ colNames: J.value.colNames,
1153
+ head: J.value.head,
1154
+ body: J.value.body,
1155
+ config: J.value.config,
1120
1156
  title: e.value.table.useDialog ? "" : j.value.title,
1121
1157
  withCloseButton: !e.value.table.useDialog,
1122
- onClose: Ye
1158
+ onClose: He
1123
1159
  }, {
1124
- th: g(({ th: l }) => [
1125
- _("div", {
1160
+ th: f(({ th: l }) => [
1161
+ S("div", {
1126
1162
  innerHTML: l,
1127
1163
  style: { display: "flex", "align-items": "center" }
1128
- }, null, 8, Kl)
1164
+ }, null, 8, la)
1129
1165
  ]),
1130
- td: g(({ td: l }) => [
1131
- Ue(T(l.name || l), 1)
1166
+ td: f(({ td: l }) => [
1167
+ je(O(l.name || l), 1)
1132
1168
  ]),
1133
1169
  _: 1
1134
1170
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1137,20 +1173,20 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
1137
1173
  }, [
1138
1174
  e.value.table.useDialog ? {
1139
1175
  name: "title",
1140
- fn: g(() => [
1141
- Ue(T(j.value.title), 1)
1176
+ fn: f(() => [
1177
+ je(O(j.value.title), 1)
1142
1178
  ]),
1143
1179
  key: "0"
1144
1180
  } : void 0,
1145
1181
  e.value.table.useDialog ? {
1146
1182
  name: "actions",
1147
- fn: g(() => [
1148
- _("button", {
1183
+ fn: f(() => [
1184
+ S("button", {
1149
1185
  tabindex: "0",
1150
1186
  class: "vue-ui-user-options-button",
1151
- onClick: a[1] || (a[1] = (l) => de(e.value.userOptions.callbacks.csv))
1187
+ onClick: a[1] || (a[1] = (l) => ye(e.value.userOptions.callbacks.csv))
1152
1188
  }, [
1153
- fe(i(lt), {
1189
+ xe(u(at), {
1154
1190
  name: "excel",
1155
1191
  stroke: j.value.props.color
1156
1192
  }, null, 8, ["stroke"])
@@ -1159,10 +1195,10 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
1159
1195
  key: "1"
1160
1196
  } : void 0
1161
1197
  ]), 1040)) : d("", !0),
1162
- i(z) ? (o(), I(rl, { key: 8 })) : d("", !0)
1163
- ], 46, pl));
1198
+ u(N) ? (o(), F(ul, { key: 8 })) : d("", !0)
1199
+ ], 46, bl));
1164
1200
  }
1165
- }, xa = /* @__PURE__ */ xl(ea, [["__scopeId", "data-v-a357420a"]]);
1201
+ }, ma = /* @__PURE__ */ ml(aa, [["__scopeId", "data-v-3fe2716c"]]);
1166
1202
  export {
1167
- xa as default
1203
+ ma as default
1168
1204
  };