vue-data-ui 2.5.5 → 2.5.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 (156) hide show
  1. package/dist/{Arrow-VaTZzo-z.js → Arrow-5QI0f9hp.js} +1 -1
  2. package/dist/{Arrow-B1_oejjJ.cjs → Arrow-BQy5IqAX.cjs} +1 -1
  3. package/dist/{BaseIcon-BjMszQcM.js → BaseIcon-BXpK120h.js} +1 -1
  4. package/dist/{BaseIcon-C2QCjRyr.cjs → BaseIcon-Dk8gByg1.cjs} +1 -1
  5. package/dist/{DataTable-BE81z-1L.js → DataTable-CpOh1tx3.js} +2 -2
  6. package/dist/{DataTable-BpZs0zHZ.cjs → DataTable-D93-QmC8.cjs} +1 -1
  7. package/dist/{Legend-B9XFWkbw.cjs → Legend-Dh9aF6uH.cjs} +1 -1
  8. package/dist/{Legend-1PzxSsgB.js → Legend-DqRstaxU.js} +2 -2
  9. package/dist/{PackageVersion-D_1AMUyo.cjs → PackageVersion-CdmZAhdE.cjs} +1 -1
  10. package/dist/{PackageVersion-CZWTAkjP.js → PackageVersion-iscNRe7N.js} +1 -1
  11. package/dist/{PenAndPaper-B-Xy37LR.js → PenAndPaper-B-VQ8eSo.js} +3 -3
  12. package/dist/{PenAndPaper-MGWl7KoD.cjs → PenAndPaper-BsncKiRE.cjs} +1 -1
  13. package/dist/{Shape-Ci6tClcc.js → Shape-CB0mE9KP.js} +1 -1
  14. package/dist/{Shape-DVcC1zAF.cjs → Shape-DZRynz5E.cjs} +1 -1
  15. package/dist/{Slicer-Bgj-lEYv.cjs → Slicer-Cm0a7Otv.cjs} +1 -1
  16. package/dist/{Slicer-DjwvlG8M.js → Slicer-DiUftIFQ.js} +2 -2
  17. package/dist/{Title-DlWf9Ddn.js → Title-CiQQgFbV.js} +1 -1
  18. package/dist/{Title-BfJpPrNN.cjs → Title-DFq_8HYJ.cjs} +1 -1
  19. package/dist/{Tooltip-CvkadVaG.js → Tooltip-ZYQUXVWv.js} +1 -1
  20. package/dist/{Tooltip-BSiC5KHi.cjs → Tooltip-pcZXVRMj.cjs} +1 -1
  21. package/dist/index-C_VTEz1N.cjs +9 -0
  22. package/dist/{index-CxkSLqkR.js → index-DiqenHrX.js} +3 -1
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +2 -0
  25. package/dist/types/vue-data-ui.d.ts +2 -0
  26. package/dist/{useNestedProp-Cl0RLl8U.js → useNestedProp-B3CQkP95.js} +1 -1
  27. package/dist/{useNestedProp-DO3dp1MP.cjs → useNestedProp-C7bLHE7v.cjs} +1 -1
  28. package/dist/{usePrinter-C6iBjau1.js → usePrinter-CHAgX1f-.js} +1 -1
  29. package/dist/{usePrinter-B4q6m_Zr.cjs → usePrinter-DWCqeYW6.cjs} +1 -1
  30. package/dist/{vue-data-ui-nkQgbFuu.js → vue-data-ui-BAAnNikX.js} +61 -61
  31. package/dist/{vue-data-ui-B_6lt7Pw.cjs → vue-data-ui-VikO3yRe.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-CTqK1X6Z.cjs → vue-ui-3d-bar-BR-ihA3S.cjs} +1 -1
  35. package/dist/{vue-ui-3d-bar-CgZzR07b.js → vue-ui-3d-bar-C4OjP6pi.js} +9 -9
  36. package/dist/{vue-ui-accordion-Bhnb29Ek.cjs → vue-ui-accordion-CtBhoUw4.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-ElsMWD7y.js → vue-ui-accordion-DA6XnWaz.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Q-qcS1zC.js → vue-ui-age-pyramid-2AgqaHOS.js} +10 -10
  39. package/dist/{vue-ui-age-pyramid-Bt1_fUNL.cjs → vue-ui-age-pyramid-E0fCV03f.cjs} +1 -1
  40. package/dist/{vue-ui-annotator-B2nvM3Y0.js → vue-ui-annotator-CdLA2R6h.js} +1 -1
  41. package/dist/{vue-ui-annotator-phy9LE1H.cjs → vue-ui-annotator-UcABxDAz.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-Cx5G8uhl.js → vue-ui-bullet-AFqmPWo3.js} +8 -8
  43. package/dist/{vue-ui-bullet-DWTJRc-I.cjs → vue-ui-bullet-C4wEiJn8.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-CHlmnzw7.cjs → vue-ui-candlestick-BkQsD1Yi.cjs} +1 -1
  45. package/dist/{vue-ui-candlestick-C8tVe9lD.js → vue-ui-candlestick-Bs0DE1Xi.js} +11 -11
  46. package/dist/{vue-ui-carousel-table-CwvFBFil.cjs → vue-ui-carousel-table-KX-cLx3F.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-5QXlccuC.js → vue-ui-carousel-table-NYlYQbo9.js} +4 -4
  48. package/dist/{vue-ui-chestnut-CiB191uA.js → vue-ui-chestnut-BAJjfgKR.js} +8 -8
  49. package/dist/{vue-ui-chestnut-Zlso6c5Z.cjs → vue-ui-chestnut-BzHRBq_Z.cjs} +1 -1
  50. package/dist/{vue-ui-circle-pack-j2pkMjG3.js → vue-ui-circle-pack-BoolEIij.js} +233 -224
  51. package/dist/vue-ui-circle-pack-BrmdreXG.cjs +1 -0
  52. package/dist/{vue-ui-cursor-dUyRwmKt.cjs → vue-ui-cursor-BjQLjw1a.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-DmHjFaAJ.js → vue-ui-cursor-ut60ihG1.js} +2 -2
  54. package/dist/{vue-ui-dashboard-xKh3-aAO.cjs → vue-ui-dashboard-BXVdZdEF.cjs} +1 -1
  55. package/dist/{vue-ui-dashboard-9AsVahzI.js → vue-ui-dashboard-FQxiN7Jj.js} +2 -2
  56. package/dist/{vue-ui-digits-W6sk0G87.js → vue-ui-digits-Rb48H8et.js} +2 -2
  57. package/dist/{vue-ui-digits-Dl93Noeq.cjs → vue-ui-digits-j2WKJUNf.cjs} +1 -1
  58. package/dist/{vue-ui-donut-C8nn5Eia.cjs → vue-ui-donut-CbFW--I1.cjs} +1 -1
  59. package/dist/{vue-ui-donut-WLpTZG-I.js → vue-ui-donut-DUKnsxUu.js} +12 -12
  60. package/dist/{vue-ui-donut-evolution-aBDGr9Mi.cjs → vue-ui-donut-evolution-9mJgbwpR.cjs} +1 -1
  61. package/dist/{vue-ui-donut-evolution-D3PQ7eIS.js → vue-ui-donut-evolution-n-ue754h.js} +11 -11
  62. package/dist/{vue-ui-dumbbell-CshsN4z8.js → vue-ui-dumbbell-C4r0NeY_.js} +10 -10
  63. package/dist/{vue-ui-dumbbell-Bw6i3-AQ.cjs → vue-ui-dumbbell-sXSCnY75.cjs} +1 -1
  64. package/dist/{vue-ui-flow-CFUiv4cU.cjs → vue-ui-flow-C8-oqGo7.cjs} +1 -1
  65. package/dist/{vue-ui-flow--CNEfqx3.js → vue-ui-flow-CuZbUegy.js} +9 -9
  66. package/dist/{vue-ui-funnel-kMHXeOsQ.cjs → vue-ui-funnel-Cb0LSIxk.cjs} +1 -1
  67. package/dist/{vue-ui-funnel-DV9tKgpj.js → vue-ui-funnel-D9whnJ6X.js} +9 -9
  68. package/dist/{vue-ui-galaxy-DwzxDUwD.js → vue-ui-galaxy-CRECMRY6.js} +11 -11
  69. package/dist/{vue-ui-galaxy-CKiq7zUp.cjs → vue-ui-galaxy-DUHSlUJQ.cjs} +1 -1
  70. package/dist/{vue-ui-gauge-vTD9FY7o.js → vue-ui-gauge-BEhMYmCg.js} +7 -7
  71. package/dist/{vue-ui-gauge-GPLSciAH.cjs → vue-ui-gauge-BfmvvI7e.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-bOa7csWq.cjs → vue-ui-gizmo-BkZTXg7I.cjs} +1 -1
  73. package/dist/{vue-ui-gizmo-D04l4UDB.js → vue-ui-gizmo-DtXR6xgr.js} +3 -3
  74. package/dist/{vue-ui-heatmap-BIOvlvzT.cjs → vue-ui-heatmap-B1XZnqbm.cjs} +1 -1
  75. package/dist/{vue-ui-heatmap-qsJiPl_k.js → vue-ui-heatmap-BlBHNDJV.js} +10 -10
  76. package/dist/{vue-ui-history-plot-DL8EDUxx.js → vue-ui-history-plot-BmzpDPL6.js} +11 -11
  77. package/dist/{vue-ui-history-plot-BCwysSHr.cjs → vue-ui-history-plot-DqM3d3p7.cjs} +1 -1
  78. package/dist/{vue-ui-kpi-u7JJbfUe.cjs → vue-ui-kpi-D1i-2otW.cjs} +1 -1
  79. package/dist/{vue-ui-kpi-BZ6vhiqc.js → vue-ui-kpi-XdIADLDq.js} +3 -3
  80. package/dist/{vue-ui-mini-loader-C8x6kpc8.js → vue-ui-mini-loader-BdDY5AwD.js} +2 -2
  81. package/dist/{vue-ui-mini-loader-B67BMrH8.cjs → vue-ui-mini-loader-DZgbFjuS.cjs} +1 -1
  82. package/dist/{vue-ui-molecule-Dm8wxQvf.js → vue-ui-molecule-DstYXfTV.js} +11 -11
  83. package/dist/{vue-ui-molecule-Z4LtWK3z.cjs → vue-ui-molecule-a0IHQMkN.cjs} +1 -1
  84. package/dist/{vue-ui-mood-radar-Dc8S9pGe.cjs → vue-ui-mood-radar-BafPNccC.cjs} +1 -1
  85. package/dist/{vue-ui-mood-radar-BNZ6dGO9.js → vue-ui-mood-radar-DjtnprtG.js} +11 -11
  86. package/dist/{vue-ui-nested-donuts-2GfcBlX3.cjs → vue-ui-nested-donuts-DC7oX5GH.cjs} +1 -1
  87. package/dist/{vue-ui-nested-donuts-BtPTP4oS.js → vue-ui-nested-donuts-XQ_auu4H.js} +11 -11
  88. package/dist/{vue-ui-onion-DmgjNBmO.cjs → vue-ui-onion-DEfVifyj.cjs} +1 -1
  89. package/dist/{vue-ui-onion-BY-nYuum.js → vue-ui-onion-D_myFmJv.js} +11 -11
  90. package/dist/{vue-ui-parallel-coordinate-plot-BaaBFeDI.cjs → vue-ui-parallel-coordinate-plot-Bv3lIZ0J.cjs} +1 -1
  91. package/dist/{vue-ui-parallel-coordinate-plot-CkToRfrF.js → vue-ui-parallel-coordinate-plot-DQsyE4kf.js} +12 -12
  92. package/dist/{vue-ui-quadrant-Cm22AZMj.js → vue-ui-quadrant-DBvqgk3y.js} +12 -12
  93. package/dist/{vue-ui-quadrant-DXvKxsRd.cjs → vue-ui-quadrant-DXU4OdLD.cjs} +1 -1
  94. package/dist/{vue-ui-quick-chart-CxOV3EKx.js → vue-ui-quick-chart-C-bsRZf1.js} +9 -9
  95. package/dist/{vue-ui-quick-chart-BVnxoyF0.cjs → vue-ui-quick-chart-Dl-94hQE.cjs} +1 -1
  96. package/dist/{vue-ui-radar-Dm0vv1Ln.js → vue-ui-radar-He8orFXJ.js} +12 -12
  97. package/dist/{vue-ui-radar-CLlLAwcn.cjs → vue-ui-radar-QQ8vOOYq.cjs} +1 -1
  98. package/dist/{vue-ui-rating-B0gbFIMd.cjs → vue-ui-rating-6kyP3DDH.cjs} +1 -1
  99. package/dist/{vue-ui-rating-_-TqFM2v.js → vue-ui-rating-qUauyHHk.js} +2 -2
  100. package/dist/{vue-ui-relation-circle-BnP382J3.cjs → vue-ui-relation-circle-BO4wP-bR.cjs} +1 -1
  101. package/dist/{vue-ui-relation-circle-hu6y5oGV.js → vue-ui-relation-circle-DfVg4VBp.js} +7 -7
  102. package/dist/{vue-ui-rings-Dob7aIFp.cjs → vue-ui-rings-D_cVoXDa.cjs} +1 -1
  103. package/dist/{vue-ui-rings-DDD7Uj5x.js → vue-ui-rings-DjoVPXun.js} +12 -12
  104. package/dist/{vue-ui-scatter-ClvqdQjK.cjs → vue-ui-scatter-45hc4NIf.cjs} +1 -1
  105. package/dist/{vue-ui-scatter-CH8a8ZIJ.js → vue-ui-scatter-DBcO00g4.js} +12 -12
  106. package/dist/{vue-ui-screenshot-B_rTTgKI.cjs → vue-ui-screenshot-lJJxoLDu.cjs} +1 -1
  107. package/dist/{vue-ui-screenshot-D468EA2C.js → vue-ui-screenshot-zc-jsepS.js} +1 -1
  108. package/dist/{vue-ui-skeleton-BNcyfNtG.js → vue-ui-skeleton-BwWHgSoq.js} +3 -3
  109. package/dist/{vue-ui-skeleton-DEI4ywiE.cjs → vue-ui-skeleton-D1bJntn7.cjs} +1 -1
  110. package/dist/{vue-ui-smiley-D8lPrzCx.js → vue-ui-smiley-BVFxYYJl.js} +2 -2
  111. package/dist/{vue-ui-smiley-DNW94uBg.cjs → vue-ui-smiley-CZPe292C.cjs} +1 -1
  112. package/dist/{vue-ui-spark-trend-ChvC4-YH.js → vue-ui-spark-trend-8LZqy_wz.js} +5 -5
  113. package/dist/{vue-ui-spark-trend-BTep_K4-.cjs → vue-ui-spark-trend-BJ3_K1DU.cjs} +1 -1
  114. package/dist/{vue-ui-sparkbar-CX1QEGrX.cjs → vue-ui-sparkbar-B3idsjFj.cjs} +1 -1
  115. package/dist/{vue-ui-sparkbar-OuvMdDna.js → vue-ui-sparkbar-C93PvNz6.js} +4 -4
  116. package/dist/{vue-ui-sparkgauge-8BGQu9zj.cjs → vue-ui-sparkgauge-66qZ-DgD.cjs} +1 -1
  117. package/dist/{vue-ui-sparkgauge-CLcdATBV.js → vue-ui-sparkgauge-B1uABI9w.js} +4 -4
  118. package/dist/{vue-ui-sparkhistogram-C6aOsPay.cjs → vue-ui-sparkhistogram-D7ECtpUW.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-Doi64ovE.js → vue-ui-sparkhistogram-vAgBJK79.js} +5 -5
  120. package/dist/{vue-ui-sparkline-oHkfl-Jf.js → vue-ui-sparkline-B2JarTjo.js} +4 -4
  121. package/dist/{vue-ui-sparkline-CWEHHYM0.cjs → vue-ui-sparkline-YOIgP_Dl.cjs} +1 -1
  122. package/dist/{vue-ui-sparkstackbar-CCsI6xnK.js → vue-ui-sparkstackbar-C2E7YRP0.js} +5 -5
  123. package/dist/{vue-ui-sparkstackbar-CW5z4mfI.cjs → vue-ui-sparkstackbar-DMClZgds.cjs} +1 -1
  124. package/dist/{vue-ui-stackbar-CcntVQ5W.cjs → vue-ui-stackbar-BP_qrJ-s.cjs} +1 -1
  125. package/dist/{vue-ui-stackbar-p9c3FZd3.js → vue-ui-stackbar-n27TJh0C.js} +13 -13
  126. package/dist/{vue-ui-strip-plot-BKRxIiBx.js → vue-ui-strip-plot-Bjy7C_Ry.js} +11 -11
  127. package/dist/{vue-ui-strip-plot-Dg_Dype0.cjs → vue-ui-strip-plot-DN7X6zBk.cjs} +1 -1
  128. package/dist/{vue-ui-table-4W4WFNPE.cjs → vue-ui-table-6rqw4Gi-.cjs} +1 -1
  129. package/dist/{vue-ui-table-B9auHo_8.js → vue-ui-table-DnHvIIqi.js} +1 -1
  130. package/dist/{vue-ui-table-heatmap-CFO0OWmS.cjs → vue-ui-table-heatmap-BQKXP9Na.cjs} +1 -1
  131. package/dist/{vue-ui-table-heatmap-BTzZalqE.js → vue-ui-table-heatmap-Dt8DAC4A.js} +4 -4
  132. package/dist/{vue-ui-table-sparkline-DbdJSxor.js → vue-ui-table-sparkline-CLQJbHX8.js} +5 -5
  133. package/dist/{vue-ui-table-sparkline-B64DfV7X.cjs → vue-ui-table-sparkline-DmNJFPHo.cjs} +1 -1
  134. package/dist/{vue-ui-thermometer-Cxiob8ap.js → vue-ui-thermometer-BTmiPdUs.js} +7 -7
  135. package/dist/{vue-ui-thermometer-CM4umROK.cjs → vue-ui-thermometer-DnVSE7_V.cjs} +1 -1
  136. package/dist/{vue-ui-timer-CMOrVcRH.cjs → vue-ui-timer-CINerMki.cjs} +1 -1
  137. package/dist/{vue-ui-timer-CodOaimx.js → vue-ui-timer-D6j-aYnJ.js} +5 -5
  138. package/dist/{vue-ui-tiremarks-CveQVXad.cjs → vue-ui-tiremarks-CRGMkwwv.cjs} +1 -1
  139. package/dist/{vue-ui-tiremarks-7he2oRWW.js → vue-ui-tiremarks-ztoJZwQn.js} +7 -7
  140. package/dist/{vue-ui-treemap-BkkzajfU.js → vue-ui-treemap-B0NYnKie.js} +11 -11
  141. package/dist/{vue-ui-treemap-CG7QjRsR.cjs → vue-ui-treemap-CbqRlXgA.cjs} +1 -1
  142. package/dist/{vue-ui-vertical-bar-Da8rX3Ah.cjs → vue-ui-vertical-bar-Cosr8beH.cjs} +1 -1
  143. package/dist/{vue-ui-vertical-bar-DcKnsOqp.js → vue-ui-vertical-bar-DzcpRwPF.js} +12 -12
  144. package/dist/{vue-ui-waffle-CtqHZFrp.js → vue-ui-waffle-CE1MnOqa.js} +12 -12
  145. package/dist/{vue-ui-waffle-c7M8A5GS.cjs → vue-ui-waffle-DkVKQERp.cjs} +1 -1
  146. package/dist/{vue-ui-wheel-Bg4YPDll.cjs → vue-ui-wheel-CGYGLKyG.cjs} +1 -1
  147. package/dist/{vue-ui-wheel-DWS9t-B1.js → vue-ui-wheel-DMS12xPv.js} +7 -7
  148. package/dist/{vue-ui-word-cloud-r6kErc7I.cjs → vue-ui-word-cloud-C1klEiea.cjs} +1 -1
  149. package/dist/{vue-ui-word-cloud-BwV7d20w.js → vue-ui-word-cloud-D_CyZOE0.js} +10 -10
  150. package/dist/{vue-ui-xy-BCf7mRKE.js → vue-ui-xy-GgA45y9X.js} +14 -14
  151. package/dist/{vue-ui-xy-RhgNVLSI.cjs → vue-ui-xy-Nj-5ko1z.cjs} +1 -1
  152. package/dist/{vue-ui-xy-canvas-B0_U5bAe.js → vue-ui-xy-canvas-BRPQBL8l.js} +11 -11
  153. package/dist/{vue-ui-xy-canvas-CBsiPNtb.cjs → vue-ui-xy-canvas-CQt5pre_.cjs} +1 -1
  154. package/package.json +1 -1
  155. package/dist/index-BCDlAguz.cjs +0 -9
  156. package/dist/vue-ui-circle-pack-CqOacCQN.cjs +0 -1
@@ -1,22 +1,22 @@
1
- import { useCssVars as Qe, computed as y, ref as h, watch as Ie, onMounted as et, watchEffect as tt, openBlock as s, createElementBlock as i, normalizeClass as Fe, normalizeStyle as W, unref as c, createBlock as T, createCommentVNode as f, renderSlot as m, createSlots as lt, withCtx as C, normalizeProps as D, guardReactiveProps as L, createVNode as at, Fragment as O, renderList as se, createElementVNode as k, toDisplayString as G, createTextVNode as ot, nextTick as st } from "vue";
2
- import { u as nt, c as Ne, t as rt, a as ne, p as P, o as ut, e as it, b as ct, d as Se, m as vt, h as Me, f as re, X as dt, l as ht, G as Y, i as _e, q as ft, r as yt } from "./index-CxkSLqkR.js";
3
- import { u as Ae } from "./useNestedProp-Cl0RLl8U.js";
4
- import { u as pt, U as mt } from "./usePrinter-C6iBjau1.js";
5
- import { _ as bt } from "./Title-DlWf9Ddn.js";
6
- import { P as gt } from "./PenAndPaper-B-Xy37LR.js";
7
- import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { _ as wt } from "./PackageVersion-CZWTAkjP.js";
9
- import xt from "./vue-ui-accordion-ElsMWD7y.js";
10
- import { D as Ct } from "./DataTable-BE81z-1L.js";
11
- import $t from "./vue-ui-skeleton-BNcyfNtG.js";
12
- import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], It = ["id"], Ft = ["stop-color"], Nt = ["stop-color"], St = ["stop-color"], Mt = { key: 0 }, _t = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter"], At = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Et = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Dt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Lt = ["d", "fill"], Gt = ["cx", "cy", "r", "opacity", "stroke", "fill"], Ut = {
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 = {
14
14
  key: 0,
15
15
  style: { pointerEvents: "none" }
16
- }, Bt = { key: 1 }, Vt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ht = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Rt = {
16
+ }, Ht = { key: 1 }, Xt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Yt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Wt = {
17
17
  key: 6,
18
18
  class: "vue-data-ui-watermark"
19
- }, Xt = ["innerHTML"], Wt = {
19
+ }, jt = ["innerHTML"], qt = {
20
20
  __name: "vue-ui-circle-pack",
21
21
  props: {
22
22
  config: {
@@ -32,95 +32,95 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
32
32
  }
33
33
  }
34
34
  },
35
- setup(Ee, { expose: De }) {
36
- const $ = Ee;
37
- Qe((t) => ({
38
- "49c9a662": N.value,
39
- "0c7b2888": K.value
35
+ setup(De, { expose: Le }) {
36
+ const z = De;
37
+ lt((t) => ({
38
+ "76fa81dc": F.value,
39
+ "68186f8b": J.value
40
40
  }));
41
- const { vue_ui_circle_pack: Le } = nt(), U = y(() => !!$.dataset && $.dataset.length), I = h(Ne()), j = h(null), Ge = h(null), Ue = h(null), ue = h(0), ie = h(0), ce = h(0), Be = h(null), e = y({
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
42
  get: () => he(),
43
43
  set: (t) => t
44
44
  }), {
45
- userOptionsVisible: q,
45
+ userOptionsVisible: j,
46
46
  setUserOptionsVisibility: ve,
47
47
  keepUserOptionState: de
48
- } = kt({ config: e.value });
48
+ } = Ct({ config: e.value });
49
49
  function he() {
50
- const t = Ae({
51
- userConfig: $.config,
52
- defaultConfig: Le
50
+ const t = Ee({
51
+ userConfig: z.config,
52
+ defaultConfig: Re
53
53
  });
54
54
  return t.theme ? {
55
- ...Ae({
56
- userConfig: rt.vue_ui_circle_pack[t.theme] || $.config,
55
+ ...Ee({
56
+ userConfig: ct.vue_ui_circle_pack[t.theme] || z.config,
57
57
  defaultConfig: t
58
58
  }),
59
- customPalette: ne[t.theme] || P
59
+ customPalette: re[t.theme] || P
60
60
  } : t;
61
61
  }
62
- Ie(() => $.config, (t) => {
63
- e.value = he(), q.value = !e.value.userOptions.showOnChartHover, Z(), ue.value += 1, ie.value += 1, F.value.showTable = e.value.table.show;
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;
64
64
  }, { deep: !0 });
65
- const { isPrinting: fe, isImaging: ye, generatePdf: pe, generateImage: me } = pt({
65
+ const { isPrinting: fe, isImaging: ye, generatePdf: pe, generateImage: me } = gt({
66
66
  elementId: `vue-ui-circle-pack_${I.value}`,
67
67
  fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
68
- }), Ve = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = h({
68
+ }), Be = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = f({
69
69
  showTable: e.value.table.show
70
70
  });
71
- async function Z() {
72
- ut($.dataset) && it({
71
+ async function q() {
72
+ vt(z.dataset) && dt({
73
73
  componentName: "VueUiCirclePack",
74
74
  type: "dataset"
75
- }), await Xe();
75
+ }), await We();
76
76
  }
77
- et(Z), Ie(() => $.dataset, async (t) => {
78
- await Z();
77
+ at(q), Se(() => z.dataset, async (t) => {
78
+ await q();
79
79
  }, { deep: !0 });
80
- const be = y(() => ct(e.value.customPalette));
80
+ const be = h(() => ht(e.value.customPalette));
81
81
  function ge(t, a) {
82
82
  return Math.hypot(a.x - t.x, a.y - t.y);
83
83
  }
84
84
  function ke(t, a) {
85
85
  return a.some((l) => ge(t, l) < t.radius + l.radius);
86
86
  }
87
- function He(t, a, l, r) {
87
+ function He(t, a, l, n) {
88
88
  const v = a * 2;
89
- for (let w of t)
90
- for (let x = 0; x < 360; x += 30) {
91
- let E = x * Math.PI / 180, u = w.x + v * Math.cos(E), o = w.y + v * Math.sin(E), b = { x: u, y: o, radius: a };
92
- if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <= r && !ke(b, t))
89
+ 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 };
92
+ if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <= n && !ke(g, t))
93
93
  return { x: u, y: o };
94
94
  }
95
95
  return null;
96
96
  }
97
- function Re(t, a, l, r, v = 0, w = 0) {
98
- const x = Math.max(...t.map((b) => b.value)), u = t.map((b, d) => ({
99
- ...b,
100
- radius: b.value / x * r,
97
+ function Xe(t, a, l, n, v = 0, x = 0) {
98
+ const w = Math.max(...t.map((g) => g.value)), u = t.map((g, d) => ({
99
+ ...g,
100
+ radius: g.value / w * n,
101
101
  index: d
102
- })).map((b, d) => ({ ...b, index: d })).toSorted((b, d) => d.radius - b.radius);
102
+ })).map((g, d) => ({ ...g, index: d })).toSorted((g, d) => d.radius - g.radius);
103
103
  let o = [];
104
104
  o.push({
105
105
  ...u[0],
106
106
  x: a / 2 + v,
107
- y: l / 2 + w
107
+ y: l / 2 + x
108
108
  });
109
- for (let b of u.slice(1)) {
110
- let { radius: d, ...$e } = b, ee = He(o, d, a, l);
109
+ for (let g of u.slice(1)) {
110
+ let { radius: d, ...$e } = g, ee = He(o, d, a, l);
111
111
  if (ee)
112
112
  o.push({ ...$e, x: ee.x, y: ee.y, radius: d });
113
113
  else {
114
- let te = null, ze = 1 / 0;
115
- for (let R of o)
114
+ let te = null, Pe = 1 / 0;
115
+ for (let B of o)
116
116
  for (let le = 0; le < 360; le += 15) {
117
- let Pe = le * Math.PI / 180, ae = R.x + (d + R.radius) * Math.cos(Pe), oe = R.y + (d + R.radius) * Math.sin(Pe), X = { ...$e, x: ae, y: oe, radius: d };
118
- if (ae - d >= 0 && ae + d <= a && oe - d >= 0 && oe + d <= l && !ke(X, o)) {
119
- let Te = o.reduce(
120
- (Ke, Oe) => Ke + (ge(X, Oe) < X.radius + Oe.radius ? 1 : 0),
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)) {
119
+ let Oe = o.reduce(
120
+ (tt, Ie) => tt + (ge(H, Ie) < H.radius + Ie.radius ? 1 : 0),
121
121
  0
122
122
  );
123
- Te < ze && (ze = Te, te = X);
123
+ Oe < Pe && (Pe = Oe, te = H);
124
124
  }
125
125
  }
126
126
  te && o.push(te);
@@ -128,42 +128,45 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
128
128
  }
129
129
  return o;
130
130
  }
131
- const J = y(() => $.dataset.map((t, a) => {
132
- const l = Se(t.color) || be.value[a] || ne[e.value.theme || "default"][a % ne[e.value.theme || "default"].length] || P[a] || P[a % P.length];
131
+ 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];
133
133
  return {
134
134
  ...t,
135
- id: Ne(),
135
+ id: Me(),
136
136
  color: l
137
137
  };
138
- }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), g = h([]);
139
- async function Xe() {
140
- g.value = Re(
141
- J.value,
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)));
139
+ function xe(t, a) {
140
+ return a / Ye.value * t;
141
+ }
142
+ async function We() {
143
+ b.value = Xe(
144
+ Z.value,
142
145
  // Huge plane size to place all datapoints
143
146
  1e4,
144
147
  1e4,
145
148
  32
146
149
  );
147
150
  }
148
- const we = y(() => ({
151
+ const we = h(() => ({
149
152
  width: 100,
150
153
  height: 100
151
- })), p = y(() => {
152
- const t = g.value.reduce((u, o) => o.x - o.radius < u.x - u.radius ? o : u, g.value[0]), a = g.value.reduce((u, o) => o.y - o.radius < u.y - u.radius ? o : u, g.value[0]), l = g.value.reduce((u, o) => o.x + o.radius > u.x + u.radius ? o : u, g.value[0]), r = g.value.reduce((u, o) => o.y + o.radius > u.y + u.radius ? o : u, g.value[0]), v = (t == null ? void 0 : t.x) || 0, w = (l == null ? void 0 : l.x) || we.value.width, x = (a == null ? void 0 : a.y) || 0, E = (r == null ? void 0 : r.y) || we.value.height;
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;
153
156
  return {
154
- maxX: w,
157
+ maxX: x,
155
158
  minX: v,
156
- width: Math.abs(w - v) + (t ? t.radius : 0) + (l ? l.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
157
- height: Math.abs(E - x) + (a ? a.radius : 0) + (r ? r.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
159
+ 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,
158
161
  x: t ? (t == null ? void 0 : t.x) - (t == null ? void 0 : t.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0,
159
162
  y: a ? (a == null ? void 0 : a.y) - (a == null ? void 0 : a.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0
160
163
  };
161
- }), We = y(() => g.value.map((t) => {
164
+ }), je = h(() => b.value.map((t) => {
162
165
  if (t.breakdown)
163
- return vt(
166
+ return ft(
164
167
  { series: t.breakdown.map((a, l) => ({
165
168
  ...a,
166
- color: Se(a.color) || be.value[l] || P[l] || P[l % P.length]
169
+ color: Ne(a.color) || be.value[l] || P[l] || P[l % P.length]
167
170
  })) },
168
171
  t.x,
169
172
  t.y,
@@ -176,34 +179,34 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
176
179
  105.25,
177
180
  t.radius / 2
178
181
  );
179
- })), n = h(null);
180
- function Ye(t) {
181
- e.value.style.chart.circles.zoom.show && (n.value = t);
182
+ })), r = f(null);
183
+ function qe(t) {
184
+ e.value.style.chart.circles.zoom.show && (r.value = t);
182
185
  }
183
- const N = y(() => n.value ? n.value.radius : 0), K = y(() => n.value ? n.value.radius > p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio ? n.value.radius : p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), z = h(0), je = y(() => ({
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(() => ({
184
187
  pointerEvents: "none",
185
- opacity: z.value,
186
- filter: `drop-shadow(0px 0px 6px ${Me(n.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
187
- })), S = h(N.value);
188
- tt(() => {
189
- S.value = N.value, z.value = 0;
188
+ 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;
190
193
  let t = null;
191
194
  function a(l) {
192
195
  t || (t = l);
193
- const r = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
194
- r < 1 ? (S.value = N.value + (K.value - N.value) * r, z.value = 0 + e.value.style.chart.circles.zoom.opacity * r, requestAnimationFrame(a)) : (S.value = K.value, z.value = e.value.style.chart.circles.zoom.opacity);
196
+ 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);
195
198
  }
196
199
  requestAnimationFrame(a);
197
200
  });
198
- const M = y(() => ({
201
+ const N = h(() => ({
199
202
  name: e.value.style.chart.circles.zoom.label.name.fontSize * p.value.width / 300,
200
203
  value: e.value.style.chart.circles.zoom.label.value.fontSize * p.value.width / 300
201
204
  }));
202
- function _(t) {
203
- return _e(
205
+ function K(t) {
206
+ return Ae(
204
207
  e.value.style.chart.circles.labels.value.formatter,
205
208
  t.value,
206
- re({
209
+ ne({
207
210
  p: e.value.style.chart.circles.labels.value.prefix,
208
211
  v: t.value,
209
212
  s: e.value.style.chart.circles.labels.value.suffix,
@@ -211,50 +214,56 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
211
214
  })
212
215
  );
213
216
  }
214
- function qe() {
215
- return _e(
217
+ function Je() {
218
+ return Ae(
216
219
  e.value.style.chart.circles.zoom.label.value.formatter,
217
- n.value.value,
218
- re({
220
+ r.value.value,
221
+ ne({
219
222
  p: e.value.style.chart.circles.zoom.label.value.prefix,
220
- v: n.value.value,
223
+ v: r.value.value,
221
224
  s: e.value.style.chart.circles.zoom.label.value.suffix,
222
225
  r: e.value.style.chart.circles.zoom.label.rounding
223
226
  })
224
227
  );
225
228
  }
226
- const A = h(!1);
227
- function Ze(t) {
228
- A.value = t, ce.value += 1;
229
+ function Ke(t) {
230
+ if (!t)
231
+ return 0;
232
+ const a = t.radius / K(t).length * (K(t).length === 1 ? 1 : 2);
233
+ return Math.min(t.radius / 2.5, a);
229
234
  }
230
- const B = h(!1);
235
+ const _ = f(!1);
236
+ function Qe(t) {
237
+ _.value = t, ce.value += 1;
238
+ }
239
+ const G = f(!1);
231
240
  function Q() {
232
- B.value = !B.value;
241
+ G.value = !G.value;
233
242
  }
234
- const V = y(() => {
235
- const t = J.value.map((l) => ({
243
+ const U = h(() => {
244
+ const t = Z.value.map((l) => ({
236
245
  name: l.name,
237
246
  value: l.value,
238
247
  color: l.color
239
- })).toSorted((l, r) => r.value - l.value), a = t.map((l) => l.value);
248
+ })).toSorted((l, n) => n.value - l.value), a = t.map((l) => l.value);
240
249
  return { head: t, body: a };
241
250
  });
242
- function xe() {
243
- st(() => {
244
- const t = V.value.head.map((r, v) => [[
245
- r.name
246
- ], [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 = ft(a);
247
- yt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
251
+ function Ce() {
252
+ ut(() => {
253
+ const t = U.value.head.map((n, v) => [[
254
+ 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" });
248
257
  });
249
258
  }
250
- const H = y(() => {
259
+ const V = h(() => {
251
260
  const t = [
252
261
  e.value.table.columnNames.datapoint,
253
262
  e.value.table.columnNames.value
254
- ], a = V.value.head.map((v, w) => {
255
- const x = re({
263
+ ], a = U.value.head.map((v, x) => {
264
+ const w = ne({
256
265
  p: e.value.style.chart.circles.labels.value.prefix,
257
- v: V.value.body[w],
266
+ v: U.value.body[x],
258
267
  s: e.value.style.chart.circles.labels.value.suffix,
259
268
  r: e.value.style.chart.circles.labels.value.rounding
260
269
  });
@@ -263,7 +272,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
263
272
  color: v.color,
264
273
  name: v.name
265
274
  },
266
- x
275
+ w
267
276
  ];
268
277
  }), l = {
269
278
  th: {
@@ -288,51 +297,51 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
288
297
  config: l
289
298
  };
290
299
  });
291
- function Ce() {
292
- F.value.showTable = !F.value.showTable;
300
+ function ze() {
301
+ S.value.showTable = !S.value.showTable;
293
302
  }
294
- function Je() {
295
- return J.value;
303
+ function et() {
304
+ return Z.value;
296
305
  }
297
- return De({
298
- getData: Je,
299
- generateCsv: xe,
306
+ return Le({
307
+ getData: et,
308
+ generateCsv: Ce,
300
309
  generatePdf: pe,
301
310
  generateImage: me,
302
- toggleTable: Ce,
311
+ toggleTable: ze,
303
312
  toggleAnnotator: Q
304
313
  }), (t, a) => (s(), i("div", {
305
314
  id: `vue-ui-circle-pack_${I.value}`,
306
- class: Fe(`vue-ui-circle-pack ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
315
+ class: Fe(`vue-ui-circle-pack ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
307
316
  ref_key: "circlePackChart",
308
- ref: j,
309
- style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
317
+ ref: W,
318
+ style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
310
319
  onMouseenter: a[2] || (a[2] = () => c(ve)(!0)),
311
320
  onMouseleave: a[3] || (a[3] = () => c(ve)(!1))
312
321
  }, [
313
- e.value.userOptions.buttons.annotator ? (s(), T(gt, {
322
+ e.value.userOptions.buttons.annotator ? (s(), T(wt, {
314
323
  key: 0,
315
- parent: j.value,
324
+ parent: W.value,
316
325
  backgroundColor: e.value.style.chart.backgroundColor,
317
326
  color: e.value.style.chart.color,
318
- active: B.value,
327
+ active: G.value,
319
328
  onClose: Q
320
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
329
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
321
330
  m(t.$slots, "userConfig", {}, void 0, !0),
322
- Ve.value ? (s(), i("div", {
331
+ Be.value ? (s(), i("div", {
323
332
  key: 1,
324
333
  ref_key: "noTitle",
325
334
  ref: Ue,
326
335
  class: "vue-data-ui-no-title-space",
327
336
  style: "height:36px; width: 100%;background:transparent"
328
- }, null, 512)) : f("", !0),
337
+ }, null, 512)) : y("", !0),
329
338
  e.value.style.chart.title.text ? (s(), i("div", {
330
339
  key: 2,
331
340
  ref_key: "chartTitle",
332
341
  ref: Ge,
333
342
  style: "width:100%;background:transparent;padding-bottom:12px"
334
343
  }, [
335
- (s(), T(bt, {
344
+ (s(), T(xt, {
336
345
  key: `title_${ue.value}`,
337
346
  config: {
338
347
  title: {
@@ -345,8 +354,8 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
345
354
  }
346
355
  }
347
356
  }, null, 8, ["config"]))
348
- ], 512)) : f("", !0),
349
- e.value.userOptions.show && U.value && (c(de) || c(q)) ? (s(), T(mt, {
357
+ ], 512)) : y("", !0),
358
+ e.value.userOptions.show && R.value && (c(de) || c(j)) ? (s(), T(kt, {
350
359
  ref: "details",
351
360
  key: `user_option_${ce.value}`,
352
361
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -361,22 +370,22 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
361
370
  hasXls: e.value.userOptions.buttons.csv,
362
371
  hasTable: e.value.userOptions.buttons.table,
363
372
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
364
- isFullscreen: A.value,
365
- chartElement: j.value,
373
+ isFullscreen: _.value,
374
+ chartElement: W.value,
366
375
  position: e.value.userOptions.position,
367
376
  titles: { ...e.value.userOptions.buttonTitles },
368
377
  hasAnnotator: e.value.userOptions.buttons.annotator,
369
- isAnnotation: B.value,
370
- onToggleFullscreen: Ze,
378
+ isAnnotation: G.value,
379
+ onToggleFullscreen: Qe,
371
380
  onGeneratePdf: c(pe),
372
- onGenerateCsv: xe,
381
+ onGenerateCsv: Ce,
373
382
  onGenerateImage: c(me),
374
- onToggleTable: Ce,
383
+ onToggleTable: ze,
375
384
  onToggleAnnotator: Q,
376
- style: W({
377
- visibility: c(de) ? c(q) ? "visible" : "hidden" : "visible"
385
+ style: X({
386
+ visibility: c(de) ? c(j) ? "visible" : "hidden" : "visible"
378
387
  })
379
- }, lt({ _: 2 }, [
388
+ }, st({ _: 2 }, [
380
389
  t.$slots.optionPdf ? {
381
390
  name: "optionPdf",
382
391
  fn: C(() => [
@@ -407,28 +416,28 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
407
416
  } : void 0,
408
417
  t.$slots.optionFullscreen ? {
409
418
  name: "optionFullscreen",
410
- fn: C(({ toggleFullscreen: l, isFullscreen: r }) => [
411
- m(t.$slots, "optionFullscreen", D(L({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
419
+ fn: C(({ toggleFullscreen: l, isFullscreen: n }) => [
420
+ m(t.$slots, "optionFullscreen", E(D({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
412
421
  ]),
413
422
  key: "4"
414
423
  } : void 0,
415
424
  t.$slots.optionAnnotator ? {
416
425
  name: "optionAnnotator",
417
- fn: C(({ toggleAnnotator: l, isAnnotator: r }) => [
418
- m(t.$slots, "optionAnnotator", D(L({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
426
+ fn: C(({ toggleAnnotator: l, isAnnotator: n }) => [
427
+ m(t.$slots, "optionAnnotator", E(D({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
419
428
  ]),
420
429
  key: "5"
421
430
  } : void 0
422
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
423
- U.value ? (s(), i("svg", {
431
+ ]), 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", {
424
433
  key: 4,
425
- xmlns: c(dt),
434
+ xmlns: c(yt),
426
435
  viewBox: `${p.value.x} ${p.value.y} ${p.value.width} ${p.value.height}`,
427
436
  width: "100%",
428
- class: Fe({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
429
- style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};`)
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};`)
430
439
  }, [
431
- at(wt),
440
+ rt(zt),
432
441
  t.$slots["chart-background"] ? (s(), i("foreignObject", {
433
442
  key: 0,
434
443
  x: p.value.x,
@@ -440,8 +449,8 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
440
449
  }
441
450
  }, [
442
451
  m(t.$slots, "chart-background", {}, void 0, !0)
443
- ], 8, Ot)) : f("", !0),
444
- (s(!0), i(O, null, se(g.value, (l) => (s(), i(O, null, [
452
+ ], 8, Ft)) : y("", !0),
453
+ (s(!0), i(O, null, se(b.value, (l) => (s(), i(O, null, [
445
454
  k("defs", null, [
446
455
  k("radialGradient", {
447
456
  id: l.id,
@@ -449,23 +458,23 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
449
458
  }, [
450
459
  k("stop", {
451
460
  offset: "10%",
452
- "stop-color": c(ht)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
453
- }, null, 8, Ft),
461
+ "stop-color": c(pt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
462
+ }, null, 8, Nt),
454
463
  k("stop", {
455
464
  offset: "90%",
456
- "stop-color": c(Me)(l.color, 0.1)
457
- }, null, 8, Nt),
465
+ "stop-color": c(_e)(l.color, 0.1)
466
+ }, null, 8, _t),
458
467
  k("stop", {
459
468
  offset: "100%",
460
469
  "stop-color": l.color
461
- }, null, 8, St)
462
- ], 8, It)
470
+ }, null, 8, At)
471
+ ], 8, Mt)
463
472
  ]),
464
- t.$slots.pattern ? (s(), i("g", Mt, [
473
+ t.$slots.pattern ? (s(), i("g", Et, [
465
474
  k("defs", null, [
466
- m(t.$slots, "pattern", D(L({ ...l, patternId: `pattern_${I.value}_${l.id}` })), void 0, !0)
475
+ m(t.$slots, "pattern", E(D({ ...l, patternId: `pattern_${I.value}_${l.id}` })), void 0, !0)
467
476
  ])
468
- ])) : f("", !0),
477
+ ])) : y("", !0),
469
478
  k("rect", {
470
479
  x: l.x - l.radius,
471
480
  y: l.y - l.radius,
@@ -475,9 +484,9 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
475
484
  "stroke-width": e.value.style.chart.circles.strokeWidth,
476
485
  fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
477
486
  rx: l.radius,
478
- onMouseenter: () => Ye(l),
479
- onMouseout: a[0] || (a[0] = (r) => n.value = null)
480
- }, null, 40, _t),
487
+ onMouseenter: () => qe(l),
488
+ onMouseout: a[0] || (a[0] = (n) => r.value = null)
489
+ }, null, 40, Dt),
481
490
  t.$slots.pattern ? (s(), i("rect", {
482
491
  key: 1,
483
492
  x: l.x - l.radius,
@@ -491,87 +500,87 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
491
500
  style: {
492
501
  pointerEvents: "none"
493
502
  }
494
- }, null, 8, At)) : f("", !0),
503
+ }, null, 8, Lt)) : y("", !0),
495
504
  e.value.style.chart.circles.labels.name.show && l.name ? (s(), i("text", {
496
505
  key: 2,
497
506
  style: {
498
507
  pointerEvents: "none",
499
508
  transition: "opacity 0.2s ease-in-out"
500
509
  },
501
- opacity: n.value ? 0.2 : 1,
510
+ opacity: r.value ? 0.2 : 1,
502
511
  x: l.x,
503
- y: l.y - l.radius / 2.5 + e.value.style.chart.circles.labels.name.offsetY,
504
- "font-size": l.radius / l.name.length * 2,
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,
505
514
  fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : c(Y)(l.color),
506
515
  "font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
507
516
  "text-anchor": "middle"
508
- }, G(l.name), 9, Et)) : f("", !0),
517
+ }, L(l.name), 9, Rt)) : y("", !0),
509
518
  e.value.style.chart.circles.labels.value.show ? (s(), i("text", {
510
519
  key: 3,
511
520
  style: {
512
521
  pointerEvents: "none",
513
522
  transition: "opacity 0.2s ease-in-out"
514
523
  },
515
- opacity: n.value ? 0.2 : 1,
524
+ opacity: r.value ? 0.2 : 1,
516
525
  x: l.x,
517
- y: l.y + l.radius / _(l).length * (_(l).length === 1 ? 1 : 2) / 2 + e.value.style.chart.circles.labels.value.offsetY,
518
- "font-size": l.radius / _(l).length * (_(l).length === 1 ? 1 : 2),
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,
519
528
  fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : c(Y)(l.color),
520
529
  "font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
521
530
  "text-anchor": "middle"
522
- }, G(_(l)), 9, Dt)) : f("", !0),
523
- (s(!0), i(O, null, se(We.value, (r) => (s(), i(O, null, [
524
- (s(!0), i(O, null, se(r, (v) => (s(), i("path", {
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", {
525
534
  d: v.arcSlice,
526
535
  fill: v.color,
527
536
  stroke: "black"
528
- }, null, 8, Lt))), 256))
537
+ }, null, 8, Ut))), 256))
529
538
  ], 64))), 256))
530
539
  ], 64))), 256)),
531
- n.value && e.value.style.chart.circles.zoom.show ? (s(), i(O, { key: 1 }, [
540
+ r.value && e.value.style.chart.circles.zoom.show ? (s(), i(O, { key: 1 }, [
532
541
  k("circle", {
533
- style: W(je.value),
534
- cx: n.value.x,
535
- cy: n.value.y,
536
- r: S.value,
537
- opacity: z.value,
542
+ style: X(Ze.value),
543
+ cx: r.value.x,
544
+ cy: r.value.y,
545
+ r: M.value,
546
+ opacity: $.value,
538
547
  stroke: e.value.style.chart.circles.stroke,
539
- fill: e.value.style.chart.circles.gradient.show ? `url(#${n.value.id})` : n.value.color
540
- }, null, 12, Gt),
541
- t.$slots["zoom-label"] ? (s(), i("g", Ut, [
542
- m(t.$slots, "zoom-label", D(L({ ...n.value, zoomOpacity: z.value, currentRadius: S.value, fontSize: M.value })), void 0, !0)
543
- ])) : (s(), i("g", Bt, [
548
+ 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, [
544
553
  k("text", {
545
554
  style: {
546
555
  pointerEvents: "none"
547
556
  },
548
- opacity: z.value,
549
- x: n.value.x,
550
- y: n.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - M.value.name / 4,
557
+ opacity: $.value,
558
+ x: r.value.x,
559
+ y: r.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - N.value.name / 4,
551
560
  "text-anchor": "middle",
552
- "font-size": M.value.name,
553
- fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : c(Y)(n.value.color),
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),
554
563
  "font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
555
- }, G(n.value.name), 9, Vt),
564
+ }, L(r.value.name), 9, Xt),
556
565
  k("text", {
557
566
  style: {
558
567
  pointerEvents: "none"
559
568
  },
560
- opacity: z.value,
561
- x: n.value.x,
562
- y: n.value.y + M.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
569
+ opacity: $.value,
570
+ x: r.value.x,
571
+ y: r.value.y + N.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
563
572
  "text-anchor": "middle",
564
- "font-size": M.value.value,
565
- fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : c(Y)(n.value.color),
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),
566
575
  "font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
567
- }, G(qe()), 9, Ht)
576
+ }, L(Je()), 9, Yt)
568
577
  ]))
569
- ], 64)) : f("", !0),
578
+ ], 64)) : y("", !0),
570
579
  m(t.$slots, "svg", {
571
580
  svg: { ...p.value }
572
581
  }, void 0, !0)
573
- ], 14, Tt)) : f("", !0),
574
- U.value ? f("", !0) : (s(), T($t, {
582
+ ], 14, St)) : y("", !0),
583
+ R.value ? y("", !0) : (s(), T(Tt, {
575
584
  key: 5,
576
585
  config: {
577
586
  type: "circlePack",
@@ -580,22 +589,22 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
580
589
  }
581
590
  }
582
591
  })),
583
- t.$slots.watermark ? (s(), i("div", Rt, [
584
- m(t.$slots, "watermark", D(L({ isPrinting: c(fe) || c(ye) })), void 0, !0)
585
- ])) : f("", !0),
592
+ t.$slots.watermark ? (s(), i("div", Wt, [
593
+ m(t.$slots, "watermark", E(D({ isPrinting: c(fe) || c(ye) })), void 0, !0)
594
+ ])) : y("", !0),
586
595
  t.$slots.source ? (s(), i("div", {
587
596
  key: 7,
588
597
  ref_key: "source",
589
- ref: Be,
598
+ ref: Ve,
590
599
  dir: "auto"
591
600
  }, [
592
601
  m(t.$slots, "source", {}, void 0, !0)
593
- ], 512)) : f("", !0),
594
- U.value ? (s(), T(xt, {
602
+ ], 512)) : y("", !0),
603
+ R.value ? (s(), T($t, {
595
604
  key: 8,
596
605
  hideDetails: "",
597
606
  config: {
598
- open: F.value.showTable,
607
+ open: S.value.showTable,
599
608
  maxHeight: 1e4,
600
609
  body: {
601
610
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -608,32 +617,32 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
608
617
  }
609
618
  }, {
610
619
  content: C(() => [
611
- (s(), T(Ct, {
620
+ (s(), T(Pt, {
612
621
  key: `table_${ie.value}`,
613
- colNames: H.value.colNames,
614
- head: H.value.head,
615
- body: H.value.body,
616
- config: H.value.config,
622
+ colNames: V.value.colNames,
623
+ head: V.value.head,
624
+ body: V.value.body,
625
+ config: V.value.config,
617
626
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
618
- onClose: a[1] || (a[1] = (l) => F.value.showTable = !1)
627
+ onClose: a[1] || (a[1] = (l) => S.value.showTable = !1)
619
628
  }, {
620
629
  th: C(({ th: l }) => [
621
630
  k("div", {
622
631
  innerHTML: l,
623
632
  style: { display: "flex", "align-items": "center" }
624
- }, null, 8, Xt)
633
+ }, null, 8, jt)
625
634
  ]),
626
635
  td: C(({ td: l }) => [
627
- ot(G(l.name || l), 1)
636
+ nt(L(l.name || l), 1)
628
637
  ]),
629
638
  _: 1
630
639
  }, 8, ["colNames", "head", "body", "config", "title"]))
631
640
  ]),
632
641
  _: 1
633
- }, 8, ["config"])) : f("", !0)
634
- ], 46, Pt));
642
+ }, 8, ["config"])) : y("", !0)
643
+ ], 46, It));
635
644
  }
636
- }, sl = /* @__PURE__ */ zt(Wt, [["__scopeId", "data-v-0106231a"]]);
645
+ }, ul = /* @__PURE__ */ Ot(qt, [["__scopeId", "data-v-0a09e1d3"]]);
637
646
  export {
638
- sl as default
647
+ ul as default
639
648
  };