vue-data-ui 3.20.10 → 3.21.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 (190) hide show
  1. package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
  2. package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
  3. package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
  4. package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
  5. package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
  6. package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
  7. package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
  8. package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
  10. package/dist/{PackageVersion-BbgWxFC4.js → PackageVersion-DYLo3MRd.js} +1 -1
  11. package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
  12. package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
  13. package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
  14. package/dist/SlicerPreview-CXLgqXX8.js +1676 -0
  15. package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
  16. package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
  17. package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
  18. package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
  89. package/dist/exposedLib-BJbE_A8E.js +19 -0
  90. package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
  91. package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
  92. package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
  93. package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
  94. package/dist/ssr.js +1366 -0
  95. package/dist/style.css +1 -1
  96. package/dist/types/ssr.d.ts +128 -0
  97. package/dist/types/vue-data-ui.d.ts +135 -1
  98. package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
  99. package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
  100. package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
  101. package/dist/utils.js +8 -8
  102. package/dist/{vue-data-ui-CBjd88aV.js → vue-data-ui-D2dM3IQZ.js} +68 -68
  103. package/dist/vue-data-ui.js +72 -72
  104. package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
  105. package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
  106. package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
  107. package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
  108. package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
  109. package/dist/{vue-ui-bump-S-FGGlPW.js → vue-ui-bump-BVCYywuS.js} +253 -253
  110. package/dist/{vue-ui-candlestick-BaaswVai.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
  111. package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
  112. package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
  113. package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
  114. package/dist/{vue-ui-circle-pack--4oUO8hO.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
  115. package/dist/{vue-ui-cursor-C7zZVebz.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
  116. package/dist/{vue-ui-dag-DsCnV6f0.js → vue-ui-dag-lL0juBzN.js} +20 -20
  117. package/dist/{vue-ui-dashboard-CmTnG8CS.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
  118. package/dist/{vue-ui-digits-BQ0e9Czq.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
  119. package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
  120. package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
  121. package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
  122. package/dist/{vue-ui-flow-jBINqYMb.js → vue-ui-flow-BXfzMTXx.js} +57 -57
  123. package/dist/{vue-ui-funnel-B9DsneCv.js → vue-ui-funnel-BpnC82m0.js} +32 -32
  124. package/dist/{vue-ui-galaxy-SAZjgllD.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
  125. package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
  126. package/dist/{vue-ui-geo-B41ZRCPC.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
  127. package/dist/{vue-ui-gizmo-PL2TAIV_.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
  128. package/dist/{vue-ui-heatmap-NkJ_KGMs.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
  129. package/dist/{vue-ui-history-plot-B9KX1kKs.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
  130. package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
  131. package/dist/{vue-ui-kpi-Bo4x1-vC.js → vue-ui-kpi-B9bdicir.js} +3 -3
  132. package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
  133. package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
  134. package/dist/{vue-ui-mood-radar-DE71e1H_.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
  135. package/dist/{vue-ui-nested-donuts-DQhSwNYF.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
  136. package/dist/{vue-ui-onion-X9anqRDz.js → vue-ui-onion-3fJB4mfC.js} +45 -45
  137. package/dist/{vue-ui-parallel-coordinate-plot-aN0OHwgH.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
  138. package/dist/{vue-ui-quadrant-CpKMBoX9.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
  139. package/dist/{vue-ui-quick-chart-BwD7IGYx.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
  140. package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
  141. package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
  142. package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
  143. package/dist/{vue-ui-ridgeline-68X0PTKo.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
  144. package/dist/{vue-ui-rings-cDPIzhPb.js → vue-ui-rings-BgFO7NYF.js} +81 -81
  145. package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
  146. package/dist/{vue-ui-skeleton-BD0JzrcV.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
  147. package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
  148. package/dist/{vue-ui-spark-trend-DLXJpfGh.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
  149. package/dist/{vue-ui-sparkbar-5pFFPu5l.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
  150. package/dist/{vue-ui-sparkgauge--CihPbUW.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
  151. package/dist/{vue-ui-sparkhistogram-CjrIcako.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
  152. package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
  153. package/dist/{vue-ui-sparkstackbar-Dlg1W_fF.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
  154. package/dist/{vue-ui-stackbar-DltfPoDm.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
  155. package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
  156. package/dist/{vue-ui-strip-plot-CEE-cw3d.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
  157. package/dist/{vue-ui-table-C7AvFChf.js → vue-ui-table-R-aXpHvF.js} +86 -86
  158. package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
  159. package/dist/{vue-ui-table-sparkline-DgTHhaZI.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
  160. package/dist/{vue-ui-thermometer-Cg7jcmgc.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
  161. package/dist/{vue-ui-timer-U045embk.js → vue-ui-timer-AlYvthQ6.js} +23 -23
  162. package/dist/{vue-ui-tiremarks-T55IpHYP.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
  163. package/dist/{vue-ui-treemap-BPQ-Ekq4.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
  164. package/dist/{vue-ui-waffle-DNCJGwEA.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
  165. package/dist/{vue-ui-wheel-5GuVbUOq.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
  166. package/dist/{vue-ui-word-cloud-Cs-MBJJU.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
  167. package/dist/{vue-ui-world-D3v5f6dU.js → vue-ui-world-B93iq1ZM.js} +445 -445
  168. package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
  169. package/dist/{vue-ui-xy-canvas-Ww81eEZ6.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
  170. package/package.json +6 -2
  171. package/dist/SlicerPreview-CpvCUAIM.js +0 -1669
  172. package/dist/exposedLib-CI8ji8G-.js +0 -19
  173. package/dist/vue-ui-3d-bar-DmMi_eVe.js +0 -1757
  174. package/dist/vue-ui-age-pyramid-CbJDodNj.js +0 -1238
  175. package/dist/vue-ui-bullet-rCmOch09.js +0 -710
  176. package/dist/vue-ui-carousel-table-DFUP6c1B.js +0 -455
  177. package/dist/vue-ui-chestnut-DKNsQA7h.js +0 -2010
  178. package/dist/vue-ui-chord-BMkz02R6.js +0 -1391
  179. package/dist/vue-ui-donut-BLlR2VgI.js +0 -2410
  180. package/dist/vue-ui-donut-evolution-kXDchwtH.js +0 -1510
  181. package/dist/vue-ui-dumbbell-BWuXbccQ.js +0 -1530
  182. package/dist/vue-ui-gauge-NSzY9L6X.js +0 -920
  183. package/dist/vue-ui-horizontal-bar-mmoqYnkA.js +0 -1681
  184. package/dist/vue-ui-molecule-QoXYCfyP.js +0 -925
  185. package/dist/vue-ui-radar-TfxsgQrA.js +0 -1229
  186. package/dist/vue-ui-relation-circle-CMqV9U6C.js +0 -924
  187. package/dist/vue-ui-scatter-8nirnHQi.js +0 -2413
  188. package/dist/vue-ui-sparkline-DPZm7RqN.js +0 -1507
  189. package/dist/vue-ui-stackline-6agFEYxZ.js +0 -2398
  190. package/dist/vue-ui-xy-C0kcCaFA.js +0 -4747
@@ -1,20 +1,20 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, Et as r, G as i, H as a, J as o, Rt as s, S as c, X as l, i as u, n as d, pt as f, r as p, t as m, v as h, x as g, y as _ } from "./lib-DUeYQsS0.js";
2
+ import { Bt as t, G as n, H as r, Ht as i, J as a, Ot as o, S as s, Tt as c, X as l, ht as u, i as d, n as f, r as p, t as m, v as h, x as g, y as _ } from "./lib-AJRHFE5U.js";
3
3
  import { t as ee } from "./useConfig-DnH7Pf_2.js";
4
- import { t as v } from "./usePrinter-C1Gqt_Sp.js";
4
+ import { t as v } from "./usePrinter-6n2MzVyV.js";
5
5
  import { n as y, t as b } from "./BaseScanner-Dr2a1Msy.js";
6
6
  import { t as x } from "./useSvgExport-SVIsDot8.js";
7
- import { t as S } from "./useNestedProp-CNcoy38D.js";
7
+ import { t as S } from "./useNestedProp-DtcXIg7n.js";
8
8
  import { t as te } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ne } from "./img-1cKsci8e.js";
10
- import { n as C } from "./Title-NWp4qB4K.js";
9
+ import { t as ne } from "./img-C_RNNswI.js";
10
+ import { n as C } from "./Title-DH6G8_cZ.js";
11
11
  import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { c as ie } from "./canvas-lib-BOP_HS11.js";
13
13
  import { t as ae } from "./useResponsive-BfnK0KxU.js";
14
14
  import { t as oe } from "./A11yDataTable-BCbtxMU6.js";
15
15
  import { t as se } from "./useUserOptionState-DK-_1ddE.js";
16
16
  import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
17
- import { t as le } from "./Legend-Cz2uQ5gs.js";
17
+ import { t as le } from "./Legend-BLhREbj7.js";
18
18
  import { t as ue } from "./vue_ui_flow-BewZjjKG.js";
19
19
  import { Fragment as de, Teleport as fe, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createSlots as pe, createTextVNode as me, createVNode as he, defineAsyncComponent as k, guardReactiveProps as A, mergeProps as ge, nextTick as _e, normalizeClass as ve, normalizeProps as j, normalizeStyle as M, onMounted as ye, openBlock as N, ref as P, renderList as be, renderSlot as F, resolveDynamicComponent as xe, toDisplayString as Se, toRefs as Ce, unref as I, watch as we, withCtx as L } from "vue";
20
20
  //#region src/components/vue-ui-flow.vue
@@ -87,7 +87,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
87
87
  },
88
88
  emits: ["copyAlt"],
89
89
  setup(e, { expose: re, emit: Te }) {
90
- let Ke = k(() => import("./Tooltip-BENq327o.js")), qe = k(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Je = k(() => import("./vue-ui-accordion-Bpbv-VHE.js").then((e) => e.n)), Ye = k(() => import("./DataTable-B--IN22e.js")), Xe = k(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Ze = k(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Qe = k(() => import("./PackageVersion-BbgWxFC4.js").then((e) => e.t)), $e = k(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_flow: et } = ee(), { isThemeValid: tt, warnInvalidTheme: nt } = te(), R = e, rt = Te, z = P(a()), B = P(null), it = P(0), at = P(0), ot = P(!1), st = P(""), ct = P(null), lt = P(null), ut = P(null), dt = P(null), ft = P(null), pt = P(!1), mt = P(null), ht = P(null), gt = P(null), _t = P(!1), vt = P(!1), yt = P(null), V = P(null), bt = P({
90
+ let Ke = k(() => import("./Tooltip-979Ytd8R.js")), qe = k(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), Je = k(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), Ye = k(() => import("./DataTable-DweDyHc1.js")), Xe = k(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Ze = k(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), Qe = k(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), $e = k(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_flow: et } = ee(), { isThemeValid: tt, warnInvalidTheme: nt } = te(), R = e, rt = Te, z = P(r()), B = P(null), it = P(0), at = P(0), ot = P(!1), st = P(""), ct = P(null), lt = P(null), ut = P(null), dt = P(null), ft = P(null), pt = P(!1), mt = P(null), ht = P(null), gt = P(null), _t = P(!1), vt = P(!1), yt = P(null), V = P(null), bt = P({
91
91
  x: 0,
92
92
  y: 0
93
93
  }), xt = P("pointer"), St = P(!1), Ct = w(() => !!R.dataset && R.dataset.length);
@@ -98,7 +98,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
98
98
  function wt(e) {
99
99
  H.value = e, it.value += 1;
100
100
  }
101
- let U = P(Pt()), W = w(() => U.value.userOptions.useCursorPointer), Tt = w(() => t({
101
+ let U = P(Pt()), W = w(() => U.value.userOptions.useCursorPointer), Tt = w(() => i({
102
102
  defaultConfig: {
103
103
  userOptions: { show: !1 },
104
104
  nodeCategories: {
@@ -163,17 +163,17 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
163
163
  "#AAAAAA"
164
164
  ]
165
165
  ],
166
- skeletonConfig: t({
166
+ skeletonConfig: i({
167
167
  defaultConfig: U.value,
168
168
  userConfig: Tt.value
169
169
  })
170
170
  }), kt = w(() => !!U.value.debug);
171
171
  function At() {
172
- if (n(R.dataset) && (l({
172
+ if (c(R.dataset) && (l({
173
173
  componentName: "VueUiFlow",
174
174
  type: "dataset",
175
175
  debug: kt.value
176
- }), Ot.value = !0), n(R.dataset) || (Ot.value = U.value.loading), U.value.responsive) {
176
+ }), Ot.value = !0), c(R.dataset) || (Ot.value = U.value.loading), U.value.responsive) {
177
177
  let e = ie(() => {
178
178
  let { width: e, height: t } = ae({
179
179
  chart: B.value,
@@ -193,23 +193,23 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
193
193
  let e = S({
194
194
  userConfig: R.config,
195
195
  defaultConfig: et
196
- }), t = e, n = e.theme;
197
- if (n) if (!tt.value(e)) nt(e), t = e;
196
+ }), n = e, r = e.theme;
197
+ if (r) if (!tt.value(e)) nt(e), n = e;
198
198
  else {
199
199
  let i = S({
200
- userConfig: ue[n] || R.config,
200
+ userConfig: ue[r] || R.config,
201
201
  defaultConfig: e
202
202
  });
203
- t = {
203
+ n = {
204
204
  ...S({
205
205
  userConfig: R.config,
206
206
  defaultConfig: i
207
207
  }),
208
- customPalette: e.customPalette.length ? e.customPalette : s[n] || r
208
+ customPalette: e.customPalette.length ? e.customPalette : t[r] || o
209
209
  };
210
210
  }
211
- else t = e;
212
- return t.nodeCategories = R.config.nodeCategories || {}, t.nodeCategoryColors = R.config.nodeCategoryColors || {}, t;
211
+ else n = e;
212
+ return n.nodeCategories = R.config.nodeCategories || {}, n.nodeCategoryColors = R.config.nodeCategoryColors || {}, n;
213
213
  }
214
214
  let Ft = P(U.value.style.chart.width), It = P(U.value.style.chart.height);
215
215
  we(() => R.config, (e) => {
@@ -235,19 +235,19 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
235
235
  e[0],
236
236
  e[1],
237
237
  h(e[2]),
238
- e[3] ? _(e[3]) : Ht.value[t] || Ht.value[t % Ht.value.length] || r[t] || r[t % r.length]
238
+ e[3] ? _(e[3]) : Ht.value[t] || Ht.value[t % Ht.value.length] || o[t] || o[t % o.length]
239
239
  ]));
240
240
  function Gt(e) {
241
241
  let t = {}, n = {};
242
- function i(e, r) {
242
+ function i(e, i) {
243
243
  t[e] || (t[e] = {
244
244
  level: null,
245
245
  inflow: 0,
246
246
  outflow: 0,
247
247
  children: [],
248
248
  color: null,
249
- uid: a()
250
- }), t[e].level === null && (t[e].level = r), n[r] || (n[r] = []), n[r].includes(e) || n[r].push(e);
249
+ uid: r()
250
+ }), t[e].level === null && (t[e].level = i), n[i] || (n[i] = []), n[i].includes(e) || n[i].push(e);
251
251
  }
252
252
  e.forEach(([e, n, r]) => {
253
253
  let a = t[e]?.level ?? 0, o = a + 1;
@@ -256,16 +256,16 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
256
256
  value: r
257
257
  }), t[e].outflow += r, t[n].inflow += r;
258
258
  });
259
- let o = new Set(e.map(([e]) => e)), s = new Set(e.map(([, e]) => e)), c = Array.from(o).filter((e) => !s.has(e)), l = {};
259
+ let a = new Set(e.map(([e]) => e)), s = new Set(e.map(([, e]) => e)), c = Array.from(a).filter((e) => !s.has(e)), l = {};
260
260
  c.forEach((e, t) => {
261
- l[e] = Ht.value[t] || r[t % r.length];
261
+ l[e] = Ht.value[t] || o[t % o.length];
262
262
  });
263
263
  let u = {};
264
264
  e.forEach(([e, t, n, r]) => {
265
265
  r && (u[e] = r, u[t] = r);
266
266
  }), Object.keys(t).forEach((e, n) => {
267
- let i = U.value.nodeCategories?.[e], a = i ? U.value.nodeCategoryColors?.[i] : null;
268
- t[e].color = u[e] || a || (c.includes(e) ? l[e] : null) || r[n % r.length];
267
+ let r = U.value.nodeCategories?.[e], i = r ? U.value.nodeCategoryColors?.[r] : null;
268
+ t[e].color = u[e] || i || (c.includes(e) ? l[e] : null) || o[n % o.length];
269
269
  }), Object.keys(t).forEach((e) => {
270
270
  t[e].value = Math.max(t[e].inflow, t[e].outflow);
271
271
  });
@@ -288,19 +288,19 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
288
288
  }
289
289
  let x = m.map(b), S = x.length ? Math.min(...x) : 0, te = {};
290
290
  m.forEach((e) => {
291
- let r = n[e], i = r.length, o = Math.max(0, (i - 1) * v), s = Math.max(0, p - o), c = Math.min(y, i ? s / i : 0), l = r.map((e) => Math.max(c, (t[e].value || 0) * S)), u = l.reduce((e, t) => e + t, 0) + o, f = Math.max(0, (p - u) / 2);
292
- r.forEach((n, r) => {
293
- let o = l[r], s = d.left + e * _, c = f;
291
+ let i = n[e], a = i.length, o = Math.max(0, (a - 1) * v), s = Math.max(0, p - o), c = Math.min(y, a ? s / a : 0), l = i.map((e) => Math.max(c, (t[e].value || 0) * S)), u = l.reduce((e, t) => e + t, 0) + o, f = Math.max(0, (p - u) / 2);
292
+ i.forEach((n, i) => {
293
+ let o = l[i], s = d.left + e * _, c = f;
294
294
  te[n] = {
295
295
  x: s,
296
296
  y: c,
297
297
  absoluteY: c,
298
298
  height: o,
299
- i: r,
299
+ i,
300
300
  color: t[n].color,
301
301
  value: t[n].value,
302
- id: a()
303
- }, f += o, r < i - 1 && (f += v);
302
+ id: r()
303
+ }, f += o, i < a - 1 && (f += v);
304
304
  });
305
305
  });
306
306
  let ne = [], C = d.top, re = {}, ie = {};
@@ -310,29 +310,29 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
310
310
  let ae = !!U.value.style.chart.links.smooth, oe = .5;
311
311
  return m.forEach((e) => {
312
312
  n[e].forEach((e) => {
313
- let n = t[e], r = te[e];
313
+ let n = t[e], i = te[e];
314
314
  if (!n.children || !n.children.length) return;
315
- let i = r.y;
315
+ let a = i.y;
316
316
  n.children.forEach(({ target: o, value: s }) => {
317
- let c = te[o], l = t[o], u = n.outflow > 0 ? s / n.outflow : 0, d = l.inflow > 0 ? s / l.inflow : 0, f = h(i + C), p = h(i + u * r.height + C), m = re[o], g = m + d * c.height;
317
+ let c = te[o], l = t[o], u = n.outflow > 0 ? s / n.outflow : 0, d = l.inflow > 0 ? s / l.inflow : 0, f = h(a + C), p = h(a + u * i.height + C), m = re[o], g = m + d * c.height;
318
318
  ie[o] += s;
319
319
  let _ = l.inflow > 0 && ie[o] >= l.inflow - 1e-6, v = c.y + c.height;
320
320
  (_ || g > v - .25) && (g = v);
321
- let y = h(m + C), b = h(g + C), x = h(r.x + ee), S = h(c.x), se;
321
+ let y = h(m + C), b = h(g + C), x = h(i.x + ee), S = h(c.x), se;
322
322
  if (!ae || S <= x) se = `M ${x} ${f} L ${x} ${p} L ${S} ${b} L ${S} ${y} Z`;
323
323
  else {
324
324
  let e = S - x, t = h(x + e * oe), n = h(S - e * oe), r = f, i = y, a = p, o = b;
325
325
  se = `M ${x} ${r} C ${t} ${r}, ${n} ${i}, ${S} ${i} L ${S} ${o} C ${n} ${o}, ${t} ${a}, ${x} ${a} Z`;
326
326
  }
327
327
  ne.push({
328
- id: a(),
328
+ id: r(),
329
329
  source: e,
330
330
  target: o,
331
331
  path: se,
332
332
  value: s,
333
333
  sourceColor: n.color,
334
334
  targetColor: t[o].color
335
- }), i = p - C, re[o] = g;
335
+ }), a = p - C, re[o] = g;
336
336
  });
337
337
  });
338
338
  }), {
@@ -376,9 +376,9 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
376
376
  y: n.top + n.height / 2
377
377
  };
378
378
  }
379
- function nn(e, t, n = "pointer", r = null) {
380
- $.value = [], J.value = Zt(e.name), Y.value = e.name, $t.value = e.id, xt.value = n, yt.value = r, V.value = e.id;
381
- let a = e.name, o = Wt.value, s = 0, c = 0, l = [], d = [], p = new Set(o.map(([e]) => e)), m = new Set(o.map(([, e]) => e)), h = Array.from(p).filter((e) => !m.has(e)), g = o.filter(([e]) => h.includes(e)).reduce((e, [t, n, r]) => e + r, 0), _ = {};
379
+ function nn(e, t, r = "pointer", i = null) {
380
+ $.value = [], J.value = Zt(e.name), Y.value = e.name, $t.value = e.id, xt.value = r, yt.value = i, V.value = e.id;
381
+ let a = e.name, o = Wt.value, s = 0, c = 0, l = [], f = [], p = new Set(o.map(([e]) => e)), m = new Set(o.map(([, e]) => e)), h = Array.from(p).filter((e) => !m.has(e)), g = o.filter(([e]) => h.includes(e)).reduce((e, [t, n, r]) => e + r, 0), _ = {};
382
382
  q.value.nodes.forEach((e) => {
383
383
  _[e.name] = e.color;
384
384
  }), o.forEach(([e, t, n]) => {
@@ -386,7 +386,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
386
386
  source: e,
387
387
  value: n,
388
388
  color: _[e]
389
- })), e === a && (c += n, d.push({
389
+ })), e === a && (c += n, f.push({
390
390
  target: t,
391
391
  value: n,
392
392
  color: _[t]
@@ -397,7 +397,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
397
397
  inflow: s,
398
398
  outflow: c,
399
399
  from: l,
400
- to: d,
400
+ to: f,
401
401
  percentOfTotal: ee,
402
402
  color: _[a] || "#000000"
403
403
  };
@@ -411,7 +411,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
411
411
  series: q.value
412
412
  }, ot.value = !0;
413
413
  let y = "", b = U.value.style.chart.tooltip.customFormat;
414
- if (Qt.value = !1, f(b)) try {
414
+ if (Qt.value = !1, u(b)) try {
415
415
  let e = b({
416
416
  datapoint: v,
417
417
  series: q.value,
@@ -422,21 +422,21 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
422
422
  console.warn("Custom format cannot be applied.");
423
423
  }
424
424
  if (!Qt.value) {
425
- let e = U.value.style.chart.tooltip.showPercentage ? `<div>${i({
425
+ let e = U.value.style.chart.tooltip.showPercentage ? `<div>${n({
426
426
  p: U.value.style.chart.tooltip.translations.percentOfTotal,
427
427
  v: v.percentOfTotal,
428
428
  s: "%",
429
429
  r: U.value.style.chart.tooltip.roundingPercentage
430
430
  })}</div>` : "";
431
431
  y += `<div style="width:100%;text-align:center;border-bottom:1px solid ${U.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${v.color}">⏹</span>${v.name}${e}</div>`, v.from.length && (y += `<div>${U.value.style.chart.tooltip.translations.from}</div>`, v.from.forEach((e) => {
432
- y += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${u(U.value.style.chart.nodes.labels.formatter, e.value, i({
432
+ y += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${d(U.value.style.chart.nodes.labels.formatter, e.value, n({
433
433
  p: U.value.style.chart.nodes.labels.prefix,
434
434
  v: e.value,
435
435
  s: U.value.style.chart.nodes.labels.suffix,
436
436
  r: U.value.style.chart.nodes.labels.rounding
437
437
  }))}</div>`;
438
438
  })), v.to.length && (y += `<div style="margin-top:6px;">${U.value.style.chart.tooltip.translations.to}</div>`, v.to.forEach((e) => {
439
- y += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${u(U.value.style.chart.nodes.labels.formatter, e.value, i({
439
+ y += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${d(U.value.style.chart.nodes.labels.formatter, e.value, n({
440
440
  p: U.value.style.chart.nodes.labels.prefix,
441
441
  v: e.value,
442
442
  s: U.value.style.chart.nodes.labels.suffix,
@@ -444,7 +444,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
444
444
  }))}</div>`;
445
445
  })), st.value = y;
446
446
  }
447
- n === "keyboard" && _e(() => {
447
+ r === "keyboard" && _e(() => {
448
448
  tn(e.id);
449
449
  });
450
450
  }
@@ -475,7 +475,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
475
475
  [e.source],
476
476
  [e.target],
477
477
  [e.value]
478
- ]), n = c([
478
+ ]), n = s([
479
479
  [U.value.style.chart.title.text],
480
480
  [U.value.style.chart.title.subtitle.text],
481
481
  [
@@ -484,7 +484,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
484
484
  [U.value.table.columnNames.value]
485
485
  ]
486
486
  ].concat(t));
487
- e ? e(n) : o({
487
+ e ? e(n) : a({
488
488
  csvContent: n,
489
489
  title: U.value.style.chart.title.text || "vue-ui-flow"
490
490
  });
@@ -506,13 +506,13 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
506
506
  name: e.target,
507
507
  shape: "square"
508
508
  },
509
- i({
509
+ n({
510
510
  p: U.value.style.chart.nodes.labels.prefix,
511
511
  v: e.value,
512
512
  s: U.value.style.chart.nodes.labels.suffix,
513
513
  r: U.value.style.chart.nodes.labels.rounding
514
514
  })
515
- ]), n = {
515
+ ]), r = {
516
516
  th: {
517
517
  backgroundColor: U.value.table.th.backgroundColor,
518
518
  color: U.value.table.th.color,
@@ -533,7 +533,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
533
533
  ],
534
534
  head: e,
535
535
  body: t,
536
- config: n
536
+ config: r
537
537
  };
538
538
  }), cn = w(() => ({
539
539
  headers: Z.value?.colNames ?? [],
@@ -577,7 +577,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
577
577
  let e = new Set(q.value.nodes.map((e) => U.value.nodeCategories[e.name] || "__uncategorized__"));
578
578
  return Array.from(e).map((e) => ({
579
579
  name: e,
580
- color: U.value.nodeCategoryColors[e] || r[0],
580
+ color: U.value.nodeCategoryColors[e] || o[0],
581
581
  shape: "square",
582
582
  count: q.value.nodes.filter((t) => (U.value.nodeCategories[t.name] || "__uncategorized__") === e).length
583
583
  })).map((e, t) => {
@@ -1045,7 +1045,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1045
1045
  opacity: J.value ? J.value.includes(e.name) ? 1 : .3 : 1,
1046
1046
  outline: $t.value !== null && $t.value === e.id ? "2px solid currentColor" : void 0
1047
1047
  }),
1048
- "aria-label": `${e.name}: ${I(u)(U.value.style.chart.nodes.labels.formatter, e.value, I(i)({
1048
+ "aria-label": `${e.name}: ${I(d)(U.value.style.chart.nodes.labels.formatter, e.value, I(n)({
1049
1049
  p: U.value.style.chart.nodes.labels.prefix,
1050
1050
  v: e.value,
1051
1051
  s: U.value.style.chart.nodes.labels.suffix,
@@ -1062,7 +1062,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1062
1062
  fill: I(p)(e.color),
1063
1063
  "text-anchor": "middle",
1064
1064
  style: M(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
1065
- }, Se(U.value.style.chart.nodes.labels.abbreviation.use ? I(d)({
1065
+ }, Se(U.value.style.chart.nodes.labels.abbreviation.use ? I(f)({
1066
1066
  source: e.name,
1067
1067
  length: U.value.style.chart.nodes.labels.abbreviation.length
1068
1068
  }) : e.name), 13, ze))), 256)), U.value.style.chart.nodes.labels.showValue ? (N(!0), D(de, { key: 0 }, be(q.value.nodes, (e, t) => (N(), D("text", {
@@ -1072,7 +1072,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1072
1072
  fill: I(p)(e.color),
1073
1073
  "text-anchor": "middle",
1074
1074
  style: M(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
1075
- }, Se(I(u)(U.value.style.chart.nodes.labels.formatter, e.value, I(i)({
1075
+ }, Se(I(d)(U.value.style.chart.nodes.labels.formatter, e.value, I(n)({
1076
1076
  p: U.value.style.chart.nodes.labels.prefix,
1077
1077
  v: e.value,
1078
1078
  s: U.value.style.chart.nodes.labels.suffix,
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ct as t, G as n, H as r, J as i, S as a, X as ee, bt as te, i as o, ot as ne, r as re, t as ie, y as ae, zt as s } from "./lib-DUeYQsS0.js";
2
+ import { G as t, H as n, J as r, S as i, St as a, Tt as ee, Vt as o, X as te, ct as ne, i as s, r as re, t as ie, y as ae } from "./lib-AJRHFE5U.js";
3
3
  import { t as oe } from "./useConfig-DnH7Pf_2.js";
4
- import { t as se } from "./usePrinter-C1Gqt_Sp.js";
4
+ import { t as se } from "./usePrinter-6n2MzVyV.js";
5
5
  import { t as ce } from "./useSvgExport-SVIsDot8.js";
6
- import { t as c } from "./useNestedProp-CNcoy38D.js";
6
+ import { t as c } from "./useNestedProp-DtcXIg7n.js";
7
7
  import { t as le } from "./useThemeCheck-C43Tcqmk.js";
8
- import { t as ue } from "./img-1cKsci8e.js";
9
- import { n as de } from "./Title-NWp4qB4K.js";
8
+ import { t as ue } from "./img-C_RNNswI.js";
9
+ import { n as de } from "./Title-DH6G8_cZ.js";
10
10
  import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
11
  import { c as pe } from "./canvas-lib-BOP_HS11.js";
12
12
  import { t as me } from "./useResponsive-BfnK0KxU.js";
@@ -59,10 +59,10 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
59
59
  emits: ["copyAlt"],
60
60
  setup(e, { expose: fe, emit: Oe }) {
61
61
  Ee((e) => ({ v5d52ff0c: Et.value }));
62
- let Ge = h(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Ke = h(() => import("./vue-ui-skeleton-BD0JzrcV.js").then((e) => e.n)), qe = h(() => import("./vue-ui-accordion-Bpbv-VHE.js").then((e) => e.n)), Je = h(() => import("./DataTable-B--IN22e.js")), Ye = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Xe = h(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Ze = h(() => import("./PackageVersion-BbgWxFC4.js").then((e) => e.t)), Qe = h(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_funnel: $e } = oe(), { isThemeValid: et, warnInvalidTheme: tt } = le(), O = e, nt = Oe, k = S(null), A = S(r()), rt = S(0), it = S(0), at = S(0), ot = S(null), st = S(null), ct = S(null), j = Te(null), M = Te(null), N = S(!1), P = S(null), F = S(null), I = S(!1), L = S(!1), R = u(() => !!O.dataset && O.dataset.length);
62
+ let Ge = h(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), Ke = h(() => import("./vue-ui-skeleton-qpdvvWtx.js").then((e) => e.n)), qe = h(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), Je = h(() => import("./DataTable-DweDyHc1.js")), Ye = h(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), Xe = h(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Ze = h(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), Qe = h(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_funnel: $e } = oe(), { isThemeValid: et, warnInvalidTheme: tt } = le(), O = e, nt = Oe, k = S(null), A = S(n()), rt = S(0), it = S(0), at = S(0), ot = S(null), st = S(null), ct = S(null), j = Te(null), M = Te(null), N = S(!1), P = S(null), F = S(null), I = S(!1), L = S(!1), R = u(() => !!O.dataset && O.dataset.length);
63
63
  Ce(lt);
64
64
  function lt() {
65
- if (t(O.dataset) ? ee({
65
+ if (ee(O.dataset) ? te({
66
66
  componentName: "VueUiFunnel",
67
67
  type: "dataset"
68
68
  }) : O.dataset.forEach((e, t) => {
@@ -70,7 +70,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
70
70
  datasetObject: e,
71
71
  requiredAttributes: ["name", "value"]
72
72
  }).forEach((e) => {
73
- R.value = !1, ee({
73
+ R.value = !1, te({
74
74
  componentName: "VueUiFunnel",
75
75
  type: "datasetSerieAttribute",
76
76
  property: e,
@@ -86,19 +86,19 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
86
86
  noTitle: ot.value
87
87
  });
88
88
  requestAnimationFrame(() => {
89
- H.value.height = t, H.value.width = e, W.value = xt(), z.value.responsiveProportionalSizing ? (V.value.circles = s({
89
+ H.value.height = t, H.value.width = e, W.value = xt(), z.value.responsiveProportionalSizing ? (V.value.circles = o({
90
90
  relator: Math.min(e, t),
91
91
  adjuster: 600,
92
92
  source: z.value.style.chart.circles.dataLabels.fontSize,
93
93
  threshold: 10,
94
94
  fallback: 10
95
- }), V.value.names = s({
95
+ }), V.value.names = o({
96
96
  relator: Math.min(e, t),
97
97
  adjuster: 600,
98
98
  source: z.value.style.chart.bars.dataLabels.name.fontSize,
99
99
  threshold: 10,
100
100
  fallback: 10
101
- }), V.value.values = s({
101
+ }), V.value.values = o({
102
102
  relator: Math.min(e, t),
103
103
  adjuster: 600,
104
104
  source: z.value.style.chart.bars.dataLabels.value.fontSize,
@@ -152,7 +152,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
152
152
  set: (e) => e
153
153
  }), U = u(() => R.value ? O.dataset.map((e, t) => ({
154
154
  ...e,
155
- color: e.color ? ae(e.color) : te(z.value.style.chart.bars.defaultColor, t / O.dataset.length)
155
+ color: e.color ? ae(e.color) : a(z.value.style.chart.bars.defaultColor, t / O.dataset.length)
156
156
  })) : []);
157
157
  setTimeout(() => {
158
158
  N.value = !0;
@@ -213,17 +213,17 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
213
213
  z.value.table.columnNames.series,
214
214
  z.value.table.columnNames.value,
215
215
  z.value.table.columnNames.percentage
216
- ], t = X.value.head.map((e, t) => {
217
- let r = o(z.value.style.chart.bars.dataLabels.value.formatter, X.value.body[t], n({
216
+ ], n = X.value.head.map((e, n) => {
217
+ let r = s(z.value.style.chart.bars.dataLabels.value.formatter, X.value.body[n], t({
218
218
  p: z.value.style.chart.bars.dataLabels.value.prefix,
219
- v: X.value.body[t],
219
+ v: X.value.body[n],
220
220
  s: z.value.style.chart.bars.dataLabels.value.suffix,
221
221
  r: z.value.table.td.roundingValue
222
- }), { datapoint: q.value[t] }), i = o(z.value.style.chart.circles.dataLabels.formatter, q.value[t].proportion * 100, n({
223
- v: q.value[t].proportion * 100,
222
+ }), { datapoint: q.value[n] }), i = s(z.value.style.chart.circles.dataLabels.formatter, q.value[n].proportion * 100, t({
223
+ v: q.value[n].proportion * 100,
224
224
  s: "%",
225
225
  r: z.value.table.td.roundingPercentage
226
- }), { datapoint: q.value[t] });
226
+ }), { datapoint: q.value[n] });
227
227
  return [
228
228
  {
229
229
  color: e.color,
@@ -252,7 +252,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
252
252
  z.value.table.columnNames.percentage
253
253
  ],
254
254
  head: e,
255
- body: t,
255
+ body: n,
256
256
  config: r
257
257
  };
258
258
  });
@@ -262,7 +262,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
262
262
  [e.name],
263
263
  [X.value.body[t]],
264
264
  [q.value[t].proportion * 100]
265
- ]), n = a([
265
+ ]), n = i([
266
266
  [z.value.style.chart.title.text],
267
267
  [z.value.style.chart.title.subtitle.text],
268
268
  [
@@ -271,7 +271,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
271
271
  ["%"]
272
272
  ]
273
273
  ].concat(t));
274
- e ? e(n) : i({
274
+ e ? e(n) : r({
275
275
  csvContent: n,
276
276
  title: z.value.style.chart.title.text || "vue-ui-funnel"
277
277
  });
@@ -389,14 +389,14 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
389
389
  toggleAnnotator: Dt,
390
390
  toggleFullscreen: Tt,
391
391
  copyAlt: Lt
392
- }), (e, t) => (x(), p("div", {
392
+ }), (e, n) => (x(), p("div", {
393
393
  ref_key: "funnelChart",
394
394
  ref: k,
395
395
  class: v(`vue-data-ui-component vue-ui-funnel ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${z.value.useCssAnimation ? "" : "vue-ui-dna"}`),
396
396
  style: b(`font-family:${z.value.style.fontFamily};width:100%; ${z.value.responsive ? "height:100%;" : ""} text-align:center;background:${z.value.style.chart.backgroundColor}`),
397
397
  id: `funnel_${A.value}`,
398
- onMouseenter: t[1] ||= () => E(pt)(!0),
399
- onMouseleave: t[2] ||= () => E(pt)(!1)
398
+ onMouseenter: n[1] ||= () => E(pt)(!0),
399
+ onMouseleave: n[2] ||= () => E(pt)(!1)
400
400
  }, [
401
401
  z.value.userOptions.buttons.annotator ? (x(), d(E(Xe), {
402
402
  key: 0,
@@ -637,7 +637,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
637
637
  class: { animated: z.value.useCssAnimation && !N.value },
638
638
  style: { animationDelay: `${150 * i}ms` }
639
639
  }), null, 16, Le))), 256)),
640
- (x(!0), p(l, null, C(q.value, (e, t) => (x(), p("text", {
640
+ (x(!0), p(l, null, C(q.value, (e, n) => (x(), p("text", {
641
641
  x: e.cx,
642
642
  y: e.cy + V.value.circles / 3 + z.value.style.chart.circles.dataLabels.offsetY,
643
643
  "text-anchor": "middle",
@@ -645,8 +645,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
645
645
  fill: z.value.style.chart.circles.dataLabels.adaptColorToBackground ? E(re)(e.color) : z.value.style.chart.circles.dataLabels.color,
646
646
  "font-weight": z.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
647
647
  class: v({ animated: z.value.useCssAnimation && !N.value }),
648
- style: b({ animationDelay: `${150 * t}ms` })
649
- }, T(E(o)(z.value.style.chart.circles.dataLabels.formatter, e.proportion * 100, E(n)({
648
+ style: b({ animationDelay: `${150 * n}ms` })
649
+ }, T(E(s)(z.value.style.chart.circles.dataLabels.formatter, e.proportion * 100, E(t)({
650
650
  v: e.proportion * 100,
651
651
  s: "%",
652
652
  r: z.value.style.chart.circles.dataLabels.rounding
@@ -671,7 +671,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
671
671
  class: { animated: z.value.useCssAnimation && !N.value },
672
672
  style: { animationDelay: `${150 * a}ms` }
673
673
  }), null, 16, Be))), 256)),
674
- (x(!0), p(l, null, C(q.value, (e, t) => (x(), p("g", null, [m("text", {
674
+ (x(!0), p(l, null, C(q.value, (e, n) => (x(), p("g", null, [m("text", {
675
675
  x: e.x + e.width + z.value.style.chart.bars.dataLabels.name.offsetX + 12,
676
676
  y: e.cy - V.value.names / 2 + z.value.style.chart.bars.dataLabels.name.offsetY,
677
677
  "text-anchor": "start",
@@ -679,7 +679,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
679
679
  fill: z.value.style.chart.bars.dataLabels.name.color,
680
680
  "font-weight": z.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
681
681
  class: v({ animated: z.value.useCssAnimation && !N.value }),
682
- style: b({ animationDelay: `${150 * t}ms` })
682
+ style: b({ animationDelay: `${150 * n}ms` })
683
683
  }, T(e.name), 15, Ve), m("text", {
684
684
  x: e.x + e.width + z.value.style.chart.bars.dataLabels.value.offsetX + 12,
685
685
  y: e.cy + V.value.values + z.value.style.chart.bars.dataLabels.value.offsetY,
@@ -688,8 +688,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
688
688
  fill: z.value.style.chart.bars.dataLabels.value.color,
689
689
  "font-weight": z.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
690
690
  class: v({ animated: z.value.useCssAnimation && !N.value }),
691
- style: b({ animationDelay: `${150 * t}ms` })
692
- }, T(E(o)(z.value.style.chart.bars.dataLabels.value.formatter, e.value, E(n)({
691
+ style: b({ animationDelay: `${150 * n}ms` })
692
+ }, T(E(s)(z.value.style.chart.bars.dataLabels.value.formatter, e.value, E(t)({
693
693
  p: z.value.style.chart.bars.dataLabels.value.prefix,
694
694
  v: e.value,
695
695
  s: z.value.style.chart.bars.dataLabels.value.suffix,
@@ -763,7 +763,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "
763
763
  fn: D(() => [m("button", {
764
764
  tabindex: "0",
765
765
  class: "vue-ui-user-options-button",
766
- onClick: t[0] ||= (e) => Q(z.value.userOptions.callbacks.csv)
766
+ onClick: n[0] ||= (e) => Q(z.value.userOptions.callbacks.csv)
767
767
  }, [be(E(Ge), {
768
768
  name: "fileCsv",
769
769
  stroke: $.value.props.color