vue-data-ui 3.22.9 → 3.22.11

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