vue-data-ui 2.4.57 → 2.4.59

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 (202) hide show
  1. package/README.md +82 -51
  2. package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
  3. package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
  4. package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
  5. package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
  6. package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
  7. package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
  8. package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
  9. package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
  10. package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
  11. package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
  12. package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
  13. package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
  14. package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
  15. package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
  16. package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
  17. package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
  18. package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
  19. package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
  20. package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
  21. package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
  24. package/dist/index-DaDv7p0W.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
  27. package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
  28. package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
  29. package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
  30. package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
  31. package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
  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-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
  35. package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
  36. package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
  39. package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
  42. package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
  43. package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
  44. package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
  45. package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
  46. package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
  47. package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
  48. package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
  50. package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
  51. package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
  53. package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
  54. package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
  55. package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
  56. package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
  57. package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
  58. package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
  59. package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
  60. package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
  62. package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
  63. package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
  64. package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
  65. package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
  66. package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
  67. package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
  68. package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
  69. package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
  70. package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
  72. package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
  73. package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
  74. package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
  75. package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
  76. package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
  77. package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
  78. package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
  80. package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
  81. package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
  82. package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
  83. package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
  84. package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
  85. package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
  86. package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
  87. package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
  90. package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
  92. package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
  93. package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
  94. package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
  95. package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
  96. package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
  97. package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
  100. package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
  101. package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
  102. package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
  103. package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
  108. package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
  109. package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
  110. package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
  113. package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
  118. package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
  120. package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
  121. package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
  123. package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
  126. package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
  127. package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
  128. package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
  129. package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
  130. package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
  132. package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
  134. package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
  135. package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
  136. package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
  137. package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
  138. package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
  139. package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
  142. package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
  143. package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
  144. package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
  145. package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
  146. package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
  147. package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
  148. package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
  149. package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
  150. package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
  151. package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/index-o6tXRhOr.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
  156. package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
  159. package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
  160. package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
  163. package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
  164. package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
  165. package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
  166. package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
  167. package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
  168. package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
  169. package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
  170. package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
  171. package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
  174. package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
  176. package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
  178. package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
  179. package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
  181. package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
  182. package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
  183. package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
  188. package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
  190. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
  194. package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
  195. package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
  197. package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
  199. package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
  200. package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
  202. package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
@@ -1,19 +1,20 @@
1
- import { useCssVars as _e, computed as c, onMounted as Le, ref as i, watch as Te, openBlock as s, createElementBlock as u, normalizeClass as T, normalizeStyle as $, unref as r, createBlock as A, createCommentVNode as b, createSlots as Ae, withCtx as p, renderSlot as k, normalizeProps as X, guardReactiveProps as j, createElementVNode as C, mergeProps as Y, Fragment as M, renderList as B, toDisplayString as U, createTextVNode as Ne, nextTick as ze } from "vue";
2
- import { u as Oe, o as Se, e as fe, g as Pe, c as Fe, d as De, l as Ie, i as V, f as G, X as Me, G as Be, t as Ue, q as Ve, r as Ge, F as q } from "./index-CI-N9klv.js";
3
- import { u as be } from "./useNestedProp-D1eJ0dvv.js";
4
- import { u as Re, U as Ee } from "./usePrinter-CXc8xCKk.js";
5
- import { _ as He } from "./Title-DLjHHdyq.js";
6
- import { P as Xe } from "./PenAndPaper-v846FwcH.js";
7
- import { D as je } from "./DataTable-DgbrnD__.js";
8
- import Ye from "./vue-ui-accordion-CYLks1fW.js";
9
- import { t as qe, u as We } from "./useResponsive-CoxXLe23.js";
10
- import Je from "./vue-ui-skeleton-owIhXtQF.js";
11
- import { u as Ke } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"], lt = ["stop-color"], st = ["stop-color"], ot = ["stroke", "stroke-width"], nt = ["stroke", "stroke-width"], rt = ["x", "y", "font-size", "fill", "font-weight"], ut = ["points", "fill"], it = ["stroke", "stroke-width", "rx"], ct = ["x", "y", "font-size", "fill", "font-weight"], vt = ["x", "y", "font-size", "fill", "font-weight"], dt = {
1
+ import { useCssVars as _e, computed as v, onMounted as Le, ref as c, watch as Te, openBlock as s, createElementBlock as u, normalizeClass as T, normalizeStyle as x, unref as r, createBlock as A, createCommentVNode as f, createSlots as Ae, withCtx as k, renderSlot as y, normalizeProps as H, guardReactiveProps as X, createVNode as Ne, createElementVNode as C, mergeProps as Y, Fragment as M, renderList as V, toDisplayString as B, createTextVNode as Oe, nextTick as ze } from "vue";
2
+ import { u as Se, o as Pe, e as fe, g as Fe, c as De, d as Ie, l as Me, i as U, f as E, X as Ve, G as Be, t as Ue, q as Ee, r as Ge, F as q } from "./index-B9RAElpI.js";
3
+ import { u as be } from "./useNestedProp-DuruL3Nt.js";
4
+ import { u as Re, U as je } from "./usePrinter-CwTAwqtF.js";
5
+ import { _ as He } from "./Title-zZtEcB9F.js";
6
+ import { P as Xe } from "./PenAndPaper-Dx24BtRW.js";
7
+ import { D as Ye } from "./DataTable-CFUKU8PU.js";
8
+ import qe from "./vue-ui-accordion-rNA598L6.js";
9
+ import { t as We, u as Je } from "./useResponsive-CoxXLe23.js";
10
+ import Ke from "./vue-ui-skeleton-DVYD_VSe.js";
11
+ import { u as Qe } from "./useUserOptionState-BIvW1Kz7.js";
12
+ import { _ as Ze } from "./PackageVersion-C_FFs0BP.js";
13
+ import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["id"], ot = ["stop-color"], nt = ["stop-color"], rt = ["stop-color"], ut = ["stroke", "stroke-width"], it = ["stroke", "stroke-width"], ct = ["x", "y", "font-size", "fill", "font-weight"], vt = ["points", "fill"], dt = ["stroke", "stroke-width", "rx"], ht = ["x", "y", "font-size", "fill", "font-weight"], ft = ["x", "y", "font-size", "fill", "font-weight"], bt = {
14
15
  key: 5,
15
16
  class: "vue-data-ui-watermark"
16
- }, ht = ["innerHTML"], ft = {
17
+ }, mt = ["innerHTML"], yt = {
17
18
  __name: "vue-ui-funnel",
18
19
  props: {
19
20
  config: {
@@ -31,183 +32,183 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
31
32
  },
32
33
  setup(me, { expose: ye }) {
33
34
  const m = me;
34
- _e((a) => ({
35
- "2b4b0562": xe.value
35
+ _e((t) => ({
36
+ "427f8ea6": $e.value
36
37
  }));
37
- const { vue_ui_funnel: ge } = Oe(), _ = c(() => !!m.dataset && m.dataset.length);
38
+ const { vue_ui_funnel: ge } = Se(), _ = v(() => !!m.dataset && m.dataset.length);
38
39
  Le(W);
39
40
  function W() {
40
- if (Se(m.dataset) ? fe({
41
+ if (Pe(m.dataset) ? fe({
41
42
  componentName: "VueUiFunnel",
42
43
  type: "dataset"
43
- }) : m.dataset.forEach((a, l) => {
44
- Pe({
45
- datasetObject: a,
44
+ }) : m.dataset.forEach((t, l) => {
45
+ Fe({
46
+ datasetObject: t,
46
47
  requiredAttributes: ["name", "value"]
47
- }).forEach((t) => {
48
+ }).forEach((a) => {
48
49
  _.value = !1, fe({
49
50
  componentName: "VueUiFunnel",
50
51
  type: "datasetSerieAttribute",
51
- property: t,
52
+ property: a,
52
53
  index: l
53
54
  });
54
55
  });
55
56
  }), e.value.responsive) {
56
- const a = qe(() => {
57
- const { width: l, height: t } = We({
57
+ const t = We(() => {
58
+ const { width: l, height: a } = Je({
58
59
  chart: N.value,
59
60
  title: e.value.style.chart.title.text ? te.value : null,
60
61
  source: ee.value,
61
62
  noTitle: Z.value
62
63
  });
63
- h.value.height = t, h.value.width = l, g.value = ce(), v.value.circles = q({
64
- relator: Math.min(l, t),
64
+ i.value.height = a, i.value.width = l, p.value = ce(), d.value.circles = q({
65
+ relator: Math.min(l, a),
65
66
  adjuster: 600,
66
67
  source: e.value.style.chart.circles.dataLabels.fontSize,
67
68
  threshold: 10,
68
69
  fallback: 10
69
- }), v.value.names = q({
70
- relator: Math.min(l, t),
70
+ }), d.value.names = q({
71
+ relator: Math.min(l, a),
71
72
  adjuster: 600,
72
73
  source: e.value.style.chart.bars.dataLabels.name.fontSize,
73
74
  threshold: 10,
74
75
  fallback: 10
75
- }), v.value.values = q({
76
- relator: Math.min(l, t),
76
+ }), d.value.values = q({
77
+ relator: Math.min(l, a),
77
78
  adjuster: 600,
78
79
  source: e.value.style.chart.bars.dataLabels.value.fontSize,
79
80
  threshold: 10,
80
81
  fallback: 10
81
82
  });
82
83
  });
83
- ae.value = new ResizeObserver(a), ae.value.observe(N.value.parentNode);
84
+ ae.value = new ResizeObserver(t), ae.value.observe(N.value.parentNode);
84
85
  }
85
86
  }
86
- const N = i(null), z = i(Fe()), J = i(0), K = i(0), Q = i(0), Z = i(null), ee = i(null), te = i(null), ae = i(null), w = i(!1);
87
+ const N = c(null), O = c(De()), J = c(0), K = c(0), Q = c(0), Z = c(null), ee = c(null), te = c(null), ae = c(null), w = c(!1);
87
88
  function le() {
88
- const a = be({
89
+ const t = be({
89
90
  userConfig: m.config,
90
91
  defaultConfig: ge
91
92
  });
92
- return a.theme ? {
93
+ return t.theme ? {
93
94
  ...be({
94
- userConfig: Ue.vue_ui_funnel[a.theme] || m.config,
95
- defaultConfig: a
95
+ userConfig: Ue.vue_ui_funnel[t.theme] || m.config,
96
+ defaultConfig: t
96
97
  })
97
- } : a;
98
+ } : t;
98
99
  }
99
- const e = c({
100
+ const e = v({
100
101
  get: () => le(),
101
- set: (a) => a
102
- }), { userOptionsVisible: R, setUserOptionsVisibility: se, keepUserOptionState: oe } = Ke({ config: e.value });
103
- Te(() => m.config, (a) => {
104
- e.value = le(), R.value = !e.value.showOnChartHover, W(), K.value += 1, Q.value += 1, v.value.circles = e.value.style.chart.circles.dataLabels.fontSize, v.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, v.value.values = e.value.style.chart.bars.dataLabels.value.fontSize;
102
+ set: (t) => t
103
+ }), { userOptionsVisible: G, setUserOptionsVisibility: se, keepUserOptionState: oe } = Qe({ config: e.value });
104
+ Te(() => m.config, (t) => {
105
+ e.value = le(), G.value = !e.value.showOnChartHover, W(), K.value += 1, Q.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize;
105
106
  }, { deep: !0 });
106
107
  const { isPrinting: ne, isImaging: re, generatePdf: ue, generateImage: ie } = Re({
107
- elementId: `funnel_${z.value}`,
108
+ elementId: `funnel_${O.value}`,
108
109
  fileName: e.value.style.chart.title.text || "vue-ui-funnel"
109
- }), pe = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = i({
110
+ }), pe = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = c({
110
111
  showTable: e.value.table.show
111
- }), v = i({
112
+ }), d = c({
112
113
  circles: e.value.style.chart.circles.dataLabels.fontSize,
113
114
  names: e.value.style.chart.bars.dataLabels.name.fontSize,
114
115
  values: e.value.style.chart.bars.dataLabels.value.fontSize
115
- }), h = c({
116
+ }), i = v({
116
117
  get: () => ({
117
118
  height: e.value.style.chart.height,
118
119
  width: e.value.style.chart.width
119
120
  }),
120
- set: (a) => a
121
- }), y = c(() => _.value ? m.dataset.map((a, l) => ({
122
- ...a,
123
- color: a.color ? De(a.color) : Ie(e.value.style.chart.bars.defaultColor, l / m.dataset.length)
121
+ set: (t) => t
122
+ }), g = v(() => _.value ? m.dataset.map((t, l) => ({
123
+ ...t,
124
+ color: t.color ? Ie(t.color) : Me(e.value.style.chart.bars.defaultColor, l / m.dataset.length)
124
125
  })) : []);
125
126
  setTimeout(() => {
126
127
  w.value = !0;
127
- }, y.value.length * 150);
128
+ }, g.value.length * 150);
128
129
  function ce() {
129
- const a = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
130
+ const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
130
131
  return {
131
- left: a,
132
+ left: t,
132
133
  top: l,
133
- right: h.value.width - e.value.style.chart.padding.right,
134
- bottom: h.value.height - e.value.style.chart.padding.bottom,
135
- width: h.value.width - a - e.value.style.chart.padding.right,
136
- height: h.value.height - l - e.value.style.chart.padding.bottom
134
+ right: i.value.width - e.value.style.chart.padding.right,
135
+ bottom: i.value.height - e.value.style.chart.padding.bottom,
136
+ width: i.value.width - t - e.value.style.chart.padding.right,
137
+ height: i.value.height - l - e.value.style.chart.padding.bottom
137
138
  };
138
139
  }
139
- const g = i(ce()), L = c(() => g.value.height / m.dataset.length), x = c(() => L.value * e.value.style.chart.bars.gapRatio), ve = c(() => g.value.width * e.value.style.chart.barCircleSpacingRatio), o = c(() => y.value.map((a, l) => {
140
- const t = L.value - x.value, n = g.value.top + x.value / 2 * l + (L.value - x.value / 2) * l + x.value / 2, f = a.value / y.value[0].value, d = (g.value.width - t - ve.value) * (a.value / y.value[0].value);
140
+ const p = c(ce()), L = v(() => p.value.height / m.dataset.length), $ = v(() => L.value * e.value.style.chart.bars.gapRatio), ve = v(() => p.value.width * e.value.style.chart.barCircleSpacingRatio), o = v(() => g.value.map((t, l) => {
141
+ const a = L.value - $.value, n = p.value.top + $.value / 2 * l + (L.value - $.value / 2) * l + $.value / 2, b = t.value / g.value[0].value, h = (p.value.width - a - ve.value) * (t.value / g.value[0].value);
141
142
  return {
142
- ...a,
143
- cx: g.value.left + t / 2,
144
- cy: n + t / 2,
143
+ ...t,
144
+ cx: p.value.left + a / 2,
145
+ cy: n + a / 2,
145
146
  datapointIndex: l,
146
- fill: a.color,
147
- height: Math.max(t, 0),
148
- proportion: f,
149
- r: Math.max(t / 2, 0),
150
- width: Math.max(d, 0),
151
- x: g.value.left + t + ve.value,
147
+ fill: t.color,
148
+ height: Math.max(a, 0),
149
+ proportion: b,
150
+ r: Math.max(a / 2, 0),
151
+ width: Math.max(h, 0),
152
+ x: p.value.left + a + ve.value,
152
153
  y: n
153
154
  };
154
- })), ke = c(() => {
155
- const a = o.value.map((l) => `${l.x + l.width},${l.y + (L.value - x.value) / 2}`);
156
- return `${o.value[0].x},${o.value[0].y + (L.value - x.value) / 2} ${a.toString()} ${o.value.at(-1).x},${o.value.at(-1).y + (L.value - x.value) / 2}`;
157
- }), Ce = c(() => ({
155
+ })), ke = v(() => {
156
+ const t = o.value.map((l) => `${l.x + l.width},${l.y + (L.value - $.value) / 2}`);
157
+ return `${o.value[0].x},${o.value[0].y + (L.value - $.value) / 2} ${t.toString()} ${o.value.at(-1).x},${o.value.at(-1).y + (L.value - $.value) / 2}`;
158
+ }), Ce = v(() => ({
158
159
  x1: o.value[0].cx,
159
160
  y1: o.value[0].cy,
160
161
  x2: o.value.at(-1).cx,
161
162
  y2: o.value.at(-1).cy
162
- })), O = i(!1);
163
- function we(a) {
164
- O.value = a, J.value += 1;
163
+ })), z = c(!1);
164
+ function we(t) {
165
+ z.value = t, J.value += 1;
165
166
  }
166
- const xe = c(() => `${y.value.length * 150}ms`), D = i(!1);
167
- function E() {
167
+ const $e = v(() => `${g.value.length * 150}ms`), D = c(!1);
168
+ function R() {
168
169
  D.value = !D.value;
169
170
  }
170
171
  function de() {
171
172
  F.value.showTable = !F.value.showTable;
172
173
  }
173
- const S = c(() => {
174
- const a = y.value.map((t) => ({
175
- name: t.name,
176
- color: t.color
177
- })), l = y.value.map((t) => t.value);
178
- return { head: a, body: l };
179
- }), I = c(() => {
180
- const a = [
174
+ const S = v(() => {
175
+ const t = g.value.map((a) => ({
176
+ name: a.name,
177
+ color: a.color
178
+ })), l = g.value.map((a) => a.value);
179
+ return { head: t, body: l };
180
+ }), I = v(() => {
181
+ const t = [
181
182
  e.value.table.columnNames.series,
182
183
  e.value.table.columnNames.value,
183
184
  e.value.table.columnNames.percentage
184
- ], l = S.value.head.map((f, d) => {
185
- const P = V(
185
+ ], l = S.value.head.map((b, h) => {
186
+ const P = U(
186
187
  e.value.style.chart.bars.dataLabels.value.formatter,
187
- S.value.body[d],
188
- G({
188
+ S.value.body[h],
189
+ E({
189
190
  p: e.value.style.chart.bars.dataLabels.value.prefix,
190
- v: S.value.body[d],
191
+ v: S.value.body[h],
191
192
  s: e.value.style.chart.bars.dataLabels.value.suffix,
192
193
  r: e.value.table.td.roundingValue
193
194
  }),
194
- { datapoint: o.value[d] }
195
- ), H = V(
195
+ { datapoint: o.value[h] }
196
+ ), j = U(
196
197
  e.value.style.chart.circles.dataLabels.formatter,
197
- o.value[d].proportion * 100,
198
- G({
199
- v: o.value[d].proportion * 100,
198
+ o.value[h].proportion * 100,
199
+ E({
200
+ v: o.value[h].proportion * 100,
200
201
  s: "%",
201
202
  r: e.value.table.td.roundingPercentage
202
203
  }),
203
- { datapoint: o.value[d] }
204
+ { datapoint: o.value[h] }
204
205
  );
205
206
  return [
206
- { color: f.color, name: f.name },
207
+ { color: b.color, name: b.name },
207
208
  P,
208
- H
209
+ j
209
210
  ];
210
- }), t = {
211
+ }), a = {
211
212
  th: {
212
213
  backgroundColor: e.value.table.th.backgroundColor,
213
214
  color: e.value.table.th.color,
@@ -226,35 +227,35 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
226
227
  e.value.table.columnNames.value,
227
228
  e.value.table.columnNames.percentage
228
229
  ],
229
- head: a,
230
+ head: t,
230
231
  body: l,
231
- config: t
232
+ config: a
232
233
  };
233
234
  });
234
235
  function he() {
235
236
  ze(() => {
236
- const a = S.value.head.map((n, f) => [[
237
+ const t = S.value.head.map((n, b) => [[
237
238
  n.name
238
- ], [S.value.body[f]], [o.value[f].proportion * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(a), t = Ve(l);
239
- Ge({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-funnel" });
239
+ ], [S.value.body[b]], [o.value[b].proportion * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(t), a = Ee(l);
240
+ Ge({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-funnel" });
240
241
  });
241
242
  }
242
- function $e() {
243
- return y.value;
243
+ function xe() {
244
+ return g.value;
244
245
  }
245
246
  return ye({
246
- getData: $e,
247
+ getData: xe,
247
248
  generatePdf: ue,
248
249
  generateCsv: he,
249
250
  generateImage: ie,
250
251
  toggleTable: de,
251
- toggleAnnotator: E
252
- }), (a, l) => (s(), u("div", {
252
+ toggleAnnotator: R
253
+ }), (t, l) => (s(), u("div", {
253
254
  ref_key: "funnelChart",
254
255
  ref: N,
255
- class: T(`vue-ui-funnel ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
256
- style: $(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
257
- id: `funnel_${z.value}`,
256
+ class: T(`vue-ui-funnel ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
257
+ style: x(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
258
+ id: `funnel_${O.value}`,
258
259
  onMouseenter: l[1] || (l[1] = () => r(se)(!0)),
259
260
  onMouseleave: l[2] || (l[2] = () => r(se)(!1))
260
261
  }, [
@@ -264,15 +265,15 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
264
265
  backgroundColor: e.value.style.chart.backgroundColor,
265
266
  color: e.value.style.chart.color,
266
267
  active: D.value,
267
- onClose: E
268
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : b("", !0),
268
+ onClose: R
269
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
269
270
  pe.value ? (s(), u("div", {
270
271
  key: 1,
271
272
  ref_key: "noTitle",
272
273
  ref: Z,
273
274
  class: "vue-data-ui-no-title-space",
274
275
  style: "height:36px; width: 100%;background:transparent"
275
- }, null, 512)) : b("", !0),
276
+ }, null, 512)) : f("", !0),
276
277
  e.value.style.chart.title.text ? (s(), u("div", {
277
278
  key: 2,
278
279
  ref_key: "chartTitle",
@@ -292,15 +293,15 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
292
293
  }
293
294
  }
294
295
  }, null, 8, ["config"]))
295
- ], 512)) : b("", !0),
296
- e.value.userOptions.show && _.value && (r(oe) || r(R)) ? (s(), A(Ee, {
296
+ ], 512)) : f("", !0),
297
+ e.value.userOptions.show && _.value && (r(oe) || r(G)) ? (s(), A(je, {
297
298
  ref: "details",
298
299
  key: `user_option_${J.value}`,
299
300
  backgroundColor: e.value.style.chart.backgroundColor,
300
301
  color: e.value.style.chart.color,
301
302
  isPrinting: r(ne),
302
303
  isImaging: r(re),
303
- uid: z.value,
304
+ uid: O.value,
304
305
  hasTooltip: !1,
305
306
  hasPdf: e.value.userOptions.buttons.pdf,
306
307
  hasImg: e.value.userOptions.buttons.img,
@@ -308,75 +309,88 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
308
309
  hasTable: e.value.userOptions.buttons.table,
309
310
  hasLabel: !1,
310
311
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
311
- isFullscreen: O.value,
312
+ isFullscreen: z.value,
312
313
  chartElement: N.value,
313
314
  position: e.value.userOptions.position,
314
315
  titles: { ...e.value.userOptions.buttonTitles },
315
316
  hasAnnotator: e.value.userOptions.buttons.annotator,
316
317
  isAnnotation: D.value,
317
- onToggleAnnotator: E,
318
+ onToggleAnnotator: R,
318
319
  onToggleFullscreen: we,
319
320
  onGeneratePdf: r(ue),
320
321
  onGenerateImage: r(ie),
321
322
  onToggleTable: de,
322
323
  onGenerateCsv: he,
323
- style: $({
324
- visibility: r(oe) ? r(R) ? "visible" : "hidden" : "visible"
324
+ style: x({
325
+ visibility: r(oe) ? r(G) ? "visible" : "hidden" : "visible"
325
326
  })
326
327
  }, Ae({ _: 2 }, [
327
- a.$slots.optionPdf ? {
328
+ t.$slots.optionPdf ? {
328
329
  name: "optionPdf",
329
- fn: p(() => [
330
- k(a.$slots, "optionPdf", {}, void 0, !0)
330
+ fn: k(() => [
331
+ y(t.$slots, "optionPdf", {}, void 0, !0)
331
332
  ]),
332
333
  key: "0"
333
334
  } : void 0,
334
- a.$slots.optionCsv ? {
335
+ t.$slots.optionCsv ? {
335
336
  name: "optionCsv",
336
- fn: p(() => [
337
- k(a.$slots, "optionCsv", {}, void 0, !0)
337
+ fn: k(() => [
338
+ y(t.$slots, "optionCsv", {}, void 0, !0)
338
339
  ]),
339
340
  key: "1"
340
341
  } : void 0,
341
- a.$slots.optionImg ? {
342
+ t.$slots.optionImg ? {
342
343
  name: "optionImg",
343
- fn: p(() => [
344
- k(a.$slots, "optionImg", {}, void 0, !0)
344
+ fn: k(() => [
345
+ y(t.$slots, "optionImg", {}, void 0, !0)
345
346
  ]),
346
347
  key: "2"
347
348
  } : void 0,
348
- a.$slots.optionTable ? {
349
+ t.$slots.optionTable ? {
349
350
  name: "optionTable",
350
- fn: p(() => [
351
- k(a.$slots, "optionTable", {}, void 0, !0)
351
+ fn: k(() => [
352
+ y(t.$slots, "optionTable", {}, void 0, !0)
352
353
  ]),
353
354
  key: "3"
354
355
  } : void 0,
355
- a.$slots.optionFullscreen ? {
356
+ t.$slots.optionFullscreen ? {
356
357
  name: "optionFullscreen",
357
- fn: p(({ toggleFullscreen: t, isFullscreen: n }) => [
358
- k(a.$slots, "optionFullscreen", X(j({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
358
+ fn: k(({ toggleFullscreen: a, isFullscreen: n }) => [
359
+ y(t.$slots, "optionFullscreen", H(X({ toggleFullscreen: a, isFullscreen: n })), void 0, !0)
359
360
  ]),
360
361
  key: "4"
361
362
  } : void 0,
362
- a.$slots.optionAnnotator ? {
363
+ t.$slots.optionAnnotator ? {
363
364
  name: "optionAnnotator",
364
- fn: p(({ toggleAnnotator: t, isAnnotator: n }) => [
365
- k(a.$slots, "optionAnnotator", X(j({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
365
+ fn: k(({ toggleAnnotator: a, isAnnotator: n }) => [
366
+ y(t.$slots, "optionAnnotator", H(X({ toggleAnnotator: a, isAnnotator: n })), void 0, !0)
366
367
  ]),
367
368
  key: "5"
368
369
  } : void 0
369
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
370
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
370
371
  _.value ? (s(), u("svg", {
371
372
  key: 4,
372
- xmlns: r(Me),
373
- class: T({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
374
- viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
375
- style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
373
+ xmlns: r(Ve),
374
+ class: T({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
375
+ viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
376
+ style: x(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
376
377
  }, [
378
+ Ne(Ze),
379
+ t.$slots["chart-background"] ? (s(), u("foreignObject", {
380
+ key: 0,
381
+ x: 0,
382
+ y: 0,
383
+ width: i.value.width <= 0 ? 10 : i.value.width,
384
+ height: i.value.height <= 0 ? 10 : i.value.height,
385
+ style: {
386
+ pointerEvents: "none"
387
+ }
388
+ }, [
389
+ y(t.$slots, "chart-background", {}, void 0, !0)
390
+ ], 8, lt)) : f("", !0),
377
391
  C("defs", null, [
378
392
  C("linearGradient", {
379
- id: `funnel_area_${z.value}`,
393
+ id: `funnel_area_${O.value}`,
380
394
  x1: "0%",
381
395
  x2: "100%",
382
396
  y1: "0%",
@@ -386,18 +400,18 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
386
400
  offset: "0%",
387
401
  "stop-color": e.value.style.chart.backgroundColor,
388
402
  "stop-opacity": 0
389
- }, null, 8, at),
403
+ }, null, 8, ot),
390
404
  C("stop", {
391
405
  offset: "20%",
392
406
  "stop-color": e.value.style.chart.area.color
393
- }, null, 8, lt),
407
+ }, null, 8, nt),
394
408
  C("stop", {
395
409
  offset: "100%",
396
410
  "stop-color": e.value.style.chart.area.color
397
- }, null, 8, st)
398
- ], 8, tt)
411
+ }, null, 8, rt)
412
+ ], 8, st)
399
413
  ]),
400
- e.value.style.chart.circleLinks.show ? (s(), u("line", Y({ key: 0 }, Ce.value, {
414
+ e.value.style.chart.circleLinks.show ? (s(), u("line", Y({ key: 1 }, Ce.value, {
401
415
  stroke: e.value.style.chart.circleLinks.color,
402
416
  "stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
403
417
  "stroke-linecap": "round",
@@ -405,11 +419,11 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
405
419
  animated: e.value.useCssAnimation
406
420
  },
407
421
  style: {
408
- strokeDasharray: e.value.useCssAnimation ? g.value.height : 0,
409
- strokeDashoffset: e.value.useCssAnimation ? g.value.height : 0
422
+ strokeDasharray: e.value.useCssAnimation ? p.value.height : 0,
423
+ strokeDashoffset: e.value.useCssAnimation ? p.value.height : 0
410
424
  }
411
- }), null, 16, ot)) : b("", !0),
412
- (s(!0), u(M, null, B(o.value, ({ cx: t, cy: n, r: f, fill: d }, P) => (s(), u("circle", Y({ cx: t, cy: n, r: f, fill: d }, {
425
+ }), null, 16, ut)) : f("", !0),
426
+ (s(!0), u(M, null, V(o.value, ({ cx: a, cy: n, r: b, fill: h }, P) => (s(), u("circle", Y({ cx: a, cy: n, r: b, fill: h }, {
413
427
  stroke: e.value.style.chart.circles.stroke,
414
428
  "stroke-width": e.value.style.chart.circles.strokeWidth,
415
429
  class: {
@@ -418,42 +432,42 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
418
432
  style: {
419
433
  animationDelay: `${150 * P}ms`
420
434
  }
421
- }), null, 16, nt))), 256)),
422
- (s(!0), u(M, null, B(o.value, (t, n) => (s(), u("text", {
423
- x: t.cx,
424
- y: t.cy + v.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
435
+ }), null, 16, it))), 256)),
436
+ (s(!0), u(M, null, V(o.value, (a, n) => (s(), u("text", {
437
+ x: a.cx,
438
+ y: a.cy + d.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
425
439
  "text-anchor": "middle",
426
- "font-size": v.value.circles,
427
- fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? r(Be)(t.color) : e.value.style.chart.circles.dataLabels.color,
440
+ "font-size": d.value.circles,
441
+ fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? r(Be)(a.color) : e.value.style.chart.circles.dataLabels.color,
428
442
  "font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
429
443
  class: T({
430
444
  animated: e.value.useCssAnimation && !w.value
431
445
  }),
432
- style: $({
446
+ style: x({
433
447
  animationDelay: `${150 * n}ms`
434
448
  })
435
- }, U(r(V)(
449
+ }, B(r(U)(
436
450
  e.value.style.chart.circles.dataLabels.formatter,
437
- t.proportion * 100,
438
- r(G)({
439
- v: t.proportion * 100,
451
+ a.proportion * 100,
452
+ r(E)({
453
+ v: a.proportion * 100,
440
454
  s: "%",
441
455
  r: e.value.style.chart.circles.dataLabels.rounding
442
456
  }),
443
- { datapoint: t }
444
- )), 15, rt))), 256)),
457
+ { datapoint: a }
458
+ )), 15, ct))), 256)),
445
459
  e.value.style.chart.area.show ? (s(), u("polygon", {
446
- key: 1,
460
+ key: 2,
447
461
  points: ke.value,
448
- fill: `url(#funnel_area_${z.value})`,
462
+ fill: `url(#funnel_area_${O.value})`,
449
463
  class: T({
450
464
  animated: e.value.useCssAnimation && !w.value
451
465
  }),
452
- style: $({
453
- transition: e.value.useCssAnimation ? `all ${150 * y.value.length}ms ease-in` : "none"
466
+ style: x({
467
+ transition: e.value.useCssAnimation ? `all ${150 * g.value.length}ms ease-in` : "none"
454
468
  })
455
- }, null, 14, ut)) : b("", !0),
456
- (s(!0), u(M, null, B(o.value, ({ x: t, y: n, height: f, width: d, fill: P }, H) => (s(), u("rect", Y({ x: t, y: n, height: f, width: d, fill: P }, {
469
+ }, null, 14, vt)) : f("", !0),
470
+ (s(!0), u(M, null, V(o.value, ({ x: a, y: n, height: b, width: h, fill: P }, j) => (s(), u("rect", Y({ x: a, y: n, height: b, width: h, fill: P }, {
457
471
  stroke: e.value.style.chart.bars.stroke,
458
472
  "stroke-width": e.value.style.chart.bars.strokeWidth,
459
473
  rx: e.value.style.chart.bars.borderRadius,
@@ -461,55 +475,55 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
461
475
  animated: e.value.useCssAnimation && !w.value
462
476
  },
463
477
  style: {
464
- animationDelay: `${150 * H}ms`
478
+ animationDelay: `${150 * j}ms`
465
479
  }
466
- }), null, 16, it))), 256)),
467
- (s(!0), u(M, null, B(o.value, (t, n) => (s(), u("g", null, [
480
+ }), null, 16, dt))), 256)),
481
+ (s(!0), u(M, null, V(o.value, (a, n) => (s(), u("g", null, [
468
482
  C("text", {
469
- x: t.x + t.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
470
- y: t.cy - v.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
483
+ x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
484
+ y: a.cy - d.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
471
485
  "text-anchor": "start",
472
- "font-size": v.value.names,
486
+ "font-size": d.value.names,
473
487
  fill: e.value.style.chart.bars.dataLabels.name.color,
474
488
  "font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
475
489
  class: T({
476
490
  animated: e.value.useCssAnimation && !w.value
477
491
  }),
478
- style: $({
492
+ style: x({
479
493
  animationDelay: `${150 * n}ms`
480
494
  })
481
- }, U(t.name), 15, ct),
495
+ }, B(a.name), 15, ht),
482
496
  C("text", {
483
- x: t.x + t.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
484
- y: t.cy + v.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
497
+ x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
498
+ y: a.cy + d.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
485
499
  "text-anchor": "start",
486
- "font-size": v.value.values,
500
+ "font-size": d.value.values,
487
501
  fill: e.value.style.chart.bars.dataLabels.value.color,
488
502
  "font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
489
503
  class: T({
490
504
  animated: e.value.useCssAnimation && !w.value
491
505
  }),
492
- style: $({
506
+ style: x({
493
507
  animationDelay: `${150 * n}ms`
494
508
  })
495
- }, U(r(V)(
509
+ }, B(r(U)(
496
510
  e.value.style.chart.bars.dataLabels.value.formatter,
497
- t.value,
498
- r(G)({
511
+ a.value,
512
+ r(E)({
499
513
  p: e.value.style.chart.bars.dataLabels.value.prefix,
500
- v: t.value,
514
+ v: a.value,
501
515
  s: e.value.style.chart.bars.dataLabels.value.suffix,
502
516
  r: e.value.style.chart.bars.dataLabels.value.rounding
503
517
  }),
504
- { datapoint: t }
505
- )), 15, vt)
518
+ { datapoint: a }
519
+ )), 15, ft)
506
520
  ]))), 256)),
507
- k(a.$slots, "svg", { svg: h.value }, void 0, !0)
508
- ], 14, et)) : b("", !0),
509
- a.$slots.watermark ? (s(), u("div", dt, [
510
- k(a.$slots, "watermark", X(j({ isPrinting: r(ne) || r(re) })), void 0, !0)
511
- ])) : b("", !0),
512
- _.value ? b("", !0) : (s(), A(Je, {
521
+ y(t.$slots, "svg", { svg: i.value }, void 0, !0)
522
+ ], 14, at)) : f("", !0),
523
+ t.$slots.watermark ? (s(), u("div", bt, [
524
+ y(t.$slots, "watermark", H(X({ isPrinting: r(ne) || r(re) })), void 0, !0)
525
+ ])) : f("", !0),
526
+ _.value ? f("", !0) : (s(), A(Ke, {
513
527
  key: 6,
514
528
  config: {
515
529
  type: "verticalBar",
@@ -524,15 +538,15 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
524
538
  }
525
539
  }
526
540
  }, null, 8, ["config"])),
527
- a.$slots.source ? (s(), u("div", {
541
+ t.$slots.source ? (s(), u("div", {
528
542
  key: 7,
529
543
  ref_key: "source",
530
544
  ref: ee,
531
545
  dir: "auto"
532
546
  }, [
533
- k(a.$slots, "source", {}, void 0, !0)
534
- ], 512)) : b("", !0),
535
- _.value ? (s(), A(Ye, {
547
+ y(t.$slots, "source", {}, void 0, !0)
548
+ ], 512)) : f("", !0),
549
+ _.value ? (s(), A(qe, {
536
550
  key: 8,
537
551
  hideDetails: "",
538
552
  config: {
@@ -548,33 +562,33 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
548
562
  }
549
563
  }
550
564
  }, {
551
- content: p(() => [
552
- (s(), A(je, {
565
+ content: k(() => [
566
+ (s(), A(Ye, {
553
567
  key: `table_${Q.value}`,
554
568
  colNames: I.value.colNames,
555
569
  head: I.value.head,
556
570
  body: I.value.body,
557
571
  config: I.value.config,
558
572
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
559
- onClose: l[0] || (l[0] = (t) => F.value.showTable = !1)
573
+ onClose: l[0] || (l[0] = (a) => F.value.showTable = !1)
560
574
  }, {
561
- th: p(({ th: t }) => [
575
+ th: k(({ th: a }) => [
562
576
  C("div", {
563
- innerHTML: t,
577
+ innerHTML: a,
564
578
  style: { display: "flex", "align-items": "center" }
565
- }, null, 8, ht)
579
+ }, null, 8, mt)
566
580
  ]),
567
- td: p(({ td: t }) => [
568
- Ne(U(t.name ? t.name : t), 1)
581
+ td: k(({ td: a }) => [
582
+ Oe(B(a.name ? a.name : a), 1)
569
583
  ]),
570
584
  _: 1
571
585
  }, 8, ["colNames", "head", "body", "config", "title"]))
572
586
  ]),
573
587
  _: 1
574
- }, 8, ["config"])) : b("", !0)
575
- ], 46, Ze));
588
+ }, 8, ["config"])) : f("", !0)
589
+ ], 46, tt));
576
590
  }
577
- }, Tt = /* @__PURE__ */ Qe(ft, [["__scopeId", "data-v-11626943"]]);
591
+ }, zt = /* @__PURE__ */ et(yt, [["__scopeId", "data-v-bf9e380b"]]);
578
592
  export {
579
- Tt as default
593
+ zt as default
580
594
  };