vue-data-ui 2.4.2 → 2.4.3

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 (194) hide show
  1. package/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
  2. package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  3. package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
  4. package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
  5. package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
  6. package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
  7. package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  8. package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
  9. package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  10. package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
  11. package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
  12. package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
  13. package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
  14. package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
  15. package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
  16. package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  17. package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  18. package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
  19. package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  20. package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
  21. package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
  22. package/dist/index-eFox7weK.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -1
  25. package/dist/types/vue-data-ui.d.ts +4 -1
  26. package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-B33hazbH.js} +1 -1
  27. package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  28. package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
  29. package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
  30. package/dist/useResponsive-BY8tgM1n.js +188 -0
  31. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  32. package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
  33. package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.js} +58 -58
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
  37. package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
  38. package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  39. package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
  41. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  42. package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  43. package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
  45. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  46. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  47. package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
  48. package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  49. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  50. package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
  51. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  52. package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  54. package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  56. package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  57. package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  58. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  59. package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
  60. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  61. package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
  62. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  63. package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
  64. package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
  65. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
  67. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  68. package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
  69. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  70. package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  72. package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
  73. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  74. package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  75. package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
  79. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
  81. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  82. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  83. package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
  84. package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
  85. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  86. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  87. package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
  88. package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
  89. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
  91. package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
  92. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  93. package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
  94. package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  95. package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  96. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
  98. package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
  99. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  100. package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
  101. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  102. package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  104. package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  105. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  106. package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  108. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  109. package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  110. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  111. package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  112. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  113. package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  114. package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  115. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  116. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  118. package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  119. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  120. package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
  121. package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
  122. package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
  123. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  124. package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
  125. package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  127. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  128. package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  129. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
  131. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  132. package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  133. package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  134. package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
  135. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  136. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  137. package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
  138. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  139. package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
  140. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  141. package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
  142. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  143. package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
  144. package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
  145. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  146. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  147. package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
  148. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  149. package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
  150. package/package.json +1 -1
  151. package/dist/index-FfZRtJ6A.cjs +0 -9
  152. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  153. package/dist/useResponsive-NZB-WLRF.js +0 -187
  154. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
  155. package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
  156. package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
  157. package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
  158. package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
  159. package/dist/vue-ui-donut-CplNylps.cjs +0 -1
  160. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
  161. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
  162. package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
  163. package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
  164. package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
  165. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
  166. package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
  167. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
  168. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
  169. package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
  170. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
  171. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
  172. package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
  174. package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
  175. package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
  176. package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
  177. package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
  178. package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
  179. package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
  180. package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
  181. package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
  182. package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
  183. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
  184. package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
  185. package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
  186. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
  187. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
  188. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
  189. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
  190. package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
  191. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
  192. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
  193. package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
  194. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
@@ -1,21 +1,21 @@
1
- import { ref as v, computed as m, watch as W, onMounted as ma, onBeforeUnmount as xa, openBlock as w, createElementBlock as ne, normalizeStyle as q, normalizeClass as La, createBlock as P, createCommentVNode as Y, unref as _, createSlots as ka, withCtx as b, renderSlot as k, normalizeProps as B, guardReactiveProps as X, createElementVNode as J, createVNode as Ca, toDisplayString as Ge, createTextVNode as wa } from "vue";
2
- import { u as Sa, c as $a, t as za, a as Ta, p as A, b as Ma, C as ge, i as K, f as Q, I as Ra, d as Ve, $ as Ia, o as Oa, e as Pa, x as je, y as Fa, q as Ea, r as Na, s as ee, l as _a } from "./index-DnVHQ2xI.js";
3
- import { d as Aa, c as Da, a as qe, t as Ha, l as C, r as pe, b as F, p as Je, u as Wa } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Ya } from "./Tooltip-Cj4EF7v1.js";
5
- import { L as Ba } from "./Legend-CYF2gpXG.js";
6
- import { _ as Xa } from "./Title-5VmBwT4i.js";
7
- import { S as Ua } from "./Slicer-CU7dRZR0.js";
8
- import { u as Za, U as Ga } from "./usePrinter-BEeNAqS5.js";
9
- import Va from "./vue-ui-accordion-DspS4q3f.js";
10
- import { D as ja } from "./DataTable-DTk7C4Pr.js";
11
- import qa from "./vue-ui-skeleton-aZmkNzAe.js";
12
- import { u as Ke } from "./useNestedProp-Cox0K0Y5.js";
13
- import { P as Ja } from "./PenAndPaper-Jb0pLt3G.js";
14
- import { _ as Ka } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Qa = ["id"], et = ["onClick"], at = {
1
+ import { ref as v, computed as m, watch as Y, onMounted as xa, onBeforeUnmount as La, openBlock as C, createElementBlock as q, normalizeStyle as J, normalizeClass as ka, createBlock as P, createCommentVNode as _, unref as A, createSlots as Ca, withCtx as b, renderSlot as x, normalizeProps as B, guardReactiveProps as X, createElementVNode as K, createVNode as wa, toDisplayString as Ve, createTextVNode as Sa } from "vue";
2
+ import { u as $a, c as za, t as Ta, a as Ma, p as D, b as Ra, C as ge, i as Q, f as ee, I as Ia, d as je, $ as Oa, o as Pa, e as Fa, x as qe, y as Ea, q as Na, r as _a, s as ae, l as Aa } from "./index-Bya_q1J-.js";
3
+ import { d as Da, c as Ha, a as Je, t as Wa, l as w, r as pe, b as F, p as Ke, u as Ya } from "./useResponsive-BY8tgM1n.js";
4
+ import { _ as Ba } from "./Tooltip-Cz24YLfw.js";
5
+ import { L as Xa } from "./Legend-DNgTCgEK.js";
6
+ import { _ as Ua } from "./Title-C5pIfQAz.js";
7
+ import { S as Za } from "./Slicer-TfpN2Cr4.js";
8
+ import { u as Ga, U as Va } from "./usePrinter-CiHd1FwD.js";
9
+ import ja from "./vue-ui-accordion-DfUfL2dI.js";
10
+ import { D as qa } from "./DataTable-DYqC2pqu.js";
11
+ import Ja from "./vue-ui-skeleton-BYssP0K4.js";
12
+ import { u as Qe } from "./useNestedProp-B33hazbH.js";
13
+ import { P as Ka } from "./PenAndPaper-DAZYA8Ew.js";
14
+ import { _ as Qa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const et = ["id"], at = ["onClick"], tt = {
16
16
  key: 2,
17
17
  class: "vue-data-ui-watermark"
18
- }, tt = ["innerHTML"], lt = {
18
+ }, lt = ["innerHTML"], ot = {
19
19
  __name: "vue-ui-xy-canvas",
20
20
  props: {
21
21
  dataset: {
@@ -32,28 +32,28 @@ const Qa = ["id"], et = ["onClick"], at = {
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend"],
35
- setup(be, { expose: Qe, emit: ea }) {
36
- const E = be, { vue_ui_xy_canvas: aa } = Sa(), ie = v($a()), U = v(null), $ = v(null), Z = v(null), s = v(null), f = v(1), M = v(1), ae = v(!1), d = v(null), te = v(""), me = v(null), S = v([]), D = v(1), N = v(!0), z = v(!0), ve = v(null), xe = v(0), Le = v(0), ce = v(!1), ke = v(null), Ce = v(null), we = v(null), Se = v(0), $e = v(0), ze = v(0), de = m(() => !!E.dataset && E.dataset.length), a = m({
37
- get: () => Te(),
35
+ setup(be, { expose: ea, emit: aa }) {
36
+ const E = be, { vue_ui_xy_canvas: ta } = $a(), ie = v(za()), U = v(null), $ = v(null), Z = v(null), s = v(null), f = v(1), M = v(1), te = v(!1), d = v(null), le = v(""), me = v(null), S = v([]), H = v(1), N = v(!0), z = v(!0), ve = v(null), xe = v(0), Le = v(0), ce = v(!1), ke = v(null), Ce = v(null), we = v(null), Se = v(null), $e = v(0), ze = v(0), Te = v(0), de = m(() => !!E.dataset && E.dataset.length), a = m({
37
+ get: () => Me(),
38
38
  set: (e) => e
39
39
  });
40
- function Te() {
41
- const e = Ke({
40
+ function Me() {
41
+ const e = Qe({
42
42
  userConfig: E.config,
43
- defaultConfig: aa
43
+ defaultConfig: ta
44
44
  });
45
45
  return e.theme ? {
46
- ...Ke({
47
- userConfig: za.vue_ui_xy_canvas[e.theme] || E.config,
46
+ ...Qe({
47
+ userConfig: Ta.vue_ui_xy_canvas[e.theme] || E.config,
48
48
  defaultConfig: e
49
49
  }),
50
- customPalette: Ta[e.theme] || A
50
+ customPalette: Ma[e.theme] || D
51
51
  } : e;
52
52
  }
53
- W(() => E.config, (e) => {
54
- a.value = Te(), Ae(), Se.value += 1, $e.value += 1, ze.value += 1;
53
+ Y(() => E.config, (e) => {
54
+ a.value = Me(), De(), $e.value += 1, ze.value += 1, Te.value += 1;
55
55
  }, { deep: !0 });
56
- const Me = v(a.value.style.chart.aspectRatio), { isPrinting: Re, isImaging: Ie, generatePdf: Oe, generateImage: Pe } = Za({
56
+ const Re = v(a.value.style.chart.aspectRatio), { isPrinting: Ie, isImaging: Oe, generatePdf: Pe, generateImage: Fe } = Ga({
57
57
  elementId: `xy_canvas_${ie.value}`,
58
58
  fileName: a.value.style.chart.title.text || "vue-ui-xy-canvas"
59
59
  }), u = v({
@@ -62,10 +62,10 @@ const Qa = ["id"], et = ["onClick"], at = {
62
62
  stacked: a.value.style.chart.stacked,
63
63
  showTooltip: a.value.style.chart.tooltip.show
64
64
  });
65
- function ta(e) {
65
+ function la(e) {
66
66
  ce.value = e, Le.value += 1;
67
67
  }
68
- const Fe = m(() => Ma(a.value.customPalette)), R = m(() => H.value ? Math.max(...H.value.filter((e, l) => !S.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), t = m(() => {
68
+ const Ee = m(() => Ra(a.value.customPalette)), R = m(() => W.value ? Math.max(...W.value.filter((e, l) => !S.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), t = m(() => {
69
69
  const e = f.value - f.value * (a.value.style.chart.paddingProportions.left + a.value.style.chart.paddingProportions.right);
70
70
  return {
71
71
  canvasWidth: f.value,
@@ -79,24 +79,24 @@ const Qa = ["id"], et = ["onClick"], at = {
79
79
  slot: e / (r.value.end - r.value.start)
80
80
  };
81
81
  });
82
- function Ee(e, l) {
82
+ function Ne(e, l) {
83
83
  return e / l;
84
84
  }
85
- function la({ hasAutoScale: e, series: l, min: o, max: i, scale: c, yOffset: y, individualHeight: n, stackIndex: g = null }) {
86
- return l.map((L, ye) => {
87
- const T = c.min < 0 ? Math.abs(c.min) : 0, I = Ee(L + T, T + c.max);
85
+ function oa({ hasAutoScale: e, series: l, min: o, max: i, scale: c, yOffset: y, individualHeight: n, stackIndex: g = null }) {
86
+ return l.map((k, ye) => {
87
+ const T = c.min < 0 ? Math.abs(c.min) : 0, I = Ne(k + T, T + c.max);
88
88
  let O, G;
89
- e && (O = Math.abs(c.min), G = Ee(L + O, c.max + O));
89
+ e && (O = Math.abs(c.min), G = Ne(k + O, c.max + O));
90
90
  let V = 0;
91
91
  return g === null ? V = t.value.bottom - t.value.height * (e ? G : I) : V = t.value.bottom - y - n * (e ? G : I), {
92
92
  x: t.value.left + t.value.slot * ye + t.value.slot / 2,
93
93
  y: V,
94
- value: L
94
+ value: k
95
95
  };
96
96
  });
97
97
  }
98
98
  const p = m(() => {
99
- const e = Math.min(...H.value.filter((n, g) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), l = Math.max(...H.value.filter((n, g) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), o = ge(e < 0 ? e : 0, l === e ? e + 1 < 0 ? 0 : e + 1 : l < 0 ? 0 : l, a.value.style.chart.scale.ticks), i = o.min < 0 ? Math.abs(o.min) : 0, c = t.value.bottom - t.value.height * (i / (o.max + i)), y = o.ticks.map((n) => ({
99
+ const e = Math.min(...W.value.filter((n, g) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), l = Math.max(...W.value.filter((n, g) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), o = ge(e < 0 ? e : 0, l === e ? e + 1 < 0 ? 0 : e + 1 : l < 0 ? 0 : l, a.value.style.chart.scale.ticks), i = o.min < 0 ? Math.abs(o.min) : 0, c = t.value.bottom - t.value.height * (i / (o.max + i)), y = o.ticks.map((n) => ({
100
100
  y: t.value.bottom - t.value.height * ((n + i) / (o.max + i)),
101
101
  x: t.value.left - 8,
102
102
  value: n
@@ -109,16 +109,16 @@ const Qa = ["id"], et = ["onClick"], at = {
109
109
  yLabels: y,
110
110
  zero: c
111
111
  };
112
- }), oa = m(() => h.value.map((e) => `
112
+ }), ra = m(() => h.value.map((e) => `
113
113
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
114
114
  <svg viewBox="0 0 10 10" height="12" width="12">
115
115
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
116
116
  </svg>
117
117
  <span>${e.name ? e.name + ": " : ""}</span>
118
- <span>${K(
118
+ <span>${Q(
119
119
  a.value.style.chart.dataLabels.formatter,
120
120
  e.series[d.value],
121
- Q({
121
+ ee({
122
122
  p: e.prefix || "",
123
123
  v: e.series[d.value],
124
124
  s: e.suffix || "",
@@ -127,16 +127,16 @@ const Qa = ["id"], et = ["onClick"], at = {
127
127
  { datapoint: e, seriesIndex: d.value }
128
128
  )}</span>
129
129
  </div>
130
- `)), H = m(() => E.dataset.map((e, l) => ({
130
+ `)), W = m(() => E.dataset.map((e, l) => ({
131
131
  ...e,
132
- series: Ra(e.series),
132
+ series: Ia(e.series),
133
133
  absoluteIndex: l,
134
- color: Ve(e.color || Fe.value[l] || A[l] || A[l % A.length])
134
+ color: je(e.color || Ee.value[l] || D[l] || D[l % D.length])
135
135
  })));
136
- W(R, (e) => {
137
- e && Ne();
136
+ Y(R, (e) => {
137
+ e && _e();
138
138
  });
139
- const h = m(() => Ia(H.value.filter((e, l) => !S.value.includes(e.absoluteIndex))).map((e, l) => ({
139
+ const h = m(() => Oa(W.value.filter((e, l) => !S.value.includes(e.absoluteIndex))).map((e, l) => ({
140
140
  ...e,
141
141
  series: e.series.slice(r.value.start, r.value.end)
142
142
  })).map((e, l) => {
@@ -149,20 +149,20 @@ const Qa = ["id"], et = ["onClick"], at = {
149
149
  }, n = e.scaleSteps || a.value.style.chart.scale.ticks;
150
150
  let g;
151
151
  e.autoScaling ? g = ge(y.valueMin, y.valueMax, n) : g = ge(y.valueMin < 0 ? y.valueMin : 0, y.valueMax <= 0 ? 0 : y.valueMax, n);
152
- const L = u.value.stacked ? t.value.height * (1 - e.cumulatedStackRatio) : 0, ye = u.value.stacked ? t.value.height / a.value.style.chart.stackGap : 0, T = u.value.stacked ? t.value.height * e.stackRatio - ye : t.value.height, I = g.min < 0 ? Math.abs(g.min) : 0;
152
+ const k = u.value.stacked ? t.value.height * (1 - e.cumulatedStackRatio) : 0, ye = u.value.stacked ? t.value.height / a.value.style.chart.stackGap : 0, T = u.value.stacked ? t.value.height * e.stackRatio - ye : t.value.height, I = g.min < 0 ? Math.abs(g.min) : 0;
153
153
  let O;
154
- e.autoScaling && u.value.stacked && i <= 0 ? O = t.value.bottom - L - T : O = t.value.bottom - L - T * (I / (g.max + I));
155
- const G = g.ticks.map((j, ba) => ({
156
- y: t.value.bottom - L - T * (ba / (g.ticks.length - 1)),
154
+ e.autoScaling && u.value.stacked && i <= 0 ? O = t.value.bottom - k - T : O = t.value.bottom - k - T * (I / (g.max + I));
155
+ const G = g.ticks.map((j, ma) => ({
156
+ y: t.value.bottom - k - T * (ma / (g.ticks.length - 1)),
157
157
  x: t.value.left - 8,
158
158
  value: j
159
- })), V = la({
159
+ })), V = oa({
160
160
  hasAutoScale: u.value.stacked && e.autoScaling,
161
161
  series: e.series,
162
162
  min: u.value.stacked ? o : p.value.min,
163
163
  max: u.value.stacked ? i : p.value.max,
164
164
  scale: u.value.stacked ? g : p.value.scale,
165
- yOffset: L,
165
+ yOffset: k,
166
166
  individualHeight: T,
167
167
  stackIndex: u.value.stacked ? l : null
168
168
  });
@@ -175,31 +175,31 @@ const Qa = ["id"], et = ["onClick"], at = {
175
175
  localZero: O,
176
176
  localMin: I,
177
177
  localYLabels: G,
178
- yOffset: L,
178
+ yOffset: k,
179
179
  individualHeight: T
180
180
  };
181
181
  })), r = v({
182
182
  start: 0,
183
183
  end: R.value
184
184
  });
185
- function Ne() {
185
+ function _e() {
186
186
  r.value = {
187
187
  start: 0,
188
188
  end: R.value
189
189
  }, xe.value += 1;
190
190
  }
191
- const ra = m(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), x = m(() => h.value.filter((e) => e.type === "bar"));
192
- function ua() {
191
+ const ua = m(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), L = m(() => h.value.filter((e) => e.type === "bar"));
192
+ function sa() {
193
193
  if (!$.value)
194
194
  return;
195
195
  const e = Z.value.offsetWidth, l = Z.value.offsetHeight;
196
- $.value.width = e * D.value * 2, $.value.height = l * D.value * 2, f.value = e * D.value * 2, M.value = l * D.value * 2, s.value.scale(D.value, D.value), he();
196
+ $.value.width = e * H.value * 2, $.value.height = l * H.value * 2, f.value = e * H.value * 2, M.value = l * H.value * 2, s.value.scale(H.value, H.value), he();
197
197
  }
198
- function sa() {
198
+ function na() {
199
199
  if (s.value.clearRect(0, 0, 1e4, 1e4), s.value.fillStyle = a.value.style.chart.backgroundColor, s.value.fillRect(0, 0, t.value.canvasWidth, t.value.canvasHeight), u.value.stacked)
200
200
  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) => {
201
201
  for (let l = 0; l < r.value.end - r.value.start + 1; l += 1)
202
- C(
202
+ w(
203
203
  s.value,
204
204
  [
205
205
  {
@@ -226,14 +226,14 @@ const Qa = ["id"], et = ["onClick"], at = {
226
226
  { x: t.value.left, y: e.localYLabels[o + 1].y }
227
227
  ],
228
228
  {
229
- fillColor: o % 2 === 0 ? "transparent" : ee(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
229
+ fillColor: o % 2 === 0 ? "transparent" : ae(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
230
230
  strokeColor: "transparent"
231
231
  }
232
232
  );
233
233
  });
234
234
  }) : h.value.forEach((e) => {
235
235
  e.localYLabels.slice(r.value.start, r.value.end).forEach((l) => {
236
- C(
236
+ w(
237
237
  s.value,
238
238
  [
239
239
  { x: t.value.left, y: l.y },
@@ -245,7 +245,7 @@ const Qa = ["id"], et = ["onClick"], at = {
245
245
  );
246
246
  });
247
247
  })), a.value.style.chart.grid.zeroLine.show && h.value.forEach((e) => {
248
- C(
248
+ w(
249
249
  s.value,
250
250
  [
251
251
  { x: t.value.left, y: e.localZero },
@@ -257,7 +257,7 @@ const Qa = ["id"], et = ["onClick"], at = {
257
257
  }
258
258
  );
259
259
  }), a.value.style.chart.grid.y.axisLabels.show && h.value.forEach((e) => {
260
- C(
260
+ w(
261
261
  s.value,
262
262
  [
263
263
  { x: t.value.left, y: t.value.bottom - e.yOffset },
@@ -266,7 +266,7 @@ const Qa = ["id"], et = ["onClick"], at = {
266
266
  {
267
267
  color: e.color
268
268
  }
269
- ), C(
269
+ ), w(
270
270
  s.value,
271
271
  [
272
272
  { x: t.value.right, y: t.value.bottom - e.yOffset },
@@ -278,10 +278,10 @@ const Qa = ["id"], et = ["onClick"], at = {
278
278
  ), e.localYLabels.forEach((l, o) => {
279
279
  F(
280
280
  s.value,
281
- K(
281
+ Q(
282
282
  a.value.style.chart.dataLabels.formatter,
283
283
  l.value,
284
- Q({
284
+ ee({
285
285
  p: e.prefix || a.value.style.chart.grid.y.axisLabels.prefix || "",
286
286
  v: l.value,
287
287
  s: e.suffix || a.value.style.chart.grid.y.axisLabels.suffix || "",
@@ -315,7 +315,7 @@ const Qa = ["id"], et = ["onClick"], at = {
315
315
  else {
316
316
  if (a.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < a.value.style.chart.grid.y.verticalLines.hideUnderXLength)
317
317
  for (let e = 0; e < r.value.end - r.value.start + 1; e += 1)
318
- C(
318
+ w(
319
319
  s.value,
320
320
  [
321
321
  { x: t.value.left + t.value.slot * e, y: t.value.top },
@@ -335,12 +335,12 @@ const Qa = ["id"], et = ["onClick"], at = {
335
335
  { x: t.value.left, y: p.value.yLabels[l + 1].y }
336
336
  ],
337
337
  {
338
- fillColor: l % 2 === 0 ? "transparent" : ee(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
338
+ fillColor: l % 2 === 0 ? "transparent" : ae(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
339
339
  strokeColor: "transparent"
340
340
  }
341
341
  );
342
342
  }) : p.value.yLabels.forEach((e) => {
343
- C(
343
+ w(
344
344
  s.value,
345
345
  [
346
346
  { x: t.value.left, y: e.y },
@@ -350,7 +350,7 @@ const Qa = ["id"], et = ["onClick"], at = {
350
350
  color: a.value.style.chart.grid.x.horizontalLines.color
351
351
  }
352
352
  );
353
- })), a.value.style.chart.grid.y.showAxis && C(
353
+ })), a.value.style.chart.grid.y.showAxis && w(
354
354
  s.value,
355
355
  [
356
356
  { x: t.value.left, y: t.value.top },
@@ -360,7 +360,7 @@ const Qa = ["id"], et = ["onClick"], at = {
360
360
  color: a.value.style.chart.grid.y.axisColor,
361
361
  lineWidth: a.value.style.chart.grid.y.axisThickness
362
362
  }
363
- ), a.value.style.chart.grid.x.showAxis && C(
363
+ ), a.value.style.chart.grid.x.showAxis && w(
364
364
  s.value,
365
365
  [
366
366
  { x: t.value.left, y: t.value.bottom },
@@ -370,7 +370,7 @@ const Qa = ["id"], et = ["onClick"], at = {
370
370
  color: a.value.style.chart.grid.x.axisColor,
371
371
  lineWidth: a.value.style.chart.grid.x.axisThickness
372
372
  }
373
- ), a.value.style.chart.grid.zeroLine.show && C(
373
+ ), a.value.style.chart.grid.zeroLine.show && w(
374
374
  s.value,
375
375
  [
376
376
  { x: t.value.left, y: p.value.zero },
@@ -383,10 +383,10 @@ const Qa = ["id"], et = ["onClick"], at = {
383
383
  ), a.value.style.chart.grid.y.axisLabels.show && p.value.yLabels.forEach((e, l) => {
384
384
  F(
385
385
  s.value,
386
- K(
386
+ Q(
387
387
  a.value.style.chart.dataLabels.formatter,
388
388
  e.value,
389
- Q({
389
+ ee({
390
390
  p: a.value.style.chart.grid.y.axisLabels.prefix || "",
391
391
  v: e.value,
392
392
  s: a.value.style.chart.grid.y.axisLabels.suffix || "",
@@ -427,10 +427,10 @@ const Qa = ["id"], et = ["onClick"], at = {
427
427
  }
428
428
  );
429
429
  }
430
- function na(e) {
430
+ function ia(e) {
431
431
  for (let l = 0; l < e.coordinatesLine.length; l += 1) {
432
432
  const o = (d.value === l ? f.value / 150 : a.value.style.chart.line.plots.show ? f.value / 200 : 0) * a.value.style.chart.line.plots.radiusRatio;
433
- qe(
433
+ Je(
434
434
  s.value,
435
435
  { x: e.coordinatesLine[l].x, y: e.coordinatesLine[l].y },
436
436
  o,
@@ -442,14 +442,14 @@ const Qa = ["id"], et = ["onClick"], at = {
442
442
  );
443
443
  }
444
444
  }
445
- function ia(e) {
445
+ function va(e) {
446
446
  for (let l = 0; l < e.coordinatesLine.length; l += 1)
447
447
  F(
448
448
  s.value,
449
- K(
449
+ Q(
450
450
  a.value.style.chart.dataLabels.formatter,
451
451
  e.coordinatesLine[l].value,
452
- Q({
452
+ ee({
453
453
  p: e.prefix || "",
454
454
  v: e.coordinatesLine[l].value,
455
455
  s: e.suffix || "",
@@ -468,7 +468,7 @@ const Qa = ["id"], et = ["onClick"], at = {
468
468
  }
469
469
  );
470
470
  }
471
- function va() {
471
+ function ca() {
472
472
  for (let e = r.value.start; e < r.value.end; e += 1)
473
473
  (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)) && F(
474
474
  s.value,
@@ -478,13 +478,13 @@ const Qa = ["id"], et = ["onClick"], at = {
478
478
  {
479
479
  align: a.value.style.chart.grid.y.timeLabels.rotation === 0 ? "center" : a.value.style.chart.grid.y.timeLabels.rotation > 0 ? "left" : "right",
480
480
  font: `${Math.round(f.value / 40 * a.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
481
- color: ee(a.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + r.value.start === e ? 100 : 20 : 100),
481
+ color: ae(a.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + r.value.start === e ? 100 : 20 : 100),
482
482
  rotation: a.value.style.chart.grid.y.timeLabels.rotation
483
483
  }
484
484
  );
485
485
  }
486
- function _e() {
487
- C(
486
+ function Ae() {
487
+ w(
488
488
  s.value,
489
489
  [
490
490
  { x: t.value.left + t.value.slot * d.value + t.value.slot / 2, y: t.value.top },
@@ -498,26 +498,26 @@ const Qa = ["id"], et = ["onClick"], at = {
498
498
  }
499
499
  );
500
500
  }
501
- function ca() {
502
- x.value.forEach((e, l) => {
501
+ function da() {
502
+ L.value.forEach((e, l) => {
503
503
  for (let o = 0; o < e.coordinatesLine.length; o += 1)
504
504
  pe(
505
505
  s.value,
506
506
  [
507
507
  {
508
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / x.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * x.value.length) * l)),
508
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)),
509
509
  y: u.value.stacked ? e.localZero : p.value.zero
510
510
  },
511
511
  {
512
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / x.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * x.value.length) * l)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : x.value.length),
512
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : L.value.length),
513
513
  y: u.value.stacked ? e.localZero : p.value.zero
514
514
  },
515
515
  {
516
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / x.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * x.value.length) * l)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : x.value.length),
516
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : L.value.length),
517
517
  y: e.coordinatesLine[o].y
518
518
  },
519
519
  {
520
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / x.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * x.value.length) * l)),
520
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)),
521
521
  y: e.coordinatesLine[o].y
522
522
  }
523
523
  ],
@@ -535,16 +535,16 @@ const Qa = ["id"], et = ["onClick"], at = {
535
535
  },
536
536
  stops: [
537
537
  { offset: 0, color: e.color },
538
- { offset: 1, color: _a(e.color, 0.5) }
538
+ { offset: 1, color: Aa(e.color, 0.5) }
539
539
  ]
540
540
  }
541
541
  }
542
542
  ), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && F(
543
543
  s.value,
544
- K(
544
+ Q(
545
545
  a.value.style.chart.dataLabels.formatter,
546
546
  e.coordinatesLine[o].value,
547
- Q({
547
+ ee({
548
548
  p: e.prefix || "",
549
549
  v: e.coordinatesLine[o].value,
550
550
  s: e.suffix || "",
@@ -552,7 +552,7 @@ const Qa = ["id"], et = ["onClick"], at = {
552
552
  }),
553
553
  { datapoint: e.coordinatesLine[o], seriesIndex: o }
554
554
  ),
555
- t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / x.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * x.value.length) * l)) + t.value.slot * 0.4 / (u.value.stacked ? 1 : x.value.length),
555
+ t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)) + t.value.slot * 0.4 / (u.value.stacked ? 1 : L.value.length),
556
556
  (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : p.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
557
557
  {
558
558
  align: "center",
@@ -564,29 +564,29 @@ const Qa = ["id"], et = ["onClick"], at = {
564
564
  );
565
565
  });
566
566
  }
567
- function da(e) {
568
- e.useArea ? u.value.stacked ? Je(
567
+ function ha(e) {
568
+ e.useArea ? u.value.stacked ? Ke(
569
569
  s.value,
570
570
  [{ x: e.coordinatesLine[0].x, y: e.localZero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: e.localZero }],
571
571
  {
572
- fillColor: ee(e.color, a.value.style.chart.area.opacity),
572
+ fillColor: ae(e.color, a.value.style.chart.area.opacity),
573
573
  strokeColor: "transparent"
574
574
  }
575
- ) : Je(
575
+ ) : Ke(
576
576
  s.value,
577
577
  [{ x: e.coordinatesLine[0].x, y: p.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: p.value.zero }],
578
578
  {
579
- fillColor: ee(e.color, a.value.style.chart.area.opacity),
579
+ fillColor: ae(e.color, a.value.style.chart.area.opacity),
580
580
  strokeColor: "transparent"
581
581
  }
582
- ) : C(s.value, e.coordinatesLine, {
582
+ ) : w(s.value, e.coordinatesLine, {
583
583
  color: e.color,
584
584
  lineWidth: 3
585
585
  });
586
586
  }
587
- function ha() {
587
+ function fa() {
588
588
  h.value.forEach((e, l) => {
589
- C(
589
+ w(
590
590
  s.value,
591
591
  [
592
592
  { x: t.value.left, y: t.value.bottom - e.yOffset },
@@ -600,12 +600,12 @@ const Qa = ["id"], et = ["onClick"], at = {
600
600
  });
601
601
  }
602
602
  function he() {
603
- sa(), N.value ? (z.value && d.value !== null && a.value.style.chart.selector.show && _e(), ca(), u.value.stacked && a.value.style.chart.grid.x.showAxis && ha(), ra.value.forEach((e) => {
604
- (e.type === "line" || !e.type) && da(e), z.value && (na(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && ia(e));
605
- }), ve.value = Da($.value)) : (ve.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(ve.value, 0, 0)), z.value && d.value !== null && a.value.style.chart.selector.show && _e(), z.value && d.value !== null && h.value.forEach((e) => {
603
+ na(), N.value ? (z.value && d.value !== null && a.value.style.chart.selector.show && Ae(), da(), u.value.stacked && a.value.style.chart.grid.x.showAxis && fa(), ua.value.forEach((e) => {
604
+ (e.type === "line" || !e.type) && ha(e), z.value && (ia(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && va(e));
605
+ }), ve.value = Ha($.value)) : (ve.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(ve.value, 0, 0)), z.value && d.value !== null && a.value.style.chart.selector.show && Ae(), z.value && d.value !== null && h.value.forEach((e) => {
606
606
  if (e.type === "line" || !e.type || e.type === "plot") {
607
607
  if (!e.coordinatesLine[d.value]) return;
608
- e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && qe(
608
+ e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && Je(
609
609
  s.value,
610
610
  {
611
611
  x: e.coordinatesLine[d.value].x,
@@ -619,94 +619,95 @@ const Qa = ["id"], et = ["onClick"], at = {
619
619
  }
620
620
  );
621
621
  }
622
- })), a.value.style.chart.grid.y.timeLabels.show && va(), N.value = !1;
622
+ })), a.value.style.chart.grid.y.timeLabels.show && ca(), N.value = !1;
623
623
  }
624
- const le = Aa(() => {
625
- z.value = !0, ua();
624
+ const oe = Da(() => {
625
+ z.value = !0, sa();
626
626
  }, R.value > 200 ? 10 : 1, !z.value);
627
- function fa(e) {
627
+ function ya(e) {
628
628
  const { left: l } = $.value.getBoundingClientRect(), o = e.clientX - l;
629
629
  if (o * 2 < t.value.left || o * 2 > t.value.right) {
630
- ae.value = !1, d.value = null;
630
+ te.value = !1, d.value = null;
631
631
  return;
632
632
  }
633
633
  const i = o * 2 - t.value.left;
634
- if (d.value = Math.floor(i / t.value.slot), ae.value = !0, !z.value) return;
634
+ if (d.value = Math.floor(i / t.value.slot), te.value = !0, !z.value) return;
635
635
  let c = "";
636
636
  const y = a.value.style.chart.tooltip.customFormat;
637
- je(y) && Fa(() => y({
637
+ qe(y) && Ea(() => y({
638
638
  seriesIndex: d.value,
639
639
  datapoint: h.value.map((n) => ({
640
640
  shape: n.shape || null,
641
641
  name: n.name,
642
642
  color: n.color,
643
643
  type: n.type || "line",
644
- value: n.series.find((g, L) => L === d.value)
644
+ value: n.series.find((g, k) => k === d.value)
645
645
  })),
646
646
  series: h.value,
647
647
  config: a.value
648
- })) ? te.value = y({
648
+ })) ? le.value = y({
649
649
  seriesIndex: d.value,
650
650
  datapoint: h.value.map((n) => ({
651
651
  shape: n.shape || null,
652
652
  name: n.name,
653
653
  color: n.color,
654
654
  type: n.type || "line",
655
- value: n.series.find((g, L) => L === d.value)
655
+ value: n.series.find((g, k) => k === d.value)
656
656
  })),
657
657
  series: h.value,
658
658
  config: a.value
659
- }) : (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 += oa.value.join(""), te.value = c), z.value = !1;
659
+ }) : (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 += ra.value.join(""), le.value = c), z.value = !1;
660
660
  }
661
- W(() => d.value, (e) => {
662
- le();
663
- }), W(() => r.value, (e) => {
661
+ Y(() => d.value, (e) => {
662
+ oe();
663
+ }), Y(() => r.value, (e) => {
664
664
  N.value = !0, he();
665
665
  }, {
666
666
  deep: !0
667
- }), W(() => u.value.showDataLabels, (e) => {
667
+ }), Y(() => u.value.showDataLabels, (e) => {
668
668
  N.value = !0, he();
669
- }), W(() => u.value.stacked, (e) => {
670
- N.value = !0, z.value = !0, le();
669
+ }), Y(() => u.value.stacked, (e) => {
670
+ N.value = !0, z.value = !0, oe();
671
671
  });
672
- function ya() {
673
- ae.value = !1, d.value = null, te.value = "";
672
+ function ga() {
673
+ te.value = !1, d.value = null, le.value = "";
674
674
  }
675
- const oe = v(null), re = v(null);
676
- ma(() => {
677
- Ae();
675
+ const re = v(null), ue = v(null);
676
+ xa(() => {
677
+ De();
678
678
  });
679
- function Ae() {
680
- if (Oa(E.dataset) ? Pa({
679
+ function De() {
680
+ if (Pa(E.dataset) ? Fa({
681
681
  componentName: "VueUiXyCanvas",
682
682
  type: "dataset"
683
683
  }) : $.value && (s.value = $.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
684
- const e = Ha(() => {
685
- const { width: l, height: o } = Wa({
684
+ const e = Wa(() => {
685
+ const { width: l, height: o } = Ya({
686
686
  chart: U.value,
687
687
  title: a.value.style.chart.title.text ? ke.value : null,
688
688
  legend: a.value.style.chart.legend.show ? Ce.value : null,
689
- slicer: a.value.style.chart.zoom.show && R.value > 1 ? we.value : null
689
+ slicer: a.value.style.chart.zoom.show && R.value > 1 ? we.value : null,
690
+ source: Se.value
690
691
  });
691
- Me.value = `${l} / ${o}`;
692
+ Re.value = `${l} / ${o}`;
692
693
  });
693
- oe.value = new ResizeObserver(e), oe.value.observe(U.value.parentNode);
694
+ re.value = new ResizeObserver(e), re.value.observe(U.value.parentNode);
694
695
  }
695
- re.value = new ResizeObserver((e) => {
696
+ ue.value = new ResizeObserver((e) => {
696
697
  for (const l of e)
697
- l.contentBoxSize && Z.value && (N.value = !0, le());
698
- }), re.value.observe(Z.value);
698
+ l.contentBoxSize && Z.value && (N.value = !0, oe());
699
+ }), ue.value.observe(Z.value);
699
700
  }
700
- xa(() => {
701
- re.value && re.value.disconnect(), oe.value && oe.value.disconnect();
701
+ La(() => {
702
+ ue.value && ue.value.disconnect(), re.value && re.value.disconnect();
702
703
  });
703
- function De(e) {
704
- ea("selectLegend", h.value.find((l) => l.absoluteIndex === e)), S.value.includes(e) ? S.value = S.value.filter((l) => l !== e) : S.value.push(e), N.value = !0, le();
704
+ function He(e) {
705
+ aa("selectLegend", h.value.find((l) => l.absoluteIndex === e)), S.value.includes(e) ? S.value = S.value.filter((l) => l !== e) : S.value.push(e), N.value = !0, oe();
705
706
  }
706
- const He = m(() => H.value.map((e, l) => ({
707
+ const We = m(() => W.value.map((e, l) => ({
707
708
  ...e,
708
709
  name: e.name,
709
- color: Ve(e.color) || Fe.value[l] || A[l] || A[l % A.length],
710
+ color: je(e.color) || Ee.value[l] || D[l] || D[l % D.length],
710
711
  shape: e.shape || "circle",
711
712
  prefix: e.prefix || "",
712
713
  suffix: e.suffix || "",
@@ -714,16 +715,16 @@ const Qa = ["id"], et = ["onClick"], at = {
714
715
  })).map((e) => ({
715
716
  ...e,
716
717
  opacity: S.value.includes(e.absoluteIndex) ? 0.5 : 1,
717
- segregate: () => De(e.absoluteIndex),
718
+ segregate: () => He(e.absoluteIndex),
718
719
  isSegregated: S.value.includes(e.absoluteIndex)
719
- }))), ga = m(() => ({
720
+ }))), pa = m(() => ({
720
721
  cy: "donut-div-legend",
721
722
  backgroundColor: a.value.style.chart.legend.backgroundColor,
722
723
  color: a.value.style.chart.legend.color,
723
724
  fontSize: a.value.style.chart.legend.fontSize,
724
725
  paddingBottom: 12,
725
726
  fontWeight: a.value.style.chart.legend.bold ? "bold" : ""
726
- })), ue = m(() => {
727
+ })), se = m(() => {
727
728
  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>');
728
729
  let l = [];
729
730
  for (let c = 0; c < R.value; c += 1) {
@@ -744,7 +745,7 @@ const Qa = ["id"], et = ["onClick"], at = {
744
745
  breakpoint: a.value.table.responsiveBreakpoint
745
746
  }, i = [a.value.table.columnNames.period].concat(h.value.map((c) => c.name)).concat(a.value.table.columnNames.total);
746
747
  return { head: e, body: l.slice(0, r.value.end - r.value.start), config: o, colNames: i };
747
- }), We = m(() => {
748
+ }), Ye = m(() => {
748
749
  if (h.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
749
750
  const e = h.value.map((o) => ({
750
751
  label: o.name,
@@ -759,54 +760,54 @@ const Qa = ["id"], et = ["onClick"], at = {
759
760
  }
760
761
  return { head: e, body: l };
761
762
  });
762
- function Ye() {
763
- const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], l = ["", ...We.value.head.map((y) => y.label)], o = We.value.body, i = e.concat([l]).concat(o), c = Ea(i);
764
- Na({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
763
+ function Be() {
764
+ const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], l = ["", ...Ye.value.head.map((y) => y.label)], o = Ye.value.body, i = e.concat([l]).concat(o), c = Na(i);
765
+ _a({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
765
766
  }
766
- function pa() {
767
+ function ba() {
767
768
  return h.value;
768
769
  }
769
- function Be() {
770
+ function Xe() {
770
771
  u.value.showTable = !u.value.showTable;
771
772
  }
772
- function Xe() {
773
+ function Ue() {
773
774
  u.value.showDataLabels = !u.value.showDataLabels;
774
775
  }
775
- function Ue() {
776
+ function Ze() {
776
777
  u.value.stacked = !u.value.stacked;
777
778
  }
778
- function Ze() {
779
+ function Ge() {
779
780
  u.value.showTooltip = !u.value.showTooltip;
780
781
  }
781
- const se = v(!1);
782
+ const ne = v(!1);
782
783
  function fe() {
783
- se.value = !se.value;
784
+ ne.value = !ne.value;
784
785
  }
785
- return Qe({
786
- getData: pa,
787
- generateCsv: Ye,
788
- generatePdf: Oe,
789
- generateImage: Pe,
790
- toggleTable: Be,
791
- toggleLabels: Xe,
792
- toggleStack: Ue,
793
- toggleTooltip: Ze,
786
+ return ea({
787
+ getData: ba,
788
+ generateCsv: Be,
789
+ generatePdf: Pe,
790
+ generateImage: Fe,
791
+ toggleTable: Xe,
792
+ toggleLabels: Ue,
793
+ toggleStack: Ze,
794
+ toggleTooltip: Ge,
794
795
  toggleAnnotator: fe
795
- }), (e, l) => (w(), ne("div", {
796
- style: q(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
796
+ }), (e, l) => (C(), q("div", {
797
+ style: J(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
797
798
  ref_key: "xy",
798
799
  ref: U,
799
800
  id: `xy_canvas_${ie.value}`,
800
- class: La(`vue-ui-donut ${ce.value ? "vue-data-ui-wrapper-fullscreen" : ""}`)
801
+ class: ka(`vue-ui-donut ${ce.value ? "vue-data-ui-wrapper-fullscreen" : ""}`)
801
802
  }, [
802
- a.value.style.chart.title.text ? (w(), ne("div", {
803
+ a.value.style.chart.title.text ? (C(), q("div", {
803
804
  key: 0,
804
805
  ref_key: "chartTitle",
805
806
  ref: ke,
806
- style: q(`width:100%;background:${a.value.style.chart.backgroundColor};`)
807
+ style: J(`width:100%;background:${a.value.style.chart.backgroundColor};`)
807
808
  }, [
808
- (w(), P(Xa, {
809
- key: `title_${Se.value}`,
809
+ (C(), P(Ua, {
810
+ key: `title_${$e.value}`,
810
811
  config: {
811
812
  title: {
812
813
  cy: "xy-canvas-title",
@@ -818,14 +819,14 @@ const Qa = ["id"], et = ["onClick"], at = {
818
819
  }
819
820
  }
820
821
  }, null, 8, ["config"]))
821
- ], 4)) : Y("", !0),
822
- a.value.userOptions.show && de.value ? (w(), P(Ga, {
822
+ ], 4)) : _("", !0),
823
+ a.value.userOptions.show && de.value ? (C(), P(Va, {
823
824
  ref: "details",
824
825
  key: `user_option_${Le.value}`,
825
826
  backgroundColor: a.value.style.chart.backgroundColor,
826
827
  color: a.value.style.chart.color,
827
- isPrinting: _(Re),
828
- isImaging: _(Ie),
828
+ isPrinting: A(Ie),
829
+ isImaging: A(Oe),
829
830
  uid: ie.value,
830
831
  hasTooltip: a.value.userOptions.buttons.tooltip && a.value.style.chart.tooltip.show,
831
832
  hasPdf: a.value.userOptions.buttons.pdf,
@@ -842,95 +843,95 @@ const Qa = ["id"], et = ["onClick"], at = {
842
843
  chartElement: U.value,
843
844
  position: a.value.userOptions.position,
844
845
  hasAnnotator: a.value.userOptions.buttons.annotator,
845
- isAnnotation: se.value,
846
- onToggleFullscreen: ta,
847
- onGeneratePdf: _(Oe),
848
- onGenerateCsv: Ye,
849
- onGenerateImage: _(Pe),
850
- onToggleTable: Be,
851
- onToggleLabels: Xe,
852
- onToggleStack: Ue,
853
- onToggleTooltip: Ze,
846
+ isAnnotation: ne.value,
847
+ onToggleFullscreen: la,
848
+ onGeneratePdf: A(Pe),
849
+ onGenerateCsv: Be,
850
+ onGenerateImage: A(Fe),
851
+ onToggleTable: Xe,
852
+ onToggleLabels: Ue,
853
+ onToggleStack: Ze,
854
+ onToggleTooltip: Ge,
854
855
  onToggleAnnotator: fe
855
- }, ka({ _: 2 }, [
856
+ }, Ca({ _: 2 }, [
856
857
  e.$slots.optionTooltip ? {
857
858
  name: "optionTooltip",
858
859
  fn: b(() => [
859
- k(e.$slots, "optionTooltip", {}, void 0, !0)
860
+ x(e.$slots, "optionTooltip", {}, void 0, !0)
860
861
  ]),
861
862
  key: "0"
862
863
  } : void 0,
863
864
  e.$slots.optionPdf ? {
864
865
  name: "optionPdf",
865
866
  fn: b(() => [
866
- k(e.$slots, "optionPdf", {}, void 0, !0)
867
+ x(e.$slots, "optionPdf", {}, void 0, !0)
867
868
  ]),
868
869
  key: "1"
869
870
  } : void 0,
870
871
  e.$slots.optionCsv ? {
871
872
  name: "optionCsv",
872
873
  fn: b(() => [
873
- k(e.$slots, "optionCsv", {}, void 0, !0)
874
+ x(e.$slots, "optionCsv", {}, void 0, !0)
874
875
  ]),
875
876
  key: "2"
876
877
  } : void 0,
877
878
  e.$slots.optionImg ? {
878
879
  name: "optionImg",
879
880
  fn: b(() => [
880
- k(e.$slots, "optionImg", {}, void 0, !0)
881
+ x(e.$slots, "optionImg", {}, void 0, !0)
881
882
  ]),
882
883
  key: "3"
883
884
  } : void 0,
884
885
  e.$slots.optionTable ? {
885
886
  name: "optionTable",
886
887
  fn: b(() => [
887
- k(e.$slots, "optionTable", {}, void 0, !0)
888
+ x(e.$slots, "optionTable", {}, void 0, !0)
888
889
  ]),
889
890
  key: "4"
890
891
  } : void 0,
891
892
  e.$slots.optionLabels ? {
892
893
  name: "optionLabels",
893
894
  fn: b(() => [
894
- k(e.$slots, "optionLabels", {}, void 0, !0)
895
+ x(e.$slots, "optionLabels", {}, void 0, !0)
895
896
  ]),
896
897
  key: "5"
897
898
  } : void 0,
898
899
  e.$slots.optionStack ? {
899
900
  name: "optionStack",
900
901
  fn: b(() => [
901
- k(e.$slots, "optionStack", {}, void 0, !0)
902
+ x(e.$slots, "optionStack", {}, void 0, !0)
902
903
  ]),
903
904
  key: "6"
904
905
  } : void 0,
905
906
  e.$slots.optionFullscreen ? {
906
907
  name: "optionFullscreen",
907
908
  fn: b(({ toggleFullscreen: o, isFullscreen: i }) => [
908
- k(e.$slots, "optionFullscreen", B(X({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
909
+ x(e.$slots, "optionFullscreen", B(X({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
909
910
  ]),
910
911
  key: "7"
911
912
  } : void 0,
912
913
  e.$slots.optionAnnotator ? {
913
914
  name: "optionAnnotator",
914
915
  fn: b(({ toggleAnnotator: o, isAnnotator: i }) => [
915
- k(e.$slots, "optionAnnotator", B(X({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
916
+ x(e.$slots, "optionAnnotator", B(X({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
916
917
  ]),
917
918
  key: "8"
918
919
  } : void 0
919
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : Y("", !0),
920
- J("div", {
920
+ ]), 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),
921
+ K("div", {
921
922
  class: "vue-ui-xy-canvas",
922
- style: q(`position: relative; aspect-ratio: ${Me.value}`),
923
+ style: J(`position: relative; aspect-ratio: ${Re.value}`),
923
924
  ref_key: "container",
924
925
  ref: Z
925
926
  }, [
926
- de.value ? (w(), ne("canvas", {
927
+ de.value ? (C(), q("canvas", {
927
928
  key: 0,
928
929
  ref_key: "canvas",
929
930
  ref: $,
930
931
  style: { width: "100%", height: "100%" },
931
- onMousemove: l[0] || (l[0] = (o) => fa(o)),
932
- onMouseleave: ya
933
- }, null, 544)) : (w(), P(qa, {
932
+ onMousemove: l[0] || (l[0] = (o) => ya(o)),
933
+ onMouseleave: ga
934
+ }, null, 544)) : (C(), P(Ja, {
934
935
  key: 1,
935
936
  config: {
936
937
  type: "line",
@@ -948,8 +949,8 @@ const Qa = ["id"], et = ["onClick"], at = {
948
949
  }
949
950
  }
950
951
  }, null, 8, ["config"])),
951
- Ca(Ya, {
952
- show: u.value.showTooltip && ae.value,
952
+ wa(Ba, {
953
+ show: u.value.showTooltip && te.value,
953
954
  backgroundColor: a.value.style.chart.tooltip.backgroundColor,
954
955
  color: a.value.style.chart.tooltip.color,
955
956
  fontSize: a.value.style.chart.tooltip.fontSize,
@@ -959,26 +960,26 @@ const Qa = ["id"], et = ["onClick"], at = {
959
960
  position: a.value.style.chart.tooltip.position,
960
961
  offsetY: a.value.style.chart.tooltip.offsetY,
961
962
  parent: $.value,
962
- content: te.value,
963
+ content: le.value,
963
964
  backgroundOpacity: a.value.style.chart.tooltip.backgroundOpacity,
964
- isCustom: _(je)(a.value.style.chart.tooltip.customFormat)
965
+ isCustom: A(qe)(a.value.style.chart.tooltip.customFormat)
965
966
  }, {
966
967
  "tooltip-before": b(() => [
967
- k(e.$slots, "tooltip-before", B(X({ ...me.value })), void 0, !0)
968
+ x(e.$slots, "tooltip-before", B(X({ ...me.value })), void 0, !0)
968
969
  ]),
969
970
  "tooltip-after": b(() => [
970
- k(e.$slots, "tooltip-after", B(X({ ...me.value })), void 0, !0)
971
+ x(e.$slots, "tooltip-after", B(X({ ...me.value })), void 0, !0)
971
972
  ]),
972
973
  _: 3
973
974
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "backgroundOpacity", "isCustom"])
974
975
  ], 4),
975
- J("div", {
976
+ K("div", {
976
977
  ref_key: "chartSlicer",
977
978
  ref: we,
978
- style: q(`width:100%;background:${a.value.style.chart.backgroundColor}`),
979
+ style: J(`width:100%;background:${a.value.style.chart.backgroundColor}`),
979
980
  "data-html2canvas-ignore": ""
980
981
  }, [
981
- a.value.style.chart.zoom.show && R.value > 1 ? (w(), P(Ua, {
982
+ a.value.style.chart.zoom.show && R.value > 1 ? (C(), P(Za, {
982
983
  key: `slicer_${xe.value}`,
983
984
  background: a.value.style.chart.zoom.color,
984
985
  borderColor: a.value.style.chart.backgroundColor,
@@ -997,41 +998,49 @@ const Qa = ["id"], et = ["onClick"], at = {
997
998
  "onUpdate:start": l[1] || (l[1] = (o) => r.value.start = o),
998
999
  end: r.value.end,
999
1000
  "onUpdate:end": l[2] || (l[2] = (o) => r.value.end = o),
1000
- onReset: Ne
1001
+ onReset: _e
1001
1002
  }, {
1002
1003
  "reset-action": b(({ reset: o }) => [
1003
- k(e.$slots, "reset-action", B(X({ reset: o })), void 0, !0)
1004
+ x(e.$slots, "reset-action", B(X({ reset: o })), void 0, !0)
1004
1005
  ]),
1005
1006
  _: 3
1006
- }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : Y("", !0)
1007
+ }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : _("", !0)
1007
1008
  ], 4),
1008
- J("div", {
1009
+ K("div", {
1009
1010
  ref_key: "chartLegend",
1010
1011
  ref: Ce
1011
1012
  }, [
1012
- a.value.style.chart.legend.show && de.value ? (w(), P(Ba, {
1013
- legendSet: He.value,
1014
- config: ga.value,
1015
- key: `legend_${ze.value}`,
1016
- onClickMarker: l[3] || (l[3] = ({ i: o }) => De(o))
1013
+ a.value.style.chart.legend.show && de.value ? (C(), P(Xa, {
1014
+ legendSet: We.value,
1015
+ config: pa.value,
1016
+ key: `legend_${Te.value}`,
1017
+ onClickMarker: l[3] || (l[3] = ({ i: o }) => He(o))
1017
1018
  }, {
1018
1019
  item: b(({ legend: o, index: i }) => [
1019
- J("div", {
1020
+ K("div", {
1020
1021
  onClick: (c) => o.segregate(),
1021
- style: q(`opacity:${S.value.includes(i) ? 0.5 : 1}`)
1022
- }, Ge(o.name), 13, et)
1022
+ style: J(`opacity:${S.value.includes(i) ? 0.5 : 1}`)
1023
+ }, Ve(o.name), 13, at)
1023
1024
  ]),
1024
1025
  _: 1
1025
- }, 8, ["legendSet", "config"])) : k(e.$slots, "legend", {
1026
+ }, 8, ["legendSet", "config"])) : x(e.$slots, "legend", {
1026
1027
  key: 1,
1027
- legend: He.value
1028
+ legend: We.value
1028
1029
  }, void 0, !0)
1029
1030
  ], 512),
1030
- e.$slots.watermark ? (w(), ne("div", at, [
1031
- k(e.$slots, "watermark", B(X({ isPrinting: _(Re) || _(Ie) })), void 0, !0)
1032
- ])) : Y("", !0),
1033
- r.value.end - r.value.start < 200 ? (w(), P(Va, {
1031
+ e.$slots.watermark ? (C(), q("div", tt, [
1032
+ x(e.$slots, "watermark", B(X({ isPrinting: A(Ie) || A(Oe) })), void 0, !0)
1033
+ ])) : _("", !0),
1034
+ e.$slots.source ? (C(), q("div", {
1034
1035
  key: 3,
1036
+ ref_key: "source",
1037
+ ref: Se,
1038
+ dir: "auto"
1039
+ }, [
1040
+ x(e.$slots, "source", {}, void 0, !0)
1041
+ ], 512)) : _("", !0),
1042
+ r.value.end - r.value.start < 200 ? (C(), P(ja, {
1043
+ key: 4,
1035
1044
  hideDetails: "",
1036
1045
  config: {
1037
1046
  open: u.value.showTable,
@@ -1047,37 +1056,37 @@ const Qa = ["id"], et = ["onClick"], at = {
1047
1056
  }
1048
1057
  }, {
1049
1058
  content: b(() => [
1050
- (w(), P(ja, {
1051
- key: `table_${$e.value}`,
1052
- colNames: ue.value.colNames,
1053
- head: ue.value.head,
1054
- body: ue.value.body,
1055
- config: ue.value.config,
1059
+ (C(), P(qa, {
1060
+ key: `table_${ze.value}`,
1061
+ colNames: se.value.colNames,
1062
+ head: se.value.head,
1063
+ body: se.value.body,
1064
+ config: se.value.config,
1056
1065
  title: `${a.value.style.chart.title.text}${a.value.style.chart.title.subtitle.text ? ` : ${a.value.style.chart.title.subtitle.text}` : ""}`,
1057
1066
  onClose: l[4] || (l[4] = (o) => u.value.showTable = !1)
1058
1067
  }, {
1059
1068
  th: b(({ th: o }) => [
1060
- J("div", { innerHTML: o }, null, 8, tt)
1069
+ K("div", { innerHTML: o }, null, 8, lt)
1061
1070
  ]),
1062
1071
  td: b(({ td: o }) => [
1063
- wa(Ge(o), 1)
1072
+ Sa(Ve(o), 1)
1064
1073
  ]),
1065
1074
  _: 1
1066
1075
  }, 8, ["colNames", "head", "body", "config", "title"]))
1067
1076
  ]),
1068
1077
  _: 1
1069
- }, 8, ["config"])) : Y("", !0),
1070
- a.value.userOptions.buttons.annotator && h.value.length ? (w(), P(Ja, {
1071
- key: 4,
1078
+ }, 8, ["config"])) : _("", !0),
1079
+ a.value.userOptions.buttons.annotator && h.value.length ? (C(), P(Ka, {
1080
+ key: 5,
1072
1081
  parent: U.value,
1073
1082
  backgroundColor: a.value.style.chart.backgroundColor,
1074
1083
  color: a.value.style.chart.color,
1075
- active: se.value,
1084
+ active: ne.value,
1076
1085
  onClose: fe
1077
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : Y("", !0)
1078
- ], 14, Qa));
1086
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : _("", !0)
1087
+ ], 14, et));
1079
1088
  }
1080
- }, bt = /* @__PURE__ */ Ka(lt, [["__scopeId", "data-v-01470008"]]);
1089
+ }, mt = /* @__PURE__ */ Qa(ot, [["__scopeId", "data-v-53f30aa1"]]);
1081
1090
  export {
1082
- bt as default
1091
+ mt as default
1083
1092
  };