vue-data-ui 2.4.2 → 2.4.4

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 (200) hide show
  1. package/README.md +3 -1
  2. package/dist/{Arrow-JuK2z9IB.js → Arrow-AxsI-FAh.js} +1 -1
  3. package/dist/{Arrow-DLTRnzcG.cjs → Arrow-W6XO2WVI.cjs} +1 -1
  4. package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
  5. package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BX3x6oa7.js} +1 -1
  6. package/dist/{DataTable-DTk7C4Pr.js → DataTable-BI1tjiA_.js} +2 -2
  7. package/dist/{DataTable-DJzhv96s.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
  8. package/dist/{Legend-YZ7Hz3o1.cjs → Legend-B86sMXn7.cjs} +1 -1
  9. package/dist/{Legend-CYF2gpXG.js → Legend-CRMHjbGw.js} +1 -1
  10. package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-Clrfvyd8.js} +1 -1
  11. package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
  12. package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-BQzgk5kO.js} +2 -2
  13. package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
  14. package/dist/{Shape-BpPn4eWR.js → Shape-DYNtRer6.js} +1 -1
  15. package/dist/{Shape-X2F-QV_B.cjs → Shape-qK3MNdTg.cjs} +1 -1
  16. package/dist/{Slicer-CU7dRZR0.js → Slicer-DFPDip5U.js} +3 -3
  17. package/dist/{Slicer-CL0tP5a5.cjs → Slicer-NlxLkUso.cjs} +1 -1
  18. package/dist/{Title-5VmBwT4i.js → Title-710895ks.js} +1 -1
  19. package/dist/{Title-Co5jI5ed.cjs → Title-CUN1T6KC.cjs} +1 -1
  20. package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-BapDtYOM.cjs} +1 -1
  21. package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-CPlG_yQU.js} +1 -1
  22. package/dist/index-CcykRspI.cjs +9 -0
  23. package/dist/{index-DnVHQ2xI.js → index-DCsPHn9C.js} +4 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +4 -1
  26. package/dist/types/vue-data-ui.d.ts +4 -1
  27. package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-DdSlLeTW.js} +1 -1
  28. package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
  29. package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-BcE45wW6.cjs} +1 -1
  30. package/dist/{usePrinter-BEeNAqS5.js → usePrinter-siG3sKWo.js} +1 -1
  31. package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
  32. package/dist/useResponsive-CoxXLe23.js +189 -0
  33. package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
  34. package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-D_MTGc8j.js} +58 -58
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BdzWvy4d.js} +41 -34
  38. package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +2 -2
  39. package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
  40. package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
  41. package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
  42. package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CHEdFQb7.js} +185 -168
  43. package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
  44. package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-DBk50kIe.js} +195 -158
  46. package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-Bo41qkGe.js} +263 -246
  48. package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-CkNOqa9q.js} +76 -69
  50. package/dist/vue-ui-carousel-table-lMqx64wd.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-CNWq-epB.js} +299 -286
  52. package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
  53. package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
  54. package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
  55. package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
  56. package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
  57. package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
  58. package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
  59. package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-C65SAJKb.js} +374 -357
  60. package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
  61. package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-BFbBlmBx.js} +240 -226
  63. package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-BnxRfvv0.js} +227 -210
  64. package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
  65. package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
  66. package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Cra_F-tK.js} +150 -137
  67. package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
  68. package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-DlJ7v0aD.js} +145 -132
  69. package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-CsqVvNxE.js} +210 -193
  70. package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
  73. package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
  74. package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-i4HFM04D.js} +203 -189
  75. package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
  77. package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
  79. package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-CgdepnhM.js} +164 -151
  80. package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-Bxro4962.js} +217 -203
  82. package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
  83. package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-B7dXBejH.js} +342 -325
  84. package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
  85. package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
  86. package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-i52wztm0.js} +267 -250
  87. package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
  88. package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +241 -224
  89. package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BORPtgQO.js} +236 -219
  90. package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
  91. package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
  92. package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-yb1FzVdt.js} +469 -452
  93. package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-CoCbl19A.js} +198 -181
  94. package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
  95. package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D-zwuvLK.js} +2 -2
  96. package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
  97. package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
  98. package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
  99. package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
  100. package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-Bx2GEh6d.js} +221 -204
  101. package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-BARiPzro.js} +375 -358
  102. package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
  104. package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-DNuwx6_y.js} +419 -379
  106. package/dist/vue-ui-skeleton-DpfJbsNA.cjs +41 -0
  107. package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-BnX27B0k.js} +2 -2
  108. package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
  109. package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-CgCLrMox.js} +86 -79
  110. package/dist/vue-ui-spark-trend-aW-de-rX.cjs +1 -0
  111. package/dist/vue-ui-sparkbar-BLUXUlTY.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-BXku33sq.js} +90 -83
  113. package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-Doi0iu0L.js} +57 -50
  114. package/dist/vue-ui-sparkgauge-RTiKvSMp.cjs +1 -0
  115. package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-BnMvXlAP.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-C6AgJH1C.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-DI7fq_MR.js} +134 -125
  118. package/dist/vue-ui-sparkline-DpVCQ6W9.cjs +1 -0
  119. package/dist/vue-ui-sparkstackbar-Bvuq2sLW.cjs +1 -0
  120. package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-oNnE5z1C.js} +84 -77
  121. package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-6g7b3yyu.js} +205 -196
  122. package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +2 -2
  123. package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-BFM8HIM8.js} +265 -248
  124. package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
  125. package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
  126. package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
  127. package/dist/vue-ui-table-heatmap-Bh48bMuU.cjs +1 -0
  128. package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-DeRCR8l6.js} +55 -48
  129. package/dist/vue-ui-table-sparkline-C25qj1w_.cjs +1 -0
  130. package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-w3H-od91.js} +88 -81
  131. package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-BySEVhT8.js} +162 -149
  132. package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
  133. package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
  134. package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-BN-9a2lj.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
  136. package/dist/vue-ui-tiremarks-EzYdOMyf.js +317 -0
  137. package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
  138. package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-Da0f6vaF.js} +283 -266
  139. package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-D1cBfu5p.js +869 -0
  141. package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
  142. package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-DM2LsEP7.js} +258 -241
  143. package/dist/vue-ui-wheel-B9cmixxi.js +299 -0
  144. package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
  145. package/dist/vue-ui-word-cloud-BLMWYOPy.cjs +1 -0
  146. package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-Baz7RXN2.js} +192 -183
  147. package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
  148. package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-DVnzVSqE.js} +339 -319
  149. package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-A7PKnWBs.js} +255 -246
  150. package/dist/vue-ui-xy-canvas-DAd-B98z.cjs +9 -0
  151. package/package.json +1 -1
  152. package/dist/index-FfZRtJ6A.cjs +0 -9
  153. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  154. package/dist/useResponsive-NZB-WLRF.js +0 -187
  155. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
  156. package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
  157. package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
  159. package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
  160. package/dist/vue-ui-donut-CplNylps.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
  163. package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
  164. package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
  165. package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
  166. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
  167. package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
  168. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
  169. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
  170. package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
  171. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
  172. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
  173. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +0 -15
  174. package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
  175. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
  176. package/dist/vue-ui-relation-circle-I45_Sk5l.js +0 -349
  177. package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
  178. package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
  179. package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
  180. package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
  181. package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
  182. package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
  183. package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
  184. package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
  185. package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
  186. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
  189. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-vdPQYiDp.js +0 -303
  192. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
  194. package/dist/vue-ui-vertical-bar-DwxpB46q.js +0 -852
  195. package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
  196. package/dist/vue-ui-wheel-Bbih5sSL.js +0 -282
  197. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
  199. package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
  200. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
@@ -1,21 +1,30 @@
1
- import { computed as m, onMounted as He, ref as b, watch as Ee, openBlock as u, createElementBlock as h, normalizeClass as he, normalizeStyle as _, createBlock as P, createCommentVNode as N, unref as i, createSlots as Se, withCtx as y, renderSlot as w, normalizeProps as X, guardReactiveProps as W, createVNode as me, createElementVNode as S, Fragment as F, renderList as I, toDisplayString as q, createTextVNode as Me, nextTick as ze } from "vue";
2
- import { u as Ye, o as De, e as Ge, c as ge, t as Be, a as Ue, p as K, b as Ve, v, f as pe, X as je, F as be, K as Xe, i as We, q as qe, r as Ke } from "./index-DnVHQ2xI.js";
3
- import { _ as Re } from "./Title-5VmBwT4i.js";
4
- import { u as Ze, U as Je } from "./usePrinter-BEeNAqS5.js";
5
- import { D as Qe } from "./DataTable-DTk7C4Pr.js";
6
- import et from "./vue-ui-accordion-DspS4q3f.js";
7
- import tt from "./vue-ui-skeleton-aZmkNzAe.js";
8
- import { u as ye } from "./useNestedProp-Cox0K0Y5.js";
9
- import { _ as ot } from "./PackageVersion-CvCRsT5_.js";
10
- import { P as lt } from "./PenAndPaper-Jb0pLt3G.js";
11
- import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const nt = ["id"], st = {
1
+ import { computed as m, onMounted as Ee, ref as b, watch as Se, openBlock as u, createElementBlock as i, normalizeClass as he, normalizeStyle as N, createBlock as P, createCommentVNode as C, unref as c, createSlots as Me, withCtx as y, renderSlot as k, normalizeProps as X, guardReactiveProps as W, createVNode as me, createElementVNode as S, Fragment as F, renderList as O, toDisplayString as q, createTextVNode as ze, nextTick as Ye } from "vue";
2
+ import { u as De, o as Ge, e as Be, c as ge, t as Ue, a as Ve, p as K, b as je, v as f, f as pe, X as Xe, F as be, K as We, i as qe, q as Ke, r as Re } from "./index-DCsPHn9C.js";
3
+ import { _ as Ze } from "./Title-710895ks.js";
4
+ import { u as Je, U as Qe } from "./usePrinter-siG3sKWo.js";
5
+ import { D as et } from "./DataTable-BI1tjiA_.js";
6
+ import tt from "./vue-ui-accordion-D4Er5Dy5.js";
7
+ import ot from "./vue-ui-skeleton-DNuwx6_y.js";
8
+ import { u as ye } from "./useNestedProp-DdSlLeTW.js";
9
+ import { _ as lt } from "./PackageVersion-Clrfvyd8.js";
10
+ import { P as at } from "./PenAndPaper-BQzgk5kO.js";
11
+ import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const st = ["id"], rt = {
13
13
  key: 1,
14
+ ref: "noTitle",
15
+ class: "vue-data-ui-no-title-space",
16
+ style: "height:36px; width: 100%;background:transparent"
17
+ }, ut = {
18
+ key: 2,
14
19
  style: "width:100%;background:transparent;padding-bottom:24px"
15
- }, rt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"], ct = ["stop-color"], dt = ["d", "fill", "stroke", "stroke-width"], vt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], ft = ["x", "y", "font-size", "fill"], ht = ["x", "y", "font-size", "fill"], mt = {
16
- key: 3,
20
+ }, it = ["xmlns", "viewBox"], ct = ["id"], dt = ["stop-color"], vt = ["stop-color"], ft = ["d", "fill", "stroke", "stroke-width"], ht = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], mt = ["x", "y", "font-size", "fill"], gt = ["x", "y", "font-size", "fill"], pt = {
21
+ key: 4,
17
22
  class: "vue-data-ui-watermark"
18
- }, gt = ["innerHTML"], pt = {
23
+ }, bt = {
24
+ key: 6,
25
+ ref: "source",
26
+ dir: "auto"
27
+ }, yt = ["innerHTML"], kt = {
19
28
  __name: "vue-ui-flow",
20
29
  props: {
21
30
  config: {
@@ -32,12 +41,12 @@ const nt = ["id"], st = {
32
41
  }
33
42
  },
34
43
  setup(ke, { expose: we }) {
35
- const g = ke, { vue_ui_flow: Ce } = Ye(), M = m(() => !!g.dataset && g.dataset.length);
36
- He(() => {
44
+ const g = ke, { vue_ui_flow: Ce } = De(), M = m(() => !!g.dataset && g.dataset.length);
45
+ Ee(() => {
37
46
  R();
38
47
  });
39
48
  function R() {
40
- De(g.dataset) && Ge({
49
+ Ge(g.dataset) && Be({
41
50
  componentName: "VueUiFlow",
42
51
  type: "dataset"
43
52
  });
@@ -57,31 +66,31 @@ const nt = ["id"], st = {
57
66
  });
58
67
  return t.theme ? {
59
68
  ...ye({
60
- userConfig: Be.vue_ui_flow[t.theme] || g.config,
69
+ userConfig: Ue.vue_ui_flow[t.theme] || g.config,
61
70
  defaultConfig: t
62
71
  }),
63
- customPalette: Ue[t.theme] || K
72
+ customPalette: Ve[t.theme] || K
64
73
  } : t;
65
74
  }
66
- Ee(() => g.config, (t) => {
75
+ Se(() => g.config, (t) => {
67
76
  e.value = Q(), R(), J.value += 1;
68
77
  }, { deep: !0 });
69
- const { isPrinting: ee, isImaging: te, generatePdf: oe, generateImage: le } = Ze({
78
+ const { isPrinting: ee, isImaging: te, generatePdf: oe, generateImage: le } = Je({
70
79
  elementId: `flow_${z.value}`,
71
80
  fileName: e.value.style.chart.title.text || "vue-ui-flow"
72
- }), D = m(() => Ve(e.value.customPalette)), ae = m(() => e.value.style.chart.nodes.gap), $ = m(() => e.value.style.chart.nodes.width), O = b({
81
+ }), _e = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = m(() => je(e.value.customPalette)), ae = m(() => e.value.style.chart.nodes.gap), _ = m(() => e.value.style.chart.nodes.width), I = b({
73
82
  showTable: e.value.table.show
74
83
  }), ne = m(() => e.value.style.chart.links.width), G = m(() => !g.dataset || !g.dataset.length ? [] : g.dataset.map((t) => [
75
84
  t[0],
76
85
  t[1],
77
- v(t[2])
86
+ f(t[2])
78
87
  ])), se = m(() => {
79
88
  const t = {};
80
89
  function l(n) {
81
90
  t[n] || (t[n] = { inflow: 0, outflow: 0 });
82
91
  }
83
- G.value.forEach(([n, a, c]) => {
84
- l(n), l(a), t[n].outflow += c, t[a].inflow += c;
92
+ G.value.forEach(([n, a, v]) => {
93
+ l(n), l(a), t[n].outflow += v, t[a].inflow += v;
85
94
  });
86
95
  let o = 0;
87
96
  for (const n in t) {
@@ -93,18 +102,18 @@ const nt = ["id"], st = {
93
102
  function xe(t) {
94
103
  return t / se.value * 100 + e.value.style.chart.nodes.minHeight;
95
104
  }
96
- function _e(t) {
105
+ function Ne(t) {
97
106
  const l = e.value.style.chart.nodes.minHeight;
98
107
  return (t - l) / 100 * se.value;
99
108
  }
100
- function Ne(t) {
109
+ function Te(t) {
101
110
  const l = {}, o = {};
102
111
  function n(s, r) {
103
112
  l[s] || (l[s] = { height: 0, level: null, inflow: 0, outflow: 0 }), l[s].level === null && (l[s].level = r), o[r] || (o[r] = []), o[r].includes(s) || o[r].push(s);
104
113
  }
105
- t.forEach(([s, r, f], x) => {
106
- const C = l[s] ? l[s].level : 0, E = C + 1;
107
- n(s, C), n(r, E), l[s].children || (l[s].children = []), l[s].children.push({ target: r, value: f }), l[s].outflow += f, l[r].inflow += f;
114
+ t.forEach(([s, r, h], x) => {
115
+ const $ = l[s] ? l[s].level : 0, E = $ + 1;
116
+ n(s, $), n(r, E), l[s].children || (l[s].children = []), l[s].children.push({ target: r, value: h }), l[s].outflow += h, l[r].inflow += h;
108
117
  }), Object.keys(l).forEach((s, r) => {
109
118
  l[s].color = D.value[r] || D.value[r % D.value.length] || K[r] || K[r % d.length];
110
119
  });
@@ -113,39 +122,39 @@ const nt = ["id"], st = {
113
122
  const a = {};
114
123
  for (const s in o) {
115
124
  let r = 0;
116
- o[s].forEach((f, x) => {
117
- const C = l[f].height;
118
- a[f] = {
125
+ o[s].forEach((h, x) => {
126
+ const $ = l[h].height;
127
+ a[h] = {
119
128
  x: parseInt(s, 10) * ne.value + e.value.style.chart.padding.left,
120
129
  y: r,
121
130
  absoluteY: r,
122
- height: C,
131
+ height: $,
123
132
  i: x,
124
- color: l[f].color,
125
- value: _e(C)
126
- }, r += C + ae.value;
133
+ color: l[h].color,
134
+ value: Ne($)
135
+ }, r += $ + ae.value;
127
136
  });
128
137
  }
129
- const c = [];
138
+ const v = [];
130
139
  for (const s in l) {
131
140
  let r = a[s].absoluteY;
132
- l[s].children && l[s].children.forEach(({ target: f, value: x }, C) => {
133
- const E = a[f].y, V = a[s], j = a[f], ce = v(r), de = v(r + x / l[s].outflow * V.height), ve = v(E), fe = v(E + x / l[f].inflow * j.height), Le = {
141
+ l[s].children && l[s].children.forEach(({ target: h, value: x }, $) => {
142
+ const E = a[h].y, V = a[s], j = a[h], ce = f(r), de = f(r + x / l[s].outflow * V.height), ve = f(E), fe = f(E + x / l[h].inflow * j.height), He = {
134
143
  id: ge(),
135
144
  source: s,
136
- target: f,
137
- path: `M ${v(V.x) + v($.value)} ${ce} L ${v(V.x) + v($.value)} ${de} L ${v(j.x)} ${fe} L ${v(j.x)} ${ve} Z`,
145
+ target: h,
146
+ path: `M ${f(V.x) + f(_.value)} ${ce} L ${f(V.x) + f(_.value)} ${de} L ${f(j.x)} ${fe} L ${f(j.x)} ${ve} Z`,
138
147
  value: x,
139
148
  sourceColor: l[s].color,
140
- targetColor: l[f].color
149
+ targetColor: l[h].color
141
150
  };
142
- c.push(Le), r += de - ce, a[f].y += fe - ve;
151
+ v.push(He), r += de - ce, a[h].y += fe - ve;
143
152
  });
144
153
  }
145
- return { nodeCoordinates: a, links: c };
154
+ return { nodeCoordinates: a, links: v };
146
155
  }
147
156
  const p = m(() => {
148
- const t = Ne(g.dataset);
157
+ const t = Te(g.dataset);
149
158
  return {
150
159
  nodes: Object.keys(t.nodeCoordinates).map((l, o) => ({
151
160
  ...t.nodeCoordinates[l],
@@ -153,20 +162,20 @@ const nt = ["id"], st = {
153
162
  })),
154
163
  links: t.links
155
164
  };
156
- }), Te = m(() => Pe(p.value.nodes));
157
- function Pe(t) {
165
+ }), Pe = m(() => Fe(p.value.nodes));
166
+ function Fe(t) {
158
167
  const l = {};
159
168
  for (const n in t) {
160
- const { x: a, height: c } = t[n];
161
- l[a] || (l[a] = 0), l[a] += c + ae.value;
169
+ const { x: a, height: v } = t[n];
170
+ l[a] || (l[a] = 0), l[a] += v + ae.value;
162
171
  }
163
172
  return Math.max(...Object.values(l));
164
173
  }
165
174
  const B = m(() => {
166
175
  const { top: t, right: l, left: o, bottom: n } = e.value.style.chart.padding, a = G.value.length * ne.value;
167
176
  return {
168
- height: Te.value + t + n,
169
- width: l + Math.max(...p.value.nodes.map((c) => c.x)) + $.value,
177
+ height: Pe.value + t + n,
178
+ width: l + Math.max(...p.value.nodes.map((v) => v.x)) + _.value,
170
179
  left: o,
171
180
  top: t,
172
181
  right: a - l,
@@ -174,18 +183,18 @@ const nt = ["id"], st = {
174
183
  p_bottom: n
175
184
  };
176
185
  });
177
- function Fe(t) {
186
+ function Oe(t) {
178
187
  const l = {}, o = {}, n = /* @__PURE__ */ new Set();
179
- return G.value.forEach(([a, c, s]) => {
180
- l[a] || (l[a] = []), o[c] || (o[c] = []), l[a].push(c), o[c].push(a);
188
+ return G.value.forEach(([a, v, s]) => {
189
+ l[a] || (l[a] = []), o[v] || (o[v] = []), l[a].push(v), o[v].push(a);
181
190
  }), l[t] && l[t].forEach((a) => n.add(a)), o[t] && o[t].forEach((a) => n.add(a)), Array.from(n).concat(t);
182
191
  }
183
- const k = b(null), A = b(null);
192
+ const w = b(null), A = b(null);
184
193
  function Ie(t) {
185
- k.value = Fe(t.name), A.value = t.name;
194
+ w.value = Oe(t.name), A.value = t.name;
186
195
  }
187
- function Oe() {
188
- k.value = null, A.value = null;
196
+ function Ae() {
197
+ w.value = null, A.value = null;
189
198
  }
190
199
  const re = m(() => p.value.links.map(({ source: t, target: l, sourceColor: o, targetColor: n, value: a }) => ({
191
200
  source: t,
@@ -195,7 +204,7 @@ const nt = ["id"], st = {
195
204
  value: a
196
205
  })));
197
206
  function ue() {
198
- ze(() => {
207
+ Ye(() => {
199
208
  const t = re.value.map((n, a) => [
200
209
  [n.source],
201
210
  [n.target],
@@ -208,8 +217,8 @@ const nt = ["id"], st = {
208
217
  [e.value.table.columnNames.target],
209
218
  [e.value.table.columnNames.value]
210
219
  ]
211
- ].concat(t), o = qe(l);
212
- Ke({
220
+ ].concat(t), o = Ke(l);
221
+ Re({
213
222
  csvContent: o,
214
223
  title: e.value.style.chart.title.text || "vue-ui-flow"
215
224
  });
@@ -220,7 +229,7 @@ const nt = ["id"], st = {
220
229
  e.value.table.columnNames.source,
221
230
  e.value.table.columnNames.target,
222
231
  e.value.table.columnNames.value
223
- ], l = re.value.map((a, c) => [
232
+ ], l = re.value.map((a, v) => [
224
233
  {
225
234
  color: a.sourceColor,
226
235
  name: a.source
@@ -259,40 +268,41 @@ const nt = ["id"], st = {
259
268
  config: o
260
269
  };
261
270
  });
262
- function Ae() {
271
+ function Le() {
263
272
  return p.value;
264
273
  }
265
274
  function ie() {
266
- O.value.showTable = !O.value.showTable;
275
+ I.value.showTable = !I.value.showTable;
267
276
  }
268
277
  const H = b(!1);
269
278
  function U() {
270
279
  H.value = !H.value;
271
280
  }
272
281
  return we({
273
- getData: Ae,
282
+ getData: Le,
274
283
  generateCsv: ue,
275
284
  generateImage: le,
276
285
  generatePdf: oe,
277
286
  toggleTable: ie,
278
287
  toggleAnnotator: U
279
- }), (t, l) => (u(), h("div", {
288
+ }), (t, l) => (u(), i("div", {
280
289
  ref_key: "flowChart",
281
290
  ref: Y,
282
291
  class: he(`vue-ui-flow ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
283
- style: _(`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}`),
292
+ style: N(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
284
293
  id: `flow_${z.value}`
285
294
  }, [
286
- e.value.userOptions.buttons.annotator ? (u(), P(lt, {
295
+ e.value.userOptions.buttons.annotator ? (u(), P(at, {
287
296
  key: 0,
288
297
  parent: Y.value,
289
298
  backgroundColor: e.value.style.chart.backgroundColor,
290
299
  color: e.value.style.chart.color,
291
300
  active: H.value,
292
301
  onClose: U
293
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : N("", !0),
294
- e.value.style.chart.title.text ? (u(), h("div", st, [
295
- (u(), P(Re, {
302
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : C("", !0),
303
+ _e.value ? (u(), i("div", rt, null, 512)) : C("", !0),
304
+ e.value.style.chart.title.text ? (u(), i("div", ut, [
305
+ (u(), P(Ze, {
296
306
  key: `title_${J.value}`,
297
307
  config: {
298
308
  title: {
@@ -305,14 +315,14 @@ const nt = ["id"], st = {
305
315
  }
306
316
  }
307
317
  }, null, 8, ["config"]))
308
- ])) : N("", !0),
309
- e.value.userOptions.show && M.value ? (u(), P(Je, {
318
+ ])) : C("", !0),
319
+ e.value.userOptions.show && M.value ? (u(), P(Qe, {
310
320
  ref: "details",
311
321
  key: `user_option_${Z.value}`,
312
322
  backgroundColor: e.value.style.chart.backgroundColor,
313
323
  color: e.value.style.chart.color,
314
- isPrinting: i(ee),
315
- isImaging: i(te),
324
+ isPrinting: c(ee),
325
+ isImaging: c(te),
316
326
  uid: z.value,
317
327
  hasPdf: e.value.userOptions.buttons.pdf,
318
328
  hasXls: e.value.userOptions.buttons.csv,
@@ -326,64 +336,64 @@ const nt = ["id"], st = {
326
336
  hasAnnotator: e.value.userOptions.buttons.annotator,
327
337
  isAnnotation: H.value,
328
338
  onToggleFullscreen: $e,
329
- onGeneratePdf: i(oe),
339
+ onGeneratePdf: c(oe),
330
340
  onGenerateCsv: ue,
331
- onGenerateImage: i(le),
341
+ onGenerateImage: c(le),
332
342
  onToggleTable: ie,
333
343
  onToggleAnnotator: U
334
- }, Se({ _: 2 }, [
344
+ }, Me({ _: 2 }, [
335
345
  t.$slots.optionPdf ? {
336
346
  name: "optionPdf",
337
347
  fn: y(() => [
338
- w(t.$slots, "optionPdf", {}, void 0, !0)
348
+ k(t.$slots, "optionPdf", {}, void 0, !0)
339
349
  ]),
340
350
  key: "0"
341
351
  } : void 0,
342
352
  t.$slots.optionCsv ? {
343
353
  name: "optionCsv",
344
354
  fn: y(() => [
345
- w(t.$slots, "optionCsv", {}, void 0, !0)
355
+ k(t.$slots, "optionCsv", {}, void 0, !0)
346
356
  ]),
347
357
  key: "1"
348
358
  } : void 0,
349
359
  t.$slots.optionImg ? {
350
360
  name: "optionImg",
351
361
  fn: y(() => [
352
- w(t.$slots, "optionImg", {}, void 0, !0)
362
+ k(t.$slots, "optionImg", {}, void 0, !0)
353
363
  ]),
354
364
  key: "2"
355
365
  } : void 0,
356
366
  t.$slots.optionTable ? {
357
367
  name: "optionTable",
358
368
  fn: y(() => [
359
- w(t.$slots, "optionTable", {}, void 0, !0)
369
+ k(t.$slots, "optionTable", {}, void 0, !0)
360
370
  ]),
361
371
  key: "3"
362
372
  } : void 0,
363
373
  t.$slots.optionFullscreen ? {
364
374
  name: "optionFullscreen",
365
375
  fn: y(({ toggleFullscreen: o, isFullscreen: n }) => [
366
- w(t.$slots, "optionFullscreen", X(W({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
376
+ k(t.$slots, "optionFullscreen", X(W({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
367
377
  ]),
368
378
  key: "4"
369
379
  } : void 0,
370
380
  t.$slots.optionAnnotator ? {
371
381
  name: "optionAnnotator",
372
382
  fn: y(({ toggleAnnotator: o, isAnnotator: n }) => [
373
- w(t.$slots, "optionAnnotator", X(W({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
383
+ k(t.$slots, "optionAnnotator", X(W({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
374
384
  ]),
375
385
  key: "5"
376
386
  } : void 0
377
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : N("", !0),
378
- (u(), h("svg", {
379
- xmlns: i(je),
387
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : C("", !0),
388
+ (u(), i("svg", {
389
+ xmlns: c(Xe),
380
390
  viewBox: `0 0 ${B.value.width} ${B.value.height}`,
381
391
  class: he({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
382
- style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
392
+ style: N(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
383
393
  }, [
384
- me(ot),
394
+ me(lt),
385
395
  S("defs", null, [
386
- (u(!0), h(F, null, I(p.value.links, (o, n) => (u(), h("linearGradient", {
396
+ (u(!0), i(F, null, O(p.value.links, (o, n) => (u(), i("linearGradient", {
387
397
  id: o.id,
388
398
  x1: "0%",
389
399
  y1: "0%",
@@ -393,67 +403,67 @@ const nt = ["id"], st = {
393
403
  S("stop", {
394
404
  offset: "0%",
395
405
  "stop-color": o.sourceColor
396
- }, null, 8, it),
406
+ }, null, 8, dt),
397
407
  S("stop", {
398
408
  offset: "100%",
399
409
  "stop-color": o.targetColor
400
- }, null, 8, ct)
401
- ], 8, ut))), 256))
410
+ }, null, 8, vt)
411
+ ], 8, ct))), 256))
402
412
  ]),
403
- (u(!0), h(F, null, I(p.value.links, (o) => (u(), h("path", {
413
+ (u(!0), i(F, null, O(p.value.links, (o) => (u(), i("path", {
404
414
  class: "vue-ui-flow-link",
405
415
  d: o.path,
406
416
  fill: `url(#${o.id})`,
407
417
  stroke: e.value.style.chart.links.stroke,
408
418
  "stroke-width": e.value.style.chart.links.strokeWidth,
409
- style: _(`opacity:${A.value ? [o.target, o.source].includes(A.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}`)
410
- }, null, 12, dt))), 256)),
411
- (u(!0), h(F, null, I(p.value.nodes, (o, n) => (u(), h("rect", {
419
+ style: N(`opacity:${A.value ? [o.target, o.source].includes(A.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}`)
420
+ }, null, 12, ft))), 256)),
421
+ (u(!0), i(F, null, O(p.value.nodes, (o, n) => (u(), i("rect", {
412
422
  class: "vue-ui-flow-node",
413
423
  x: o.x,
414
- y: i(v)(o.absoluteY),
415
- height: i(v)(o.height),
416
- width: $.value,
424
+ y: c(f)(o.absoluteY),
425
+ height: c(f)(o.height),
426
+ width: _.value,
417
427
  fill: o.color,
418
428
  stroke: e.value.style.chart.nodes.stroke,
419
429
  "stroke-width": e.value.style.chart.nodes.strokeWidth,
420
430
  onMouseenter: (a) => Ie(o),
421
- onMouseleave: l[0] || (l[0] = (a) => Oe()),
422
- style: _(`opacity:${k.value ? k.value.includes(o.name) ? 1 : 0.2 : 1}`)
423
- }, null, 44, vt))), 256)),
424
- (u(!0), h(F, null, I(p.value.nodes, (o, n) => (u(), h("text", {
425
- x: o.x + $.value / 2,
426
- y: i(v)(o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4),
431
+ onMouseleave: l[0] || (l[0] = (a) => Ae()),
432
+ style: N(`opacity:${w.value ? w.value.includes(o.name) ? 1 : 0.2 : 1}`)
433
+ }, null, 44, ht))), 256)),
434
+ (u(!0), i(F, null, O(p.value.nodes, (o, n) => (u(), i("text", {
435
+ x: o.x + _.value / 2,
436
+ y: c(f)(o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4),
427
437
  "font-size": e.value.style.chart.nodes.labels.fontSize,
428
- fill: i(be)(o.color),
438
+ fill: c(be)(o.color),
429
439
  "text-anchor": "middle",
430
- style: _(`pointer-events: none; opacity:${k.value ? k.value.includes(o.name) ? 1 : 0 : 1}`)
431
- }, q(e.value.style.chart.nodes.labels.abbreviation.use ? i(Xe)({ source: o.name, length: e.value.style.chart.nodes.labels.abbreviation.length }) : o.name), 13, ft))), 256)),
432
- (u(!0), h(F, null, I(p.value.nodes, (o, n) => (u(), h("text", {
433
- x: o.x + $.value / 2,
434
- y: i(v)(o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize),
440
+ style: N(`pointer-events: none; opacity:${w.value ? w.value.includes(o.name) ? 1 : 0 : 1}`)
441
+ }, q(e.value.style.chart.nodes.labels.abbreviation.use ? c(We)({ source: o.name, length: e.value.style.chart.nodes.labels.abbreviation.length }) : o.name), 13, mt))), 256)),
442
+ (u(!0), i(F, null, O(p.value.nodes, (o, n) => (u(), i("text", {
443
+ x: o.x + _.value / 2,
444
+ y: c(f)(o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize),
435
445
  "font-size": e.value.style.chart.nodes.labels.fontSize,
436
- fill: i(be)(o.color),
446
+ fill: c(be)(o.color),
437
447
  "text-anchor": "middle",
438
- style: _(`pointer-events: none; opacity:${k.value ? k.value.includes(o.name) ? 1 : 0 : 1}`)
439
- }, q(i(We)(
448
+ style: N(`pointer-events: none; opacity:${w.value ? w.value.includes(o.name) ? 1 : 0 : 1}`)
449
+ }, q(c(qe)(
440
450
  e.value.style.chart.nodes.labels.formatter,
441
451
  o.value,
442
- i(pe)({
452
+ c(pe)({
443
453
  p: e.value.style.chart.nodes.labels.prefix,
444
454
  v: o.value,
445
455
  s: e.value.style.chart.nodes.labels.suffix,
446
456
  r: e.value.style.chart.nodes.labels.rounding
447
457
  }),
448
458
  { datapoint: o, seriesIndex: n }
449
- )), 13, ht))), 256)),
450
- w(t.$slots, "svg", { svg: B.value }, void 0, !0)
451
- ], 14, rt)),
452
- t.$slots.watermark ? (u(), h("div", mt, [
453
- w(t.$slots, "watermark", X(W({ isPrinting: i(ee) || i(te) })), void 0, !0)
454
- ])) : N("", !0),
455
- M.value ? N("", !0) : (u(), P(tt, {
456
- key: 4,
459
+ )), 13, gt))), 256)),
460
+ k(t.$slots, "svg", { svg: B.value }, void 0, !0)
461
+ ], 14, it)),
462
+ t.$slots.watermark ? (u(), i("div", pt, [
463
+ k(t.$slots, "watermark", X(W({ isPrinting: c(ee) || c(te) })), void 0, !0)
464
+ ])) : C("", !0),
465
+ M.value ? C("", !0) : (u(), P(ot, {
466
+ key: 5,
457
467
  config: {
458
468
  type: "flow",
459
469
  style: {
@@ -461,11 +471,14 @@ const nt = ["id"], st = {
461
471
  }
462
472
  }
463
473
  }, null, 8, ["config"])),
464
- M.value ? (u(), P(et, {
465
- key: 5,
474
+ t.$slots.source ? (u(), i("div", bt, [
475
+ k(t.$slots, "source", {}, void 0, !0)
476
+ ], 512)) : C("", !0),
477
+ M.value ? (u(), P(tt, {
478
+ key: 7,
466
479
  hideDetails: "",
467
480
  config: {
468
- open: O.value.showTable,
481
+ open: I.value.showTable,
469
482
  maxHeight: 1e4,
470
483
  body: {
471
484
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -478,31 +491,31 @@ const nt = ["id"], st = {
478
491
  }
479
492
  }, {
480
493
  content: y(() => [
481
- me(Qe, {
494
+ me(et, {
482
495
  colNames: L.value.colNames,
483
496
  head: L.value.head,
484
497
  body: L.value.body,
485
498
  config: L.value.config,
486
499
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
487
- onClose: l[1] || (l[1] = (o) => O.value.showTable = !1)
500
+ onClose: l[1] || (l[1] = (o) => I.value.showTable = !1)
488
501
  }, {
489
502
  th: y(({ th: o }) => [
490
503
  S("div", {
491
504
  innerHTML: o,
492
505
  style: { display: "flex", "align-items": "center" }
493
- }, null, 8, gt)
506
+ }, null, 8, yt)
494
507
  ]),
495
508
  td: y(({ td: o }) => [
496
- Me(q(o.name || o), 1)
509
+ ze(q(o.name || o), 1)
497
510
  ]),
498
511
  _: 1
499
512
  }, 8, ["colNames", "head", "body", "config", "title"])
500
513
  ]),
501
514
  _: 1
502
- }, 8, ["config"])) : N("", !0)
503
- ], 14, nt));
515
+ }, 8, ["config"])) : C("", !0)
516
+ ], 14, st));
504
517
  }
505
- }, Ft = /* @__PURE__ */ at(pt, [["__scopeId", "data-v-b1626dda"]]);
518
+ }, At = /* @__PURE__ */ nt(kt, [["__scopeId", "data-v-49421974"]]);
506
519
  export {
507
- Ft as default
520
+ At as default
508
521
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-CcykRspI.cjs"),re=require("./Legend-B86sMXn7.cjs"),ne=require("./Title-CUN1T6KC.cjs"),se=require("./Tooltip-BapDtYOM.cjs"),ue=require("./DataTable-RUQ1G_6L.cjs"),U=require("./usePrinter-BcE45wW6.cjs"),ie=require("./vue-ui-skeleton-DpfJbsNA.cjs"),ce=require("./vue-ui-accordion-B7PTyFVk.cjs"),H=require("./useNestedProp-XtPlFP9O.cjs"),de=require("./PackageVersion-CowXQ4IM.cjs"),ve=require("./PenAndPaper-DBSxk9Xk.cjs"),pe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),he=["id"],fe={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},ye={key:2,style:"width:100%;background:transparent;padding-bottom:24px"},ge=["xmlns","viewBox"],me=["id"],be=["stdDeviation"],ke=["d","stroke","stroke-width"],Ce=["d","stroke","stroke-width"],we=["filter"],xe=["d","stroke","stroke-width"],$e=["d","stroke-width","onMouseenter","onClick"],Be={key:5,class:"vue-data-ui-watermark"},Ne=["onClick"],Te={key:0},_e={key:1},Se={key:8,ref:"source",dir:"auto"},Pe=["innerHTML"],Ve={__name:"vue-ui-galaxy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(X,{expose:j,emit:S}){const i=X,{vue_ui_galaxy:Y}=r.useConfig(),b=e.computed(()=>!!i.dataset&&i.dataset.length);e.onMounted(()=>{P()});function P(){r.objectIsEmpty(i.dataset)?r.error({componentName:"VueUiGalaxy",type:"dataset"}):i.dataset.forEach((l,a)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{r.error({componentName:"VueUiGalaxy",type:"datasetSerieAttribute",property:o,index:a})})})}const y=e.ref(r.createUid()),k=e.ref(null),J=e.ref(null),x=e.ref(!1),$=e.ref(""),c=e.ref(null),V=e.ref(0),E=e.ref(0),L=e.ref(0),O=e.ref(0),t=e.computed({get:()=>A(),set:l=>l});function A(){const l=H.useNestedProp({userConfig:i.config,defaultConfig:Y});return l.theme?{...H.useNestedProp({userConfig:r.themes.vue_ui_galaxy[l.theme]||i.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>i.config,l=>{t.value=A(),P(),E.value+=1,L.value+=1,O.value+=1},{deep:!0});const{isPrinting:F,isImaging:I,generatePdf:z,generateImage:D}=U.usePrinter({elementId:`galaxy_${y.value}`,fileName:t.value.style.chart.title.text||"vue-ui-galaxy"}),K=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),Q=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),v=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),B=e.ref({height:180,width:250}),u=e.ref([]);function N(l){u.value.includes(l.id)?u.value=u.value.filter(a=>a!==l.id):u.value.push(l.id),S("selectLegend",g.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const h=e.computed(()=>i.dataset.map((l,a)=>({name:l.name,color:r.convertColorToHex(l.color)||Q.value[a]||r.palette[a]||r.palette[a%r.palette.length],value:l.values?r.sanitizeArray(l.values).reduce((o,n)=>o+n,0):0,absoluteValues:r.sanitizeArray(l.values),id:r.createUid(),seriesIndex:a})).sort((l,a)=>a.value-l.value));function Z(){return h.value.map(l=>({name:l.name,color:l.color,value:l.value}))}const d=e.computed(()=>h.value.filter(l=>!u.value.includes(l.id)).map(l=>l.value).reduce((l,a)=>l+a,0)),ee=e.ref(190),q=e.computed(()=>h.value.filter(l=>!u.value.includes(l.id))),g=e.computed(()=>{const l=[];for(let a=0;a<q.value.length;a+=1){const o=q.value[a];let n=o.value/d.value*ee.value;a>0&&l.length&&(n+=l[a-1].points),l.push({points:n,...o,seriesIndex:a,proportion:o.value/d.value,path:r.createSpiralPath({points:n,startX:115+t.value.style.chart.layout.arcs.offsetX,startY:90+t.value.style.chart.layout.arcs.offsetY})})}return l.filter((a,o)=>!u.value.includes(a.id)).toSorted((a,o)=>o.points-a.points)}),m=e.ref(!1);function te(l){m.value=l,V.value+=1}const T=e.ref(null);function le({datapoint:l,_relativeIndex:a,seriesIndex:o,show:n=!1}){T.value={datapoint:l,seriesIndex:o,series:h.value,config:t.value},x.value=n,c.value=l.id;let s="";const f=t.value.style.chart.tooltip.customFormat;r.isFunction(f)&&r.functionReturnsString(()=>f({seriesIndex:o,datapoint:l,series:h.value,config:t.value}))?$.value=f({seriesIndex:o,datapoint:l,series:h.value,config:t.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`,s+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`,t.value.style.chart.tooltip.showValue&&(s+=`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,l.value,r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:l,seriesIndex:o})}</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?s+=`<span>(${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:s+=`<b>${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),$.value=`<div>${s}</div>`)}const G=e.computed(()=>h.value.map((l,a)=>({...l,proportion:(l.value||0)/i.dataset.map(o=>(o.values||[]).reduce((n,s)=>n+s,0)).reduce((o,n)=>o+n,0),opacity:u.value.includes(l.id)?.5:1,shape:l.shape||"circle",segregate:()=>N(l),isSegregated:u.value.includes(l.id)}))),oe=e.computed(()=>({cy:"galaxy-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),p=e.computed(()=>{const l=g.value.map(o=>({name:o.name,color:o.color})),a=g.value.map(o=>o.value);return{head:l,body:a}});function M(){e.nextTick(()=>{const l=p.value.head.map((n,s)=>[[n.name],[p.value.body[s]],[isNaN(p.value.body[s]/d.value)?"-":p.value.body[s]/d.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=r.createCsvContent(a);r.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-galaxy"})})}const C=e.computed(()=>{const l=[' <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>',r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:d.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=p.value.head.map((s,f)=>{const ae=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:p.value.body[f],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:s.color,name:s.name},ae,isNaN(p.value.body[f]/d.value)?"-":r.dataLabel({v:p.value.body[f]/d.value*100,s:"%",r:t.value.table.td.roundingPercentage})]}),o={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],head:l,body:a,config:o}});function W(){v.value.showTable=!v.value.showTable}function R(){v.value.showTooltip=!v.value.showTooltip}const w=e.ref(!1);function _(){w.value=!w.value}return j({getData:Z,generatePdf:z,generateCsv:M,generateImage:D,toggleTable:W,toggleTooltip:R,toggleAnnotator:_}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"galaxyChart",ref:k,class:e.normalizeClass(`vue-ui-galaxy ${m.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor}`),id:`galaxy_${y.value}`},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ve.PenAndPaper,{key:0,parent:k.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:w.value,onClose:_},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),K.value?(e.openBlock(),e.createElementBlock("div",fe,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",ye,[(e.openBlock(),e.createBlock(ne._sfc_main,{key:`title_${E.value}`,config:{title:{cy:"galaxy-div-title",...t.value.style.chart.title},subtitle:{cy:"galaxy-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value?(e.openBlock(),e.createBlock(U.UserOptions,{ref_key:"details",ref:J,key:`user_option_${V.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(F),isImaging:e.unref(I),uid:y.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:v.value.showTooltip,isFullscreen:m.value,titles:{...t.value.userOptions.buttonTitles},chartElement:k.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:te,onGeneratePdf:e.unref(z),onGenerateCsv:M,onGenerateImage:e.unref(D),onToggleTable:W,onToggleTooltip:R,onToggleAnnotator:_},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:n})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":m.value,"vue-data-ui-fulscreen--off":!m.value}),viewBox:`0 0 ${B.value.width} ${B.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(de._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${y.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:100/t.value.style.chart.layout.arcs.gradient.intensity},null,8,be)],8,me)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,o=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:t.value.style.chart.backgroundColor,"stroke-width":(t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth)*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round"},null,8,ke)):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("path",{key:1,d:o.path,fill:"none",stroke:o.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`${c.value&&c.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,Ce)):e.createCommentVNode("",!0),o.value&&t.value.style.chart.layout.arcs.gradient.show?(e.openBlock(),e.createElementBlock("g",{key:2,filter:`url(#blur_${y.value})`},[e.createElementVNode("path",{d:o.path,fill:"none",stroke:t.value.style.chart.layout.arcs.gradient.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth/2*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`vue-ui-galaxy-gradient ${c.value&&c.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,xe)],8,we)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:"transparent","stroke-width":t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth,"stroke-linecap":"round",onMouseenter:s=>le({datapoint:o,relativeIndex:n,seriesIndex:o.seriesIndex,show:!0}),onMouseleave:a[0]||(a[0]=s=>{x.value=!1,c.value=null}),onClick:s=>S("selectDatapoint",o)},null,40,$e)):e.createCommentVNode("",!0)]))),256)),e.renderSlot(l.$slots,"svg",{svg:B.value},void 0,!0)],14,ge)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Be,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(F)||e.unref(I)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ie.default,{key:6,config:{type:"galaxy",style:{backgroundColor:t.value.style.chart.backgroundColor,galaxy:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(re.Legend,{key:`legend_${O.value}`,legendSet:G.value,config:oe.value,onClickMarker:a[1]||(a[1]=({legend:o})=>N(o))},{item:e.withCtx(({legend:o,index:n})=>[e.createElementVNode("div",{onClick:s=>N(o),style:e.normalizeStyle(`opacity:${u.value.includes(o.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(o.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:n}))+" ",1),u.value.includes(o.id)?(e.openBlock(),e.createElementBlock("span",_e," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Te," ("+e.toDisplayString(isNaN(o.value/d.value)?"-":e.unref(r.dataLabel)({v:o.value/d.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,Ne)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:G.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",Se,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(se._sfc_main,{show:v.value.showTooltip&&x.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:k.value,content:$.value,isCustom:e.unref(r.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...T.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...T.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isCustom"]),b.value?(e.openBlock(),e.createBlock(ce.default,{key:9,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ue.DataTable,{key:`table_${L.value}`,colNames:C.value.colNames,head:C.value.head,body:C.value.body,config:C.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=o=>v.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,Pe)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,he))}},Ee=pe._export_sfc(Ve,[["__scopeId","data-v-9e3163ed"]]);exports.default=Ee;