vue-data-ui 2.10.6 → 2.10.7

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 (169) hide show
  1. package/README.md +1 -1
  2. package/dist/{Arrow-Cl3tB80E.cjs → Arrow-CB6EKr1I.cjs} +1 -1
  3. package/dist/{Arrow-rRiIHng2.js → Arrow-CZUwKF2D.js} +1 -1
  4. package/dist/{BaseIcon-CiINppo2.cjs → BaseIcon-BkA9Q34x.cjs} +1 -1
  5. package/dist/{BaseIcon-COlnFbOq.js → BaseIcon-Bzv6qbPZ.js} +1 -1
  6. package/dist/{ColorPicker-9QCAgrqp.cjs → ColorPicker-CSWIZQFG.cjs} +1 -1
  7. package/dist/{ColorPicker-UNzkvlGG.js → ColorPicker-C_UcScy-.js} +3 -3
  8. package/dist/{DataTable-CXbN2mJi.js → DataTable-BhwIv7c6.js} +2 -2
  9. package/dist/{DataTable-DOiZOQ3J.cjs → DataTable-BmSWykCq.cjs} +1 -1
  10. package/dist/{Legend-CFqKBI0j.cjs → Legend-CMib9jhR.cjs} +1 -1
  11. package/dist/{Legend-BU9C5fBQ.js → Legend-CubpFiQC.js} +2 -2
  12. package/dist/{PackageVersion-BMNt7NsQ.cjs → PackageVersion-9kqlnk5q.cjs} +1 -1
  13. package/dist/{PackageVersion-0Lu6RIig.js → PackageVersion-DmKsiZge.js} +1 -1
  14. package/dist/{PenAndPaper-BUwLP3Wx.cjs → PenAndPaper-CfWPwfS1.cjs} +1 -1
  15. package/dist/{PenAndPaper-D4Uu-GqW.js → PenAndPaper-Dgf1a1MW.js} +3 -3
  16. package/dist/{Shape-BavMx2aa.js → Shape-BUW7OeOM.js} +1 -1
  17. package/dist/{Shape-2NRWULE_.cjs → Shape-DVn1gKjR.cjs} +1 -1
  18. package/dist/{Slicer-B_qJHvNR.js → Slicer-jB5tCct6.js} +2 -2
  19. package/dist/{Slicer-Ct8BAk8F.cjs → Slicer-ud5drJRz.cjs} +1 -1
  20. package/dist/{Title-DrVDm1wy.js → Title-BDdzEGgo.js} +1 -1
  21. package/dist/{Title-BkfQdTEX.cjs → Title-EjA2nkhd.cjs} +1 -1
  22. package/dist/{Tooltip-BFT6mZ5a.js → Tooltip-Cdkz2ese.js} +1 -1
  23. package/dist/{Tooltip-BK88meti.cjs → Tooltip-Dr2CQpGZ.cjs} +1 -1
  24. package/dist/documentation/installation.md +1 -1
  25. package/dist/{dom-to-png-0WSGIcUV.js → dom-to-png-0ag5uZSL.js} +1 -1
  26. package/dist/{dom-to-png-CyVwBzNm.cjs → dom-to-png-DfWDULgW.cjs} +1 -1
  27. package/dist/{img-DqK-SXIP.cjs → img-BFXiOvkr.cjs} +1 -1
  28. package/dist/{img-BT-UmGcu.js → img-DB4eqtiV.js} +1 -1
  29. package/dist/index-BX4v5fiN.cjs +9 -0
  30. package/dist/{index-hMo72hAq.js → index-Co_0CzhC.js} +268 -257
  31. package/dist/{pdf-G7o-GM_m.js → pdf-DUrwlnsH.js} +1 -1
  32. package/dist/{pdf-DY3kwqSx.cjs → pdf-D_ScD9oB.cjs} +1 -1
  33. package/dist/style.css +1 -1
  34. package/dist/types/vue-data-ui.d.cts +49 -0
  35. package/dist/types/vue-data-ui.d.ts +49 -0
  36. package/dist/{useNestedProp-DcWhlk8h.cjs → useNestedProp-DjOgO33z.cjs} +1 -1
  37. package/dist/{useNestedProp-DhEaBTgF.js → useNestedProp-DqI_VUcm.js} +1 -1
  38. package/dist/{usePrinter-D2z-bUtX.js → usePrinter-BV6TePSm.js} +3 -3
  39. package/dist/{usePrinter-B4ojFS2B.cjs → usePrinter-CynLTaVl.cjs} +1 -1
  40. package/dist/{vue-data-ui-BR4hs3ky.cjs → vue-data-ui-BTfYQKf1.cjs} +1 -1
  41. package/dist/{vue-data-ui-BTkU5knB.js → vue-data-ui-D0yLIHBU.js} +62 -62
  42. package/dist/vue-data-ui.cjs +1 -1
  43. package/dist/vue-data-ui.js +1 -1
  44. package/dist/{vue-ui-3d-bar-DD3_LLbq.js → vue-ui-3d-bar-c10gAuCo.js} +9 -9
  45. package/dist/{vue-ui-3d-bar-Cx2zND3j.cjs → vue-ui-3d-bar-cz81vDyE.cjs} +1 -1
  46. package/dist/{vue-ui-accordion-DUGBjyB1.cjs → vue-ui-accordion-BrbibtJK.cjs} +1 -1
  47. package/dist/{vue-ui-accordion-CHMdpjnX.js → vue-ui-accordion-DMCnTtx0.js} +3 -3
  48. package/dist/{vue-ui-age-pyramid-WpMKbqUM.cjs → vue-ui-age-pyramid-VrC5Ul6m.cjs} +1 -1
  49. package/dist/{vue-ui-age-pyramid-CUS2cIAl.js → vue-ui-age-pyramid-qvsOA8yi.js} +10 -10
  50. package/dist/{vue-ui-annotator-B5VYzARK.cjs → vue-ui-annotator-DYHa8k6K.cjs} +1 -1
  51. package/dist/{vue-ui-annotator-Ckyjvy1h.js → vue-ui-annotator-Difg_FB4.js} +2 -2
  52. package/dist/{vue-ui-bullet-Clccjys0.cjs → vue-ui-bullet-Ck8VFaeu.cjs} +1 -1
  53. package/dist/{vue-ui-bullet-i97qMAx7.js → vue-ui-bullet-D9jQThZ5.js} +8 -8
  54. package/dist/{vue-ui-candlestick-Dmu21ktX.js → vue-ui-candlestick-CkGKxPxw.js} +11 -11
  55. package/dist/{vue-ui-candlestick-B35fn-Jo.cjs → vue-ui-candlestick-Dsd_ba5D.cjs} +1 -1
  56. package/dist/{vue-ui-carousel-table-23ggTo5D.cjs → vue-ui-carousel-table-46CpWaYv.cjs} +1 -1
  57. package/dist/{vue-ui-carousel-table-cvW3wpY7.js → vue-ui-carousel-table-CR-iVMMe.js} +4 -4
  58. package/dist/{vue-ui-chestnut-CZpShJyS.js → vue-ui-chestnut-C9hkjAMP.js} +8 -8
  59. package/dist/{vue-ui-chestnut-CkuDV8dp.cjs → vue-ui-chestnut-DpZW075x.cjs} +1 -1
  60. package/dist/{vue-ui-circle-pack-C2IQV5_6.cjs → vue-ui-circle-pack-5_vQ6vaC.cjs} +1 -1
  61. package/dist/{vue-ui-circle-pack-B6d9PjE2.js → vue-ui-circle-pack-DCiIAJrq.js} +9 -9
  62. package/dist/{vue-ui-cursor-CG4bTWjj.js → vue-ui-cursor-Cts6qtAH.js} +2 -2
  63. package/dist/{vue-ui-cursor-CZBmEqOC.cjs → vue-ui-cursor-DkNjb-zj.cjs} +1 -1
  64. package/dist/{vue-ui-dashboard-D-95GOHa.cjs → vue-ui-dashboard-DHHIcBg0.cjs} +1 -1
  65. package/dist/{vue-ui-dashboard-DqM_deY-.js → vue-ui-dashboard-Db-_ElsA.js} +62 -62
  66. package/dist/{vue-ui-digits-CKpey7p1.js → vue-ui-digits--pkv7eKf.js} +2 -2
  67. package/dist/{vue-ui-digits-Cdauuy8X.cjs → vue-ui-digits-BV--b8cv.cjs} +1 -1
  68. package/dist/{vue-ui-donut-Dp2Yy4fh.js → vue-ui-donut-BxbbhGmV.js} +12 -12
  69. package/dist/{vue-ui-donut-j519aqqU.cjs → vue-ui-donut-D1OlfgtH.cjs} +1 -1
  70. package/dist/{vue-ui-donut-evolution-ClL_5jhm.js → vue-ui-donut-evolution-2mbVNu_w.js} +11 -11
  71. package/dist/{vue-ui-donut-evolution-Cg1VnagT.cjs → vue-ui-donut-evolution-BetPU8WD.cjs} +1 -1
  72. package/dist/{vue-ui-dumbbell-CNJ9en-A.cjs → vue-ui-dumbbell-B4tWeLVq.cjs} +1 -1
  73. package/dist/{vue-ui-dumbbell-C8tOQUbs.js → vue-ui-dumbbell-Brfkbz4H.js} +10 -10
  74. package/dist/vue-ui-flow-BSptjAOo.cjs +1 -0
  75. package/dist/vue-ui-flow-BtfK7Ixu.js +655 -0
  76. package/dist/{vue-ui-funnel-CfxmaNEA.js → vue-ui-funnel-Bga3R3li.js} +9 -9
  77. package/dist/{vue-ui-funnel-DbVCaDxm.cjs → vue-ui-funnel-DJIRpxX0.cjs} +1 -1
  78. package/dist/{vue-ui-galaxy-dm_p5xAR.js → vue-ui-galaxy-CtUY6byr.js} +11 -11
  79. package/dist/{vue-ui-galaxy-zBDItFVz.cjs → vue-ui-galaxy-DjpT9A4L.cjs} +1 -1
  80. package/dist/{vue-ui-gauge-DwwvbGca.js → vue-ui-gauge-Bob29zui.js} +7 -7
  81. package/dist/{vue-ui-gauge-Dr-7ojj9.cjs → vue-ui-gauge-ByLQRCM5.cjs} +1 -1
  82. package/dist/{vue-ui-gizmo-CB5NfNit.cjs → vue-ui-gizmo-DBCKjWN0.cjs} +1 -1
  83. package/dist/{vue-ui-gizmo-Cq0SpTfm.js → vue-ui-gizmo-Dj1TLLb1.js} +3 -3
  84. package/dist/{vue-ui-heatmap-DNSOppoO.js → vue-ui-heatmap-BYH3bosu.js} +10 -10
  85. package/dist/{vue-ui-heatmap-DtRSx7DO.cjs → vue-ui-heatmap-CAUnlp-o.cjs} +1 -1
  86. package/dist/{vue-ui-history-plot-r9eLYJCe.js → vue-ui-history-plot-C1kOJElL.js} +11 -11
  87. package/dist/{vue-ui-history-plot-BvC3L9g3.cjs → vue-ui-history-plot-CbTOgmxa.cjs} +1 -1
  88. package/dist/{vue-ui-kpi-BBpxo07S.js → vue-ui-kpi-BUoc8QIz.js} +3 -3
  89. package/dist/{vue-ui-kpi-raHWFHjI.cjs → vue-ui-kpi-DTWa9I78.cjs} +1 -1
  90. package/dist/{vue-ui-mini-loader-STx0NSvX.cjs → vue-ui-mini-loader-C1awnIuZ.cjs} +1 -1
  91. package/dist/{vue-ui-mini-loader-CGtQXPzk.js → vue-ui-mini-loader-CSmFWNXS.js} +2 -2
  92. package/dist/{vue-ui-molecule-B4WJo2V5.cjs → vue-ui-molecule-CgSPoJxN.cjs} +1 -1
  93. package/dist/{vue-ui-molecule-EYSvyl-h.js → vue-ui-molecule-D9kSZQHB.js} +11 -11
  94. package/dist/{vue-ui-mood-radar-CfHUyyMY.cjs → vue-ui-mood-radar-DpQ8EBTg.cjs} +1 -1
  95. package/dist/{vue-ui-mood-radar-Crk-XB3O.js → vue-ui-mood-radar-qd5CCM58.js} +11 -11
  96. package/dist/{vue-ui-nested-donuts-DRJZT5Bv.cjs → vue-ui-nested-donuts-BP9gsX6T.cjs} +2 -2
  97. package/dist/{vue-ui-nested-donuts-Rm4P3uEP.js → vue-ui-nested-donuts-OqJPZW8l.js} +12 -12
  98. package/dist/{vue-ui-onion-Bgvs96ms.cjs → vue-ui-onion-DYIgsIYr.cjs} +1 -1
  99. package/dist/{vue-ui-onion-Dzl_kjlE.js → vue-ui-onion-rNOeD9u1.js} +11 -11
  100. package/dist/{vue-ui-parallel-coordinate-plot-YuLiWTox.cjs → vue-ui-parallel-coordinate-plot-CDwhmDGl.cjs} +1 -1
  101. package/dist/{vue-ui-parallel-coordinate-plot-98c0XRsu.js → vue-ui-parallel-coordinate-plot-DQd14cew.js} +12 -12
  102. package/dist/{vue-ui-quadrant-Dd1ryxBx.js → vue-ui-quadrant-CH856J9A.js} +12 -12
  103. package/dist/{vue-ui-quadrant-CiqJKJu1.cjs → vue-ui-quadrant-RRM343kT.cjs} +1 -1
  104. package/dist/{vue-ui-quick-chart-CTsvK-CY.js → vue-ui-quick-chart-BLq8C-m8.js} +9 -9
  105. package/dist/{vue-ui-quick-chart-DMceIo39.cjs → vue-ui-quick-chart-BXYgI65b.cjs} +1 -1
  106. package/dist/{vue-ui-radar-Dp8-SmYd.cjs → vue-ui-radar-38OxxA3O.cjs} +1 -1
  107. package/dist/{vue-ui-radar-CHYpedpk.js → vue-ui-radar-BuCYH3tO.js} +12 -12
  108. package/dist/{vue-ui-rating-uVphq_sK.cjs → vue-ui-rating-CiqatGZ_.cjs} +1 -1
  109. package/dist/{vue-ui-rating-DSsm92zG.js → vue-ui-rating-D6OL6Aml.js} +2 -2
  110. package/dist/{vue-ui-relation-circle-BPVBRieo.js → vue-ui-relation-circle-ByhUL4R6.js} +7 -7
  111. package/dist/{vue-ui-relation-circle-46wKUZTv.cjs → vue-ui-relation-circle-DDYGMgUl.cjs} +1 -1
  112. package/dist/{vue-ui-ridgeline-B6GA2tXb.js → vue-ui-ridgeline-B5126LSF.js} +12 -12
  113. package/dist/{vue-ui-ridgeline-OULIMr6I.cjs → vue-ui-ridgeline-C550XNkk.cjs} +1 -1
  114. package/dist/{vue-ui-rings-Cl-607b8.js → vue-ui-rings-DPXct3je.js} +12 -12
  115. package/dist/{vue-ui-rings-HVHIYYrh.cjs → vue-ui-rings-Dxp4dmO2.cjs} +1 -1
  116. package/dist/{vue-ui-scatter-BZ4DPyoL.cjs → vue-ui-scatter-BWmY2_ij.cjs} +1 -1
  117. package/dist/{vue-ui-scatter-ClYbim5F.js → vue-ui-scatter-_DhEpcsw.js} +12 -12
  118. package/dist/{vue-ui-skeleton-C954hFY-.cjs → vue-ui-skeleton-DvJP74jb.cjs} +1 -1
  119. package/dist/{vue-ui-skeleton-C3t9bL6f.js → vue-ui-skeleton-Dzehgcp3.js} +3 -3
  120. package/dist/{vue-ui-smiley-DsKnKBFv.js → vue-ui-smiley-BHd1V1Dv.js} +2 -2
  121. package/dist/{vue-ui-smiley-BBGCa2S0.cjs → vue-ui-smiley-CtDCCsfg.cjs} +1 -1
  122. package/dist/{vue-ui-spark-trend-Da-HE7x2.js → vue-ui-spark-trend-DDX-fjR-.js} +5 -5
  123. package/dist/{vue-ui-spark-trend-CBa0FhIy.cjs → vue-ui-spark-trend-DDf1hJwg.cjs} +1 -1
  124. package/dist/{vue-ui-sparkbar-CUul3e3U.cjs → vue-ui-sparkbar-BT5NEz93.cjs} +1 -1
  125. package/dist/{vue-ui-sparkbar-DgQxbUeJ.js → vue-ui-sparkbar-BWeY-FcV.js} +4 -4
  126. package/dist/{vue-ui-sparkgauge-BKA5GnGO.js → vue-ui-sparkgauge-BQMHbq8E.js} +4 -4
  127. package/dist/{vue-ui-sparkgauge-DYPVqz6I.cjs → vue-ui-sparkgauge-IYvYlZ57.cjs} +1 -1
  128. package/dist/{vue-ui-sparkhistogram-CdZy4SfH.js → vue-ui-sparkhistogram-C5EdWvQP.js} +5 -5
  129. package/dist/{vue-ui-sparkhistogram-CNN9tXh1.cjs → vue-ui-sparkhistogram-cjsCsNyf.cjs} +1 -1
  130. package/dist/{vue-ui-sparkline-BCP4gyTp.cjs → vue-ui-sparkline-BwZJpAAf.cjs} +1 -1
  131. package/dist/{vue-ui-sparkline-DCNNoruu.js → vue-ui-sparkline-CbKIpwVC.js} +4 -4
  132. package/dist/{vue-ui-sparkstackbar-sgehFSit.cjs → vue-ui-sparkstackbar-BVJU36Jz.cjs} +1 -1
  133. package/dist/{vue-ui-sparkstackbar-BAXGFcPk.js → vue-ui-sparkstackbar-COxIfFgm.js} +5 -5
  134. package/dist/{vue-ui-stackbar-87l909wS.cjs → vue-ui-stackbar-CQ56hps8.cjs} +1 -1
  135. package/dist/{vue-ui-stackbar-Cto9A9WG.js → vue-ui-stackbar-Dr5hRx6G.js} +13 -13
  136. package/dist/{vue-ui-strip-plot-Deegqmms.cjs → vue-ui-strip-plot-B_nfC_fx.cjs} +1 -1
  137. package/dist/{vue-ui-strip-plot-C0F8_S_g.js → vue-ui-strip-plot-Mct4OE0A.js} +11 -11
  138. package/dist/{vue-ui-table-1vUkkwSp.js → vue-ui-table-B6LG28n8.js} +3 -3
  139. package/dist/{vue-ui-table-BUxFdYM7.cjs → vue-ui-table-DE3wOTyH.cjs} +1 -1
  140. package/dist/{vue-ui-table-heatmap-PPGfjMxh.js → vue-ui-table-heatmap-DDOoKybT.js} +4 -4
  141. package/dist/{vue-ui-table-heatmap-uDH3owRO.cjs → vue-ui-table-heatmap-DuMRCIbx.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-D9LEgrxj.js → vue-ui-table-sparkline-D578FuNQ.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-CPSlJVB1.cjs → vue-ui-table-sparkline-gZWWmkQe.cjs} +1 -1
  144. package/dist/{vue-ui-thermometer-D8P88pea.cjs → vue-ui-thermometer-BWHsyYj8.cjs} +1 -1
  145. package/dist/{vue-ui-thermometer-BxngpuEZ.js → vue-ui-thermometer-DFbYODrU.js} +7 -7
  146. package/dist/{vue-ui-timer-C3dxY--Q.js → vue-ui-timer-Bi6Q0m_J.js} +5 -5
  147. package/dist/{vue-ui-timer-B_dh6otW.cjs → vue-ui-timer-s73pZhYM.cjs} +1 -1
  148. package/dist/{vue-ui-tiremarks-mISKtpmD.cjs → vue-ui-tiremarks-BcFJOrF8.cjs} +1 -1
  149. package/dist/{vue-ui-tiremarks-_oZ6wL6K.js → vue-ui-tiremarks-C68rB2kd.js} +7 -7
  150. package/dist/{vue-ui-treemap-CZZXcX0f.cjs → vue-ui-treemap-B7_kcMng.cjs} +1 -1
  151. package/dist/{vue-ui-treemap-D5Dcd84h.js → vue-ui-treemap-b5rZtLKn.js} +12 -12
  152. package/dist/{vue-ui-vertical-bar-C-KAVKXj.cjs → vue-ui-vertical-bar-Bw42kw9a.cjs} +1 -1
  153. package/dist/{vue-ui-vertical-bar-CtWXk6co.js → vue-ui-vertical-bar-DyZ-gfQi.js} +12 -12
  154. package/dist/{vue-ui-waffle-BD2GnRkO.js → vue-ui-waffle-CG05FL_H.js} +12 -12
  155. package/dist/{vue-ui-waffle-C9qyTIzz.cjs → vue-ui-waffle-tk3zMyjq.cjs} +1 -1
  156. package/dist/{vue-ui-wheel-HydW49fo.js → vue-ui-wheel-BTbteaZS.js} +7 -7
  157. package/dist/{vue-ui-wheel-CKfr_7kH.cjs → vue-ui-wheel-RzXEZFfN.cjs} +1 -1
  158. package/dist/{vue-ui-word-cloud-C9Pbi6ey.js → vue-ui-word-cloud-BKubtYCS.js} +10 -10
  159. package/dist/{vue-ui-word-cloud-C4ISeFpy.cjs → vue-ui-word-cloud-CUZ1Mm3Q.cjs} +1 -1
  160. package/dist/{vue-ui-world-D-AsGwlW.js → vue-ui-world-BF0wSEJb.js} +11 -11
  161. package/dist/{vue-ui-world-BlAD3UPb.cjs → vue-ui-world-BPcoReDh.cjs} +1 -1
  162. package/dist/{vue-ui-xy-CMw6P4C0.js → vue-ui-xy-AgcMweTZ.js} +16 -16
  163. package/dist/{vue-ui-xy-CS-xjZVI.cjs → vue-ui-xy-C8ZEeV9g.cjs} +2 -2
  164. package/dist/{vue-ui-xy-canvas-Dd7IFwSK.cjs → vue-ui-xy-canvas-CJl9RPzv.cjs} +1 -1
  165. package/dist/{vue-ui-xy-canvas-DtKI-IQA.js → vue-ui-xy-canvas-CYaJZj3B.js} +12 -12
  166. package/package.json +1 -1
  167. package/dist/index-Cai0fWP7.cjs +0 -9
  168. package/dist/vue-ui-flow-BYypzs-j.cjs +0 -1
  169. package/dist/vue-ui-flow-Ouw_lvpb.js +0 -550
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-Cai0fWP7.cjs"),Q=require("./useResponsive-DQmBAoBf.cjs"),de=require("./Title-BkfQdTEX.cjs"),ee=require("./usePrinter-B4ojFS2B.cjs"),ve=require("./DataTable-DOiZOQ3J.cjs"),he=require("./vue-ui-skeleton-C954hFY-.cjs"),ye=require("./Legend-CFqKBI0j.cjs"),fe=require("./vue-ui-accordion-DUGBjyB1.cjs"),te=require("./useNestedProp-DcWhlk8h.cjs"),me=require("./PackageVersion-BMNt7NsQ.cjs"),be=require("./PenAndPaper-BUwLP3Wx.cjs"),pe=require("./useUserOptionState-BgepsfED.cjs"),ge=require("./useChartAccessibility-Cm7nkzTG.cjs"),ke=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_e=["id"],xe=["xmlns","viewBox"],Ce=["x","y","width","height"],we={key:1},Be=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],Ne={key:2},Ee=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],$e=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],Le={key:3},Se=["x","y","font-size","fill","font-weight"],Ve=["x","y","font-size","fill"],ze={key:4},Ae=["x","y","font-size","fill","font-weight"],Pe=["id"],Te=["stop-color"],Xe=["stop-color"],Oe=["stop-color"],De=["id"],Fe=["stop-color"],Me=["stop-color"],Ie=["stop-color"],Ge=["id"],qe=["stop-color"],Re=["stop-color"],He=["id"],Ue=["stop-color"],We=["stop-color"],je={key:0},Ye=["d","fill"],Ze={key:1},Je=["x","y","height","width","fill"],Ke=["cx","cy","r","fill","stroke","stroke-width"],Qe=["cx","cy","r","fill","stroke","stroke-width"],et={key:5},tt=["x","y","fill","font-size"],lt={key:6},at=["x","y","fill","font-size"],ot={key:5,class:"vue-data-ui-watermark"},rt=["xmlns","height","width"],st=["fill"],nt=["innerHTML"],ut={__name:"vue-ui-dumbbell",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(le,{expose:ae,emit:ct}){const{vue_ui_dumbbell:oe}=s.useConfig(),v=le,b=e.computed({get(){return!!v.dataset&&v.dataset.length},set(a){return a}}),c=e.ref(s.createUid()),V=e.ref(0),_=e.ref(null),z=e.ref(null),A=e.ref(null),P=e.ref(null),T=e.ref(null),X=e.ref(0),O=e.ref(0),D=e.ref(0),t=e.computed({get:()=>G(),set:a=>a}),{userOptionsVisible:E,setUserOptionsVisibility:F,keepUserOptionState:M}=pe.useUserOptionState({config:t.value}),{svgRef:I}=ge.useChartAccessibility({config:t.value.style.chart.title});function G(){const a=te.useNestedProp({userConfig:v.config,defaultConfig:oe});return a.theme?{...te.useNestedProp({userConfig:s.themes.vue_ui_dumbbell[a.theme]||v.config,defaultConfig:a})}:a}e.watch(()=>v.config,a=>{t.value=G(),E.value=!t.value.userOptions.showOnChartHover,q(),X.value+=1,O.value+=1,D.value+=1,i.value=t.value.style.chart.rowHeight,g.value=t.value.style.chart.width,p.value.showTable=t.value.table.show},{deep:!0}),e.watch(()=>v.dataset,a=>{Y()},{deep:!0});const x=e.ref(null);e.onMounted(()=>{q()});function q(){if(s.objectIsEmpty(v.dataset)?s.error({componentName:"VueUiDumbbell",type:"dataset"}):v.dataset.forEach((a,n)=>{s.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","start","end"]}).forEach(l=>{b.value=!1,s.error({componentName:"VueUiDumbbell",type:"datasetSerieAttribute",property:l,index:n})})}),t.value.responsive){const a=Q.throttle(()=>{const{width:n,height:l}=Q.useResponsive({chart:_.value,title:t.value.style.chart.title.text?z.value:null,legend:t.value.style.chart.legend.show?A.value:null,source:P.value,noTitle:T.value});requestAnimationFrame(()=>{g.value=n,i.value=l/v.dataset.length,d.value=C()})});x.value=new ResizeObserver(a),x.value.observe(_.value.parentNode)}}e.onBeforeUnmount(()=>{x.value&&x.value.disconnect()});const{isPrinting:R,isImaging:H,generatePdf:U,generateImage:W}=ee.usePrinter({elementId:`dumbbell_${c.value}`,fileName:t.value.style.chart.title.text||"vue-ui-dumbbell",options:t.value.userOptions.print}),re=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),p=e.ref({showTable:t.value.table.show}),y=e.computed(()=>v.dataset.map((a,n)=>({...a,start:s.checkNaN(a.start),end:s.checkNaN(a.end),id:s.createUid()}))),$=e.computed(()=>({max:Math.max(...y.value.flatMap(a=>[a.start,a.end])),min:Math.min(...y.value.flatMap(a=>[a.start,a.end]))})),u=e.computed(()=>s.calculateNiceScale($.value.min<0?$.value.min:0,$.value.max,t.value.style.chart.grid.scaleSteps)),i=e.ref(t.value.style.chart.rowHeight),g=e.ref(t.value.style.chart.width),r=e.computed(()=>{const a=i.value,n=t.value.style.chart.padding.left+t.value.style.chart.padding.right+g.value,l=t.value.style.chart.padding.top+t.value.style.chart.padding.bottom+a*v.dataset.length,o=u.value.ticks.length*(g.value/u.value.ticks.length);return{left:t.value.style.chart.padding.left,right:n-t.value.style.chart.padding.right,top:t.value.style.chart.padding.top,bottom:l-t.value.style.chart.padding.bottom,width:g.value,height:a*v.dataset.length,rowHeight:a,absoluteHeight:l,absoluteWidth:n,widthPlotReference:o}});function C(){return y.value.map((a,n)=>{const l=r.value.left+(a.start+Math.abs(u.value.min))/(u.value.max+Math.abs(u.value.min))*r.value.widthPlotReference,o=r.value.left+(a.end+Math.abs(u.value.min))/(u.value.max+Math.abs(u.value.min))*r.value.widthPlotReference,h=l+(o-l)/2;return{...a,startX:l,endX:o,centerX:h,y:r.value.top+n*i.value+i.value/2,endVal:a.start}})}const d=e.ref([]),j=e.ref(null),se=e.computed(()=>y.value.map(a=>a.end).reduce((a,n)=>a+n,0));e.onMounted(()=>{Y()});function Y(){d.value=C();let a=d.value.map(l=>l.start).reduce((l,o)=>l+o,0);function n(){const l=y.value.map(o=>o.end-o.start);a>=se.value?(cancelAnimationFrame(j.value),d.value=C()):(d.value=d.value.map((o,h)=>{o.endVal+=l[h]*(t.value.animationSpeed/100);const m=r.value.left+(o.start+Math.abs(u.value.min))/(u.value.max+Math.abs(u.value.min))*r.value.widthPlotReference,N=r.value.left+(o.endVal+Math.abs(u.value.min))/(u.value.max+Math.abs(u.value.min))*r.value.widthPlotReference,S=m+(N-m)/2;return{...o,startX:m,endX:N,centerX:S,y:r.value.top+h*i.value+i.value/2,endVal:o.endVal}}),a=d.value.map(o=>o.endVal).reduce((o,h)=>o+h,0),j.value=requestAnimationFrame(n))}t.value.useAnimation?n():d.value=C()}const Z=e.computed(()=>[{name:t.value.style.chart.legend.labelStart,color:t.value.style.chart.plots.gradient.show?`url(#start_grad_${c.value})`:t.value.style.chart.plots.startColor},{name:t.value.style.chart.legend.labelEnd,color:t.value.style.chart.plots.gradient.show?`url(#end_grad_${c.value})`:t.value.style.chart.plots.endColor}]),ne=e.computed(()=>({cy:"donut-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,paddingTop:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),f=e.computed(()=>{const a=d.value.map(l=>({name:l.name})),n=d.value.map(l=>({start:l.start,end:l.end}));return{head:a,body:n}}),w=e.computed(()=>{const a=[t.value.table.columnNames.series,t.value.table.columnNames.start,t.value.table.columnNames.end,t.value.table.columnNames.progression],n=f.value.head.map((h,m)=>{const N=s.dataLabel({p:t.value.style.chart.labels.prefix,v:f.value.body[m].start,s:t.value.style.chart.labels.suffix,r:t.value.table.td.roundingValue}),S=s.dataLabel({p:t.value.style.chart.labels.prefix,v:f.value.body[m].end,s:t.value.style.chart.labels.suffix,r:t.value.table.td.roundingValue}),ce=s.dataLabel({v:100*(f.value.body[m].end/f.value.body[m].start-1),s:"%",r:t.value.table.td.roundingPercentage});return[{name:h.name},N,S,ce]}),l={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.start,t.value.table.columnNames.end,t.value.table.columnNames.progression],head:a,body:n,config:l}});function J(){e.nextTick(()=>{const a=f.value.head.map((o,h)=>[[o.name],[f.value.body[h].start],[f.value.body[h].end]]),n=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[t.value.table.columnNames.series],[t.value.table.columnNames.start],[t.value.table.columnNames.end]]].concat(a),l=s.createCsvContent(n);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-dumbbell"})})}const k=e.ref(!1);function ue(a){k.value=a,V.value+=1}function ie(){return d.value}function K(){p.value.showTable=!p.value.showTable}const B=e.ref(!1);function L(){B.value=!B.value}return ae({getData:ie,generatePdf:U,generateCsv:J,generateImage:W,toggleTable:K,toggleAnnotator:L}),(a,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"dumbbellChart",ref:_,class:e.normalizeClass(`vue-ui-dumbbell ${k.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),id:`dumbbell_${c.value}`,onMouseenter:n[1]||(n[1]=()=>e.unref(F)(!0)),onMouseleave:n[2]||(n[2]=()=>e.unref(F)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(be._sfc_main,{key:0,svgRef:e.unref(I),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:B.value,onClose:L},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),re.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:T,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:z,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(de._sfc_main,{key:`title_${X.value}`,config:{title:{cy:"donut-div-title",...t.value.style.chart.title},subtitle:{cy:"donut-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value&&(e.unref(M)||e.unref(E))?(e.openBlock(),e.createBlock(ee.UserOptions,{ref:"details",key:`user_option_${V.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(R),isImaging:e.unref(H),uid:c.value,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,isFullscreen:k.value,titles:{...t.value.userOptions.buttonTitles},chartElement:_.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:B.value,onToggleFullscreen:ue,onGeneratePdf:e.unref(U),onGenerateCsv:J,onGenerateImage:e.unref(W),onToggleTable:K,onToggleAnnotator:L,style:e.normalizeStyle({visibility:e.unref(M)?e.unref(E)?"visible":"hidden":"visible"})},e.createSlots({_:2},[a.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:o})=>[e.renderSlot(a.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:o})),void 0,!0)]),key:"0"}:void 0,a.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,a.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,a.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,a.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,a.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:o})=>[e.renderSlot(a.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:o})),void 0,!0)]),key:"5"}:void 0,a.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:o})=>[e.renderSlot(a.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:o})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:I,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":k.value,"vue-data-ui-fulscreen--off":!k.value}),viewBox:`0 0 ${r.value.absoluteWidth<=0?10:r.value.absoluteWidth} ${r.value.absoluteHeight<=0?10:r.value.absoluteHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(me._sfc_main),a.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:r.value.left,y:r.value.top,width:r.value.width,height:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(a.$slots,"chart-background",{},void 0,!0)],8,Ce)):e.createCommentVNode("",!0),t.value.style.chart.grid.verticalGrid.show?(e.openBlock(),e.createElementBlock("g",we,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value.ticks,(l,o)=>(e.openBlock(),e.createElementBlock("line",{x1:r.value.left+o*r.value.width/(u.value.ticks.length-1),x2:r.value.left+o*r.value.width/(u.value.ticks.length-1),y1:r.value.top,y2:r.value.bottom,stroke:t.value.style.chart.grid.verticalGrid.stroke,"stroke-width":t.value.style.chart.grid.verticalGrid.strokeWidth,"stroke-dasharray":t.value.style.chart.grid.verticalGrid.strokeDasharray},null,8,Be))),256))])):e.createCommentVNode("",!0),t.value.style.chart.grid.horizontalGrid.show?(e.openBlock(),e.createElementBlock("g",Ne,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(l,o)=>(e.openBlock(),e.createElementBlock("line",{x1:r.value.left,x2:r.value.right,y1:r.value.top+o*i.value,y2:r.value.top+o*i.value,stroke:t.value.style.chart.grid.horizontalGrid.stroke,"stroke-width":t.value.style.chart.grid.horizontalGrid.strokeWidth,"stroke-dasharray":t.value.style.chart.grid.horizontalGrid.strokeDasharray},null,8,Ee))),256)),e.createElementVNode("line",{x1:r.value.left,x2:r.value.right,y1:r.value.bottom,y2:r.value.bottom,stroke:t.value.style.chart.grid.horizontalGrid.stroke,"stroke-width":t.value.style.chart.grid.horizontalGrid.strokeWidth,"stroke-dasharray":t.value.style.chart.grid.horizontalGrid.strokeDasharray},null,8,$e)])):e.createCommentVNode("",!0),t.value.style.chart.labels.yAxisLabels.show?(e.openBlock(),e.createElementBlock("g",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(l,o)=>(e.openBlock(),e.createElementBlock("text",{x:r.value.left-6+t.value.style.chart.labels.yAxisLabels.offsetX,y:r.value.top+o*i.value+(t.value.style.chart.labels.yAxisLabels.showProgression?i.value/3:i.value/2)+t.value.style.chart.labels.yAxisLabels.fontSize/3,"font-size":t.value.style.chart.labels.yAxisLabels.fontSize,fill:t.value.style.chart.labels.yAxisLabels.color,"font-weight":t.value.style.chart.labels.yAxisLabels.bold?"bold":"normal","text-anchor":"end"},e.toDisplayString(l.name),9,Se))),256)),t.value.style.chart.labels.yAxisLabels.showProgression?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(y.value,(l,o)=>(e.openBlock(),e.createElementBlock("text",{x:r.value.left-6+t.value.style.chart.labels.yAxisLabels.offsetX,y:r.value.top+o*i.value+i.value/1.3+t.value.style.chart.labels.yAxisLabels.fontSize/3,"font-size":t.value.style.chart.labels.yAxisLabels.fontSize,fill:t.value.style.chart.labels.yAxisLabels.color,"text-anchor":"end"},e.toDisplayString(e.unref(s.dataLabel)({v:100*(l.end/l.start-1),s:"%",r:t.value.style.chart.labels.yAxisLabels.rounding})),9,Ve))),256)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.chart.labels.xAxisLabels.show?(e.openBlock(),e.createElementBlock("g",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value.ticks,(l,o)=>(e.openBlock(),e.createElementBlock("text",{x:r.value.left+o*(r.value.width/(u.value.ticks.length-1)),y:r.value.bottom+t.value.style.chart.labels.xAxisLabels.fontSize+t.value.style.chart.labels.xAxisLabels.offsetY,"font-size":t.value.style.chart.labels.xAxisLabels.fontSize,fill:t.value.style.chart.labels.xAxisLabels.color,"font-weight":t.value.style.chart.labels.xAxisLabels.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.labels.formatter,l,e.unref(s.dataLabel)({p:t.value.style.chart.labels.prefix,v:l,s:t.value.style.chart.labels.suffix,r:t.value.style.chart.labels.xAxisLabels.rounding}),{datapoint:l,seriesIndex:o})),9,Ae))),256))])):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`start_grad_${c.value}`,fy:"30%"},[e.createElementVNode("stop",{offset:"10%","stop-color":e.unref(s.lightenHexColor)(t.value.style.chart.plots.startColor,t.value.style.chart.plots.gradient.intensity/100)},null,8,Te),e.createElementVNode("stop",{offset:"90%","stop-color":e.unref(s.darkenHexColor)(t.value.style.chart.plots.startColor,.1)},null,8,Xe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.plots.startColor},null,8,Oe)],8,Pe),e.createElementVNode("radialGradient",{id:`end_grad_${c.value}`,fy:"30%"},[e.createElementVNode("stop",{offset:"10%","stop-color":e.unref(s.lightenHexColor)(t.value.style.chart.plots.endColor,t.value.style.chart.plots.gradient.intensity/100)},null,8,Fe),e.createElementVNode("stop",{offset:"90%","stop-color":e.unref(s.darkenHexColor)(t.value.style.chart.plots.endColor,.1)},null,8,Me),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.plots.endColor},null,8,Ie)],8,De)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(l,o)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`grad_positive_${c.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.chart.plots.startColor},null,8,qe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.plots.endColor},null,8,Re)],8,Ge),e.createElementVNode("linearGradient",{id:`grad_negative_${c.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.chart.plots.endColor},null,8,Ue),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.plots.startColor},null,8,We)],8,He)]),t.value.style.chart.plots.link.type==="curved"?(e.openBlock(),e.createElementBlock("g",je,[e.createElementVNode("path",{d:`M
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-BX4v5fiN.cjs"),Q=require("./useResponsive-DQmBAoBf.cjs"),de=require("./Title-EjA2nkhd.cjs"),ee=require("./usePrinter-CynLTaVl.cjs"),ve=require("./DataTable-BmSWykCq.cjs"),he=require("./vue-ui-skeleton-DvJP74jb.cjs"),ye=require("./Legend-CMib9jhR.cjs"),fe=require("./vue-ui-accordion-BrbibtJK.cjs"),te=require("./useNestedProp-DjOgO33z.cjs"),me=require("./PackageVersion-9kqlnk5q.cjs"),be=require("./PenAndPaper-CfWPwfS1.cjs"),pe=require("./useUserOptionState-BgepsfED.cjs"),ge=require("./useChartAccessibility-Cm7nkzTG.cjs"),ke=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_e=["id"],xe=["xmlns","viewBox"],Ce=["x","y","width","height"],we={key:1},Be=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],Ne={key:2},Ee=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],$e=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],Le={key:3},Se=["x","y","font-size","fill","font-weight"],Ve=["x","y","font-size","fill"],ze={key:4},Ae=["x","y","font-size","fill","font-weight"],Pe=["id"],Te=["stop-color"],Xe=["stop-color"],Oe=["stop-color"],De=["id"],Fe=["stop-color"],Me=["stop-color"],Ie=["stop-color"],Ge=["id"],qe=["stop-color"],Re=["stop-color"],He=["id"],Ue=["stop-color"],We=["stop-color"],je={key:0},Ye=["d","fill"],Ze={key:1},Je=["x","y","height","width","fill"],Ke=["cx","cy","r","fill","stroke","stroke-width"],Qe=["cx","cy","r","fill","stroke","stroke-width"],et={key:5},tt=["x","y","fill","font-size"],lt={key:6},at=["x","y","fill","font-size"],ot={key:5,class:"vue-data-ui-watermark"},rt=["xmlns","height","width"],st=["fill"],nt=["innerHTML"],ut={__name:"vue-ui-dumbbell",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(le,{expose:ae,emit:ct}){const{vue_ui_dumbbell:oe}=s.useConfig(),v=le,b=e.computed({get(){return!!v.dataset&&v.dataset.length},set(a){return a}}),c=e.ref(s.createUid()),V=e.ref(0),_=e.ref(null),z=e.ref(null),A=e.ref(null),P=e.ref(null),T=e.ref(null),X=e.ref(0),O=e.ref(0),D=e.ref(0),t=e.computed({get:()=>G(),set:a=>a}),{userOptionsVisible:E,setUserOptionsVisibility:F,keepUserOptionState:M}=pe.useUserOptionState({config:t.value}),{svgRef:I}=ge.useChartAccessibility({config:t.value.style.chart.title});function G(){const a=te.useNestedProp({userConfig:v.config,defaultConfig:oe});return a.theme?{...te.useNestedProp({userConfig:s.themes.vue_ui_dumbbell[a.theme]||v.config,defaultConfig:a})}:a}e.watch(()=>v.config,a=>{t.value=G(),E.value=!t.value.userOptions.showOnChartHover,q(),X.value+=1,O.value+=1,D.value+=1,i.value=t.value.style.chart.rowHeight,g.value=t.value.style.chart.width,p.value.showTable=t.value.table.show},{deep:!0}),e.watch(()=>v.dataset,a=>{Y()},{deep:!0});const x=e.ref(null);e.onMounted(()=>{q()});function q(){if(s.objectIsEmpty(v.dataset)?s.error({componentName:"VueUiDumbbell",type:"dataset"}):v.dataset.forEach((a,n)=>{s.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","start","end"]}).forEach(l=>{b.value=!1,s.error({componentName:"VueUiDumbbell",type:"datasetSerieAttribute",property:l,index:n})})}),t.value.responsive){const a=Q.throttle(()=>{const{width:n,height:l}=Q.useResponsive({chart:_.value,title:t.value.style.chart.title.text?z.value:null,legend:t.value.style.chart.legend.show?A.value:null,source:P.value,noTitle:T.value});requestAnimationFrame(()=>{g.value=n,i.value=l/v.dataset.length,d.value=C()})});x.value=new ResizeObserver(a),x.value.observe(_.value.parentNode)}}e.onBeforeUnmount(()=>{x.value&&x.value.disconnect()});const{isPrinting:R,isImaging:H,generatePdf:U,generateImage:W}=ee.usePrinter({elementId:`dumbbell_${c.value}`,fileName:t.value.style.chart.title.text||"vue-ui-dumbbell",options:t.value.userOptions.print}),re=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),p=e.ref({showTable:t.value.table.show}),y=e.computed(()=>v.dataset.map((a,n)=>({...a,start:s.checkNaN(a.start),end:s.checkNaN(a.end),id:s.createUid()}))),$=e.computed(()=>({max:Math.max(...y.value.flatMap(a=>[a.start,a.end])),min:Math.min(...y.value.flatMap(a=>[a.start,a.end]))})),u=e.computed(()=>s.calculateNiceScale($.value.min<0?$.value.min:0,$.value.max,t.value.style.chart.grid.scaleSteps)),i=e.ref(t.value.style.chart.rowHeight),g=e.ref(t.value.style.chart.width),r=e.computed(()=>{const a=i.value,n=t.value.style.chart.padding.left+t.value.style.chart.padding.right+g.value,l=t.value.style.chart.padding.top+t.value.style.chart.padding.bottom+a*v.dataset.length,o=u.value.ticks.length*(g.value/u.value.ticks.length);return{left:t.value.style.chart.padding.left,right:n-t.value.style.chart.padding.right,top:t.value.style.chart.padding.top,bottom:l-t.value.style.chart.padding.bottom,width:g.value,height:a*v.dataset.length,rowHeight:a,absoluteHeight:l,absoluteWidth:n,widthPlotReference:o}});function C(){return y.value.map((a,n)=>{const l=r.value.left+(a.start+Math.abs(u.value.min))/(u.value.max+Math.abs(u.value.min))*r.value.widthPlotReference,o=r.value.left+(a.end+Math.abs(u.value.min))/(u.value.max+Math.abs(u.value.min))*r.value.widthPlotReference,h=l+(o-l)/2;return{...a,startX:l,endX:o,centerX:h,y:r.value.top+n*i.value+i.value/2,endVal:a.start}})}const d=e.ref([]),j=e.ref(null),se=e.computed(()=>y.value.map(a=>a.end).reduce((a,n)=>a+n,0));e.onMounted(()=>{Y()});function Y(){d.value=C();let a=d.value.map(l=>l.start).reduce((l,o)=>l+o,0);function n(){const l=y.value.map(o=>o.end-o.start);a>=se.value?(cancelAnimationFrame(j.value),d.value=C()):(d.value=d.value.map((o,h)=>{o.endVal+=l[h]*(t.value.animationSpeed/100);const m=r.value.left+(o.start+Math.abs(u.value.min))/(u.value.max+Math.abs(u.value.min))*r.value.widthPlotReference,N=r.value.left+(o.endVal+Math.abs(u.value.min))/(u.value.max+Math.abs(u.value.min))*r.value.widthPlotReference,S=m+(N-m)/2;return{...o,startX:m,endX:N,centerX:S,y:r.value.top+h*i.value+i.value/2,endVal:o.endVal}}),a=d.value.map(o=>o.endVal).reduce((o,h)=>o+h,0),j.value=requestAnimationFrame(n))}t.value.useAnimation?n():d.value=C()}const Z=e.computed(()=>[{name:t.value.style.chart.legend.labelStart,color:t.value.style.chart.plots.gradient.show?`url(#start_grad_${c.value})`:t.value.style.chart.plots.startColor},{name:t.value.style.chart.legend.labelEnd,color:t.value.style.chart.plots.gradient.show?`url(#end_grad_${c.value})`:t.value.style.chart.plots.endColor}]),ne=e.computed(()=>({cy:"donut-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,paddingTop:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),f=e.computed(()=>{const a=d.value.map(l=>({name:l.name})),n=d.value.map(l=>({start:l.start,end:l.end}));return{head:a,body:n}}),w=e.computed(()=>{const a=[t.value.table.columnNames.series,t.value.table.columnNames.start,t.value.table.columnNames.end,t.value.table.columnNames.progression],n=f.value.head.map((h,m)=>{const N=s.dataLabel({p:t.value.style.chart.labels.prefix,v:f.value.body[m].start,s:t.value.style.chart.labels.suffix,r:t.value.table.td.roundingValue}),S=s.dataLabel({p:t.value.style.chart.labels.prefix,v:f.value.body[m].end,s:t.value.style.chart.labels.suffix,r:t.value.table.td.roundingValue}),ce=s.dataLabel({v:100*(f.value.body[m].end/f.value.body[m].start-1),s:"%",r:t.value.table.td.roundingPercentage});return[{name:h.name},N,S,ce]}),l={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.start,t.value.table.columnNames.end,t.value.table.columnNames.progression],head:a,body:n,config:l}});function J(){e.nextTick(()=>{const a=f.value.head.map((o,h)=>[[o.name],[f.value.body[h].start],[f.value.body[h].end]]),n=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[t.value.table.columnNames.series],[t.value.table.columnNames.start],[t.value.table.columnNames.end]]].concat(a),l=s.createCsvContent(n);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-dumbbell"})})}const k=e.ref(!1);function ue(a){k.value=a,V.value+=1}function ie(){return d.value}function K(){p.value.showTable=!p.value.showTable}const B=e.ref(!1);function L(){B.value=!B.value}return ae({getData:ie,generatePdf:U,generateCsv:J,generateImage:W,toggleTable:K,toggleAnnotator:L}),(a,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"dumbbellChart",ref:_,class:e.normalizeClass(`vue-ui-dumbbell ${k.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),id:`dumbbell_${c.value}`,onMouseenter:n[1]||(n[1]=()=>e.unref(F)(!0)),onMouseleave:n[2]||(n[2]=()=>e.unref(F)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(be._sfc_main,{key:0,svgRef:e.unref(I),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:B.value,onClose:L},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),re.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:T,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:z,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(de._sfc_main,{key:`title_${X.value}`,config:{title:{cy:"donut-div-title",...t.value.style.chart.title},subtitle:{cy:"donut-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value&&(e.unref(M)||e.unref(E))?(e.openBlock(),e.createBlock(ee.UserOptions,{ref:"details",key:`user_option_${V.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(R),isImaging:e.unref(H),uid:c.value,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,isFullscreen:k.value,titles:{...t.value.userOptions.buttonTitles},chartElement:_.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:B.value,onToggleFullscreen:ue,onGeneratePdf:e.unref(U),onGenerateCsv:J,onGenerateImage:e.unref(W),onToggleTable:K,onToggleAnnotator:L,style:e.normalizeStyle({visibility:e.unref(M)?e.unref(E)?"visible":"hidden":"visible"})},e.createSlots({_:2},[a.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:o})=>[e.renderSlot(a.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:o})),void 0,!0)]),key:"0"}:void 0,a.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,a.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,a.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,a.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,a.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:o})=>[e.renderSlot(a.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:o})),void 0,!0)]),key:"5"}:void 0,a.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:o})=>[e.renderSlot(a.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:o})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:I,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":k.value,"vue-data-ui-fulscreen--off":!k.value}),viewBox:`0 0 ${r.value.absoluteWidth<=0?10:r.value.absoluteWidth} ${r.value.absoluteHeight<=0?10:r.value.absoluteHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(me._sfc_main),a.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:r.value.left,y:r.value.top,width:r.value.width,height:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(a.$slots,"chart-background",{},void 0,!0)],8,Ce)):e.createCommentVNode("",!0),t.value.style.chart.grid.verticalGrid.show?(e.openBlock(),e.createElementBlock("g",we,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value.ticks,(l,o)=>(e.openBlock(),e.createElementBlock("line",{x1:r.value.left+o*r.value.width/(u.value.ticks.length-1),x2:r.value.left+o*r.value.width/(u.value.ticks.length-1),y1:r.value.top,y2:r.value.bottom,stroke:t.value.style.chart.grid.verticalGrid.stroke,"stroke-width":t.value.style.chart.grid.verticalGrid.strokeWidth,"stroke-dasharray":t.value.style.chart.grid.verticalGrid.strokeDasharray},null,8,Be))),256))])):e.createCommentVNode("",!0),t.value.style.chart.grid.horizontalGrid.show?(e.openBlock(),e.createElementBlock("g",Ne,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(l,o)=>(e.openBlock(),e.createElementBlock("line",{x1:r.value.left,x2:r.value.right,y1:r.value.top+o*i.value,y2:r.value.top+o*i.value,stroke:t.value.style.chart.grid.horizontalGrid.stroke,"stroke-width":t.value.style.chart.grid.horizontalGrid.strokeWidth,"stroke-dasharray":t.value.style.chart.grid.horizontalGrid.strokeDasharray},null,8,Ee))),256)),e.createElementVNode("line",{x1:r.value.left,x2:r.value.right,y1:r.value.bottom,y2:r.value.bottom,stroke:t.value.style.chart.grid.horizontalGrid.stroke,"stroke-width":t.value.style.chart.grid.horizontalGrid.strokeWidth,"stroke-dasharray":t.value.style.chart.grid.horizontalGrid.strokeDasharray},null,8,$e)])):e.createCommentVNode("",!0),t.value.style.chart.labels.yAxisLabels.show?(e.openBlock(),e.createElementBlock("g",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(l,o)=>(e.openBlock(),e.createElementBlock("text",{x:r.value.left-6+t.value.style.chart.labels.yAxisLabels.offsetX,y:r.value.top+o*i.value+(t.value.style.chart.labels.yAxisLabels.showProgression?i.value/3:i.value/2)+t.value.style.chart.labels.yAxisLabels.fontSize/3,"font-size":t.value.style.chart.labels.yAxisLabels.fontSize,fill:t.value.style.chart.labels.yAxisLabels.color,"font-weight":t.value.style.chart.labels.yAxisLabels.bold?"bold":"normal","text-anchor":"end"},e.toDisplayString(l.name),9,Se))),256)),t.value.style.chart.labels.yAxisLabels.showProgression?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(y.value,(l,o)=>(e.openBlock(),e.createElementBlock("text",{x:r.value.left-6+t.value.style.chart.labels.yAxisLabels.offsetX,y:r.value.top+o*i.value+i.value/1.3+t.value.style.chart.labels.yAxisLabels.fontSize/3,"font-size":t.value.style.chart.labels.yAxisLabels.fontSize,fill:t.value.style.chart.labels.yAxisLabels.color,"text-anchor":"end"},e.toDisplayString(e.unref(s.dataLabel)({v:100*(l.end/l.start-1),s:"%",r:t.value.style.chart.labels.yAxisLabels.rounding})),9,Ve))),256)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.chart.labels.xAxisLabels.show?(e.openBlock(),e.createElementBlock("g",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value.ticks,(l,o)=>(e.openBlock(),e.createElementBlock("text",{x:r.value.left+o*(r.value.width/(u.value.ticks.length-1)),y:r.value.bottom+t.value.style.chart.labels.xAxisLabels.fontSize+t.value.style.chart.labels.xAxisLabels.offsetY,"font-size":t.value.style.chart.labels.xAxisLabels.fontSize,fill:t.value.style.chart.labels.xAxisLabels.color,"font-weight":t.value.style.chart.labels.xAxisLabels.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.labels.formatter,l,e.unref(s.dataLabel)({p:t.value.style.chart.labels.prefix,v:l,s:t.value.style.chart.labels.suffix,r:t.value.style.chart.labels.xAxisLabels.rounding}),{datapoint:l,seriesIndex:o})),9,Ae))),256))])):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`start_grad_${c.value}`,fy:"30%"},[e.createElementVNode("stop",{offset:"10%","stop-color":e.unref(s.lightenHexColor)(t.value.style.chart.plots.startColor,t.value.style.chart.plots.gradient.intensity/100)},null,8,Te),e.createElementVNode("stop",{offset:"90%","stop-color":e.unref(s.darkenHexColor)(t.value.style.chart.plots.startColor,.1)},null,8,Xe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.plots.startColor},null,8,Oe)],8,Pe),e.createElementVNode("radialGradient",{id:`end_grad_${c.value}`,fy:"30%"},[e.createElementVNode("stop",{offset:"10%","stop-color":e.unref(s.lightenHexColor)(t.value.style.chart.plots.endColor,t.value.style.chart.plots.gradient.intensity/100)},null,8,Fe),e.createElementVNode("stop",{offset:"90%","stop-color":e.unref(s.darkenHexColor)(t.value.style.chart.plots.endColor,.1)},null,8,Me),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.plots.endColor},null,8,Ie)],8,De)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(l,o)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`grad_positive_${c.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.chart.plots.startColor},null,8,qe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.plots.endColor},null,8,Re)],8,Ge),e.createElementVNode("linearGradient",{id:`grad_negative_${c.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.chart.plots.endColor},null,8,Ue),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.plots.startColor},null,8,We)],8,He)]),t.value.style.chart.plots.link.type==="curved"?(e.openBlock(),e.createElementBlock("g",je,[e.createElementVNode("path",{d:`M
2
2
  ${l.startX},${l.y+t.value.style.chart.plots.radius/2}
3
3
  C ${l.centerX},${l.y} ${l.centerX},${l.y}
4
4
  ${l.endX},${l.y+t.value.style.chart.plots.radius/2}
@@ -1,15 +1,15 @@
1
1
  import { computed as g, ref as d, watch as fe, onMounted as be, onBeforeUnmount as Ie, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as F, normalizeClass as ge, createBlock as L, createCommentVNode as v, createElementVNode as i, createSlots as Ge, withCtx as _, renderSlot as m, normalizeProps as V, guardReactiveProps as E, createVNode as Me, Fragment as C, renderList as $, toDisplayString as A, createTextVNode as me, nextTick as De } from "vue";
2
- import { u as Fe, c as pe, a as Ve, o as Ee, e as _e, g as Re, v as ke, D as He, f as z, X as xe, i as B, l as we, h as Ce, q as We, r as Ue } from "./index-hMo72hAq.js";
2
+ import { u as Fe, c as pe, a as Ve, o as Ee, e as _e, g as Re, v as ke, D as He, f as z, X as xe, i as B, l as we, h as Ce, q as We, r as Ue } from "./index-Co_0CzhC.js";
3
3
  import { t as Be, u as je } from "./useResponsive-Cw4oZ8sQ.js";
4
- import { _ as qe } from "./Title-DrVDm1wy.js";
5
- import { u as Ye, U as Ze } from "./usePrinter-D2z-bUtX.js";
6
- import { D as Je } from "./DataTable-CXbN2mJi.js";
7
- import Ke from "./vue-ui-skeleton-C3t9bL6f.js";
8
- import { L as Qe } from "./Legend-BU9C5fBQ.js";
9
- import et from "./vue-ui-accordion-CHMdpjnX.js";
10
- import { u as $e } from "./useNestedProp-DhEaBTgF.js";
11
- import { _ as tt } from "./PackageVersion-0Lu6RIig.js";
12
- import { _ as lt } from "./PenAndPaper-D4Uu-GqW.js";
4
+ import { _ as qe } from "./Title-BDdzEGgo.js";
5
+ import { u as Ye, U as Ze } from "./usePrinter-BV6TePSm.js";
6
+ import { D as Je } from "./DataTable-BhwIv7c6.js";
7
+ import Ke from "./vue-ui-skeleton-Dzehgcp3.js";
8
+ import { L as Qe } from "./Legend-CubpFiQC.js";
9
+ import et from "./vue-ui-accordion-DMCnTtx0.js";
10
+ import { u as $e } from "./useNestedProp-DqI_VUcm.js";
11
+ import { _ as tt } from "./PackageVersion-DmKsiZge.js";
12
+ import { _ as lt } from "./PenAndPaper-Dgf1a1MW.js";
13
13
  import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
14
14
  import { u as st } from "./useChartAccessibility-BWojgys7.js";
15
15
  import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-BX4v5fiN.cjs"),Te=require("./Title-EjA2nkhd.cjs"),ie=require("./usePrinter-CynLTaVl.cjs"),Be=require("./DataTable-BmSWykCq.cjs"),Se=require("./vue-ui-accordion-BrbibtJK.cjs"),_e=require("./vue-ui-skeleton-DvJP74jb.cjs"),ce=require("./useNestedProp-DjOgO33z.cjs"),Pe=require("./PackageVersion-9kqlnk5q.cjs"),Ee=require("./PenAndPaper-CfWPwfS1.cjs"),Oe=require("./useUserOptionState-BgepsfED.cjs"),Fe=require("./useChartAccessibility-Cm7nkzTG.cjs"),ze=require("./Tooltip-Dr2CQpGZ.cjs"),Le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ve=["id"],Ie={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},Ae={key:2,style:"width:100%;background:transparent;padding-bottom:24px"},He=["xmlns","viewBox"],Me=["width","height"],De=["id"],qe=["stop-color"],Re=["stop-color"],Ye=["d","fill","stroke","stroke-width"],Ue=["x","y","height","width","fill","stroke","stroke-width","onMouseenter"],Ge=["x","y","font-size","fill"],je=["x","y","font-size","fill"],We={key:4,class:"vue-data-ui-watermark"},Xe={key:6,ref:"source",dir:"auto"},Ze=["innerHTML"],Je={__name:"vue-ui-flow",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(de,{expose:ve}){const{vue_ui_flow:fe}=s.useConfig(),g=de,V=e.computed(()=>!!g.dataset&&g.dataset.length);e.onMounted(()=>{U()});function U(){s.objectIsEmpty(g.dataset)&&s.error({componentName:"VueUiFlow",type:"dataset"})}const I=e.ref(s.createUid()),A=e.ref(null),G=e.ref(0),j=e.ref(0),H=e.ref(!1),M=e.ref(""),$=e.ref(!1);function he(o){$.value=o,G.value+=1}const t=e.computed({get:()=>J(),set:o=>o}),{userOptionsVisible:D,setUserOptionsVisibility:W,keepUserOptionState:X}=Oe.useUserOptionState({config:t.value}),{svgRef:Z}=Fe.useChartAccessibility({config:t.value.style.chart.title});function J(){const o=ce.useNestedProp({userConfig:g.config,defaultConfig:fe});return o.theme?{...ce.useNestedProp({userConfig:s.themes.vue_ui_flow[o.theme]||g.config,defaultConfig:o}),customPalette:s.themePalettes[o.theme]||s.palette}:o}e.watch(()=>g.config,o=>{t.value=J(),D.value=!t.value.userOptions.showOnChartHover,U(),j.value+=1,b.value.showTable=t.value.table.show},{deep:!0});const{isPrinting:K,isImaging:Q,generatePdf:ee,generateImage:te}=ie.usePrinter({elementId:`flow_${I.value}`,fileName:t.value.style.chart.title.text||"vue-ui-flow",options:t.value.userOptions.print}),pe=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),q=e.computed(()=>s.convertCustomPalette(t.value.customPalette)),oe=e.computed(()=>t.value.style.chart.nodes.gap),x=e.computed(()=>t.value.style.chart.nodes.width),b=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),le=e.computed(()=>t.value.style.chart.links.width),E=e.computed(()=>!g.dataset||!g.dataset.length?[]:g.dataset.map(o=>[o[0],o[1],s.checkNaN(o[2])])),ae=e.computed(()=>{const o={};function a(n){o[n]||(o[n]={inflow:0,outflow:0})}E.value.forEach(([n,r,v])=>{a(n),a(r),o[n].outflow+=v,o[r].inflow+=v});let l=0;for(const n in o){const r=Math.max(o[n].inflow,o[n].outflow);l=Math.max(l,r)}return l});function me(o){return o/ae.value*100+t.value.style.chart.nodes.minHeight}function ge(o){const a=t.value.style.chart.nodes.minHeight;return(o-a)/100*ae.value}function ye(o){const a={},l={};function n(u,c){a[u]||(a[u]={height:0,level:null,inflow:0,outflow:0,uid:s.createUid()}),a[u].level===null&&(a[u].level=c),l[c]||(l[c]=[]),l[c].includes(u)||l[c].push(u)}o.forEach(([u,c,f],N)=>{const y=a[u]?a[u].level:0,k=y+1;n(u,y),n(c,k),a[u].children||(a[u].children=[]),a[u].children.push({target:c,value:f}),a[u].outflow+=f,a[c].inflow+=f}),Object.keys(a).forEach((u,c)=>{a[u].color=q.value[c]||q.value[c%q.value.length]||s.palette[c]||s.palette[c%d.length]});for(const u in a)a[u].height=me(Math.max(a[u].inflow,a[u].outflow)),a[u].name=u;const r={};for(const u in l){let c=0;l[u].forEach((f,N)=>{const y=a[f].height;r[f]={x:parseInt(u,10)*le.value+t.value.style.chart.padding.left,y:c,absoluteY:c,height:y,i:N,color:a[f].color,value:ge(y)},c+=y+oe.value})}const v=[];for(const u in a){let c=r[u].absoluteY+t.value.style.chart.padding.top;a[u].children&&a[u].children.forEach(({target:f,value:N},y)=>{const k=r[f].y+t.value.style.chart.padding.top,B=r[u],S=r[f],p=s.checkNaN(c),w=s.checkNaN(c+N/a[u].outflow*B.height),_=s.checkNaN(k),i=s.checkNaN(k+N/a[f].inflow*S.height),h={id:s.createUid(),source:u,target:f,path:`M ${s.checkNaN(B.x)+s.checkNaN(x.value)} ${p} L ${s.checkNaN(B.x)+s.checkNaN(x.value)} ${w} L ${s.checkNaN(S.x)} ${i} L ${s.checkNaN(S.x)} ${_} Z`,value:N,sourceColor:a[u].color,targetColor:a[f].color};v.push(h),c+=w-p,r[f].y+=i-_})}return{nodeCoordinates:r,links:v}}const m=e.computed(()=>{const o=ye(g.dataset);return{nodes:Object.keys(o.nodeCoordinates).map((a,l)=>({...o.nodeCoordinates[a],name:a})),links:o.links}}),be=e.computed(()=>ke(m.value.nodes));function ke(o){const a={};for(const n in o){const{x:r,height:v}=o[n];a[r]||(a[r]=0),a[r]+=v+oe.value}return Math.max(...Object.values(a))}const T=e.computed(()=>{const{top:o,right:a,left:l,bottom:n}=t.value.style.chart.padding,r=E.value.length*le.value;return{height:be.value+o+n,width:a+Math.max(...m.value.nodes.map(v=>v.x))+x.value,left:l,top:o,right:r-a,p_top:o,p_bottom:n}});function we(o){const a={},l={},n=new Set;return E.value.forEach(([r,v,u])=>{a[r]||(a[r]=[]),l[v]||(l[v]=[]),a[r].push(v),l[v].push(r)}),a[o]&&a[o].forEach(r=>n.add(r)),l[o]&&l[o].forEach(r=>n.add(r)),Array.from(n).concat(o)}const C=e.ref(null),O=e.ref(null),R=e.ref(null),F=e.ref(!1);function Ce(o){C.value=we(o.name),O.value=o.name;const a=o.name,l=E.value;let n=0,r=0,v=[],u=[];const c=new Set(l.map(([i])=>i)),f=new Set(l.map(([,i])=>i)),N=Array.from(c).filter(i=>!f.has(i)),y=l.filter(([i])=>N.includes(i)).reduce((i,[h,P,xe])=>i+xe,0),k={};m.value.nodes.forEach(i=>{k[i.name]=i.color}),l.forEach(([i,h,P])=>{h===a&&(n+=P,v.push({source:i,value:P,color:k[i]})),i===a&&(r+=P,u.push({target:h,value:P,color:k[h]}))});const B=Math.max(n,r),S=y>0?B/y*100:0,p={name:a,inflow:n,outflow:r,from:v,to:u,percentOfTotal:S,color:k[a]||"#000000"};R.value={datapoint:p},H.value=!0;let w="";const _=t.value.style.chart.tooltip.customFormat;if(F.value=!1,s.isFunction(_))try{const i=_({datapoint:p,series:m.value,config:t.value});typeof i=="string"&&(M.value=i,F.value=!0)}catch{console.warn("Custom format cannot be applied.")}if(!F.value){const i=t.value.style.chart.tooltip.showPercentage?`<div>${s.dataLabel({p:t.value.style.chart.tooltip.translations.percentOfTotal,v:p.percentOfTotal,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</div>`:"";w+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${p.color}">⏹</span>${p.name}${i}</div>`,p.from.length&&(w+=`<div>${t.value.style.chart.tooltip.translations.from}</div>`,p.from.forEach(h=>{w+=`<div><span style="color:${h.color}">⏹←</span> ${h.source}: ${s.applyDataLabel(t.value.style.chart.nodes.labels.formatter,h.value,s.dataLabel({p:t.value.style.chart.nodes.labels.prefix,v:h.value,s:t.value.style.chart.nodes.labels.suffix,r:t.value.style.chart.nodes.labels.rounding}))}</div>`})),p.to.length&&(w+=`<div style="margin-top:6px;">${t.value.style.chart.tooltip.translations.to}</div>`,p.to.forEach(h=>{w+=`<div><span style="color:${h.color}">⏹→</span> ${h.target}: ${s.applyDataLabel(t.value.style.chart.nodes.labels.formatter,h.value,s.dataLabel({p:t.value.style.chart.nodes.labels.prefix,v:h.value,s:t.value.style.chart.nodes.labels.suffix,r:t.value.style.chart.nodes.labels.rounding}))}</div>`})),M.value=w}}function Ne(){C.value=null,O.value=null,H.value=!1}const ne=e.computed(()=>m.value.links.map(({source:o,target:a,sourceColor:l,targetColor:n,value:r})=>({source:o,target:a,sourceColor:l,targetColor:n,value:r})));function re(){e.nextTick(()=>{const o=ne.value.map((n,r)=>[[n.source],[n.target],[n.value]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[t.value.table.columnNames.source],[t.value.table.columnNames.target],[t.value.table.columnNames.value]]].concat(o),l=s.createCsvContent(a);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-flow"})})}const z=e.computed(()=>{const o=[t.value.table.columnNames.source,t.value.table.columnNames.target,t.value.table.columnNames.value],a=ne.value.map((r,v)=>[{color:r.sourceColor,name:r.source},{color:r.targetColor,name:r.target},s.dataLabel({p:t.value.style.chart.nodes.labels.prefix,v:r.value,s:t.value.style.chart.nodes.labels.suffix,r:t.value.style.chart.nodes.labels.rounding})]),l={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.source,t.value.table.columnNames.target,t.value.table.columnNames.value],head:o,body:a,config:l}});function $e(){return m.value}function se(){b.value.showTable=!b.value.showTable}const L=e.ref(!1);function Y(){L.value=!L.value}function ue(){b.value.showTooltip=!b.value.showTooltip}return ve({getData:$e,generateCsv:re,generateImage:te,generatePdf:ee,toggleTable:se,toggleAnnotator:Y,toggleTooltip:ue}),(o,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"flowChart",ref:A,class:e.normalizeClass(`vue-ui-flow ${$.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),id:`flow_${I.value}`,onMouseenter:a[2]||(a[2]=()=>e.unref(W)(!0)),onMouseleave:a[3]||(a[3]=()=>e.unref(W)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ee._sfc_main,{key:0,svgRef:e.unref(Z),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:L.value,onClose:Y},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),pe.value?(e.openBlock(),e.createElementBlock("div",Ie,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",Ae,[(e.openBlock(),e.createBlock(Te._sfc_main,{key:`title_${j.value}`,config:{title:{cy:"flow-title",...t.value.style.chart.title},subtitle:{cy:"flow-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&V.value&&(e.unref(X)||e.unref(D))?(e.openBlock(),e.createBlock(ie.UserOptions,{ref:"details",key:`user_option_${G.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(K),isImaging:e.unref(Q),uid:I.value,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,isFullscreen:$.value,titles:{...t.value.userOptions.buttonTitles},chartElement:A.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:L.value,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:b.value.showTooltip,onToggleTooltip:ue,onToggleFullscreen:he,onGeneratePdf:e.unref(ee),onGenerateCsv:re,onGenerateImage:e.unref(te),onToggleTable:se,onToggleAnnotator:Y,style:e.normalizeStyle({visibility:e.unref(X)?e.unref(D)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:n})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:n})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:n})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:n})),void 0,!0)]),key:"6"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:n})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:n})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","hasTooltip","isTooltip","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock("svg",{ref_key:"svgRef",ref:Z,xmlns:e.unref(s.XMLNS),viewBox:`0 0 ${T.value.width} ${T.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":$.value,"vue-data-ui-fulscreen--off":!$.value}),style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Pe._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:T.value.width,height:T.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Me)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.links,(l,n)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:l.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":l.sourceColor},null,8,qe),e.createElementVNode("stop",{offset:"100%","stop-color":l.targetColor},null,8,Re)],8,De))),256))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.links,l=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-flow-link",d:l.path,fill:`url(#${l.id})`,stroke:t.value.style.chart.links.stroke,"stroke-width":t.value.style.chart.links.strokeWidth,style:e.normalizeStyle(`opacity:${O.value?[l.target,l.source].includes(O.value)?1:.3:t.value.style.chart.links.opacity}`)},null,12,Ye))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.nodes,(l,n)=>(e.openBlock(),e.createElementBlock("rect",{class:"vue-ui-flow-node",x:l.x,y:e.unref(s.checkNaN)(l.absoluteY)+t.value.style.chart.padding.top,height:e.unref(s.checkNaN)(l.height),width:x.value,fill:l.color,stroke:t.value.style.chart.nodes.stroke,"stroke-width":t.value.style.chart.nodes.strokeWidth,onMouseenter:r=>Ce(l),onMouseleave:a[0]||(a[0]=r=>Ne()),style:e.normalizeStyle(`opacity:${C.value?C.value.includes(l.name)?1:.2:1}`)},null,44,Ue))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.nodes,(l,n)=>(e.openBlock(),e.createElementBlock("text",{x:l.x+x.value/2,y:e.unref(s.checkNaN)(l.absoluteY+l.height/2-t.value.style.chart.nodes.labels.fontSize/4)+t.value.style.chart.padding.top,"font-size":t.value.style.chart.nodes.labels.fontSize,fill:e.unref(s.adaptColorToBackground)(l.color),"text-anchor":"middle",style:e.normalizeStyle(`pointer-events: none; opacity:${C.value?C.value.includes(l.name)?1:0:1}`)},e.toDisplayString(t.value.style.chart.nodes.labels.abbreviation.use?e.unref(s.abbreviate)({source:l.name,length:t.value.style.chart.nodes.labels.abbreviation.length}):l.name),13,Ge))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.nodes,(l,n)=>(e.openBlock(),e.createElementBlock("text",{x:l.x+x.value/2,y:e.unref(s.checkNaN)(l.absoluteY+l.height/2+t.value.style.chart.nodes.labels.fontSize)+t.value.style.chart.padding.top,"font-size":t.value.style.chart.nodes.labels.fontSize,fill:e.unref(s.adaptColorToBackground)(l.color),"text-anchor":"middle",style:e.normalizeStyle(`pointer-events: none; opacity:${C.value?C.value.includes(l.name)?1:0:1}`)},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.nodes.labels.formatter,l.value,e.unref(s.dataLabel)({p:t.value.style.chart.nodes.labels.prefix,v:l.value,s:t.value.style.chart.nodes.labels.suffix,r:t.value.style.chart.nodes.labels.rounding}),{datapoint:l,seriesIndex:n})),13,je))),256)),e.renderSlot(o.$slots,"svg",{svg:T.value},void 0,!0)],14,He)),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",We,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(K)||e.unref(Q)})),void 0,!0)])):e.createCommentVNode("",!0),V.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(_e.default,{key:5,config:{type:"flow",style:{backgroundColor:t.value.style.chart.backgroundColor}}},null,8,["config"])),o.$slots.source?(e.openBlock(),e.createElementBlock("div",Xe,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(ze._sfc_main,{show:b.value.showTooltip&&H.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:A.value,content:M.value,isCustom:F.value,isFullscreen:$.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...R.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...R.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom","isFullscreen"]),V.value?(e.openBlock(),e.createBlock(Se.default,{key:7,hideDetails:"",config:{open:b.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.createVNode(Be.DataTable,{colNames:z.value.colNames,head:z.value.head,body:z.value.body,config:z.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[1]||(a[1]=l=>b.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Ze)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ve))}},Ke=Le._export_sfc(Je,[["__scopeId","data-v-17e83e4a"]]);exports.default=Ke;