vue-data-ui 2.4.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
  3. package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
  4. package/dist/BaseIcon-BGExhz6v.cjs +1 -0
  5. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
  8. package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
  9. package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
  10. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
  11. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
  12. package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
  13. package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
  16. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
  17. package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
  18. package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
  19. package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
  23. package/dist/index-FfZRtJ6A.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +18 -16
  26. package/dist/types/vue-data-ui.d.ts +18 -16
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
  29. package/dist/usePrinter-BCAFeO_J.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
  31. package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
  32. package/dist/vue-data-ui-W7nnqn0v.js +261 -0
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
  36. package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
  37. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
  38. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
  39. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
  41. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
  42. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
  43. package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
  44. package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
  45. package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
  47. package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
  49. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
  50. package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
  51. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
  52. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
  56. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
  57. package/dist/vue-ui-donut-CplNylps.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
  61. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
  62. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
  63. package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
  64. package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
  65. package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
  67. package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
  68. package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
  70. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
  71. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
  73. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
  74. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
  75. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
  77. package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
  78. package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
  79. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
  81. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
  82. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
  83. package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
  84. package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
  85. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
  87. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
  88. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
  89. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
  90. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
  91. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
  92. package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
  93. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
  94. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
  95. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
  96. package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
  97. package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
  98. package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
  99. package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
  100. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
  101. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
  103. package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
  105. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
  107. package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
  110. package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
  113. package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
  115. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
  116. package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
  119. package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
  120. package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
  121. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
  122. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
  123. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
  124. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
  126. package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
  129. package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
  130. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
  131. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
  132. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
  133. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
  134. package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
  135. package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
  136. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
  139. package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
  140. package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
  141. package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
  142. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
  143. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
  145. package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
  146. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
  147. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
  148. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
  149. package/package.json +1 -1
  150. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  151. package/dist/index-C7_6YjWN.cjs +0 -9
  152. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  153. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  154. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  155. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  156. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  157. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  158. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  159. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  160. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  161. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  162. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  163. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  164. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  165. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  166. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  167. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  168. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  169. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  170. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  171. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  174. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  176. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  178. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  179. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  180. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  181. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  182. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  183. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  184. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  185. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  186. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  187. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  188. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  189. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  191. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  192. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  193. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  194. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  195. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  196. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  197. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  199. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  200. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  201. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,21 +1,22 @@
1
- import { computed as f, ref as h, watch as De, onMounted as We, onBeforeUnmount as Ee, openBlock as i, createElementBlock as u, normalizeClass as B, normalizeStyle as z, createBlock as I, createCommentVNode as g, unref as A, createSlots as Be, withCtx as b, renderSlot as x, normalizeProps as R, guardReactiveProps as j, createVNode as xe, Fragment as C, renderList as M, createElementVNode as F, toDisplayString as S, createTextVNode as Re } from "vue";
2
- import { u as je, c as J, t as Ue, a as Ve, p as U, o as Ge, e as ke, g as He, b as Xe, d as Ye, C as qe, Q as Qe, R as Je, S as Ke, X as Ze, x as Ce, i as we, f as $e, y as et, q as tt, r as at, E as V } from "./index-DDXisDKy.js";
3
- import { t as lt, u as ot } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as st } from "./Title-DYNLqCCT.js";
5
- import { L as nt } from "./Legend-DXLiSLHd.js";
6
- import { _ as it } from "./Tooltip-CICAYyQj.js";
7
- import { _ as ut } from "./Shape-CO_Ak9Zm.js";
8
- import { u as rt, U as ct } from "./usePrinter-8ofTb2MJ.js";
9
- import { D as vt } from "./DataTable-DL2agEJ3.js";
10
- import dt from "./vue-ui-accordion-D_1fE5EF.js";
11
- import ht from "./vue-ui-skeleton-B2sRnIXX.js";
12
- import { u as _e } from "./useNestedProp-S1UXxUgm.js";
13
- import { _ as pt } from "./PackageVersion-DtnhR89q.js";
14
- import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events": "none" } }, bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = ["x", "y", "fill", "font-size", "font-weight"], kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ct = ["x", "y", "fill", "font-size", "font-weight"], wt = { key: 0 }, $t = ["x", "y", "font-size", "fill"], _t = ["width", "x", "y"], Tt = { style: { width: "100%" } }, zt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], At = ["d", "stroke", "stroke-width", "onMouseenter"], Mt = {
16
- key: 3,
1
+ import { computed as f, ref as h, watch as Ee, onMounted as Be, onBeforeUnmount as Re, openBlock as u, createElementBlock as r, normalizeClass as U, normalizeStyle as T, createBlock as z, createCommentVNode as g, unref as M, createSlots as je, withCtx as b, renderSlot as x, normalizeProps as W, guardReactiveProps as E, createVNode as Ce, Fragment as C, renderList as I, createElementVNode as P, toDisplayString as L, createTextVNode as Ue } from "vue";
2
+ import { u as Ve, c as Z, t as Ge, a as He, p as V, o as Xe, e as we, g as Ye, b as qe, d as Qe, C as Je, Q as Ke, R as Ze, S as et, X as tt, x as $e, i as Ae, f as _e, y as at, q as lt, r as ot, E as G } from "./index-DnVHQ2xI.js";
3
+ import { t as st, u as nt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as ut } from "./Title-5VmBwT4i.js";
5
+ import { L as rt } from "./Legend-CYF2gpXG.js";
6
+ import { _ as it } from "./Tooltip-Cj4EF7v1.js";
7
+ import { _ as ct } from "./Shape-BpPn4eWR.js";
8
+ import { u as vt, U as dt } from "./usePrinter-BEeNAqS5.js";
9
+ import { D as ht } from "./DataTable-DTk7C4Pr.js";
10
+ import pt from "./vue-ui-accordion-DspS4q3f.js";
11
+ import mt from "./vue-ui-skeleton-aZmkNzAe.js";
12
+ import { u as Te } from "./useNestedProp-Cox0K0Y5.js";
13
+ import { _ as yt } from "./PackageVersion-CvCRsT5_.js";
14
+ import { P as ft } from "./PenAndPaper-Jb0pLt3G.js";
15
+ import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const bt = ["id"], xt = ["xmlns", "viewBox"], kt = { style: { "pointer-events": "none" } }, Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wt = ["x", "y", "fill", "font-size", "font-weight"], $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x", "y", "fill", "font-size", "font-weight"], _t = { key: 0 }, Tt = ["x", "y", "font-size", "fill"], zt = ["width", "x", "y"], Mt = { style: { width: "100%" } }, It = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Pt = ["d", "stroke", "stroke-width", "onMouseenter"], Ft = {
17
+ key: 4,
17
18
  class: "vue-data-ui-watermark"
18
- }, It = ["onClick"], Ft = ["innerHTML"], Pt = {
19
+ }, Nt = ["onClick"], St = ["innerHTML"], Lt = {
19
20
  __name: "vue-ui-parallel-coordinate-plot",
20
21
  props: {
21
22
  config: {
@@ -32,52 +33,52 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
32
33
  }
33
34
  },
34
35
  emits: ["selectLegend", "selectDatapoint"],
35
- setup(Te, { expose: ze, emit: K }) {
36
- const _ = Te, { vue_ui_parallel_coordinate_plot: Ae } = je(), P = f({
36
+ setup(ze, { expose: Me, emit: ee }) {
37
+ const A = ze, { vue_ui_parallel_coordinate_plot: Ie } = Ve(), F = f({
37
38
  get() {
38
- return !!_.dataset && _.dataset.length;
39
+ return !!A.dataset && A.dataset.length;
39
40
  },
40
41
  set(t) {
41
42
  return t;
42
43
  }
43
- }), Z = h(0), L = h(null), ee = h(null), te = h(null), ae = h(0), le = h(0), oe = h(0), G = h(J()), O = h(!1);
44
- function Me(t) {
45
- O.value = t, Z.value += 1;
44
+ }), te = h(0), N = h(null), ae = h(null), le = h(null), oe = h(0), se = h(0), ne = h(0), H = h(Z()), O = h(!1);
45
+ function Pe(t) {
46
+ O.value = t, te.value += 1;
46
47
  }
47
48
  const e = f({
48
- get: () => se(),
49
+ get: () => ue(),
49
50
  set: (t) => t
50
51
  });
51
- function se() {
52
- const t = _e({
53
- userConfig: _.config,
54
- defaultConfig: Ae
52
+ function ue() {
53
+ const t = Te({
54
+ userConfig: A.config,
55
+ defaultConfig: Ie
55
56
  });
56
57
  return t.theme ? {
57
- ..._e({
58
- userConfig: Ue.vue_ui_parallel_coordinate_plot[t.theme] || _.config,
58
+ ...Te({
59
+ userConfig: Ge.vue_ui_parallel_coordinate_plot[t.theme] || A.config,
59
60
  defaultConfig: t
60
61
  }),
61
- customPalette: Ve[t.theme] || U
62
+ customPalette: He[t.theme] || V
62
63
  } : t;
63
64
  }
64
- De(() => _.config, (t) => {
65
- e.value = se(), ne(), ae.value += 1, oe.value += 1, le.value += 1;
65
+ Ee(() => A.config, (t) => {
66
+ e.value = ue(), re(), oe.value += 1, ne.value += 1, se.value += 1;
66
67
  }, { deep: !0 });
67
- const W = h(null);
68
- We(() => {
69
- ne();
68
+ const B = h(null);
69
+ Be(() => {
70
+ re();
70
71
  });
71
- function ne() {
72
- if (Ge(_.dataset) ? ke({
72
+ function re() {
73
+ if (Xe(A.dataset) ? we({
73
74
  componentName: "VueUiParallelCoordinatePlot",
74
75
  type: "dataset"
75
- }) : _.dataset.forEach((t, l) => {
76
- He({
76
+ }) : A.dataset.forEach((t, l) => {
77
+ Ye({
77
78
  datasetObject: t,
78
79
  requiredAttributes: ["name", "series"]
79
80
  }).forEach((a) => {
80
- P.value = !1, ke({
81
+ F.value = !1, we({
81
82
  componentName: "VueUiParallelCoordinatePlot",
82
83
  type: "datasetSerieAttribute",
83
84
  property: a,
@@ -85,31 +86,31 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
85
86
  });
86
87
  });
87
88
  }), e.value.responsive) {
88
- const t = lt(() => {
89
- const { width: l, height: a } = ot({
90
- chart: L.value,
91
- title: e.value.style.chart.title.text ? ee.value : null,
92
- legend: e.value.style.chart.legend.show ? te.value : null
89
+ const t = st(() => {
90
+ const { width: l, height: a } = nt({
91
+ chart: N.value,
92
+ title: e.value.style.chart.title.text ? ae.value : null,
93
+ legend: e.value.style.chart.legend.show ? le.value : null
93
94
  });
94
- c.value.width = l, c.value.height = a, c.value.plotSize = V({
95
+ c.value.width = l, c.value.height = a, c.value.plotSize = G({
95
96
  relator: Math.min(l, a),
96
97
  adjuster: 600,
97
98
  source: e.value.style.chart.plots.radius,
98
99
  threshold: 2,
99
100
  fallback: 2
100
- }), c.value.ticksFontSize = V({
101
+ }), c.value.ticksFontSize = G({
101
102
  relator: Math.min(l, a),
102
103
  adjuster: 600,
103
104
  source: e.value.style.chart.yAxis.labels.ticks.fontSize,
104
105
  threshold: 10,
105
106
  fallback: 10
106
- }), c.value.datapointFontSize = V({
107
+ }), c.value.datapointFontSize = G({
107
108
  relator: Math.min(l, a),
108
109
  adjuster: 600,
109
110
  source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
110
111
  threshold: 10,
111
112
  fallback: 10
112
- }), c.value.axisNameFontSize = V({
113
+ }), c.value.axisNameFontSize = G({
113
114
  relator: Math.min(l, a),
114
115
  adjuster: 600,
115
116
  source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
@@ -117,14 +118,14 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
117
118
  fallback: 12
118
119
  });
119
120
  });
120
- W.value = new ResizeObserver(t), W.value.observe(L.value.parentNode);
121
+ B.value = new ResizeObserver(t), B.value.observe(N.value.parentNode);
121
122
  }
122
123
  }
123
- Ee(() => {
124
- W.value && W.value.disconnect();
124
+ Re(() => {
125
+ B.value && B.value.disconnect();
125
126
  });
126
- const { isPrinting: ie, isImaging: ue, generatePdf: re, generateImage: ce } = rt({
127
- elementId: `pcp_${G.value}`,
127
+ const { isPrinting: ie, isImaging: ce, generatePdf: ve, generateImage: de } = vt({
128
+ elementId: `pcp_${H.value}`,
128
129
  fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
129
130
  }), c = h({
130
131
  height: e.value.style.chart.height,
@@ -147,68 +148,68 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
147
148
  right: s - l,
148
149
  bottom: n - a
149
150
  };
150
- }), Ie = f(() => Xe(e.value.customPalette)), y = h({
151
+ }), Fe = f(() => qe(e.value.customPalette)), y = h({
151
152
  dataLabels: {
152
153
  show: e.value.style.chart.yAxis.labels.datapoints.show
153
154
  },
154
155
  showTable: e.value.table.show,
155
156
  showTooltip: e.value.style.chart.tooltip.show
156
157
  }), w = h([]);
157
- function ve(t) {
158
+ function he(t) {
158
159
  w.value.includes(t) ? w.value = w.value.filter((l) => l !== t) : w.value.push(t);
159
160
  }
160
- const T = f(() => _.dataset.map((t, l) => {
161
- const a = Ye(t.color) || Ie.value[l] || U[l] || U[l % U.length];
161
+ const _ = f(() => A.dataset.map((t, l) => {
162
+ const a = Qe(t.color) || Fe.value[l] || V[l] || V[l % V.length];
162
163
  return {
163
164
  ...t,
164
165
  series: t.series.map((o) => ({
165
166
  ...o,
166
- id: J(),
167
+ id: Z(),
167
168
  color: a
168
169
  })),
169
170
  seriesIndex: l,
170
171
  color: a,
171
- id: J(),
172
+ id: Z(),
172
173
  shape: t.shape || "circle"
173
174
  };
174
- })), Fe = f(() => T.value.map((t) => ({
175
+ })), Ne = f(() => _.value.map((t) => ({
175
176
  ...t,
176
177
  opacity: w.value.includes(t.id) ? 0.5 : 1,
177
- segregate: () => ve(t.id),
178
+ segregate: () => he(t.id),
178
179
  isSegregated: w.value.includes(t.id)
179
- }))), Pe = f(() => ({
180
+ }))), Se = f(() => ({
180
181
  cy: "pcp-div-legend",
181
182
  backgroundColor: e.value.style.chart.legend.backgroundColor,
182
183
  color: e.value.style.chart.legend.color,
183
184
  fontSize: e.value.style.chart.legend.fontSize,
184
185
  paddingBottom: 12,
185
186
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
186
- })), de = f(() => Math.max(
187
- ...T.value.filter((t) => !w.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
188
- )), k = f(() => v.value.width / de.value), H = f(() => T.value.filter((t) => !w.value.includes(t.id))), m = f(() => {
187
+ })), pe = f(() => Math.max(
188
+ ..._.value.filter((t) => !w.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
189
+ )), k = f(() => v.value.width / pe.value), X = f(() => _.value.filter((t) => !w.value.includes(t.id))), m = f(() => {
189
190
  let t = [];
190
- for (let l = 0; l < de.value; l += 1) {
191
- const a = Math.min(...H.value.flatMap((d) => d.series.map((E) => E.values[l] || 0) || 0)), o = Math.max(...H.value.flatMap((d) => d.series.map((E) => E.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = qe(n, s, e.value.style.chart.yAxis.scaleTicks), $ = r.ticks.map((d, E) => {
192
- const Le = r.min < 0 ? d + Math.abs(r.min) : d - Math.abs(r.min), Oe = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
191
+ for (let l = 0; l < pe.value; l += 1) {
192
+ const a = Math.min(...X.value.flatMap((d) => d.series.map((j) => j.values[l] || 0) || 0)), o = Math.max(...X.value.flatMap((d) => d.series.map((j) => j.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, i = Je(n, s, e.value.style.chart.yAxis.scaleTicks), $ = i.ticks.map((d, j) => {
193
+ const De = i.min < 0 ? d + Math.abs(i.min) : d - Math.abs(i.min), We = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
193
194
  return {
194
- y: v.value.bottom - v.value.height * (Le / Oe),
195
+ y: v.value.bottom - v.value.height * (De / We),
195
196
  x: v.value.left + k.value * l + k.value / 2,
196
197
  value: d
197
198
  };
198
199
  });
199
200
  t.push({
200
- scale: r,
201
+ scale: i,
201
202
  ticks: $,
202
203
  name: e.value.style.chart.yAxis.labels.axisNames[l] || `Y-${l + 1}`
203
204
  });
204
205
  }
205
206
  return t;
206
- }), X = f(() => H.value.map((t, l) => ({
207
+ }), Y = f(() => X.value.map((t, l) => ({
207
208
  ...t,
208
209
  series: t.series.map((a, o) => ({
209
210
  ...a,
210
211
  datapoints: a.values.map((n, s) => {
211
- const r = m.value[s].scale.min < 0 ? (n || 0) + Math.abs(m.value[s].scale.min) : (n || 0) - Math.abs(m.value[s].scale.min), $ = m.value[s].scale.min < 0 ? m.value[s].scale.max + Math.abs(m.value[s].scale.min) : m.value[s].scale.max - Math.abs(m.value[s].scale.min);
212
+ const i = m.value[s].scale.min < 0 ? (n || 0) + Math.abs(m.value[s].scale.min) : (n || 0) - Math.abs(m.value[s].scale.min), $ = m.value[s].scale.min < 0 ? m.value[s].scale.max + Math.abs(m.value[s].scale.min) : m.value[s].scale.max - Math.abs(m.value[s].scale.min);
212
213
  return {
213
214
  name: a.name,
214
215
  seriesName: t.name,
@@ -217,7 +218,7 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
217
218
  seriesIndex: l,
218
219
  value: n || 0,
219
220
  x: v.value.left + k.value * s + k.value / 2,
220
- y: v.value.bottom - v.value.height * (r / $),
221
+ y: v.value.bottom - v.value.height * (i / $),
221
222
  comment: a.comments && a.comments[s] || ""
222
223
  };
223
224
  })
@@ -225,7 +226,7 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
225
226
  })).map((t) => ({
226
227
  ...t,
227
228
  series: t.series.map((l) => {
228
- const a = Qe(l.datapoints), o = Je(l.datapoints), n = Ke(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
229
+ const a = Ke(l.datapoints), o = Ze(l.datapoints), n = et(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
229
230
  return {
230
231
  ...l,
231
232
  smoothPath: o,
@@ -234,11 +235,11 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
234
235
  };
235
236
  })
236
237
  })));
237
- function he({ value: t, index: l, datapoint: a }) {
238
- return we(
238
+ function me({ value: t, index: l, datapoint: a }) {
239
+ return Ae(
239
240
  e.value.style.chart.yAxis.labels.formatters[l] || null,
240
241
  t,
241
- $e({
242
+ _e({
242
243
  p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
243
244
  v: t,
244
245
  s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
@@ -247,21 +248,21 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
247
248
  { datapoint: a, seriesIndex: l }
248
249
  );
249
250
  }
250
- const p = h(null), Y = h(null), D = h(!1), q = h("");
251
- function Q({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
252
- Y.value = { serie: a, relativeIndex: o, seriesIndex: n, series: T.value, scales: m.value }, D.value = !0, p.value = a.id;
251
+ const p = h(null), q = h(null), D = h(!1), Q = h("");
252
+ function J({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
253
+ q.value = { serie: a, relativeIndex: o, seriesIndex: n, series: _.value, scales: m.value }, D.value = !0, p.value = a.id;
253
254
  let s = "";
254
- const r = e.value.style.chart.tooltip.customFormat;
255
- Ce(r) && et(() => r({
255
+ const i = e.value.style.chart.tooltip.customFormat;
256
+ $e(i) && at(() => i({
256
257
  serie: a,
257
258
  seriesIndex: a.seriesIndex,
258
- series: T.value,
259
+ series: _.value,
259
260
  config: e.value,
260
261
  scales: m.value
261
- })) ? q.value = r({
262
+ })) ? Q.value = i({
262
263
  serie: a,
263
264
  seriesIndex: a.seriesIndex,
264
- series: T.value,
265
+ series: _.value,
265
266
  config: e.value,
266
267
  scales: m.value
267
268
  }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`, m.value.map(($) => $.name).forEach(($, d) => {
@@ -269,10 +270,10 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
269
270
  <div class="vue-ui-tooltip-item" style="text-align:left">
270
271
  <span>${$}: </span>
271
272
  <span>
272
- ${we(
273
+ ${Ae(
273
274
  e.value.style.chart.yAxis.labels.formatters[d] || null,
274
275
  a.datapoints[d].value,
275
- $e({
276
+ _e({
276
277
  p: e.value.style.chart.yAxis.labels.prefixes[d] || "",
277
278
  v: a.datapoints[d].value,
278
279
  s: e.value.style.chart.yAxis.labels.suffixes[d] || "",
@@ -283,13 +284,13 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
283
284
  </span>
284
285
  </div>
285
286
  `, e.value.style.chart.comments.showInTooltip && a.datapoints[d].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[d].comment}</div>`);
286
- }), q.value = `<div>${s}</div>`);
287
+ }), Q.value = `<div>${s}</div>`);
287
288
  }
288
- function Ne() {
289
- return T.value;
289
+ function Le() {
290
+ return _.value;
290
291
  }
291
- const N = f(() => {
292
- const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(m.value.map((n) => n.name)), l = X.value.flatMap((n, s) => n.series.map((r) => [n.name].concat([r.name]).concat(r.values))), a = {
292
+ const S = f(() => {
293
+ const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(m.value.map((n) => n.name)), l = Y.value.flatMap((n, s) => n.series.map((i) => [n.name].concat([i.name]).concat(i.values))), a = {
293
294
  th: {
294
295
  backgroundColor: e.value.table.th.backgroundColor,
295
296
  color: e.value.table.th.color,
@@ -308,56 +309,69 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
308
309
  config: a,
309
310
  colNames: o
310
311
  };
311
- }), pe = f(() => X.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
312
- head: N.value.head,
313
- body: N.value.body
312
+ }), ye = f(() => Y.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
313
+ head: S.value.head,
314
+ body: S.value.body
314
315
  });
315
- function me() {
316
- const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = pe.value.head, a = pe.value.body, o = t.concat([l]).concat(a), n = tt(o);
317
- at({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
316
+ function fe() {
317
+ const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ye.value.head, a = ye.value.body, o = t.concat([l]).concat(a), n = lt(o);
318
+ ot({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
318
319
  }
319
- function Se(t) {
320
- K("selectDatapoint", t);
320
+ function Oe(t) {
321
+ ee("selectDatapoint", t);
321
322
  }
322
- function ye(t) {
323
- K("selectLegend", {
323
+ function ge(t) {
324
+ ee("selectLegend", {
324
325
  ...t,
325
326
  isSegregated: !t.isSegregated,
326
327
  opacity: t.isSegregated ? 1 : 0.5
327
328
  });
328
329
  }
329
- function fe() {
330
+ function be() {
330
331
  y.value.showTable = !y.value.showTable;
331
332
  }
332
- function ge() {
333
+ function xe() {
333
334
  y.value.dataLabels.show = !y.value.dataLabels.show;
334
335
  }
335
- function be() {
336
+ function ke() {
336
337
  y.value.showTooltip = !y.value.showTooltip;
337
338
  }
338
- return ze({
339
- getData: Ne,
340
- generateCsv: me,
341
- generatePdf: re,
342
- generateImage: ce,
343
- toggleTable: fe,
344
- toggleLabels: ge,
345
- toggleTooltip: be
346
- }), (t, l) => (i(), u("div", {
339
+ const R = h(!1);
340
+ function K() {
341
+ R.value = !R.value;
342
+ }
343
+ return Me({
344
+ getData: Le,
345
+ generateCsv: fe,
346
+ generatePdf: ve,
347
+ generateImage: de,
348
+ toggleTable: be,
349
+ toggleLabels: xe,
350
+ toggleTooltip: ke,
351
+ toggleAnnotator: K
352
+ }), (t, l) => (u(), r("div", {
347
353
  ref_key: "pcpChart",
348
- ref: L,
349
- class: B(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
350
- style: z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
351
- id: `pcp_${G.value}`
354
+ ref: N,
355
+ class: U(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
356
+ style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
357
+ id: `pcp_${H.value}`
352
358
  }, [
353
- e.value.style.chart.title.text ? (i(), u("div", {
359
+ e.value.userOptions.buttons.annotator ? (u(), z(ft, {
354
360
  key: 0,
361
+ parent: N.value,
362
+ backgroundColor: e.value.style.chart.backgroundColor,
363
+ color: e.value.style.chart.color,
364
+ active: R.value,
365
+ onClose: K
366
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : g("", !0),
367
+ e.value.style.chart.title.text ? (u(), r("div", {
368
+ key: 1,
355
369
  ref_key: "chartTitle",
356
- ref: ee,
370
+ ref: ae,
357
371
  style: "width:100%;background:transparent;padding-bottom:24px"
358
372
  }, [
359
- (i(), I(st, {
360
- key: `title_${ae.value}`,
373
+ (u(), z(ut, {
374
+ key: `title_${oe.value}`,
361
375
  config: {
362
376
  title: {
363
377
  cy: "pcp-div-title",
@@ -370,14 +384,14 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
370
384
  }
371
385
  }, null, 8, ["config"]))
372
386
  ], 512)) : g("", !0),
373
- e.value.userOptions.show && P.value ? (i(), I(ct, {
387
+ e.value.userOptions.show && F.value ? (u(), z(dt, {
374
388
  ref: "details",
375
- key: `user_options_${Z.value}`,
389
+ key: `user_options_${te.value}`,
376
390
  backgroundColor: e.value.style.chart.backgroundColor,
377
391
  color: e.value.style.chart.color,
378
- isPrinting: A(ie),
379
- isImaging: A(ue),
380
- uid: G.value,
392
+ isPrinting: M(ie),
393
+ isImaging: M(ce),
394
+ uid: H.value,
381
395
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
382
396
  hasPdf: e.value.userOptions.buttons.pdf,
383
397
  hasXls: e.value.userOptions.buttons.csv,
@@ -388,16 +402,19 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
388
402
  isFullscreen: O.value,
389
403
  isTooltip: y.value.showTooltip,
390
404
  titles: { ...e.value.userOptions.buttonTitles },
391
- chartElement: L.value,
405
+ chartElement: N.value,
392
406
  position: e.value.userOptions.position,
393
- onToggleFullscreen: Me,
394
- onGeneratePdf: A(re),
395
- onGenerateCsv: me,
396
- onGenerateImage: A(ce),
397
- onToggleTable: fe,
398
- onToggleLabels: ge,
399
- onToggleTooltip: be
400
- }, Be({ _: 2 }, [
407
+ hasAnnotator: e.value.userOptions.buttons.annotator,
408
+ isAnnotation: R.value,
409
+ onToggleFullscreen: Pe,
410
+ onGeneratePdf: M(ve),
411
+ onGenerateCsv: fe,
412
+ onGenerateImage: M(de),
413
+ onToggleTable: be,
414
+ onToggleLabels: xe,
415
+ onToggleTooltip: ke,
416
+ onToggleAnnotator: K
417
+ }, je({ _: 2 }, [
401
418
  t.$slots.optionPdf ? {
402
419
  name: "optionPdf",
403
420
  fn: b(() => [
@@ -436,82 +453,89 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
436
453
  t.$slots.optionFullscreen ? {
437
454
  name: "optionFullscreen",
438
455
  fn: b(({ toggleFullscreen: a, isFullscreen: o }) => [
439
- x(t.$slots, "optionFullscreen", R(j({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
456
+ x(t.$slots, "optionFullscreen", W(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
440
457
  ]),
441
458
  key: "5"
459
+ } : void 0,
460
+ t.$slots.optionAnnotator ? {
461
+ name: "optionAnnotator",
462
+ fn: b(({ toggleAnnotator: a, isAnnotator: o }) => [
463
+ x(t.$slots, "optionAnnotator", W(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
464
+ ]),
465
+ key: "6"
442
466
  } : void 0
443
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
444
- P.value ? (i(), u("svg", {
445
- key: 2,
446
- xmlns: A(Ze),
447
- class: B({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
467
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
468
+ F.value ? (u(), r("svg", {
469
+ key: 3,
470
+ xmlns: M(tt),
471
+ class: U({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
448
472
  viewBox: `0 0 ${v.value.chartWidth <= 0 ? 10 : v.value.chartWidth} ${v.value.chartHeight <= 0 ? 10 : v.value.chartHeight}`,
449
- style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
473
+ style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
450
474
  }, [
451
- xe(pt),
452
- (i(!0), u(C, null, M(m.value, (a, o) => (i(), u("g", gt, [
453
- F("line", {
475
+ Ce(yt),
476
+ (u(!0), r(C, null, I(m.value, (a, o) => (u(), r("g", kt, [
477
+ P("line", {
454
478
  x1: v.value.left + k.value * o + k.value / 2,
455
479
  x2: v.value.left + k.value * o + k.value / 2,
456
480
  y1: v.value.top,
457
481
  y2: v.value.bottom,
458
482
  stroke: e.value.style.chart.yAxis.stroke,
459
483
  "stroke-width": e.value.style.chart.yAxis.strokeWidth
460
- }, null, 8, bt),
461
- F("text", {
484
+ }, null, 8, Ct),
485
+ P("text", {
462
486
  x: v.value.left + k.value * o + k.value / 2,
463
487
  y: v.value.top - 24,
464
488
  fill: e.value.style.chart.yAxis.labels.axisNamesColor,
465
489
  "font-size": c.value.axisNameFontSize,
466
490
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
467
491
  "text-anchor": "middle"
468
- }, S(a.name), 9, xt),
469
- e.value.style.chart.yAxis.labels.ticks.show ? (i(), u(C, { key: 0 }, [
470
- (i(!0), u(C, null, M(a.ticks, (n) => (i(), u("line", {
492
+ }, L(a.name), 9, wt),
493
+ e.value.style.chart.yAxis.labels.ticks.show ? (u(), r(C, { key: 0 }, [
494
+ (u(!0), r(C, null, I(a.ticks, (n) => (u(), r("line", {
471
495
  x1: n.x,
472
496
  x2: n.x - 10,
473
497
  y1: n.y,
474
498
  y2: n.y,
475
499
  stroke: e.value.style.chart.yAxis.stroke,
476
500
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
477
- style: z(`opacity:${p.value && !y.value.showTooltip ? 0.2 : 1}`)
478
- }, null, 12, kt))), 256)),
479
- (i(!0), u(C, null, M(a.ticks, (n) => (i(), u("text", {
501
+ style: T(`opacity:${p.value && !y.value.showTooltip ? 0.2 : 1}`)
502
+ }, null, 12, $t))), 256)),
503
+ (u(!0), r(C, null, I(a.ticks, (n) => (u(), r("text", {
480
504
  x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
481
505
  y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
482
506
  fill: e.value.style.chart.yAxis.labels.ticks.color,
483
507
  "text-anchor": "end",
484
508
  "font-size": c.value.ticksFontSize,
485
509
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
486
- style: z(`opacity:${p.value && !y.value.showTooltip ? 0.2 : 1}`)
487
- }, S(he({ value: n.value, index: o, datapoint: n })), 13, Ct))), 256))
510
+ style: T(`opacity:${p.value && !y.value.showTooltip ? 0.2 : 1}`)
511
+ }, L(me({ value: n.value, index: o, datapoint: n })), 13, At))), 256))
488
512
  ], 64)) : g("", !0)
489
513
  ]))), 256)),
490
- (i(!0), u(C, null, M(X.value, (a) => (i(), u("g", null, [
491
- (i(!0), u(C, null, M(a.series, (o, n) => (i(), u("g", null, [
492
- e.value.style.chart.plots.show ? (i(), u("g", wt, [
493
- (i(!0), u(C, null, M(o.datapoints, (s) => (i(), I(ut, {
514
+ (u(!0), r(C, null, I(Y.value, (a) => (u(), r("g", null, [
515
+ (u(!0), r(C, null, I(a.series, (o, n) => (u(), r("g", null, [
516
+ e.value.style.chart.plots.show ? (u(), r("g", _t, [
517
+ (u(!0), r(C, null, I(o.datapoints, (s) => (u(), z(ct, {
494
518
  plot: { x: s.x, y: s.y },
495
519
  color: a.color,
496
520
  shape: a.shape,
497
521
  radius: a.shape === "triangle" ? c.value.plotSize * 1.2 : c.value.plotSize,
498
522
  stroke: e.value.style.chart.backgroundColor,
499
523
  strokeWidth: 0.5,
500
- onMouseenter: (r) => Q({
524
+ onMouseenter: (i) => J({
501
525
  shape: a.shape,
502
526
  serieName: a.name,
503
527
  serie: o,
504
528
  relativeIndex: n,
505
529
  seriesIndex: o.seriesIndex
506
530
  }),
507
- onMouseleave: l[0] || (l[0] = (r) => {
531
+ onMouseleave: l[0] || (l[0] = (i) => {
508
532
  p.value = null, D.value = !1;
509
533
  }),
510
- style: z(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
511
- onClick: () => Se(s)
534
+ style: T(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
535
+ onClick: () => Oe(s)
512
536
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
513
- y.value.showTooltip ? g("", !0) : (i(), u(C, { key: 0 }, [
514
- p.value && p.value === o.id && o.datapoints.length ? (i(), u("text", {
537
+ y.value.showTooltip ? g("", !0) : (u(), r(C, { key: 0 }, [
538
+ p.value && p.value === o.id && o.datapoints.length ? (u(), r("text", {
515
539
  key: 0,
516
540
  x: o.datapoints[0].x - c.value.ticksFontSize,
517
541
  y: o.datapoints[0].y + c.value.ticksFontSize / 3,
@@ -519,10 +543,10 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
519
543
  "font-size": c.value.ticksFontSize,
520
544
  fill: a.color,
521
545
  "font-weight": "bold"
522
- }, S(o.name), 9, $t)) : g("", !0)
546
+ }, L(o.name), 9, Tt)) : g("", !0)
523
547
  ], 64)),
524
- e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, M(o.datapoints, (s) => (i(), u("g", null, [
525
- s.comment ? (i(), u("foreignObject", {
548
+ e.value.style.chart.comments.show ? (u(!0), r(C, { key: 1 }, I(o.datapoints, (s) => (u(), r("g", null, [
549
+ s.comment ? (u(), r("foreignObject", {
526
550
  key: 0,
527
551
  style: { overflow: "visible" },
528
552
  height: "12",
@@ -530,23 +554,23 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
530
554
  x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
531
555
  y: s.y + e.value.style.chart.comments.offsetY + 6
532
556
  }, [
533
- F("div", Tt, [
557
+ P("div", Mt, [
534
558
  x(t.$slots, "plot-comment", {
535
559
  plot: { ...s, color: a.color }
536
560
  }, void 0, !0)
537
561
  ])
538
- ], 8, _t)) : g("", !0)
562
+ ], 8, zt)) : g("", !0)
539
563
  ]))), 256)) : g("", !0)
540
564
  ])) : g("", !0),
541
- y.value.dataLabels.show || p.value && p.value === o.id ? (i(!0), u(C, { key: 1 }, M(o.datapoints, (s, r) => (i(), u("text", {
565
+ y.value.dataLabels.show || p.value && p.value === o.id ? (u(!0), r(C, { key: 1 }, I(o.datapoints, (s, i) => (u(), r("text", {
542
566
  x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
543
567
  y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
544
568
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
545
569
  "text-anchor": "start",
546
570
  "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
547
- class: B({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
571
+ class: U({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
548
572
  "font-size": c.value.datapointFontSize,
549
- onMouseenter: ($) => Q({
573
+ onMouseenter: ($) => J({
550
574
  shape: a.shape,
551
575
  serieName: a.name,
552
576
  serie: o,
@@ -556,15 +580,15 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
556
580
  onMouseleave: l[1] || (l[1] = ($) => {
557
581
  p.value = null, D.value = !1;
558
582
  }),
559
- style: z(`opacity:${p.value ? p.value === o.id ? 1 : 0.2 : 1}`)
560
- }, S(he({ value: s.value, index: r, datapoint: s })), 45, zt))), 256)) : g("", !0),
561
- F("path", {
583
+ style: T(`opacity:${p.value ? p.value === o.id ? 1 : 0.2 : 1}`)
584
+ }, L(me({ value: s.value, index: i, datapoint: s })), 45, It))), 256)) : g("", !0),
585
+ P("path", {
562
586
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
563
587
  stroke: a.color,
564
588
  "stroke-width": e.value.style.chart.lines.strokeWidth,
565
589
  fill: "none",
566
- class: B({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
567
- onMouseenter: (s) => Q({
590
+ class: U({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
591
+ onMouseenter: (s) => J({
568
592
  shape: a.shape,
569
593
  serieName: a.name,
570
594
  serie: o,
@@ -574,17 +598,17 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
574
598
  onMouseleave: l[2] || (l[2] = (s) => {
575
599
  p.value = null, D.value = !1;
576
600
  }),
577
- style: z(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
578
- }, null, 46, At)
601
+ style: T(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
602
+ }, null, 46, Pt)
579
603
  ]))), 256))
580
604
  ]))), 256)),
581
605
  x(t.$slots, "svg", { svg: v.value }, void 0, !0)
582
- ], 14, ft)) : g("", !0),
583
- t.$slots.watermark ? (i(), u("div", Mt, [
584
- x(t.$slots, "watermark", R(j({ isPrinting: A(ie) || A(ue) })), void 0, !0)
606
+ ], 14, xt)) : g("", !0),
607
+ t.$slots.watermark ? (u(), r("div", Ft, [
608
+ x(t.$slots, "watermark", W(E({ isPrinting: M(ie) || M(ce) })), void 0, !0)
585
609
  ])) : g("", !0),
586
- P.value ? g("", !0) : (i(), I(ht, {
587
- key: 4,
610
+ F.value ? g("", !0) : (u(), z(mt, {
611
+ key: 5,
588
612
  config: {
589
613
  type: "parallelCoordinatePlot",
590
614
  style: {
@@ -592,33 +616,33 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
592
616
  }
593
617
  }
594
618
  }, null, 8, ["config"])),
595
- F("div", {
619
+ P("div", {
596
620
  ref_key: "chartLegend",
597
- ref: te
621
+ ref: le
598
622
  }, [
599
- e.value.style.chart.legend.show && P.value ? (i(), I(nt, {
600
- key: `legend_${le.value}`,
601
- legendSet: Fe.value,
602
- config: Pe.value,
623
+ e.value.style.chart.legend.show && F.value ? (u(), z(rt, {
624
+ key: `legend_${se.value}`,
625
+ legendSet: Ne.value,
626
+ config: Se.value,
603
627
  onClickMarker: l[3] || (l[3] = ({ legend: a }) => {
604
- ve(a.id), ye(a);
628
+ he(a.id), ge(a);
605
629
  })
606
630
  }, {
607
631
  item: b(({ legend: a, index: o }) => [
608
- F("div", {
632
+ P("div", {
609
633
  onClick: (n) => {
610
- a.segregate(), ye(a);
634
+ a.segregate(), ge(a);
611
635
  },
612
- style: z(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`)
613
- }, S(a.name), 13, It)
636
+ style: T(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`)
637
+ }, L(a.name), 13, Nt)
614
638
  ]),
615
639
  _: 1
616
640
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
617
641
  key: 1,
618
- legend: T.value
642
+ legend: _.value
619
643
  }, void 0, !0)
620
644
  ], 512),
621
- xe(it, {
645
+ Ce(it, {
622
646
  show: y.value.showTooltip && D.value,
623
647
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
624
648
  color: e.value.style.chart.tooltip.color,
@@ -629,20 +653,20 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
629
653
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
630
654
  position: e.value.style.chart.tooltip.position,
631
655
  offsetY: e.value.style.chart.tooltip.offsetY,
632
- parent: L.value,
633
- content: q.value,
634
- isCustom: A(Ce)(e.value.style.chart.tooltip.customFormat)
656
+ parent: N.value,
657
+ content: Q.value,
658
+ isCustom: M($e)(e.value.style.chart.tooltip.customFormat)
635
659
  }, {
636
660
  "tooltip-before": b(() => [
637
- x(t.$slots, "tooltip-before", R(j({ ...Y.value })), void 0, !0)
661
+ x(t.$slots, "tooltip-before", W(E({ ...q.value })), void 0, !0)
638
662
  ]),
639
663
  "tooltip-after": b(() => [
640
- x(t.$slots, "tooltip-after", R(j({ ...Y.value })), void 0, !0)
664
+ x(t.$slots, "tooltip-after", W(E({ ...q.value })), void 0, !0)
641
665
  ]),
642
666
  _: 3
643
667
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
644
- P.value ? (i(), I(dt, {
645
- key: 5,
668
+ F.value ? (u(), z(pt, {
669
+ key: 6,
646
670
  hideDetails: "",
647
671
  config: {
648
672
  open: y.value.showTable,
@@ -658,29 +682,29 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events":
658
682
  }
659
683
  }, {
660
684
  content: b(() => [
661
- (i(), I(vt, {
662
- key: `table_${oe.value}`,
663
- colNames: N.value.colNames,
664
- head: N.value.head,
665
- body: N.value.body,
666
- config: N.value.config,
685
+ (u(), z(ht, {
686
+ key: `table_${ne.value}`,
687
+ colNames: S.value.colNames,
688
+ head: S.value.head,
689
+ body: S.value.body,
690
+ config: S.value.config,
667
691
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
668
692
  onClose: l[4] || (l[4] = (a) => y.value.showTable = !1)
669
693
  }, {
670
694
  th: b(({ th: a }) => [
671
- F("div", { innerHTML: a }, null, 8, Ft)
695
+ P("div", { innerHTML: a }, null, 8, St)
672
696
  ]),
673
697
  td: b(({ td: a }) => [
674
- Re(S(a), 1)
698
+ Ue(L(a), 1)
675
699
  ]),
676
700
  _: 1
677
701
  }, 8, ["colNames", "head", "body", "config", "title"]))
678
702
  ]),
679
703
  _: 1
680
704
  }, 8, ["config"])) : g("", !0)
681
- ], 14, yt));
705
+ ], 14, bt));
682
706
  }
683
- }, Xt = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-88d09f11"]]);
707
+ }, Jt = /* @__PURE__ */ gt(Lt, [["__scopeId", "data-v-5f0cc747"]]);
684
708
  export {
685
- Xt as default
709
+ Jt as default
686
710
  };