vue-data-ui 2.12.8-beta.1 → 2.12.8-beta.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 (87) hide show
  1. package/dist/{Arrow-BZERXYRS.js → Arrow-HbfibAF0.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CsxEDFbY.js → BaseDraggableDialog-DGrErCX-.js} +2 -2
  3. package/dist/{BaseIcon-C8g0bTnH.js → BaseIcon-j0c6lJUs.js} +1 -1
  4. package/dist/{ColorPicker-RCAns9t0.js → ColorPicker-DitXXl-H.js} +2 -2
  5. package/dist/{DataTable-DN8VsGNp.js → DataTable-CsoAI95B.js} +2 -2
  6. package/dist/{Legend-B3x9Et6h.js → Legend-ZW-PFcHg.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D9ieEyKs.js → NonSvgPenAndPaper-DJTUaQ94.js} +3 -3
  8. package/dist/{PackageVersion-CFpmup6M.js → PackageVersion-DCAZ9Z7V.js} +1 -1
  9. package/dist/{PenAndPaper-BrIjEzie.js → PenAndPaper-B9RP4oFj.js} +3 -3
  10. package/dist/{Shape-CtkpE63a.js → Shape-BBbhObHC.js} +1 -1
  11. package/dist/{Slicer-COOEkKtu.js → Slicer-Vh74fjdf.js} +2 -2
  12. package/dist/{SparkTooltip-4iy6SPsL.js → SparkTooltip-CG-HMbX2.js} +1 -1
  13. package/dist/{Title-BEQiIKjn.js → Title-Dx8ctnVy.js} +1 -1
  14. package/dist/{Tooltip-R_tsQZO3.js → Tooltip-COHlzpZI.js} +1 -1
  15. package/dist/{UserOptions-CIOyDPmN.js → UserOptions-CGn3YdRV.js} +1 -1
  16. package/dist/{dom-to-png-CUCFZVax.js → dom-to-png-BjSUS-jY.js} +1 -1
  17. package/dist/{img-DG5CAMFC.js → img-DWfzRJdv.js} +1 -1
  18. package/dist/{index-_gtZv10q.js → index-CbcpITE_.js} +85 -79
  19. package/dist/{pdf-CTRFaSN8.js → pdf-Cy09nTjn.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-Bz6Z0t8M.js → useNestedProp-y56W8I7J.js} +1 -1
  22. package/dist/{usePrinter-LFM5suk6.js → usePrinter-u-gQiRNz.js} +2 -2
  23. package/dist/{vue-data-ui-DdACgPWc.js → vue-data-ui-DGmMT-Yp.js} +63 -63
  24. package/dist/vue-data-ui.js +1 -1
  25. package/dist/{vue-ui-3d-bar-BJNtd28w.js → vue-ui-3d-bar-Du4TkjPV.js} +5 -5
  26. package/dist/{vue-ui-accordion-DFfQ5rpF.js → vue-ui-accordion-BkA7rtwr.js} +3 -3
  27. package/dist/{vue-ui-age-pyramid-DHs_TL8y.js → vue-ui-age-pyramid-bw7gLRlR.js} +5 -5
  28. package/dist/{vue-ui-annotator-CuPdtRUq.js → vue-ui-annotator-C-_zXB7H.js} +2 -2
  29. package/dist/{vue-ui-bullet-3TXSEM2Y.js → vue-ui-bullet-BRnz7E8e.js} +6 -6
  30. package/dist/{vue-ui-candlestick-IcQJ9_WS.js → vue-ui-candlestick-9cPPnO0t.js} +6 -6
  31. package/dist/{vue-ui-carousel-table-DX7aRcCS.js → vue-ui-carousel-table-BJuSGbk2.js} +4 -4
  32. package/dist/{vue-ui-chestnut-m-FVZD8y.js → vue-ui-chestnut-D2dnrdHT.js} +4 -4
  33. package/dist/{vue-ui-chord-DrvRDAyr.js → vue-ui-chord-Rvygj27H.js} +7 -7
  34. package/dist/{vue-ui-circle-pack-CkNvMtLt.js → vue-ui-circle-pack-BR79EDAC.js} +5 -5
  35. package/dist/{vue-ui-cursor-DxvPYJ2Y.js → vue-ui-cursor-K11x9TYc.js} +2 -2
  36. package/dist/{vue-ui-dashboard-CygrXSEE.js → vue-ui-dashboard-BgxqXwqN.js} +62 -62
  37. package/dist/{vue-ui-digits-C-WSlGoq.js → vue-ui-digits-D7StMUym.js} +2 -2
  38. package/dist/{vue-ui-donut-CHoBqz39.js → vue-ui-donut-CyOg8kph.js} +7 -7
  39. package/dist/{vue-ui-donut-evolution-D-ls2LUq.js → vue-ui-donut-evolution-CVhQaMNQ.js} +7 -7
  40. package/dist/{vue-ui-dumbbell-BnwCfYOJ.js → vue-ui-dumbbell-C7Wex4VO.js} +6 -6
  41. package/dist/{vue-ui-flow-09xAMehp.js → vue-ui-flow-DFNdP-V9.js} +6 -6
  42. package/dist/{vue-ui-funnel-DOrXAsbx.js → vue-ui-funnel-DqWcZVvF.js} +5 -5
  43. package/dist/{vue-ui-galaxy-BMXyhvCe.js → vue-ui-galaxy-BhPbJqYr.js} +4 -4
  44. package/dist/{vue-ui-gauge-DkJVRsqL.js → vue-ui-gauge-sP6YPTJH.js} +5 -5
  45. package/dist/{vue-ui-gizmo-EISlXvOs.js → vue-ui-gizmo-B4fq_bGX.js} +3 -3
  46. package/dist/{vue-ui-heatmap-B3dgboHu.js → vue-ui-heatmap-CpNjtuyD.js} +6 -6
  47. package/dist/{vue-ui-history-plot-GZwvTkfa.js → vue-ui-history-plot-CtgTg4fG.js} +6 -6
  48. package/dist/{vue-ui-kpi-Dyuf4jAg.js → vue-ui-kpi-CN2AE1VF.js} +3 -3
  49. package/dist/{vue-ui-mini-loader-B2gkvvEB.js → vue-ui-mini-loader-CYt8LlhO.js} +2 -2
  50. package/dist/{vue-ui-molecule-DFTLY4ad.js → vue-ui-molecule-D3kexAu_.js} +4 -4
  51. package/dist/{vue-ui-mood-radar-CQlhpdhp.js → vue-ui-mood-radar-hHqR8eS7.js} +6 -6
  52. package/dist/{vue-ui-nested-donuts-BVS8QHol.js → vue-ui-nested-donuts-DXwaOA_n.js} +6 -6
  53. package/dist/{vue-ui-onion-BVdWS8RK.js → vue-ui-onion-C7R2R5tf.js} +6 -6
  54. package/dist/{vue-ui-parallel-coordinate-plot-crvd8Pln.js → vue-ui-parallel-coordinate-plot-Dh772r8W.js} +7 -7
  55. package/dist/{vue-ui-quadrant-CREePTU2.js → vue-ui-quadrant-jrOesLSU.js} +7 -7
  56. package/dist/{vue-ui-quick-chart-DeaiKdlr.js → vue-ui-quick-chart-CtLnhGZA.js} +5 -5
  57. package/dist/{vue-ui-radar-BIL-3GUR.js → vue-ui-radar-BikYRjfw.js} +6 -6
  58. package/dist/{vue-ui-rating-BpU03_iR.js → vue-ui-rating-DUYbT-Ve.js} +2 -2
  59. package/dist/{vue-ui-relation-circle-BRUFM-tU.js → vue-ui-relation-circle-CjnDrflp.js} +5 -5
  60. package/dist/{vue-ui-ridgeline-B4BGITxs.js → vue-ui-ridgeline-o7-RpeJx.js} +7 -7
  61. package/dist/{vue-ui-rings-DZTUSyr7.js → vue-ui-rings-Dinj5ws1.js} +7 -7
  62. package/dist/{vue-ui-scatter-DG1k85e_.js → vue-ui-scatter-CODAsxBq.js} +7 -7
  63. package/dist/{vue-ui-skeleton-g2ChSAKh.js → vue-ui-skeleton-miKWlCAi.js} +3 -3
  64. package/dist/{vue-ui-smiley-BlPJI-D9.js → vue-ui-smiley-DwqlNm1O.js} +2 -2
  65. package/dist/{vue-ui-spark-trend-DhZ3csGm.js → vue-ui-spark-trend-BjL35phT.js} +3 -3
  66. package/dist/{vue-ui-sparkbar-cJJWCLiJ.js → vue-ui-sparkbar-2o2ZLL50.js} +3 -3
  67. package/dist/{vue-ui-sparkgauge-ByCUh-P0.js → vue-ui-sparkgauge-CMlBpOcc.js} +3 -3
  68. package/dist/{vue-ui-sparkhistogram-B3q-6W-d.js → vue-ui-sparkhistogram-C7Ue-aaI.js} +4 -4
  69. package/dist/{vue-ui-sparkline-ZMAOSesx.js → vue-ui-sparkline-w29yzdZG.js} +3 -3
  70. package/dist/{vue-ui-sparkstackbar-BDVSCmGl.js → vue-ui-sparkstackbar-DbIxY7W3.js} +3 -3
  71. package/dist/{vue-ui-stackbar-BY3AQz0l.js → vue-ui-stackbar-CWqpeYW-.js} +8 -8
  72. package/dist/{vue-ui-strip-plot-DpmUR3PK.js → vue-ui-strip-plot-DyjQVaDX.js} +6 -6
  73. package/dist/{vue-ui-table-DpFMZ4rJ.js → vue-ui-table-Bx82XIlz.js} +3 -3
  74. package/dist/{vue-ui-table-heatmap-4GOzV-IT.js → vue-ui-table-heatmap-RvSyx9L6.js} +5 -5
  75. package/dist/{vue-ui-table-sparkline-1TrSrWvU.js → vue-ui-table-sparkline-DebvtEV3.js} +4 -4
  76. package/dist/{vue-ui-thermometer-CZIMCIDI.js → vue-ui-thermometer-yPKRIlqA.js} +5 -5
  77. package/dist/{vue-ui-timer-C8VQR1EN.js → vue-ui-timer-C15nOU7T.js} +5 -5
  78. package/dist/{vue-ui-tiremarks-DfCCzbZ-.js → vue-ui-tiremarks-C2G8HtiX.js} +5 -5
  79. package/dist/{vue-ui-treemap-Buou4k4m.js → vue-ui-treemap-cFhw0xSg.js} +7 -7
  80. package/dist/{vue-ui-vertical-bar-D5NWJ0Ah.js → vue-ui-vertical-bar-dWiOw4sV.js} +8 -8
  81. package/dist/{vue-ui-waffle-Cs77FlO0.js → vue-ui-waffle-Uldnmn6D.js} +7 -7
  82. package/dist/{vue-ui-wheel-Oik-vORz.js → vue-ui-wheel-Cz79iDLO.js} +5 -5
  83. package/dist/{vue-ui-word-cloud-a4kmpLK9.js → vue-ui-word-cloud-BGeHV6hS.js} +5 -5
  84. package/dist/{vue-ui-world-CNDCD1yU.js → vue-ui-world-D1Dy-4mh.js} +5 -5
  85. package/dist/{vue-ui-xy-BTe1HiZx.js → vue-ui-xy-BA7xWU7_.js} +50 -50
  86. package/dist/{vue-ui-xy-canvas-BS0jWsyQ.js → vue-ui-xy-canvas-B2kkKb64.js} +7 -7
  87. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { Q as H, Z, a7 as le, a8 as K, a9 as ae, aa as ie, ab as re, ac as se, ad as ne, c as J, A as ce, F as oe, w as he, s as ue, o as de, a1 as ge, ae as fe, x as Ie, C as Ne, y as me, a6 as xe, e as be, r as Fe, f as Q, af as _e, T as Ae, U as ye, q as Le, b as Ce, z as Se, d as ke, ag as Oe, v as we, ah as Ge, D as ve, a4 as pe, ai as Me, i as ze, G as Te, K as Pe, u as Ve, p as Re, B as He, a as De, t as We } from "./index-_gtZv10q.js";
1
+ import { Q as H, Z, a7 as le, a8 as K, a9 as ae, aa as ie, ab as re, ac as se, ad as ne, c as J, A as ce, F as oe, w as he, s as ue, o as de, a1 as ge, ae as fe, x as Ie, C as Ne, y as me, a6 as xe, e as be, r as Fe, f as Q, af as _e, T as Ae, U as ye, q as Le, b as Ce, z as Se, d as ke, ag as we, v as Oe, ah as Ge, D as ve, a4 as pe, ai as Me, i as ze, G as Te, K as Pe, u as Ve, p as Re, B as He, a as De, t as We } from "./index-CbcpITE_.js";
2
2
  import { u as Ee } from "./useMouse-AicQS8Vf.js";
3
- import { u as j } from "./useNestedProp-Bz6Z0t8M.js";
3
+ import { u as j } from "./useNestedProp-y56W8I7J.js";
4
4
  import { defineAsyncComponent as E, resolveComponent as R, createElementBlock as r, openBlock as i, normalizeStyle as b, normalizeClass as B, createBlock as W, createCommentVNode as g, createVNode as U, createSlots as Be, withCtx as V, renderSlot as S, normalizeProps as Y, guardReactiveProps as q, createElementVNode as f, createTextVNode as $, Fragment as u, renderList as I, toDisplayString as T, mergeProps as ee, withDirectives as Ye, vModelCheckbox as qe } from "vue";
5
- import { S as Xe } from "./Slicer-COOEkKtu.js";
6
- import Ue from "./Title-BEQiIKjn.js";
7
- import { _ as Ze } from "./Shape-CtkpE63a.js";
5
+ import { S as Xe } from "./Slicer-Vh74fjdf.js";
6
+ import Ue from "./Title-Dx8ctnVy.js";
7
+ import { _ as Ze } from "./Shape-BBbhObHC.js";
8
8
  import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const Ke = J(), Qe = {
10
10
  name: "vue-ui-xy",
@@ -28,15 +28,15 @@ const Ke = J(), Qe = {
28
28
  Title: Ue,
29
29
  // Must be ready in responsive mode
30
30
  Shape: Ze,
31
- DataTable: E(() => import("./DataTable-DN8VsGNp.js")),
32
- Tooltip: E(() => import("./Tooltip-R_tsQZO3.js")),
33
- UserOptions: E(() => import("./UserOptions-CIOyDPmN.js")),
34
- BaseIcon: E(() => import("./BaseIcon-C8g0bTnH.js")),
35
- TableSparkline: E(() => import("./vue-ui-table-sparkline-1TrSrWvU.js")),
36
- Skeleton: E(() => import("./vue-ui-skeleton-g2ChSAKh.js")),
37
- Accordion: E(() => import("./vue-ui-accordion-DFfQ5rpF.js")),
38
- PackageVersion: E(() => import("./PackageVersion-CFpmup6M.js")),
39
- PenAndPaper: E(() => import("./PenAndPaper-BrIjEzie.js"))
31
+ DataTable: E(() => import("./DataTable-CsoAI95B.js")),
32
+ Tooltip: E(() => import("./Tooltip-COHlzpZI.js")),
33
+ UserOptions: E(() => import("./UserOptions-CGn3YdRV.js")),
34
+ BaseIcon: E(() => import("./BaseIcon-j0c6lJUs.js")),
35
+ TableSparkline: E(() => import("./vue-ui-table-sparkline-DebvtEV3.js")),
36
+ Skeleton: E(() => import("./vue-ui-skeleton-miKWlCAi.js")),
37
+ Accordion: E(() => import("./vue-ui-accordion-BkA7rtwr.js")),
38
+ PackageVersion: E(() => import("./PackageVersion-DCAZ9Z7V.js")),
39
+ PenAndPaper: E(() => import("./PenAndPaper-B9RP4oFj.js"))
40
40
  },
41
41
  data() {
42
42
  this.dataset.forEach((d, l) => {
@@ -381,8 +381,8 @@ const Ke = J(), Qe = {
381
381
  }, e = {
382
382
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
383
383
  min: t.scaleMin || Math.min(...t.absoluteValues.filter((A) => ![void 0, null].includes(A))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((A) => ![null, void 0].includes(A)))
384
- }, _ = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, N = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(e.min, e.max === e.min ? e.max * m : e.max, _) : this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * m : e.max, _), L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * m : l.valueMax, _) : this.calculateNiceScaleWithExactExtremes(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * m : l.valueMax, _), v = N.min >= 0 ? 0 : Math.abs(N.min), k = 0, O = N.max + v, w = L.max + Math.abs(k), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, G = this.drawingArea.bottom - F - C * v / O, p = this.drawingArea.bottom - F - C * k / w, a = this.absoluteDataset.filter((A) => A.type === "bar").filter((A) => !this.segregatedSeries.includes(A.id)).length, c = t.series.map((A, z) => {
385
- const X = this.mutableConfig.useIndividualScale ? (t.absoluteValues[z] + v) / O : this.ratioToMax(A), D = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * z : this.drawingArea.left + this.slot.bar * s + this.slot.bar * z * a - this.barSlot / 2 - s * this.barPeriodGap;
384
+ }, _ = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, m = 1.0000001, N = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(e.min, e.max === e.min ? e.max * m : e.max, _) : this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * m : e.max, _), L = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * m : l.valueMax, _) : this.calculateNiceScaleWithExactExtremes(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * m : l.valueMax, _), v = N.min >= 0 ? 0 : Math.abs(N.min), k = 0, w = N.max + v, O = L.max + Math.abs(k), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, G = this.drawingArea.bottom - F - C * v / w, p = this.drawingArea.bottom - F - C * k / O, a = this.absoluteDataset.filter((A) => A.type === "bar").filter((A) => !this.segregatedSeries.includes(A.id)).length, c = t.series.map((A, z) => {
385
+ const X = this.mutableConfig.useIndividualScale ? (t.absoluteValues[z] + v) / w : this.ratioToMax(A), D = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * z : this.drawingArea.left + this.slot.bar * s + this.slot.bar * z * a - this.barSlot / 2 - s * this.barPeriodGap;
386
386
  return {
387
387
  yOffset: this.checkNaN(F),
388
388
  individualHeight: this.checkNaN(C),
@@ -390,7 +390,7 @@ const Ke = J(), Qe = {
390
390
  y: this.drawingArea.bottom - F - C * X,
391
391
  value: t.absoluteValues[z],
392
392
  zeroPosition: this.checkNaN(G),
393
- individualMax: this.checkNaN(O),
393
+ individualMax: this.checkNaN(w),
394
394
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
395
395
  };
396
396
  }), n = t.absoluteValues.map((A) => L.min >= 0 ? (A - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (A + Math.abs(L.min)) / (L.max + Math.abs(L.min))), h = t.series.map((A, z) => {
@@ -402,11 +402,11 @@ const Ke = J(), Qe = {
402
402
  y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * n[z] || 0)),
403
403
  value: t.absoluteValues[z],
404
404
  zeroPosition: this.checkNaN(G),
405
- individualMax: this.checkNaN(O),
405
+ individualMax: this.checkNaN(w),
406
406
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
407
407
  };
408
408
  }), y = N.ticks.map((A) => ({
409
- y: A >= 0 ? G - C * (A / O) : G + C * Math.abs(A) / O,
409
+ y: A >= 0 ? G - C * (A / w) : G + C * Math.abs(A) / w,
410
410
  value: A,
411
411
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
412
412
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
@@ -421,14 +421,14 @@ const Ke = J(), Qe = {
421
421
  datapoint: t
422
422
  };
423
423
  });
424
- return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? M : y, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? p : G, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? w : O, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = F, this.scaleGroups[t.scaleLabel].individualHeight = C, this.scaleGroups[t.scaleLabel].autoScaleYLabels = M, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((A) => A.scaleLabel === t.scaleLabel).length === 1, {
424
+ return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? M : y, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? p : G, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? O : w, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = F, this.scaleGroups[t.scaleLabel].individualHeight = C, this.scaleGroups[t.scaleLabel].autoScaleYLabels = M, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((A) => A.scaleLabel === t.scaleLabel).length === 1, {
425
425
  ...t,
426
426
  yOffset: F,
427
427
  autoScaleYLabels: M,
428
428
  individualHeight: C,
429
429
  scaleYLabels: t.autoScaling ? M : y,
430
430
  individualScale: t.autoScaling ? L : N,
431
- individualMax: t.autoScaling ? w : O,
431
+ individualMax: t.autoScaling ? O : w,
432
432
  zeroPosition: t.autoScaling ? p : G,
433
433
  plots: t.autoScaling ? h : c,
434
434
  groupId: this.scaleGroups[t.scaleLabel].groupId
@@ -446,11 +446,11 @@ const Ke = J(), Qe = {
446
446
  }, l = {
447
447
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
448
448
  min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
449
- }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, m = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(l.min, l.max === l.min ? l.max * _ : l.max, e) : this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * _ : l.max, e), N = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e) : this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), L = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, k = m.max + Math.abs(L), O = N.max + Math.abs(v), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - w - F * L / k, G = this.drawingArea.bottom - w - F * v / O, p = t.series.map((x, P) => {
449
+ }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, m = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(l.min, l.max === l.min ? l.max * _ : l.max, e) : this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * _ : l.max, e), N = this.FINAL_CONFIG.chart.grid.labels.yAxis.useNiceScale ? this.calculateNiceScale(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e) : this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), L = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, k = m.max + Math.abs(L), w = N.max + Math.abs(v), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - F * L / k, G = this.drawingArea.bottom - O - F * v / w, p = t.series.map((x, P) => {
450
450
  const te = this.mutableConfig.useIndividualScale ? (t.absoluteValues[P] + Math.abs(L)) / k : this.ratioToMax(x);
451
451
  return {
452
452
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * P),
453
- y: this.checkNaN(this.drawingArea.bottom - w - F * te),
453
+ y: this.checkNaN(this.drawingArea.bottom - O - F * te),
454
454
  value: t.absoluteValues[P],
455
455
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
456
456
  };
@@ -461,7 +461,7 @@ const Ke = J(), Qe = {
461
461
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
462
462
  } : {
463
463
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * P),
464
- y: this.checkNaN(this.drawingArea.bottom - w - (F * a[P] || 0)),
464
+ y: this.checkNaN(this.drawingArea.bottom - O - (F * a[P] || 0)),
465
465
  value: t.absoluteValues[P],
466
466
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
467
467
  }), n = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(p) : this.createSmoothPath(p.filter((x) => x.value !== null)), h = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(c) : this.createSmoothPath(c.filter((x) => x.value !== null)), y = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(p) : this.createStraightPath(p.filter((x) => x.value !== null)), M = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(c) : this.createStraightPath(c.filter((x) => x.value !== null)), A = m.ticks.map((x) => ({
@@ -480,16 +480,16 @@ const Ke = J(), Qe = {
480
480
  datapoint: t
481
481
  };
482
482
  });
483
- this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? z : A, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? G : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? O : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = w, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = z, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((x) => x.scaleLabel === t.scaleLabel).length === 1;
483
+ this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? z : A, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? G : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? w : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = O, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = z, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((x) => x.scaleLabel === t.scaleLabel).length === 1;
484
484
  const X = this.mutableConfig.useIndividualScale ? t.autoScaling ? G : C : this.zero, D = Math.max(Math.max(t.autoScaling ? G : A.at(-1).y, this.drawingArea.top), X);
485
485
  return {
486
486
  ...t,
487
- yOffset: w,
487
+ yOffset: O,
488
488
  autoScaleYLabels: z,
489
489
  individualHeight: F,
490
490
  scaleYLabels: t.autoScaling ? z : A,
491
491
  individualScale: t.autoScaling ? N : m,
492
- individualMax: t.autoScaling ? O : k,
492
+ individualMax: t.autoScaling ? w : k,
493
493
  zeroPosition: t.autoScaling ? G : C,
494
494
  curve: t.autoScaling ? h : n,
495
495
  plots: t.autoScaling ? c : p,
@@ -521,17 +521,17 @@ const Ke = J(), Qe = {
521
521
  }, l = {
522
522
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
523
523
  min: t.scaleMin || Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues)
524
- }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * _ : l.max, e), N = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), L = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, k = m.max + L, O = N.max + Math.abs(v), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - w - F * L / k, G = this.drawingArea.bottom - w - F * v / O, p = t.series.map((y, M) => {
524
+ }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * _ : l.max, e), N = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), L = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, k = m.max + L, w = N.max + Math.abs(v), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - F * L / k, G = this.drawingArea.bottom - O - F * v / w, p = t.series.map((y, M) => {
525
525
  const A = this.mutableConfig.useIndividualScale ? (t.absoluteValues[M] + Math.abs(L)) / k : this.ratioToMax(y);
526
526
  return {
527
527
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
528
- y: this.checkNaN(this.drawingArea.bottom - w - F * A),
528
+ y: this.checkNaN(this.drawingArea.bottom - O - F * A),
529
529
  value: t.absoluteValues[M],
530
530
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
531
531
  };
532
532
  }), a = t.absoluteValues.map((y) => N.min >= 0 ? (y - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (y + Math.abs(N.min)) / (N.max + Math.abs(N.min))), c = t.series.map((y, M) => ({
533
533
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
534
- y: this.checkNaN(this.drawingArea.bottom - w - (F * a[M] || 0)),
534
+ y: this.checkNaN(this.drawingArea.bottom - O - (F * a[M] || 0)),
535
535
  value: t.absoluteValues[M],
536
536
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
537
537
  })), n = m.ticks.map((y) => ({
@@ -550,14 +550,14 @@ const Ke = J(), Qe = {
550
550
  datapoint: t
551
551
  };
552
552
  });
553
- return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? h : n, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? G : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? O : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = w, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = h, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((y) => y.scaleLabel === t.scaleLabel).length === 1, {
553
+ return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? h : n, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? G : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? w : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = O, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = h, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((y) => y.scaleLabel === t.scaleLabel).length === 1, {
554
554
  ...t,
555
- yOffset: w,
555
+ yOffset: O,
556
556
  autoScaleYLabels: h,
557
557
  individualHeight: F,
558
558
  scaleYLabels: t.autoScaling ? h : n,
559
559
  individualScale: t.autoScaling ? N : m,
560
- individualMax: t.autoScaling ? O : k,
560
+ individualMax: t.autoScaling ? w : k,
561
561
  zeroPosition: t.autoScaling ? G : C,
562
562
  plots: t.autoScaling ? c : p,
563
563
  groupId: this.scaleGroups[t.scaleLabel].groupId
@@ -792,7 +792,7 @@ const Ke = J(), Qe = {
792
792
  }));
793
793
  },
794
794
  zero() {
795
- return this.drawingArea.bottom - this.drawingArea.height * this.ratioToMax(this.relativeZero);
795
+ return isNaN(this.ratioToMax(this.relativeZero)) ? this.drawingArea.bottom : this.drawingArea.bottom - this.drawingArea.height * this.ratioToMax(this.relativeZero);
796
796
  }
797
797
  },
798
798
  mounted() {
@@ -814,8 +814,8 @@ const Ke = J(), Qe = {
814
814
  calcLinearProgression: pe,
815
815
  calculateNiceScale: ve,
816
816
  calculateNiceScaleWithExactExtremes: Ge,
817
- checkNaN: we,
818
- closestDecimal: Oe,
817
+ checkNaN: Oe,
818
+ closestDecimal: we,
819
819
  convertColorToHex: ke,
820
820
  convertConfigColors: Se,
821
821
  convertCustomPalette: Ce,
@@ -939,13 +939,13 @@ const Ke = J(), Qe = {
939
939
  this.$refs.source && (v = this.$refs.source.getBoundingClientRect().height);
940
940
  let k = 0;
941
941
  this.$refs.noTitle && (k = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - L - m - v - k, this.width = d, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
942
- const O = new ResizeObserver((w) => {
943
- for (const F of w)
942
+ const w = new ResizeObserver((O) => {
943
+ for (const F of O)
944
944
  this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (m = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (L = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (v = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
945
945
  this.height = F.contentBoxSize[0].blockSize - e - L - m - v - 24, this.width = F.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
946
946
  });
947
947
  });
948
- this.resizeObserver = O, this.observedEl = s, O.observe(s);
948
+ this.resizeObserver = w, this.observedEl = s, w.observe(s);
949
949
  } else
950
950
  this.height = this.FINAL_CONFIG.chart.height, this.width = this.FINAL_CONFIG.chart.width, this.viewBox = `0 0 ${this.width} ${this.height}`, this.fontSizes.dataLabels = this.FINAL_CONFIG.chart.grid.labels.fontSize, this.fontSizes.yAxis = this.FINAL_CONFIG.chart.grid.labels.axis.fontSize, this.fontSizes.xAxis = this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize, this.fontSizes.plotLabels = this.FINAL_CONFIG.chart.labels.fontSize, this.plotRadii.plot = this.FINAL_CONFIG.plot.radius, this.plotRadii.line = this.FINAL_CONFIG.line.radius;
951
951
  },
@@ -1116,7 +1116,7 @@ const Ke = J(), Qe = {
1116
1116
  async generatePdf() {
1117
1117
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1118
1118
  try {
1119
- const { default: t } = await import("./pdf-CTRFaSN8.js");
1119
+ const { default: t } = await import("./pdf-Cy09nTjn.js");
1120
1120
  await t({
1121
1121
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1122
1122
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1139,7 +1139,7 @@ const Ke = J(), Qe = {
1139
1139
  async generateImage() {
1140
1140
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1141
1141
  try {
1142
- const { default: t } = await import("./img-DG5CAMFC.js");
1142
+ const { default: t } = await import("./img-DWfzRJdv.js");
1143
1143
  await t({
1144
1144
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1145
1145
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
@@ -1159,7 +1159,7 @@ const Ke = J(), Qe = {
1159
1159
  ref: "noTitle",
1160
1160
  class: "vue-data-ui-no-title-space",
1161
1161
  style: "height:36px; width: 100%; background:transparent"
1162
- }, et = ["viewBox", "aria-label"], tt = ["x", "y", "width", "height"], lt = { key: 1 }, at = { class: "vue-ui-xy-grid" }, it = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], st = { key: 1 }, nt = ["x1", "x2", "y1", "y2", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke"], ot = ["x1", "x2", "y1", "y2", "stroke"], ht = { key: 3 }, ut = ["x1", "x2", "y1", "y2", "stroke"], dt = ["id"], gt = ["stop-color"], ft = ["stop-color"], It = ["stop-color"], Nt = ["id"], mt = ["stop-color"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], At = ["stop-color"], yt = ["id"], Lt = ["stop-color"], Ct = ["stop-color"], St = ["id"], kt = ["stop-color"], Ot = ["stop-color"], wt = ["x", "y", "height", "width", "fill"], Gt = ["x", "y", "width"], vt = ["x", "y", "height", "width", "fill"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], zt = ["width", "x", "y"], Tt = { key: 0 }, Pt = ["id"], Vt = ["fill"], Rt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ht = ["x", "y", "font-size", "fill"], Dt = ["stroke", "x1", "x2", "y1", "y2"], Wt = { key: 2 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Yt = { key: 4 }, qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["fill", "font-size", "transform"], Ut = ["x1", "x2", "y1", "y2", "stroke"], Zt = ["x", "y", "font-size", "fill"], Jt = ["x1", "x2", "y1", "y2", "stroke"], Kt = ["x", "y", "font-size", "fill"], Qt = ["width", "x", "y"], jt = { style: { width: "100%" } }, $t = { key: 0 }, el = ["id"], tl = ["fill"], ll = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], al = ["x", "y", "font-size", "fill"], il = ["d", "stroke", "stroke-width", "stroke-dasharray"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], sl = { key: 5 }, nl = { key: 0 }, cl = ["d", "fill"], ol = ["d", "fill"], hl = ["d", "fill"], ul = ["d", "fill"], dl = ["d", "stroke", "stroke-width", "stroke-dasharray"], gl = ["d", "stroke", "stroke-width", "stroke-dasharray"], fl = ["width", "x", "y"], Il = { style: { width: "100%" } }, Nl = { key: 3 }, ml = ["id"], xl = ["fill"], bl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Fl = ["x", "y", "font-size", "fill"], _l = { key: 6 }, Al = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill", "font-weight"], Ll = { key: 7 }, Cl = ["x", "y", "font-size", "fill"], Sl = { key: 8 }, kl = ["x", "y"], Ol = ["innerHTML"], wl = ["x", "y"], Gl = ["innerHTML"], vl = ["x1", "x2", "y1", "y2", "stroke"], pl = { key: 9 }, Ml = ["x", "y", "font-size", "fill"], zl = { key: 10 }, Tl = ["x", "y"], Pl = ["innerHTML"], Vl = ["x", "y"], Rl = ["innerHTML"], Hl = ["x1", "x2", "y1", "y2", "stroke"], Dl = ["x", "y", "font-size", "fill", "innerHTML"], Wl = ["x", "y", "font-size", "fill", "innerHTML"], El = ["x", "y", "font-size", "fill", "innerHTML"], Bl = ["x", "y", "font-size", "fill", "innerHTML"], Yl = ["id"], ql = ["stop-color"], Xl = ["stop-color"], Ul = ["x", "y", "width", "height", "fill", "onMouseenter"], Zl = ["font-size", "fill", "transform"], Jl = ["x", "y", "font-size", "fill"], Kl = { key: 12 }, Ql = ["text-anchor", "font-size", "fill", "transform", "onClick"], jl = ["x", "y", "height", "width", "onMouseenter", "onClick"], $l = {
1162
+ }, et = ["viewBox", "aria-label"], tt = ["x", "y", "width", "height"], lt = { key: 1 }, at = { class: "vue-ui-xy-grid" }, it = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], st = { key: 1 }, nt = ["x1", "x2", "y1", "y2", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke"], ot = ["x1", "x2", "y1", "y2", "stroke"], ht = { key: 3 }, ut = ["x1", "x2", "y1", "y2", "stroke"], dt = ["id"], gt = ["stop-color"], ft = ["stop-color"], It = ["stop-color"], Nt = ["id"], mt = ["stop-color"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], At = ["stop-color"], yt = ["id"], Lt = ["stop-color"], Ct = ["stop-color"], St = ["id"], kt = ["stop-color"], wt = ["stop-color"], Ot = ["x", "y", "height", "width", "fill"], Gt = ["x", "y", "width"], vt = ["x", "y", "height", "width", "fill"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], zt = ["width", "x", "y"], Tt = { key: 0 }, Pt = ["id"], Vt = ["fill"], Rt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ht = ["x", "y", "font-size", "fill"], Dt = ["stroke", "x1", "x2", "y1", "y2"], Wt = { key: 2 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Yt = { key: 4 }, qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["fill", "font-size", "transform"], Ut = ["x1", "x2", "y1", "y2", "stroke"], Zt = ["x", "y", "font-size", "fill"], Jt = ["x1", "x2", "y1", "y2", "stroke"], Kt = ["x", "y", "font-size", "fill"], Qt = ["width", "x", "y"], jt = { style: { width: "100%" } }, $t = { key: 0 }, el = ["id"], tl = ["fill"], ll = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], al = ["x", "y", "font-size", "fill"], il = ["d", "stroke", "stroke-width", "stroke-dasharray"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], sl = { key: 5 }, nl = { key: 0 }, cl = ["d", "fill"], ol = ["d", "fill"], hl = ["d", "fill"], ul = ["d", "fill"], dl = ["d", "stroke", "stroke-width", "stroke-dasharray"], gl = ["d", "stroke", "stroke-width", "stroke-dasharray"], fl = ["width", "x", "y"], Il = { style: { width: "100%" } }, Nl = { key: 3 }, ml = ["id"], xl = ["fill"], bl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Fl = ["x", "y", "font-size", "fill"], _l = { key: 6 }, Al = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill", "font-weight"], Ll = { key: 7 }, Cl = ["x", "y", "font-size", "fill"], Sl = { key: 8 }, kl = ["x", "y"], wl = ["innerHTML"], Ol = ["x", "y"], Gl = ["innerHTML"], vl = ["x1", "x2", "y1", "y2", "stroke"], pl = { key: 9 }, Ml = ["x", "y", "font-size", "fill"], zl = { key: 10 }, Tl = ["x", "y"], Pl = ["innerHTML"], Vl = ["x", "y"], Rl = ["innerHTML"], Hl = ["x1", "x2", "y1", "y2", "stroke"], Dl = ["x", "y", "font-size", "fill", "innerHTML"], Wl = ["x", "y", "font-size", "fill", "innerHTML"], El = ["x", "y", "font-size", "fill", "innerHTML"], Bl = ["x", "y", "font-size", "fill", "innerHTML"], Yl = ["id"], ql = ["stop-color"], Xl = ["stop-color"], Ul = ["x", "y", "width", "height", "fill", "onMouseenter"], Zl = ["font-size", "fill", "transform"], Jl = ["x", "y", "font-size", "fill"], Kl = { key: 12 }, Ql = ["text-anchor", "font-size", "fill", "transform", "onClick"], jl = ["x", "y", "height", "width", "onMouseenter", "onClick"], $l = {
1163
1163
  key: 13,
1164
1164
  style: { "pointer-events": "none" }
1165
1165
  }, ea = ["x", "y"], ta = ["cx", "cy", "r", "fill"], la = {
@@ -1212,7 +1212,7 @@ const Ke = J(), Qe = {
1212
1212
  "data-dom-to-png-ignore": ""
1213
1213
  }, Ca = ["innerHTML"];
1214
1214
  function Sa(t, s, o, d, l, e) {
1215
- const _ = R("PenAndPaper"), m = R("Title"), N = R("UserOptions"), L = R("PackageVersion"), v = R("Shape"), k = R("Skeleton"), O = R("Slicer"), w = R("Tooltip"), F = R("BaseIcon"), C = R("TableSparkline"), G = R("DataTable"), p = R("Accordion");
1215
+ const _ = R("PenAndPaper"), m = R("Title"), N = R("UserOptions"), L = R("PackageVersion"), v = R("Shape"), k = R("Skeleton"), w = R("Slicer"), O = R("Tooltip"), F = R("BaseIcon"), C = R("TableSparkline"), G = R("DataTable"), p = R("Accordion");
1216
1216
  return i(), r("div", {
1217
1217
  id: `vue-ui-xy_${l.uniqueId}`,
1218
1218
  class: B(`vue-ui-xy ${l.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -1543,7 +1543,7 @@ function Sa(t, s, o, d, l, e) {
1543
1543
  f("stop", {
1544
1544
  offset: "100%",
1545
1545
  "stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
1546
- }, null, 8, Ot)
1546
+ }, null, 8, wt)
1547
1547
  ], 8, St)
1548
1548
  ]))), 128)),
1549
1549
  (i(!0), r(u, null, I(e.highlightAreas, (a) => (i(), r("g", null, [
@@ -1558,7 +1558,7 @@ function Sa(t, s, o, d, l, e) {
1558
1558
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1559
1559
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1560
1560
  fill: e.setOpacity(a.color, a.opacity)
1561
- }, null, 12, wt),
1561
+ }, null, 12, Ot),
1562
1562
  a.caption.text && n === 0 ? (i(), r("foreignObject", {
1563
1563
  key: 0,
1564
1564
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - l.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
@@ -2121,7 +2121,7 @@ function Sa(t, s, o, d, l, e) {
2121
2121
  serieName: a.name
2122
2122
  }
2123
2123
  )
2124
- }, null, 12, Ol)
2124
+ }, null, 12, wl)
2125
2125
  ], 12, kl)) : g("", !0),
2126
2126
  n && h === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (i(), r("foreignObject", {
2127
2127
  key: 1,
@@ -2144,7 +2144,7 @@ function Sa(t, s, o, d, l, e) {
2144
2144
  }
2145
2145
  )
2146
2146
  }, null, 12, Gl)
2147
- ], 12, wl)) : g("", !0)
2147
+ ], 12, Ol)) : g("", !0)
2148
2148
  ], 64))
2149
2149
  ], 64))), 128))
2150
2150
  ], 64))), 128))
@@ -2694,7 +2694,7 @@ function Sa(t, s, o, d, l, e) {
2694
2694
  }
2695
2695
  }
2696
2696
  }, null, 8, ["config"])),
2697
- e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (i(), W(O, {
2697
+ e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (i(), W(w, {
2698
2698
  ref: "chartSlicer",
2699
2699
  key: `slicer_${l.slicerStep}`,
2700
2700
  background: e.FINAL_CONFIG.chart.zoom.color,
@@ -2804,7 +2804,7 @@ function Sa(t, s, o, d, l, e) {
2804
2804
  t.$slots.source ? (i(), r("div", ya, [
2805
2805
  S(t.$slots, "source", {}, void 0, !0)
2806
2806
  ], 512)) : g("", !0),
2807
- U(w, {
2807
+ U(O, {
2808
2808
  show: l.mutableConfig.showTooltip && l.isTooltip,
2809
2809
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2810
2810
  color: e.FINAL_CONFIG.chart.tooltip.color,
@@ -2898,7 +2898,7 @@ function Sa(t, s, o, d, l, e) {
2898
2898
  }, 8, ["config"])) : g("", !0)
2899
2899
  ], 46, je);
2900
2900
  }
2901
- const Ta = /* @__PURE__ */ Je(Qe, [["render", Sa], ["__scopeId", "data-v-bf8ec32f"]]);
2901
+ const Ta = /* @__PURE__ */ Je(Qe, [["render", Sa], ["__scopeId", "data-v-fbf1bd14"]]);
2902
2902
  export {
2903
2903
  Ta as default
2904
2904
  };
@@ -1,13 +1,13 @@
1
1
  import { defineAsyncComponent as J, ref as d, computed as k, useSlots as _a, onMounted as ra, watch as A, nextTick as ge, shallowRef as $e, onBeforeUnmount as Ba, createElementBlock as se, openBlock as z, unref as p, normalizeClass as Va, normalizeStyle as K, createCommentVNode as U, createBlock as D, createElementVNode as ne, createSlots as Za, withCtx as b, renderSlot as x, normalizeProps as W, guardReactiveProps as X, createVNode as Ga, toDisplayString as ua, createTextVNode as ja } from "vue";
2
- import { u as qa, c as Ja, t as Ka, p as _, a as Qa, C as pe, b as el, D as Ie, i as Q, f as ee, d as sa, a1 as al, H as ll, ai as tl, o as ol, e as rl, x as na, q as ul, r as sl, y as nl, s as ie, l as il } from "./index-_gtZv10q.js";
2
+ import { u as qa, c as Ja, t as Ka, p as _, a as Qa, C as pe, b as el, D as Ie, i as Q, f as ee, d as sa, a1 as al, H as ll, ai as tl, o as ol, e as rl, x as na, q as ul, r as sl, y as nl, s as ie, l as il } from "./index-CbcpITE_.js";
3
3
  import { d as vl, t as cl, u as dl, c as hl, a as ia, l as L, r as Me, b as R, p as va } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as ca } from "./useNestedProp-Bz6Z0t8M.js";
5
- import { u as yl } from "./usePrinter-LFM5suk6.js";
4
+ import { u as ca } from "./useNestedProp-y56W8I7J.js";
5
+ import { u as yl } from "./usePrinter-u-gQiRNz.js";
6
6
  import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as gl } from "./useChartAccessibility-9icAAmYg.js";
8
- import pl from "./Legend-B3x9Et6h.js";
9
- import ml from "./Title-BEQiIKjn.js";
10
- import { S as bl } from "./Slicer-COOEkKtu.js";
8
+ import pl from "./Legend-ZW-PFcHg.js";
9
+ import ml from "./Title-Dx8ctnVy.js";
10
+ import { S as bl } from "./Slicer-Vh74fjdf.js";
11
11
  import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const Ll = ["id"], kl = ["onClick"], Cl = {
13
13
  key: 2,
@@ -30,7 +30,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
30
30
  },
31
31
  emits: ["selectLegend"],
32
32
  setup(Te, { expose: da, emit: ha }) {
33
- const ya = J(() => import("./vue-ui-accordion-DFfQ5rpF.js")), fa = J(() => import("./DataTable-DN8VsGNp.js")), ga = J(() => import("./NonSvgPenAndPaper-D9ieEyKs.js")), pa = J(() => import("./vue-ui-skeleton-g2ChSAKh.js")), ma = J(() => import("./Tooltip-R_tsQZO3.js")), ba = J(() => import("./UserOptions-CIOyDPmN.js")), { vue_ui_xy_canvas: xa } = qa(), g = Te, me = d(Ja()), ae = d(null), le = d(null), s = d(null), y = d(1), P = d(1), ve = d(!1), v = d(null), ce = d(""), Oe = d(null), $ = d([]), B = d(1), H = d(!0), V = d(!0), be = d(null), Re = d(0), Pe = d(0), de = d(!1), Ee = d(null), Fe = d(null), Ae = d(null), De = d(null), xe = d(0), Le = d(0), ke = d(0), M = d(null), Ce = k(() => !!g.dataset && g.dataset.length), La = ha, ka = _a();
33
+ const ya = J(() => import("./vue-ui-accordion-BkA7rtwr.js")), fa = J(() => import("./DataTable-CsoAI95B.js")), ga = J(() => import("./NonSvgPenAndPaper-DJTUaQ94.js")), pa = J(() => import("./vue-ui-skeleton-miKWlCAi.js")), ma = J(() => import("./Tooltip-COHlzpZI.js")), ba = J(() => import("./UserOptions-CGn3YdRV.js")), { vue_ui_xy_canvas: xa } = qa(), g = Te, me = d(Ja()), ae = d(null), le = d(null), s = d(null), y = d(1), P = d(1), ve = d(!1), v = d(null), ce = d(""), Oe = d(null), $ = d([]), B = d(1), H = d(!0), V = d(!0), be = d(null), Re = d(0), Pe = d(0), de = d(!1), Ee = d(null), Fe = d(null), Ae = d(null), De = d(null), xe = d(0), Le = d(0), ke = d(0), M = d(null), Ce = k(() => !!g.dataset && g.dataset.length), La = ha, ka = _a();
34
34
  ra(() => {
35
35
  ka["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
36
36
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "2.12.8-beta.1",
4
+ "version": "2.12.8-beta.2",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [