vue-data-ui 3.23.1 → 3.23.2

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 (171) hide show
  1. package/dist/{PackageVersion-D6d8SCp9.js → PackageVersion-DXU7nRr9.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-hill.js +1 -1
  28. package/dist/components/vue-ui-history-plot.js +1 -1
  29. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  30. package/dist/components/vue-ui-kpi.js +1 -1
  31. package/dist/components/vue-ui-mini-loader.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-rating.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-smiley.js +1 -1
  47. package/dist/components/vue-ui-spark-trend.js +1 -1
  48. package/dist/components/vue-ui-sparkbar.js +1 -1
  49. package/dist/components/vue-ui-sparkgauge.js +1 -1
  50. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  51. package/dist/components/vue-ui-sparkline.js +1 -1
  52. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  53. package/dist/components/vue-ui-stackbar.js +1 -1
  54. package/dist/components/vue-ui-stackline.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/{package-KvlL5CqE.js → package-bsfpO6y3.js} +1 -1
  71. package/dist/{render-common-oDYGTc5P.js → render-common-C0PEe9so.js} +1 -1
  72. package/dist/ssr/vue-ui-donut.js +1 -1
  73. package/dist/ssr/vue-ui-xy.js +1 -1
  74. package/dist/ssr.js +2 -2
  75. package/dist/style.css +1 -1
  76. package/dist/types/vue-data-ui.d.ts +6 -0
  77. package/dist/{useSvgExport-DH-FfcqQ.js → useChartExport-DNiwdPmb.js} +47 -1
  78. package/dist/{useConfig-D3scuR88.js → useConfig-DlNpz6P8.js} +6 -0
  79. package/dist/{useObjectBindings-Brg8mm5J.js → useObjectBindings-BeWS5v0i.js} +1 -1
  80. package/dist/utils.js +1 -1
  81. package/dist/{vue-data-ui-DGWDPCwC.js → vue-data-ui-BNxtW8pK.js} +68 -68
  82. package/dist/vue-data-ui.js +69 -69
  83. package/dist/{vue-ui-3d-bar-C_Su9fve.js → vue-ui-3d-bar-BYumVxZG.js} +164 -182
  84. package/dist/{vue-ui-accordion-BxGriZik.js → vue-ui-accordion-DegI2lzR.js} +1 -1
  85. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  86. package/dist/{vue-ui-annotator-CCtnM8Rv.js → vue-ui-annotator-DfG79D4r.js} +2 -2
  87. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  88. package/dist/{vue-ui-bump-CcdzJZ9n.js → vue-ui-bump-mKysp0KO.js} +213 -263
  89. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  90. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  91. package/dist/vue-ui-chestnut-Dpklo-VE.js +2014 -0
  92. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  93. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  94. package/dist/{vue-ui-cursor-BqHr0n1Z.js → vue-ui-cursor-DIt7vOwc.js} +2 -2
  95. package/dist/{vue-ui-dag-jMLVoQkb.js → vue-ui-dag-Cl0WdSLb.js} +492 -515
  96. package/dist/{vue-ui-dashboard-DVAUFETR.js → vue-ui-dashboard-BwxRLR4E.js} +65 -65
  97. package/dist/{vue-ui-digits-Dy4gG6qm.js → vue-ui-digits-Bp1OH_t1.js} +2 -2
  98. package/dist/{vue-ui-donut-C0cWRLbU.js → vue-ui-donut-BZUT7QYt.js} +333 -359
  99. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  100. package/dist/{vue-ui-donut-CYpxGBhl.js → vue-ui-donut-y6tOAVyY.js} +2 -2
  101. package/dist/{vue-ui-dumbbell-DxVbRjKR.js → vue-ui-dumbbell-BtKZcAOV.js} +378 -428
  102. package/dist/{vue-ui-flow-DWaZF4FS.js → vue-ui-flow-BF_cndsv.js} +182 -207
  103. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  104. package/dist/{vue-ui-galaxy-CWBP9oH9.js → vue-ui-galaxy-ClWaSOmM.js} +308 -334
  105. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  106. package/dist/{vue-ui-geo-ZA7CBy8f.js → vue-ui-geo-B1tOD3HC.js} +362 -413
  107. package/dist/{vue-ui-gizmo-SQCou0bQ.js → vue-ui-gizmo-foatosAv.js} +2 -2
  108. package/dist/{vue-ui-heatmap-CHd9gs_p.js → vue-ui-heatmap-By33A9dZ.js} +292 -315
  109. package/dist/vue-ui-hill-ewqkK9s5.js +1745 -0
  110. package/dist/{vue-ui-history-plot-BwnlC1mx.js → vue-ui-history-plot-FEIwXlsz.js} +258 -283
  111. package/dist/{vue-ui-horizontal-bar-BUar2HUH.js → vue-ui-horizontal-bar-D51sAeVu.js} +273 -298
  112. package/dist/{vue-ui-kpi-BF_9WWoo.js → vue-ui-kpi-y3EkgqJQ.js} +2 -2
  113. package/dist/{vue-ui-mini-loader-CvfukjXi.js → vue-ui-mini-loader-CtTewZJG.js} +1 -1
  114. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  115. package/dist/{vue-ui-mood-radar-_zpbmvJs.js → vue-ui-mood-radar-wBRTZI5k.js} +337 -386
  116. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  117. package/dist/{vue-ui-onion-CB5RYIy5.js → vue-ui-onion-B2Q2n55x.js} +257 -282
  118. package/dist/{vue-ui-parallel-coordinate-plot-BUwt-apg.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +190 -215
  119. package/dist/{vue-ui-quadrant-CoROD3er.js → vue-ui-quadrant-DOPuejDE.js} +213 -243
  120. package/dist/{vue-ui-quick-chart-BcH7eY4-.js → vue-ui-quick-chart-CgHX9njq.js} +52 -61
  121. package/dist/{vue-ui-radar-DGbaXGme.js → vue-ui-radar-BLvG-_zE.js} +343 -370
  122. package/dist/{vue-ui-rating-Bo3zD3yW.js → vue-ui-rating-BDVSVFA0.js} +8 -9
  123. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  124. package/dist/{vue-ui-ridgeline-BCaGcyfk.js → vue-ui-ridgeline-BbrnXvBo.js} +267 -317
  125. package/dist/{vue-ui-rings-BJUBn8_b.js → vue-ui-rings-B3cKfMWy.js} +407 -432
  126. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  127. package/dist/{vue-ui-skeleton-EeJcGbCo.js → vue-ui-skeleton-DwKxd7fk.js} +2 -2
  128. package/dist/{vue-ui-smiley-D0gibt5c.js → vue-ui-smiley-5iHJeTPc.js} +62 -63
  129. package/dist/{vue-ui-spark-trend-BRoQ7JpQ.js → vue-ui-spark-trend-MpvrV5Wd.js} +2 -2
  130. package/dist/{vue-ui-sparkbar-DFp2k7-7.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  131. package/dist/{vue-ui-sparkgauge-D0Bq85Hs.js → vue-ui-sparkgauge-B-BYVv4p.js} +2 -2
  132. package/dist/{vue-ui-sparkhistogram-BPln7v63.js → vue-ui-sparkhistogram-D7D4NHdi.js} +7 -8
  133. package/dist/{vue-ui-sparkline-C6Q45Dqp.js → vue-ui-sparkline-RbeYtLWp.js} +6 -7
  134. package/dist/{vue-ui-sparkstackbar-CjK4bcQg.js → vue-ui-sparkstackbar-ohN7mtbg.js} +191 -195
  135. package/dist/{vue-ui-stackbar-Ca8EPf3e.js → vue-ui-stackbar-D2bpvQYt.js} +524 -549
  136. package/dist/{vue-ui-stackline-Pz5WWlWT.js → vue-ui-stackline-Bo1oE8yq.js} +570 -595
  137. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  138. package/dist/{vue-ui-table-Bjg-ujJu.js → vue-ui-table-3PPiJPV6.js} +3 -3
  139. package/dist/{vue-ui-table-heatmap-ljeYW8Wc.js → vue-ui-table-heatmap-D1bbPXKG.js} +48 -49
  140. package/dist/{vue-ui-table-sparkline-iRFmtK5S.js → vue-ui-table-sparkline-l1cUX3ny.js} +7 -9
  141. package/dist/{vue-ui-thermometer-D8uiOaeA.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  142. package/dist/{vue-ui-timer-CYw983oL.js → vue-ui-timer-DWNdx47q.js} +2 -2
  143. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  144. package/dist/{vue-ui-treemap-h4VbnqPA.js → vue-ui-treemap-DjNlnOG5.js} +498 -524
  145. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  146. package/dist/{vue-ui-wheel-tLvJadk5.js → vue-ui-wheel-DrefGLos.js} +188 -209
  147. package/dist/{vue-ui-word-cloud-BjpGSsod.js → vue-ui-word-cloud-CQZ8AyOi.js} +375 -398
  148. package/dist/{vue-ui-world-B4fCS3jN.js → vue-ui-world-Y7a3VEjq.js} +428 -453
  149. package/dist/{vue-ui-xy-7ZT9IRD8.js → vue-ui-xy-CJcdttNL.js} +857 -883
  150. package/dist/{vue-ui-xy-gyNS0yH0.js → vue-ui-xy-DPxtkYGc.js} +2 -2
  151. package/dist/{vue-ui-xy-canvas-BnLEwBpi.js → vue-ui-xy-canvas-1rbwMA1m.js} +13 -12
  152. package/package.json +1 -1
  153. package/dist/Slicer-CIk57nL4.js +0 -1163
  154. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +0 -1264
  155. package/dist/vue-ui-bullet-DLZr2Uk8.js +0 -724
  156. package/dist/vue-ui-candlestick-EEEt7ORC.js +0 -1866
  157. package/dist/vue-ui-carousel-table-BicIpNAD.js +0 -463
  158. package/dist/vue-ui-chestnut-BI7mC5dd.js +0 -2068
  159. package/dist/vue-ui-chord-DXaq8ZMu.js +0 -1396
  160. package/dist/vue-ui-circle-pack-XHJBMG51.js +0 -1659
  161. package/dist/vue-ui-donut-evolution-DwR47A2r.js +0 -1603
  162. package/dist/vue-ui-funnel-Bmpx5GHR.js +0 -797
  163. package/dist/vue-ui-gauge-ByE_txav.js +0 -953
  164. package/dist/vue-ui-hill-BT183G-_.js +0 -1768
  165. package/dist/vue-ui-molecule-Bi2CKHer.js +0 -958
  166. package/dist/vue-ui-nested-donuts-qHZAJ70u.js +0 -1528
  167. package/dist/vue-ui-relation-circle-DaU1eTsG.js +0 -925
  168. package/dist/vue-ui-scatter-Pcft1bUt.js +0 -2428
  169. package/dist/vue-ui-strip-plot-Dw4MGDSO.js +0 -1757
  170. package/dist/vue-ui-tiremarks-CekiW2Ru.js +0 -559
  171. package/dist/vue-ui-waffle-cu0w_s6L.js +0 -1412
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { $ as t, D as n, G as r, Gt as i, Jt as a, Kt as o, Ot as s, Pt as c, S as ee, T as te, X as l, Y as ne, _ as re, bt as ie, i as u, jt as ae, pt as oe, q as se, qt as d, r as ce, t as le, tt as ue, w as de, xt as fe, zt as pe } from "./lib-Bttd6u5E.js";
3
3
  import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
- import { t as ge } from "./useConfig-D3scuR88.js";
4
+ import { t as ge } from "./useConfig-DlNpz6P8.js";
5
5
  import { t as _e } from "./usePrinter-DN5bYhTG.js";
6
6
  import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as be } from "./useSvgExport-DH-FfcqQ.js";
8
- import { t as xe } from "./useNestedProp-vPNvh7rV.js";
9
- import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as be } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as Se } from "./useChartExport-DNiwdPmb.js";
10
10
  import { t as Ce } from "./useTransitions-g_zBREk2.js";
11
11
  import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
12
  import { t as Te } from "./img-Bnokohej.js";
@@ -178,43 +178,43 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
178
178
  "copyAlt"
179
179
  ],
180
180
  setup(e, { expose: De, emit: Xe }) {
181
- let Ft = v(() => import("./Tooltip-DhjyfHwz.js")), It = v(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Lt = v(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), Rt = v(() => import("./DataTable-BbKgJ5UI.js")), zt = v(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Bt = v(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Vt = v(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ht = v(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_history_plot: Ut } = ge(), { isThemeValid: Wt, warnInvalidTheme: Gt } = Se(), A = e, j = w(null), Kt = w(null), qt = w(0), Jt = w(null), Yt = w(0), Xt = w(0), Zt = w(0), M = Ke(null), N = Ke(null), Qt = w(null), P = w(se()), $t = w(!1), en = w(""), F = w([]), I = w(!1), L = w(null), tn = w(!1), nn = w(null), rn = w(!1), R = w(null), an = w(null), on = w(!1), sn = w(!1), cn = w(null), ln = w(null), un = w(null), dn = w(null), z = w(null), B = w(null), fn = w({
181
+ let Ft = v(() => import("./Tooltip-DhjyfHwz.js")), It = v(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Lt = v(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), Rt = v(() => import("./DataTable-BbKgJ5UI.js")), zt = v(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Bt = v(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Vt = v(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), Ht = v(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_history_plot: Ut } = ge(), { isThemeValid: Wt, warnInvalidTheme: Gt } = xe(), A = e, j = w(null), Kt = w(null), qt = w(0), Jt = w(null), Yt = w(0), Xt = w(0), Zt = w(0), M = Ke(null), N = Ke(null), Qt = w(null), P = w(se()), $t = w(!1), en = w(""), F = w([]), I = w(!1), L = w(null), R = w(!1), tn = w(null), nn = w(!1), rn = w(null), an = w(null), on = w(null), sn = w(null), cn = w(null), ln = w(null), z = w(null), B = w(null), un = w({
182
182
  x: 0,
183
183
  y: 0
184
- }), pn = w("pointer"), mn = w(!1), hn = p({
184
+ }), dn = w("pointer"), fn = w(!1), pn = p({
185
185
  get: () => !!A.dataset && A.dataset.length,
186
186
  set: (e) => e
187
- }), gn = Xe;
187
+ }), mn = Xe;
188
188
  We(() => {
189
- rn.value = !0, vn();
189
+ nn.value = !0, gn();
190
190
  });
191
- let _n = p(() => !!V.value.debug);
192
- function vn() {
191
+ let hn = p(() => V.value.debug);
192
+ function gn() {
193
193
  if (ae(A.dataset) ? (ue({
194
194
  componentName: "VueUiHistoryPlot",
195
195
  type: "dataset",
196
- debug: _n.value
197
- }), Cn.value = !0) : A.dataset.forEach((e, t) => {
196
+ debug: hn.value
197
+ }), xn.value = !0) : A.dataset.forEach((e, t) => {
198
198
  oe({
199
199
  datasetObject: e,
200
200
  requiredAttributes: ["name", "values"]
201
201
  }).forEach((e) => {
202
- hn.value = !1, ue({
202
+ pn.value = !1, ue({
203
203
  componentName: "VueUiHistoryPlot",
204
204
  type: "datasetSerieAttribute",
205
205
  property: e,
206
206
  index: t,
207
- debug: _n.value
207
+ debug: hn.value
208
208
  });
209
209
  });
210
- }), ae(A.dataset) || (Cn.value = V.value.loading), V.value.responsive) {
210
+ }), ae(A.dataset) || (xn.value = V.value.loading), V.value.responsive) {
211
211
  let e = Oe(() => {
212
212
  let { width: e, height: t } = ke({
213
213
  chart: j.value,
214
214
  title: V.value.style.chart.title.text ? Kt.value : null,
215
215
  noTitle: Qt.value,
216
216
  legend: V.value.style.chart.legend.show ? Jt.value : null,
217
- source: nn.value
217
+ source: tn.value
218
218
  });
219
219
  requestAnimationFrame(() => {
220
220
  K.value.width = e, K.value.height = t, V.value.responsiveProportionalSizing ? (J.value.plots = d({
@@ -268,19 +268,19 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
268
268
  Ue(() => {
269
269
  M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
270
270
  });
271
- function yn() {
272
- let e = xe({
271
+ function _n() {
272
+ let e = be({
273
273
  userConfig: A.config,
274
274
  defaultConfig: Ut
275
275
  }), t = {}, n = e.theme;
276
276
  if (n) if (!Wt.value(e)) Gt(e), t = e;
277
277
  else {
278
- let r = xe({
278
+ let r = be({
279
279
  userConfig: Ie[n] || A.config,
280
280
  defaultConfig: e
281
281
  });
282
282
  t = {
283
- ...xe({
283
+ ...be({
284
284
  userConfig: A.config,
285
285
  defaultConfig: r
286
286
  }),
@@ -290,7 +290,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
290
290
  else t = e;
291
291
  return t;
292
292
  }
293
- let V = w(yn());
293
+ let V = w(_n());
294
294
  me({
295
295
  config: () => V.value,
296
296
  dataset: () => A.dataset,
@@ -307,7 +307,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
307
307
  let { transitionEnabled: H } = Ce({
308
308
  config: () => V.value.transitions,
309
309
  dataset: () => A.dataset
310
- }), U = p(() => V.value.userOptions.useCursorPointer), bn = p(() => a({
310
+ }), U = p(() => V.value.userOptions.useCursorPointer), vn = p(() => a({
311
311
  defaultConfig: {
312
312
  userOptions: { show: !1 },
313
313
  table: { show: !1 },
@@ -346,10 +346,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
346
346
  } }
347
347
  },
348
348
  userConfig: V.value.skeletonConfig ?? {}
349
- })), { loading: xn, FINAL_DATASET: Sn, manualLoading: Cn } = ve({
349
+ })), { loading: yn, FINAL_DATASET: bn, manualLoading: xn } = ve({
350
350
  ...qe(A),
351
351
  FINAL_CONFIG: V,
352
- prepareConfig: yn,
352
+ prepareConfig: _n,
353
353
  skeletonDataset: A.config?.skeletonDataset ?? [{
354
354
  name: "",
355
355
  color: "#CACACA",
@@ -378,19 +378,19 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
378
378
  }],
379
379
  skeletonConfig: a({
380
380
  defaultConfig: V.value,
381
- userConfig: bn.value
381
+ userConfig: vn.value
382
382
  })
383
- }), { userOptionsVisible: wn, setUserOptionsVisibility: Tn, keepUserOptionState: En } = Ne({ config: V.value }), { svgRef: W } = Pe({ config: V.value.style.chart.title });
383
+ }), { userOptionsVisible: Sn, setUserOptionsVisibility: Cn, keepUserOptionState: wn } = Ne({ config: V.value }), { svgRef: W } = Pe({ config: V.value.style.chart.title });
384
384
  Je(() => A.config, (e) => {
385
- xn.value || (V.value = yn()), wn.value = !V.value.userOptions.showOnChartHover, vn(), qt.value += 1, Xt.value += 1, Yt.value += 1, K.value.height = V.value.style.chart.height, K.value.width = V.value.style.chart.width, J.value.plots = V.value.style.chart.plots.radius, J.value.indexLabels = V.value.style.chart.plots.indexLabels.fontSize, J.value.labels = V.value.style.chart.plots.labels.fontSize, J.value.xAxisLabels = V.value.style.chart.axes.x.labels.fontSize, J.value.xAxisName = V.value.style.chart.axes.x.name.fontSize, J.value.yAxisLabels = V.value.style.chart.axes.y.labels.fontSize, J.value.yAxisName = V.value.style.chart.axes.y.name.fontSize, G.value.showTable = V.value.table.show, G.value.showTooltip = V.value.style.chart.tooltip.show;
385
+ yn.value || (V.value = _n()), Sn.value = !V.value.userOptions.showOnChartHover, gn(), qt.value += 1, Xt.value += 1, Yt.value += 1, K.value.height = V.value.style.chart.height, K.value.width = V.value.style.chart.width, J.value.plots = V.value.style.chart.plots.radius, J.value.indexLabels = V.value.style.chart.plots.indexLabels.fontSize, J.value.labels = V.value.style.chart.plots.labels.fontSize, J.value.xAxisLabels = V.value.style.chart.axes.x.labels.fontSize, J.value.xAxisName = V.value.style.chart.axes.x.name.fontSize, J.value.yAxisLabels = V.value.style.chart.axes.y.labels.fontSize, J.value.yAxisName = V.value.style.chart.axes.y.name.fontSize, G.value.showTable = V.value.table.show, G.value.showTooltip = V.value.style.chart.tooltip.show;
386
386
  }, { deep: !0 }), Je(() => A.dataset, (e) => {
387
- Array.isArray(e) && e.length > 0 && (Cn.value = !1);
387
+ Array.isArray(e) && e.length > 0 && (xn.value = !1);
388
388
  }, { deep: !0 });
389
- let { isPrinting: Dn, isImaging: On, generatePdf: kn, generateImage: An } = _e({
389
+ let { isPrinting: Tn, isImaging: En, generatePdf: Dn, generateImage: On } = _e({
390
390
  elementId: `history_plot_${P.value}`,
391
391
  fileName: V.value.style.chart.title.text || "vue-ui-history-plot",
392
392
  options: V.value.userOptions.print
393
- }), jn = p(() => V.value.userOptions.show && !V.value.style.chart.title.text), Mn = p(() => de(V.value.customPalette)), G = w({
393
+ }), kn = p(() => V.value.userOptions.show && !V.value.style.chart.title.text), An = p(() => de(V.value.customPalette)), G = w({
394
394
  showTable: V.value.table.show,
395
395
  showTooltip: V.value.style.chart.tooltip.show
396
396
  });
@@ -403,41 +403,41 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
403
403
  let K = w({
404
404
  height: V.value.style.chart.height,
405
405
  width: V.value.style.chart.width
406
- }), Nn = p(() => K.value.width), Pn = p(() => K.value.height);
407
- function Fn() {
406
+ }), jn = p(() => K.value.width), Mn = p(() => K.value.height);
407
+ function Nn() {
408
408
  let e = 0;
409
- dn.value && (e = Array.from(dn.value.querySelectorAll("text")).reduce((e, t) => {
409
+ ln.value && (e = Array.from(ln.value.querySelectorAll("text")).reduce((e, t) => {
410
410
  let n = t.getComputedTextLength();
411
411
  return n > e ? n : e;
412
412
  }, 0));
413
- let t = ln.value ? ln.value.getBoundingClientRect().width : 0;
413
+ let t = sn.value ? sn.value.getBoundingClientRect().width : 0;
414
414
  return e + t + (t ? 24 : 0);
415
415
  }
416
- let In = w(0), Ln = Oe((e) => {
417
- In.value = e;
416
+ let Pn = w(0), Fn = Oe((e) => {
417
+ Pn.value = e;
418
418
  });
419
419
  Ye((e) => {
420
- let t = un.value;
420
+ let t = cn.value;
421
421
  if (!t) return;
422
422
  let n = new ResizeObserver((e) => {
423
- Ln(e[0].contentRect.height);
423
+ Fn(e[0].contentRect.height);
424
424
  });
425
425
  n.observe(t), e(() => n.disconnect());
426
426
  });
427
- let Rn = p(() => {
427
+ let In = p(() => {
428
428
  let e = 0;
429
- cn.value && (e = cn.value.getBBox().height + J.value.xAxisName / 2);
429
+ on.value && (e = on.value.getBBox().height + J.value.xAxisName / 2);
430
430
  let t = 0;
431
- return un.value && (t = In.value), e + t;
431
+ return cn.value && (t = Pn.value), e + t;
432
432
  }), q = p(() => {
433
- let e = V.value.style.chart.padding.left, t = V.value.style.chart.padding.top, n = Fn(), r = V.value.style.chart.plots.radius;
433
+ let e = V.value.style.chart.padding.left, t = V.value.style.chart.padding.top, n = Nn(), r = V.value.style.chart.plots.radius;
434
434
  return {
435
435
  left: e + n + V.value.style.chart.axes.y.name.offsetX,
436
436
  top: t + r,
437
437
  right: K.value.width - V.value.style.chart.padding.right - r - V.value.style.chart.axes.y.name.offsetX,
438
- bottom: K.value.height - V.value.style.chart.padding.bottom - Rn.value - r - V.value.style.chart.axes.x.name.offsetY,
438
+ bottom: K.value.height - V.value.style.chart.padding.bottom - In.value - r - V.value.style.chart.axes.x.name.offsetY,
439
439
  width: K.value.width - e - V.value.style.chart.padding.right - n - r - V.value.style.chart.axes.y.name.offsetX,
440
- height: K.value.height - t - V.value.style.chart.padding.bottom - Rn.value - r * 2 - V.value.style.chart.axes.x.name.offsetY
440
+ height: K.value.height - t - V.value.style.chart.padding.bottom - In.value - r * 2 - V.value.style.chart.axes.x.name.offsetY
441
441
  };
442
442
  }), J = w({
443
443
  plots: V.value.style.chart.plots.radius,
@@ -447,30 +447,30 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
447
447
  xAxisName: V.value.style.chart.axes.x.name.fontSize,
448
448
  yAxisLabels: V.value.style.chart.axes.y.labels.fontSize,
449
449
  yAxisName: V.value.style.chart.axes.y.name.fontSize
450
- }), Y = p(() => Sn.value.map((e, t) => {
450
+ }), Y = p(() => bn.value.map((e, t) => {
451
451
  let n = Array.isArray(e.temperatureColors) && e.temperatureColors.length ? e.temperatureColors.map((e) => ee(e)) : void 0;
452
452
  return {
453
453
  ...e,
454
- color: e.color ? ee(e.color) : Mn.value[t] || c[t] || c[t % c.length],
454
+ color: e.color ? ee(e.color) : An.value[t] || c[t] || c[t % c.length],
455
455
  temperatureColors: n,
456
- temperatureAngle: zn(e.temperatureAngle),
456
+ temperatureAngle: Ln(e.temperatureAngle),
457
457
  temperatureIndependant: e.temperatureIndependant === !0,
458
458
  usePlotTemperatureColors: e.usePlotTemperatureColors !== !1,
459
459
  seriesIndex: t
460
460
  };
461
461
  }));
462
- function zn(e = 0) {
462
+ function Ln(e = 0) {
463
463
  let t = Number(e);
464
464
  return Number.isFinite(t) ? (t % 360 + 360) % 360 : 0;
465
465
  }
466
- let Bn = p(() => Math.max(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)))), Vn = p(() => {
466
+ let Rn = p(() => Math.max(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)))), zn = p(() => {
467
467
  let e = Math.min(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)));
468
468
  return e < 0 ? e : 0;
469
- }), Hn = p(() => Math.max(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)))), Un = p(() => {
469
+ }), Bn = p(() => Math.max(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)))), Vn = p(() => {
470
470
  let e = Math.min(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)));
471
471
  return e < 0 ? e : 0;
472
472
  }), X = p(() => {
473
- let e = re(V.value.style.chart.axes.x.scaleMin ?? Vn.value, V.value.style.chart.axes.x.scaleMax ?? Bn.value, V.value.style.chart.axes.x.ticks), t = re(V.value.style.chart.axes.y.scaleMin ?? Un.value, V.value.style.chart.axes.y.scaleMax ?? Hn.value, V.value.style.chart.axes.y.ticks);
473
+ let e = re(V.value.style.chart.axes.x.scaleMin ?? zn.value, V.value.style.chart.axes.x.scaleMax ?? Rn.value, V.value.style.chart.axes.x.ticks), t = re(V.value.style.chart.axes.y.scaleMin ?? Vn.value, V.value.style.chart.axes.y.scaleMax ?? Bn.value, V.value.style.chart.axes.y.ticks);
474
474
  return {
475
475
  x: e,
476
476
  y: t,
@@ -488,11 +488,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
488
488
  }))
489
489
  };
490
490
  });
491
- function Wn(e) {
491
+ function Hn(e) {
492
492
  let t = X.value.x.min < 0 ? Math.abs(X.value.x.min) : X.value.x.min > 0 ? -X.value.x.min : 0;
493
493
  return q.value.left + ((e || 0) + t) / (X.value.x.max + t) * q.value.width;
494
494
  }
495
- function Gn(e) {
495
+ function Un(e) {
496
496
  let t = X.value.y.min < 0 ? Math.abs(X.value.y.min) : X.value.y.min > 0 ? -X.value.y.min : 0;
497
497
  return q.value.bottom - ((e || 0) + t) / (X.value.y.max + t) * q.value.height;
498
498
  }
@@ -501,8 +501,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
501
501
  valueX: t.x,
502
502
  valueY: t.y,
503
503
  label: t.label,
504
- x: Wn(t.x),
505
- y: Gn(t.y),
504
+ x: Hn(t.x),
505
+ y: Un(t.y),
506
506
  color: e.color,
507
507
  seriesName: e.name,
508
508
  id: se()
@@ -513,7 +513,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
513
513
  plots: n,
514
514
  path: `M${r}`
515
515
  };
516
- })), Kn = p(() => {
516
+ })), Wn = p(() => {
517
517
  if (L.value === null || z.value === null) return Z.value;
518
518
  let e = Z.value.findIndex((e) => e.seriesIndex === z.value);
519
519
  if (e === -1) return Z.value;
@@ -523,14 +523,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
523
523
  ...Z.value.slice(e + 1),
524
524
  t
525
525
  ];
526
- }), qn = p(() => Z.value.some((e) => Jn(e)));
527
- function Jn(e) {
526
+ }), Gn = p(() => Z.value.some((e) => Kn(e)));
527
+ function Kn(e) {
528
528
  return Array.isArray(e?.temperatureColors) && e.temperatureColors.length;
529
529
  }
530
- function Yn(e) {
531
- return Jn(e) && e.usePlotTemperatureColors;
530
+ function qn(e) {
531
+ return Kn(e) && e.usePlotTemperatureColors;
532
532
  }
533
- function Xn(e) {
533
+ function Jn(e) {
534
534
  let t = Array.isArray(e?.plots) ? e.plots : [];
535
535
  if (!t.length) return {
536
536
  minX: 0,
@@ -550,7 +550,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
550
550
  height: s - o
551
551
  };
552
552
  }
553
- function Zn() {
553
+ function Yn() {
554
554
  let e = q.value;
555
555
  return {
556
556
  minX: e.left,
@@ -561,11 +561,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
561
561
  height: e.height
562
562
  };
563
563
  }
564
- function Qn(e) {
565
- return e?.temperatureIndependant ? Xn(e) : Zn();
564
+ function Xn(e) {
565
+ return e?.temperatureIndependant ? Jn(e) : Yn();
566
566
  }
567
- function $n(e) {
568
- let t = zn(e?.temperatureAngle) * Math.PI / 180, n = Math.sin(t), r = Math.cos(t), i = Qn(e), a = i.minX + i.width / 2, o = i.minY + i.height / 2, s = (Math.abs(n) * i.width + Math.abs(r) * i.height) / 2 || 1;
567
+ function Zn(e) {
568
+ let t = Ln(e?.temperatureAngle) * Math.PI / 180, n = Math.sin(t), r = Math.cos(t), i = Xn(e), a = i.minX + i.width / 2, o = i.minY + i.height / 2, s = (Math.abs(n) * i.width + Math.abs(r) * i.height) / 2 || 1;
569
569
  return {
570
570
  x1: a - n * s,
571
571
  y1: o - r * s,
@@ -573,8 +573,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
573
573
  y2: o + r * s
574
574
  };
575
575
  }
576
- function er(e, t) {
577
- let { x1: n, y1: r, x2: i, y2: a } = $n(e), o = i - n, s = a - r, c = o * o + s * s;
576
+ function Qn(e, t) {
577
+ let { x1: n, y1: r, x2: i, y2: a } = Zn(e), o = i - n, s = a - r, c = o * o + s * s;
578
578
  if (!c) return 0;
579
579
  let ee = ((t.x - n) * o + (t.y - r) * s) / c;
580
580
  return Math.min(1, Math.max(0, ee));
@@ -582,63 +582,63 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
582
582
  function Q(e, t) {
583
583
  return ie({
584
584
  colors: e.temperatureColors,
585
- ratio: er(e, t)
585
+ ratio: Qn(e, t)
586
586
  });
587
587
  }
588
- function tr(e, t) {
588
+ function $n(e, t) {
589
589
  return `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${P.value}`;
590
590
  }
591
- function nr(e, t, n) {
592
- return Yn(e) ? V.value.style.chart.plots.gradient.show ? `url(#${tr(e, t)})` : Q(e, t) : V.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${P.value})` : t.color;
591
+ function er(e, t, n) {
592
+ return qn(e) ? V.value.style.chart.plots.gradient.show ? `url(#${$n(e, t)})` : Q(e, t) : V.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${P.value})` : t.color;
593
593
  }
594
- function rr(e, t) {
595
- return Yn(e) ? Q(e, t) : e.color;
594
+ function tr(e, t) {
595
+ return qn(e) ? Q(e, t) : e.color;
596
596
  }
597
- function ir(e, t) {
598
- return V.value.style.chart.plots.indexLabels.adaptColorToBackground ? ce(rr(e, t)) : V.value.style.chart.plots.indexLabels.color;
597
+ function nr(e, t) {
598
+ return V.value.style.chart.plots.indexLabels.adaptColorToBackground ? ce(tr(e, t)) : V.value.style.chart.plots.indexLabels.color;
599
599
  }
600
- function ar(e, t) {
600
+ function rr(e, t) {
601
601
  let n = Z.value.find((t) => t.seriesIndex === e);
602
- return n && Yn(n) ? Q(n, t) : t.color;
602
+ return n && qn(n) ? Q(n, t) : t.color;
603
603
  }
604
- function or(e) {
605
- return Jn(e) ? `url(#temperature_grad_history_${e.seriesIndex}_${P.value})` : V.value.style.chart.paths.useSerieColor ? e.color : V.value.style.chart.paths.stroke;
604
+ function ir(e) {
605
+ return Kn(e) ? `url(#temperature_grad_history_${e.seriesIndex}_${P.value})` : V.value.style.chart.paths.useSerieColor ? e.color : V.value.style.chart.paths.stroke;
606
606
  }
607
- function sr(e) {
607
+ function ar(e) {
608
608
  return L.value === null || z.value === e ? 1 : Math.min(1, V.value.style.chart.plots.unselectedOpacity);
609
609
  }
610
610
  p(() => L.value !== null && z.value !== null);
611
- let cr = w(!1);
612
- function lr() {
613
- F.value.length ? F.value = [] : mr.value.forEach((e) => {
611
+ let or = w(!1);
612
+ function sr() {
613
+ F.value.length ? F.value = [] : fr.value.forEach((e) => {
614
614
  F.value.push(e.seriesIndex);
615
- }), gn("selectLegend", Z.value);
615
+ }), mn("selectLegend", Z.value);
616
616
  }
617
- function ur(e) {
618
- F.value.includes(e) ? F.value = F.value.filter((t) => t !== e) : F.value.push(e), gn("selectLegend", Z.value);
617
+ function cr(e) {
618
+ F.value.includes(e) ? F.value = F.value.filter((t) => t !== e) : F.value.push(e), mn("selectLegend", Z.value);
619
619
  }
620
- function dr(e) {
621
- return Y.value.length ? Y.value.find((t) => t.name === e) || (V.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${e}"`), null) : (V.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null);
620
+ function lr(e) {
621
+ return Y.value.length ? Y.value.find((t) => t.name === e) || (hn.value && console.warn(`VueUiHistoryPlot - Series name not found "${e}"`), null) : (hn.value && console.warn("VueUiHistoryPlot - There are no series to show."), null);
622
622
  }
623
- function fr(e) {
624
- let t = dr(e);
625
- t !== null && F.value.includes(t.seriesIndex) && ur(t.seriesIndex);
623
+ function ur(e) {
624
+ let t = lr(e);
625
+ t !== null && F.value.includes(t.seriesIndex) && cr(t.seriesIndex);
626
626
  }
627
- function pr(e) {
628
- let t = dr(e);
629
- t !== null && (F.value.includes(t.seriesIndex) || ur(t.seriesIndex));
627
+ function dr(e) {
628
+ let t = lr(e);
629
+ t !== null && (F.value.includes(t.seriesIndex) || cr(t.seriesIndex));
630
630
  }
631
- let mr = p(() => Y.value.map((e) => {
632
- let t = Jn(e) ? e.temperatureColors : null;
631
+ let fr = p(() => Y.value.map((e) => {
632
+ let t = Kn(e) ? e.temperatureColors : null;
633
633
  return {
634
634
  ...e,
635
635
  gradientColors: t,
636
636
  opacity: F.value.includes(e.seriesIndex) ? .5 : 1,
637
- segregate: () => ur(e.seriesIndex),
637
+ segregate: () => cr(e.seriesIndex),
638
638
  isSegregated: F.value.includes(e.seriesIndex),
639
639
  shape: t ? "gradient" : "circle"
640
640
  };
641
- })), hr = p(() => ({
641
+ })), pr = p(() => ({
642
642
  cy: "history-plot-div-legend",
643
643
  backgroundColor: V.value.style.chart.legend.backgroundColor,
644
644
  color: V.value.style.chart.legend.color,
@@ -646,7 +646,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
646
646
  paddingBottom: 12,
647
647
  fontWeight: V.value.style.chart.legend.bold ? "bold" : ""
648
648
  }));
649
- function gr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
649
+ function mr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
650
650
  V.value.events.datapointClick && V.value.events.datapointClick({
651
651
  datapoint: {
652
652
  ...e,
@@ -654,13 +654,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
654
654
  seriesIndex: n
655
655
  },
656
656
  seriesIndex: n
657
- }), gn("selectDatapoint", e);
657
+ }), mn("selectDatapoint", e);
658
658
  }
659
- function _r(e) {
659
+ function hr(e) {
660
660
  I.value = e, Zt.value += 1;
661
661
  }
662
- let vr = w(null);
663
- function yr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
662
+ let gr = w(null);
663
+ function _r({ datapoint: e, plotIndex: t, seriesIndex: n }) {
664
664
  V.value.events.datapointLeave && V.value.events.datapointLeave({
665
665
  datapoint: {
666
666
  ...e,
@@ -668,18 +668,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
668
668
  seriesIndex: n
669
669
  },
670
670
  seriesIndex: n
671
- }), (pn.value !== "keyboard" || z.value !== n || B.value !== t) && ($t.value = !1, L.value = null);
671
+ }), (dn.value !== "keyboard" || z.value !== n || B.value !== t) && ($t.value = !1, L.value = null);
672
672
  }
673
- function br(e, t) {
673
+ function vr(e, t) {
674
674
  if (!W.value) return;
675
675
  let n = Z.value.find((t) => t.seriesIndex === e);
676
676
  if (!n) return;
677
677
  let r = n.plots[t];
678
678
  if (!r) return;
679
679
  let a = i(r.x, r.y, W.value);
680
- a && (fn.value = a);
680
+ a && (un.value = a);
681
681
  }
682
- function xr({ datapoint: e, plotIndex: t, seriesIndex: n, triggerMode: r = "pointer" }) {
682
+ function yr({ datapoint: e, plotIndex: t, seriesIndex: n, triggerMode: r = "pointer" }) {
683
683
  V.value.events.datapointEnter && V.value.events.datapointEnter({
684
684
  datapoint: {
685
685
  ...e,
@@ -687,12 +687,12 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
687
687
  seriesIndex: n
688
688
  },
689
689
  seriesIndex: n
690
- }), z.value = n, B.value = t, pn.value = r, cr.value = !0;
691
- let i = ar(n, e), a = {
690
+ }), z.value = n, B.value = t, dn.value = r, or.value = !0;
691
+ let i = rr(n, e), a = {
692
692
  ...e,
693
693
  color: i
694
694
  };
695
- vr.value = {
695
+ gr.value = {
696
696
  datapoint: a,
697
697
  color: i,
698
698
  seriesIndex: n,
@@ -701,7 +701,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
701
701
  series: Y.value
702
702
  }, L.value = e;
703
703
  let o = V.value.style.chart.tooltip.customFormat;
704
- if (tn.value = !1, fe(o)) try {
704
+ if (R.value = !1, fe(o)) try {
705
705
  let e = o({
706
706
  seriesIndex: n,
707
707
  datapoint: a,
@@ -710,11 +710,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
710
710
  series: Y.value,
711
711
  config: V.value
712
712
  });
713
- typeof e == "string" && (en.value = e, tn.value = !0);
713
+ typeof e == "string" && (en.value = e, R.value = !0);
714
714
  } catch {
715
- console.warn("Custom format cannot be applied."), tn.value = !1;
715
+ console.warn("Custom format cannot be applied."), R.value = !1;
716
716
  }
717
- if (!tn.value) {
717
+ if (!R.value) {
718
718
  let t = "";
719
719
  t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${V.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="${i}"/></svg><span>${e.seriesName}</span></div>`, t += `<div>${e.label}</div>`, t += `<div>${V.value.style.chart.axes.x.name.text || "x"}: ${u(V.value.style.chart.axes.x.labels.formatter, e.valueX, l({
720
720
  p: V.value.style.chart.axes.x.labels.prefix,
@@ -729,7 +729,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
729
729
  }))}</div>`, en.value = `<div>${t}</div>`;
730
730
  }
731
731
  $t.value = !0, r === "keyboard" && He(() => {
732
- br(n, t);
732
+ vr(n, t);
733
733
  });
734
734
  }
735
735
  p(() => ({ head: Z.value.map((e) => ({
@@ -780,7 +780,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
780
780
  colNames: e
781
781
  };
782
782
  });
783
- function Sr(e = null) {
783
+ function br(e = null) {
784
784
  He(() => {
785
785
  let r = [
786
786
  [V.value.table.columnNames.series],
@@ -803,20 +803,20 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
803
803
  });
804
804
  });
805
805
  }
806
- let Cr = w(!1);
807
- function wr() {
808
- Cr.value = !Cr.value;
806
+ let xr = w(!1);
807
+ function Sr() {
808
+ xr.value = !xr.value;
809
809
  }
810
- function Tr() {
810
+ function Cr() {
811
811
  G.value.showTable = !G.value.showTable;
812
812
  }
813
- function Er() {
813
+ function wr() {
814
814
  G.value.showTooltip = !G.value.showTooltip;
815
815
  }
816
- function Dr() {
816
+ function Tr() {
817
817
  return Z.value;
818
818
  }
819
- async function Or({ scale: e = 2 } = {}) {
819
+ async function Er({ scale: e = 2 } = {}) {
820
820
  if (!j.value) return;
821
821
  let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Te({
822
822
  domElement: j.value,
@@ -833,14 +833,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
833
833
  aspectRatio: r
834
834
  };
835
835
  }
836
- let kr = p(() => X.value.tickX), Ar = p(() => ({
836
+ let Dr = p(() => X.value.tickX), Or = p(() => ({
837
837
  start: 0,
838
838
  end: X.value.tickX.length
839
839
  }));
840
840
  we({
841
- timeLabelsEls: un,
842
- timeLabels: kr,
843
- slicer: Ar,
841
+ timeLabelsEls: cn,
842
+ timeLabels: Dr,
843
+ slicer: Or,
844
844
  configRef: V,
845
845
  rotationPath: [
846
846
  "style",
@@ -860,12 +860,12 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
860
860
  "enable"
861
861
  ],
862
862
  isAutoSize: !1,
863
- width: Nn,
864
- height: Pn,
863
+ width: jn,
864
+ height: Mn,
865
865
  targetClass: ".vue-ui-history-plot-x-axis-scale",
866
866
  rotation: V.value.style.chart.axes.x.labels.autoRotate.angle
867
867
  });
868
- let jr = p(() => {
868
+ let kr = p(() => {
869
869
  let e = V.value.table.useDialog && !V.value.table.show, t = G.value.showTable;
870
870
  return {
871
871
  component: e ? Ht : Lt,
@@ -896,47 +896,22 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
896
896
  };
897
897
  });
898
898
  Je(() => G.value.showTable, (e) => {
899
- V.value.table.show || (e && V.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
899
+ V.value.table.show || (e && V.value.table.useDialog && rn.value ? rn.value.open() : "close" in rn.value && rn.value.close());
900
900
  });
901
- function Mr() {
901
+ function Ar() {
902
902
  G.value.showTable = !1, an.value && an.value.setTableIconState(!1);
903
903
  }
904
- let Nr = p(() => V.value.style.chart.backgroundColor), Pr = p(() => V.value.style.chart.legend), Fr = p(() => V.value.style.chart.title), { exportSvg: Ir, getSvg: Lr } = be({
904
+ let jr = p(() => V.value.style.chart.backgroundColor), Mr = p(() => V.value.style.chart.legend), Nr = p(() => V.value.style.chart.title), { isCallbackImaging: Pr, isCallbackSvg: Fr, generateSvg: Ir, onGenerateImage: Lr } = Se({
905
905
  svg: W,
906
- title: Fr,
907
- legend: Pr,
908
- legendItems: mr,
909
- backgroundColor: Nr
906
+ title: Nr,
907
+ legend: Mr,
908
+ legendItems: fr,
909
+ backgroundColor: jr,
910
+ getSvgCallback: () => V.value.userOptions.callbacks.svg,
911
+ generateImage: On
910
912
  });
911
- async function Rr({ isCb: e }) {
912
- sn.value = !0, await He();
913
- try {
914
- if (e) {
915
- let { blob: e, url: t, text: n, dataUrl: r } = await Lr();
916
- await Promise.resolve(V.value.userOptions.callbacks.svg({
917
- blob: e,
918
- url: t,
919
- text: n,
920
- dataUrl: r
921
- }));
922
- } else await Promise.resolve(Ir());
923
- } finally {
924
- sn.value = !1;
925
- }
926
- }
927
- function zr(e) {
928
- if (e?.stage === "start") {
929
- on.value = !0;
930
- return;
931
- }
932
- if (e?.stage === "end") {
933
- on.value = !1;
934
- return;
935
- }
936
- An();
937
- }
938
- async function Br() {
939
- if (gn("copyAlt", {
913
+ async function Rr() {
914
+ if (mn("copyAlt", {
940
915
  config: V.value,
941
916
  dataset: Z.value
942
917
  }), !V.value.userOptions.callbacks.altCopy) {
@@ -948,7 +923,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
948
923
  dataset: Z.value
949
924
  }));
950
925
  }
951
- let Vr = p(() => ({
926
+ let zr = p(() => ({
952
927
  head: $.value.head,
953
928
  body: $.value.body.map((e) => [
954
929
  e[0]?.name || "",
@@ -959,39 +934,39 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
959
934
  caption: V.value.a11y.translations.tableCaption,
960
935
  notice: V.value.a11y.translations.tableAvailable
961
936
  }));
962
- function Hr(e) {
937
+ function Br(e) {
963
938
  return Z.value.findIndex((t) => t.seriesIndex === e);
964
939
  }
965
- function Ur() {
940
+ function Vr() {
966
941
  if (z.value !== null && B.value !== null) {
967
942
  let e = Z.value.find((e) => e.seriesIndex === z.value)?.plots?.[B.value];
968
- e && yr({
943
+ e && _r({
969
944
  datapoint: e,
970
945
  plotIndex: B.value,
971
946
  seriesIndex: z.value
972
947
  });
973
948
  }
974
- z.value = null, B.value = null, pn.value = "pointer", $t.value = !1, L.value = null;
949
+ z.value = null, B.value = null, dn.value = "pointer", $t.value = !1, L.value = null;
975
950
  }
976
- function Wr() {
977
- z.value = null, B.value = null, mn.value = !0;
951
+ function Hr() {
952
+ z.value = null, B.value = null, fn.value = !0;
978
953
  }
979
- function Gr() {
980
- Ur(), mn.value = !1;
954
+ function Ur() {
955
+ Vr(), fn.value = !1;
981
956
  }
982
- function Kr(e, t) {
957
+ function Wr(e, t) {
983
958
  if (!e?.plots?.length) return null;
984
959
  let n = e.plots.length;
985
960
  return (t % n + n) % n;
986
961
  }
987
- function qr({ seriesIndex: e, plotIndex: t, direction: n }) {
962
+ function Gr({ seriesIndex: e, plotIndex: t, direction: n }) {
988
963
  if (!Z.value.length) return null;
989
- let r = Hr(e);
964
+ let r = Br(e);
990
965
  if (r === -1) return null;
991
966
  if (n === "up" || n === "down") {
992
967
  let e = Z.value[r];
993
968
  if (!e?.plots?.length) return null;
994
- let i = Kr(e, t + (n === "up" ? -1 : 1));
969
+ let i = Wr(e, t + (n === "up" ? -1 : 1));
995
970
  return {
996
971
  seriesIndex: e.seriesIndex,
997
972
  plotIndex: i
@@ -1008,19 +983,19 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1008
983
  }
1009
984
  return null;
1010
985
  }
1011
- function Jr(e) {
1012
- if (!W.value || Cr.value || document.activeElement !== W.value || !Z.value.length) return;
986
+ function Kr(e) {
987
+ if (!W.value || xr.value || document.activeElement !== W.value || !Z.value.length) return;
1013
988
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
1014
989
  if (!t && !n && !r && !i && !a && !o) return;
1015
990
  if (e.preventDefault(), e.stopPropagation(), o) {
1016
- Ur();
991
+ Vr();
1017
992
  return;
1018
993
  }
1019
994
  if (a) {
1020
995
  if (z.value === null || B.value === null) return;
1021
996
  let e = Z.value.find((e) => e.seriesIndex === z.value)?.plots?.[B.value];
1022
997
  if (!e) return;
1023
- gr({
998
+ mr({
1024
999
  datapoint: e,
1025
1000
  plotIndex: B.value,
1026
1001
  seriesIndex: z.value
@@ -1035,26 +1010,26 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1035
1010
  seriesIndex: e.seriesIndex,
1036
1011
  plotIndex: 0
1037
1012
  };
1038
- } else r ? s = qr({
1013
+ } else r ? s = Gr({
1039
1014
  seriesIndex: z.value,
1040
1015
  plotIndex: B.value,
1041
1016
  direction: "up"
1042
- }) : i ? s = qr({
1017
+ }) : i ? s = Gr({
1043
1018
  seriesIndex: z.value,
1044
1019
  plotIndex: B.value,
1045
1020
  direction: "down"
1046
- }) : t ? s = qr({
1021
+ }) : t ? s = Gr({
1047
1022
  seriesIndex: z.value,
1048
1023
  plotIndex: B.value,
1049
1024
  direction: "left"
1050
- }) : n && (s = qr({
1025
+ }) : n && (s = Gr({
1051
1026
  seriesIndex: z.value,
1052
1027
  plotIndex: B.value,
1053
1028
  direction: "right"
1054
1029
  }));
1055
1030
  if (!s) return;
1056
1031
  let c = Z.value.find((e) => e.seriesIndex === s.seriesIndex)?.plots?.[s.plotIndex];
1057
- c && xr({
1032
+ c && yr({
1058
1033
  datapoint: c,
1059
1034
  plotIndex: s.plotIndex,
1060
1035
  seriesIndex: s.seriesIndex,
@@ -1062,19 +1037,19 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1062
1037
  });
1063
1038
  }
1064
1039
  return De({
1065
- getData: Dr,
1066
- getImage: Or,
1067
- generatePdf: kn,
1068
- generateCsv: Sr,
1069
- generateImage: An,
1070
- generateSvg: Rr,
1071
- hideSeries: pr,
1072
- showSeries: fr,
1073
- toggleTable: Tr,
1074
- toggleTooltip: Er,
1075
- toggleAnnotator: wr,
1076
- toggleFullscreen: _r,
1077
- copyAlt: Br
1040
+ getData: Tr,
1041
+ getImage: Er,
1042
+ generatePdf: Dn,
1043
+ generateCsv: br,
1044
+ generateImage: On,
1045
+ generateSvg: Ir,
1046
+ hideSeries: dr,
1047
+ showSeries: ur,
1048
+ toggleTable: Cr,
1049
+ toggleTooltip: wr,
1050
+ toggleAnnotator: Sr,
1051
+ toggleFullscreen: hr,
1052
+ copyAlt: Rr
1078
1053
  }), (e, t) => (C(), g("div", {
1079
1054
  id: `history_plot_${P.value}`,
1080
1055
  ref_key: "historyPlotChart",
@@ -1085,20 +1060,20 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1085
1060
  "vue-data-ui-wrapper-fullscreen": I.value
1086
1061
  }),
1087
1062
  style: S(`background:${V.value.style.chart.backgroundColor};color:${V.value.style.chart.color};font-family:${V.value.style.fontFamily}; position: relative; ${V.value.responsive ? "height: 100%" : ""}`),
1088
- onMouseenter: t[2] ||= () => O(Tn)(!0),
1089
- onMouseleave: t[3] ||= () => O(Tn)(!1)
1063
+ onMouseenter: t[2] ||= () => O(Cn)(!0),
1064
+ onMouseleave: t[3] ||= () => O(Cn)(!1)
1090
1065
  }, [
1091
1066
  _("div", {
1092
1067
  id: `chart-instructions-${P.value}`,
1093
1068
  class: "sr-only"
1094
1069
  }, [_("p", null, D(V.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
1095
- Vr.value.body.length ? (C(), m(Me, {
1070
+ zr.value.body.length ? (C(), m(Me, {
1096
1071
  key: 0,
1097
1072
  uid: P.value,
1098
- head: Vr.value.head,
1099
- body: Vr.value.body,
1100
- caption: Vr.value.caption,
1101
- notice: Vr.value.notice
1073
+ head: zr.value.head,
1074
+ body: zr.value.body,
1075
+ caption: zr.value.caption,
1076
+ notice: zr.value.notice
1102
1077
  }, null, 8, [
1103
1078
  "uid",
1104
1079
  "head",
@@ -1112,9 +1087,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1112
1087
  svgRef: O(W),
1113
1088
  backgroundColor: V.value.style.chart.backgroundColor,
1114
1089
  color: V.value.style.chart.color,
1115
- active: Cr.value,
1090
+ active: xr.value,
1116
1091
  isCursorPointer: U.value,
1117
- onClose: wr
1092
+ onClose: Sr
1118
1093
  }, {
1119
1094
  "annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1120
1095
  "annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
@@ -1130,7 +1105,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1130
1105
  "active",
1131
1106
  "isCursorPointer"
1132
1107
  ])) : h("", !0),
1133
- jn.value ? (C(), g("div", {
1108
+ kn.value ? (C(), g("div", {
1134
1109
  key: 2,
1135
1110
  ref_key: "noTitle",
1136
1111
  ref: Qt,
@@ -1157,14 +1132,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1157
1132
  }
1158
1133
  }, null, 8, ["config"]))], 4)) : h("", !0),
1159
1134
  _("div", { id: `legend-top-${P.value}` }, null, 8, $e),
1160
- V.value.userOptions.show && hn.value && (O(En) || O(wn)) ? (C(), m(O(Bt), {
1135
+ V.value.userOptions.show && pn.value && (O(wn) || O(Sn)) ? (C(), m(O(Bt), {
1161
1136
  ref_key: "userOptionsRef",
1162
1137
  ref: an,
1163
1138
  key: `user_option_${Zt.value}`,
1164
1139
  backgroundColor: V.value.style.chart.backgroundColor,
1165
1140
  color: V.value.style.chart.color,
1166
- isPrinting: O(Dn),
1167
- isImaging: O(On),
1141
+ isPrinting: O(Tn),
1142
+ isImaging: O(En),
1168
1143
  uid: P.value,
1169
1144
  hasTooltip: V.value.style.chart.tooltip.show && V.value.userOptions.buttons.tooltip,
1170
1145
  hasPdf: V.value.userOptions.buttons.pdf,
@@ -1181,21 +1156,21 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1181
1156
  isTooltip: G.value.showTooltip,
1182
1157
  titles: { ...V.value.userOptions.buttonTitles },
1183
1158
  hasAnnotator: V.value.userOptions.buttons.annotator,
1184
- isAnnotation: Cr.value,
1159
+ isAnnotation: xr.value,
1185
1160
  callbacks: V.value.userOptions.callbacks,
1186
1161
  printScale: V.value.userOptions.print.scale,
1187
1162
  tableDialog: V.value.table.useDialog,
1188
1163
  isCursorPointer: U.value,
1189
- onToggleFullscreen: _r,
1190
- onGeneratePdf: O(kn),
1191
- onGenerateCsv: Sr,
1192
- onGenerateImage: zr,
1193
- onGenerateSvg: Rr,
1194
- onToggleTable: Tr,
1195
- onToggleTooltip: Er,
1196
- onToggleAnnotator: wr,
1197
- onCopyAlt: Br,
1198
- style: S({ visibility: O(En) ? O(wn) ? "visible" : "hidden" : "visible" })
1164
+ onToggleFullscreen: hr,
1165
+ onGeneratePdf: O(Dn),
1166
+ onGenerateCsv: br,
1167
+ onGenerateImage: O(Lr),
1168
+ onGenerateSvg: O(Ir),
1169
+ onToggleTable: Cr,
1170
+ onToggleTooltip: wr,
1171
+ onToggleAnnotator: Sr,
1172
+ onCopyAlt: Rr,
1173
+ style: S({ visibility: O(wn) ? O(Sn) ? "visible" : "hidden" : "visible" })
1199
1174
  }, Re({ _: 2 }, [
1200
1175
  e.$slots.menuIcon ? {
1201
1176
  name: "menuIcon",
@@ -1266,7 +1241,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1266
1241
  fn: k(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1267
1242
  key: "11"
1268
1243
  } : void 0
1269
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : h("", !0),
1244
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : h("", !0),
1270
1245
  _("div", et, [(C(), g("svg", {
1271
1246
  ref_key: "svgRef",
1272
1247
  ref: W,
@@ -1275,9 +1250,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1275
1250
  style: S(`max-width:100%;overflow:visible;background:transparent;color:${V.value.style.chart.color}`),
1276
1251
  "aria-describedby": `chart-instructions-${P.value}`,
1277
1252
  tabindex: "0",
1278
- onFocus: Wr,
1279
- onBlur: Gr,
1280
- onKeydown: Jr
1253
+ onFocus: Hr,
1254
+ onBlur: Ur,
1255
+ onKeydown: Kr
1281
1256
  }, [
1282
1257
  Be(O(Vt)),
1283
1258
  e.$slots["chart-background"] ? (C(), g("foreignObject", {
@@ -1288,7 +1263,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1288
1263
  height: q.value.height <= 0 ? 10 : q.value.height,
1289
1264
  style: { pointerEvents: "none" }
1290
1265
  }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : h("", !0),
1291
- V.value.style.chart.plots.gradient.show || qn.value ? (C(), g("defs", rt, [V.value.style.chart.plots.gradient.show ? (C(!0), g(f, { key: 0 }, T(Z.value, (e, t) => (C(), m(Ae, {
1266
+ V.value.style.chart.plots.gradient.show || Gn.value ? (C(), g("defs", rt, [V.value.style.chart.plots.gradient.show ? (C(!0), g(f, { key: 0 }, T(Z.value, (e, t) => (C(), m(Ae, {
1292
1267
  t: "radial",
1293
1268
  key: `gradient_${t}_${P.value}`,
1294
1269
  id: `gradient_${t}_${P.value}`,
@@ -1310,10 +1285,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1310
1285
  1
1311
1286
  ]
1312
1287
  ]
1313
- }, null, 8, ["id", "stops"]))), 128)) : h("", !0), (C(!0), g(f, null, T(Z.value, (e) => (C(), g(f, { key: `temperature_grad_history_template_${e.seriesIndex}_${P.value}` }, [V.value.style.chart.plots.gradient.show && Yn(e) ? (C(!0), g(f, { key: 0 }, T(e.plots, (t) => (C(), m(Ae, {
1288
+ }, null, 8, ["id", "stops"]))), 128)) : h("", !0), (C(!0), g(f, null, T(Z.value, (e) => (C(), g(f, { key: `temperature_grad_history_template_${e.seriesIndex}_${P.value}` }, [V.value.style.chart.plots.gradient.show && qn(e) ? (C(!0), g(f, { key: 0 }, T(e.plots, (t) => (C(), m(Ae, {
1314
1289
  t: "radial",
1315
1290
  key: `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${P.value}`,
1316
- id: tr(e, t),
1291
+ id: $n(e, t),
1317
1292
  fy: "30%",
1318
1293
  stops: [
1319
1294
  [
@@ -1332,14 +1307,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1332
1307
  1
1333
1308
  ]
1334
1309
  ]
1335
- }, null, 8, ["id", "stops"]))), 128)) : h("", !0), Jn(e) ? (C(), g("linearGradient", {
1310
+ }, null, 8, ["id", "stops"]))), 128)) : h("", !0), Kn(e) ? (C(), g("linearGradient", {
1336
1311
  key: 1,
1337
1312
  id: `temperature_grad_history_${e.seriesIndex}_${P.value}`,
1338
1313
  gradientUnits: "userSpaceOnUse",
1339
- x1: $n(e).x1,
1340
- y1: $n(e).y1,
1341
- x2: $n(e).x2,
1342
- y2: $n(e).y2
1314
+ x1: Zn(e).x1,
1315
+ y1: Zn(e).y1,
1316
+ x2: Zn(e).x2,
1317
+ y2: Zn(e).y2
1343
1318
  }, [(C(!0), g(f, null, T(e.temperatureColors, (t, n) => (C(), g("stop", {
1344
1319
  key: `temperature_grad_history_stop_${e.seriesIndex}_${n}_${P.value}`,
1345
1320
  "stop-color": t,
@@ -1366,7 +1341,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1366
1341
  V.value.style.chart.axes.y.labels.show ? (C(), g("g", {
1367
1342
  key: 4,
1368
1343
  ref_key: "yAxisScales",
1369
- ref: dn
1344
+ ref: ln
1370
1345
  }, [(C(!0), g(f, null, T(X.value.tickY, (e) => (C(), g("text", {
1371
1346
  x: q.value.left + V.value.style.chart.axes.y.labels.offsetX - 4 - V.value.style.chart.plots.radius,
1372
1347
  y: e.y + J.value.yAxisLabels / 3,
@@ -1382,7 +1357,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1382
1357
  V.value.style.chart.axes.y.name.text ? (C(), g("text", {
1383
1358
  key: 5,
1384
1359
  ref_key: "yAxisLabel",
1385
- ref: ln,
1360
+ ref: sn,
1386
1361
  transform: `translate(${J.value.yAxisName}, ${K.value.height / 2 + V.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
1387
1362
  "font-size": J.value.yAxisName,
1388
1363
  fill: V.value.style.chart.axes.y.name.color,
@@ -1410,7 +1385,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1410
1385
  V.value.style.chart.axes.x.labels.show ? (C(), g("g", {
1411
1386
  key: 8,
1412
1387
  ref_key: "xAxisScales",
1413
- ref: un
1388
+ ref: cn
1414
1389
  }, [(C(!0), g(f, null, T(X.value.tickX, (e) => (C(), g("text", {
1415
1390
  class: "vue-ui-history-plot-x-axis-scale",
1416
1391
  transform: `translate(${e.x}, ${q.value.bottom + V.value.style.chart.axes.x.labels.offsetY + J.value.xAxisLabels + V.value.style.chart.plots.radius}), rotate(${V.value.style.chart.axes.x.labels.rotation})`,
@@ -1426,7 +1401,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1426
1401
  V.value.style.chart.axes.x.name.text ? (C(), g("text", {
1427
1402
  key: 9,
1428
1403
  ref_key: "xAxisLabel",
1429
- ref: cn,
1404
+ ref: on,
1430
1405
  x: K.value.width / 2 + V.value.style.chart.axes.x.name.offsetX,
1431
1406
  y: K.value.height,
1432
1407
  "font-size": J.value.xAxisName,
@@ -1454,10 +1429,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1454
1429
  "stroke-width": V.value.style.chart.grid.yAxis.strokeWidth,
1455
1430
  "stroke-linecap": "round"
1456
1431
  }, null, 8, yt)) : h("", !0),
1457
- (C(!0), g(f, null, T(Kn.value, (e) => (C(), g("g", { key: `history_plot_serie_${e.seriesIndex}_${P.value}` }, [
1432
+ (C(!0), g(f, null, T(Wn.value, (e) => (C(), g("g", { key: `history_plot_serie_${e.seriesIndex}_${P.value}` }, [
1458
1433
  V.value.style.chart.paths.show ? (C(), g("g", {
1459
1434
  key: 0,
1460
- style: S({ opacity: sr(e.seriesIndex) })
1435
+ style: S({ opacity: ar(e.seriesIndex) })
1461
1436
  }, [_("path", {
1462
1437
  class: b({ "vue-data-ui-transition": O(H) }),
1463
1438
  d: e.path,
@@ -1469,7 +1444,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1469
1444
  }, null, 10, bt), _("path", {
1470
1445
  class: b({ "vue-data-ui-transition": O(H) }),
1471
1446
  d: e.path,
1472
- stroke: or(e),
1447
+ stroke: ir(e),
1473
1448
  "stroke-width": V.value.style.chart.paths.strokeWidth,
1474
1449
  fill: "none",
1475
1450
  "stroke-linecap": "round",
@@ -1486,12 +1461,12 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1486
1461
  (C(!0), g(f, null, T(e.plots, (t) => (C(), g("circle", {
1487
1462
  cx: t.x,
1488
1463
  cy: t.y,
1489
- fill: nr(e, t, e.gradientIndex),
1464
+ fill: er(e, t, e.gradientIndex),
1490
1465
  r: J.value.plots,
1491
1466
  stroke: V.value.style.chart.plots.stroke,
1492
1467
  "stroke-width": V.value.style.chart.plots.strokeWidth,
1493
1468
  class: b({ "vue-data-ui-transition": O(H) }),
1494
- style: S({ opacity: sr(e.seriesIndex) })
1469
+ style: S({ opacity: ar(e.seriesIndex) })
1495
1470
  }, null, 14, Ct))), 256)),
1496
1471
  V.value.style.chart.plots.labels.show ? (C(), g("g", wt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("g", { key: `plab_${n}` }, [String(t.label).includes("\n") ? (C(), g("text", {
1497
1472
  key: 1,
@@ -1501,7 +1476,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1501
1476
  fill: V.value.style.chart.plots.labels.color,
1502
1477
  "font-weight": V.value.style.chart.plots.labels.bold ? "bold" : "normal",
1503
1478
  "text-anchor": "middle",
1504
- style: S({ opacity: sr(e.seriesIndex) }),
1479
+ style: S({ opacity: ar(e.seriesIndex) }),
1505
1480
  innerHTML: O(r)({
1506
1481
  content: String(t.label),
1507
1482
  fontSize: J.value.labels,
@@ -1517,7 +1492,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1517
1492
  fill: V.value.style.chart.plots.labels.color,
1518
1493
  "font-weight": V.value.style.chart.plots.labels.bold ? "bold" : "normal",
1519
1494
  "text-anchor": "middle",
1520
- style: S({ opacity: sr(e.seriesIndex) })
1495
+ style: S({ opacity: ar(e.seriesIndex) })
1521
1496
  }, D(t.label), 15, Tt))]))), 128))])) : h("", !0),
1522
1497
  V.value.style.chart.plots.indexLabels.show ? (C(), g("g", Dt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("text", {
1523
1498
  key: `lab_${n}`,
@@ -1525,29 +1500,29 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1525
1500
  transform: `translate(${t.x + V.value.style.chart.plots.indexLabels.offsetX}, ${t.y + V.value.style.chart.plots.indexLabels.offsetY + J.value.indexLabels / 3})`,
1526
1501
  "font-size": J.value.indexLabels,
1527
1502
  "font-weight": V.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
1528
- fill: ir(e, t),
1503
+ fill: nr(e, t),
1529
1504
  "text-anchor": "middle",
1530
- style: S({ opacity: sr(e.seriesIndex) })
1505
+ style: S({ opacity: ar(e.seriesIndex) })
1531
1506
  }, D(V.value.style.chart.plots.indexLabels.startAtZero ? n : n + 1), 15, Ot))), 128))])) : h("", !0)
1532
1507
  ]))), 128)),
1533
- (C(!0), g(f, null, T(Kn.value, (e) => (C(), g("g", { key: `history_plot_trap_serie_${e.seriesIndex}_${P.value}` }, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("circle", {
1508
+ (C(!0), g(f, null, T(Wn.value, (e) => (C(), g("g", { key: `history_plot_trap_serie_${e.seriesIndex}_${P.value}` }, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("circle", {
1534
1509
  cx: t.x,
1535
1510
  cy: t.y,
1536
1511
  fill: "transparent",
1537
1512
  r: J.value.plots,
1538
1513
  stroke: "none",
1539
- onMouseenter: (r) => xr({
1514
+ onMouseenter: (r) => yr({
1540
1515
  datapoint: t,
1541
1516
  plotIndex: n,
1542
1517
  seriesIndex: e.seriesIndex,
1543
1518
  triggerMode: "pointer"
1544
1519
  }),
1545
- onMouseleave: (r) => yr({
1520
+ onMouseleave: (r) => _r({
1546
1521
  datapoint: t,
1547
1522
  plotIndex: n,
1548
1523
  seriesIndex: e.seriesIndex
1549
1524
  }),
1550
- onClick: (r) => gr({
1525
+ onClick: (r) => mr({
1551
1526
  datapoint: t,
1552
1527
  plotIndex: n,
1553
1528
  seriesIndex: e.seriesIndex
@@ -1556,42 +1531,42 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1556
1531
  E(e.$slots, "svg", { svg: {
1557
1532
  ...K.value,
1558
1533
  drawingArea: q.value,
1559
- isPrintingImg: O(Dn) || O(On) || on.value,
1560
- isPrintingSvg: sn.value
1534
+ isPrintingImg: O(Tn) || O(En) || O(Pr),
1535
+ isPrintingSvg: O(Fr)
1561
1536
  } }, void 0, !0)
1562
1537
  ], 44, tt)), e.$slots.hint ? (C(), g("div", At, [E(e.$slots, "hint", x(y({
1563
1538
  hint: V.value.a11y.translations.keyboardNavigation,
1564
- isVisible: mn.value
1539
+ isVisible: fn.value
1565
1540
  })), void 0, !0)])) : h("", !0)]),
1566
- e.$slots.watermark ? (C(), g("div", jt, [E(e.$slots, "watermark", x(y({ isPrinting: O(Dn) || O(On) || on.value || sn.value })), void 0, !0)])) : h("", !0),
1541
+ e.$slots.watermark ? (C(), g("div", jt, [E(e.$slots, "watermark", x(y({ isPrinting: O(Tn) || O(En) || O(Pr) || O(Fr) })), void 0, !0)])) : h("", !0),
1567
1542
  _("div", { id: `legend-bottom-${P.value}` }, null, 8, Mt),
1568
- rn.value && (V.value.style.chart.legend.show || e.$slots.legend) ? (C(), m(Le, {
1543
+ nn.value && (V.value.style.chart.legend.show || e.$slots.legend) ? (C(), m(Le, {
1569
1544
  key: 6,
1570
1545
  to: V.value.style.chart.legend.position === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
1571
1546
  }, [_("div", {
1572
1547
  ref_key: "chartLegend",
1573
1548
  ref: Jt
1574
- }, [E(e.$slots, "legend", { legend: mr.value }, () => [V.value.style.chart.legend.show && hn.value ? (C(), m(Fe, {
1549
+ }, [E(e.$slots, "legend", { legend: fr.value }, () => [V.value.style.chart.legend.show && pn.value ? (C(), m(Fe, {
1575
1550
  key: `legend_${Yt.value}`,
1576
- legendSet: mr.value,
1577
- config: hr.value,
1551
+ legendSet: fr.value,
1552
+ config: pr.value,
1578
1553
  isCursorPointer: U.value,
1579
1554
  onClickMarker: t[0] ||= ({ legend: e }) => {
1580
- ur(e.seriesIndex);
1555
+ cr(e.seriesIndex);
1581
1556
  }
1582
1557
  }, {
1583
1558
  item: k(({ legend: e, index: t }) => [_("div", {
1584
1559
  onClick: (t) => e.segregate(),
1585
1560
  style: S(`opacity:${F.value.includes(e.seriesIndex) ? .5 : 1}`)
1586
1561
  }, D(e.name), 13, Nt)]),
1587
- legendToggle: k(() => [mr.value.length > 2 && V.value.style.chart.legend.selectAllToggle.show && !O(xn) ? (C(), m(je, {
1562
+ legendToggle: k(() => [fr.value.length > 2 && V.value.style.chart.legend.selectAllToggle.show && !O(yn) ? (C(), m(je, {
1588
1563
  key: 0,
1589
1564
  backgroundColor: V.value.style.chart.legend.selectAllToggle.backgroundColor,
1590
1565
  color: V.value.style.chart.legend.selectAllToggle.color,
1591
1566
  fontSize: V.value.style.chart.legend.fontSize,
1592
1567
  checked: F.value.length > 0,
1593
1568
  isCursorPointer: U.value,
1594
- onToggle: lr
1569
+ onToggle: sr
1595
1570
  }, null, 8, [
1596
1571
  "backgroundColor",
1597
1572
  "color",
@@ -1608,7 +1583,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1608
1583
  e.$slots.source ? (C(), g("div", {
1609
1584
  key: 7,
1610
1585
  ref_key: "source",
1611
- ref: nn,
1586
+ ref: tn,
1612
1587
  dir: "auto"
1613
1588
  }, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1614
1589
  Be(O(Ft), {
@@ -1626,18 +1601,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1626
1601
  offsetY: V.value.style.chart.tooltip.offsetY,
1627
1602
  parent: j.value,
1628
1603
  content: en.value,
1629
- isCustom: tn.value,
1604
+ isCustom: R.value,
1630
1605
  isFullscreen: I.value,
1631
1606
  smooth: V.value.style.chart.tooltip.smooth,
1632
1607
  backdropFilter: V.value.style.chart.tooltip.backdropFilter,
1633
1608
  smoothForce: V.value.style.chart.tooltip.smoothForce,
1634
1609
  smoothSnapThreshold: V.value.style.chart.tooltip.smoothSnapThreshold,
1635
- isA11yMode: pn.value === "keyboard",
1636
- a11yPosition: fn.value
1610
+ isA11yMode: dn.value === "keyboard",
1611
+ a11yPosition: un.value
1637
1612
  }, {
1638
- "tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...vr.value })), void 0, !0)]),
1639
- tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...vr.value })), void 0, !0)]),
1640
- "tooltip-after": k(() => [E(e.$slots, "tooltip-after", x(y({ ...vr.value })), void 0, !0)]),
1613
+ "tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...gr.value })), void 0, !0)]),
1614
+ tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...gr.value })), void 0, !0)]),
1615
+ "tooltip-after": k(() => [E(e.$slots, "tooltip-after", x(y({ ...gr.value })), void 0, !0)]),
1641
1616
  _: 3
1642
1617
  }, 8, [
1643
1618
  "teleportTo",
@@ -1663,10 +1638,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1663
1638
  "isA11yMode",
1664
1639
  "a11yPosition"
1665
1640
  ]),
1666
- hn.value && V.value.userOptions.buttons.table ? (C(), m(Ge(jr.value.component), Ve({ key: 8 }, jr.value.props, {
1641
+ pn.value && V.value.userOptions.buttons.table ? (C(), m(Ge(kr.value.component), Ve({ key: 8 }, kr.value.props, {
1667
1642
  ref_key: "tableUnit",
1668
- ref: R,
1669
- onClose: Mr
1643
+ ref: rn,
1644
+ onClose: Ar
1670
1645
  }), Re({
1671
1646
  content: k(() => [(C(), m(O(Rt), {
1672
1647
  key: `table_${Xt.value}`,
@@ -1674,10 +1649,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1674
1649
  head: $.value.head,
1675
1650
  body: $.value.body,
1676
1651
  config: $.value.config,
1677
- title: V.value.table.useDialog ? "" : jr.value.title,
1652
+ title: V.value.table.useDialog ? "" : kr.value.title,
1678
1653
  withCloseButton: !V.value.table.useDialog,
1679
1654
  isCursorPointer: U.value,
1680
- onClose: Mr
1655
+ onClose: Ar
1681
1656
  }, {
1682
1657
  th: k(({ th: e }) => [_("div", {
1683
1658
  innerHTML: e,
@@ -1700,24 +1675,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
1700
1675
  _: 2
1701
1676
  }, [V.value.table.useDialog ? {
1702
1677
  name: "title",
1703
- fn: k(() => [ze(D(jr.value.title), 1)]),
1678
+ fn: k(() => [ze(D(kr.value.title), 1)]),
1704
1679
  key: "0"
1705
1680
  } : void 0, V.value.table.useDialog ? {
1706
1681
  name: "actions",
1707
1682
  fn: k(() => [_("button", {
1708
1683
  tabindex: "0",
1709
1684
  class: "vue-ui-user-options-button",
1710
- onClick: t[1] ||= (e) => Sr(V.value.userOptions.callbacks.csv),
1685
+ onClick: t[1] ||= (e) => br(V.value.userOptions.callbacks.csv),
1711
1686
  style: S({ cursor: U.value ? "pointer" : "default" })
1712
1687
  }, [Be(O(It), {
1713
1688
  name: "fileCsv",
1714
- stroke: jr.value.props.color
1689
+ stroke: kr.value.props.color
1715
1690
  }, null, 8, ["stroke"])], 4)]),
1716
1691
  key: "1"
1717
1692
  } : void 0]), 1040)) : h("", !0),
1718
- E(e.$slots, "skeleton", {}, () => [O(xn) ? (C(), m(ye, { key: 0 })) : h("", !0)], !0)
1693
+ E(e.$slots, "skeleton", {}, () => [O(yn) ? (C(), m(ye, { key: 0 })) : h("", !0)], !0)
1719
1694
  ], 46, Ze));
1720
1695
  }
1721
- }, [["__scopeId", "data-v-ec22280b"]]);
1696
+ }, [["__scopeId", "data-v-03e4e523"]]);
1722
1697
  //#endregion
1723
1698
  export { Xe as n, Ft as t };