vue-data-ui 2.4.51 → 2.4.52

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 (178) hide show
  1. package/dist/{Arrow-BUz63pb2.js → Arrow-BuBoE64l.js} +1 -1
  2. package/dist/{Arrow-2a_SwBgz.cjs → Arrow-CFlFdPC5.cjs} +1 -1
  3. package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
  4. package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-zmxwsaLW.js} +1 -1
  5. package/dist/{DataTable-DGf6RrOJ.js → DataTable-COkA4Nyz.js} +2 -2
  6. package/dist/{DataTable-G3ICK-5h.cjs → DataTable-CwAdpLng.cjs} +1 -1
  7. package/dist/{Legend-BiuPlEMg.cjs → Legend-CR9ydX8N.cjs} +1 -1
  8. package/dist/{Legend-BLaZxMge.js → Legend-bYlSC7I7.js} +1 -1
  9. package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
  10. package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Dz3KcTL4.js} +1 -1
  11. package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-BycdTwSP.js} +3 -3
  12. package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
  13. package/dist/{Shape-yducHWd0.cjs → Shape-BBp5EwJH.cjs} +1 -1
  14. package/dist/{Shape-DIKzzpFm.js → Shape-BDJJ38uM.js} +1 -1
  15. package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
  16. package/dist/{Slicer-Cxdl3cDt.js → Slicer-D_DaIThC.js} +2 -2
  17. package/dist/{Title-Bk_55doC.cjs → Title-B7ruS8yl.cjs} +1 -1
  18. package/dist/{Title-aSAft5dl.js → Title-aMb2ETf7.js} +1 -1
  19. package/dist/{Tooltip-smutPF--.js → Tooltip-BRZ3DT4p.js} +1 -1
  20. package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-BqSN71SL.cjs} +1 -1
  21. package/dist/{index-DhDYBLBe.cjs → index-BkXYJDpD.cjs} +1 -1
  22. package/dist/{index-BbPeL8Gp.js → index-K5uyh1gA.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
  25. package/dist/{useNestedProp-BN8claGG.js → useNestedProp-DifqJZAs.js} +1 -1
  26. package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-DHv-BwME.cjs} +1 -1
  27. package/dist/{usePrinter-DaybDVqP.js → usePrinter-p_ZZlGc9.js} +1 -1
  28. package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-3PlAeIlX.js} +60 -60
  29. package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-wDYs3sVe.js → vue-ui-3d-bar-PrijRaoI.js} +30 -30
  33. package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-VQyMytda.cjs} +2 -2
  34. package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
  35. package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
  36. package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
  37. package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-DFYykOow.js} +42 -42
  38. package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
  39. package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
  40. package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
  41. package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-Ybz4qPWl.js} +41 -41
  42. package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BxcwK8UI.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-DsVBdCz_.js} +61 -61
  44. package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-C2ThrWYt.js} +50 -50
  45. package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
  46. package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-BacH0ZYK.js} +66 -66
  47. package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-Cw8LKuZG.cjs} +3 -3
  48. package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
  49. package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
  51. package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
  52. package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
  53. package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-CyTjq_oN.js} +2 -2
  54. package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
  55. package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-BxLlCBhU.js} +57 -57
  56. package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +66 -66
  57. package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
  58. package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-D0PjpD19.js} +46 -46
  60. package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-BuTJcn6b.js} +43 -43
  61. package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
  62. package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-CxO1aav3.js} +59 -59
  63. package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
  64. package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-B2uwYVgz.js} +54 -54
  65. package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
  66. package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
  67. package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-CqhJx__t.js} +70 -70
  68. package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
  69. package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
  70. package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
  71. package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-DLNzJh--.js} +87 -87
  72. package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CH2mN74k.js} +75 -75
  73. package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
  74. package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
  75. package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-BAwzIU19.js} +52 -52
  79. package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
  80. package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-BXOWHB57.js} +35 -35
  82. package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-D1EF5IEw.cjs} +2 -2
  83. package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-F1pwFa1Y.js} +90 -90
  84. package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-C9dEaRbc.js} +52 -52
  85. package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-nA8sXxh-.cjs} +2 -2
  86. package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +62 -62
  87. package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs} +2 -2
  88. package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-C_hJHr9T.js} +50 -50
  89. package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-C5v_8Kpw.cjs} +1 -1
  91. package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-D4k-zSan.js} +9 -9
  92. package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
  93. package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-WKQ-TavD.js} +59 -59
  94. package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-BrSnMkzF.js} +2 -2
  95. package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
  96. package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-DzZ5H4og.js} +56 -56
  98. package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-1qwg2E0O.cjs} +2 -2
  99. package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-43dY-4_7.js} +65 -65
  100. package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
  101. package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-q6Sfqa4W.js} +102 -102
  102. package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
  103. package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
  106. package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
  107. package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
  114. package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
  115. package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
  116. package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
  117. package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
  118. package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
  120. package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-BeXW23yH.js} +43 -43
  121. package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
  122. package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
  123. package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-CG-wp65N.js} +78 -78
  124. package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
  125. package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BzuWkWse.js} +1 -1
  126. package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
  127. package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-obAYC2HB.js} +38 -38
  128. package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-YV8DUOqh.js → vue-ui-table-sparkline-CW0-ubzl.js} +293 -247
  130. package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-BmgPuIr6.js} +74 -74
  131. package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
  132. package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-6eWSNYld.js} +5 -5
  133. package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
  134. package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-DeEI5TAa.js} +46 -46
  135. package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
  136. package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
  137. package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-tlPZye6M.js} +91 -91
  138. package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BIst1a32.js} +67 -67
  139. package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-CCXF79YU.cjs} +2 -2
  140. package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
  141. package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-iJT4g4Ht.js} +48 -48
  142. package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
  143. package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-v1_jsNWp.js} +36 -36
  144. package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-DR8E1ArH.js} +66 -66
  146. package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-BZ3lbw6i.js} +14 -14
  147. package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-CvFWhRR-.cjs} +1 -1
  148. package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-BVw3zOIC.cjs} +2 -2
  149. package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-hPcU2SBK.js} +53 -53
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
  152. package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
  153. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
  154. package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
  155. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
  156. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
  157. package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
  158. package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
  159. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
  160. package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
  161. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
  162. package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
  163. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
  164. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
  165. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
  166. package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
  167. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
  168. package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
  169. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
  170. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
  171. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
  173. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
  174. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
  175. package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
  176. package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
  177. package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
  178. package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
@@ -1,13 +1,13 @@
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 H, Fragment as M, renderList as B, toDisplayString as U, createTextVNode as Ne, nextTick as ze } from "vue";
2
- import { u as Se, o as Oe, 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 Y } from "./index-BbPeL8Gp.js";
3
- import { u as be } from "./useNestedProp-BN8claGG.js";
4
- import { u as Re, U as Ee } from "./usePrinter-DaybDVqP.js";
5
- import { _ as Xe } from "./Title-aSAft5dl.js";
6
- import { P as je } from "./PenAndPaper-ZdZEumki.js";
7
- import { D as He } from "./DataTable-DGf6RrOJ.js";
8
- import Ye from "./vue-ui-accordion-5d5iVpr7.js";
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-K5uyh1gA.js";
3
+ import { u as be } from "./useNestedProp-DifqJZAs.js";
4
+ import { u as Re, U as Ee } from "./usePrinter-p_ZZlGc9.js";
5
+ import { _ as He } from "./Title-aMb2ETf7.js";
6
+ import { P as Xe } from "./PenAndPaper-BycdTwSP.js";
7
+ import { D as je } from "./DataTable-COkA4Nyz.js";
8
+ import Ye from "./vue-ui-accordion-CsJT7Az3.js";
9
9
  import { t as qe, u as We } from "./useResponsive-CoxXLe23.js";
10
- import Je from "./vue-ui-skeleton-Bniq21d9.js";
10
+ import Je from "./vue-ui-skeleton-BhA2lIT6.js";
11
11
  import { u as Ke } from "./useUserOptionState-BIvW1Kz7.js";
12
12
  import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
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 = {
@@ -32,12 +32,12 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
32
32
  setup(me, { expose: ye }) {
33
33
  const m = me;
34
34
  _e((a) => ({
35
- "5fd0b76e": xe.value
35
+ "2b4b0562": xe.value
36
36
  }));
37
- const { vue_ui_funnel: ge } = Se(), _ = c(() => !!m.dataset && m.dataset.length);
38
- Le(q);
39
- function q() {
40
- if (Oe(m.dataset) ? fe({
37
+ const { vue_ui_funnel: ge } = Oe(), _ = c(() => !!m.dataset && m.dataset.length);
38
+ Le(W);
39
+ function W() {
40
+ if (Se(m.dataset) ? fe({
41
41
  componentName: "VueUiFunnel",
42
42
  type: "dataset"
43
43
  }) : m.dataset.forEach((a, l) => {
@@ -56,23 +56,23 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
56
56
  const a = qe(() => {
57
57
  const { width: l, height: t } = We({
58
58
  chart: N.value,
59
- title: e.value.style.chart.title.text ? ee.value : null,
60
- source: Z.value,
61
- noTitle: Q.value
59
+ title: e.value.style.chart.title.text ? te.value : null,
60
+ source: ee.value,
61
+ noTitle: Z.value
62
62
  });
63
- h.value.height = t, h.value.width = l, g.value = ce(), v.value.circles = Y({
63
+ h.value.height = t, h.value.width = l, g.value = ce(), v.value.circles = q({
64
64
  relator: Math.min(l, t),
65
65
  adjuster: 600,
66
66
  source: e.value.style.chart.circles.dataLabels.fontSize,
67
67
  threshold: 10,
68
68
  fallback: 10
69
- }), v.value.names = Y({
69
+ }), v.value.names = q({
70
70
  relator: Math.min(l, t),
71
71
  adjuster: 600,
72
72
  source: e.value.style.chart.bars.dataLabels.name.fontSize,
73
73
  threshold: 10,
74
74
  fallback: 10
75
- }), v.value.values = Y({
75
+ }), v.value.values = q({
76
76
  relator: Math.min(l, t),
77
77
  adjuster: 600,
78
78
  source: e.value.style.chart.bars.dataLabels.value.fontSize,
@@ -80,11 +80,11 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
80
80
  fallback: 10
81
81
  });
82
82
  });
83
- te.value = new ResizeObserver(a), te.value.observe(N.value.parentNode);
83
+ ae.value = new ResizeObserver(a), ae.value.observe(N.value.parentNode);
84
84
  }
85
85
  }
86
- const N = i(null), z = i(Fe()), W = i(0), J = i(0), K = i(0), Q = i(null), Z = i(null), ee = i(null), te = i(null), w = i(!1);
87
- function ae() {
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
+ function le() {
88
88
  const a = be({
89
89
  userConfig: m.config,
90
90
  defaultConfig: ge
@@ -97,11 +97,11 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
97
97
  } : a;
98
98
  }
99
99
  const e = c({
100
- get: () => ae(),
100
+ get: () => le(),
101
101
  set: (a) => a
102
- }), { userOptionsVisible: le, setUserOptionsVisibility: se, keepUserOptionState: oe } = Ke({ config: e.value });
102
+ }), { userOptionsVisible: R, setUserOptionsVisibility: se, keepUserOptionState: oe } = Ke({ config: e.value });
103
103
  Te(() => m.config, (a) => {
104
- e.value = ae(), q(), J.value += 1, K.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;
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;
105
105
  }, { deep: !0 });
106
106
  const { isPrinting: ne, isImaging: re, generatePdf: ue, generateImage: ie } = Re({
107
107
  elementId: `funnel_${z.value}`,
@@ -159,18 +159,18 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
159
159
  y1: o.value[0].cy,
160
160
  x2: o.value.at(-1).cx,
161
161
  y2: o.value.at(-1).cy
162
- })), S = i(!1);
162
+ })), O = i(!1);
163
163
  function we(a) {
164
- S.value = a, W.value += 1;
164
+ O.value = a, J.value += 1;
165
165
  }
166
166
  const xe = c(() => `${y.value.length * 150}ms`), D = i(!1);
167
- function R() {
167
+ function E() {
168
168
  D.value = !D.value;
169
169
  }
170
170
  function de() {
171
171
  F.value.showTable = !F.value.showTable;
172
172
  }
173
- const O = c(() => {
173
+ const S = c(() => {
174
174
  const a = y.value.map((t) => ({
175
175
  name: t.name,
176
176
  color: t.color
@@ -181,18 +181,18 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
181
181
  e.value.table.columnNames.series,
182
182
  e.value.table.columnNames.value,
183
183
  e.value.table.columnNames.percentage
184
- ], l = O.value.head.map((f, d) => {
184
+ ], l = S.value.head.map((f, d) => {
185
185
  const P = V(
186
186
  e.value.style.chart.bars.dataLabels.value.formatter,
187
- O.value.body[d],
187
+ S.value.body[d],
188
188
  G({
189
189
  p: e.value.style.chart.bars.dataLabels.value.prefix,
190
- v: O.value.body[d],
190
+ v: S.value.body[d],
191
191
  s: e.value.style.chart.bars.dataLabels.value.suffix,
192
192
  r: e.value.table.td.roundingValue
193
193
  }),
194
194
  { datapoint: o.value[d] }
195
- ), E = V(
195
+ ), H = V(
196
196
  e.value.style.chart.circles.dataLabels.formatter,
197
197
  o.value[d].proportion * 100,
198
198
  G({
@@ -205,7 +205,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
205
205
  return [
206
206
  { color: f.color, name: f.name },
207
207
  P,
208
- E
208
+ H
209
209
  ];
210
210
  }), t = {
211
211
  th: {
@@ -233,9 +233,9 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
233
233
  });
234
234
  function he() {
235
235
  ze(() => {
236
- const a = O.value.head.map((n, f) => [[
236
+ const a = S.value.head.map((n, f) => [[
237
237
  n.name
238
- ], [O.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);
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
239
  Ge({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-funnel" });
240
240
  });
241
241
  }
@@ -248,39 +248,39 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
248
248
  generateCsv: he,
249
249
  generateImage: ie,
250
250
  toggleTable: de,
251
- toggleAnnotator: R
251
+ toggleAnnotator: E
252
252
  }), (a, l) => (s(), u("div", {
253
253
  ref_key: "funnelChart",
254
254
  ref: N,
255
- class: T(`vue-ui-funnel ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
255
+ class: T(`vue-ui-funnel ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
256
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
257
  id: `funnel_${z.value}`,
258
258
  onMouseenter: l[1] || (l[1] = () => r(se)(!0)),
259
259
  onMouseleave: l[2] || (l[2] = () => r(se)(!1))
260
260
  }, [
261
- e.value.userOptions.buttons.annotator ? (s(), A(je, {
261
+ e.value.userOptions.buttons.annotator ? (s(), A(Xe, {
262
262
  key: 0,
263
263
  parent: N.value,
264
264
  backgroundColor: e.value.style.chart.backgroundColor,
265
265
  color: e.value.style.chart.color,
266
266
  active: D.value,
267
- onClose: R
267
+ onClose: E
268
268
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : b("", !0),
269
269
  pe.value ? (s(), u("div", {
270
270
  key: 1,
271
271
  ref_key: "noTitle",
272
- ref: Q,
272
+ ref: Z,
273
273
  class: "vue-data-ui-no-title-space",
274
274
  style: "height:36px; width: 100%;background:transparent"
275
275
  }, null, 512)) : b("", !0),
276
276
  e.value.style.chart.title.text ? (s(), u("div", {
277
277
  key: 2,
278
278
  ref_key: "chartTitle",
279
- ref: ee,
279
+ ref: te,
280
280
  style: "width:100%;background:transparent;padding-bottom:24px"
281
281
  }, [
282
- (s(), A(Xe, {
283
- key: `title_${J.value}`,
282
+ (s(), A(He, {
283
+ key: `title_${K.value}`,
284
284
  config: {
285
285
  title: {
286
286
  cy: "funnel-div-title",
@@ -293,9 +293,9 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
293
293
  }
294
294
  }, null, 8, ["config"]))
295
295
  ], 512)) : b("", !0),
296
- e.value.userOptions.show && _.value && (r(oe) || r(le)) ? (s(), A(Ee, {
296
+ e.value.userOptions.show && _.value && (r(oe) || r(R)) ? (s(), A(Ee, {
297
297
  ref: "details",
298
- key: `user_option_${W.value}`,
298
+ key: `user_option_${J.value}`,
299
299
  backgroundColor: e.value.style.chart.backgroundColor,
300
300
  color: e.value.style.chart.color,
301
301
  isPrinting: r(ne),
@@ -308,20 +308,20 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
308
308
  hasTable: e.value.userOptions.buttons.table,
309
309
  hasLabel: !1,
310
310
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
311
- isFullscreen: S.value,
311
+ isFullscreen: O.value,
312
312
  chartElement: N.value,
313
313
  position: e.value.userOptions.position,
314
314
  titles: { ...e.value.userOptions.buttonTitles },
315
315
  hasAnnotator: e.value.userOptions.buttons.annotator,
316
316
  isAnnotation: D.value,
317
- onToggleAnnotator: R,
317
+ onToggleAnnotator: E,
318
318
  onToggleFullscreen: we,
319
319
  onGeneratePdf: r(ue),
320
320
  onGenerateImage: r(ie),
321
321
  onToggleTable: de,
322
322
  onGenerateCsv: he,
323
323
  style: $({
324
- visibility: r(oe) ? r(le) ? "visible" : "hidden" : "visible"
324
+ visibility: r(oe) ? r(R) ? "visible" : "hidden" : "visible"
325
325
  })
326
326
  }, Ae({ _: 2 }, [
327
327
  a.$slots.optionPdf ? {
@@ -370,7 +370,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
370
370
  _.value ? (s(), u("svg", {
371
371
  key: 4,
372
372
  xmlns: r(Me),
373
- class: T({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
373
+ class: T({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
374
374
  viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
375
375
  style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
376
376
  }, [
@@ -397,7 +397,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
397
397
  }, null, 8, st)
398
398
  ], 8, tt)
399
399
  ]),
400
- e.value.style.chart.circleLinks.show ? (s(), u("line", H({ key: 0 }, Ce.value, {
400
+ e.value.style.chart.circleLinks.show ? (s(), u("line", Y({ key: 0 }, Ce.value, {
401
401
  stroke: e.value.style.chart.circleLinks.color,
402
402
  "stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
403
403
  "stroke-linecap": "round",
@@ -409,7 +409,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
409
409
  strokeDashoffset: e.value.useCssAnimation ? g.value.height : 0
410
410
  }
411
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", H({ cx: t, cy: n, r: f, fill: d }, {
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 }, {
413
413
  stroke: e.value.style.chart.circles.stroke,
414
414
  "stroke-width": e.value.style.chart.circles.strokeWidth,
415
415
  class: {
@@ -453,7 +453,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
453
453
  transition: e.value.useCssAnimation ? `all ${150 * y.value.length}ms ease-in` : "none"
454
454
  })
455
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 }, E) => (s(), u("rect", H({ x: t, y: n, height: f, width: d, fill: P }, {
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 }, {
457
457
  stroke: e.value.style.chart.bars.stroke,
458
458
  "stroke-width": e.value.style.chart.bars.strokeWidth,
459
459
  rx: e.value.style.chart.bars.borderRadius,
@@ -461,7 +461,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
461
461
  animated: e.value.useCssAnimation && !w.value
462
462
  },
463
463
  style: {
464
- animationDelay: `${150 * E}ms`
464
+ animationDelay: `${150 * H}ms`
465
465
  }
466
466
  }), null, 16, it))), 256)),
467
467
  (s(!0), u(M, null, B(o.value, (t, n) => (s(), u("g", null, [
@@ -527,7 +527,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
527
527
  a.$slots.source ? (s(), u("div", {
528
528
  key: 7,
529
529
  ref_key: "source",
530
- ref: Z,
530
+ ref: ee,
531
531
  dir: "auto"
532
532
  }, [
533
533
  k(a.$slots, "source", {}, void 0, !0)
@@ -549,8 +549,8 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
549
549
  }
550
550
  }, {
551
551
  content: p(() => [
552
- (s(), A(He, {
553
- key: `table_${K.value}`,
552
+ (s(), A(je, {
553
+ key: `table_${Q.value}`,
554
554
  colNames: I.value.colNames,
555
555
  head: I.value.head,
556
556
  body: I.value.body,
@@ -574,7 +574,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
574
574
  }, 8, ["config"])) : b("", !0)
575
575
  ], 46, Ze));
576
576
  }
577
- }, Tt = /* @__PURE__ */ Qe(ft, [["__scopeId", "data-v-d6b244bd"]]);
577
+ }, Tt = /* @__PURE__ */ Qe(ft, [["__scopeId", "data-v-11626943"]]);
578
578
  export {
579
579
  Tt as default
580
580
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-BkXYJDpD.cjs"),W=require("./useNestedProp-C6IvqE-r.cjs"),J=require("./usePrinter-DHv-BwME.cjs"),se=require("./Title-B7ruS8yl.cjs"),ue=require("./PenAndPaper-DDheVRNG.cjs"),ie=require("./DataTable-CwAdpLng.cjs"),ce=require("./vue-ui-accordion-kr18wKfc.cjs"),K=require("./useResponsive-BJ7DTGpm.cjs"),ve=require("./vue-ui-skeleton-BTN1PKkz.cjs"),de=require("./useUserOptionState-BgepsfED.cjs"),he=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),me=["id"],fe=["xmlns","viewBox"],pe=["id"],be=["stop-color"],ye=["stop-color"],ge=["stop-color"],ke=["stroke","stroke-width"],Ce=["stroke","stroke-width"],we=["x","y","font-size","fill","font-weight"],xe=["points","fill"],Le=["stroke","stroke-width","rx"],Be=["x","y","font-size","fill","font-weight"],$e=["x","y","font-size","fill","font-weight"],Se={key:5,class:"vue-data-ui-watermark"},_e=["innerHTML"],Ne={__name:"vue-ui-funnel",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(Q,{expose:Z}){const d=Q;e.useCssVars(l=>({"2b4b0562":re.value}));const{vue_ui_funnel:ee}=r.useConfig(),b=e.computed(()=>!!d.dataset&&d.dataset.length);e.onMounted(z);function z(){if(r.objectIsEmpty(d.dataset)?r.error({componentName:"VueUiFunnel",type:"dataset"}):d.dataset.forEach((l,o)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","value"]}).forEach(a=>{b.value=!1,r.error({componentName:"VueUiFunnel",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=K.throttle(()=>{const{width:o,height:a}=K.useResponsive({chart:g.value,title:t.value.style.chart.title.text?O.value:null,source:V.value,noTitle:E.value});c.value.height=a,c.value.width=o,m.value=H(),u.value.circles=r.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.circles.dataLabels.fontSize,threshold:10,fallback:10}),u.value.names=r.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.bars.dataLabels.name.fontSize,threshold:10,fallback:10}),u.value.values=r.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.bars.dataLabels.value.fontSize,threshold:10,fallback:10})});D.value=new ResizeObserver(l),D.value.observe(g.value.parentNode)}}const g=e.ref(null),k=e.ref(r.createUid()),T=e.ref(0),A=e.ref(0),P=e.ref(0),E=e.ref(null),V=e.ref(null),O=e.ref(null),D=e.ref(null),f=e.ref(!1);function F(){const l=W.useNestedProp({userConfig:d.config,defaultConfig:ee});return l.theme?{...W.useNestedProp({userConfig:r.themes.vue_ui_funnel[l.theme]||d.config,defaultConfig:l})}:l}const t=e.computed({get:()=>F(),set:l=>l}),{userOptionsVisible:S,setUserOptionsVisibility:I,keepUserOptionState:M}=de.useUserOptionState({config:t.value});e.watch(()=>d.config,l=>{t.value=F(),S.value=!t.value.showOnChartHover,z(),A.value+=1,P.value+=1,u.value.circles=t.value.style.chart.circles.dataLabels.fontSize,u.value.names=t.value.style.chart.bars.dataLabels.name.fontSize,u.value.values=t.value.style.chart.bars.dataLabels.value.fontSize},{deep:!0});const{isPrinting:q,isImaging:R,generatePdf:U,generateImage:G}=J.usePrinter({elementId:`funnel_${k.value}`,fileName:t.value.style.chart.title.text||"vue-ui-funnel"}),te=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),L=e.ref({showTable:t.value.table.show}),u=e.ref({circles:t.value.style.chart.circles.dataLabels.fontSize,names:t.value.style.chart.bars.dataLabels.name.fontSize,values:t.value.style.chart.bars.dataLabels.value.fontSize}),c=e.computed({get:()=>({height:t.value.style.chart.height,width:t.value.style.chart.width}),set:l=>l}),h=e.computed(()=>b.value?d.dataset.map((l,o)=>({...l,color:l.color?r.convertColorToHex(l.color):r.lightenHexColor(t.value.style.chart.bars.defaultColor,o/d.dataset.length)})):[]);setTimeout(()=>{f.value=!0},h.value.length*150);function H(){const l=t.value.style.chart.padding.left,o=t.value.style.chart.padding.top;return{left:l,top:o,right:c.value.width-t.value.style.chart.padding.right,bottom:c.value.height-t.value.style.chart.padding.bottom,width:c.value.width-l-t.value.style.chart.padding.right,height:c.value.height-o-t.value.style.chart.padding.bottom}}const m=e.ref(H()),y=e.computed(()=>m.value.height/d.dataset.length),p=e.computed(()=>y.value*t.value.style.chart.bars.gapRatio),j=e.computed(()=>m.value.width*t.value.style.chart.barCircleSpacingRatio),n=e.computed(()=>h.value.map((l,o)=>{const a=y.value-p.value,s=m.value.top+p.value/2*o+(y.value-p.value/2)*o+p.value/2,v=l.value/h.value[0].value,i=(m.value.width-a-j.value)*(l.value/h.value[0].value);return{...l,cx:m.value.left+a/2,cy:s+a/2,datapointIndex:o,fill:l.color,height:Math.max(a,0),proportion:v,r:Math.max(a/2,0),width:Math.max(i,0),x:m.value.left+a+j.value,y:s}})),ae=e.computed(()=>{const l=n.value.map(o=>`${o.x+o.width},${o.y+(y.value-p.value)/2}`);return`${n.value[0].x},${n.value[0].y+(y.value-p.value)/2} ${l.toString()} ${n.value.at(-1).x},${n.value.at(-1).y+(y.value-p.value)/2}`}),le=e.computed(()=>({x1:n.value[0].cx,y1:n.value[0].cy,x2:n.value.at(-1).cx,y2:n.value.at(-1).cy})),C=e.ref(!1);function oe(l){C.value=l,T.value+=1}const re=e.computed(()=>`${h.value.length*150}ms`),B=e.ref(!1);function _(){B.value=!B.value}function X(){L.value.showTable=!L.value.showTable}const w=e.computed(()=>{const l=h.value.map(a=>({name:a.name,color:a.color})),o=h.value.map(a=>a.value);return{head:l,body:o}}),$=e.computed(()=>{const l=[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],o=w.value.head.map((v,i)=>{const x=r.applyDataLabel(t.value.style.chart.bars.dataLabels.value.formatter,w.value.body[i],r.dataLabel({p:t.value.style.chart.bars.dataLabels.value.prefix,v:w.value.body[i],s:t.value.style.chart.bars.dataLabels.value.suffix,r:t.value.table.td.roundingValue}),{datapoint:n.value[i]}),N=r.applyDataLabel(t.value.style.chart.circles.dataLabels.formatter,n.value[i].proportion*100,r.dataLabel({v:n.value[i].proportion*100,s:"%",r:t.value.table.td.roundingPercentage}),{datapoint:n.value[i]});return[{color:v.color,name:v.name},x,N]}),a={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],head:l,body:o,config:a}});function Y(){e.nextTick(()=>{const l=w.value.head.map((s,v)=>[[s.name],[w.value.body[v]],[n.value[v].proportion*100]]),o=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[t.value.table.columnNames.series],[t.value.table.columnNames.value],["%"]]].concat(l),a=r.createCsvContent(o);r.downloadCsv({csvContent:a,title:t.value.style.chart.title.text||"vue-ui-funnel"})})}function ne(){return h.value}return Z({getData:ne,generatePdf:U,generateCsv:Y,generateImage:G,toggleTable:X,toggleAnnotator:_}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"funnelChart",ref:g,class:e.normalizeClass(`vue-ui-funnel ${C.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; ${t.value.responsive?"height:100%;":""} text-align:center;background:${t.value.style.chart.backgroundColor}`),id:`funnel_${k.value}`,onMouseenter:o[1]||(o[1]=()=>e.unref(I)(!0)),onMouseleave:o[2]||(o[2]=()=>e.unref(I)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ue.PenAndPaper,{key:0,parent:g.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:B.value,onClose:_},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),te.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:E,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:O,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(se._sfc_main,{key:`title_${A.value}`,config:{title:{cy:"funnel-div-title",...t.value.style.chart.title},subtitle:{cy:"funnel-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value&&(e.unref(M)||e.unref(S))?(e.openBlock(),e.createBlock(J.UserOptions,{ref:"details",key:`user_option_${T.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(q),isImaging:e.unref(R),uid:k.value,hasTooltip:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasLabel:!1,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:C.value,chartElement:g.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:B.value,onToggleAnnotator:_,onToggleFullscreen:oe,onGeneratePdf:e.unref(U),onGenerateImage:e.unref(G),onToggleTable:X,onGenerateCsv:Y,style:e.normalizeStyle({visibility:e.unref(M)?e.unref(S)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:s})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:s})),void 0,!0)]),key:"4"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:s})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:s})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","chartElement","position","titles","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":C.value,"vue-data-ui-fulscreen--off":!C.value}),viewBox:`0 0 ${c.value.width<=0?10:c.value.width} ${c.value.height<=0?10:c.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`funnel_area_${k.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.chart.backgroundColor,"stop-opacity":0},null,8,be),e.createElementVNode("stop",{offset:"20%","stop-color":t.value.style.chart.area.color},null,8,ye),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.chart.area.color},null,8,ge)],8,pe)]),t.value.style.chart.circleLinks.show?(e.openBlock(),e.createElementBlock("line",e.mergeProps({key:0},le.value,{stroke:t.value.style.chart.circleLinks.color,"stroke-width":12*t.value.style.chart.circleLinks.widthRatio,"stroke-linecap":"round",class:{animated:t.value.useCssAnimation},style:{strokeDasharray:t.value.useCssAnimation?m.value.height:0,strokeDashoffset:t.value.useCssAnimation?m.value.height:0}}),null,16,ke)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,({cx:a,cy:s,r:v,fill:i},x)=>(e.openBlock(),e.createElementBlock("circle",e.mergeProps({cx:a,cy:s,r:v,fill:i},{stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth,class:{animated:t.value.useCssAnimation&&!f.value},style:{animationDelay:`${150*x}ms`}}),null,16,Ce))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(a,s)=>(e.openBlock(),e.createElementBlock("text",{x:a.cx,y:a.cy+u.value.circles/3+t.value.style.chart.circles.dataLabels.offsetY,"text-anchor":"middle","font-size":u.value.circles,fill:t.value.style.chart.circles.dataLabels.adaptColorToBackground?e.unref(r.adaptColorToBackground)(a.color):t.value.style.chart.circles.dataLabels.color,"font-weight":t.value.style.chart.circles.dataLabels.bold?"bold":"normal",class:e.normalizeClass({animated:t.value.useCssAnimation&&!f.value}),style:e.normalizeStyle({animationDelay:`${150*s}ms`})},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.circles.dataLabels.formatter,a.proportion*100,e.unref(r.dataLabel)({v:a.proportion*100,s:"%",r:t.value.style.chart.circles.dataLabels.rounding}),{datapoint:a})),15,we))),256)),t.value.style.chart.area.show?(e.openBlock(),e.createElementBlock("polygon",{key:1,points:ae.value,fill:`url(#funnel_area_${k.value})`,class:e.normalizeClass({animated:t.value.useCssAnimation&&!f.value}),style:e.normalizeStyle({transition:t.value.useCssAnimation?`all ${150*h.value.length}ms ease-in`:"none"})},null,14,xe)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,({x:a,y:s,height:v,width:i,fill:x},N)=>(e.openBlock(),e.createElementBlock("rect",e.mergeProps({x:a,y:s,height:v,width:i,fill:x},{stroke:t.value.style.chart.bars.stroke,"stroke-width":t.value.style.chart.bars.strokeWidth,rx:t.value.style.chart.bars.borderRadius,class:{animated:t.value.useCssAnimation&&!f.value},style:{animationDelay:`${150*N}ms`}}),null,16,Le))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(a,s)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("text",{x:a.x+a.width+t.value.style.chart.bars.dataLabels.name.offsetX+12,y:a.cy-u.value.names/2+t.value.style.chart.bars.dataLabels.name.offsetY,"text-anchor":"start","font-size":u.value.names,fill:t.value.style.chart.bars.dataLabels.name.color,"font-weight":t.value.style.chart.bars.dataLabels.name.bold?"bold":"normal",class:e.normalizeClass({animated:t.value.useCssAnimation&&!f.value}),style:e.normalizeStyle({animationDelay:`${150*s}ms`})},e.toDisplayString(a.name),15,Be),e.createElementVNode("text",{x:a.x+a.width+t.value.style.chart.bars.dataLabels.value.offsetX+12,y:a.cy+u.value.values+t.value.style.chart.bars.dataLabels.value.offsetY,"text-anchor":"start","font-size":u.value.values,fill:t.value.style.chart.bars.dataLabels.value.color,"font-weight":t.value.style.chart.bars.dataLabels.value.bold?"bold":"normal",class:e.normalizeClass({animated:t.value.useCssAnimation&&!f.value}),style:e.normalizeStyle({animationDelay:`${150*s}ms`})},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.bars.dataLabels.value.formatter,a.value,e.unref(r.dataLabel)({p:t.value.style.chart.bars.dataLabels.value.prefix,v:a.value,s:t.value.style.chart.bars.dataLabels.value.suffix,r:t.value.style.chart.bars.dataLabels.value.rounding}),{datapoint:a})),15,$e)]))),256)),e.renderSlot(l.$slots,"svg",{svg:c.value},void 0,!0)],14,fe)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Se,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(q)||e.unref(R)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ve.default,{key:6,config:{type:"verticalBar",style:{backgroundColor:t.value.style.chart.backgroundColor,verticalBar:{axis:{color:"#CCCCCC"},color:"#CCCCCC"}}}},null,8,["config"])),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:V,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createBlock(ce.default,{key:8,hideDetails:"",config:{open:L.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ie.DataTable,{key:`table_${P.value}`,colNames:$.value.colNames,head:$.value.head,body:$.value.body,config:$.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[0]||(o[0]=a=>L.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a,style:{display:"flex","align-items":"center"}},null,8,_e)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a.name?a.name:a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,me))}},ze=he._export_sfc(Ne,[["__scopeId","data-v-11626943"]]);exports.default=ze;