vue-data-ui 3.26.5 → 3.27.0

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 (200) hide show
  1. package/dist/{Arrow-BQbcOtfC.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BCFCiP_6.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CIK6Sqo3.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-Doa5rYP2.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-BGQM8B5F.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-Cb7qpvFt.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-B6LDCXBz.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-CwdgCb7Q.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-D9FGXIbQ.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-9T4MSwXC.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-CslTvFsC.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-C1EcBgJW.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BZgQLgu5.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-DyYv_G-_.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-D4cRlyuq.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-Bd98RysU.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-DmQeI5WE.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-B_yBcZ1-.js → UserOptions-CORYQiif.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-B_RJohlM.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-C-JlvWAt.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img-KURaWjZI.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-DShv2Mbg.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-TWIH5fGr.js → lib-D4wK6ljP.js} +127 -133
  95. package/dist/{package-DbTqd5lc.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CLl24Afl.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-CKv-jztN.js → render-common-BtfjXdkJ.js} +10 -10
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +212 -59
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-BxOdWM0c.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-8Y1Rju0Y.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-C3G5Zdl5.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-Cl6-fBV8.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-AyyZDab3.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-DOtWAL8s.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-BCVjlojM.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-B_1Ctjvq.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-KvhjbAxt.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-ArMiO0cG.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-DSM0U27X.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-64akfaem.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-CaR_aNEh.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-DCgqYZiz.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-8uKK0Rlp.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DeccYtSY.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-BvK7bVuJ.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-8joMj08Z.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-DgITf95R.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-U2L4ZYhB.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-DD20fJu_.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-VZFZnHPv.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-DeDQ6ubl.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-D5oUKIsP.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-DONFacXR.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-BMy_y9S6.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bol0OWs3.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-cwjXaEDQ.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-kdpasmXb.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-ZmGGEvRk.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-D6IKPpL-.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-CueHa1Pm.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-C8ZxX1Zw.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-V_OnJN9Y.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-Bf9IKwDr.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton-dyXWT6JX.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-w6nH1I0E.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-Bso9bwmY.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-CL06Yt56.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-BHDM5Hbr.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-znaswFQj.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BOzVoWoa.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-qcLrNL09.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-D295mJIf.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-CXeMKqKz.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-BULpjYiI.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-B7bTeU8h.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-DkqDz9W4.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-Cn7WBzqh.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-Cy7kBvEx.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-tRqc2ZMR.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-B755-zji.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-BiHIJ7rK.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-DGuMC_Rf.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DWYTZz_v.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  184. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  185. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  186. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  187. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  189. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  190. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
  192. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  193. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  194. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  195. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  197. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  198. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  200. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
@@ -0,0 +1,749 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { $ as t, D as n, Ft as r, S as i, X as a, at as ee, i as o, nt as te, r as ne, t as re, tn as ie, yt as ae, zt as oe } from "./lib-D4wK6ljP.js";
3
+ import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
+ import { t as le } from "./useConfig-D_6ZrPMD.js";
5
+ import { t as ue } from "./usePrinter-DdW2GSm0.js";
6
+ import { t as de } from "./useNestedProp-DR_8JPol.js";
7
+ import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as pe } from "./useChartExport-iwOqiIWX.js";
9
+ import { t as me } from "./img-Bb5rHcpO.js";
10
+ import { n as he } from "./Title-BMCuINbv.js";
11
+ import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { l as _e, t as ve } from "./useResponsive-ZtArZtUf.js";
13
+ import { t as ye } from "./DefGrad-DVBqDjhO.js";
14
+ import { t as be } from "./useUserOptionState-DK-_1ddE.js";
15
+ import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
16
+ import { t as Se } from "./usePrefersMotion-BC-CsqR1.js";
17
+ import { t as Ce } from "./vue_ui_funnel-_Og4EEkO.js";
18
+ import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as we, createTextVNode as Te, createVNode as Ee, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as h, nextTick as De, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Oe, onMounted as ke, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ae, shallowRef as je, toDisplayString as C, unref as w, useCssVars as Me, watch as Ne, withCtx as T } from "vue";
19
+ //#region src/components/vue-ui-funnel.vue
20
+ var Pe = /* @__PURE__ */ e({ default: () => qe }), Fe = ["id"], Ie = ["xmlns", "viewBox"], Le = ["width", "height"], Re = ["stroke", "stroke-width"], ze = ["stroke", "stroke-width"], Be = [
21
+ "x",
22
+ "y",
23
+ "font-size",
24
+ "fill",
25
+ "font-weight"
26
+ ], Ve = ["points", "fill"], He = [
27
+ "stroke",
28
+ "stroke-width",
29
+ "rx"
30
+ ], Ue = [
31
+ "x",
32
+ "y",
33
+ "font-size",
34
+ "fill",
35
+ "font-weight"
36
+ ], We = [
37
+ "x",
38
+ "y",
39
+ "font-size",
40
+ "fill",
41
+ "font-weight"
42
+ ], Ge = {
43
+ key: 5,
44
+ class: "vue-data-ui-watermark"
45
+ }, Ke = { style: {
46
+ display: "flex",
47
+ "align-items": "center"
48
+ } }, qe = /*#__PURE__*/ ge({
49
+ __name: "vue-ui-funnel",
50
+ props: {
51
+ config: {
52
+ type: Object,
53
+ default() {
54
+ return {};
55
+ }
56
+ },
57
+ dataset: {
58
+ type: Array,
59
+ default() {
60
+ return [];
61
+ }
62
+ }
63
+ },
64
+ emits: ["copyAlt"],
65
+ setup(e, { expose: ge, emit: Pe }) {
66
+ Me((e) => ({ f4d91444: kt.value }));
67
+ let qe = p(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Je = p(() => import("./vue-ui-skeleton-t7e6KEZ2.js").then((e) => e.n)), Ye = p(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Xe = p(() => import("./DataTable-CjF_An2h.js")), Ze = p(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Qe = p(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), $e = p(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), et = p(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_funnel: tt } = le(), { isThemeValid: nt, warnInvalidTheme: rt } = fe(), E = Se(), D = e, it = Pe, O = b(null), k = b(a()), at = b(0), ot = b(0), st = b(0), ct = b(null), lt = b(null), ut = b(null), A = je(null), j = je(null), M = b(!1), N = b(null), dt = b(null), P = c(() => !!D.dataset && D.dataset.length);
68
+ ke(mt), Oe(() => {
69
+ A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
70
+ });
71
+ function ft() {
72
+ let e = de({
73
+ userConfig: D.config,
74
+ defaultConfig: tt
75
+ }), t = e.theme;
76
+ if (!t) return e;
77
+ if (!nt.value(e)) return rt(e), e;
78
+ let n = de({
79
+ userConfig: Ce[t] || D.config,
80
+ defaultConfig: e
81
+ });
82
+ return de({
83
+ userConfig: D.config,
84
+ defaultConfig: n
85
+ });
86
+ }
87
+ let F = c({
88
+ get: () => ft(),
89
+ set: (e) => e
90
+ }), pt = c(() => F.value.debug), I = c(() => F.value.style.chart.bars), L = c(() => F.value.style.chart.circles), R = c(() => F.value.style.chart);
91
+ function mt() {
92
+ if (oe(D.dataset) ? ee({
93
+ componentName: "VueUiFunnel",
94
+ type: "dataset",
95
+ debug: pt.value
96
+ }) : D.dataset.forEach((e, t) => {
97
+ ae({
98
+ datasetObject: e,
99
+ requiredAttributes: ["name", "value"]
100
+ }).forEach((e) => {
101
+ P.value = !1, ee({
102
+ componentName: "VueUiFunnel",
103
+ type: "datasetSerieAttribute",
104
+ property: e,
105
+ index: t,
106
+ debug: pt.value
107
+ });
108
+ });
109
+ }), F.value.responsive) {
110
+ let e = _e(() => {
111
+ let { width: e, height: t } = ve({
112
+ chart: O.value,
113
+ title: R.value.title.text ? ut.value : null,
114
+ source: lt.value,
115
+ noTitle: ct.value
116
+ });
117
+ requestAnimationFrame(() => {
118
+ H.value.height = t, H.value.width = e, W.value = wt(), F.value.responsiveProportionalSizing ? (V.value.circles = ie({
119
+ relator: Math.min(e, t),
120
+ adjuster: 600,
121
+ source: L.value.dataLabels.fontSize,
122
+ threshold: 10,
123
+ fallback: 10
124
+ }), V.value.names = ie({
125
+ relator: Math.min(e, t),
126
+ adjuster: 600,
127
+ source: I.value.dataLabels.name.fontSize,
128
+ threshold: 10,
129
+ fallback: 10
130
+ }), V.value.values = ie({
131
+ relator: Math.min(e, t),
132
+ adjuster: 600,
133
+ source: I.value.dataLabels.value.fontSize,
134
+ threshold: 10,
135
+ fallback: 10
136
+ })) : (V.value.circles = L.value.dataLabels.fontSize, V.value.names = I.value.dataLabels.name.fontSize, V.value.values = I.value.dataLabels.value.fontSize);
137
+ });
138
+ });
139
+ A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = O.value.parentNode, A.value.observe(j.value);
140
+ }
141
+ }
142
+ se({
143
+ config: () => F.value,
144
+ dataset: () => D.dataset,
145
+ component: "VueUiFunnel",
146
+ rules: [ce.emptyArray, {
147
+ test: (e) => e.length > 10,
148
+ message: [
149
+ "👀 The dataset has a length > 10. Consider:",
150
+ "",
151
+ "▶️ Aggregating some datapoints into broader categories"
152
+ ]
153
+ }]
154
+ });
155
+ let ht = c(() => F.value.userOptions.useCursorPointer), { userOptionsVisible: gt, setUserOptionsVisibility: _t, keepUserOptionState: vt } = be({ config: F.value }), { svgRef: yt } = xe({ config: R.value.title });
156
+ Ne(() => D.config, (e) => {
157
+ F.value = ft(), gt.value = !F.value.userOptions.showOnChartHover, mt(), ot.value += 1, st.value += 1, V.value.circles = L.value.dataLabels.fontSize, V.value.names = I.value.dataLabels.name.fontSize, V.value.values = I.value.dataLabels.value.fontSize, B.value.showTable = F.value.table.show;
158
+ }, { deep: !0 });
159
+ let { isPrinting: bt, isImaging: z, generatePdf: xt, generateImage: St } = ue({
160
+ elementId: `funnel_${k.value}`,
161
+ fileName: R.value.title.text || "vue-ui-funnel",
162
+ options: F.value.userOptions.print
163
+ }), Ct = c(() => F.value.userOptions.show && !R.value.title.text), B = b({ showTable: F.value.table.show }), V = b({
164
+ circles: L.value.dataLabels.fontSize,
165
+ names: I.value.dataLabels.name.fontSize,
166
+ values: I.value.dataLabels.value.fontSize
167
+ }), H = c({
168
+ get: () => ({
169
+ height: R.value.height,
170
+ width: R.value.width
171
+ }),
172
+ set: (e) => e
173
+ }), U = c(() => P.value ? D.dataset.map((e, t) => ({
174
+ ...e,
175
+ color: e.color ? i(e.color) : r(I.value.defaultColor, t / D.dataset.length)
176
+ })) : []);
177
+ setTimeout(() => {
178
+ M.value = !0;
179
+ }, U.value.length * 150);
180
+ function wt() {
181
+ let e = R.value.padding.left, t = R.value.padding.top;
182
+ return {
183
+ left: e,
184
+ top: t,
185
+ right: H.value.width - R.value.padding.right,
186
+ bottom: H.value.height - R.value.padding.bottom,
187
+ width: H.value.width - e - R.value.padding.right,
188
+ height: H.value.height - t - R.value.padding.bottom
189
+ };
190
+ }
191
+ let W = b(wt()), G = c(() => W.value.height / D.dataset.length), K = c(() => G.value * I.value.gapRatio), Tt = c(() => W.value.width * R.value.barCircleSpacingRatio), q = c(() => U.value.map((e, t) => {
192
+ let n = G.value - K.value, r = W.value.top + K.value / 2 * t + (G.value - K.value / 2) * t + K.value / 2, i = e.value / U.value[0].value, a = (W.value.width - n - Tt.value) * (e.value / U.value[0].value);
193
+ return {
194
+ ...e,
195
+ cx: W.value.left + n / 2,
196
+ cy: r + n / 2,
197
+ datapointIndex: t,
198
+ fill: e.color,
199
+ height: Math.max(n, 0),
200
+ proportion: i,
201
+ r: Math.max(n / 2, 0),
202
+ width: Math.max(a, 0),
203
+ x: W.value.left + n + Tt.value,
204
+ y: r
205
+ };
206
+ })), Et = c(() => {
207
+ let e = q.value.map((e) => `${e.x + e.width},${e.y + (G.value - K.value) / 2}`);
208
+ return `${q.value[0].x},${q.value[0].y + (G.value - K.value) / 2} ${e.toString()} ${q.value.at(-1).x},${q.value.at(-1).y + (G.value - K.value) / 2}`;
209
+ }), Dt = c(() => ({
210
+ x1: q.value[0].cx,
211
+ y1: q.value[0].cy,
212
+ x2: q.value.at(-1).cx,
213
+ y2: q.value.at(-1).cy
214
+ })), J = b(!1);
215
+ function Ot(e) {
216
+ J.value = e, at.value += 1;
217
+ }
218
+ let kt = c(() => `${U.value.length * 150}ms`), Y = b(!1);
219
+ function At() {
220
+ Y.value = !Y.value;
221
+ }
222
+ function jt() {
223
+ B.value.showTable = !B.value.showTable;
224
+ }
225
+ let X = c(() => ({
226
+ head: U.value.map((e) => ({
227
+ name: e.name,
228
+ color: e.color
229
+ })),
230
+ body: U.value.map((e) => e.value)
231
+ })), Z = c(() => {
232
+ let e = [
233
+ F.value.table.columnNames.series,
234
+ F.value.table.columnNames.value,
235
+ F.value.table.columnNames.percentage
236
+ ], n = X.value.head.map((e, n) => {
237
+ let r = o(I.value.dataLabels.value.formatter, X.value.body[n], t({
238
+ p: I.value.dataLabels.value.prefix,
239
+ v: X.value.body[n],
240
+ s: I.value.dataLabels.value.suffix,
241
+ r: F.value.table.td.roundingValue
242
+ }), { datapoint: q.value[n] }), i = o(L.value.dataLabels.formatter, q.value[n].proportion * 100, t({
243
+ v: q.value[n].proportion * 100,
244
+ s: "%",
245
+ r: F.value.table.td.roundingPercentage
246
+ }), { datapoint: q.value[n] });
247
+ return [
248
+ {
249
+ color: e.color,
250
+ name: e.name
251
+ },
252
+ r,
253
+ i
254
+ ];
255
+ }), r = {
256
+ th: {
257
+ backgroundColor: F.value.table.th.backgroundColor,
258
+ color: F.value.table.th.color,
259
+ outline: F.value.table.th.outline
260
+ },
261
+ td: {
262
+ backgroundColor: F.value.table.td.backgroundColor,
263
+ color: F.value.table.td.color,
264
+ outline: F.value.table.td.outline
265
+ },
266
+ breakpoint: F.value.table.responsiveBreakpoint
267
+ };
268
+ return {
269
+ colNames: [
270
+ F.value.table.columnNames.series,
271
+ F.value.table.columnNames.value,
272
+ F.value.table.columnNames.percentage
273
+ ],
274
+ head: e,
275
+ body: n,
276
+ config: r
277
+ };
278
+ });
279
+ function Q(e = null) {
280
+ De(() => {
281
+ let t = X.value.head.map((e, t) => [
282
+ [e.name],
283
+ [X.value.body[t]],
284
+ [q.value[t].proportion * 100]
285
+ ]), r = [
286
+ [R.value.title.text],
287
+ [R.value.title.subtitle.text],
288
+ [
289
+ [F.value.table.columnNames.series],
290
+ [F.value.table.columnNames.value],
291
+ ["%"]
292
+ ]
293
+ ].concat(t), i = n(r);
294
+ e ? e(i) : te({
295
+ csvContent: i,
296
+ title: R.value.title.text || "vue-ui-funnel"
297
+ });
298
+ });
299
+ }
300
+ function Mt() {
301
+ return U.value;
302
+ }
303
+ async function Nt({ scale: e = 2 } = {}) {
304
+ if (!O.value) return;
305
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
306
+ domElement: O.value,
307
+ base64: !0,
308
+ img: !0,
309
+ scale: e
310
+ });
311
+ return {
312
+ imageUri: i,
313
+ base64: a,
314
+ title: R.value.title.text,
315
+ width: t,
316
+ height: n,
317
+ aspectRatio: r
318
+ };
319
+ }
320
+ let $ = c(() => {
321
+ let e = F.value.table.useDialog && !F.value.table.show, t = B.value.showTable;
322
+ return {
323
+ component: e ? et : Ye,
324
+ title: `${R.value.title.text}${R.value.title.subtitle.text ? `: ${R.value.title.subtitle.text}` : ""}`,
325
+ props: e ? {
326
+ backgroundColor: F.value.table.th.backgroundColor,
327
+ color: F.value.table.th.color,
328
+ headerColor: F.value.table.th.color,
329
+ headerBg: F.value.table.th.backgroundColor,
330
+ isFullscreen: J.value,
331
+ fullscreenParent: O.value,
332
+ forcedWidth: Math.min(800, window.innerWidth * .8)
333
+ } : {
334
+ hideDetails: !0,
335
+ config: {
336
+ open: t,
337
+ maxHeight: 1e4,
338
+ body: {
339
+ backgroundColor: R.value.backgroundColor,
340
+ color: R.value.color
341
+ },
342
+ head: {
343
+ backgroundColor: R.value.backgroundColor,
344
+ color: R.value.color
345
+ }
346
+ }
347
+ }
348
+ };
349
+ });
350
+ Ne(() => B.value.showTable, (e) => {
351
+ F.value.table.show || (e && F.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
352
+ });
353
+ function Pt() {
354
+ B.value.showTable = !1, dt.value && dt.value.setTableIconState(!1);
355
+ }
356
+ let Ft = c(() => R.value.backgroundColor), It = c(() => R.value.title), { isCallbackImaging: Lt, isCallbackSvg: Rt, generateSvg: zt, onGenerateImage: Bt } = pe({
357
+ svg: yt,
358
+ title: It,
359
+ legend: null,
360
+ legendItems: null,
361
+ backgroundColor: Ft,
362
+ getSvgCallback: () => F.value.userOptions.callbacks.svg,
363
+ generateImage: St
364
+ });
365
+ async function Vt() {
366
+ if (it("copyAlt", {
367
+ config: F.value,
368
+ dataset: U.value
369
+ }), !F.value.userOptions.callbacks.altCopy) {
370
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
371
+ return;
372
+ }
373
+ await Promise.resolve(F.value.userOptions.callbacks.altCopy({
374
+ config: F.value,
375
+ dataset: U.value
376
+ }));
377
+ }
378
+ return ge({
379
+ getData: Mt,
380
+ getImage: Nt,
381
+ generatePdf: xt,
382
+ generateCsv: Q,
383
+ generateImage: St,
384
+ generateSvg: zt,
385
+ toggleTable: jt,
386
+ toggleAnnotator: At,
387
+ toggleFullscreen: Ot,
388
+ copyAlt: Vt
389
+ }), (e, n) => (y(), d("div", {
390
+ ref_key: "funnelChart",
391
+ ref: O,
392
+ class: g(`vue-data-ui-component vue-ui-funnel ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
393
+ style: v(`font-family:${F.value.style.fontFamily};width:100%; ${F.value.responsive ? "height:100%;" : ""} text-align:center;background:${R.value.backgroundColor}`),
394
+ id: `funnel_${k.value}`,
395
+ onMouseenter: n[1] ||= () => w(_t)(!0),
396
+ onMouseleave: n[2] ||= () => w(_t)(!1)
397
+ }, [
398
+ F.value.userOptions.buttons.annotator ? (y(), l(w(Qe), {
399
+ key: 0,
400
+ svgRef: w(yt),
401
+ backgroundColor: R.value.backgroundColor,
402
+ color: R.value.color,
403
+ active: Y.value,
404
+ isCursorPointer: ht.value,
405
+ palette: F.value.userOptions.annotatorPalette,
406
+ onClose: At
407
+ }, {
408
+ "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
409
+ "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(m({ color: t })), void 0, !0)]),
410
+ "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(m({ mode: t })), void 0, !0)]),
411
+ "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(m({ disabled: t })), void 0, !0)]),
412
+ "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(m({ disabled: t })), void 0, !0)]),
413
+ "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(m({ disabled: t })), void 0, !0)]),
414
+ _: 3
415
+ }, 8, [
416
+ "svgRef",
417
+ "backgroundColor",
418
+ "color",
419
+ "active",
420
+ "isCursorPointer",
421
+ "palette"
422
+ ])) : u("", !0),
423
+ Ct.value ? (y(), d("div", {
424
+ key: 1,
425
+ ref_key: "noTitle",
426
+ ref: ct,
427
+ class: "vue-data-ui-no-title-space",
428
+ style: "height:36px; width: 100%;background:transparent"
429
+ }, null, 512)) : u("", !0),
430
+ R.value.title.text ? (y(), d("div", {
431
+ key: 2,
432
+ ref_key: "chartTitle",
433
+ ref: ut,
434
+ style: "width:100%;background:transparent;padding-bottom:24px"
435
+ }, [(y(), l(he, {
436
+ key: `title_${ot.value}`,
437
+ config: {
438
+ title: {
439
+ cy: "funnel-div-title",
440
+ ...R.value.title
441
+ },
442
+ subtitle: {
443
+ cy: "funnel-div-subtitle",
444
+ ...R.value.title.subtitle
445
+ }
446
+ }
447
+ }, null, 8, ["config"]))], 512)) : u("", !0),
448
+ F.value.userOptions.show && P.value && (w(vt) || w(gt)) ? (y(), l(w(Ze), {
449
+ ref_key: "userOptionsRef",
450
+ ref: dt,
451
+ key: `user_option_${at.value}`,
452
+ backgroundColor: R.value.backgroundColor,
453
+ color: R.value.color,
454
+ isPrinting: w(bt),
455
+ isImaging: w(z),
456
+ uid: k.value,
457
+ hasTooltip: !1,
458
+ hasPdf: F.value.userOptions.buttons.pdf,
459
+ hasImg: F.value.userOptions.buttons.img,
460
+ hasSvg: F.value.userOptions.buttons.svg,
461
+ hasXls: F.value.userOptions.buttons.csv,
462
+ hasTable: F.value.userOptions.buttons.table,
463
+ hasLabel: !1,
464
+ hasFullscreen: F.value.userOptions.buttons.fullscreen,
465
+ hasAltCopy: F.value.userOptions.buttons.altCopy,
466
+ isFullscreen: J.value,
467
+ chartElement: O.value,
468
+ position: F.value.userOptions.position,
469
+ titles: { ...F.value.userOptions.buttonTitles },
470
+ hasAnnotator: F.value.userOptions.buttons.annotator,
471
+ isAnnotation: Y.value,
472
+ callbacks: F.value.userOptions.callbacks,
473
+ printScale: F.value.userOptions.print.scale,
474
+ tableDialog: F.value.table.useDialog,
475
+ isCursorPointer: ht.value,
476
+ onToggleAnnotator: At,
477
+ onToggleFullscreen: Ot,
478
+ onGeneratePdf: w(xt),
479
+ onGenerateImage: w(Bt),
480
+ onGenerateSvg: w(zt),
481
+ onToggleTable: jt,
482
+ onGenerateCsv: Q,
483
+ onCopyAlt: Vt,
484
+ style: v({ visibility: w(vt) ? w(gt) ? "visible" : "hidden" : "visible" })
485
+ }, we({ _: 2 }, [
486
+ e.$slots.menuIcon ? {
487
+ name: "menuIcon",
488
+ fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(m({
489
+ isOpen: t,
490
+ color: n
491
+ })), void 0, !0)]),
492
+ key: "0"
493
+ } : void 0,
494
+ e.$slots.optionPdf ? {
495
+ name: "optionPdf",
496
+ fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
497
+ key: "1"
498
+ } : void 0,
499
+ e.$slots.optionCsv ? {
500
+ name: "optionCsv",
501
+ fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
502
+ key: "2"
503
+ } : void 0,
504
+ e.$slots.optionImg ? {
505
+ name: "optionImg",
506
+ fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
507
+ key: "3"
508
+ } : void 0,
509
+ e.$slots.optionSvg ? {
510
+ name: "optionSvg",
511
+ fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
512
+ key: "4"
513
+ } : void 0,
514
+ e.$slots.optionTable ? {
515
+ name: "optionTable",
516
+ fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
517
+ key: "5"
518
+ } : void 0,
519
+ e.$slots.optionFullscreen ? {
520
+ name: "optionFullscreen",
521
+ fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(m({
522
+ toggleFullscreen: t,
523
+ isFullscreen: n
524
+ })), void 0, !0)]),
525
+ key: "6"
526
+ } : void 0,
527
+ e.$slots.optionAnnotator ? {
528
+ name: "optionAnnotator",
529
+ fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(m({
530
+ toggleAnnotator: t,
531
+ isAnnotator: n
532
+ })), void 0, !0)]),
533
+ key: "7"
534
+ } : void 0,
535
+ e.$slots.optionAltCopy ? {
536
+ name: "optionAltCopy",
537
+ fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(m({ altCopy: t })), void 0, !0)]),
538
+ key: "8"
539
+ } : void 0,
540
+ e.$slots["custom-menu-before"] ? {
541
+ name: "custom-menu-before",
542
+ fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
543
+ key: "9"
544
+ } : void 0,
545
+ e.$slots["custom-menu-after"] ? {
546
+ name: "custom-menu-after",
547
+ fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
548
+ key: "10"
549
+ } : void 0
550
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : u("", !0),
551
+ P.value ? (y(), d("svg", {
552
+ key: 4,
553
+ ref_key: "svgRef",
554
+ ref: yt,
555
+ xmlns: w(re),
556
+ class: g({
557
+ "vue-data-ui-fullscreen--on": J.value,
558
+ "vue-data-ui-fulscreen--off": !J.value
559
+ }),
560
+ viewBox: `0 0 ${H.value.width <= 0 ? 10 : H.value.width} ${H.value.height <= 0 ? 10 : H.value.height}`,
561
+ style: v(`max-width:100%; overflow: visible; background:transparent;color:${R.value.color}`)
562
+ }, [
563
+ Ee(w($e)),
564
+ e.$slots["chart-background"] ? (y(), d("foreignObject", {
565
+ key: 0,
566
+ x: 0,
567
+ y: 0,
568
+ width: H.value.width <= 0 ? 10 : H.value.width,
569
+ height: H.value.height <= 0 ? 10 : H.value.height,
570
+ style: { pointerEvents: "none" }
571
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Le)) : u("", !0),
572
+ f("defs", null, [Ee(ye, {
573
+ t: "linear",
574
+ id: `funnel_area_${k.value}`,
575
+ x1: "0%",
576
+ x2: "100%",
577
+ y1: "0%",
578
+ y2: "0%",
579
+ stops: [
580
+ [
581
+ "0%",
582
+ R.value.backgroundColor,
583
+ 0
584
+ ],
585
+ [
586
+ "20%",
587
+ R.value.area.color,
588
+ 1
589
+ ],
590
+ [
591
+ "100%",
592
+ R.value.area.color,
593
+ 1
594
+ ]
595
+ ]
596
+ }, null, 8, ["id", "stops"])]),
597
+ R.value.circleLinks.show ? (y(), d("line", h({ key: 1 }, Dt.value, {
598
+ stroke: R.value.circleLinks.color,
599
+ "stroke-width": 12 * R.value.circleLinks.widthRatio,
600
+ "stroke-linecap": "round",
601
+ class: { animated: F.value.useCssAnimation && !w(E) },
602
+ style: {
603
+ strokeDasharray: F.value.useCssAnimation && !w(E) ? W.value.height : 0,
604
+ strokeDashoffset: F.value.useCssAnimation && !w(E) ? W.value.height : 0
605
+ }
606
+ }), null, 16, Re)) : u("", !0),
607
+ (y(!0), d(s, null, x(q.value, ({ cx: e, cy: t, r: n, fill: r }, i) => (y(), d("circle", h({ ref_for: !0 }, {
608
+ cx: e,
609
+ cy: t,
610
+ r: n,
611
+ fill: r
612
+ }, {
613
+ stroke: L.value.stroke,
614
+ "stroke-width": L.value.strokeWidth,
615
+ class: { animated: F.value.useCssAnimation && !M.value && !w(E) },
616
+ style: { animationDelay: `${150 * i}ms` }
617
+ }), null, 16, ze))), 256)),
618
+ (y(!0), d(s, null, x(q.value, (e, n) => (y(), d("text", {
619
+ x: e.cx,
620
+ y: e.cy + V.value.circles / 3 + L.value.dataLabels.offsetY,
621
+ "text-anchor": "middle",
622
+ "font-size": V.value.circles,
623
+ fill: L.value.dataLabels.adaptColorToBackground ? w(ne)(e.color) : L.value.dataLabels.color,
624
+ "font-weight": L.value.dataLabels.bold ? "bold" : "normal",
625
+ class: g({ animated: F.value.useCssAnimation && !M.value && !w(E) }),
626
+ style: v({ animationDelay: `${150 * n}ms` })
627
+ }, C(w(o)(L.value.dataLabels.formatter, e.proportion * 100, w(t)({
628
+ v: e.proportion * 100,
629
+ s: "%",
630
+ r: L.value.dataLabels.rounding
631
+ }), { datapoint: e })), 15, Be))), 256)),
632
+ R.value.area.show ? (y(), d("polygon", {
633
+ key: 2,
634
+ points: Et.value,
635
+ fill: `url(#funnel_area_${k.value})`,
636
+ class: g({ animated: F.value.useCssAnimation && !M.value && !w(E) }),
637
+ style: v({ transition: F.value.useCssAnimation ? `all ${150 * U.value.length}ms ease-in` : "none" })
638
+ }, null, 14, Ve)) : u("", !0),
639
+ (y(!0), d(s, null, x(q.value, ({ x: e, y: t, height: n, width: r, fill: i }, a) => (y(), d("rect", h({ ref_for: !0 }, {
640
+ x: e,
641
+ y: t,
642
+ height: n,
643
+ width: r,
644
+ fill: i
645
+ }, {
646
+ stroke: I.value.stroke,
647
+ "stroke-width": I.value.strokeWidth,
648
+ rx: I.value.borderRadius,
649
+ class: { animated: F.value.useCssAnimation && !M.value && !w(E) },
650
+ style: { animationDelay: `${150 * a}ms` }
651
+ }), null, 16, He))), 256)),
652
+ (y(!0), d(s, null, x(q.value, (e, n) => (y(), d("g", null, [f("text", {
653
+ x: e.x + e.width + I.value.dataLabels.name.offsetX + 12,
654
+ y: e.cy - V.value.names / 2 + I.value.dataLabels.name.offsetY,
655
+ "text-anchor": "start",
656
+ "font-size": V.value.names,
657
+ fill: I.value.dataLabels.name.color,
658
+ "font-weight": I.value.dataLabels.name.bold ? "bold" : "normal",
659
+ class: g({ animated: F.value.useCssAnimation && !M.value && !w(E) }),
660
+ style: v({ animationDelay: `${150 * n}ms` })
661
+ }, C(e.name), 15, Ue), f("text", {
662
+ x: e.x + e.width + I.value.dataLabels.value.offsetX + 12,
663
+ y: e.cy + V.value.values + I.value.dataLabels.value.offsetY,
664
+ "text-anchor": "start",
665
+ "font-size": V.value.values,
666
+ fill: I.value.dataLabels.value.color,
667
+ "font-weight": I.value.dataLabels.value.bold ? "bold" : "normal",
668
+ class: g({ animated: F.value.useCssAnimation && !M.value && !w(E) }),
669
+ style: v({ animationDelay: `${150 * n}ms` })
670
+ }, C(w(o)(I.value.dataLabels.value.formatter, e.value, w(t)({
671
+ p: I.value.dataLabels.value.prefix,
672
+ v: e.value,
673
+ s: I.value.dataLabels.value.suffix,
674
+ r: I.value.dataLabels.value.rounding
675
+ }), { datapoint: e })), 15, We)]))), 256)),
676
+ S(e.$slots, "svg", { svg: {
677
+ ...H.value,
678
+ isPrintingImg: w(bt) || w(z) || w(Lt),
679
+ isPrintingSvg: w(Rt)
680
+ } }, void 0, !0)
681
+ ], 14, Ie)) : u("", !0),
682
+ e.$slots.watermark ? (y(), d("div", Ge, [S(e.$slots, "watermark", _(m({ isPrinting: w(bt) || w(z) || w(Lt) || w(Rt) })), void 0, !0)])) : u("", !0),
683
+ P.value ? u("", !0) : (y(), l(w(Je), {
684
+ key: 6,
685
+ config: {
686
+ type: "verticalBar",
687
+ style: {
688
+ backgroundColor: R.value.backgroundColor,
689
+ verticalBar: {
690
+ axis: { color: "#CCCCCC" },
691
+ color: "#CCCCCC"
692
+ }
693
+ }
694
+ }
695
+ }, null, 8, ["config"])),
696
+ e.$slots.source ? (y(), d("div", {
697
+ key: 7,
698
+ ref_key: "source",
699
+ ref: lt,
700
+ dir: "auto"
701
+ }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
702
+ P.value && F.value.userOptions.buttons.table ? (y(), l(Ae($.value.component), h({ key: 8 }, $.value.props, {
703
+ ref_key: "tableUnit",
704
+ ref: N,
705
+ onClose: Pt
706
+ }), we({
707
+ content: T(() => [(y(), l(w(Xe), {
708
+ key: `table_${st.value}`,
709
+ colNames: Z.value.colNames,
710
+ head: Z.value.head,
711
+ body: Z.value.body,
712
+ config: Z.value.config,
713
+ title: F.value.table.useDialog ? "" : $.value.title,
714
+ withCloseButton: !F.value.table.useDialog,
715
+ onClose: Pt
716
+ }, {
717
+ th: T(({ th: e }) => [f("div", Ke, C(e), 1)]),
718
+ td: T(({ td: e }) => [Te(C(e.name ? e.name : e), 1)]),
719
+ _: 1
720
+ }, 8, [
721
+ "colNames",
722
+ "head",
723
+ "body",
724
+ "config",
725
+ "title",
726
+ "withCloseButton"
727
+ ]))]),
728
+ _: 2
729
+ }, [F.value.table.useDialog ? {
730
+ name: "title",
731
+ fn: T(() => [Te(C($.value.title), 1)]),
732
+ key: "0"
733
+ } : void 0, F.value.table.useDialog ? {
734
+ name: "actions",
735
+ fn: T(() => [f("button", {
736
+ tabindex: "0",
737
+ class: "vue-ui-user-options-button",
738
+ onClick: n[0] ||= (e) => Q(F.value.userOptions.callbacks.csv)
739
+ }, [Ee(w(qe), {
740
+ name: "fileCsv",
741
+ stroke: $.value.props.color
742
+ }, null, 8, ["stroke"])])]),
743
+ key: "1"
744
+ } : void 0]), 1040)) : u("", !0)
745
+ ], 46, Fe));
746
+ }
747
+ }, [["__scopeId", "data-v-a4c3f101"]]);
748
+ //#endregion
749
+ export { Pe as n, qe as t };