vue-data-ui 2.5.7 → 2.5.9

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 (157) hide show
  1. package/README.md +83 -1
  2. package/dist/{Arrow-BQy5IqAX.cjs → Arrow-CDI_L834.cjs} +1 -1
  3. package/dist/{Arrow-5QI0f9hp.js → Arrow-DMfadOFB.js} +1 -1
  4. package/dist/{BaseIcon-BXpK120h.js → BaseIcon-CE4KhOox.js} +1 -1
  5. package/dist/{BaseIcon-Dk8gByg1.cjs → BaseIcon-CSpqq62V.cjs} +1 -1
  6. package/dist/{DataTable-CpOh1tx3.js → DataTable-C_YX1pwI.js} +2 -2
  7. package/dist/{DataTable-D93-QmC8.cjs → DataTable-cvwMC0Ke.cjs} +1 -1
  8. package/dist/{Legend-DqRstaxU.js → Legend-BIE7T807.js} +2 -2
  9. package/dist/{Legend-Dh9aF6uH.cjs → Legend-C91nJUyp.cjs} +1 -1
  10. package/dist/{PackageVersion-CdmZAhdE.cjs → PackageVersion-B5cHkz3-.cjs} +1 -1
  11. package/dist/{PackageVersion-iscNRe7N.js → PackageVersion-N_Q2K_Kp.js} +1 -1
  12. package/dist/{PenAndPaper-BsncKiRE.cjs → PenAndPaper-BVSRnwAP.cjs} +1 -1
  13. package/dist/{PenAndPaper-B-VQ8eSo.js → PenAndPaper-NvAJhDOQ.js} +3 -3
  14. package/dist/{Shape-DZRynz5E.cjs → Shape-DvB-ALI9.cjs} +1 -1
  15. package/dist/{Shape-CB0mE9KP.js → Shape-o0w_YFes.js} +1 -1
  16. package/dist/{Slicer-Cm0a7Otv.cjs → Slicer-DFMMoat-.cjs} +1 -1
  17. package/dist/{Slicer-DiUftIFQ.js → Slicer-jSg6umvj.js} +2 -2
  18. package/dist/{Title-CiQQgFbV.js → Title-DP3fclaW.js} +1 -1
  19. package/dist/{Title-DFq_8HYJ.cjs → Title-zIr3pW0Y.cjs} +1 -1
  20. package/dist/{Tooltip-ZYQUXVWv.js → Tooltip-DpqJj1_e.js} +1 -1
  21. package/dist/{Tooltip-pcZXVRMj.cjs → Tooltip-JUdLirBN.cjs} +1 -1
  22. package/dist/documentation/installation.md +1 -1
  23. package/dist/{index-DiqenHrX.js → index-B6iCkgQj.js} +1 -1
  24. package/dist/{index-C_VTEz1N.cjs → index-j0ggGyqh.cjs} +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +46 -0
  27. package/dist/types/vue-data-ui.d.ts +46 -0
  28. package/dist/{useNestedProp-C7bLHE7v.cjs → useNestedProp-BBCLfU_n.cjs} +1 -1
  29. package/dist/{useNestedProp-B3CQkP95.js → useNestedProp-egyWxFl6.js} +1 -1
  30. package/dist/{usePrinter-DWCqeYW6.cjs → usePrinter-CosdKiXK.cjs} +1 -1
  31. package/dist/{usePrinter-CHAgX1f-.js → usePrinter-DEBltZby.js} +1 -1
  32. package/dist/{vue-data-ui-BAAnNikX.js → vue-data-ui-D8MNJnP8.js} +61 -61
  33. package/dist/{vue-data-ui-VikO3yRe.cjs → vue-data-ui-DcaK4iTA.cjs} +1 -1
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +9 -8
  36. package/dist/{vue-ui-3d-bar-BR-ihA3S.cjs → vue-ui-3d-bar-DSluLRkx.cjs} +1 -1
  37. package/dist/{vue-ui-3d-bar-C4OjP6pi.js → vue-ui-3d-bar-DmHG0BRY.js} +9 -9
  38. package/dist/{vue-ui-accordion-DA6XnWaz.js → vue-ui-accordion-CpTs7ThO.js} +3 -3
  39. package/dist/{vue-ui-accordion-CtBhoUw4.cjs → vue-ui-accordion-I9jITkh5.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-2AgqaHOS.js → vue-ui-age-pyramid-BO5zBebr.js} +10 -10
  41. package/dist/{vue-ui-age-pyramid-E0fCV03f.cjs → vue-ui-age-pyramid-DERS1GEK.cjs} +1 -1
  42. package/dist/{vue-ui-annotator-CdLA2R6h.js → vue-ui-annotator-BmQ1WZoF.js} +1 -1
  43. package/dist/{vue-ui-annotator-UcABxDAz.cjs → vue-ui-annotator-DPnDCeXh.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-C4wEiJn8.cjs → vue-ui-bullet-BH7ufdgn.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-AFqmPWo3.js → vue-ui-bullet-QiEF5O5Z.js} +8 -8
  46. package/dist/{vue-ui-candlestick-BkQsD1Yi.cjs → vue-ui-candlestick-D8LUwHP_.cjs} +1 -1
  47. package/dist/{vue-ui-candlestick-Bs0DE1Xi.js → vue-ui-candlestick-DMhlF7OF.js} +11 -11
  48. package/dist/{vue-ui-carousel-table-NYlYQbo9.js → vue-ui-carousel-table-B_jSw5nK.js} +4 -4
  49. package/dist/{vue-ui-carousel-table-KX-cLx3F.cjs → vue-ui-carousel-table-s5TEXTHg.cjs} +1 -1
  50. package/dist/{vue-ui-chestnut-BzHRBq_Z.cjs → vue-ui-chestnut-CFeiJBCZ.cjs} +1 -1
  51. package/dist/{vue-ui-chestnut-BAJjfgKR.js → vue-ui-chestnut-DCeek-W6.js} +8 -8
  52. package/dist/vue-ui-circle-pack-B2wyvjmX.cjs +1 -0
  53. package/dist/{vue-ui-circle-pack-BoolEIij.js → vue-ui-circle-pack-B7_t2TS8.js} +227 -217
  54. package/dist/{vue-ui-cursor-ut60ihG1.js → vue-ui-cursor-BrZJeqQP.js} +2 -2
  55. package/dist/{vue-ui-cursor-BjQLjw1a.cjs → vue-ui-cursor-CBf8BAyI.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-FQxiN7Jj.js → vue-ui-dashboard-DiX6_Lu1.js} +2 -2
  57. package/dist/{vue-ui-dashboard-BXVdZdEF.cjs → vue-ui-dashboard-thDl2UZd.cjs} +1 -1
  58. package/dist/{vue-ui-digits-j2WKJUNf.cjs → vue-ui-digits-BmjxLWsH.cjs} +1 -1
  59. package/dist/{vue-ui-digits-Rb48H8et.js → vue-ui-digits-ffVg5Sdo.js} +2 -2
  60. package/dist/{vue-ui-donut-DUKnsxUu.js → vue-ui-donut-BPKISbjU.js} +12 -12
  61. package/dist/{vue-ui-donut-CbFW--I1.cjs → vue-ui-donut-Dnio43ap.cjs} +1 -1
  62. package/dist/{vue-ui-donut-evolution-n-ue754h.js → vue-ui-donut-evolution-6MFHeOYA.js} +11 -11
  63. package/dist/{vue-ui-donut-evolution-9mJgbwpR.cjs → vue-ui-donut-evolution-CVWbXBVz.cjs} +1 -1
  64. package/dist/{vue-ui-dumbbell-C4r0NeY_.js → vue-ui-dumbbell-9ON2GlRd.js} +10 -10
  65. package/dist/{vue-ui-dumbbell-sXSCnY75.cjs → vue-ui-dumbbell-BZkCJ0sm.cjs} +1 -1
  66. package/dist/{vue-ui-flow-CuZbUegy.js → vue-ui-flow-BZ59oOLx.js} +9 -9
  67. package/dist/{vue-ui-flow-C8-oqGo7.cjs → vue-ui-flow-D3_h_vbo.cjs} +1 -1
  68. package/dist/{vue-ui-funnel-Cb0LSIxk.cjs → vue-ui-funnel-CKGhYUAT.cjs} +1 -1
  69. package/dist/{vue-ui-funnel-D9whnJ6X.js → vue-ui-funnel-CfmnrlJc.js} +9 -9
  70. package/dist/{vue-ui-galaxy-CRECMRY6.js → vue-ui-galaxy-D79eHzul.js} +11 -11
  71. package/dist/{vue-ui-galaxy-DUHSlUJQ.cjs → vue-ui-galaxy-eworfjhq.cjs} +1 -1
  72. package/dist/{vue-ui-gauge-BfmvvI7e.cjs → vue-ui-gauge-Dep8eww5.cjs} +1 -1
  73. package/dist/{vue-ui-gauge-BEhMYmCg.js → vue-ui-gauge-FopbSPHo.js} +7 -7
  74. package/dist/{vue-ui-gizmo-BkZTXg7I.cjs → vue-ui-gizmo-DRfspDQI.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-DtXR6xgr.js → vue-ui-gizmo-Df5lHeLd.js} +3 -3
  76. package/dist/{vue-ui-heatmap-B1XZnqbm.cjs → vue-ui-heatmap-B2n7fqiJ.cjs} +1 -1
  77. package/dist/{vue-ui-heatmap-BlBHNDJV.js → vue-ui-heatmap-smAgvLBm.js} +10 -10
  78. package/dist/{vue-ui-history-plot-DqM3d3p7.cjs → vue-ui-history-plot-4UYJWhE5.cjs} +1 -1
  79. package/dist/{vue-ui-history-plot-BmzpDPL6.js → vue-ui-history-plot-CpO69hOT.js} +11 -11
  80. package/dist/{vue-ui-kpi-XdIADLDq.js → vue-ui-kpi-BWpoNAlF.js} +3 -3
  81. package/dist/{vue-ui-kpi-D1i-2otW.cjs → vue-ui-kpi-DN8R7Urm.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-DZgbFjuS.cjs → vue-ui-mini-loader-DhQ61Wi8.cjs} +1 -1
  83. package/dist/{vue-ui-mini-loader-BdDY5AwD.js → vue-ui-mini-loader-nBgnWAxN.js} +2 -2
  84. package/dist/{vue-ui-molecule-a0IHQMkN.cjs → vue-ui-molecule-BV1l0DPy.cjs} +1 -1
  85. package/dist/{vue-ui-molecule-DstYXfTV.js → vue-ui-molecule-CZpmGIkh.js} +11 -11
  86. package/dist/{vue-ui-mood-radar-DjtnprtG.js → vue-ui-mood-radar-CTx3EsLc.js} +11 -11
  87. package/dist/{vue-ui-mood-radar-BafPNccC.cjs → vue-ui-mood-radar-D_Qxz-H3.cjs} +1 -1
  88. package/dist/{vue-ui-nested-donuts-XQ_auu4H.js → vue-ui-nested-donuts-CNXC60eJ.js} +11 -11
  89. package/dist/{vue-ui-nested-donuts-DC7oX5GH.cjs → vue-ui-nested-donuts-DqDmuoKl.cjs} +1 -1
  90. package/dist/{vue-ui-onion-D_myFmJv.js → vue-ui-onion-CYWHy2Ul.js} +11 -11
  91. package/dist/{vue-ui-onion-DEfVifyj.cjs → vue-ui-onion-gUY_8Pk7.cjs} +1 -1
  92. package/dist/{vue-ui-parallel-coordinate-plot-Bv3lIZ0J.cjs → vue-ui-parallel-coordinate-plot-CbWbh3YQ.cjs} +1 -1
  93. package/dist/{vue-ui-parallel-coordinate-plot-DQsyE4kf.js → vue-ui-parallel-coordinate-plot-D_ku0iBm.js} +12 -12
  94. package/dist/{vue-ui-quadrant-DXU4OdLD.cjs → vue-ui-quadrant-CcQtjV1R.cjs} +1 -1
  95. package/dist/{vue-ui-quadrant-DBvqgk3y.js → vue-ui-quadrant-DV-W3Bc7.js} +12 -12
  96. package/dist/{vue-ui-quick-chart-C-bsRZf1.js → vue-ui-quick-chart-CM_6czjm.js} +9 -9
  97. package/dist/{vue-ui-quick-chart-Dl-94hQE.cjs → vue-ui-quick-chart-m_0oN75l.cjs} +1 -1
  98. package/dist/{vue-ui-radar-QQ8vOOYq.cjs → vue-ui-radar-B3ZSBg8X.cjs} +1 -1
  99. package/dist/{vue-ui-radar-He8orFXJ.js → vue-ui-radar-CTYYMUUA.js} +12 -12
  100. package/dist/{vue-ui-rating-qUauyHHk.js → vue-ui-rating-B13cpPP5.js} +2 -2
  101. package/dist/{vue-ui-rating-6kyP3DDH.cjs → vue-ui-rating-C2O4ltHl.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-BO4wP-bR.cjs → vue-ui-relation-circle-CCGfhiCo.cjs} +1 -1
  103. package/dist/{vue-ui-relation-circle-DfVg4VBp.js → vue-ui-relation-circle-D3-uWUh9.js} +7 -7
  104. package/dist/{vue-ui-rings-DjoVPXun.js → vue-ui-rings-B2-BG00g.js} +12 -12
  105. package/dist/{vue-ui-rings-D_cVoXDa.cjs → vue-ui-rings-CWy-hNpb.cjs} +1 -1
  106. package/dist/{vue-ui-scatter-45hc4NIf.cjs → vue-ui-scatter-B0vkzYer.cjs} +1 -1
  107. package/dist/{vue-ui-scatter-DBcO00g4.js → vue-ui-scatter-BweU03yc.js} +12 -12
  108. package/dist/{vue-ui-screenshot-zc-jsepS.js → vue-ui-screenshot-DCWrDOFK.js} +1 -1
  109. package/dist/{vue-ui-screenshot-lJJxoLDu.cjs → vue-ui-screenshot-DwbXIuKi.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-D1bJntn7.cjs → vue-ui-skeleton-B3chMg3p.cjs} +1 -1
  111. package/dist/{vue-ui-skeleton-BwWHgSoq.js → vue-ui-skeleton-BVn408dA.js} +3 -3
  112. package/dist/{vue-ui-smiley-BVFxYYJl.js → vue-ui-smiley-BNmpQkTu.js} +2 -2
  113. package/dist/{vue-ui-smiley-CZPe292C.cjs → vue-ui-smiley-Bm_Sor3t.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-8LZqy_wz.js → vue-ui-spark-trend-CUjHlDOq.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-BJ3_K1DU.cjs → vue-ui-spark-trend-iHE9BSRD.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-C93PvNz6.js → vue-ui-sparkbar-0_5f6jHS.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-B3idsjFj.cjs → vue-ui-sparkbar-Bwm4YKT1.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-B1uABI9w.js → vue-ui-sparkgauge-Bv39vGRr.js} +4 -4
  119. package/dist/{vue-ui-sparkgauge-66qZ-DgD.cjs → vue-ui-sparkgauge-Dou1ZAwl.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-vAgBJK79.js → vue-ui-sparkhistogram-DmqjOiSy.js} +5 -5
  121. package/dist/{vue-ui-sparkhistogram-D7ECtpUW.cjs → vue-ui-sparkhistogram-DnUAwkLS.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-B2JarTjo.js → vue-ui-sparkline-0rGL6Gic.js} +4 -4
  123. package/dist/{vue-ui-sparkline-YOIgP_Dl.cjs → vue-ui-sparkline-rB-JplKe.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-DMClZgds.cjs → vue-ui-sparkstackbar-BiAAKqhB.cjs} +1 -1
  125. package/dist/{vue-ui-sparkstackbar-C2E7YRP0.js → vue-ui-sparkstackbar-iWl3B8vy.js} +5 -5
  126. package/dist/{vue-ui-stackbar-n27TJh0C.js → vue-ui-stackbar-92YraSYR.js} +13 -13
  127. package/dist/{vue-ui-stackbar-BP_qrJ-s.cjs → vue-ui-stackbar-C8_nrogq.cjs} +1 -1
  128. package/dist/{vue-ui-strip-plot-DN7X6zBk.cjs → vue-ui-strip-plot-A5MnXNhF.cjs} +1 -1
  129. package/dist/{vue-ui-strip-plot-Bjy7C_Ry.js → vue-ui-strip-plot-CWkfKq60.js} +11 -11
  130. package/dist/{vue-ui-table-DnHvIIqi.js → vue-ui-table-4d9uSLEP.js} +1 -1
  131. package/dist/{vue-ui-table-6rqw4Gi-.cjs → vue-ui-table-DW_fRtOb.cjs} +1 -1
  132. package/dist/{vue-ui-table-heatmap-Dt8DAC4A.js → vue-ui-table-heatmap-D2a0wP1j.js} +4 -4
  133. package/dist/{vue-ui-table-heatmap-BQKXP9Na.cjs → vue-ui-table-heatmap-DNXHs86Z.cjs} +1 -1
  134. package/dist/{vue-ui-table-sparkline-CLQJbHX8.js → vue-ui-table-sparkline-DJLP27Ad.js} +5 -5
  135. package/dist/{vue-ui-table-sparkline-DmNJFPHo.cjs → vue-ui-table-sparkline-vLm9b1I5.cjs} +1 -1
  136. package/dist/{vue-ui-thermometer-BTmiPdUs.js → vue-ui-thermometer-CNts_rvi.js} +7 -7
  137. package/dist/{vue-ui-thermometer-DnVSE7_V.cjs → vue-ui-thermometer-DHSzFidy.cjs} +1 -1
  138. package/dist/{vue-ui-timer-D6j-aYnJ.js → vue-ui-timer-BFcOw1hO.js} +5 -5
  139. package/dist/{vue-ui-timer-CINerMki.cjs → vue-ui-timer-YFtl58_g.cjs} +1 -1
  140. package/dist/{vue-ui-tiremarks-CRGMkwwv.cjs → vue-ui-tiremarks-DoUwvkC6.cjs} +1 -1
  141. package/dist/{vue-ui-tiremarks-ztoJZwQn.js → vue-ui-tiremarks-uYzoi0Az.js} +7 -7
  142. package/dist/{vue-ui-treemap-CbqRlXgA.cjs → vue-ui-treemap-CCaxQbC5.cjs} +1 -1
  143. package/dist/{vue-ui-treemap-B0NYnKie.js → vue-ui-treemap-DyVr-7tU.js} +11 -11
  144. package/dist/{vue-ui-vertical-bar-DzcpRwPF.js → vue-ui-vertical-bar-CkIPLo9K.js} +12 -12
  145. package/dist/{vue-ui-vertical-bar-Cosr8beH.cjs → vue-ui-vertical-bar-DgkIij4V.cjs} +1 -1
  146. package/dist/{vue-ui-waffle-DkVKQERp.cjs → vue-ui-waffle-CRD2OK-Z.cjs} +1 -1
  147. package/dist/{vue-ui-waffle-CE1MnOqa.js → vue-ui-waffle-DMF4YPMb.js} +12 -12
  148. package/dist/{vue-ui-wheel-CGYGLKyG.cjs → vue-ui-wheel-B33BipCK.cjs} +1 -1
  149. package/dist/{vue-ui-wheel-DMS12xPv.js → vue-ui-wheel-GRUDawxW.js} +7 -7
  150. package/dist/{vue-ui-word-cloud-D_CyZOE0.js → vue-ui-word-cloud-BWkyB_vh.js} +10 -10
  151. package/dist/{vue-ui-word-cloud-C1klEiea.cjs → vue-ui-word-cloud-C3bj_ty9.cjs} +1 -1
  152. package/dist/{vue-ui-xy-GgA45y9X.js → vue-ui-xy-B5cBN3Pc.js} +14 -14
  153. package/dist/{vue-ui-xy-Nj-5ko1z.cjs → vue-ui-xy-D0hbPR0k.cjs} +1 -1
  154. package/dist/{vue-ui-xy-canvas-BRPQBL8l.js → vue-ui-xy-canvas-1ZUGY0mI.js} +11 -11
  155. package/dist/{vue-ui-xy-canvas-CQt5pre_.cjs → vue-ui-xy-canvas-CmrS0Mvt.cjs} +1 -1
  156. package/package.json +1 -1
  157. package/dist/vue-ui-circle-pack-BrmdreXG.cjs +0 -1
@@ -1,22 +1,22 @@
1
- import { useCssVars as lt, computed as h, ref as f, watch as Se, onMounted as at, watchEffect as ot, openBlock as s, createElementBlock as i, normalizeClass as Fe, normalizeStyle as X, unref as c, createBlock as T, createCommentVNode as y, renderSlot as m, createSlots as st, withCtx as C, normalizeProps as E, guardReactiveProps as D, createVNode as rt, Fragment as O, renderList as se, createElementVNode as k, toDisplayString as L, createTextVNode as nt, nextTick as ut } from "vue";
2
- import { u as it, c as Me, t as ct, a as re, p as P, o as vt, e as dt, b as ht, d as Ne, m as ft, h as _e, f as ne, X as yt, l as pt, G as Y, i as Ae, q as mt, r as bt } from "./index-DiqenHrX.js";
3
- import { u as Ee } from "./useNestedProp-B3CQkP95.js";
4
- import { u as gt, U as kt } from "./usePrinter-CHAgX1f-.js";
5
- import { _ as xt } from "./Title-CiQQgFbV.js";
6
- import { P as wt } from "./PenAndPaper-B-VQ8eSo.js";
7
- import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { _ as zt } from "./PackageVersion-iscNRe7N.js";
9
- import $t from "./vue-ui-accordion-DA6XnWaz.js";
10
- import { D as Pt } from "./DataTable-CpOh1tx3.js";
11
- import Tt from "./vue-ui-skeleton-BwWHgSoq.js";
12
- import { _ as Ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Mt = ["id"], Nt = ["stop-color"], _t = ["stop-color"], At = ["stop-color"], Et = { key: 0 }, Dt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter"], Lt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Rt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Gt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ut = ["d", "fill"], Vt = ["cx", "cy", "r", "opacity", "stroke", "fill"], Bt = {
1
+ import { useCssVars as at, computed as h, ref as f, watch as Fe, onMounted as ot, watchEffect as st, openBlock as s, createElementBlock as i, normalizeClass as Me, normalizeStyle as Y, unref as c, createBlock as S, createCommentVNode as y, renderSlot as p, createSlots as nt, withCtx as C, normalizeProps as O, guardReactiveProps as D, createVNode as rt, Fragment as T, renderList as se, createElementVNode as k, mergeProps as ut, toDisplayString as R, createTextVNode as it, nextTick as ct } from "vue";
2
+ import { u as vt, c as Ne, t as dt, a as ne, p as P, o as ht, e as ft, b as yt, d as _e, m as pt, h as Ae, f as re, X as mt, l as bt, a8 as gt, G as L, i as Ee, q as kt, r as xt } from "./index-B6iCkgQj.js";
3
+ import { u as De } from "./useNestedProp-egyWxFl6.js";
4
+ import { u as wt, U as Ct } from "./usePrinter-DEBltZby.js";
5
+ import { _ as zt } from "./Title-DP3fclaW.js";
6
+ import { P as $t } from "./PenAndPaper-NvAJhDOQ.js";
7
+ import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { _ as Pt } from "./PackageVersion-N_Q2K_Kp.js";
9
+ import St from "./vue-ui-accordion-CpTs7ThO.js";
10
+ import { D as Ot } from "./DataTable-C_YX1pwI.js";
11
+ import It from "./vue-ui-skeleton-BVn408dA.js";
12
+ import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Mt = ["id"], Nt = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"], At = ["id"], Et = ["stop-color"], Dt = ["stop-color"], Rt = ["stop-color"], Lt = { key: 0 }, Gt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onClick"], Ut = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Vt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Bt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ht = ["d", "fill"], Xt = ["cx", "cy", "r", "opacity", "stroke", "fill"], Yt = {
14
14
  key: 0,
15
15
  style: { pointerEvents: "none" }
16
- }, Ht = { key: 1 }, Xt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Yt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Wt = {
16
+ }, Wt = { key: 1 }, jt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], qt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Zt = {
17
17
  key: 6,
18
18
  class: "vue-data-ui-watermark"
19
- }, jt = ["innerHTML"], qt = {
19
+ }, Jt = ["innerHTML"], Kt = {
20
20
  __name: "vue-ui-circle-pack",
21
21
  props: {
22
22
  config: {
@@ -32,69 +32,77 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
32
32
  }
33
33
  }
34
34
  },
35
- setup(De, { expose: Le }) {
36
- const z = De;
37
- lt((t) => ({
38
- "76fa81dc": F.value,
39
- "68186f8b": J.value
35
+ emits: ["selectDatapoint"],
36
+ setup(Re, { expose: Le, emit: Ge }) {
37
+ const z = Re;
38
+ at((t) => ({
39
+ "3d829984": M.value,
40
+ "205f8306": J.value
40
41
  }));
41
- const { vue_ui_circle_pack: Re } = it(), R = h(() => !!z.dataset && z.dataset.length), I = f(Me()), W = f(null), Ge = f(null), Ue = f(null), ue = f(0), ie = f(0), ce = f(0), Ve = f(null), e = h({
42
+ const { vue_ui_circle_pack: Ue } = vt(), G = h(() => !!z.dataset && z.dataset.length), I = f(Ne()), W = f(null), Ve = f(null), Be = f(null), ue = f(0), ie = f(0), ce = f(0), He = f(null), e = h({
42
43
  get: () => he(),
43
44
  set: (t) => t
44
45
  }), {
45
46
  userOptionsVisible: j,
46
47
  setUserOptionsVisibility: ve,
47
48
  keepUserOptionState: de
48
- } = Ct({ config: e.value });
49
+ } = Tt({ config: e.value });
49
50
  function he() {
50
- const t = Ee({
51
+ const t = De({
51
52
  userConfig: z.config,
52
- defaultConfig: Re
53
+ defaultConfig: Ue
53
54
  });
54
55
  return t.theme ? {
55
- ...Ee({
56
- userConfig: ct.vue_ui_circle_pack[t.theme] || z.config,
56
+ ...De({
57
+ userConfig: dt.vue_ui_circle_pack[t.theme] || z.config,
57
58
  defaultConfig: t
58
59
  }),
59
- customPalette: re[t.theme] || P
60
+ customPalette: ne[t.theme] || P
60
61
  } : t;
61
62
  }
62
- Se(() => z.config, (t) => {
63
- e.value = he(), j.value = !e.value.userOptions.showOnChartHover, q(), ue.value += 1, ie.value += 1, S.value.showTable = e.value.table.show;
63
+ Fe(() => z.config, (t) => {
64
+ e.value = he(), j.value = !e.value.userOptions.showOnChartHover, q(), ue.value += 1, ie.value += 1, F.value.showTable = e.value.table.show;
64
65
  }, { deep: !0 });
65
- const { isPrinting: fe, isImaging: ye, generatePdf: pe, generateImage: me } = gt({
66
+ const { isPrinting: fe, isImaging: ye, generatePdf: pe, generateImage: me } = wt({
66
67
  elementId: `vue-ui-circle-pack_${I.value}`,
67
68
  fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
68
- }), Be = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = f({
69
+ }), Xe = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = f({
69
70
  showTable: e.value.table.show
70
71
  });
71
72
  async function q() {
72
- vt(z.dataset) && dt({
73
+ ht(z.dataset) && ft({
73
74
  componentName: "VueUiCirclePack",
74
75
  type: "dataset"
75
- }), await We();
76
+ }), await qe();
76
77
  }
77
- at(q), Se(() => z.dataset, async (t) => {
78
+ ot(q), Fe(() => z.dataset, async (t) => {
78
79
  await q();
79
80
  }, { deep: !0 });
80
- const be = h(() => ht(e.value.customPalette));
81
+ const be = h(() => yt(e.value.customPalette));
81
82
  function ge(t, a) {
82
83
  return Math.hypot(a.x - t.x, a.y - t.y);
83
84
  }
84
85
  function ke(t, a) {
85
86
  return a.some((l) => ge(t, l) < t.radius + l.radius);
86
87
  }
87
- function He(t, a, l, n) {
88
+ function Ye(t, a, l, n) {
88
89
  const v = a * 2;
89
90
  for (let x of t)
90
- for (let w = 0; w < 360; w += 30) {
91
- let A = w * Math.PI / 180, u = x.x + v * Math.cos(A), o = x.y + v * Math.sin(A), g = { x: u, y: o, radius: a };
91
+ for (let w = 0; w < 360; w += 1) {
92
+ let E = w * Math.PI / 180, u = x.x + v * Math.cos(E), o = x.y - v * Math.sin(E), g = { x: u, y: o, radius: a };
92
93
  if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <= n && !ke(g, t))
93
94
  return { x: u, y: o };
94
95
  }
95
96
  return null;
96
97
  }
97
- function Xe(t, a, l, n, v = 0, x = 0) {
98
+ function We({
99
+ datapoints: t,
100
+ width: a,
101
+ height: l,
102
+ maxRadius: n,
103
+ offsetX: v = 0,
104
+ offsetY: x = 0
105
+ }) {
98
106
  const w = Math.max(...t.map((g) => g.value)), u = t.map((g, d) => ({
99
107
  ...g,
100
108
  radius: g.value / w * n,
@@ -107,20 +115,20 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
107
115
  y: l / 2 + x
108
116
  });
109
117
  for (let g of u.slice(1)) {
110
- let { radius: d, ...$e } = g, ee = He(o, d, a, l);
118
+ let { radius: d, ...Te } = g, ee = Ye(o, d, a, l);
111
119
  if (ee)
112
- o.push({ ...$e, x: ee.x, y: ee.y, radius: d });
120
+ o.push({ ...Te, x: ee.x, y: ee.y, radius: d });
113
121
  else {
114
122
  let te = null, Pe = 1 / 0;
115
- for (let B of o)
123
+ for (let H of o)
116
124
  for (let le = 0; le < 360; le += 15) {
117
- let Te = le * Math.PI / 180, ae = B.x + (d + B.radius) * Math.cos(Te), oe = B.y + (d + B.radius) * Math.sin(Te), H = { ...$e, x: ae, y: oe, radius: d };
118
- if (ae - d >= 0 && ae + d <= a && oe - d >= 0 && oe + d <= l && !ke(H, o)) {
125
+ let Se = le * Math.PI / 180, ae = H.x + (d + H.radius) * Math.cos(Se), oe = H.y + (d + H.radius) * Math.sin(Se), X = { ...Te, x: ae, y: oe, radius: d };
126
+ if (ae - d >= 0 && ae + d <= a && oe - d >= 0 && oe + d <= l && !ke(X, o)) {
119
127
  let Oe = o.reduce(
120
- (tt, Ie) => tt + (ge(H, Ie) < H.radius + Ie.radius ? 1 : 0),
128
+ (lt, Ie) => lt + (ge(X, Ie) < X.radius + Ie.radius ? 1 : 0),
121
129
  0
122
130
  );
123
- Oe < Pe && (Pe = Oe, te = H);
131
+ Oe < Pe && (Pe = Oe, te = X);
124
132
  }
125
133
  }
126
134
  te && o.push(te);
@@ -129,44 +137,43 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
129
137
  return o;
130
138
  }
131
139
  const Z = h(() => z.dataset.map((t, a) => {
132
- const l = Ne(t.color) || be.value[a] || re[e.value.theme || "default"][a % re[e.value.theme || "default"].length] || P[a] || P[a % P.length];
140
+ const l = _e(t.color) || be.value[a] || ne[e.value.theme || "default"][a % ne[e.value.theme || "default"].length] || P[a] || P[a % P.length];
133
141
  return {
134
142
  ...t,
135
- id: Me(),
143
+ id: Ne(),
136
144
  color: l
137
145
  };
138
- }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), b = f([]), Ye = h(() => Math.max(...b.value.map((t) => t.radius)));
146
+ }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), b = f([]), je = h(() => Math.max(...b.value.map((t) => t.radius)));
139
147
  function xe(t, a) {
140
- return a / Ye.value * t;
148
+ return a / je.value * t;
141
149
  }
142
- async function We() {
143
- b.value = Xe(
144
- Z.value,
145
- // Huge plane size to place all datapoints
146
- 1e4,
147
- 1e4,
148
- 32
149
- );
150
+ async function qe() {
151
+ b.value = We({
152
+ datapoints: Z.value,
153
+ width: 1e4,
154
+ height: 1e4,
155
+ maxRadius: 32
156
+ });
150
157
  }
151
158
  const we = h(() => ({
152
159
  width: 100,
153
160
  height: 100
154
- })), p = h(() => {
155
- const t = b.value.reduce((u, o) => o.x - o.radius < u.x - u.radius ? o : u, b.value[0]), a = b.value.reduce((u, o) => o.y - o.radius < u.y - u.radius ? o : u, b.value[0]), l = b.value.reduce((u, o) => o.x + o.radius > u.x + u.radius ? o : u, b.value[0]), n = b.value.reduce((u, o) => o.y + o.radius > u.y + u.radius ? o : u, b.value[0]), v = (t == null ? void 0 : t.x) || 0, x = (l == null ? void 0 : l.x) || we.value.width, w = (a == null ? void 0 : a.y) || 0, A = (n == null ? void 0 : n.y) || we.value.height;
161
+ })), m = h(() => {
162
+ const t = b.value.reduce((u, o) => o.x - o.radius < u.x - u.radius ? o : u, b.value[0]), a = b.value.reduce((u, o) => o.y - o.radius < u.y - u.radius ? o : u, b.value[0]), l = b.value.reduce((u, o) => o.x + o.radius > u.x + u.radius ? o : u, b.value[0]), n = b.value.reduce((u, o) => o.y + o.radius > u.y + u.radius ? o : u, b.value[0]), v = (t == null ? void 0 : t.x) || 0, x = (l == null ? void 0 : l.x) || we.value.width, w = (a == null ? void 0 : a.y) || 0, E = (n == null ? void 0 : n.y) || we.value.height;
156
163
  return {
157
164
  maxX: x,
158
165
  minX: v,
159
166
  width: Math.abs(x - v) + (t ? t.radius : 0) + (l ? l.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
160
- height: Math.abs(A - w) + (a ? a.radius : 0) + (n ? n.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
167
+ height: Math.abs(E - w) + (a ? a.radius : 0) + (n ? n.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
161
168
  x: t ? (t == null ? void 0 : t.x) - (t == null ? void 0 : t.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0,
162
169
  y: a ? (a == null ? void 0 : a.y) - (a == null ? void 0 : a.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0
163
170
  };
164
- }), je = h(() => b.value.map((t) => {
171
+ }), Ze = h(() => b.value.map((t) => {
165
172
  if (t.breakdown)
166
- return ft(
173
+ return pt(
167
174
  { series: t.breakdown.map((a, l) => ({
168
175
  ...a,
169
- color: Ne(a.color) || be.value[l] || P[l] || P[l % P.length]
176
+ color: _e(a.color) || be.value[l] || P[l] || P[l % P.length]
170
177
  })) },
171
178
  t.x,
172
179
  t.y,
@@ -180,33 +187,33 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
180
187
  t.radius / 2
181
188
  );
182
189
  })), r = f(null);
183
- function qe(t) {
190
+ function Je(t) {
184
191
  e.value.style.chart.circles.zoom.show && (r.value = t);
185
192
  }
186
- const F = h(() => r.value ? r.value.radius : 0), J = h(() => r.value ? r.value.radius > p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio ? r.value.radius : p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), $ = f(0), Ze = h(() => ({
193
+ const M = h(() => r.value ? r.value.radius : 0), J = h(() => r.value ? r.value.radius > m.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio ? r.value.radius : m.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), $ = f(0), Ke = h(() => ({
187
194
  pointerEvents: "none",
188
195
  opacity: $.value,
189
- filter: `drop-shadow(0px 0px 6px ${_e(r.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
190
- })), M = f(F.value);
191
- ot(() => {
192
- M.value = F.value, $.value = 0;
196
+ filter: `drop-shadow(0px 0px 6px ${Ae(r.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
197
+ })), N = f(M.value);
198
+ st(() => {
199
+ N.value = M.value, $.value = 0;
193
200
  let t = null;
194
201
  function a(l) {
195
202
  t || (t = l);
196
203
  const n = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
197
- n < 1 ? (M.value = F.value + (J.value - F.value) * n, $.value = 0 + e.value.style.chart.circles.zoom.opacity * n, requestAnimationFrame(a)) : (M.value = J.value, $.value = e.value.style.chart.circles.zoom.opacity);
204
+ n < 1 ? (N.value = M.value + (J.value - M.value) * n, $.value = 0 + e.value.style.chart.circles.zoom.opacity * n, requestAnimationFrame(a)) : (N.value = J.value, $.value = e.value.style.chart.circles.zoom.opacity);
198
205
  }
199
206
  requestAnimationFrame(a);
200
207
  });
201
- const N = h(() => ({
202
- name: e.value.style.chart.circles.zoom.label.name.fontSize * p.value.width / 300,
203
- value: e.value.style.chart.circles.zoom.label.value.fontSize * p.value.width / 300
208
+ const _ = h(() => ({
209
+ name: e.value.style.chart.circles.zoom.label.name.fontSize * m.value.width / 300,
210
+ value: e.value.style.chart.circles.zoom.label.value.fontSize * m.value.width / 300
204
211
  }));
205
212
  function K(t) {
206
- return Ae(
213
+ return Ee(
207
214
  e.value.style.chart.circles.labels.value.formatter,
208
215
  t.value,
209
- ne({
216
+ re({
210
217
  p: e.value.style.chart.circles.labels.value.prefix,
211
218
  v: t.value,
212
219
  s: e.value.style.chart.circles.labels.value.suffix,
@@ -214,33 +221,33 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
214
221
  })
215
222
  );
216
223
  }
217
- function Je() {
218
- return Ae(
224
+ function Qe() {
225
+ return Ee(
219
226
  e.value.style.chart.circles.zoom.label.value.formatter,
220
227
  r.value.value,
221
- ne({
228
+ re({
222
229
  p: e.value.style.chart.circles.zoom.label.value.prefix,
223
230
  v: r.value.value,
224
231
  s: e.value.style.chart.circles.zoom.label.value.suffix,
225
- r: e.value.style.chart.circles.zoom.label.rounding
232
+ r: e.value.style.chart.circles.zoom.label.value.rounding
226
233
  })
227
234
  );
228
235
  }
229
- function Ke(t) {
236
+ function Ce(t) {
230
237
  if (!t)
231
238
  return 0;
232
239
  const a = t.radius / K(t).length * (K(t).length === 1 ? 1 : 2);
233
240
  return Math.min(t.radius / 2.5, a);
234
241
  }
235
- const _ = f(!1);
236
- function Qe(t) {
237
- _.value = t, ce.value += 1;
242
+ const A = f(!1);
243
+ function et(t) {
244
+ A.value = t, ce.value += 1;
238
245
  }
239
- const G = f(!1);
246
+ const U = f(!1);
240
247
  function Q() {
241
- G.value = !G.value;
248
+ U.value = !U.value;
242
249
  }
243
- const U = h(() => {
250
+ const V = h(() => {
244
251
  const t = Z.value.map((l) => ({
245
252
  name: l.name,
246
253
  value: l.value,
@@ -248,22 +255,22 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
248
255
  })).toSorted((l, n) => n.value - l.value), a = t.map((l) => l.value);
249
256
  return { head: t, body: a };
250
257
  });
251
- function Ce() {
252
- ut(() => {
253
- const t = U.value.head.map((n, v) => [[
258
+ function ze() {
259
+ ct(() => {
260
+ const t = V.value.head.map((n, v) => [[
254
261
  n.name
255
- ], [U.value.body[v]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), l = mt(a);
256
- bt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
262
+ ], [V.value.body[v]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), l = kt(a);
263
+ xt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
257
264
  });
258
265
  }
259
- const V = h(() => {
266
+ const B = h(() => {
260
267
  const t = [
261
268
  e.value.table.columnNames.datapoint,
262
269
  e.value.table.columnNames.value
263
- ], a = U.value.head.map((v, x) => {
264
- const w = ne({
270
+ ], a = V.value.head.map((v, x) => {
271
+ const w = re({
265
272
  p: e.value.style.chart.circles.labels.value.prefix,
266
- v: U.value.body[x],
273
+ v: V.value.body[x],
267
274
  s: e.value.style.chart.circles.labels.value.suffix,
268
275
  r: e.value.style.chart.circles.labels.value.rounding
269
276
  });
@@ -297,51 +304,51 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
297
304
  config: l
298
305
  };
299
306
  });
300
- function ze() {
301
- S.value.showTable = !S.value.showTable;
307
+ function $e() {
308
+ F.value.showTable = !F.value.showTable;
302
309
  }
303
- function et() {
310
+ function tt() {
304
311
  return Z.value;
305
312
  }
306
313
  return Le({
307
- getData: et,
308
- generateCsv: Ce,
314
+ getData: tt,
315
+ generateCsv: ze,
309
316
  generatePdf: pe,
310
317
  generateImage: me,
311
- toggleTable: ze,
318
+ toggleTable: $e,
312
319
  toggleAnnotator: Q
313
320
  }), (t, a) => (s(), i("div", {
314
321
  id: `vue-ui-circle-pack_${I.value}`,
315
- class: Fe(`vue-ui-circle-pack ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
322
+ class: Me(`vue-ui-circle-pack ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
316
323
  ref_key: "circlePackChart",
317
324
  ref: W,
318
- style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
325
+ style: Y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
319
326
  onMouseenter: a[2] || (a[2] = () => c(ve)(!0)),
320
327
  onMouseleave: a[3] || (a[3] = () => c(ve)(!1))
321
328
  }, [
322
- e.value.userOptions.buttons.annotator ? (s(), T(wt, {
329
+ e.value.userOptions.buttons.annotator ? (s(), S($t, {
323
330
  key: 0,
324
331
  parent: W.value,
325
332
  backgroundColor: e.value.style.chart.backgroundColor,
326
333
  color: e.value.style.chart.color,
327
- active: G.value,
334
+ active: U.value,
328
335
  onClose: Q
329
336
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
330
- m(t.$slots, "userConfig", {}, void 0, !0),
331
- Be.value ? (s(), i("div", {
337
+ p(t.$slots, "userConfig", {}, void 0, !0),
338
+ Xe.value ? (s(), i("div", {
332
339
  key: 1,
333
340
  ref_key: "noTitle",
334
- ref: Ue,
341
+ ref: Be,
335
342
  class: "vue-data-ui-no-title-space",
336
343
  style: "height:36px; width: 100%;background:transparent"
337
344
  }, null, 512)) : y("", !0),
338
345
  e.value.style.chart.title.text ? (s(), i("div", {
339
346
  key: 2,
340
347
  ref_key: "chartTitle",
341
- ref: Ge,
348
+ ref: Ve,
342
349
  style: "width:100%;background:transparent;padding-bottom:12px"
343
350
  }, [
344
- (s(), T(xt, {
351
+ (s(), S(zt, {
345
352
  key: `title_${ue.value}`,
346
353
  config: {
347
354
  title: {
@@ -355,7 +362,7 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
355
362
  }
356
363
  }, null, 8, ["config"]))
357
364
  ], 512)) : y("", !0),
358
- e.value.userOptions.show && R.value && (c(de) || c(j)) ? (s(), T(kt, {
365
+ e.value.userOptions.show && G.value && (c(de) || c(j)) ? (s(), S(Ct, {
359
366
  ref: "details",
360
367
  key: `user_option_${ce.value}`,
361
368
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -370,87 +377,87 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
370
377
  hasXls: e.value.userOptions.buttons.csv,
371
378
  hasTable: e.value.userOptions.buttons.table,
372
379
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
373
- isFullscreen: _.value,
380
+ isFullscreen: A.value,
374
381
  chartElement: W.value,
375
382
  position: e.value.userOptions.position,
376
383
  titles: { ...e.value.userOptions.buttonTitles },
377
384
  hasAnnotator: e.value.userOptions.buttons.annotator,
378
- isAnnotation: G.value,
379
- onToggleFullscreen: Qe,
385
+ isAnnotation: U.value,
386
+ onToggleFullscreen: et,
380
387
  onGeneratePdf: c(pe),
381
- onGenerateCsv: Ce,
388
+ onGenerateCsv: ze,
382
389
  onGenerateImage: c(me),
383
- onToggleTable: ze,
390
+ onToggleTable: $e,
384
391
  onToggleAnnotator: Q,
385
- style: X({
392
+ style: Y({
386
393
  visibility: c(de) ? c(j) ? "visible" : "hidden" : "visible"
387
394
  })
388
- }, st({ _: 2 }, [
395
+ }, nt({ _: 2 }, [
389
396
  t.$slots.optionPdf ? {
390
397
  name: "optionPdf",
391
398
  fn: C(() => [
392
- m(t.$slots, "optionPdf", {}, void 0, !0)
399
+ p(t.$slots, "optionPdf", {}, void 0, !0)
393
400
  ]),
394
401
  key: "0"
395
402
  } : void 0,
396
403
  t.$slots.optionCsv ? {
397
404
  name: "optionCsv",
398
405
  fn: C(() => [
399
- m(t.$slots, "optionCsv", {}, void 0, !0)
406
+ p(t.$slots, "optionCsv", {}, void 0, !0)
400
407
  ]),
401
408
  key: "1"
402
409
  } : void 0,
403
410
  t.$slots.optionImg ? {
404
411
  name: "optionImg",
405
412
  fn: C(() => [
406
- m(t.$slots, "optionImg", {}, void 0, !0)
413
+ p(t.$slots, "optionImg", {}, void 0, !0)
407
414
  ]),
408
415
  key: "2"
409
416
  } : void 0,
410
417
  t.$slots.optionTable ? {
411
418
  name: "optionTable",
412
419
  fn: C(() => [
413
- m(t.$slots, "optionTable", {}, void 0, !0)
420
+ p(t.$slots, "optionTable", {}, void 0, !0)
414
421
  ]),
415
422
  key: "3"
416
423
  } : void 0,
417
424
  t.$slots.optionFullscreen ? {
418
425
  name: "optionFullscreen",
419
426
  fn: C(({ toggleFullscreen: l, isFullscreen: n }) => [
420
- m(t.$slots, "optionFullscreen", E(D({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
427
+ p(t.$slots, "optionFullscreen", O(D({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
421
428
  ]),
422
429
  key: "4"
423
430
  } : void 0,
424
431
  t.$slots.optionAnnotator ? {
425
432
  name: "optionAnnotator",
426
433
  fn: C(({ toggleAnnotator: l, isAnnotator: n }) => [
427
- m(t.$slots, "optionAnnotator", E(D({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
434
+ p(t.$slots, "optionAnnotator", O(D({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
428
435
  ]),
429
436
  key: "5"
430
437
  } : void 0
431
438
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
432
- R.value ? (s(), i("svg", {
439
+ G.value ? (s(), i("svg", {
433
440
  key: 4,
434
- xmlns: c(yt),
435
- viewBox: `${p.value.x} ${p.value.y} ${p.value.width} ${p.value.height}`,
441
+ xmlns: c(mt),
442
+ viewBox: `${m.value.x} ${m.value.y} ${m.value.width} ${m.value.height}`,
436
443
  width: "100%",
437
- class: Fe({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
438
- style: X(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};`)
444
+ class: Me({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
445
+ style: Y(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};`)
439
446
  }, [
440
- rt(zt),
447
+ rt(Pt),
441
448
  t.$slots["chart-background"] ? (s(), i("foreignObject", {
442
449
  key: 0,
443
- x: p.value.x,
444
- y: p.value.y,
445
- width: p.value.width,
446
- height: p.value.height,
450
+ x: m.value.x,
451
+ y: m.value.y,
452
+ width: m.value.width,
453
+ height: m.value.height,
447
454
  style: {
448
455
  pointerEvents: "none"
449
456
  }
450
457
  }, [
451
- m(t.$slots, "chart-background", {}, void 0, !0)
452
- ], 8, Ft)) : y("", !0),
453
- (s(!0), i(O, null, se(b.value, (l) => (s(), i(O, null, [
458
+ p(t.$slots, "chart-background", {}, void 0, !0)
459
+ ], 8, _t)) : y("", !0),
460
+ (s(!0), i(T, null, se(b.value, (l) => (s(), i(T, null, [
454
461
  k("defs", null, [
455
462
  k("radialGradient", {
456
463
  id: l.id,
@@ -458,21 +465,21 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
458
465
  }, [
459
466
  k("stop", {
460
467
  offset: "10%",
461
- "stop-color": c(pt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
462
- }, null, 8, Nt),
468
+ "stop-color": c(bt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
469
+ }, null, 8, Et),
463
470
  k("stop", {
464
471
  offset: "90%",
465
- "stop-color": c(_e)(l.color, 0.1)
466
- }, null, 8, _t),
472
+ "stop-color": c(Ae)(l.color, 0.1)
473
+ }, null, 8, Dt),
467
474
  k("stop", {
468
475
  offset: "100%",
469
476
  "stop-color": l.color
470
- }, null, 8, At)
471
- ], 8, Mt)
477
+ }, null, 8, Rt)
478
+ ], 8, At)
472
479
  ]),
473
- t.$slots.pattern ? (s(), i("g", Et, [
480
+ t.$slots.pattern ? (s(), i("g", Lt, [
474
481
  k("defs", null, [
475
- m(t.$slots, "pattern", E(D({ ...l, patternId: `pattern_${I.value}_${l.id}` })), void 0, !0)
482
+ p(t.$slots, "pattern", O(D({ ...l, patternId: `pattern_${I.value}_${l.id}` })), void 0, !0)
476
483
  ])
477
484
  ])) : y("", !0),
478
485
  k("rect", {
@@ -484,9 +491,10 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
484
491
  "stroke-width": e.value.style.chart.circles.strokeWidth,
485
492
  fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
486
493
  rx: l.radius,
487
- onMouseenter: () => qe(l),
488
- onMouseout: a[0] || (a[0] = (n) => r.value = null)
489
- }, null, 40, Dt),
494
+ onMouseenter: () => Je(l),
495
+ onMouseout: a[0] || (a[0] = (n) => r.value = null),
496
+ onClick: (n) => Ge("selectDatapoint", l)
497
+ }, null, 40, Gt),
490
498
  t.$slots.pattern ? (s(), i("rect", {
491
499
  key: 1,
492
500
  x: l.x - l.radius,
@@ -500,87 +508,89 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
500
508
  style: {
501
509
  pointerEvents: "none"
502
510
  }
503
- }, null, 8, Lt)) : y("", !0),
504
- e.value.style.chart.circles.labels.name.show && l.name ? (s(), i("text", {
505
- key: 2,
506
- style: {
507
- pointerEvents: "none",
508
- transition: "opacity 0.2s ease-in-out"
509
- },
510
- opacity: r.value ? 0.2 : 1,
511
- x: l.x,
512
- y: l.y + xe(l.radius, e.value.style.chart.circles.labels.name.offsetY) - l.radius / 6,
513
- "font-size": l.radius / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
514
- fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : c(Y)(l.color),
515
- "font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
516
- "text-anchor": "middle"
517
- }, L(l.name), 9, Rt)) : y("", !0),
518
- e.value.style.chart.circles.labels.value.show ? (s(), i("text", {
519
- key: 3,
520
- style: {
521
- pointerEvents: "none",
522
- transition: "opacity 0.2s ease-in-out"
523
- },
524
- opacity: r.value ? 0.2 : 1,
525
- x: l.x,
526
- y: l.y + xe(l.radius, e.value.style.chart.circles.labels.value.offsetY) + l.radius / 3,
527
- "font-size": Ke(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
528
- fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : c(Y)(l.color),
529
- "font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
530
- "text-anchor": "middle"
531
- }, L(K(l)), 9, Gt)) : y("", !0),
532
- (s(!0), i(O, null, se(je.value, (n) => (s(), i(O, null, [
533
- (s(!0), i(O, null, se(n, (v) => (s(), i("path", {
511
+ }, null, 8, Ut)) : y("", !0),
512
+ t.$slots["data-label"] ? p(t.$slots, "data-label", O(ut({ key: 2 }, { ...l, createTSpans: c(gt), fontSize: { name: l.radius / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Ce(l) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : c(L)(l.color) })), void 0, !0) : (s(), i(T, { key: 3 }, [
513
+ e.value.style.chart.circles.labels.name.show && l.name ? (s(), i("text", {
514
+ key: 0,
515
+ style: {
516
+ pointerEvents: "none",
517
+ transition: "opacity 0.2s ease-in-out"
518
+ },
519
+ opacity: r.value ? 0.2 : 1,
520
+ x: l.x,
521
+ y: l.y + xe(l.radius, e.value.style.chart.circles.labels.name.offsetY) - l.radius / 6,
522
+ "font-size": l.radius / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
523
+ fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : c(L)(l.color),
524
+ "font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
525
+ "text-anchor": "middle"
526
+ }, R(l.name), 9, Vt)) : y("", !0),
527
+ e.value.style.chart.circles.labels.value.show ? (s(), i("text", {
528
+ key: 1,
529
+ style: {
530
+ pointerEvents: "none",
531
+ transition: "opacity 0.2s ease-in-out"
532
+ },
533
+ opacity: r.value ? 0.2 : 1,
534
+ x: l.x,
535
+ y: l.y + xe(l.radius, e.value.style.chart.circles.labels.value.offsetY) + l.radius / 3,
536
+ "font-size": Ce(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
537
+ fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : c(L)(l.color),
538
+ "font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
539
+ "text-anchor": "middle"
540
+ }, R(K(l)), 9, Bt)) : y("", !0)
541
+ ], 64)),
542
+ (s(!0), i(T, null, se(Ze.value, (n) => (s(), i(T, null, [
543
+ (s(!0), i(T, null, se(n, (v) => (s(), i("path", {
534
544
  d: v.arcSlice,
535
545
  fill: v.color,
536
546
  stroke: "black"
537
- }, null, 8, Ut))), 256))
547
+ }, null, 8, Ht))), 256))
538
548
  ], 64))), 256))
539
549
  ], 64))), 256)),
540
- r.value && e.value.style.chart.circles.zoom.show ? (s(), i(O, { key: 1 }, [
550
+ r.value && e.value.style.chart.circles.zoom.show ? (s(), i(T, { key: 1 }, [
541
551
  k("circle", {
542
- style: X(Ze.value),
552
+ style: Y(Ke.value),
543
553
  cx: r.value.x,
544
554
  cy: r.value.y,
545
- r: M.value,
555
+ r: N.value,
546
556
  opacity: $.value,
547
557
  stroke: e.value.style.chart.circles.stroke,
548
558
  fill: e.value.style.chart.circles.gradient.show ? `url(#${r.value.id})` : r.value.color
549
- }, null, 12, Vt),
550
- t.$slots["zoom-label"] ? (s(), i("g", Bt, [
551
- m(t.$slots, "zoom-label", E(D({ ...r.value, zoomOpacity: $.value, currentRadius: M.value, fontSize: N.value })), void 0, !0)
552
- ])) : (s(), i("g", Ht, [
559
+ }, null, 12, Xt),
560
+ t.$slots["zoom-label"] ? (s(), i("g", Yt, [
561
+ p(t.$slots, "zoom-label", O(D({ ...r.value, zoomOpacity: $.value, currentRadius: N.value, fontSize: _.value })), void 0, !0)
562
+ ])) : (s(), i("g", Wt, [
553
563
  k("text", {
554
564
  style: {
555
565
  pointerEvents: "none"
556
566
  },
557
567
  opacity: $.value,
558
568
  x: r.value.x,
559
- y: r.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - N.value.name / 4,
569
+ y: r.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - _.value.name / 4,
560
570
  "text-anchor": "middle",
561
- "font-size": N.value.name,
562
- fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : c(Y)(r.value.color),
571
+ "font-size": _.value.name,
572
+ fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : c(L)(r.value.color),
563
573
  "font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
564
- }, L(r.value.name), 9, Xt),
574
+ }, R(r.value.name), 9, jt),
565
575
  k("text", {
566
576
  style: {
567
577
  pointerEvents: "none"
568
578
  },
569
579
  opacity: $.value,
570
580
  x: r.value.x,
571
- y: r.value.y + N.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
581
+ y: r.value.y + _.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
572
582
  "text-anchor": "middle",
573
- "font-size": N.value.value,
574
- fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : c(Y)(r.value.color),
583
+ "font-size": _.value.value,
584
+ fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : c(L)(r.value.color),
575
585
  "font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
576
- }, L(Je()), 9, Yt)
586
+ }, R(Qe()), 9, qt)
577
587
  ]))
578
588
  ], 64)) : y("", !0),
579
- m(t.$slots, "svg", {
580
- svg: { ...p.value }
589
+ p(t.$slots, "svg", {
590
+ svg: { ...m.value }
581
591
  }, void 0, !0)
582
- ], 14, St)) : y("", !0),
583
- R.value ? y("", !0) : (s(), T(Tt, {
592
+ ], 14, Nt)) : y("", !0),
593
+ G.value ? y("", !0) : (s(), S(It, {
584
594
  key: 5,
585
595
  config: {
586
596
  type: "circlePack",
@@ -589,22 +599,22 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
589
599
  }
590
600
  }
591
601
  })),
592
- t.$slots.watermark ? (s(), i("div", Wt, [
593
- m(t.$slots, "watermark", E(D({ isPrinting: c(fe) || c(ye) })), void 0, !0)
602
+ t.$slots.watermark ? (s(), i("div", Zt, [
603
+ p(t.$slots, "watermark", O(D({ isPrinting: c(fe) || c(ye) })), void 0, !0)
594
604
  ])) : y("", !0),
595
605
  t.$slots.source ? (s(), i("div", {
596
606
  key: 7,
597
607
  ref_key: "source",
598
- ref: Ve,
608
+ ref: He,
599
609
  dir: "auto"
600
610
  }, [
601
- m(t.$slots, "source", {}, void 0, !0)
611
+ p(t.$slots, "source", {}, void 0, !0)
602
612
  ], 512)) : y("", !0),
603
- R.value ? (s(), T($t, {
613
+ G.value ? (s(), S(St, {
604
614
  key: 8,
605
615
  hideDetails: "",
606
616
  config: {
607
- open: S.value.showTable,
617
+ open: F.value.showTable,
608
618
  maxHeight: 1e4,
609
619
  body: {
610
620
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -617,32 +627,32 @@ const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
617
627
  }
618
628
  }, {
619
629
  content: C(() => [
620
- (s(), T(Pt, {
630
+ (s(), S(Ot, {
621
631
  key: `table_${ie.value}`,
622
- colNames: V.value.colNames,
623
- head: V.value.head,
624
- body: V.value.body,
625
- config: V.value.config,
632
+ colNames: B.value.colNames,
633
+ head: B.value.head,
634
+ body: B.value.body,
635
+ config: B.value.config,
626
636
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
627
- onClose: a[1] || (a[1] = (l) => S.value.showTable = !1)
637
+ onClose: a[1] || (a[1] = (l) => F.value.showTable = !1)
628
638
  }, {
629
639
  th: C(({ th: l }) => [
630
640
  k("div", {
631
641
  innerHTML: l,
632
642
  style: { display: "flex", "align-items": "center" }
633
- }, null, 8, jt)
643
+ }, null, 8, Jt)
634
644
  ]),
635
645
  td: C(({ td: l }) => [
636
- nt(L(l.name || l), 1)
646
+ it(R(l.name || l), 1)
637
647
  ]),
638
648
  _: 1
639
649
  }, 8, ["colNames", "head", "body", "config", "title"]))
640
650
  ]),
641
651
  _: 1
642
652
  }, 8, ["config"])) : y("", !0)
643
- ], 46, It));
653
+ ], 46, Mt));
644
654
  }
645
- }, ul = /* @__PURE__ */ Ot(qt, [["__scopeId", "data-v-0a09e1d3"]]);
655
+ }, vl = /* @__PURE__ */ Ft(Kt, [["__scopeId", "data-v-ec56e8f7"]]);
646
656
  export {
647
- ul as default
657
+ vl as default
648
658
  };