vue-data-ui 2.6.1 → 2.6.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 (152) hide show
  1. package/dist/{Arrow-CG_4BSkT.js → Arrow-B4TCBt4-.js} +1 -1
  2. package/dist/{Arrow-DaCdeKAQ.cjs → Arrow-DnYsOsEt.cjs} +1 -1
  3. package/dist/{BaseIcon-zOOwakRm.js → BaseIcon-DTJIrD3k.js} +1 -1
  4. package/dist/{BaseIcon-CKMrYVdW.cjs → BaseIcon-Dn1igOva.cjs} +1 -1
  5. package/dist/{DataTable-DGgj14m-.js → DataTable-BWABkdIL.js} +2 -2
  6. package/dist/{DataTable-BLEXsQBY.cjs → DataTable-Cybmjq2W.cjs} +1 -1
  7. package/dist/{Legend-BvLLHGBp.cjs → Legend-Bf8J9KZk.cjs} +1 -1
  8. package/dist/{Legend-D8BbMFRZ.js → Legend-du4CJMG1.js} +2 -2
  9. package/dist/{PackageVersion-B7vHZ873.cjs → PackageVersion-Bmro6-lR.cjs} +1 -1
  10. package/dist/{PackageVersion-Bk5LVTq1.js → PackageVersion-Dqo8V-i_.js} +1 -1
  11. package/dist/{PenAndPaper-C2r4IIot.cjs → PenAndPaper-B7dv_ssy.cjs} +1 -1
  12. package/dist/{PenAndPaper-CQfs_lTN.js → PenAndPaper-QsaleY3R.js} +3 -3
  13. package/dist/{Shape-DRv28FRP.js → Shape-D_MGNYEa.js} +1 -1
  14. package/dist/{Shape-CMWPm64P.cjs → Shape-QydDpcqr.cjs} +1 -1
  15. package/dist/{Slicer-BTtwLXWn.js → Slicer-DKXIt2om.js} +2 -2
  16. package/dist/{Slicer-5eB08Bkj.cjs → Slicer-Vzo3baUi.cjs} +1 -1
  17. package/dist/{Title-ag6gXJcz.js → Title-MKfkLka7.js} +1 -1
  18. package/dist/{Title-DDaORN3r.cjs → Title-x7Hmi2zb.cjs} +1 -1
  19. package/dist/{Tooltip-95WjskR9.js → Tooltip-BUMgVEu0.js} +1 -1
  20. package/dist/{Tooltip-DwioWtpe.cjs → Tooltip-pA64woiQ.cjs} +1 -1
  21. package/dist/{index-DaaDBRRF.js → index-B8uVRkA1.js} +1 -1
  22. package/dist/{index-Dla35rDR.cjs → index-Bmq5HB9y.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-onENMM4v.cjs → useNestedProp-CivZENAh.cjs} +1 -1
  25. package/dist/{useNestedProp-ReVcQys2.js → useNestedProp-kStEZqtl.js} +1 -1
  26. package/dist/{usePrinter-cQwX-nf0.cjs → usePrinter-Cf6Zct5m.cjs} +1 -1
  27. package/dist/{usePrinter-DUVTMVcK.js → usePrinter-CppD6oY_.js} +1 -1
  28. package/dist/{vue-data-ui-S7WYrlMn.cjs → vue-data-ui-HGY4nSGa.cjs} +1 -1
  29. package/dist/{vue-data-ui-DBJxJRA8.js → vue-data-ui-ZZGY9nKv.js} +61 -61
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-yWjl5iDC.cjs → vue-ui-3d-bar-BMZJgQzl.cjs} +1 -1
  33. package/dist/{vue-ui-3d-bar-C4Lf5ZsJ.js → vue-ui-3d-bar-DbhESYsC.js} +9 -9
  34. package/dist/{vue-ui-accordion-BJBt7sbb.js → vue-ui-accordion-CE2Pnpz3.js} +3 -3
  35. package/dist/{vue-ui-accordion-DcbFZ2D3.cjs → vue-ui-accordion-WWblnzaJ.cjs} +1 -1
  36. package/dist/{vue-ui-age-pyramid-CMLAz6Mp.js → vue-ui-age-pyramid-CxW84Zy4.js} +10 -10
  37. package/dist/{vue-ui-age-pyramid-CAh4pv9o.cjs → vue-ui-age-pyramid-DzPdTFTe.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-Ccv0-AJJ.cjs → vue-ui-annotator-D5PCmH8u.cjs} +1 -1
  39. package/dist/{vue-ui-annotator-DgYKMAvZ.js → vue-ui-annotator-DuS_kY-C.js} +1 -1
  40. package/dist/{vue-ui-bullet-BPdkEe6M.js → vue-ui-bullet-CvB9cU_g.js} +8 -8
  41. package/dist/{vue-ui-bullet-BYvPZfEi.cjs → vue-ui-bullet-DND6LL0P.cjs} +1 -1
  42. package/dist/{vue-ui-candlestick-Bl48zOlH.cjs → vue-ui-candlestick-Bq4VyBVk.cjs} +1 -1
  43. package/dist/{vue-ui-candlestick-Dh8xqZUc.js → vue-ui-candlestick-C76ZVkkY.js} +11 -11
  44. package/dist/{vue-ui-carousel-table-54orau8Z.cjs → vue-ui-carousel-table-CdwSAavZ.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-BGXTUQcI.js → vue-ui-carousel-table-DPlos7Us.js} +4 -4
  46. package/dist/{vue-ui-chestnut-DWW5UXQ_.js → vue-ui-chestnut-CB4BA3mx.js} +8 -8
  47. package/dist/{vue-ui-chestnut-BbK-8JcW.cjs → vue-ui-chestnut-CH1rO8yv.cjs} +1 -1
  48. package/dist/{vue-ui-circle-pack-Be3vnkLn.js → vue-ui-circle-pack-DslAztEw.js} +9 -9
  49. package/dist/{vue-ui-circle-pack-C6nsFaf9.cjs → vue-ui-circle-pack-T0baWnD4.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-BMD9oXM_.js → vue-ui-cursor-CNrbLYcU.js} +2 -2
  51. package/dist/{vue-ui-cursor-Bd4WawYT.cjs → vue-ui-cursor-tyy0Lbsc.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-CIb57ZTu.cjs → vue-ui-dashboard-2EJIfom5.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-CRFAupNn.js → vue-ui-dashboard-BIQYUy0X.js} +2 -2
  54. package/dist/{vue-ui-digits-hKIjwNLE.cjs → vue-ui-digits-9j9HvJAE.cjs} +1 -1
  55. package/dist/{vue-ui-digits-DA1yrPSo.js → vue-ui-digits-B9zkzbxp.js} +2 -2
  56. package/dist/{vue-ui-donut-C6thkzA9.js → vue-ui-donut-CTTVwsjp.js} +12 -12
  57. package/dist/{vue-ui-donut-d-C5olqi.cjs → vue-ui-donut-MNv-tPgT.cjs} +1 -1
  58. package/dist/{vue-ui-donut-evolution-Dzv3ligP.cjs → vue-ui-donut-evolution-ByfZmrmA.cjs} +1 -1
  59. package/dist/{vue-ui-donut-evolution-CYAgFkE9.js → vue-ui-donut-evolution-QrqawlMF.js} +11 -11
  60. package/dist/{vue-ui-dumbbell-D7s7aDL9.js → vue-ui-dumbbell-DbJC4PQf.js} +10 -10
  61. package/dist/{vue-ui-dumbbell-oXJoC9vw.cjs → vue-ui-dumbbell-DdFhLM7x.cjs} +1 -1
  62. package/dist/{vue-ui-flow-D1M1iLei.cjs → vue-ui-flow-D3fu0o6H.cjs} +1 -1
  63. package/dist/{vue-ui-flow-C_UFS27X.js → vue-ui-flow-oXRtEqoD.js} +9 -9
  64. package/dist/{vue-ui-funnel-D-Ph4pEt.cjs → vue-ui-funnel-Btk9EM8C.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-CyHc5q64.js → vue-ui-funnel-wG5mmmoA.js} +9 -9
  66. package/dist/{vue-ui-galaxy-CYVuaFx4.cjs → vue-ui-galaxy-D0chyXGV.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-C2B21QDs.js → vue-ui-galaxy-DKsUFAVZ.js} +11 -11
  68. package/dist/{vue-ui-gauge-DN7BfHVH.cjs → vue-ui-gauge-BgRQ_PbK.cjs} +1 -1
  69. package/dist/{vue-ui-gauge-BbCrRAcn.js → vue-ui-gauge-CVS_Ragk.js} +7 -7
  70. package/dist/{vue-ui-gizmo-BxmQXMMz.js → vue-ui-gizmo-D4BHhwJ8.js} +3 -3
  71. package/dist/{vue-ui-gizmo-BLi-aeOT.cjs → vue-ui-gizmo-Dhu6rJ9P.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-Di-4_KVj.js → vue-ui-heatmap-BGioOZJj.js} +10 -10
  73. package/dist/{vue-ui-heatmap-B5kk3ubl.cjs → vue-ui-heatmap-EGSWPEkM.cjs} +1 -1
  74. package/dist/{vue-ui-history-plot-BgQ7_nGB.js → vue-ui-history-plot-B18G7ARJ.js} +11 -11
  75. package/dist/{vue-ui-history-plot-C4Rh7d4A.cjs → vue-ui-history-plot-Be4mtSAH.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-C_QMS2sW.cjs → vue-ui-kpi-B7rHhQ3H.cjs} +1 -1
  77. package/dist/{vue-ui-kpi-D5dlDIrE.js → vue-ui-kpi-BK1Vq6tA.js} +3 -3
  78. package/dist/{vue-ui-mini-loader-DC9WI9t6.cjs → vue-ui-mini-loader-DrWDl3Hc.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-brOHSBkA.js → vue-ui-mini-loader-lAOgjMme.js} +2 -2
  80. package/dist/{vue-ui-molecule-BlZa7LFK.js → vue-ui-molecule-DEKmU-Mx.js} +11 -11
  81. package/dist/{vue-ui-molecule-Brrb0vRD.cjs → vue-ui-molecule-TSwsc6wZ.cjs} +1 -1
  82. package/dist/{vue-ui-mood-radar-bdoq5L0c.js → vue-ui-mood-radar-6XZfljIe.js} +11 -11
  83. package/dist/{vue-ui-mood-radar-ewQ9HT5w.cjs → vue-ui-mood-radar-vLXtDHcR.cjs} +1 -1
  84. package/dist/{vue-ui-nested-donuts-BrxC6lYZ.cjs → vue-ui-nested-donuts--A1qjixG.cjs} +1 -1
  85. package/dist/{vue-ui-nested-donuts-6bcJ22S6.js → vue-ui-nested-donuts-Cl8xdJU6.js} +11 -11
  86. package/dist/{vue-ui-onion-CPTPsRp_.cjs → vue-ui-onion-C32u8Ezk.cjs} +1 -1
  87. package/dist/{vue-ui-onion-Yff-DwJ0.js → vue-ui-onion-CPlqANiN.js} +11 -11
  88. package/dist/{vue-ui-parallel-coordinate-plot-BAGdY2ni.js → vue-ui-parallel-coordinate-plot-95RlJka2.js} +12 -12
  89. package/dist/{vue-ui-parallel-coordinate-plot-BBf4Stme.cjs → vue-ui-parallel-coordinate-plot-BY0t_Hc_.cjs} +1 -1
  90. package/dist/{vue-ui-quadrant-DpRKaZTi.cjs → vue-ui-quadrant-CWwHr8BX.cjs} +1 -1
  91. package/dist/{vue-ui-quadrant-BYkclEHK.js → vue-ui-quadrant-C_BIZcc8.js} +12 -12
  92. package/dist/{vue-ui-quick-chart-tOqfl8Wv.js → vue-ui-quick-chart-BZ5n0UQy.js} +9 -9
  93. package/dist/{vue-ui-quick-chart-DZ6tgwO-.cjs → vue-ui-quick-chart-CZYAIILY.cjs} +1 -1
  94. package/dist/{vue-ui-radar-THcYC_gY.cjs → vue-ui-radar-D4XBfJym.cjs} +1 -1
  95. package/dist/{vue-ui-radar-DGV_Qsfo.js → vue-ui-radar-Ddu3Dzxx.js} +12 -12
  96. package/dist/{vue-ui-rating-Cuou21Nk.js → vue-ui-rating-C7MH_wxf.js} +2 -2
  97. package/dist/{vue-ui-rating-ChvACa7-.cjs → vue-ui-rating-WjFEnnp5.cjs} +1 -1
  98. package/dist/{vue-ui-relation-circle-3c5hexW_.cjs → vue-ui-relation-circle-8Kw5PdZD.cjs} +1 -1
  99. package/dist/{vue-ui-relation-circle-Qikk7b8Z.js → vue-ui-relation-circle-B_xPyr_-.js} +7 -7
  100. package/dist/{vue-ui-rings-pwelBySH.cjs → vue-ui-rings-CuLwbEa2.cjs} +1 -1
  101. package/dist/{vue-ui-rings-DM1bBtQj.js → vue-ui-rings-pjfgnXyP.js} +12 -12
  102. package/dist/{vue-ui-scatter-tRzawjcj.cjs → vue-ui-scatter-YQ4zYJj0.cjs} +1 -1
  103. package/dist/{vue-ui-scatter-D3ZdlKut.js → vue-ui-scatter-x6zrT3IA.js} +12 -12
  104. package/dist/{vue-ui-screenshot-BpH4_ZD6.cjs → vue-ui-screenshot-D3k8rLXz.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-D7LdEMAv.js → vue-ui-screenshot-DeKe5Csw.js} +1 -1
  106. package/dist/{vue-ui-skeleton-Ce7b04xD.js → vue-ui-skeleton-BC7kQhlE.js} +3 -3
  107. package/dist/{vue-ui-skeleton-BIuKWqj2.cjs → vue-ui-skeleton-D5890icn.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-vo6yPzcF.js → vue-ui-smiley-5evB5mWX.js} +2 -2
  109. package/dist/{vue-ui-smiley-BUJpZcSm.cjs → vue-ui-smiley-CNlhfa-H.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-C7k3udvc.js → vue-ui-spark-trend-BgZ0JbXH.js} +5 -5
  111. package/dist/{vue-ui-spark-trend-C_MN59hc.cjs → vue-ui-spark-trend-CuqG_rtb.cjs} +1 -1
  112. package/dist/{vue-ui-sparkbar-CdENaD7Y.js → vue-ui-sparkbar-DkAi7xTy.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-CPCZlpHO.cjs → vue-ui-sparkbar-DrG8Dq7-.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-B2uWPCJq.js → vue-ui-sparkgauge-BPhv4OLb.js} +4 -4
  115. package/dist/{vue-ui-sparkgauge-QZgcWK60.cjs → vue-ui-sparkgauge-C8JczQHv.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-DCTnIVXe.js → vue-ui-sparkhistogram-CvhqCMzj.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-DZabvSAV.cjs → vue-ui-sparkhistogram-e9JHVPef.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-BEWrNJvV.cjs → vue-ui-sparkline-DAaH0160.cjs} +1 -1
  119. package/dist/{vue-ui-sparkline-D3S5lo7r.js → vue-ui-sparkline-TSwCmhPw.js} +4 -4
  120. package/dist/{vue-ui-sparkstackbar-DWHqCmiK.js → vue-ui-sparkstackbar-BoS2_lla.js} +5 -5
  121. package/dist/{vue-ui-sparkstackbar-B5D0afLQ.cjs → vue-ui-sparkstackbar-r_awjtOp.cjs} +1 -1
  122. package/dist/{vue-ui-stackbar-q8Ibh-d4.js → vue-ui-stackbar-BEN8-V44.js} +13 -13
  123. package/dist/{vue-ui-stackbar-C9-V2SdI.cjs → vue-ui-stackbar-COZlH_nE.cjs} +1 -1
  124. package/dist/{vue-ui-strip-plot-D7foO-kq.js → vue-ui-strip-plot-Cbd43lkd.js} +11 -11
  125. package/dist/{vue-ui-strip-plot-DyGtwTEn.cjs → vue-ui-strip-plot-zTtIMHMC.cjs} +1 -1
  126. package/dist/{vue-ui-table-C6r6UbXb.js → vue-ui-table-Cdn-p4Sv.js} +1 -1
  127. package/dist/{vue-ui-table-DLR0ha2q.cjs → vue-ui-table-D3n9zK4_.cjs} +1 -1
  128. package/dist/{vue-ui-table-heatmap-DXZkNgsX.cjs → vue-ui-table-heatmap-1gluLlyr.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-Bs3RyLJ-.js → vue-ui-table-heatmap-DUoSqJAq.js} +4 -4
  130. package/dist/{vue-ui-table-sparkline-Dxy58OjL.js → vue-ui-table-sparkline-B6WbUZ-8.js} +5 -5
  131. package/dist/{vue-ui-table-sparkline-8jNNkRHl.cjs → vue-ui-table-sparkline-axmTWfsW.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-C0ebsziQ.js → vue-ui-thermometer-CYPaaRUL.js} +7 -7
  133. package/dist/{vue-ui-thermometer-CB82D9V2.cjs → vue-ui-thermometer-DO8jsmEA.cjs} +1 -1
  134. package/dist/{vue-ui-timer-C1SeltGj.cjs → vue-ui-timer-BxB-pqMO.cjs} +1 -1
  135. package/dist/{vue-ui-timer-2l2uA9ds.js → vue-ui-timer-DVDPJaIq.js} +5 -5
  136. package/dist/{vue-ui-tiremarks-B0Ko-3Nl.cjs → vue-ui-tiremarks-CHJQsXBn.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-DqV4z-gF.js → vue-ui-tiremarks-LeiTjrNE.js} +7 -7
  138. package/dist/{vue-ui-treemap-VQLgKoFv.cjs → vue-ui-treemap-5vtoQA3B.cjs} +1 -1
  139. package/dist/{vue-ui-treemap-ZCkY5MIc.js → vue-ui-treemap-D1qUMxJQ.js} +11 -11
  140. package/dist/{vue-ui-vertical-bar-C7c4aoAE.js → vue-ui-vertical-bar-BjqeLwN6.js} +12 -12
  141. package/dist/{vue-ui-vertical-bar-D2fsnSXJ.cjs → vue-ui-vertical-bar-BvooiWAc.cjs} +1 -1
  142. package/dist/{vue-ui-waffle-D80rQuGH.js → vue-ui-waffle-DphHhyQF.js} +12 -12
  143. package/dist/{vue-ui-waffle-D6haAPI4.cjs → vue-ui-waffle-I9RUtRMp.cjs} +1 -1
  144. package/dist/{vue-ui-wheel-CoUOGnK9.js → vue-ui-wheel-BloNNVqT.js} +7 -7
  145. package/dist/{vue-ui-wheel-aifK19L_.cjs → vue-ui-wheel-KJdapRnF.cjs} +1 -1
  146. package/dist/{vue-ui-word-cloud-CyukymPI.cjs → vue-ui-word-cloud-BLpGQgdL.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-D4ncvvGd.js → vue-ui-word-cloud-wxMpsmI9.js} +10 -10
  148. package/dist/{vue-ui-xy-xvt_IG7z.cjs → vue-ui-xy-BEgKs6jA.cjs} +2 -2
  149. package/dist/{vue-ui-xy-BxKSrC7D.js → vue-ui-xy-Zy60Z2c1.js} +90 -90
  150. package/dist/{vue-ui-xy-canvas-B4eBS-TN.cjs → vue-ui-xy-canvas-rKk7-Q2Q.cjs} +1 -1
  151. package/dist/{vue-ui-xy-canvas-IYFIfZxq.js → vue-ui-xy-canvas-zINzDQlN.js} +11 -11
  152. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- import { P as D, W as q, A as j, F as $, w as ee, s as te, o as re, _ as ie, a5 as ae, x as le, C as se, y as ne, a3 as he, e as oe, r as ce, f as X, a6 as de, R as ue, S as ge, q as fe, b as Ie, z as me, d as Ne, a7 as xe, v as be, a8 as Fe, a1 as _e, a9 as Ae, i as ye, G as Ce, L as Le, u as Se, c as K, p as ke, B as we, a as Oe, t as Ge } from "./index-DaaDBRRF.js";
2
- import { D as ve } from "./DataTable-DGgj14m-.js";
3
- import { _ as ze } from "./Title-ag6gXJcz.js";
4
- import { u as Me, _ as pe } from "./Tooltip-95WjskR9.js";
5
- import { U as Te } from "./usePrinter-DUVTMVcK.js";
6
- import { _ as Pe } from "./Shape-DRv28FRP.js";
7
- import Ve from "./BaseIcon-zOOwakRm.js";
8
- import Re from "./vue-ui-table-sparkline-Dxy58OjL.js";
9
- import De from "./vue-ui-skeleton-Ce7b04xD.js";
10
- import { S as He } from "./Slicer-BTtwLXWn.js";
11
- import Be from "./vue-ui-accordion-BJBt7sbb.js";
12
- import { u as U } from "./useNestedProp-ReVcQys2.js";
13
- import { _ as We } from "./PackageVersion-Bk5LVTq1.js";
14
- import { P as Ee } from "./PenAndPaper-CQfs_lTN.js";
1
+ import { P as D, W as q, A as j, F as $, w as ee, s as te, o as re, _ as ie, a5 as ae, x as le, C as se, y as ne, a3 as he, e as oe, r as ce, f as X, a6 as de, R as ue, S as ge, q as fe, b as Ie, z as me, d as Ne, a7 as xe, v as be, a8 as Fe, a1 as _e, a9 as Ae, i as ye, G as Ce, L as Le, u as Se, c as K, p as ke, B as we, a as Oe, t as Ge } from "./index-B8uVRkA1.js";
2
+ import { D as ve } from "./DataTable-BWABkdIL.js";
3
+ import { _ as ze } from "./Title-MKfkLka7.js";
4
+ import { u as Me, _ as pe } from "./Tooltip-BUMgVEu0.js";
5
+ import { U as Te } from "./usePrinter-CppD6oY_.js";
6
+ import { _ as Pe } from "./Shape-D_MGNYEa.js";
7
+ import Ve from "./BaseIcon-DTJIrD3k.js";
8
+ import Re from "./vue-ui-table-sparkline-B6WbUZ-8.js";
9
+ import De from "./vue-ui-skeleton-BC7kQhlE.js";
10
+ import { S as He } from "./Slicer-DKXIt2om.js";
11
+ import Be from "./vue-ui-accordion-CE2Pnpz3.js";
12
+ import { u as U } from "./useNestedProp-kStEZqtl.js";
13
+ import { _ as We } from "./PackageVersion-Dqo8V-i_.js";
14
+ import { P as Ee } from "./PenAndPaper-QsaleY3R.js";
15
15
  import { resolveComponent as R, createElementBlock as s, openBlock as a, normalizeStyle as w, normalizeClass as B, createBlock as H, createCommentVNode as c, createVNode as Y, createSlots as Ye, withCtx as P, renderSlot as S, normalizeProps as W, guardReactiveProps as E, createElementVNode as g, createTextVNode as Z, Fragment as u, renderList as m, toDisplayString as k, mergeProps as J, withDirectives as qe, vModelCheckbox as Xe } from "vue";
16
16
  import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Ze = K(), Je = {
@@ -167,7 +167,7 @@ const Ze = K(), Je = {
167
167
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
168
168
  const r = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), l = Math.max(...r.map((t) => t.series.length)), o = [];
169
169
  for (let t = 0; t < l; t += 1)
170
- o.push(r.map((e) => e.series[t] || 0).reduce((e, F) => (e || 0) + (F || 0), 0));
170
+ o.push(r.map((e) => e.series[t] || 0).reduce((e, _) => (e || 0) + (_ || 0), 0));
171
171
  const d = Math.min(...o);
172
172
  return o.map((t) => t + (d < 0 ? Math.abs(d) : 0));
173
173
  },
@@ -226,9 +226,9 @@ const Ze = K(), Je = {
226
226
  yOffset: t.yOffset,
227
227
  individualHeight: t.individualHeight,
228
228
  x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / d * (e + 1),
229
- yLabels: t.scaleYLabels || t.scale.ticks.map((F) => ({
230
- y: F >= 0 ? t.zero - t.individualHeight * (F / t.max) : t.zero + t.individualHeight * Math.abs(F) / t.max,
231
- value: F
229
+ yLabels: t.scaleYLabels || t.scale.ticks.map((_) => ({
230
+ y: _ >= 0 ? t.zero - t.individualHeight * (_ / t.max) : t.zero + t.individualHeight * Math.abs(_) / t.max,
231
+ value: _
232
232
  }))
233
233
  }));
234
234
  },
@@ -358,38 +358,38 @@ const Ze = K(), Je = {
358
358
  }, e = {
359
359
  max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
360
360
  min: r.scaleMin || Math.min(...r.absoluteValues.filter((N) => ![void 0, null].includes(N))) > 0 ? 0 : Math.min(...r.absoluteValues.filter((N) => ![null, void 0].includes(N)))
361
- }, F = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, x = 1.0000001, I = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * x : e.max, F), _ = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * x : t.valueMax, F), O = I.min >= 0 ? 0 : Math.abs(I.min), G = 0, p = I.max + O, v = _.max + Math.abs(G), b = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, T = this.drawingArea.bottom - b - C * O / p, V = this.drawingArea.bottom - b - C * G / v, i = this.absoluteDataset.filter((N) => N.type === "bar").filter((N) => !this.segregatedSeries.includes(N.id)).length, h = r.series.map((N, M) => {
362
- const y = this.mutableConfig.useIndividualScale ? (r.absoluteValues[M] + O) / p : this.ratioToMax(N), L = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left + this.slot.bar * l + this.slot.bar * M * i - this.barSlot / 2 - l * this.barPeriodGap;
361
+ }, _ = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, b = 1.0000001, I = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * b : e.max, _), A = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * b : t.valueMax, _), O = I.min >= 0 ? 0 : Math.abs(I.min), G = 0, p = I.max + O, v = A.max + Math.abs(G), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, T = this.drawingArea.bottom - F - C * O / p, V = this.drawingArea.bottom - F - C * G / v, i = this.absoluteDataset.filter((N) => N.type === "bar").filter((N) => !this.segregatedSeries.includes(N.id)).length, h = r.series.map((N, M) => {
362
+ const x = this.mutableConfig.useIndividualScale ? (r.absoluteValues[M] + O) / p : this.ratioToMax(N), L = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left + this.slot.bar * l + this.slot.bar * M * i - this.barSlot / 2 - l * this.barPeriodGap;
363
363
  return {
364
- yOffset: this.checkNaN(b),
364
+ yOffset: this.checkNaN(F),
365
365
  individualHeight: this.checkNaN(C),
366
366
  x: this.checkNaN(L),
367
- y: this.drawingArea.bottom - b - C * y,
367
+ y: this.drawingArea.bottom - F - C * x,
368
368
  value: r.absoluteValues[M],
369
369
  zeroPosition: this.checkNaN(T),
370
370
  individualMax: this.checkNaN(p),
371
371
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
372
372
  };
373
- }), n = r.absoluteValues.map((N) => _.min >= 0 ? (N - Math.abs(_.min)) / (_.max - Math.abs(_.min)) : (N + Math.abs(_.min)) / (_.max + Math.abs(_.min))), f = r.series.map((N, M) => {
374
- const y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * l + this.slot.bar * M * this.absoluteDataset.filter((L) => L.type === "bar").filter((L) => !this.segregatedSeries.includes(L.id)).length;
373
+ }), n = r.absoluteValues.map((N) => A.min >= 0 ? (N - Math.abs(A.min)) / (A.max - Math.abs(A.min)) : (N + Math.abs(A.min)) / (A.max + Math.abs(A.min))), f = r.series.map((N, M) => {
374
+ const x = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * l + this.slot.bar * M * this.absoluteDataset.filter((L) => L.type === "bar").filter((L) => !this.segregatedSeries.includes(L.id)).length;
375
375
  return {
376
- yOffset: this.checkNaN(b),
376
+ yOffset: this.checkNaN(F),
377
377
  individualHeight: this.checkNaN(C),
378
- x: this.checkNaN(y),
379
- y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(b) - (this.checkNaN(C) * n[M] || 0)),
378
+ x: this.checkNaN(x),
379
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * n[M] || 0)),
380
380
  value: r.absoluteValues[M],
381
381
  zeroPosition: this.checkNaN(T),
382
382
  individualMax: this.checkNaN(p),
383
383
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
384
384
  };
385
- }), A = I.ticks.map((N) => ({
385
+ }), y = I.ticks.map((N) => ({
386
386
  y: N >= 0 ? T - C * (N / p) : T + C * Math.abs(N) / p,
387
387
  value: N,
388
388
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
389
389
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
390
390
  datapoint: r
391
- })), z = _.ticks.map((N) => {
392
- const M = (N - _.min) / (_.max - _.min);
391
+ })), z = A.ticks.map((N) => {
392
+ const M = (N - A.min) / (A.max - A.min);
393
393
  return {
394
394
  y: N >= 0 ? V - C * M : V + C * M,
395
395
  value: N,
@@ -400,11 +400,11 @@ const Ze = K(), Je = {
400
400
  });
401
401
  return {
402
402
  ...r,
403
- yOffset: b,
403
+ yOffset: F,
404
404
  autoScaleYLabels: z,
405
405
  individualHeight: C,
406
- scaleYLabels: r.autoScaling ? z : A,
407
- individualScale: r.autoScaling ? _ : I,
406
+ scaleYLabels: r.autoScaling ? z : y,
407
+ individualScale: r.autoScaling ? A : I,
408
408
  individualMax: r.autoScaling ? v : p,
409
409
  zeroPosition: r.autoScaling ? V : T,
410
410
  plots: r.autoScaling ? f : h
@@ -420,43 +420,43 @@ const Ze = K(), Je = {
420
420
  lineSet() {
421
421
  return this.activeSeriesWithStackRatios.filter((r) => r.type === "line").map((r) => {
422
422
  this.checkAutoScaleError(r);
423
- const l = Math.min(...r.absoluteValues.filter((y) => ![void 0, null].includes(y))), o = Math.max(...r.absoluteValues.filter((y) => ![void 0, null].includes(y))) || 1;
424
- r.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - l) / (o - l));
423
+ const l = Math.min(...r.absoluteValues.filter((x) => ![void 0, null].includes(x))), o = Math.max(...r.absoluteValues.filter((x) => ![void 0, null].includes(x))) || 1;
424
+ r.absoluteValues.filter((x) => ![null, void 0].includes(x)).map((x) => (x - l) / (o - l));
425
425
  const d = {
426
426
  valueMin: l,
427
427
  valueMax: o
428
428
  }, t = {
429
429
  max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
430
430
  min: r.scaleMin || (Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues))
431
- }, e = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, F = 1.0000001, x = this.calculateNiceScaleWithExactExtremes(t.min, t.max === t.min ? t.max * F : t.max, e), I = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * F : d.valueMax, e), _ = x.min >= 0 ? 0 : Math.abs(x.min), O = 0, G = x.max + Math.abs(_), p = I.max + Math.abs(O), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - v - b * _ / G, T = this.drawingArea.bottom - v - b * O / p, V = r.series.map((y, L) => {
432
- const Q = this.mutableConfig.useIndividualScale ? (r.absoluteValues[L] + Math.abs(_)) / G : this.ratioToMax(y);
431
+ }, e = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, b = this.calculateNiceScaleWithExactExtremes(t.min, t.max === t.min ? t.max * _ : t.max, e), I = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), A = b.min >= 0 ? 0 : Math.abs(b.min), O = 0, G = b.max + Math.abs(A), p = I.max + Math.abs(O), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - v - F * A / G, T = this.drawingArea.bottom - v - F * O / p, V = r.series.map((x, L) => {
432
+ const Q = this.mutableConfig.useIndividualScale ? (r.absoluteValues[L] + Math.abs(A)) / G : this.ratioToMax(x);
433
433
  return {
434
434
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
435
- y: this.checkNaN(this.drawingArea.bottom - v - b * Q),
435
+ y: this.checkNaN(this.drawingArea.bottom - v - F * Q),
436
436
  value: r.absoluteValues[L],
437
437
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
438
438
  };
439
- }), i = r.absoluteValues.map((y) => I.min >= 0 ? (y - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (y + Math.abs(I.min)) / (I.max + Math.abs(I.min))), h = r.series.map((y, L) => [void 0, null].includes(r.absoluteValues[L]) ? {
439
+ }), i = r.absoluteValues.map((x) => I.min >= 0 ? (x - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (x + Math.abs(I.min)) / (I.max + Math.abs(I.min))), h = r.series.map((x, L) => [void 0, null].includes(r.absoluteValues[L]) ? {
440
440
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
441
441
  y: C,
442
442
  value: r.absoluteValues[L],
443
443
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
444
444
  } : {
445
445
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
446
- y: this.checkNaN(this.drawingArea.bottom - v - (b * i[L] || 0)),
446
+ y: this.checkNaN(this.drawingArea.bottom - v - (F * i[L] || 0)),
447
447
  value: r.absoluteValues[L],
448
448
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
449
- }), n = this.createSmoothPath(V), f = this.createSmoothPath(h), A = this.createStraightPath(V), z = this.createStraightPath(h), N = x.ticks.map((y) => ({
450
- y: y >= 0 ? C - b * (y / G) : C + b * Math.abs(y) / G,
451
- value: y,
449
+ }), n = this.createSmoothPath(V.filter((x) => x.value !== null)), f = this.createSmoothPath(h.filter((x) => x.value !== null)), y = this.createStraightPath(V.filter((x) => x.value !== null)), z = this.createStraightPath(h.filter((x) => x.value !== null)), N = b.ticks.map((x) => ({
450
+ y: x >= 0 ? C - F * (x / G) : C + F * Math.abs(x) / G,
451
+ value: x,
452
452
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
453
453
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
454
454
  datapoint: r
455
- })), M = I.ticks.map((y) => {
456
- const L = (y - I.min) / (I.max - I.min);
455
+ })), M = I.ticks.map((x) => {
456
+ const L = (x - I.min) / (I.max - I.min);
457
457
  return {
458
- y: y >= 0 ? T - b * L : T + b * L,
459
- value: y,
458
+ y: x >= 0 ? T - F * L : T + F * L,
459
+ value: x,
460
460
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
461
461
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
462
462
  datapoint: r
@@ -466,53 +466,53 @@ const Ze = K(), Je = {
466
466
  ...r,
467
467
  yOffset: v,
468
468
  autoScaleYLabels: M,
469
- individualHeight: b,
469
+ individualHeight: F,
470
470
  scaleYLabels: r.autoScaling ? M : N,
471
- individualScale: r.autoScaling ? I : x,
471
+ individualScale: r.autoScaling ? I : b,
472
472
  individualMax: r.autoScaling ? p : G,
473
473
  zeroPosition: r.autoScaling ? T : C,
474
474
  curve: r.autoScaling ? f : n,
475
475
  plots: r.autoScaling ? h : V,
476
476
  area: r.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(r.autoScaling ? h : V, r.autoScaling ? T : C) : this.createArea(V) : "",
477
- straight: r.autoScaling ? z : A
477
+ straight: r.autoScaling ? z : y
478
478
  };
479
479
  });
480
480
  },
481
481
  plotSet() {
482
482
  return this.activeSeriesWithStackRatios.filter((r) => r.type === "plot").map((r) => {
483
483
  this.checkAutoScaleError(r);
484
- const l = Math.min(...r.absoluteValues.filter((A) => ![null, void 0].includes(A))), o = Math.max(...r.absoluteValues.filter((A) => ![null, void 0].includes(A))) || 1;
485
- r.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - l) / (o - l));
484
+ const l = Math.min(...r.absoluteValues.filter((y) => ![null, void 0].includes(y))), o = Math.max(...r.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1;
485
+ r.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - l) / (o - l));
486
486
  const d = {
487
487
  valueMin: l,
488
488
  valueMax: o
489
489
  }, t = {
490
490
  max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
491
491
  min: r.scaleMin || Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues)
492
- }, e = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, F = 1.0000001, x = this.calculateNiceScaleWithExactExtremes(t.min, t.max === t.min ? t.max * F : t.max, e), I = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * F : d.valueMax, e), _ = x.min >= 0 ? 0 : Math.abs(x.min), O = 0, G = x.max + _, p = I.max + Math.abs(O), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - v - b * _ / G, T = this.drawingArea.bottom - v - b * O / p, V = r.series.map((A, z) => {
493
- const N = this.mutableConfig.useIndividualScale ? (r.absoluteValues[z] + Math.abs(_)) / G : this.ratioToMax(A);
492
+ }, e = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, b = this.calculateNiceScaleWithExactExtremes(t.min, t.max === t.min ? t.max * _ : t.max, e), I = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), A = b.min >= 0 ? 0 : Math.abs(b.min), O = 0, G = b.max + A, p = I.max + Math.abs(O), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - v - F * A / G, T = this.drawingArea.bottom - v - F * O / p, V = r.series.map((y, z) => {
493
+ const N = this.mutableConfig.useIndividualScale ? (r.absoluteValues[z] + Math.abs(A)) / G : this.ratioToMax(y);
494
494
  return {
495
495
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * z),
496
- y: this.checkNaN(this.drawingArea.bottom - v - b * N),
496
+ y: this.checkNaN(this.drawingArea.bottom - v - F * N),
497
497
  value: r.absoluteValues[z],
498
498
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
499
499
  };
500
- }), i = r.absoluteValues.map((A) => I.min >= 0 ? (A - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (A + Math.abs(I.min)) / (I.max + Math.abs(I.min))), h = r.series.map((A, z) => ({
500
+ }), i = r.absoluteValues.map((y) => I.min >= 0 ? (y - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (y + Math.abs(I.min)) / (I.max + Math.abs(I.min))), h = r.series.map((y, z) => ({
501
501
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * z),
502
- y: this.checkNaN(this.drawingArea.bottom - v - (b * i[z] || 0)),
502
+ y: this.checkNaN(this.drawingArea.bottom - v - (F * i[z] || 0)),
503
503
  value: r.absoluteValues[z],
504
504
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
505
- })), n = x.ticks.map((A) => ({
506
- y: A >= 0 ? C - b * (A / G) : C + b * Math.abs(A) / G,
507
- value: A,
505
+ })), n = b.ticks.map((y) => ({
506
+ y: y >= 0 ? C - F * (y / G) : C + F * Math.abs(y) / G,
507
+ value: y,
508
508
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
509
509
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
510
510
  datapoint: r
511
- })), f = I.ticks.map((A) => {
512
- const z = (A - I.min) / (I.max - I.min);
511
+ })), f = I.ticks.map((y) => {
512
+ const z = (y - I.min) / (I.max - I.min);
513
513
  return {
514
- y: A >= 0 ? T - b * z : T + b * z,
515
- value: A,
514
+ y: y >= 0 ? T - F * z : T + F * z,
515
+ value: y,
516
516
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
517
517
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
518
518
  datapoint: r
@@ -522,9 +522,9 @@ const Ze = K(), Je = {
522
522
  ...r,
523
523
  yOffset: v,
524
524
  autoScaleYLabels: f,
525
- individualHeight: b,
525
+ individualHeight: F,
526
526
  scaleYLabels: r.autoScaling ? f : n,
527
- individualScale: r.autoScaling ? I : x,
527
+ individualScale: r.autoScaling ? I : b,
528
528
  individualMax: r.autoScaling ? p : G,
529
529
  zeroPosition: r.autoScaling ? T : C,
530
530
  plots: r.autoScaling ? h : V
@@ -603,22 +603,22 @@ const Ze = K(), Je = {
603
603
  r && (l = l.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
604
604
  let o = [];
605
605
  for (let e = 0; e < this.maxSeries; e += 1) {
606
- const F = this.relativeDataset.map((x) => x.absoluteValues[e] ?? 0).reduce((x, I) => x + I, 0);
606
+ const _ = this.relativeDataset.map((b) => b.absoluteValues[e] ?? 0).reduce((b, I) => b + I, 0);
607
607
  o.push(
608
608
  [
609
609
  this.timeLabels[e].text ?? "-"
610
610
  ].concat(this.relativeDataset.map(
611
- (x) => this.applyDataLabel(
612
- x.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : x.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
613
- x.absoluteValues[e] ?? 0,
611
+ (b) => this.applyDataLabel(
612
+ b.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : b.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
613
+ b.absoluteValues[e] ?? 0,
614
614
  this.dataLabel({
615
- p: x.prefix || this.FINAL_CONFIG.chart.labels.prefix,
616
- v: x.absoluteValues[e] ?? 0,
617
- s: x.suffix || this.FINAL_CONFIG.chart.labels.suffix,
615
+ p: b.prefix || this.FINAL_CONFIG.chart.labels.prefix,
616
+ v: b.absoluteValues[e] ?? 0,
617
+ s: b.suffix || this.FINAL_CONFIG.chart.labels.suffix,
618
618
  r: this.FINAL_CONFIG.table.rounding
619
619
  })
620
620
  )
621
- )).concat(r ? (F ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
621
+ )).concat(r ? (_ ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
622
622
  );
623
623
  }
624
624
  const d = {
@@ -681,13 +681,13 @@ const Ze = K(), Je = {
681
681
  config: this.FINAL_CONFIG
682
682
  }) : (o && o.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o.text}</div>`), this.selectedSeries.forEach((t) => {
683
683
  if (this.isSafeValue(t.value)) {
684
- let e = "", F = "";
684
+ let e = "", _ = "";
685
685
  switch (this.icons[t.type]) {
686
686
  case "bar":
687
687
  e = `<svg viewBox="0 0 40 40" height="14" width="14">${this.$slots.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${t.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
688
688
  break;
689
689
  case "line":
690
- !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? F = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? F = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? F = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? F = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? F = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? F = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (F = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${F}</svg>`;
690
+ !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? _ = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (_ = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${_}</svg>`;
691
691
  break;
692
692
  case "plot":
693
693
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -870,17 +870,17 @@ const Ze = K(), Je = {
870
870
  const l = this.$refs.chart.parentNode, { height: o, width: d } = l.getBoundingClientRect();
871
871
  let t = null, e = 0;
872
872
  this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
873
- let F = null, x = 0;
874
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (F = this.$refs.chartSlicer.$el, x = F.getBoundingClientRect().height);
875
- let I = null, _ = 0;
876
- this.FINAL_CONFIG.chart.legend.show && (I = this.$refs.chartLegend, _ = I.getBoundingClientRect().height);
873
+ let _ = null, b = 0;
874
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (_ = this.$refs.chartSlicer.$el, b = _.getBoundingClientRect().height);
875
+ let I = null, A = 0;
876
+ this.FINAL_CONFIG.chart.legend.show && (I = this.$refs.chartLegend, A = I.getBoundingClientRect().height);
877
877
  let O = 0;
878
878
  this.$refs.source && (O = this.$refs.source.getBoundingClientRect().height);
879
879
  let G = 0;
880
- this.$refs.noTitle && (G = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - _ - x - O - G, this.width = d, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((v) => {
881
- for (const b of v)
882
- this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (x = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (_ = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (O = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
883
- this.height = b.contentBoxSize[0].blockSize - e - _ - x - O - 24, this.width = b.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
880
+ this.$refs.noTitle && (G = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - A - b - O - G, this.width = d, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((v) => {
881
+ for (const F of v)
882
+ this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (b = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (A = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (O = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
883
+ this.height = F.contentBoxSize[0].blockSize - e - A - b - O - 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();
884
884
  });
885
885
  }).observe(l);
886
886
  } else
@@ -1134,7 +1134,7 @@ const Ze = K(), Je = {
1134
1134
  "data-html2canvas-ignore": ""
1135
1135
  }, ei = ["innerHTML"];
1136
1136
  function ti(r, l, o, d, t, e) {
1137
- const F = R("PenAndPaper"), x = R("Title"), I = R("UserOptions"), _ = R("PackageVersion"), O = R("Shape"), G = R("Skeleton"), p = R("Slicer"), v = R("Tooltip"), b = R("BaseIcon"), C = R("TableSparkline"), T = R("DataTable"), V = R("Accordion");
1137
+ const _ = R("PenAndPaper"), b = R("Title"), I = R("UserOptions"), A = R("PackageVersion"), O = R("Shape"), G = R("Skeleton"), p = R("Slicer"), v = R("Tooltip"), F = R("BaseIcon"), C = R("TableSparkline"), T = R("DataTable"), V = R("Accordion");
1138
1138
  return a(), s("div", {
1139
1139
  id: `vue-ui-xy_${t.uniqueId}`,
1140
1140
  class: B(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -1143,7 +1143,7 @@ function ti(r, l, o, d, t, e) {
1143
1143
  onMouseenter: l[7] || (l[7] = () => e.setUserOptionsVisibility(!0)),
1144
1144
  onMouseleave: l[8] || (l[8] = () => e.setUserOptionsVisibility(!1))
1145
1145
  }, [
1146
- e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), H(F, {
1146
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), H(_, {
1147
1147
  key: 0,
1148
1148
  parent: r.$refs.chart,
1149
1149
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1158,7 +1158,7 @@ function ti(r, l, o, d, t, e) {
1158
1158
  class: "vue-ui-xy-title",
1159
1159
  style: w(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1160
1160
  }, [
1161
- (a(), H(x, {
1161
+ (a(), H(b, {
1162
1162
  key: `title_${t.titleStep}`,
1163
1163
  config: {
1164
1164
  title: {
@@ -1281,7 +1281,7 @@ function ti(r, l, o, d, t, e) {
1281
1281
  viewBox: t.viewBox,
1282
1282
  style: w(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1283
1283
  }, [
1284
- Y(_),
1284
+ Y(A),
1285
1285
  r.$slots["chart-background"] ? (a(), s("foreignObject", {
1286
1286
  key: 0,
1287
1287
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
@@ -2430,7 +2430,7 @@ function ti(r, l, o, d, t, e) {
2430
2430
  onClick: l[5] || (l[5] = (i) => t.showSparklineTable = !t.showSparklineTable),
2431
2431
  style: { cursor: "pointer" }
2432
2432
  }, [
2433
- Y(b, {
2433
+ Y(F, {
2434
2434
  name: "chartLine",
2435
2435
  size: 20,
2436
2436
  stroke: e.FINAL_CONFIG.chart.color
@@ -2469,7 +2469,7 @@ function ti(r, l, o, d, t, e) {
2469
2469
  }, 8, ["config"])) : c("", !0)
2470
2470
  ], 46, Ke);
2471
2471
  }
2472
- const xi = /* @__PURE__ */ Ue(Je, [["render", ti], ["__scopeId", "data-v-2ea54cd5"]]);
2472
+ const xi = /* @__PURE__ */ Ue(Je, [["render", ti], ["__scopeId", "data-v-25439b06"]]);
2473
2473
  export {
2474
2474
  xi as default
2475
2475
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-Dla35rDR.cjs"),d=require("./useResponsive-BJ7DTGpm.cjs"),ot=require("./Tooltip-DwioWtpe.cjs"),rt=require("./Legend-BvLLHGBp.cjs"),nt=require("./Title-DDaORN3r.cjs"),ut=require("./Slicer-5eB08Bkj.cjs"),Re=require("./usePrinter-cQwX-nf0.cjs"),st=require("./vue-ui-accordion-DcbFZ2D3.cjs"),it=require("./DataTable-BLEXsQBY.cjs"),ct=require("./vue-ui-skeleton-BIuKWqj2.cjs"),Ee=require("./useNestedProp-onENMM4v.cjs"),vt=require("./PenAndPaper-C2r4IIot.cjs"),dt=require("./useUserOptionState-BgepsfED.cjs"),ht=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ft=["id"],yt=["onClick"],gt={key:2,class:"vue-data-ui-watermark"},pt=["innerHTML"],mt={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(oe,{expose:Ne,emit:Be}){const{vue_ui_xy_canvas:De}=u.useConfig(),p=oe,Z=l.ref(u.createUid()),B=l.ref(null),w=l.ref(null),D=l.ref(null),c=l.ref(null),g=l.ref(1),T=l.ref(1),H=l.ref(!1),f=l.ref(null),V=l.ref(""),re=l.ref(null),L=l.ref([]),R=l.ref(1),M=l.ref(!0),S=l.ref(!0),G=l.ref(null),ne=l.ref(0),ue=l.ref(0),U=l.ref(!1),se=l.ref(null),ie=l.ref(null),ce=l.ref(null),ve=l.ref(null),j=l.ref(0),J=l.ref(0),K=l.ref(0),Q=l.computed(()=>!!p.dataset&&p.dataset.length),Fe=Be,Ae=l.useSlots();l.onMounted(()=>{Ae["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>fe(),set:e=>e}),{userOptionsVisible:ee,setUserOptionsVisibility:de,keepUserOptionState:he}=dt.useUserOptionState({config:t.value});function fe(){const e=Ee.useNestedProp({userConfig:p.config,defaultConfig:De});let a={};return e.theme?a={...Ee.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||p.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:a=e,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.min")?a.style.chart.scale.min=p.config.style.chart.scale.min:a.style.chart.scale.min=null,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.max")?a.style.chart.scale.max=p.config.style.chart.scale.max:a.style.chart.scale.max=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.startIndex")?a.style.chart.zoom.startIndex=p.config.style.chart.zoom.startIndex:a.style.chart.zoom.startIndex=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.endIndex")?a.style.chart.zoom.endIndex=p.config.style.chart.zoom.endIndex:a.style.chart.zoom.endIndex=null,a}l.watch(()=>p.config,e=>{t.value=fe(),ee.value=!t.value.userOptions.showOnChartHover,le(),j.value+=1,J.value+=1,K.value+=1,s.value.showTable=t.value.table.show,s.value.showDataLabels=t.value.style.chart.dataLabels.show,s.value.stacked=t.value.style.chart.stacked,s.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0}),l.watch(()=>p.dataset,()=>{le(),j.value+=1,J.value+=1,K.value+=1},{deep:!0});const ye=l.ref(t.value.style.chart.aspectRatio),{isPrinting:ge,isImaging:pe,generatePdf:me,generateImage:be}=Re.usePrinter({elementId:`xy_canvas_${Z.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),s=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function He(e){U.value=e,ue.value+=1}const xe=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),C=l.computed(()=>E.value?Math.max(...E.value.filter((e,a)=>!L.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),o=l.computed(()=>{const e=g.value-g.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:g.value,canvasHeight:T.value,left:g.value*t.value.style.chart.paddingProportions.left,top:T.value*t.value.style.chart.paddingProportions.top,right:g.value-g.value*t.value.style.chart.paddingProportions.right,bottom:T.value-T.value*t.value.style.chart.paddingProportions.bottom,width:e,height:T.value-T.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function ke(e,a){return e/a}function Ve({hasAutoScale:e,series:a,min:r,max:h,scale:v,yOffset:x,individualHeight:i,stackIndex:k=null}){return a.map((z,I)=>{const P=v.min<0?Math.abs(v.min):0,O=ke(z+P,P+v.max);let F,A;e&&(F=Math.abs(v.min),A=ke(z+F,v.max+F));let $=0;return k===null?$=o.value.bottom-o.value.height*(e?A:O):$=o.value.bottom-x-i*(e?A:O),{x:o.value.left+o.value.slot*I+o.value.slot/2,y:$,value:z}})}const m=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...E.value.filter((i,k)=>!L.value.includes(i.absoluteIndex)).flatMap(i=>i.series.slice(n.value.start,n.value.end))),a=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...E.value.filter((i,k)=>!L.value.includes(i.absoluteIndex)).flatMap(i=>i.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,a===e?e+1<0?0:e+1:a<0?0:a,t.value.style.chart.scale.ticks),h=r.min<0?Math.abs(r.min):0,v=o.value.bottom-o.value.height*(h/(r.max+h)),x=r.ticks.map(i=>({y:o.value.bottom-o.value.height*((i+h)/(r.max+h)),x:o.value.left-8,value:i}));return{absoluteMin:h,max:a,min:e,scale:r,yLabels:x,zero:v}}),Ue=l.computed(()=>y.value.map(e=>`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-Bmq5HB9y.cjs"),d=require("./useResponsive-BJ7DTGpm.cjs"),ot=require("./Tooltip-pA64woiQ.cjs"),rt=require("./Legend-Bf8J9KZk.cjs"),nt=require("./Title-x7Hmi2zb.cjs"),ut=require("./Slicer-Vzo3baUi.cjs"),Re=require("./usePrinter-Cf6Zct5m.cjs"),st=require("./vue-ui-accordion-WWblnzaJ.cjs"),it=require("./DataTable-Cybmjq2W.cjs"),ct=require("./vue-ui-skeleton-D5890icn.cjs"),Ee=require("./useNestedProp-CivZENAh.cjs"),vt=require("./PenAndPaper-B7dv_ssy.cjs"),dt=require("./useUserOptionState-BgepsfED.cjs"),ht=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ft=["id"],yt=["onClick"],gt={key:2,class:"vue-data-ui-watermark"},pt=["innerHTML"],mt={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(oe,{expose:Ne,emit:Be}){const{vue_ui_xy_canvas:De}=u.useConfig(),p=oe,Z=l.ref(u.createUid()),B=l.ref(null),w=l.ref(null),D=l.ref(null),c=l.ref(null),g=l.ref(1),T=l.ref(1),H=l.ref(!1),f=l.ref(null),V=l.ref(""),re=l.ref(null),L=l.ref([]),R=l.ref(1),M=l.ref(!0),S=l.ref(!0),G=l.ref(null),ne=l.ref(0),ue=l.ref(0),U=l.ref(!1),se=l.ref(null),ie=l.ref(null),ce=l.ref(null),ve=l.ref(null),j=l.ref(0),J=l.ref(0),K=l.ref(0),Q=l.computed(()=>!!p.dataset&&p.dataset.length),Fe=Be,Ae=l.useSlots();l.onMounted(()=>{Ae["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>fe(),set:e=>e}),{userOptionsVisible:ee,setUserOptionsVisibility:de,keepUserOptionState:he}=dt.useUserOptionState({config:t.value});function fe(){const e=Ee.useNestedProp({userConfig:p.config,defaultConfig:De});let a={};return e.theme?a={...Ee.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||p.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:a=e,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.min")?a.style.chart.scale.min=p.config.style.chart.scale.min:a.style.chart.scale.min=null,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.max")?a.style.chart.scale.max=p.config.style.chart.scale.max:a.style.chart.scale.max=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.startIndex")?a.style.chart.zoom.startIndex=p.config.style.chart.zoom.startIndex:a.style.chart.zoom.startIndex=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.endIndex")?a.style.chart.zoom.endIndex=p.config.style.chart.zoom.endIndex:a.style.chart.zoom.endIndex=null,a}l.watch(()=>p.config,e=>{t.value=fe(),ee.value=!t.value.userOptions.showOnChartHover,le(),j.value+=1,J.value+=1,K.value+=1,s.value.showTable=t.value.table.show,s.value.showDataLabels=t.value.style.chart.dataLabels.show,s.value.stacked=t.value.style.chart.stacked,s.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0}),l.watch(()=>p.dataset,()=>{le(),j.value+=1,J.value+=1,K.value+=1},{deep:!0});const ye=l.ref(t.value.style.chart.aspectRatio),{isPrinting:ge,isImaging:pe,generatePdf:me,generateImage:be}=Re.usePrinter({elementId:`xy_canvas_${Z.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),s=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function He(e){U.value=e,ue.value+=1}const xe=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),C=l.computed(()=>E.value?Math.max(...E.value.filter((e,a)=>!L.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),o=l.computed(()=>{const e=g.value-g.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:g.value,canvasHeight:T.value,left:g.value*t.value.style.chart.paddingProportions.left,top:T.value*t.value.style.chart.paddingProportions.top,right:g.value-g.value*t.value.style.chart.paddingProportions.right,bottom:T.value-T.value*t.value.style.chart.paddingProportions.bottom,width:e,height:T.value-T.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function ke(e,a){return e/a}function Ve({hasAutoScale:e,series:a,min:r,max:h,scale:v,yOffset:x,individualHeight:i,stackIndex:k=null}){return a.map((z,I)=>{const P=v.min<0?Math.abs(v.min):0,O=ke(z+P,P+v.max);let F,A;e&&(F=Math.abs(v.min),A=ke(z+F,v.max+F));let $=0;return k===null?$=o.value.bottom-o.value.height*(e?A:O):$=o.value.bottom-x-i*(e?A:O),{x:o.value.left+o.value.slot*I+o.value.slot/2,y:$,value:z}})}const m=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...E.value.filter((i,k)=>!L.value.includes(i.absoluteIndex)).flatMap(i=>i.series.slice(n.value.start,n.value.end))),a=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...E.value.filter((i,k)=>!L.value.includes(i.absoluteIndex)).flatMap(i=>i.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,a===e?e+1<0?0:e+1:a<0?0:a,t.value.style.chart.scale.ticks),h=r.min<0?Math.abs(r.min):0,v=o.value.bottom-o.value.height*(h/(r.max+h)),x=r.ticks.map(i=>({y:o.value.bottom-o.value.height*((i+h)/(r.max+h)),x:o.value.left-8,value:i}));return{absoluteMin:h,max:a,min:e,scale:r,yLabels:x,zero:v}}),Ue=l.computed(()=>y.value.map(e=>`
2
2
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
3
3
  <svg viewBox="0 0 10 10" height="12" width="12">
4
4
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
@@ -1,16 +1,16 @@
1
1
  import { ref as v, computed as m, useSlots as Ma, onMounted as ea, watch as H, nextTick as ce, onBeforeUnmount as Oa, createElementBlock as K, openBlock as w, unref as z, normalizeClass as Pa, normalizeStyle as Y, createCommentVNode as _, createBlock as E, createElementVNode as Q, createSlots as Ra, withCtx as p, renderSlot as b, normalizeProps as V, guardReactiveProps as Z, createVNode as Fa, toDisplayString as aa, createTextVNode as Ea } from "vue";
2
- import { u as Da, c as Aa, t as Na, p as U, a as Ha, C as de, b as _a, D as Ce, i as ee, f as ae, d as la, _ as Ua, J as Wa, a9 as Xa, o as Ba, e as Ya, x as ta, q as Va, r as Za, y as Ga, s as le, l as ja } from "./index-DaaDBRRF.js";
2
+ import { u as Da, c as Aa, t as Na, p as U, a as Ha, C as de, b as _a, D as Ce, i as ee, f as ae, d as la, _ as Ua, J as Wa, a9 as Xa, o as Ba, e as Ya, x as ta, q as Va, r as Za, y as Ga, s as le, l as ja } from "./index-B8uVRkA1.js";
3
3
  import { d as qa, t as Ja, u as Ka, c as Qa, a as oa, l as x, r as we, b as D, p as ra } from "./useResponsive-CoxXLe23.js";
4
- import { _ as el } from "./Tooltip-95WjskR9.js";
5
- import { L as al } from "./Legend-D8BbMFRZ.js";
6
- import { _ as ll } from "./Title-ag6gXJcz.js";
7
- import { S as tl } from "./Slicer-BTtwLXWn.js";
8
- import { u as ol, U as rl } from "./usePrinter-DUVTMVcK.js";
9
- import ul from "./vue-ui-accordion-BJBt7sbb.js";
10
- import { D as sl } from "./DataTable-DGgj14m-.js";
11
- import nl from "./vue-ui-skeleton-Ce7b04xD.js";
12
- import { u as ua } from "./useNestedProp-ReVcQys2.js";
13
- import { P as il } from "./PenAndPaper-CQfs_lTN.js";
4
+ import { _ as el } from "./Tooltip-BUMgVEu0.js";
5
+ import { L as al } from "./Legend-du4CJMG1.js";
6
+ import { _ as ll } from "./Title-MKfkLka7.js";
7
+ import { S as tl } from "./Slicer-DKXIt2om.js";
8
+ import { u as ol, U as rl } from "./usePrinter-CppD6oY_.js";
9
+ import ul from "./vue-ui-accordion-CE2Pnpz3.js";
10
+ import { D as sl } from "./DataTable-BWABkdIL.js";
11
+ import nl from "./vue-ui-skeleton-BC7kQhlE.js";
12
+ import { u as ua } from "./useNestedProp-kStEZqtl.js";
13
+ import { P as il } from "./PenAndPaper-QsaleY3R.js";
14
14
  import { u as vl } from "./useUserOptionState-BIvW1Kz7.js";
15
15
  import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const dl = ["id"], hl = ["onClick"], yl = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "2.6.1",
4
+ "version": "2.6.2",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [