vue-data-ui 3.22.9 → 3.22.10

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 (204) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  13. package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.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-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  89. package/dist/exposedLib-CZbtc2a6.js +25 -0
  90. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  91. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  92. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  93. package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
  94. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  95. package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/types/utils.d.ts +40 -0
  100. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  101. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  102. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  103. package/dist/utils.js +26 -24
  104. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  105. package/dist/vue-data-ui.js +77 -77
  106. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  107. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  108. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  109. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  110. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  111. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  112. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
  113. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  114. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  115. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  116. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
  117. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  118. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
  119. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  120. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
  121. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  122. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  123. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  124. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  125. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  126. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  127. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  128. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
  129. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  130. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
  131. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  132. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
  133. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  134. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  136. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  137. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
  138. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  139. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  141. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  142. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  143. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  144. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
  145. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  146. package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
  147. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  148. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  149. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
  150. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
  151. package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
  152. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
  153. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
  154. package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
  155. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
  156. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  157. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
  158. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  159. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
  160. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  161. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  162. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  163. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  164. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
  165. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  166. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
  167. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  168. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  169. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  170. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
  171. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
  172. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
  173. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  174. package/package.json +1 -1
  175. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  176. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  177. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  178. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  179. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  180. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  181. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  182. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  183. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  184. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  185. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  186. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  187. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  188. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  189. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  190. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  191. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  192. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  193. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  194. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  195. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  196. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  197. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  198. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  199. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  200. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  201. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  202. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  203. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  204. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -0,0 +1,782 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { At as t, Dt as n, E as r, K as i, Kt as a, Q as ee, Y as o, et as te, ft as ne, i as s, r as re, t as ie, x as ae } from "./lib-CnHx5WfV.js";
3
+ import { t as oe } from "./useConfig-DYM3f6EI.js";
4
+ import { t as se } from "./usePrinter-B-X_Pub0.js";
5
+ import { t as ce } from "./useSvgExport-SVIsDot8.js";
6
+ import { t as le } from "./useNestedProp-D8NuRneO.js";
7
+ import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as de } from "./img-CNdXiUfZ.js";
9
+ import { n as fe } from "./Title-Cr3jP7Qd.js";
10
+ import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
+ import { c as me } from "./canvas-lib-BOP_HS11.js";
12
+ import { t as he } from "./useResponsive-BfnK0KxU.js";
13
+ import { t as ge } from "./DefGrad-DVBqDjhO.js";
14
+ import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
15
+ import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
16
+ import { t as ye } from "./vue_ui_funnel-_Og4EEkO.js";
17
+ import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as be, createTextVNode as xe, createVNode as Se, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as g, nextTick as Ce, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as we, onMounted as Te, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ee, shallowRef as De, toDisplayString as w, unref as T, useCssVars as Oe, watch as ke, withCtx as E } from "vue";
18
+ //#region src/components/vue-ui-funnel.vue
19
+ var Ae = /* @__PURE__ */ e({ default: () => Ue }), je = ["id"], Me = ["xmlns", "viewBox"], Ne = ["width", "height"], Pe = ["stroke", "stroke-width"], Fe = ["stroke", "stroke-width"], Ie = [
20
+ "x",
21
+ "y",
22
+ "font-size",
23
+ "fill",
24
+ "font-weight"
25
+ ], Le = ["points", "fill"], Re = [
26
+ "stroke",
27
+ "stroke-width",
28
+ "rx"
29
+ ], ze = [
30
+ "x",
31
+ "y",
32
+ "font-size",
33
+ "fill",
34
+ "font-weight"
35
+ ], Be = [
36
+ "x",
37
+ "y",
38
+ "font-size",
39
+ "fill",
40
+ "font-weight"
41
+ ], Ve = {
42
+ key: 5,
43
+ class: "vue-data-ui-watermark"
44
+ }, He = ["innerHTML"], Ue = /*#__PURE__*/ pe({
45
+ __name: "vue-ui-funnel",
46
+ props: {
47
+ config: {
48
+ type: Object,
49
+ default() {
50
+ return {};
51
+ }
52
+ },
53
+ dataset: {
54
+ type: Array,
55
+ default() {
56
+ return [];
57
+ }
58
+ }
59
+ },
60
+ emits: ["copyAlt"],
61
+ setup(e, { expose: pe, emit: Ae }) {
62
+ Oe((e) => ({ v7c53d9b8: St.value }));
63
+ let Ue = m(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), We = m(() => import("./vue-ui-skeleton-KeIPGp9U.js").then((e) => e.n)), Ge = m(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), Ke = m(() => import("./DataTable-ByZy5gt1.js")), qe = m(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Je = m(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), Ye = m(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), Xe = m(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_funnel: Ze } = oe(), { isThemeValid: Qe, warnInvalidTheme: $e } = ue(), D = e, et = Ae, O = x(null), k = x(i()), tt = x(0), nt = x(0), rt = x(0), it = x(null), at = x(null), ot = x(null), A = De(null), j = De(null), M = x(!1), N = x(null), st = x(null), P = x(!1), F = x(!1), I = l(() => !!D.dataset && D.dataset.length);
64
+ Te(ct);
65
+ function ct() {
66
+ if (t(D.dataset) ? te({
67
+ componentName: "VueUiFunnel",
68
+ type: "dataset"
69
+ }) : D.dataset.forEach((e, t) => {
70
+ ne({
71
+ datasetObject: e,
72
+ requiredAttributes: ["name", "value"]
73
+ }).forEach((e) => {
74
+ I.value = !1, te({
75
+ componentName: "VueUiFunnel",
76
+ type: "datasetSerieAttribute",
77
+ property: e,
78
+ index: t
79
+ });
80
+ });
81
+ }), L.value.responsive) {
82
+ let e = me(() => {
83
+ let { width: e, height: t } = he({
84
+ chart: O.value,
85
+ title: L.value.style.chart.title.text ? ot.value : null,
86
+ source: at.value,
87
+ noTitle: it.value
88
+ });
89
+ requestAnimationFrame(() => {
90
+ U.value.height = t, U.value.width = e, G.value = _t(), L.value.responsiveProportionalSizing ? (H.value.circles = a({
91
+ relator: Math.min(e, t),
92
+ adjuster: 600,
93
+ source: L.value.style.chart.circles.dataLabels.fontSize,
94
+ threshold: 10,
95
+ fallback: 10
96
+ }), H.value.names = a({
97
+ relator: Math.min(e, t),
98
+ adjuster: 600,
99
+ source: L.value.style.chart.bars.dataLabels.name.fontSize,
100
+ threshold: 10,
101
+ fallback: 10
102
+ }), H.value.values = a({
103
+ relator: Math.min(e, t),
104
+ adjuster: 600,
105
+ source: L.value.style.chart.bars.dataLabels.value.fontSize,
106
+ threshold: 10,
107
+ fallback: 10
108
+ })) : (H.value.circles = L.value.style.chart.circles.dataLabels.fontSize, H.value.names = L.value.style.chart.bars.dataLabels.name.fontSize, H.value.values = L.value.style.chart.bars.dataLabels.value.fontSize);
109
+ });
110
+ });
111
+ 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);
112
+ }
113
+ }
114
+ we(() => {
115
+ A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
116
+ });
117
+ function lt() {
118
+ let e = le({
119
+ userConfig: D.config,
120
+ defaultConfig: Ze
121
+ }), t = e.theme;
122
+ if (!t) return e;
123
+ if (!Qe.value(e)) return $e(e), e;
124
+ let n = le({
125
+ userConfig: ye[t] || D.config,
126
+ defaultConfig: e
127
+ });
128
+ return le({
129
+ userConfig: D.config,
130
+ defaultConfig: n
131
+ });
132
+ }
133
+ let L = l({
134
+ get: () => lt(),
135
+ set: (e) => e
136
+ }), ut = l(() => L.value.userOptions.useCursorPointer), { userOptionsVisible: dt, setUserOptionsVisibility: ft, keepUserOptionState: pt } = _e({ config: L.value }), { svgRef: R } = ve({ config: L.value.style.chart.title });
137
+ ke(() => D.config, (e) => {
138
+ L.value = lt(), dt.value = !L.value.userOptions.showOnChartHover, ct(), nt.value += 1, rt.value += 1, H.value.circles = L.value.style.chart.circles.dataLabels.fontSize, H.value.names = L.value.style.chart.bars.dataLabels.name.fontSize, H.value.values = L.value.style.chart.bars.dataLabels.value.fontSize, V.value.showTable = L.value.table.show;
139
+ }, { deep: !0 });
140
+ let { isPrinting: z, isImaging: B, generatePdf: mt, generateImage: ht } = se({
141
+ elementId: `funnel_${k.value}`,
142
+ fileName: L.value.style.chart.title.text || "vue-ui-funnel",
143
+ options: L.value.userOptions.print
144
+ }), gt = l(() => L.value.userOptions.show && !L.value.style.chart.title.text), V = x({ showTable: L.value.table.show }), H = x({
145
+ circles: L.value.style.chart.circles.dataLabels.fontSize,
146
+ names: L.value.style.chart.bars.dataLabels.name.fontSize,
147
+ values: L.value.style.chart.bars.dataLabels.value.fontSize
148
+ }), U = l({
149
+ get: () => ({
150
+ height: L.value.style.chart.height,
151
+ width: L.value.style.chart.width
152
+ }),
153
+ set: (e) => e
154
+ }), W = l(() => I.value ? D.dataset.map((e, t) => ({
155
+ ...e,
156
+ color: e.color ? ae(e.color) : n(L.value.style.chart.bars.defaultColor, t / D.dataset.length)
157
+ })) : []);
158
+ setTimeout(() => {
159
+ M.value = !0;
160
+ }, W.value.length * 150);
161
+ function _t() {
162
+ let e = L.value.style.chart.padding.left, t = L.value.style.chart.padding.top;
163
+ return {
164
+ left: e,
165
+ top: t,
166
+ right: U.value.width - L.value.style.chart.padding.right,
167
+ bottom: U.value.height - L.value.style.chart.padding.bottom,
168
+ width: U.value.width - e - L.value.style.chart.padding.right,
169
+ height: U.value.height - t - L.value.style.chart.padding.bottom
170
+ };
171
+ }
172
+ let G = x(_t()), K = l(() => G.value.height / D.dataset.length), q = l(() => K.value * L.value.style.chart.bars.gapRatio), vt = l(() => G.value.width * L.value.style.chart.barCircleSpacingRatio), J = l(() => W.value.map((e, t) => {
173
+ let n = K.value - q.value, r = G.value.top + q.value / 2 * t + (K.value - q.value / 2) * t + q.value / 2, i = e.value / W.value[0].value, a = (G.value.width - n - vt.value) * (e.value / W.value[0].value);
174
+ return {
175
+ ...e,
176
+ cx: G.value.left + n / 2,
177
+ cy: r + n / 2,
178
+ datapointIndex: t,
179
+ fill: e.color,
180
+ height: Math.max(n, 0),
181
+ proportion: i,
182
+ r: Math.max(n / 2, 0),
183
+ width: Math.max(a, 0),
184
+ x: G.value.left + n + vt.value,
185
+ y: r
186
+ };
187
+ })), yt = l(() => {
188
+ let e = J.value.map((e) => `${e.x + e.width},${e.y + (K.value - q.value) / 2}`);
189
+ return `${J.value[0].x},${J.value[0].y + (K.value - q.value) / 2} ${e.toString()} ${J.value.at(-1).x},${J.value.at(-1).y + (K.value - q.value) / 2}`;
190
+ }), bt = l(() => ({
191
+ x1: J.value[0].cx,
192
+ y1: J.value[0].cy,
193
+ x2: J.value.at(-1).cx,
194
+ y2: J.value.at(-1).cy
195
+ })), Y = x(!1);
196
+ function xt(e) {
197
+ Y.value = e, tt.value += 1;
198
+ }
199
+ let St = l(() => `${W.value.length * 150}ms`), X = x(!1);
200
+ function Ct() {
201
+ X.value = !X.value;
202
+ }
203
+ function wt() {
204
+ V.value.showTable = !V.value.showTable;
205
+ }
206
+ let Z = l(() => ({
207
+ head: W.value.map((e) => ({
208
+ name: e.name,
209
+ color: e.color
210
+ })),
211
+ body: W.value.map((e) => e.value)
212
+ })), Q = l(() => {
213
+ let e = [
214
+ L.value.table.columnNames.series,
215
+ L.value.table.columnNames.value,
216
+ L.value.table.columnNames.percentage
217
+ ], t = Z.value.head.map((e, t) => {
218
+ let n = s(L.value.style.chart.bars.dataLabels.value.formatter, Z.value.body[t], o({
219
+ p: L.value.style.chart.bars.dataLabels.value.prefix,
220
+ v: Z.value.body[t],
221
+ s: L.value.style.chart.bars.dataLabels.value.suffix,
222
+ r: L.value.table.td.roundingValue
223
+ }), { datapoint: J.value[t] }), r = s(L.value.style.chart.circles.dataLabels.formatter, J.value[t].proportion * 100, o({
224
+ v: J.value[t].proportion * 100,
225
+ s: "%",
226
+ r: L.value.table.td.roundingPercentage
227
+ }), { datapoint: J.value[t] });
228
+ return [
229
+ {
230
+ color: e.color,
231
+ name: e.name
232
+ },
233
+ n,
234
+ r
235
+ ];
236
+ }), n = {
237
+ th: {
238
+ backgroundColor: L.value.table.th.backgroundColor,
239
+ color: L.value.table.th.color,
240
+ outline: L.value.table.th.outline
241
+ },
242
+ td: {
243
+ backgroundColor: L.value.table.td.backgroundColor,
244
+ color: L.value.table.td.color,
245
+ outline: L.value.table.td.outline
246
+ },
247
+ breakpoint: L.value.table.responsiveBreakpoint
248
+ };
249
+ return {
250
+ colNames: [
251
+ L.value.table.columnNames.series,
252
+ L.value.table.columnNames.value,
253
+ L.value.table.columnNames.percentage
254
+ ],
255
+ head: e,
256
+ body: t,
257
+ config: n
258
+ };
259
+ });
260
+ function Tt(e = null) {
261
+ Ce(() => {
262
+ let t = Z.value.head.map((e, t) => [
263
+ [e.name],
264
+ [Z.value.body[t]],
265
+ [J.value[t].proportion * 100]
266
+ ]), n = r([
267
+ [L.value.style.chart.title.text],
268
+ [L.value.style.chart.title.subtitle.text],
269
+ [
270
+ [L.value.table.columnNames.series],
271
+ [L.value.table.columnNames.value],
272
+ ["%"]
273
+ ]
274
+ ].concat(t));
275
+ e ? e(n) : ee({
276
+ csvContent: n,
277
+ title: L.value.style.chart.title.text || "vue-ui-funnel"
278
+ });
279
+ });
280
+ }
281
+ function Et() {
282
+ return W.value;
283
+ }
284
+ async function Dt({ scale: e = 2 } = {}) {
285
+ if (!O.value) return;
286
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await de({
287
+ domElement: O.value,
288
+ base64: !0,
289
+ img: !0,
290
+ scale: e
291
+ });
292
+ return {
293
+ imageUri: i,
294
+ base64: a,
295
+ title: L.value.style.chart.title.text,
296
+ width: t,
297
+ height: n,
298
+ aspectRatio: r
299
+ };
300
+ }
301
+ let $ = l(() => {
302
+ let e = L.value.table.useDialog && !L.value.table.show, t = V.value.showTable;
303
+ return {
304
+ component: e ? Xe : Ge,
305
+ title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
306
+ props: e ? {
307
+ backgroundColor: L.value.table.th.backgroundColor,
308
+ color: L.value.table.th.color,
309
+ headerColor: L.value.table.th.color,
310
+ headerBg: L.value.table.th.backgroundColor,
311
+ isFullscreen: Y.value,
312
+ fullscreenParent: O.value,
313
+ forcedWidth: Math.min(800, window.innerWidth * .8)
314
+ } : {
315
+ hideDetails: !0,
316
+ config: {
317
+ open: t,
318
+ maxHeight: 1e4,
319
+ body: {
320
+ backgroundColor: L.value.style.chart.backgroundColor,
321
+ color: L.value.style.chart.color
322
+ },
323
+ head: {
324
+ backgroundColor: L.value.style.chart.backgroundColor,
325
+ color: L.value.style.chart.color
326
+ }
327
+ }
328
+ }
329
+ };
330
+ });
331
+ ke(() => V.value.showTable, (e) => {
332
+ L.value.table.show || (e && L.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
333
+ });
334
+ function Ot() {
335
+ V.value.showTable = !1, st.value && st.value.setTableIconState(!1);
336
+ }
337
+ let kt = l(() => L.value.style.chart.backgroundColor), { exportSvg: At, getSvg: jt } = ce({
338
+ svg: R,
339
+ title: l(() => L.value.style.chart.title),
340
+ backgroundColor: kt
341
+ });
342
+ async function Mt({ isCb: e }) {
343
+ F.value = !0, await Ce();
344
+ try {
345
+ if (e) {
346
+ let { blob: e, url: t, text: n, dataUrl: r } = await jt();
347
+ await Promise.resolve(L.value.userOptions.callbacks.svg({
348
+ blob: e,
349
+ url: t,
350
+ text: n,
351
+ dataUrl: r
352
+ }));
353
+ } else await Promise.resolve(At());
354
+ } finally {
355
+ F.value = !1;
356
+ }
357
+ }
358
+ function Nt(e) {
359
+ if (e?.stage === "start") {
360
+ P.value = !0;
361
+ return;
362
+ }
363
+ if (e?.stage === "end") {
364
+ P.value = !1;
365
+ return;
366
+ }
367
+ ht();
368
+ }
369
+ async function Pt() {
370
+ if (et("copyAlt", {
371
+ config: L.value,
372
+ dataset: W.value
373
+ }), !L.value.userOptions.callbacks.altCopy) {
374
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
375
+ return;
376
+ }
377
+ await Promise.resolve(L.value.userOptions.callbacks.altCopy({
378
+ config: L.value,
379
+ dataset: W.value
380
+ }));
381
+ }
382
+ return pe({
383
+ getData: Et,
384
+ getImage: Dt,
385
+ generatePdf: mt,
386
+ generateCsv: Tt,
387
+ generateImage: ht,
388
+ generateSvg: Mt,
389
+ toggleTable: wt,
390
+ toggleAnnotator: Ct,
391
+ toggleFullscreen: xt,
392
+ copyAlt: Pt
393
+ }), (e, t) => (b(), f("div", {
394
+ ref_key: "funnelChart",
395
+ ref: O,
396
+ class: _(`vue-data-ui-component vue-ui-funnel ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
397
+ style: y(`font-family:${L.value.style.fontFamily};width:100%; ${L.value.responsive ? "height:100%;" : ""} text-align:center;background:${L.value.style.chart.backgroundColor}`),
398
+ id: `funnel_${k.value}`,
399
+ onMouseenter: t[1] ||= () => T(ft)(!0),
400
+ onMouseleave: t[2] ||= () => T(ft)(!1)
401
+ }, [
402
+ L.value.userOptions.buttons.annotator ? (b(), u(T(Je), {
403
+ key: 0,
404
+ svgRef: T(R),
405
+ backgroundColor: L.value.style.chart.backgroundColor,
406
+ color: L.value.style.chart.color,
407
+ active: X.value,
408
+ isCursorPointer: ut.value,
409
+ onClose: Ct
410
+ }, {
411
+ "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
412
+ "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(h({ color: t })), void 0, !0)]),
413
+ "annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(h({ mode: t })), void 0, !0)]),
414
+ "annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(h({ disabled: t })), void 0, !0)]),
415
+ "annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(h({ disabled: t })), void 0, !0)]),
416
+ "annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(h({ disabled: t })), void 0, !0)]),
417
+ _: 3
418
+ }, 8, [
419
+ "svgRef",
420
+ "backgroundColor",
421
+ "color",
422
+ "active",
423
+ "isCursorPointer"
424
+ ])) : d("", !0),
425
+ gt.value ? (b(), f("div", {
426
+ key: 1,
427
+ ref_key: "noTitle",
428
+ ref: it,
429
+ class: "vue-data-ui-no-title-space",
430
+ style: "height:36px; width: 100%;background:transparent"
431
+ }, null, 512)) : d("", !0),
432
+ L.value.style.chart.title.text ? (b(), f("div", {
433
+ key: 2,
434
+ ref_key: "chartTitle",
435
+ ref: ot,
436
+ style: "width:100%;background:transparent;padding-bottom:24px"
437
+ }, [(b(), u(fe, {
438
+ key: `title_${nt.value}`,
439
+ config: {
440
+ title: {
441
+ cy: "funnel-div-title",
442
+ ...L.value.style.chart.title
443
+ },
444
+ subtitle: {
445
+ cy: "funnel-div-subtitle",
446
+ ...L.value.style.chart.title.subtitle
447
+ }
448
+ }
449
+ }, null, 8, ["config"]))], 512)) : d("", !0),
450
+ L.value.userOptions.show && I.value && (T(pt) || T(dt)) ? (b(), u(T(qe), {
451
+ ref_key: "userOptionsRef",
452
+ ref: st,
453
+ key: `user_option_${tt.value}`,
454
+ backgroundColor: L.value.style.chart.backgroundColor,
455
+ color: L.value.style.chart.color,
456
+ isPrinting: T(z),
457
+ isImaging: T(B),
458
+ uid: k.value,
459
+ hasTooltip: !1,
460
+ hasPdf: L.value.userOptions.buttons.pdf,
461
+ hasImg: L.value.userOptions.buttons.img,
462
+ hasSvg: L.value.userOptions.buttons.svg,
463
+ hasXls: L.value.userOptions.buttons.csv,
464
+ hasTable: L.value.userOptions.buttons.table,
465
+ hasLabel: !1,
466
+ hasFullscreen: L.value.userOptions.buttons.fullscreen,
467
+ hasAltCopy: L.value.userOptions.buttons.altCopy,
468
+ isFullscreen: Y.value,
469
+ chartElement: O.value,
470
+ position: L.value.userOptions.position,
471
+ titles: { ...L.value.userOptions.buttonTitles },
472
+ hasAnnotator: L.value.userOptions.buttons.annotator,
473
+ isAnnotation: X.value,
474
+ callbacks: L.value.userOptions.callbacks,
475
+ printScale: L.value.userOptions.print.scale,
476
+ tableDialog: L.value.table.useDialog,
477
+ isCursorPointer: ut.value,
478
+ onToggleAnnotator: Ct,
479
+ onToggleFullscreen: xt,
480
+ onGeneratePdf: T(mt),
481
+ onGenerateImage: Nt,
482
+ onGenerateSvg: Mt,
483
+ onToggleTable: wt,
484
+ onGenerateCsv: Tt,
485
+ onCopyAlt: Pt,
486
+ style: y({ visibility: T(pt) ? T(dt) ? "visible" : "hidden" : "visible" })
487
+ }, be({ _: 2 }, [
488
+ e.$slots.menuIcon ? {
489
+ name: "menuIcon",
490
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(h({
491
+ isOpen: t,
492
+ color: n
493
+ })), void 0, !0)]),
494
+ key: "0"
495
+ } : void 0,
496
+ e.$slots.optionPdf ? {
497
+ name: "optionPdf",
498
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
499
+ key: "1"
500
+ } : void 0,
501
+ e.$slots.optionCsv ? {
502
+ name: "optionCsv",
503
+ fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
504
+ key: "2"
505
+ } : void 0,
506
+ e.$slots.optionImg ? {
507
+ name: "optionImg",
508
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
509
+ key: "3"
510
+ } : void 0,
511
+ e.$slots.optionSvg ? {
512
+ name: "optionSvg",
513
+ fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
514
+ key: "4"
515
+ } : void 0,
516
+ e.$slots.optionTable ? {
517
+ name: "optionTable",
518
+ fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
519
+ key: "5"
520
+ } : void 0,
521
+ e.$slots.optionFullscreen ? {
522
+ name: "optionFullscreen",
523
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(h({
524
+ toggleFullscreen: t,
525
+ isFullscreen: n
526
+ })), void 0, !0)]),
527
+ key: "6"
528
+ } : void 0,
529
+ e.$slots.optionAnnotator ? {
530
+ name: "optionAnnotator",
531
+ fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(h({
532
+ toggleAnnotator: t,
533
+ isAnnotator: n
534
+ })), void 0, !0)]),
535
+ key: "7"
536
+ } : void 0,
537
+ e.$slots.optionAltCopy ? {
538
+ name: "optionAltCopy",
539
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(h({ altCopy: t })), void 0, !0)]),
540
+ key: "8"
541
+ } : void 0,
542
+ e.$slots["custom-menu-before"] ? {
543
+ name: "custom-menu-before",
544
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
545
+ key: "9"
546
+ } : void 0,
547
+ e.$slots["custom-menu-after"] ? {
548
+ name: "custom-menu-after",
549
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
550
+ key: "10"
551
+ } : void 0
552
+ ]), 1032, [
553
+ "backgroundColor",
554
+ "color",
555
+ "isPrinting",
556
+ "isImaging",
557
+ "uid",
558
+ "hasPdf",
559
+ "hasImg",
560
+ "hasSvg",
561
+ "hasXls",
562
+ "hasTable",
563
+ "hasFullscreen",
564
+ "hasAltCopy",
565
+ "isFullscreen",
566
+ "chartElement",
567
+ "position",
568
+ "titles",
569
+ "hasAnnotator",
570
+ "isAnnotation",
571
+ "callbacks",
572
+ "printScale",
573
+ "tableDialog",
574
+ "isCursorPointer",
575
+ "onGeneratePdf",
576
+ "style"
577
+ ])) : d("", !0),
578
+ I.value ? (b(), f("svg", {
579
+ key: 4,
580
+ ref_key: "svgRef",
581
+ ref: R,
582
+ xmlns: T(ie),
583
+ class: _({
584
+ "vue-data-ui-fullscreen--on": Y.value,
585
+ "vue-data-ui-fulscreen--off": !Y.value
586
+ }),
587
+ viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
588
+ style: y(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color}`)
589
+ }, [
590
+ Se(T(Ye)),
591
+ e.$slots["chart-background"] ? (b(), f("foreignObject", {
592
+ key: 0,
593
+ x: 0,
594
+ y: 0,
595
+ width: U.value.width <= 0 ? 10 : U.value.width,
596
+ height: U.value.height <= 0 ? 10 : U.value.height,
597
+ style: { pointerEvents: "none" }
598
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ne)) : d("", !0),
599
+ p("defs", null, [Se(ge, {
600
+ t: "linear",
601
+ id: `funnel_area_${k.value}`,
602
+ x1: "0%",
603
+ x2: "100%",
604
+ y1: "0%",
605
+ y2: "0%",
606
+ stops: [
607
+ [
608
+ "0%",
609
+ L.value.style.chart.backgroundColor,
610
+ 0
611
+ ],
612
+ [
613
+ "20%",
614
+ L.value.style.chart.area.color,
615
+ 1
616
+ ],
617
+ [
618
+ "100%",
619
+ L.value.style.chart.area.color,
620
+ 1
621
+ ]
622
+ ]
623
+ }, null, 8, ["id", "stops"])]),
624
+ L.value.style.chart.circleLinks.show ? (b(), f("line", g({ key: 1 }, bt.value, {
625
+ stroke: L.value.style.chart.circleLinks.color,
626
+ "stroke-width": 12 * L.value.style.chart.circleLinks.widthRatio,
627
+ "stroke-linecap": "round",
628
+ class: { animated: L.value.useCssAnimation },
629
+ style: {
630
+ strokeDasharray: L.value.useCssAnimation ? G.value.height : 0,
631
+ strokeDashoffset: L.value.useCssAnimation ? G.value.height : 0
632
+ }
633
+ }), null, 16, Pe)) : d("", !0),
634
+ (b(!0), f(c, null, S(J.value, ({ cx: e, cy: t, r: n, fill: r }, i) => (b(), f("circle", g({ ref_for: !0 }, {
635
+ cx: e,
636
+ cy: t,
637
+ r: n,
638
+ fill: r
639
+ }, {
640
+ stroke: L.value.style.chart.circles.stroke,
641
+ "stroke-width": L.value.style.chart.circles.strokeWidth,
642
+ class: { animated: L.value.useCssAnimation && !M.value },
643
+ style: { animationDelay: `${150 * i}ms` }
644
+ }), null, 16, Fe))), 256)),
645
+ (b(!0), f(c, null, S(J.value, (e, t) => (b(), f("text", {
646
+ x: e.cx,
647
+ y: e.cy + H.value.circles / 3 + L.value.style.chart.circles.dataLabels.offsetY,
648
+ "text-anchor": "middle",
649
+ "font-size": H.value.circles,
650
+ fill: L.value.style.chart.circles.dataLabels.adaptColorToBackground ? T(re)(e.color) : L.value.style.chart.circles.dataLabels.color,
651
+ "font-weight": L.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
652
+ class: _({ animated: L.value.useCssAnimation && !M.value }),
653
+ style: y({ animationDelay: `${150 * t}ms` })
654
+ }, w(T(s)(L.value.style.chart.circles.dataLabels.formatter, e.proportion * 100, T(o)({
655
+ v: e.proportion * 100,
656
+ s: "%",
657
+ r: L.value.style.chart.circles.dataLabels.rounding
658
+ }), { datapoint: e })), 15, Ie))), 256)),
659
+ L.value.style.chart.area.show ? (b(), f("polygon", {
660
+ key: 2,
661
+ points: yt.value,
662
+ fill: `url(#funnel_area_${k.value})`,
663
+ class: _({ animated: L.value.useCssAnimation && !M.value }),
664
+ style: y({ transition: L.value.useCssAnimation ? `all ${150 * W.value.length}ms ease-in` : "none" })
665
+ }, null, 14, Le)) : d("", !0),
666
+ (b(!0), f(c, null, S(J.value, ({ x: e, y: t, height: n, width: r, fill: i }, a) => (b(), f("rect", g({ ref_for: !0 }, {
667
+ x: e,
668
+ y: t,
669
+ height: n,
670
+ width: r,
671
+ fill: i
672
+ }, {
673
+ stroke: L.value.style.chart.bars.stroke,
674
+ "stroke-width": L.value.style.chart.bars.strokeWidth,
675
+ rx: L.value.style.chart.bars.borderRadius,
676
+ class: { animated: L.value.useCssAnimation && !M.value },
677
+ style: { animationDelay: `${150 * a}ms` }
678
+ }), null, 16, Re))), 256)),
679
+ (b(!0), f(c, null, S(J.value, (e, t) => (b(), f("g", null, [p("text", {
680
+ x: e.x + e.width + L.value.style.chart.bars.dataLabels.name.offsetX + 12,
681
+ y: e.cy - H.value.names / 2 + L.value.style.chart.bars.dataLabels.name.offsetY,
682
+ "text-anchor": "start",
683
+ "font-size": H.value.names,
684
+ fill: L.value.style.chart.bars.dataLabels.name.color,
685
+ "font-weight": L.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
686
+ class: _({ animated: L.value.useCssAnimation && !M.value }),
687
+ style: y({ animationDelay: `${150 * t}ms` })
688
+ }, w(e.name), 15, ze), p("text", {
689
+ x: e.x + e.width + L.value.style.chart.bars.dataLabels.value.offsetX + 12,
690
+ y: e.cy + H.value.values + L.value.style.chart.bars.dataLabels.value.offsetY,
691
+ "text-anchor": "start",
692
+ "font-size": H.value.values,
693
+ fill: L.value.style.chart.bars.dataLabels.value.color,
694
+ "font-weight": L.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
695
+ class: _({ animated: L.value.useCssAnimation && !M.value }),
696
+ style: y({ animationDelay: `${150 * t}ms` })
697
+ }, w(T(s)(L.value.style.chart.bars.dataLabels.value.formatter, e.value, T(o)({
698
+ p: L.value.style.chart.bars.dataLabels.value.prefix,
699
+ v: e.value,
700
+ s: L.value.style.chart.bars.dataLabels.value.suffix,
701
+ r: L.value.style.chart.bars.dataLabels.value.rounding
702
+ }), { datapoint: e })), 15, Be)]))), 256)),
703
+ C(e.$slots, "svg", { svg: {
704
+ ...U.value,
705
+ isPrintingImg: T(z) || T(B) || P.value,
706
+ isPrintingSvg: F.value
707
+ } }, void 0, !0)
708
+ ], 14, Me)) : d("", !0),
709
+ e.$slots.watermark ? (b(), f("div", Ve, [C(e.$slots, "watermark", v(h({ isPrinting: T(z) || T(B) || P.value || F.value })), void 0, !0)])) : d("", !0),
710
+ I.value ? d("", !0) : (b(), u(T(We), {
711
+ key: 6,
712
+ config: {
713
+ type: "verticalBar",
714
+ style: {
715
+ backgroundColor: L.value.style.chart.backgroundColor,
716
+ verticalBar: {
717
+ axis: { color: "#CCCCCC" },
718
+ color: "#CCCCCC"
719
+ }
720
+ }
721
+ }
722
+ }, null, 8, ["config"])),
723
+ e.$slots.source ? (b(), f("div", {
724
+ key: 7,
725
+ ref_key: "source",
726
+ ref: at,
727
+ dir: "auto"
728
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
729
+ I.value && L.value.userOptions.buttons.table ? (b(), u(Ee($.value.component), g({ key: 8 }, $.value.props, {
730
+ ref_key: "tableUnit",
731
+ ref: N,
732
+ onClose: Ot
733
+ }), be({
734
+ content: E(() => [(b(), u(T(Ke), {
735
+ key: `table_${rt.value}`,
736
+ colNames: Q.value.colNames,
737
+ head: Q.value.head,
738
+ body: Q.value.body,
739
+ config: Q.value.config,
740
+ title: L.value.table.useDialog ? "" : $.value.title,
741
+ withCloseButton: !L.value.table.useDialog,
742
+ onClose: Ot
743
+ }, {
744
+ th: E(({ th: e }) => [p("div", {
745
+ innerHTML: e,
746
+ style: {
747
+ display: "flex",
748
+ "align-items": "center"
749
+ }
750
+ }, null, 8, He)]),
751
+ td: E(({ td: e }) => [xe(w(e.name ? e.name : e), 1)]),
752
+ _: 1
753
+ }, 8, [
754
+ "colNames",
755
+ "head",
756
+ "body",
757
+ "config",
758
+ "title",
759
+ "withCloseButton"
760
+ ]))]),
761
+ _: 2
762
+ }, [L.value.table.useDialog ? {
763
+ name: "title",
764
+ fn: E(() => [xe(w($.value.title), 1)]),
765
+ key: "0"
766
+ } : void 0, L.value.table.useDialog ? {
767
+ name: "actions",
768
+ fn: E(() => [p("button", {
769
+ tabindex: "0",
770
+ class: "vue-ui-user-options-button",
771
+ onClick: t[0] ||= (e) => Tt(L.value.userOptions.callbacks.csv)
772
+ }, [Se(T(Ue), {
773
+ name: "fileCsv",
774
+ stroke: $.value.props.color
775
+ }, null, 8, ["stroke"])])]),
776
+ key: "1"
777
+ } : void 0]), 1040)) : d("", !0)
778
+ ], 46, je));
779
+ }
780
+ }, [["__scopeId", "data-v-cc4bcc61"]]);
781
+ //#endregion
782
+ export { Ae as n, Ue as t };