vue-data-ui 2.4.41 → 2.4.42

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 (165) hide show
  1. package/dist/{Arrow-6z0ZQva_.js → Arrow-DE71uBJZ.js} +1 -1
  2. package/dist/{Arrow-Cht76m69.cjs → Arrow-DTscDttD.cjs} +1 -1
  3. package/dist/{BaseIcon-DCE3wRiG.js → BaseIcon-C8XxmpRq.js} +1 -1
  4. package/dist/{BaseIcon-D-JUZiGA.cjs → BaseIcon-COOfxsl_.cjs} +1 -1
  5. package/dist/{DataTable-Cr3Xkxe4.cjs → DataTable-DEdQvqB1.cjs} +1 -1
  6. package/dist/{DataTable-B5DiCrf_.js → DataTable-D_w08xos.js} +2 -2
  7. package/dist/{Legend-DzxQIjDO.js → Legend-BWDoQii_.js} +1 -1
  8. package/dist/{Legend-BXG_XPom.cjs → Legend-C4rlR-Ge.cjs} +1 -1
  9. package/dist/{PackageVersion-S7OD_s5u.js → PackageVersion-CH6MCx6T.js} +1 -1
  10. package/dist/{PackageVersion-CMtZxTqq.cjs → PackageVersion-DKyD7D76.cjs} +1 -1
  11. package/dist/{PenAndPaper-BxJZd7k9.js → PenAndPaper-BWTR3U2d.js} +3 -3
  12. package/dist/{PenAndPaper-DWYhyZye.cjs → PenAndPaper-Dc2zn4C0.cjs} +1 -1
  13. package/dist/{Shape-CvL90fNe.cjs → Shape-BLS-KzBD.cjs} +1 -1
  14. package/dist/{Shape-C3ywBhkW.js → Shape-xrlfL_v4.js} +1 -1
  15. package/dist/Slicer-8gKX0l4Q.cjs +1 -0
  16. package/dist/Slicer-DIYseEL1.js +423 -0
  17. package/dist/{Title-D9gPXVTT.cjs → Title-B-xkTfi8.cjs} +1 -1
  18. package/dist/{Title-BB0O0yol.js → Title-Cnl9ySNH.js} +1 -1
  19. package/dist/Tooltip-Brbj6DqX.cjs +1 -0
  20. package/dist/{Tooltip-GvLaModr.js → Tooltip-DEAOBZ8h.js} +33 -25
  21. package/dist/index-B68kzBN9.cjs +9 -0
  22. package/dist/{index-B6Q1Fyk0.js → index-DnukYspq.js} +45 -41
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -0
  25. package/dist/types/vue-data-ui.d.ts +4 -0
  26. package/dist/{useNestedProp-DQpuJSz3.js → useNestedProp-CVOQGx-X.js} +1 -1
  27. package/dist/{useNestedProp-bZitLnbb.cjs → useNestedProp-es9bVqY_.cjs} +1 -1
  28. package/dist/{usePrinter-DtpFEgOX.cjs → usePrinter-C9yUesCc.cjs} +1 -1
  29. package/dist/{usePrinter-D8dIU7aG.js → usePrinter-DVIALk5e.js} +1 -1
  30. package/dist/{vue-data-ui-H24TWcBx.js → vue-data-ui-BmmjmNbb.js} +60 -60
  31. package/dist/{vue-data-ui-DBN7iJHU.cjs → vue-data-ui-LA94HAVo.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +3 -3
  34. package/dist/{vue-ui-3d-bar-BA2CQYGW.js → vue-ui-3d-bar-CnVJAgFO.js} +9 -9
  35. package/dist/{vue-ui-3d-bar-BaNI_M3v.cjs → vue-ui-3d-bar-DYswbvC_.cjs} +1 -1
  36. package/dist/{vue-ui-accordion-u4xDSvRn.cjs → vue-ui-accordion-D_K9gNUR.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-BOHicozd.js → vue-ui-accordion-f9NTID9e.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-DN25tjv-.cjs → vue-ui-age-pyramid-Bj9K08ws.cjs} +1 -1
  39. package/dist/{vue-ui-age-pyramid-vKWko9vn.js → vue-ui-age-pyramid-CL0RB7mU.js} +42 -41
  40. package/dist/{vue-ui-annotator-D4KNucw5.js → vue-ui-annotator-C82vEb7R.js} +1 -1
  41. package/dist/{vue-ui-annotator-BcxUQ5tM.cjs → vue-ui-annotator-DhwUZ4WB.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-DZgtd_qb.js → vue-ui-bullet-BxYYiFnu.js} +15 -15
  43. package/dist/{vue-ui-bullet-C3DKTZbg.cjs → vue-ui-bullet-D6KC5yoe.cjs} +1 -1
  44. package/dist/vue-ui-candlestick-Duf3yfwR.js +740 -0
  45. package/dist/vue-ui-candlestick-lunuQ9Ka.cjs +2 -0
  46. package/dist/{vue-ui-carousel-table-C62szGjt.cjs → vue-ui-carousel-table-4z9ZACSk.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-Bpsrlbx9.js → vue-ui-carousel-table-DQymYeK0.js} +4 -4
  48. package/dist/{vue-ui-chestnut-DhPSNM96.js → vue-ui-chestnut-DDNLUSav.js} +8 -8
  49. package/dist/{vue-ui-chestnut-VWwSZnUX.cjs → vue-ui-chestnut-iRODkXaw.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-BM2OiZnZ.js → vue-ui-cursor-Bdud_Fxg.js} +2 -2
  51. package/dist/{vue-ui-cursor-BwnZYB4D.cjs → vue-ui-cursor-Bt_SieMc.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-D8FU1GbE.cjs → vue-ui-dashboard-BzRR9Ra7.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-BcnW7vDs.js → vue-ui-dashboard-CeVkJPeG.js} +2 -2
  54. package/dist/{vue-ui-digits-BmQBwho3.cjs → vue-ui-digits-DF3oLaaR.cjs} +1 -1
  55. package/dist/{vue-ui-digits-M4Pvrg0n.js → vue-ui-digits-DtNvb8lM.js} +2 -2
  56. package/dist/{vue-ui-donut-BgsQjURe.js → vue-ui-donut-C028OlzU.js} +99 -98
  57. package/dist/vue-ui-donut-evolution-2vQPsBFq.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CprYApXF.js +908 -0
  59. package/dist/{vue-ui-donut-CZZfvbPk.cjs → vue-ui-donut-o09QqVJO.cjs} +1 -1
  60. package/dist/{vue-ui-dumbbell-zv7yiPPM.js → vue-ui-dumbbell-BV2LN5qt.js} +10 -10
  61. package/dist/{vue-ui-dumbbell-CsMqgiGr.cjs → vue-ui-dumbbell-CS8pY-mj.cjs} +1 -1
  62. package/dist/{vue-ui-flow-BqtIWBkz.js → vue-ui-flow-QRimZUXT.js} +46 -46
  63. package/dist/{vue-ui-flow-E5MkZ3Yb.cjs → vue-ui-flow-iNWWhp7U.cjs} +1 -1
  64. package/dist/{vue-ui-funnel-QU0_JscL.cjs → vue-ui-funnel-BL8vtmsw.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-CmVLAttG.js → vue-ui-funnel-CBymVSdd.js} +19 -19
  66. package/dist/{vue-ui-galaxy-BPDH-9KW.cjs → vue-ui-galaxy-DSJrMBzj.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-sy8zvgcg.js → vue-ui-galaxy-KP3A9HVX.js} +53 -52
  68. package/dist/{vue-ui-gauge--hARSvgz.js → vue-ui-gauge-BuU0DDG0.js} +7 -7
  69. package/dist/{vue-ui-gauge-D_yokJMS.cjs → vue-ui-gauge-H9j8Dq5h.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-AUJq3EQL.cjs → vue-ui-gizmo-Bl9JoMk1.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-CvTeq5j0.js → vue-ui-gizmo-M7RalwJ6.js} +3 -3
  72. package/dist/{vue-ui-heatmap-D-xNLuqW.cjs → vue-ui-heatmap-BXWWh4iN.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-lI8oO-nh.js → vue-ui-heatmap-DSkfyl8j.js} +60 -59
  74. package/dist/{vue-ui-history-plot-BC0Rvo-r.cjs → vue-ui-history-plot-BUoUHKx6.cjs} +1 -1
  75. package/dist/{vue-ui-history-plot-D3CwJpll.js → vue-ui-history-plot-CYSDr-GH.js} +60 -59
  76. package/dist/{vue-ui-kpi-B4FQKZ_r.cjs → vue-ui-kpi-BXe7HQIh.cjs} +1 -1
  77. package/dist/{vue-ui-kpi-C0agq-Os.js → vue-ui-kpi-BvUaC7JA.js} +3 -3
  78. package/dist/{vue-ui-mini-loader-CkjJ5pRO.js → vue-ui-mini-loader-DM8ShcKo.js} +2 -2
  79. package/dist/{vue-ui-mini-loader-BJ70GAEv.cjs → vue-ui-mini-loader-zbjxzJTp.cjs} +1 -1
  80. package/dist/{vue-ui-molecule-CsQfkIEE.cjs → vue-ui-molecule-BdIRpOM9.cjs} +1 -1
  81. package/dist/{vue-ui-molecule-V9UFJHeV.js → vue-ui-molecule-CZi84tUl.js} +26 -25
  82. package/dist/{vue-ui-mood-radar-Cj_wOEbY.js → vue-ui-mood-radar-DDnbuNdv.js} +11 -11
  83. package/dist/{vue-ui-mood-radar-CdU2vusL.cjs → vue-ui-mood-radar-DipV_UPN.cjs} +1 -1
  84. package/dist/{vue-ui-nested-donuts-DFVQwbHg.js → vue-ui-nested-donuts-Chuuvtu-.js} +78 -77
  85. package/dist/{vue-ui-nested-donuts-DevV-xZr.cjs → vue-ui-nested-donuts-DuxVLzDH.cjs} +2 -2
  86. package/dist/{vue-ui-onion-BJ-PjA7d.js → vue-ui-onion-CIRGvycb.js} +49 -48
  87. package/dist/{vue-ui-onion-DGWktnME.cjs → vue-ui-onion-CvlwZgpu.cjs} +2 -2
  88. package/dist/{vue-ui-parallel-coordinate-plot-CjxZbVNa.cjs → vue-ui-parallel-coordinate-plot-eJMnJ_u2.cjs} +3 -3
  89. package/dist/{vue-ui-parallel-coordinate-plot-33naX1Ss.js → vue-ui-parallel-coordinate-plot-jv7L5_x8.js} +70 -69
  90. package/dist/{vue-ui-quadrant-xJaZzXgo.js → vue-ui-quadrant-CjjXU43-.js} +55 -54
  91. package/dist/{vue-ui-quadrant-DqZqBb2L.cjs → vue-ui-quadrant-ks_4yK85.cjs} +1 -1
  92. package/dist/{vue-ui-quick-chart-BwN9eLye.js → vue-ui-quick-chart-BAVQ2SJ2.js} +637 -622
  93. package/dist/vue-ui-quick-chart-Br2gTOPk.cjs +15 -0
  94. package/dist/{vue-ui-radar-B4EXwJDY.js → vue-ui-radar-CXXAYowO.js} +38 -37
  95. package/dist/{vue-ui-radar-CQ66YUG5.cjs → vue-ui-radar-kjh9y4cm.cjs} +1 -1
  96. package/dist/{vue-ui-rating-DNkygw1i.js → vue-ui-rating-DOqMciYJ.js} +2 -2
  97. package/dist/{vue-ui-rating-D334I4ju.cjs → vue-ui-rating-EEIqiBgY.cjs} +1 -1
  98. package/dist/{vue-ui-relation-circle-CP2Z6IWV.cjs → vue-ui-relation-circle-BEv568py.cjs} +1 -1
  99. package/dist/{vue-ui-relation-circle-BKeSh28h.js → vue-ui-relation-circle-CR3iWQV_.js} +19 -19
  100. package/dist/{vue-ui-rings-D6M3UNSE.js → vue-ui-rings-B--CFaNX.js} +49 -48
  101. package/dist/vue-ui-rings-CgvWaw5N.cjs +2 -0
  102. package/dist/{vue-ui-scatter-JUPbbsO7.js → vue-ui-scatter-C-RD4h73.js} +26 -25
  103. package/dist/{vue-ui-scatter-C9ZoWV1q.cjs → vue-ui-scatter-ChWlgb1L.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-DmLDHfF9.js → vue-ui-screenshot-C6-MOj7h.js} +1 -1
  105. package/dist/{vue-ui-screenshot-JMBX_AWn.cjs → vue-ui-screenshot-CtjCOun0.cjs} +1 -1
  106. package/dist/{vue-ui-skeleton-D7rg5vFC.js → vue-ui-skeleton-CXdyOF4T.js} +3 -3
  107. package/dist/{vue-ui-skeleton-E9_X0-sa.cjs → vue-ui-skeleton-DGCkWrND.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-aRTznf8z.cjs → vue-ui-smiley-AYBZK1EE.cjs} +1 -1
  109. package/dist/{vue-ui-smiley-BAlHZm8H.js → vue-ui-smiley-CHXnJeLu.js} +2 -2
  110. package/dist/{vue-ui-spark-trend-DZR6Fqu5.cjs → vue-ui-spark-trend-D2wIBOvT.cjs} +1 -1
  111. package/dist/{vue-ui-spark-trend-J9swikF_.js → vue-ui-spark-trend-DO5rDGRm.js} +5 -5
  112. package/dist/{vue-ui-sparkbar-Bjmi8pMf.cjs → vue-ui-sparkbar-COUcdDjn.cjs} +1 -1
  113. package/dist/{vue-ui-sparkbar-B0tCpwZ9.js → vue-ui-sparkbar-CU3UNgHm.js} +4 -4
  114. package/dist/{vue-ui-sparkgauge-DVX2pIC3.js → vue-ui-sparkgauge-0810df6b.js} +4 -4
  115. package/dist/{vue-ui-sparkgauge-Dhzbkn67.cjs → vue-ui-sparkgauge-DrJzwEAh.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-Wd6q0mqj.js → vue-ui-sparkhistogram-CENPsEeO.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-gIaXDrFh.cjs → vue-ui-sparkhistogram-j7MGEYYJ.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-DYT-gts9.js → vue-ui-sparkline-BOYreaxT.js} +4 -4
  119. package/dist/{vue-ui-sparkline-B5ySeM9y.cjs → vue-ui-sparkline-CXMea9Ki.cjs} +1 -1
  120. package/dist/{vue-ui-sparkstackbar-ilvB3RBv.cjs → vue-ui-sparkstackbar-BJIo5y1n.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-BMGA05VR.js → vue-ui-sparkstackbar-JvKmnoEy.js} +5 -5
  122. package/dist/vue-ui-stackbar-BOAmp-no.cjs +6 -0
  123. package/dist/{vue-ui-stackbar-BZbOagnf.js → vue-ui-stackbar-C3-hx7VM.js} +390 -377
  124. package/dist/{vue-ui-strip-plot-B-r4luYX.js → vue-ui-strip-plot-8MxOeTM_.js} +71 -70
  125. package/dist/{vue-ui-strip-plot-DPo7osh_.cjs → vue-ui-strip-plot-CmIS1Osx.cjs} +1 -1
  126. package/dist/{vue-ui-table-wlXHwJVW.js → vue-ui-table-CS-NSZjj.js} +1 -1
  127. package/dist/{vue-ui-table-C6z56ODT.cjs → vue-ui-table-hVmeT8wY.cjs} +1 -1
  128. package/dist/{vue-ui-table-heatmap-CM-c7n0F.js → vue-ui-table-heatmap-CGHYZFJy.js} +9 -9
  129. package/dist/{vue-ui-table-heatmap-B05GifSw.cjs → vue-ui-table-heatmap-k9e_RrhC.cjs} +1 -1
  130. package/dist/{vue-ui-table-sparkline-DHaEHFG_.js → vue-ui-table-sparkline-CRnJVQmO.js} +5 -5
  131. package/dist/{vue-ui-table-sparkline-Dx-ePVqW.cjs → vue-ui-table-sparkline-DiMZ_mh6.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-HCpOZBHv.cjs → vue-ui-thermometer-43jmlgFC.cjs} +1 -1
  133. package/dist/{vue-ui-thermometer-BU_ckSdu.js → vue-ui-thermometer-D2BUcsvF.js} +7 -7
  134. package/dist/{vue-ui-timer-CUChwyzF.cjs → vue-ui-timer-BO9Ipy0W.cjs} +1 -1
  135. package/dist/{vue-ui-timer-DiRZ849L.js → vue-ui-timer-Dc6zOjxq.js} +9 -9
  136. package/dist/{vue-ui-tiremarks-yoQtfbj7.cjs → vue-ui-tiremarks-CMUTe1vY.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-BHMNb_tq.js → vue-ui-tiremarks-ejt0fqPg.js} +7 -7
  138. package/dist/{vue-ui-treemap-BpD6OdL3.js → vue-ui-treemap-DD8tFk9R.js} +98 -97
  139. package/dist/{vue-ui-treemap-BInwLSes.cjs → vue-ui-treemap-DqSHqaJK.cjs} +1 -1
  140. package/dist/{vue-ui-vertical-bar-CBNWMmCg.js → vue-ui-vertical-bar-CxydSPHF.js} +58 -57
  141. package/dist/{vue-ui-vertical-bar-hS4gzdKs.cjs → vue-ui-vertical-bar-D4dYglan.cjs} +2 -2
  142. package/dist/{vue-ui-waffle-Cmq6zhD8.cjs → vue-ui-waffle-CHWAepdl.cjs} +1 -1
  143. package/dist/{vue-ui-waffle-BE8iTrGF.js → vue-ui-waffle-DYdcFM17.js} +79 -78
  144. package/dist/{vue-ui-wheel-BXSIBRLM.js → vue-ui-wheel-CxtgGGpt.js} +7 -7
  145. package/dist/{vue-ui-wheel-BT0mLxln.cjs → vue-ui-wheel-_ynSyF3l.cjs} +1 -1
  146. package/dist/{vue-ui-word-cloud-3wvSYRbp.js → vue-ui-word-cloud-B0AhPT0k.js} +10 -10
  147. package/dist/{vue-ui-word-cloud-BXHlm41O.cjs → vue-ui-word-cloud-Ct16Xxaw.cjs} +1 -1
  148. package/dist/{vue-ui-xy-D8XvOgW6.js → vue-ui-xy-B3346TfB.js} +195 -185
  149. package/dist/vue-ui-xy-DHYbKvBg.cjs +3 -0
  150. package/dist/vue-ui-xy-canvas-DtPqmu7B.cjs +9 -0
  151. package/dist/{vue-ui-xy-canvas-Cx7vPyfT.js → vue-ui-xy-canvas-W7YGqG7f.js} +378 -365
  152. package/package.json +1 -1
  153. package/dist/Slicer-B2aHb4bj.cjs +0 -1
  154. package/dist/Slicer-D9ASV60L.js +0 -400
  155. package/dist/Tooltip-ypQtmi99.cjs +0 -1
  156. package/dist/index-B5Ugkauv.cjs +0 -9
  157. package/dist/vue-ui-candlestick-C8yBMu8-.js +0 -725
  158. package/dist/vue-ui-candlestick-DVEofXBZ.cjs +0 -2
  159. package/dist/vue-ui-donut-evolution-BO2-ARBX.js +0 -895
  160. package/dist/vue-ui-donut-evolution-DP14ctdf.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-BzpXJYR_.cjs +0 -15
  162. package/dist/vue-ui-rings-2oDSTctd.cjs +0 -2
  163. package/dist/vue-ui-stackbar-BZKwsAjO.cjs +0 -6
  164. package/dist/vue-ui-xy-CfduqTWA.cjs +0 -3
  165. package/dist/vue-ui-xy-canvas-BTR-cL02.cjs +0 -9
@@ -1,21 +1,21 @@
1
- import { ref as v, computed as b, watch as A, onMounted as La, onBeforeUnmount as ka, openBlock as S, createElementBlock as q, normalizeStyle as J, normalizeClass as Ca, createBlock as F, createCommentVNode as _, unref as D, createSlots as wa, withCtx as m, renderSlot as x, normalizeProps as Y, guardReactiveProps as B, createElementVNode as K, createVNode as Sa, toDisplayString as Ve, createTextVNode as $a } from "vue";
2
- import { u as za, c as Ma, t as Ta, a as Ra, p as H, M as je, b as Oa, C as xe, i as Q, f as ee, Y as Ia, I as Pa, d as qe, a2 as Fa, o as Ea, e as Na, x as Je, y as Aa, q as _a, r as Da, s as ae, l as Ha } from "./index-B6Q1Fyk0.js";
3
- import { d as Wa, c as Xa, a as Ke, t as Ya, l as L, r as Le, b as E, p as Qe, u as Ba } from "./useResponsive-CoxXLe23.js";
4
- import { _ as Ua } from "./Tooltip-GvLaModr.js";
5
- import { L as Za } from "./Legend-DzxQIjDO.js";
6
- import { _ as Ga } from "./Title-BB0O0yol.js";
7
- import { S as Va } from "./Slicer-D9ASV60L.js";
8
- import { u as ja, U as qa } from "./usePrinter-D8dIU7aG.js";
9
- import Ja from "./vue-ui-accordion-BOHicozd.js";
10
- import { D as Ka } from "./DataTable-B5DiCrf_.js";
11
- import Qa from "./vue-ui-skeleton-D7rg5vFC.js";
12
- import { u as ea } from "./useNestedProp-DQpuJSz3.js";
13
- import { P as el } from "./PenAndPaper-BxJZd7k9.js";
14
- import { _ as al } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const ll = ["id"], tl = ["onClick"], ol = {
1
+ import { ref as i, computed as x, watch as _, nextTick as ce, onMounted as za, onBeforeUnmount as Sa, openBlock as z, createElementBlock as J, normalizeStyle as K, normalizeClass as $a, createBlock as F, createCommentVNode as A, unref as D, createSlots as Ia, withCtx as b, renderSlot as L, normalizeProps as B, guardReactiveProps as U, createElementVNode as Q, createVNode as Ta, toDisplayString as Ke, createTextVNode as Ma } from "vue";
2
+ import { u as Pa, c as Ra, t as Oa, a as Fa, p as H, C as de, b as Ea, D as Ce, i as ee, f as ae, Y as Na, J as _a, d as Qe, a2 as Aa, o as Da, e as Ha, x as ea, y as Wa, q as Xa, r as Ya, s as le, l as Ba } from "./index-DnukYspq.js";
3
+ import { d as Ua, c as Za, a as aa, t as Ga, l as k, r as we, b as E, p as la, u as Va } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as ja } from "./Tooltip-DEAOBZ8h.js";
5
+ import { L as qa } from "./Legend-BWDoQii_.js";
6
+ import { _ as Ja } from "./Title-Cnl9ySNH.js";
7
+ import { S as Ka } from "./Slicer-DIYseEL1.js";
8
+ import { u as Qa, U as el } from "./usePrinter-DVIALk5e.js";
9
+ import al from "./vue-ui-accordion-f9NTID9e.js";
10
+ import { D as ll } from "./DataTable-D_w08xos.js";
11
+ import tl from "./vue-ui-skeleton-CXdyOF4T.js";
12
+ import { u as ta } from "./useNestedProp-CVOQGx-X.js";
13
+ import { P as ol } from "./PenAndPaper-BWTR3U2d.js";
14
+ import { _ as rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const ul = ["id"], sl = ["onClick"], nl = {
16
16
  key: 2,
17
17
  class: "vue-data-ui-watermark"
18
- }, rl = ["innerHTML"], ul = {
18
+ }, il = ["innerHTML"], vl = {
19
19
  __name: "vue-ui-xy-canvas",
20
20
  props: {
21
21
  dataset: {
@@ -32,96 +32,96 @@ const ll = ["id"], tl = ["onClick"], ol = {
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend"],
35
- setup(ke, { expose: aa, emit: la }) {
36
- const k = ke, { vue_ui_xy_canvas: ta } = za(), ie = v(Ma()), U = v(null), z = v(null), Z = v(null), s = v(null), y = v(1), R = v(1), le = v(!1), d = v(null), te = v(""), Ce = v(null), $ = v([]), W = v(1), N = v(!0), M = v(!0), ve = v(null), we = v(0), Se = v(0), ce = v(!1), $e = v(null), ze = v(null), Me = v(null), Te = v(null), de = v(0), he = v(0), ye = v(0), fe = b(() => !!k.dataset && k.dataset.length), a = b({
37
- get: () => Re(),
35
+ setup(ze, { expose: oa, emit: ra }) {
36
+ const f = ze, { vue_ui_xy_canvas: ua } = Pa(), he = i(Ra()), Z = i(null), I = i(null), G = i(null), s = i(null), y = i(1), P = i(1), te = i(!1), d = i(null), oe = i(""), Se = i(null), S = i([]), W = i(1), N = i(!0), T = i(!0), ye = i(null), $e = i(0), Ie = i(0), re = i(!1), Te = i(null), Me = i(null), Pe = i(null), Re = i(null), fe = i(0), ge = i(0), pe = i(0), me = x(() => !!f.dataset && f.dataset.length), a = x({
37
+ get: () => Oe(),
38
38
  set: (e) => e
39
39
  });
40
- function Re() {
41
- const e = ea({
42
- userConfig: k.config,
43
- defaultConfig: ta
40
+ function Oe() {
41
+ const e = ta({
42
+ userConfig: f.config,
43
+ defaultConfig: ua
44
44
  });
45
45
  let t = {};
46
46
  return e.theme ? t = {
47
- ...ea({
48
- userConfig: Ta.vue_ui_xy_canvas[e.theme] || k.config,
47
+ ...ta({
48
+ userConfig: Oa.vue_ui_xy_canvas[e.theme] || f.config,
49
49
  defaultConfig: e
50
50
  }),
51
- customPalette: Ra[e.theme] || H
52
- } : t = e, k.config && je(k.config, "style.chart.scale.min") ? t.style.chart.scale.min = k.config.style.chart.scale.min : t.style.chart.scale.min = null, k.config && je(k.config, "style.chart.scale.max") ? t.style.chart.scale.max = k.config.style.chart.scale.max : t.style.chart.scale.max = null, t;
51
+ customPalette: Fa[e.theme] || H
52
+ } : t = e, f.config && de(f.config, "style.chart.scale.min") ? t.style.chart.scale.min = f.config.style.chart.scale.min : t.style.chart.scale.min = null, f.config && de(f.config, "style.chart.scale.max") ? t.style.chart.scale.max = f.config.style.chart.scale.max : t.style.chart.scale.max = null, f.config && de(f.config, "style.chart.zoom.startIndex") ? t.style.chart.zoom.startIndex = f.config.style.chart.zoom.startIndex : t.style.chart.zoom.startIndex = null, f.config && de(f.config, "style.chart.zoom.endIndex") ? t.style.chart.zoom.endIndex = f.config.style.chart.zoom.endIndex : t.style.chart.zoom.endIndex = null, t;
53
53
  }
54
- A(() => k.config, (e) => {
55
- a.value = Re(), pe(), de.value += 1, he.value += 1, ye.value += 1;
56
- }, { deep: !0 }), A(() => k.dataset, () => {
57
- pe(), de.value += 1, he.value += 1, ye.value += 1;
54
+ _(() => f.config, (e) => {
55
+ a.value = Oe(), xe(), fe.value += 1, ge.value += 1, pe.value += 1;
56
+ }, { deep: !0 }), _(() => f.dataset, () => {
57
+ xe(), fe.value += 1, ge.value += 1, pe.value += 1;
58
58
  }, { deep: !0 });
59
- const Oe = v(a.value.style.chart.aspectRatio), { isPrinting: Ie, isImaging: Pe, generatePdf: Fe, generateImage: Ee } = ja({
60
- elementId: `xy_canvas_${ie.value}`,
59
+ const Fe = i(a.value.style.chart.aspectRatio), { isPrinting: Ee, isImaging: Ne, generatePdf: _e, generateImage: Ae } = Qa({
60
+ elementId: `xy_canvas_${he.value}`,
61
61
  fileName: a.value.style.chart.title.text || "vue-ui-xy-canvas"
62
- }), u = v({
62
+ }), u = i({
63
63
  showTable: a.value.table.show,
64
64
  showDataLabels: a.value.style.chart.dataLabels.show,
65
65
  stacked: a.value.style.chart.stacked,
66
66
  showTooltip: a.value.style.chart.tooltip.show
67
67
  });
68
- function oa(e) {
69
- ce.value = e, Se.value += 1;
68
+ function sa(e) {
69
+ re.value = e, Ie.value += 1;
70
70
  }
71
- const Ne = b(() => Oa(a.value.customPalette)), O = b(() => X.value ? Math.max(...X.value.filter((e, t) => !$.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), l = b(() => {
71
+ const De = x(() => Ea(a.value.customPalette)), $ = x(() => X.value ? Math.max(...X.value.filter((e, t) => !S.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), l = x(() => {
72
72
  const e = y.value - y.value * (a.value.style.chart.paddingProportions.left + a.value.style.chart.paddingProportions.right);
73
73
  return {
74
74
  canvasWidth: y.value,
75
- canvasHeight: R.value,
75
+ canvasHeight: P.value,
76
76
  left: y.value * a.value.style.chart.paddingProportions.left,
77
- top: R.value * a.value.style.chart.paddingProportions.top,
77
+ top: P.value * a.value.style.chart.paddingProportions.top,
78
78
  right: y.value - y.value * a.value.style.chart.paddingProportions.right,
79
- bottom: R.value - R.value * a.value.style.chart.paddingProportions.bottom,
79
+ bottom: P.value - P.value * a.value.style.chart.paddingProportions.bottom,
80
80
  width: e,
81
- height: R.value - R.value * (a.value.style.chart.paddingProportions.top + a.value.style.chart.paddingProportions.bottom),
81
+ height: P.value - P.value * (a.value.style.chart.paddingProportions.top + a.value.style.chart.paddingProportions.bottom),
82
82
  slot: e / (r.value.end - r.value.start)
83
83
  };
84
84
  });
85
- function Ae(e, t) {
85
+ function He(e, t) {
86
86
  return e / t;
87
87
  }
88
- function ra({ hasAutoScale: e, series: t, min: o, max: i, scale: c, yOffset: f, individualHeight: n, stackIndex: g = null }) {
89
- return t.map((w, be) => {
90
- const T = c.min < 0 ? Math.abs(c.min) : 0, I = Ae(w + T, T + c.max);
91
- let P, G;
92
- e && (P = Math.abs(c.min), G = Ae(w + P, c.max + P));
93
- let V = 0;
94
- return g === null ? V = l.value.bottom - l.value.height * (e ? G : I) : V = l.value.bottom - f - n * (e ? G : I), {
95
- x: l.value.left + l.value.slot * be + l.value.slot / 2,
96
- y: V,
88
+ function na({ hasAutoScale: e, series: t, min: o, max: v, scale: c, yOffset: g, individualHeight: n, stackIndex: p = null }) {
89
+ return t.map((w, ke) => {
90
+ const M = c.min < 0 ? Math.abs(c.min) : 0, R = He(w + M, M + c.max);
91
+ let O, V;
92
+ e && (O = Math.abs(c.min), V = He(w + O, c.max + O));
93
+ let j = 0;
94
+ return p === null ? j = l.value.bottom - l.value.height * (e ? V : R) : j = l.value.bottom - g - n * (e ? V : R), {
95
+ x: l.value.left + l.value.slot * ke + l.value.slot / 2,
96
+ y: j,
97
97
  value: w
98
98
  };
99
99
  });
100
100
  }
101
- const p = b(() => {
102
- const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...X.value.filter((n, g) => !$.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), t = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...X.value.filter((n, g) => !$.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), o = xe(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, a.value.style.chart.scale.ticks), i = o.min < 0 ? Math.abs(o.min) : 0, c = l.value.bottom - l.value.height * (i / (o.max + i)), f = o.ticks.map((n) => ({
103
- y: l.value.bottom - l.value.height * ((n + i) / (o.max + i)),
101
+ const m = x(() => {
102
+ const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...X.value.filter((n, p) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), t = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...X.value.filter((n, p) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), o = Ce(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, a.value.style.chart.scale.ticks), v = o.min < 0 ? Math.abs(o.min) : 0, c = l.value.bottom - l.value.height * (v / (o.max + v)), g = o.ticks.map((n) => ({
103
+ y: l.value.bottom - l.value.height * ((n + v) / (o.max + v)),
104
104
  x: l.value.left - 8,
105
105
  value: n
106
106
  }));
107
107
  return {
108
- absoluteMin: i,
108
+ absoluteMin: v,
109
109
  max: t,
110
110
  min: e,
111
111
  scale: o,
112
- yLabels: f,
112
+ yLabels: g,
113
113
  zero: c
114
114
  };
115
- }), ua = b(() => h.value.map((e) => `
115
+ }), ia = x(() => h.value.map((e) => `
116
116
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
117
117
  <svg viewBox="0 0 10 10" height="12" width="12">
118
118
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
119
119
  </svg>
120
120
  <span>${e.name ? e.name + ": " : ""}</span>
121
- <span>${Q(
121
+ <span>${ee(
122
122
  a.value.style.chart.dataLabels.formatter,
123
123
  e.series[d.value],
124
- ee({
124
+ ae({
125
125
  p: e.prefix || "",
126
126
  v: e.series[d.value],
127
127
  s: e.suffix || "",
@@ -130,82 +130,90 @@ const ll = ["id"], tl = ["onClick"], ol = {
130
130
  { datapoint: e, seriesIndex: d.value }
131
131
  )}</span>
132
132
  </div>
133
- `)), X = b(() => k.dataset.map((e, t) => ({
133
+ `)), X = x(() => f.dataset.map((e, t) => ({
134
134
  ...e,
135
- series: Ia({
136
- data: Pa(e.series),
135
+ series: Na({
136
+ data: _a(e.series),
137
137
  threshold: a.value.downsample.threshold
138
138
  }),
139
139
  absoluteIndex: t,
140
- color: qe(e.color || Ne.value[t] || H[t] || H[t % H.length])
140
+ color: Qe(e.color || De.value[t] || H[t] || H[t % H.length])
141
141
  })));
142
- A(O, (e) => {
143
- e && _e();
142
+ _($, (e) => {
143
+ e && We();
144
144
  });
145
- const h = b(() => Fa(X.value.filter((e, t) => !$.value.includes(e.absoluteIndex))).map((e, t) => ({
145
+ const h = x(() => Aa(X.value.filter((e, t) => !S.value.includes(e.absoluteIndex))).map((e, t) => ({
146
146
  ...e,
147
147
  series: e.series.slice(r.value.start, r.value.end)
148
148
  })).map((e, t) => {
149
- let o = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, i = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
150
- o === i && (o = o >= 0 ? i - 1 : o, i = i >= 0 ? i : o + 1);
151
- const f = {
152
- ratios: e.series.filter((j) => ![null, void 0].includes(j)).map((j) => (j - o) / (i - o)),
149
+ let o = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, v = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
150
+ o === v && (o = o >= 0 ? v - 1 : o, v = v >= 0 ? v : o + 1);
151
+ const g = {
152
+ ratios: e.series.filter((q) => ![null, void 0].includes(q)).map((q) => (q - o) / (v - o)),
153
153
  valueMin: o,
154
- valueMax: i
154
+ valueMax: v
155
155
  }, n = e.scaleSteps || a.value.style.chart.scale.ticks;
156
- let g;
157
- e.autoScaling ? g = xe(f.valueMin, f.valueMax, n) : g = xe(f.valueMin < 0 ? f.valueMin : 0, f.valueMax <= 0 ? 0 : f.valueMax, n);
158
- const w = u.value.stacked ? l.value.height * (1 - e.cumulatedStackRatio) : 0, be = u.value.stacked ? l.value.height / a.value.style.chart.stackGap : 0, T = u.value.stacked ? l.value.height * e.stackRatio - be : l.value.height, I = g.min < 0 ? Math.abs(g.min) : 0;
159
- let P;
160
- e.autoScaling && u.value.stacked && i <= 0 ? P = l.value.bottom - w - T : P = l.value.bottom - w - T * (I / (g.max + I));
161
- const G = g.ticks.map((j, xa) => ({
162
- y: l.value.bottom - w - T * (xa / (g.ticks.length - 1)),
156
+ let p;
157
+ e.autoScaling ? p = Ce(g.valueMin, g.valueMax, n) : p = Ce(g.valueMin < 0 ? g.valueMin : 0, g.valueMax <= 0 ? 0 : g.valueMax, n);
158
+ const w = u.value.stacked ? l.value.height * (1 - e.cumulatedStackRatio) : 0, ke = u.value.stacked ? l.value.height / a.value.style.chart.stackGap : 0, M = u.value.stacked ? l.value.height * e.stackRatio - ke : l.value.height, R = p.min < 0 ? Math.abs(p.min) : 0;
159
+ let O;
160
+ e.autoScaling && u.value.stacked && v <= 0 ? O = l.value.bottom - w - M : O = l.value.bottom - w - M * (R / (p.max + R));
161
+ const V = p.ticks.map((q, wa) => ({
162
+ y: l.value.bottom - w - M * (wa / (p.ticks.length - 1)),
163
163
  x: l.value.left - 8,
164
- value: j
165
- })), V = ra({
164
+ value: q
165
+ })), j = na({
166
166
  hasAutoScale: u.value.stacked && e.autoScaling,
167
167
  series: e.series,
168
- min: u.value.stacked ? o : p.value.min,
169
- max: u.value.stacked ? i : p.value.max,
170
- scale: u.value.stacked ? g : p.value.scale,
168
+ min: u.value.stacked ? o : m.value.min,
169
+ max: u.value.stacked ? v : m.value.max,
170
+ scale: u.value.stacked ? p : m.value.scale,
171
171
  yOffset: w,
172
- individualHeight: T,
172
+ individualHeight: M,
173
173
  stackIndex: u.value.stacked ? t : null
174
174
  });
175
175
  return {
176
176
  ...e,
177
- coordinatesLine: V,
177
+ coordinatesLine: j,
178
178
  min: o,
179
- max: i,
180
- localScale: g,
181
- localZero: P,
182
- localMin: I,
183
- localYLabels: G,
179
+ max: v,
180
+ localScale: p,
181
+ localZero: O,
182
+ localMin: R,
183
+ localYLabels: V,
184
184
  yOffset: w,
185
- individualHeight: T
185
+ individualHeight: M
186
186
  };
187
- })), r = v({
187
+ })), r = i({
188
188
  start: 0,
189
- end: O.value
189
+ end: $.value
190
190
  });
191
- function _e() {
192
- r.value = {
191
+ function We() {
192
+ Xe();
193
+ }
194
+ const Y = i(null);
195
+ async function Xe() {
196
+ (a.value.style.chart.zoom.startIndex !== null || a.value.style.chart.zoom.endIndex !== null) && Y.value ? (a.value.style.chart.zoom.startIndex !== null && (await ce(), await ce(), Y.value && Y.value.setStartValue(a.value.style.chart.zoom.startIndex)), a.value.style.chart.zoom.endIndex !== null && (await ce(), await ce(), Y.value && Y.value.setEndValue(va(a.value.style.chart.zoom.endIndex + 1)))) : (r.value = {
193
197
  start: 0,
194
- end: O.value
195
- }, we.value += 1;
198
+ end: $.value
199
+ }, $e.value += 1);
200
+ }
201
+ function va(e) {
202
+ const t = $.value;
203
+ return e > t ? t : e < 0 || a.value.style.chart.zoom.startIndex !== null && e < a.value.style.chart.zoom.startIndex ? a.value.style.chart.zoom.startIndex !== null ? a.value.style.chart.zoom.startIndex + 1 : 1 : e;
196
204
  }
197
- const sa = b(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), C = b(() => h.value.filter((e) => e.type === "bar"));
198
- function na() {
199
- if (!z.value)
205
+ const ca = x(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), C = x(() => h.value.filter((e) => e.type === "bar"));
206
+ function da() {
207
+ if (!I.value)
200
208
  return;
201
- const e = Z.value.offsetWidth, t = Z.value.offsetHeight;
202
- z.value.width = e * W.value * 2, z.value.height = t * W.value * 2, y.value = e * W.value * 2, R.value = t * W.value * 2, s.value.scale(W.value, W.value), ge();
209
+ const e = G.value.offsetWidth, t = G.value.offsetHeight;
210
+ I.value.width = e * W.value * 2, I.value.height = t * W.value * 2, y.value = e * W.value * 2, P.value = t * W.value * 2, s.value.scale(W.value, W.value), be();
203
211
  }
204
- function ia() {
212
+ function ha() {
205
213
  if (s.value.clearRect(0, 0, 1e4, 1e4), s.value.fillStyle = a.value.style.chart.backgroundColor, s.value.fillRect(0, 0, l.value.canvasWidth, l.value.canvasHeight), u.value.stacked)
206
214
  a.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < a.value.style.chart.grid.y.verticalLines.hideUnderXLength ? h.value.forEach((e) => {
207
215
  for (let t = 0; t < r.value.end - r.value.start + 1; t += 1)
208
- L(
216
+ k(
209
217
  s.value,
210
218
  [
211
219
  {
@@ -223,7 +231,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
223
231
  );
224
232
  }) : a.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start >= a.value.style.chart.grid.y.verticalLines.hideUnderXLength && h.value.forEach((e) => {
225
233
  for (let t = r.value.start; t < r.value.end; t += 1)
226
- t % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && L(
234
+ t % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && k(
227
235
  s.value,
228
236
  [
229
237
  {
@@ -241,7 +249,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
241
249
  );
242
250
  }), a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? h.value.forEach((e) => {
243
251
  e.localYLabels.forEach((t, o) => {
244
- o < e.localYLabels.length - 1 && Le(
252
+ o < e.localYLabels.length - 1 && we(
245
253
  s.value,
246
254
  [
247
255
  { x: l.value.left, y: t.y },
@@ -250,14 +258,14 @@ const ll = ["id"], tl = ["onClick"], ol = {
250
258
  { x: l.value.left, y: e.localYLabels[o + 1].y }
251
259
  ],
252
260
  {
253
- fillColor: o % 2 === 0 ? "transparent" : ae(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
261
+ fillColor: o % 2 === 0 ? "transparent" : le(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
254
262
  strokeColor: "transparent"
255
263
  }
256
264
  );
257
265
  });
258
266
  }) : h.value.forEach((e) => {
259
267
  e.localYLabels.slice(r.value.start, r.value.end).forEach((t) => {
260
- L(
268
+ k(
261
269
  s.value,
262
270
  [
263
271
  { x: l.value.left, y: t.y },
@@ -269,7 +277,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
269
277
  );
270
278
  });
271
279
  })), a.value.style.chart.grid.zeroLine.show && h.value.forEach((e) => {
272
- L(
280
+ k(
273
281
  s.value,
274
282
  [
275
283
  { x: l.value.left, y: e.localZero },
@@ -281,7 +289,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
281
289
  }
282
290
  );
283
291
  }), a.value.style.chart.grid.y.axisLabels.show && h.value.forEach((e) => {
284
- L(
292
+ k(
285
293
  s.value,
286
294
  [
287
295
  { x: l.value.left, y: l.value.bottom - e.yOffset },
@@ -290,7 +298,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
290
298
  {
291
299
  color: e.color
292
300
  }
293
- ), L(
301
+ ), k(
294
302
  s.value,
295
303
  [
296
304
  { x: l.value.right, y: l.value.bottom - e.yOffset },
@@ -302,10 +310,10 @@ const ll = ["id"], tl = ["onClick"], ol = {
302
310
  ), e.localYLabels.forEach((t, o) => {
303
311
  E(
304
312
  s.value,
305
- Q(
313
+ ee(
306
314
  a.value.style.chart.dataLabels.formatter,
307
315
  t.value,
308
- ee({
316
+ ae({
309
317
  p: e.prefix || a.value.style.chart.grid.y.axisLabels.prefix || "",
310
318
  v: t.value,
311
319
  s: e.suffix || a.value.style.chart.grid.y.axisLabels.suffix || "",
@@ -339,7 +347,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
339
347
  else {
340
348
  if (a.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < a.value.style.chart.grid.y.verticalLines.hideUnderXLength)
341
349
  for (let e = 0; e < r.value.end - r.value.start + 1; e += 1)
342
- L(
350
+ k(
343
351
  s.value,
344
352
  [
345
353
  { x: l.value.left + l.value.slot * e, y: l.value.top },
@@ -351,7 +359,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
351
359
  );
352
360
  else if (a.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start >= a.value.style.chart.grid.y.verticalLines.hideUnderXLength)
353
361
  for (let e = r.value.start; e < r.value.end; e += 1)
354
- e % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && L(
362
+ e % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && k(
355
363
  s.value,
356
364
  [
357
365
  { x: l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2, y: l.value.top },
@@ -361,22 +369,22 @@ const ll = ["id"], tl = ["onClick"], ol = {
361
369
  color: a.value.style.chart.grid.y.verticalLines.color
362
370
  }
363
371
  );
364
- a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? p.value.yLabels.forEach((e, t) => {
365
- t < p.value.yLabels.length - 1 && Le(
372
+ a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? m.value.yLabels.forEach((e, t) => {
373
+ t < m.value.yLabels.length - 1 && we(
366
374
  s.value,
367
375
  [
368
376
  { x: l.value.left, y: e.y },
369
377
  { x: l.value.right, y: e.y },
370
- { x: l.value.right, y: p.value.yLabels[t + 1].y },
371
- { x: l.value.left, y: p.value.yLabels[t + 1].y }
378
+ { x: l.value.right, y: m.value.yLabels[t + 1].y },
379
+ { x: l.value.left, y: m.value.yLabels[t + 1].y }
372
380
  ],
373
381
  {
374
- fillColor: t % 2 === 0 ? "transparent" : ae(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
382
+ fillColor: t % 2 === 0 ? "transparent" : le(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
375
383
  strokeColor: "transparent"
376
384
  }
377
385
  );
378
- }) : p.value.yLabels.forEach((e) => {
379
- L(
386
+ }) : m.value.yLabels.forEach((e) => {
387
+ k(
380
388
  s.value,
381
389
  [
382
390
  { x: l.value.left, y: e.y },
@@ -386,7 +394,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
386
394
  color: a.value.style.chart.grid.x.horizontalLines.color
387
395
  }
388
396
  );
389
- })), a.value.style.chart.grid.y.showAxis && L(
397
+ })), a.value.style.chart.grid.y.showAxis && k(
390
398
  s.value,
391
399
  [
392
400
  { x: l.value.left, y: l.value.top },
@@ -396,7 +404,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
396
404
  color: a.value.style.chart.grid.y.axisColor,
397
405
  lineWidth: a.value.style.chart.grid.y.axisThickness
398
406
  }
399
- ), a.value.style.chart.grid.x.showAxis && L(
407
+ ), a.value.style.chart.grid.x.showAxis && k(
400
408
  s.value,
401
409
  [
402
410
  { x: l.value.left, y: l.value.bottom },
@@ -406,23 +414,23 @@ const ll = ["id"], tl = ["onClick"], ol = {
406
414
  color: a.value.style.chart.grid.x.axisColor,
407
415
  lineWidth: a.value.style.chart.grid.x.axisThickness
408
416
  }
409
- ), a.value.style.chart.grid.zeroLine.show && L(
417
+ ), a.value.style.chart.grid.zeroLine.show && k(
410
418
  s.value,
411
419
  [
412
- { x: l.value.left, y: p.value.zero },
413
- { x: l.value.right, y: p.value.zero }
420
+ { x: l.value.left, y: m.value.zero },
421
+ { x: l.value.right, y: m.value.zero }
414
422
  ],
415
423
  {
416
424
  color: a.value.style.chart.grid.zeroLine.color,
417
425
  lineDash: a.value.style.chart.grid.zeroLine.dashed ? [10, 10] : [0, 0]
418
426
  }
419
- ), a.value.style.chart.grid.y.axisLabels.show && p.value.yLabels.forEach((e, t) => {
427
+ ), a.value.style.chart.grid.y.axisLabels.show && m.value.yLabels.forEach((e, t) => {
420
428
  E(
421
429
  s.value,
422
- Q(
430
+ ee(
423
431
  a.value.style.chart.dataLabels.formatter,
424
432
  e.value,
425
- ee({
433
+ ae({
426
434
  p: a.value.style.chart.grid.y.axisLabels.prefix || "",
427
435
  v: e.value,
428
436
  s: a.value.style.chart.grid.y.axisLabels.suffix || "",
@@ -455,7 +463,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
455
463
  s.value,
456
464
  a.value.style.chart.grid.x.axisName,
457
465
  y.value / 2,
458
- R.value,
466
+ P.value,
459
467
  {
460
468
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
461
469
  color: a.value.style.chart.color,
@@ -463,10 +471,10 @@ const ll = ["id"], tl = ["onClick"], ol = {
463
471
  }
464
472
  );
465
473
  }
466
- function va(e) {
474
+ function ya(e) {
467
475
  for (let t = 0; t < e.coordinatesLine.length; t += 1) {
468
476
  const o = (d.value === t ? y.value / 150 : a.value.style.chart.line.plots.show ? y.value / 200 : 0) * a.value.style.chart.line.plots.radiusRatio;
469
- Ke(
477
+ aa(
470
478
  s.value,
471
479
  { x: e.coordinatesLine[t].x, y: e.coordinatesLine[t].y },
472
480
  o,
@@ -478,14 +486,14 @@ const ll = ["id"], tl = ["onClick"], ol = {
478
486
  );
479
487
  }
480
488
  }
481
- function ca(e) {
489
+ function fa(e) {
482
490
  for (let t = 0; t < e.coordinatesLine.length; t += 1)
483
491
  E(
484
492
  s.value,
485
- Q(
493
+ ee(
486
494
  a.value.style.chart.dataLabels.formatter,
487
495
  e.coordinatesLine[t].value,
488
- ee({
496
+ ae({
489
497
  p: e.prefix || "",
490
498
  v: e.coordinatesLine[t].value,
491
499
  s: e.suffix || "",
@@ -504,7 +512,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
504
512
  }
505
513
  );
506
514
  }
507
- function da() {
515
+ function ga() {
508
516
  for (let e = r.value.start; e < r.value.end; e += 1)
509
517
  (r.value.end - r.value.start < a.value.style.chart.grid.y.timeLabels.modulo || r.value.end - r.value.start >= a.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === d.value + r.value.start)) && E(
510
518
  s.value,
@@ -514,13 +522,13 @@ const ll = ["id"], tl = ["onClick"], ol = {
514
522
  {
515
523
  align: a.value.style.chart.grid.y.timeLabels.rotation === 0 ? "center" : a.value.style.chart.grid.y.timeLabels.rotation > 0 ? "left" : "right",
516
524
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
517
- color: ae(a.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + r.value.start === e ? 100 : 20 : 100),
525
+ color: le(a.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + r.value.start === e ? 100 : 20 : 100),
518
526
  rotation: a.value.style.chart.grid.y.timeLabels.rotation
519
527
  }
520
528
  );
521
529
  }
522
- function De() {
523
- L(
530
+ function Ye() {
531
+ k(
524
532
  s.value,
525
533
  [
526
534
  { x: l.value.left + l.value.slot * d.value + l.value.slot / 2, y: l.value.top },
@@ -534,19 +542,19 @@ const ll = ["id"], tl = ["onClick"], ol = {
534
542
  }
535
543
  );
536
544
  }
537
- function ha() {
545
+ function pa() {
538
546
  C.value.forEach((e, t) => {
539
547
  for (let o = 0; o < e.coordinatesLine.length; o += 1)
540
- Le(
548
+ we(
541
549
  s.value,
542
550
  [
543
551
  {
544
552
  x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)),
545
- y: u.value.stacked ? e.localZero : p.value.zero
553
+ y: u.value.stacked ? e.localZero : m.value.zero
546
554
  },
547
555
  {
548
556
  x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
549
- y: u.value.stacked ? e.localZero : p.value.zero
557
+ y: u.value.stacked ? e.localZero : m.value.zero
550
558
  },
551
559
  {
552
560
  x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
@@ -567,20 +575,20 @@ const ll = ["id"], tl = ["onClick"], ol = {
567
575
  },
568
576
  end: {
569
577
  x: e.coordinatesLine[o].x,
570
- y: u.value.stacked ? e.localZero : p.value.zero
578
+ y: u.value.stacked ? e.localZero : m.value.zero
571
579
  },
572
580
  stops: [
573
581
  { offset: 0, color: e.color },
574
- { offset: 1, color: Ha(e.color, 0.5) }
582
+ { offset: 1, color: Ba(e.color, 0.5) }
575
583
  ]
576
584
  }
577
585
  }
578
586
  ), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && E(
579
587
  s.value,
580
- Q(
588
+ ee(
581
589
  a.value.style.chart.dataLabels.formatter,
582
590
  e.coordinatesLine[o].value,
583
- ee({
591
+ ae({
584
592
  p: e.prefix || "",
585
593
  v: e.coordinatesLine[o].value,
586
594
  s: e.suffix || "",
@@ -589,7 +597,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
589
597
  { datapoint: e.coordinatesLine[o], seriesIndex: o }
590
598
  ),
591
599
  l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.4 / (u.value.stacked ? 1 : C.value.length),
592
- (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : p.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
600
+ (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : m.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
593
601
  {
594
602
  align: "center",
595
603
  font: `${Math.round(y.value / 40 * a.value.style.chart.dataLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -600,29 +608,29 @@ const ll = ["id"], tl = ["onClick"], ol = {
600
608
  );
601
609
  });
602
610
  }
603
- function ya(e) {
604
- e.useArea ? u.value.stacked ? Qe(
611
+ function ma(e) {
612
+ e.useArea ? u.value.stacked ? la(
605
613
  s.value,
606
614
  [{ x: e.coordinatesLine[0].x, y: e.localZero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: e.localZero }],
607
615
  {
608
- fillColor: ae(e.color, a.value.style.chart.area.opacity),
616
+ fillColor: le(e.color, a.value.style.chart.area.opacity),
609
617
  strokeColor: "transparent"
610
618
  }
611
- ) : Qe(
619
+ ) : la(
612
620
  s.value,
613
- [{ x: e.coordinatesLine[0].x, y: p.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: p.value.zero }],
621
+ [{ x: e.coordinatesLine[0].x, y: m.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: m.value.zero }],
614
622
  {
615
- fillColor: ae(e.color, a.value.style.chart.area.opacity),
623
+ fillColor: le(e.color, a.value.style.chart.area.opacity),
616
624
  strokeColor: "transparent"
617
625
  }
618
- ) : L(s.value, e.coordinatesLine, {
626
+ ) : k(s.value, e.coordinatesLine, {
619
627
  color: e.color,
620
628
  lineWidth: 3
621
629
  });
622
630
  }
623
- function fa() {
631
+ function ba() {
624
632
  h.value.forEach((e, t) => {
625
- L(
633
+ k(
626
634
  s.value,
627
635
  [
628
636
  { x: l.value.left, y: l.value.bottom - e.yOffset },
@@ -635,13 +643,13 @@ const ll = ["id"], tl = ["onClick"], ol = {
635
643
  );
636
644
  });
637
645
  }
638
- function ge() {
639
- ia(), N.value ? (M.value && d.value !== null && a.value.style.chart.selector.show && De(), ha(), u.value.stacked && a.value.style.chart.grid.x.showAxis && fa(), sa.value.forEach((e) => {
640
- (e.type === "line" || !e.type) && ya(e), M.value && (va(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && ca(e));
641
- }), ve.value = Xa(z.value)) : (ve.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(ve.value, 0, 0)), M.value && d.value !== null && a.value.style.chart.selector.show && De(), M.value && d.value !== null && h.value.forEach((e) => {
646
+ function be() {
647
+ ha(), N.value ? (T.value && d.value !== null && a.value.style.chart.selector.show && Ye(), pa(), u.value.stacked && a.value.style.chart.grid.x.showAxis && ba(), ca.value.forEach((e) => {
648
+ (e.type === "line" || !e.type) && ma(e), T.value && (ya(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && fa(e));
649
+ }), ye.value = Za(I.value)) : (ye.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(ye.value, 0, 0)), T.value && d.value !== null && a.value.style.chart.selector.show && Ye(), T.value && d.value !== null && h.value.forEach((e) => {
642
650
  if (e.type === "line" || !e.type || e.type === "plot") {
643
651
  if (!e.coordinatesLine[d.value]) return;
644
- e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && Ke(
652
+ e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && aa(
645
653
  s.value,
646
654
  {
647
655
  x: e.coordinatesLine[d.value].x,
@@ -655,117 +663,117 @@ const ll = ["id"], tl = ["onClick"], ol = {
655
663
  }
656
664
  );
657
665
  }
658
- })), a.value.style.chart.grid.y.timeLabels.show && da(), N.value = !1;
666
+ })), a.value.style.chart.grid.y.timeLabels.show && ga(), N.value = !1;
659
667
  }
660
- const oe = Wa(() => {
661
- M.value = !0, na();
662
- }, O.value > 200 ? 10 : 1, !M.value);
663
- function ga(e) {
664
- const { left: t } = z.value.getBoundingClientRect(), o = e.clientX - t;
668
+ const ue = Ua(() => {
669
+ T.value = !0, da();
670
+ }, $.value > 200 ? 10 : 1, !T.value);
671
+ function xa(e) {
672
+ const { left: t } = I.value.getBoundingClientRect(), o = e.clientX - t;
665
673
  if (o * 2 < l.value.left || o * 2 > l.value.right) {
666
- le.value = !1, d.value = null;
674
+ te.value = !1, d.value = null;
667
675
  return;
668
676
  }
669
- const i = o * 2 - l.value.left;
670
- if (d.value = Math.floor(i / l.value.slot), le.value = !0, !M.value) return;
677
+ const v = o * 2 - l.value.left;
678
+ if (d.value = Math.floor(v / l.value.slot), te.value = !0, !T.value) return;
671
679
  let c = "";
672
- const f = a.value.style.chart.tooltip.customFormat;
673
- Je(f) && Aa(() => f({
680
+ const g = a.value.style.chart.tooltip.customFormat;
681
+ ea(g) && Wa(() => g({
674
682
  seriesIndex: d.value,
675
683
  datapoint: h.value.map((n) => ({
676
684
  shape: n.shape || null,
677
685
  name: n.name,
678
686
  color: n.color,
679
687
  type: n.type || "line",
680
- value: n.series.find((g, w) => w === d.value)
688
+ value: n.series.find((p, w) => w === d.value)
681
689
  })),
682
690
  series: h.value,
683
691
  config: a.value
684
- })) ? te.value = f({
692
+ })) ? oe.value = g({
685
693
  seriesIndex: d.value,
686
694
  datapoint: h.value.map((n) => ({
687
695
  shape: n.shape || null,
688
696
  name: n.name,
689
697
  color: n.color,
690
698
  type: n.type || "line",
691
- value: n.series.find((g, w) => w === d.value)
699
+ value: n.series.find((p, w) => w === d.value)
692
700
  })),
693
701
  series: h.value,
694
702
  config: a.value
695
- }) : (a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[d.value] && (c += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${a.value.style.chart.tooltip.borderColor}; width:100%">${a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[d.value]}</div>`), c += ua.value.join(""), te.value = c), M.value = !1;
703
+ }) : (a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[d.value] && (c += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${a.value.style.chart.tooltip.borderColor}; width:100%">${a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[d.value]}</div>`), c += ia.value.join(""), oe.value = c), T.value = !1;
696
704
  }
697
- A(() => d.value, (e) => {
698
- oe();
699
- }), A(() => r.value, (e) => {
700
- N.value = !0, ge();
705
+ _(() => d.value, (e) => {
706
+ ue();
707
+ }), _(() => r.value, (e) => {
708
+ N.value = !0, be();
701
709
  }, {
702
710
  deep: !0
703
- }), A(() => u.value.showDataLabels, (e) => {
704
- N.value = !0, ge();
705
- }), A(() => u.value.stacked, (e) => {
706
- N.value = !0, M.value = !0, oe();
711
+ }), _(() => u.value.showDataLabels, (e) => {
712
+ N.value = !0, be();
713
+ }), _(() => u.value.stacked, (e) => {
714
+ N.value = !0, T.value = !0, ue();
707
715
  });
708
- function pa() {
709
- le.value = !1, d.value = null, te.value = "";
716
+ function La() {
717
+ te.value = !1, d.value = null, oe.value = "";
710
718
  }
711
- const re = v(null), ue = v(null);
712
- La(() => {
713
- pe();
719
+ const se = i(null), ne = i(null);
720
+ za(() => {
721
+ xe();
714
722
  });
715
- function pe() {
716
- if (Ea(k.dataset) ? Na({
723
+ function xe() {
724
+ if (Da(f.dataset) ? Ha({
717
725
  componentName: "VueUiXyCanvas",
718
726
  type: "dataset"
719
- }) : z.value && (s.value = z.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
720
- const e = Ya(() => {
721
- const { width: t, height: o } = Ba({
722
- chart: U.value,
723
- title: a.value.style.chart.title.text ? $e.value : null,
724
- legend: a.value.style.chart.legend.show ? ze.value : null,
725
- slicer: a.value.style.chart.zoom.show && O.value > 1 ? Me.value : null,
726
- source: Te.value
727
+ }) : I.value && (s.value = I.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
728
+ const e = Ga(() => {
729
+ const { width: t, height: o } = Va({
730
+ chart: Z.value,
731
+ title: a.value.style.chart.title.text ? Te.value : null,
732
+ legend: a.value.style.chart.legend.show ? Me.value : null,
733
+ slicer: a.value.style.chart.zoom.show && $.value > 1 ? Pe.value : null,
734
+ source: Re.value
727
735
  });
728
- Oe.value = `${t} / ${o}`;
736
+ Fe.value = `${t} / ${o}`;
729
737
  });
730
- re.value = new ResizeObserver(e), re.value.observe(U.value.parentNode);
738
+ se.value = new ResizeObserver(e), se.value.observe(Z.value.parentNode);
731
739
  }
732
- ue.value = new ResizeObserver((e) => {
740
+ ne.value = new ResizeObserver((e) => {
733
741
  for (const t of e)
734
- t.contentBoxSize && Z.value && (N.value = !0, oe());
735
- }), ue.value.observe(Z.value);
742
+ t.contentBoxSize && G.value && (N.value = !0, ue());
743
+ }), ne.value.observe(G.value), Xe();
736
744
  }
737
- ka(() => {
738
- ue.value && ue.value.disconnect(), re.value && re.value.disconnect();
745
+ Sa(() => {
746
+ ne.value && ne.value.disconnect(), se.value && se.value.disconnect();
739
747
  });
740
- function He(e) {
741
- la("selectLegend", h.value.find((t) => t.absoluteIndex === e)), $.value.includes(e) ? $.value = $.value.filter((t) => t !== e) : $.value.push(e), N.value = !0, oe();
748
+ function Be(e) {
749
+ ra("selectLegend", h.value.find((t) => t.absoluteIndex === e)), S.value.includes(e) ? S.value = S.value.filter((t) => t !== e) : S.value.push(e), N.value = !0, ue();
742
750
  }
743
- const We = b(() => X.value.map((e, t) => ({
751
+ const Ue = x(() => X.value.map((e, t) => ({
744
752
  ...e,
745
753
  name: e.name,
746
- color: qe(e.color) || Ne.value[t] || H[t] || H[t % H.length],
754
+ color: Qe(e.color) || De.value[t] || H[t] || H[t % H.length],
747
755
  shape: e.shape || "circle",
748
756
  prefix: e.prefix || "",
749
757
  suffix: e.suffix || "",
750
758
  rounding: e.rounding || 0
751
759
  })).map((e) => ({
752
760
  ...e,
753
- opacity: $.value.includes(e.absoluteIndex) ? 0.5 : 1,
754
- segregate: () => He(e.absoluteIndex),
755
- isSegregated: $.value.includes(e.absoluteIndex)
756
- }))), ma = b(() => ({
761
+ opacity: S.value.includes(e.absoluteIndex) ? 0.5 : 1,
762
+ segregate: () => Be(e.absoluteIndex),
763
+ isSegregated: S.value.includes(e.absoluteIndex)
764
+ }))), ka = x(() => ({
757
765
  cy: "donut-div-legend",
758
766
  backgroundColor: a.value.style.chart.legend.backgroundColor,
759
767
  color: a.value.style.chart.legend.color,
760
768
  fontSize: a.value.style.chart.legend.fontSize,
761
769
  paddingBottom: 12,
762
770
  fontWeight: a.value.style.chart.legend.bold ? "bold" : ""
763
- })), se = b(() => {
771
+ })), ie = x(() => {
764
772
  const e = [""].concat(h.value.map((c) => c.name)).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>');
765
773
  let t = [];
766
- for (let c = 0; c < O.value; c += 1) {
767
- const f = h.value.map((n) => n.series[c] ?? 0).reduce((n, g) => n + g, 0);
768
- t.push([a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[c] ?? c + 1].concat(h.value.map((n) => (n.series[c] ?? 0).toFixed(a.value.table.rounding))).concat((f ?? 0).toFixed(a.value.table.rounding)));
774
+ for (let c = 0; c < $.value; c += 1) {
775
+ const g = h.value.map((n) => n.series[c] ?? 0).reduce((n, p) => n + p, 0);
776
+ t.push([a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[c] ?? c + 1].concat(h.value.map((n) => (n.series[c] ?? 0).toFixed(a.value.table.rounding))).concat((g ?? 0).toFixed(a.value.table.rounding)));
769
777
  }
770
778
  const o = {
771
779
  th: {
@@ -779,9 +787,9 @@ const ll = ["id"], tl = ["onClick"], ol = {
779
787
  outline: a.value.table.td.outline
780
788
  },
781
789
  breakpoint: a.value.table.responsiveBreakpoint
782
- }, i = [a.value.table.columnNames.period].concat(h.value.map((c) => c.name)).concat(a.value.table.columnNames.total);
783
- return { head: e, body: t.slice(0, r.value.end - r.value.start), config: o, colNames: i };
784
- }), Xe = b(() => {
790
+ }, v = [a.value.table.columnNames.period].concat(h.value.map((c) => c.name)).concat(a.value.table.columnNames.total);
791
+ return { head: e, body: t.slice(0, r.value.end - r.value.start), config: o, colNames: v };
792
+ }), Ze = x(() => {
785
793
  if (h.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
786
794
  const e = h.value.map((o) => ({
787
795
  label: o.name,
@@ -789,61 +797,61 @@ const ll = ["id"], tl = ["onClick"], ol = {
789
797
  type: o.type
790
798
  })), t = [];
791
799
  for (let o = r.value.start; o < r.value.end; o += 1) {
792
- const i = [a.value.style.chart.grid.y.timeLabels.values[o] || o + 1];
800
+ const v = [a.value.style.chart.grid.y.timeLabels.values[o] || o + 1];
793
801
  h.value.forEach((c) => {
794
- i.push(Number((c.series[o] || 0).toFixed(a.value.table.rounding)));
795
- }), t.push(i);
802
+ v.push(Number((c.series[o] || 0).toFixed(a.value.table.rounding)));
803
+ }), t.push(v);
796
804
  }
797
805
  return { head: e, body: t };
798
806
  });
799
- function Ye() {
800
- const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], t = ["", ...Xe.value.head.map((f) => f.label)], o = Xe.value.body, i = e.concat([t]).concat(o), c = _a(i);
801
- Da({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
807
+ function Ge() {
808
+ const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], t = ["", ...Ze.value.head.map((g) => g.label)], o = Ze.value.body, v = e.concat([t]).concat(o), c = Xa(v);
809
+ Ya({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
802
810
  }
803
- function ba() {
811
+ function Ca() {
804
812
  return h.value;
805
813
  }
806
- function Be() {
814
+ function Ve() {
807
815
  u.value.showTable = !u.value.showTable;
808
816
  }
809
- function Ue() {
817
+ function je() {
810
818
  u.value.showDataLabels = !u.value.showDataLabels;
811
819
  }
812
- function Ze() {
820
+ function qe() {
813
821
  u.value.stacked = !u.value.stacked;
814
822
  }
815
- function Ge() {
823
+ function Je() {
816
824
  u.value.showTooltip = !u.value.showTooltip;
817
825
  }
818
- const ne = v(!1);
819
- function me() {
820
- ne.value = !ne.value;
826
+ const ve = i(!1);
827
+ function Le() {
828
+ ve.value = !ve.value;
821
829
  }
822
- return aa({
823
- getData: ba,
824
- generateCsv: Ye,
825
- generatePdf: Fe,
826
- generateImage: Ee,
827
- toggleTable: Be,
828
- toggleLabels: Ue,
829
- toggleStack: Ze,
830
- toggleTooltip: Ge,
831
- toggleAnnotator: me
832
- }), (e, t) => (S(), q("div", {
833
- style: J(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
830
+ return oa({
831
+ getData: Ca,
832
+ generateCsv: Ge,
833
+ generatePdf: _e,
834
+ generateImage: Ae,
835
+ toggleTable: Ve,
836
+ toggleLabels: je,
837
+ toggleStack: qe,
838
+ toggleTooltip: Je,
839
+ toggleAnnotator: Le
840
+ }), (e, t) => (z(), J("div", {
841
+ style: K(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
834
842
  ref_key: "xy",
835
- ref: U,
836
- id: `xy_canvas_${ie.value}`,
837
- class: Ca(`vue-ui-donut ${ce.value ? "vue-data-ui-wrapper-fullscreen" : ""}`)
843
+ ref: Z,
844
+ id: `xy_canvas_${he.value}`,
845
+ class: $a(`vue-ui-donut ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""}`)
838
846
  }, [
839
- a.value.style.chart.title.text ? (S(), q("div", {
847
+ a.value.style.chart.title.text ? (z(), J("div", {
840
848
  key: 0,
841
849
  ref_key: "chartTitle",
842
- ref: $e,
843
- style: J(`width:100%;background:${a.value.style.chart.backgroundColor};`)
850
+ ref: Te,
851
+ style: K(`width:100%;background:${a.value.style.chart.backgroundColor};`)
844
852
  }, [
845
- (S(), F(Ga, {
846
- key: `title_${de.value}`,
853
+ (z(), F(Ja, {
854
+ key: `title_${fe.value}`,
847
855
  config: {
848
856
  title: {
849
857
  cy: "xy-canvas-title",
@@ -855,119 +863,119 @@ const ll = ["id"], tl = ["onClick"], ol = {
855
863
  }
856
864
  }
857
865
  }, null, 8, ["config"]))
858
- ], 4)) : _("", !0),
859
- a.value.userOptions.show && fe.value ? (S(), F(qa, {
866
+ ], 4)) : A("", !0),
867
+ a.value.userOptions.show && me.value ? (z(), F(el, {
860
868
  ref: "details",
861
- key: `user_option_${Se.value}`,
869
+ key: `user_option_${Ie.value}`,
862
870
  backgroundColor: a.value.style.chart.backgroundColor,
863
871
  color: a.value.style.chart.color,
864
- isPrinting: D(Ie),
865
- isImaging: D(Pe),
866
- uid: ie.value,
872
+ isPrinting: D(Ee),
873
+ isImaging: D(Ne),
874
+ uid: he.value,
867
875
  hasTooltip: a.value.userOptions.buttons.tooltip && a.value.style.chart.tooltip.show,
868
876
  hasPdf: a.value.userOptions.buttons.pdf,
869
877
  hasImg: a.value.userOptions.buttons.img,
870
878
  hasXls: a.value.userOptions.buttons.csv,
871
879
  hasLabel: a.value.userOptions.buttons.labels,
872
- hasStack: ke.dataset.length > 1 && a.value.userOptions.buttons.stack,
880
+ hasStack: ze.dataset.length > 1 && a.value.userOptions.buttons.stack,
873
881
  hasFullscreen: a.value.userOptions.buttons.fullscreen,
874
882
  hasTable: r.value.end - r.value.start < 200 && a.value.userOptions.buttons.table,
875
- isFullscreen: ce.value,
883
+ isFullscreen: re.value,
876
884
  isTooltip: u.value.showTooltip,
877
885
  isStacked: u.value.stacked,
878
886
  titles: { ...a.value.userOptions.buttonTitles },
879
- chartElement: U.value,
887
+ chartElement: Z.value,
880
888
  position: a.value.userOptions.position,
881
889
  hasAnnotator: a.value.userOptions.buttons.annotator,
882
- isAnnotation: ne.value,
883
- onToggleFullscreen: oa,
884
- onGeneratePdf: D(Fe),
885
- onGenerateCsv: Ye,
886
- onGenerateImage: D(Ee),
887
- onToggleTable: Be,
888
- onToggleLabels: Ue,
889
- onToggleStack: Ze,
890
- onToggleTooltip: Ge,
891
- onToggleAnnotator: me
892
- }, wa({ _: 2 }, [
890
+ isAnnotation: ve.value,
891
+ onToggleFullscreen: sa,
892
+ onGeneratePdf: D(_e),
893
+ onGenerateCsv: Ge,
894
+ onGenerateImage: D(Ae),
895
+ onToggleTable: Ve,
896
+ onToggleLabels: je,
897
+ onToggleStack: qe,
898
+ onToggleTooltip: Je,
899
+ onToggleAnnotator: Le
900
+ }, Ia({ _: 2 }, [
893
901
  e.$slots.optionTooltip ? {
894
902
  name: "optionTooltip",
895
- fn: m(() => [
896
- x(e.$slots, "optionTooltip", {}, void 0, !0)
903
+ fn: b(() => [
904
+ L(e.$slots, "optionTooltip", {}, void 0, !0)
897
905
  ]),
898
906
  key: "0"
899
907
  } : void 0,
900
908
  e.$slots.optionPdf ? {
901
909
  name: "optionPdf",
902
- fn: m(() => [
903
- x(e.$slots, "optionPdf", {}, void 0, !0)
910
+ fn: b(() => [
911
+ L(e.$slots, "optionPdf", {}, void 0, !0)
904
912
  ]),
905
913
  key: "1"
906
914
  } : void 0,
907
915
  e.$slots.optionCsv ? {
908
916
  name: "optionCsv",
909
- fn: m(() => [
910
- x(e.$slots, "optionCsv", {}, void 0, !0)
917
+ fn: b(() => [
918
+ L(e.$slots, "optionCsv", {}, void 0, !0)
911
919
  ]),
912
920
  key: "2"
913
921
  } : void 0,
914
922
  e.$slots.optionImg ? {
915
923
  name: "optionImg",
916
- fn: m(() => [
917
- x(e.$slots, "optionImg", {}, void 0, !0)
924
+ fn: b(() => [
925
+ L(e.$slots, "optionImg", {}, void 0, !0)
918
926
  ]),
919
927
  key: "3"
920
928
  } : void 0,
921
929
  e.$slots.optionTable ? {
922
930
  name: "optionTable",
923
- fn: m(() => [
924
- x(e.$slots, "optionTable", {}, void 0, !0)
931
+ fn: b(() => [
932
+ L(e.$slots, "optionTable", {}, void 0, !0)
925
933
  ]),
926
934
  key: "4"
927
935
  } : void 0,
928
936
  e.$slots.optionLabels ? {
929
937
  name: "optionLabels",
930
- fn: m(() => [
931
- x(e.$slots, "optionLabels", {}, void 0, !0)
938
+ fn: b(() => [
939
+ L(e.$slots, "optionLabels", {}, void 0, !0)
932
940
  ]),
933
941
  key: "5"
934
942
  } : void 0,
935
943
  e.$slots.optionStack ? {
936
944
  name: "optionStack",
937
- fn: m(() => [
938
- x(e.$slots, "optionStack", {}, void 0, !0)
945
+ fn: b(() => [
946
+ L(e.$slots, "optionStack", {}, void 0, !0)
939
947
  ]),
940
948
  key: "6"
941
949
  } : void 0,
942
950
  e.$slots.optionFullscreen ? {
943
951
  name: "optionFullscreen",
944
- fn: m(({ toggleFullscreen: o, isFullscreen: i }) => [
945
- x(e.$slots, "optionFullscreen", Y(B({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
952
+ fn: b(({ toggleFullscreen: o, isFullscreen: v }) => [
953
+ L(e.$slots, "optionFullscreen", B(U({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
946
954
  ]),
947
955
  key: "7"
948
956
  } : void 0,
949
957
  e.$slots.optionAnnotator ? {
950
958
  name: "optionAnnotator",
951
- fn: m(({ toggleAnnotator: o, isAnnotator: i }) => [
952
- x(e.$slots, "optionAnnotator", Y(B({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
959
+ fn: b(({ toggleAnnotator: o, isAnnotator: v }) => [
960
+ L(e.$slots, "optionAnnotator", B(U({ toggleAnnotator: o, isAnnotator: v })), void 0, !0)
953
961
  ]),
954
962
  key: "8"
955
963
  } : void 0
956
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : _("", !0),
957
- K("div", {
964
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : A("", !0),
965
+ Q("div", {
958
966
  class: "vue-ui-xy-canvas",
959
- style: J(`position: relative; aspect-ratio: ${Oe.value}`),
967
+ style: K(`position: relative; aspect-ratio: ${Fe.value}`),
960
968
  ref_key: "container",
961
- ref: Z
969
+ ref: G
962
970
  }, [
963
- fe.value ? (S(), q("canvas", {
971
+ me.value ? (z(), J("canvas", {
964
972
  key: 0,
965
973
  ref_key: "canvas",
966
- ref: z,
974
+ ref: I,
967
975
  style: { width: "100%", height: "100%" },
968
- onMousemove: t[0] || (t[0] = (o) => ga(o)),
969
- onMouseleave: pa
970
- }, null, 544)) : (S(), F(Qa, {
976
+ onMousemove: t[0] || (t[0] = (o) => xa(o)),
977
+ onMouseleave: La
978
+ }, null, 544)) : (z(), F(tl, {
971
979
  key: 1,
972
980
  config: {
973
981
  type: "line",
@@ -985,8 +993,8 @@ const ll = ["id"], tl = ["onClick"], ol = {
985
993
  }
986
994
  }
987
995
  }, null, 8, ["config"])),
988
- Sa(Ua, {
989
- show: u.value.showTooltip && le.value,
996
+ Ta(ja, {
997
+ show: u.value.showTooltip && te.value,
990
998
  backgroundColor: a.value.style.chart.tooltip.backgroundColor,
991
999
  color: a.value.style.chart.tooltip.color,
992
1000
  fontSize: a.value.style.chart.tooltip.fontSize,
@@ -995,28 +1003,31 @@ const ll = ["id"], tl = ["onClick"], ol = {
995
1003
  borderWidth: a.value.style.chart.tooltip.borderWidth,
996
1004
  position: a.value.style.chart.tooltip.position,
997
1005
  offsetY: a.value.style.chart.tooltip.offsetY,
998
- parent: z.value,
999
- content: te.value,
1006
+ parent: I.value,
1007
+ content: oe.value,
1008
+ isFullscreen: re.value,
1000
1009
  backgroundOpacity: a.value.style.chart.tooltip.backgroundOpacity,
1001
- isCustom: D(Je)(a.value.style.chart.tooltip.customFormat)
1010
+ isCustom: D(ea)(a.value.style.chart.tooltip.customFormat)
1002
1011
  }, {
1003
- "tooltip-before": m(() => [
1004
- x(e.$slots, "tooltip-before", Y(B({ ...Ce.value })), void 0, !0)
1012
+ "tooltip-before": b(() => [
1013
+ L(e.$slots, "tooltip-before", B(U({ ...Se.value })), void 0, !0)
1005
1014
  ]),
1006
- "tooltip-after": m(() => [
1007
- x(e.$slots, "tooltip-after", Y(B({ ...Ce.value })), void 0, !0)
1015
+ "tooltip-after": b(() => [
1016
+ L(e.$slots, "tooltip-after", B(U({ ...Se.value })), void 0, !0)
1008
1017
  ]),
1009
1018
  _: 3
1010
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "backgroundOpacity", "isCustom"])
1019
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom"])
1011
1020
  ], 4),
1012
- K("div", {
1021
+ Q("div", {
1013
1022
  ref_key: "chartSlicer",
1014
- ref: Me,
1015
- style: J(`width:100%;background:${a.value.style.chart.backgroundColor}`),
1023
+ ref: Pe,
1024
+ style: K(`width:100%;background:${a.value.style.chart.backgroundColor}`),
1016
1025
  "data-html2canvas-ignore": ""
1017
1026
  }, [
1018
- a.value.style.chart.zoom.show && O.value > 1 ? (S(), F(Va, {
1019
- key: `slicer_${we.value}`,
1027
+ a.value.style.chart.zoom.show && $.value > 1 ? (z(), F(Ka, {
1028
+ ref_key: "slicerComponent",
1029
+ ref: Y,
1030
+ key: `slicer_${$e.value}`,
1020
1031
  background: a.value.style.chart.zoom.color,
1021
1032
  borderColor: a.value.style.chart.backgroundColor,
1022
1033
  fontSize: a.value.style.chart.zoom.fontSize,
@@ -1026,7 +1037,7 @@ const ll = ["id"], tl = ["onClick"], ol = {
1026
1037
  textColor: a.value.style.chart.color,
1027
1038
  inputColor: a.value.style.chart.zoom.color,
1028
1039
  selectColor: a.value.style.chart.zoom.highlightColor,
1029
- max: O.value,
1040
+ max: $.value,
1030
1041
  min: 0,
1031
1042
  valueStart: r.value.start,
1032
1043
  valueEnd: r.value.end,
@@ -1034,48 +1045,50 @@ const ll = ["id"], tl = ["onClick"], ol = {
1034
1045
  "onUpdate:start": t[1] || (t[1] = (o) => r.value.start = o),
1035
1046
  end: r.value.end,
1036
1047
  "onUpdate:end": t[2] || (t[2] = (o) => r.value.end = o),
1037
- onReset: _e
1048
+ refreshStartPoint: a.value.style.chart.zoom.startIndex !== null ? a.value.style.chart.zoom.startIndex : 0,
1049
+ refreshEndPoint: a.value.style.chart.zoom.endIndex !== null ? a.value.style.chart.zoom.endIndex + 1 : $.value,
1050
+ onReset: We
1038
1051
  }, {
1039
- "reset-action": m(({ reset: o }) => [
1040
- x(e.$slots, "reset-action", Y(B({ reset: o })), void 0, !0)
1052
+ "reset-action": b(({ reset: o }) => [
1053
+ L(e.$slots, "reset-action", B(U({ reset: o })), void 0, !0)
1041
1054
  ]),
1042
1055
  _: 3
1043
- }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : _("", !0)
1056
+ }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : A("", !0)
1044
1057
  ], 4),
1045
- K("div", {
1058
+ Q("div", {
1046
1059
  ref_key: "chartLegend",
1047
- ref: ze
1060
+ ref: Me
1048
1061
  }, [
1049
- a.value.style.chart.legend.show && fe.value ? (S(), F(Za, {
1050
- legendSet: We.value,
1051
- config: ma.value,
1052
- key: `legend_${ye.value}`,
1053
- onClickMarker: t[3] || (t[3] = ({ i: o }) => He(o))
1062
+ a.value.style.chart.legend.show && me.value ? (z(), F(qa, {
1063
+ legendSet: Ue.value,
1064
+ config: ka.value,
1065
+ key: `legend_${pe.value}`,
1066
+ onClickMarker: t[3] || (t[3] = ({ i: o }) => Be(o))
1054
1067
  }, {
1055
- item: m(({ legend: o, index: i }) => [
1056
- K("div", {
1068
+ item: b(({ legend: o, index: v }) => [
1069
+ Q("div", {
1057
1070
  onClick: (c) => o.segregate(),
1058
- style: J(`opacity:${$.value.includes(i) ? 0.5 : 1}`)
1059
- }, Ve(o.name), 13, tl)
1071
+ style: K(`opacity:${S.value.includes(v) ? 0.5 : 1}`)
1072
+ }, Ke(o.name), 13, sl)
1060
1073
  ]),
1061
1074
  _: 1
1062
- }, 8, ["legendSet", "config"])) : x(e.$slots, "legend", {
1075
+ }, 8, ["legendSet", "config"])) : L(e.$slots, "legend", {
1063
1076
  key: 1,
1064
- legend: We.value
1077
+ legend: Ue.value
1065
1078
  }, void 0, !0)
1066
1079
  ], 512),
1067
- e.$slots.watermark ? (S(), q("div", ol, [
1068
- x(e.$slots, "watermark", Y(B({ isPrinting: D(Ie) || D(Pe) })), void 0, !0)
1069
- ])) : _("", !0),
1070
- e.$slots.source ? (S(), q("div", {
1080
+ e.$slots.watermark ? (z(), J("div", nl, [
1081
+ L(e.$slots, "watermark", B(U({ isPrinting: D(Ee) || D(Ne) })), void 0, !0)
1082
+ ])) : A("", !0),
1083
+ e.$slots.source ? (z(), J("div", {
1071
1084
  key: 3,
1072
1085
  ref_key: "source",
1073
- ref: Te,
1086
+ ref: Re,
1074
1087
  dir: "auto"
1075
1088
  }, [
1076
- x(e.$slots, "source", {}, void 0, !0)
1077
- ], 512)) : _("", !0),
1078
- r.value.end - r.value.start < 200 ? (S(), F(Ja, {
1089
+ L(e.$slots, "source", {}, void 0, !0)
1090
+ ], 512)) : A("", !0),
1091
+ r.value.end - r.value.start < 200 ? (z(), F(al, {
1079
1092
  key: 4,
1080
1093
  hideDetails: "",
1081
1094
  config: {
@@ -1091,38 +1104,38 @@ const ll = ["id"], tl = ["onClick"], ol = {
1091
1104
  }
1092
1105
  }
1093
1106
  }, {
1094
- content: m(() => [
1095
- (S(), F(Ka, {
1096
- key: `table_${he.value}`,
1097
- colNames: se.value.colNames,
1098
- head: se.value.head,
1099
- body: se.value.body,
1100
- config: se.value.config,
1107
+ content: b(() => [
1108
+ (z(), F(ll, {
1109
+ key: `table_${ge.value}`,
1110
+ colNames: ie.value.colNames,
1111
+ head: ie.value.head,
1112
+ body: ie.value.body,
1113
+ config: ie.value.config,
1101
1114
  title: `${a.value.style.chart.title.text}${a.value.style.chart.title.subtitle.text ? ` : ${a.value.style.chart.title.subtitle.text}` : ""}`,
1102
1115
  onClose: t[4] || (t[4] = (o) => u.value.showTable = !1)
1103
1116
  }, {
1104
- th: m(({ th: o }) => [
1105
- K("div", { innerHTML: o }, null, 8, rl)
1117
+ th: b(({ th: o }) => [
1118
+ Q("div", { innerHTML: o }, null, 8, il)
1106
1119
  ]),
1107
- td: m(({ td: o }) => [
1108
- $a(Ve(o), 1)
1120
+ td: b(({ td: o }) => [
1121
+ Ma(Ke(o), 1)
1109
1122
  ]),
1110
1123
  _: 1
1111
1124
  }, 8, ["colNames", "head", "body", "config", "title"]))
1112
1125
  ]),
1113
1126
  _: 1
1114
- }, 8, ["config"])) : _("", !0),
1115
- a.value.userOptions.buttons.annotator && h.value.length ? (S(), F(el, {
1127
+ }, 8, ["config"])) : A("", !0),
1128
+ a.value.userOptions.buttons.annotator && h.value.length ? (z(), F(ol, {
1116
1129
  key: 5,
1117
- parent: U.value,
1130
+ parent: Z.value,
1118
1131
  backgroundColor: a.value.style.chart.backgroundColor,
1119
1132
  color: a.value.style.chart.color,
1120
- active: ne.value,
1121
- onClose: me
1122
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : _("", !0)
1123
- ], 14, ll));
1133
+ active: ve.value,
1134
+ onClose: Le
1135
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : A("", !0)
1136
+ ], 14, ul));
1124
1137
  }
1125
- }, Ll = /* @__PURE__ */ al(ul, [["__scopeId", "data-v-1359e2b5"]]);
1138
+ }, zl = /* @__PURE__ */ rl(vl, [["__scopeId", "data-v-a8e374ca"]]);
1126
1139
  export {
1127
- Ll as default
1140
+ zl as default
1128
1141
  };