vue-data-ui 3.2.8 → 3.3.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 (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
  8. package/dist/{PackageVersion-C40g0Rfc.js → PackageVersion-C9oklnuy.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
  84. package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
  90. package/dist/useSvgExport-B7-Vrjtu.js +732 -0
  91. package/dist/vue-data-ui-DLU1snC3.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-Cf7zHemQ.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
  94. package/dist/{vue-ui-accordion-CDIzGCG1.js → vue-ui-accordion-Dch9YrCi.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-T09D0LHr.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
  96. package/dist/{vue-ui-annotator-3bUg-1Zy.js → vue-ui-annotator-DwRwhrgB.js} +7 -7
  97. package/dist/{vue-ui-bullet-DKgdFa2v.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
  98. package/dist/{vue-ui-candlestick-g6PO_L_7.js → vue-ui-candlestick-C81k1_f9.js} +278 -262
  99. package/dist/{vue-ui-carousel-table-Ch2xooE8.js → vue-ui-carousel-table-DBIhnEj-.js} +4 -4
  100. package/dist/{vue-ui-chestnut-B-nzp0b6.js → vue-ui-chestnut-CSM-_IWw.js} +425 -379
  101. package/dist/{vue-ui-chord-BqS8DoTd.js → vue-ui-chord-BFW9nnNh.js} +317 -299
  102. package/dist/{vue-ui-circle-pack-B1axDP9l.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
  104. package/dist/{vue-ui-dashboard-TXcw45j_.js → vue-ui-dashboard-BdFLsK4u.js} +67 -67
  105. package/dist/{vue-ui-digits-pW7YVqxy.js → vue-ui-digits-DXum1rs6.js} +2 -2
  106. package/dist/{vue-ui-donut-BFpWEe2s.js → vue-ui-donut-CqefukGp.js} +662 -645
  107. package/dist/{vue-ui-donut-evolution-BoVslTri.js → vue-ui-donut-evolution-DFIbK50s.js} +406 -384
  108. package/dist/{vue-ui-dumbbell-CRHvtmq9.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
  109. package/dist/vue-ui-flow--kiGWaq4.js +931 -0
  110. package/dist/{vue-ui-funnel-CKUlzitM.js → vue-ui-funnel-B8UHwj15.js} +174 -158
  111. package/dist/{vue-ui-galaxy-DZqCAK9c.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
  112. package/dist/{vue-ui-gauge-D3bPFF59.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
  113. package/dist/{vue-ui-gizmo-oVLp367W.js → vue-ui-gizmo-DFxlqPz7.js} +3 -3
  114. package/dist/{vue-ui-heatmap-C1RctcPx.js → vue-ui-heatmap-CcAe5dDN.js} +393 -372
  115. package/dist/{vue-ui-history-plot-CoQYOlF4.js → vue-ui-history-plot-CgKvd7Jx.js} +307 -289
  116. package/dist/{vue-ui-kpi-BZX-tqIm.js → vue-ui-kpi-Ct2iyD49.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-hMqB-KQI.js → vue-ui-mini-loader-ByjcvXBB.js} +2 -2
  118. package/dist/{vue-ui-molecule-D0Kr_w-v.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
  119. package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-94Gu95Z9.js → vue-ui-nested-donuts-CGKgOTX2.js} +541 -518
  121. package/dist/{vue-ui-onion-Dy_aTvGI.js → vue-ui-onion-C5tE1Woz.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-D_oo5lQW.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +252 -233
  123. package/dist/{vue-ui-quadrant-CRYpRl_q.js → vue-ui-quadrant-BGDCaOXv.js} +294 -276
  124. package/dist/{vue-ui-quick-chart-B1s047tz.js → vue-ui-quick-chart-CjXSB-2S.js} +723 -685
  125. package/dist/{vue-ui-radar-DA7EuchK.js → vue-ui-radar-rhxkROX7.js} +307 -282
  126. package/dist/{vue-ui-rating-z2bsnprP.js → vue-ui-rating-Bo9gSy-z.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-DZ8IiUNu.js → vue-ui-relation-circle-Qo8FKbL2.js} +146 -131
  128. package/dist/{vue-ui-ridgeline-5IWuJgs6.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
  129. package/dist/{vue-ui-rings-gY2f8mVf.js → vue-ui-rings-DFAVaEBs.js} +323 -310
  130. package/dist/{vue-ui-scatter-OLidvHlx.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
  131. package/dist/{vue-ui-skeleton-BaysGsg0.js → vue-ui-skeleton-CKfOnyd_.js} +3 -3
  132. package/dist/{vue-ui-smiley-Dn2IR0oC.js → vue-ui-smiley-CY7UiJ9C.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-gp5B9uF7.js → vue-ui-spark-trend-DwNYP97M.js} +3 -3
  134. package/dist/{vue-ui-sparkbar-8t63RYc7.js → vue-ui-sparkbar-BkdcYrmg.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-BWSykUpn.js → vue-ui-sparkgauge-C6Kq_OGV.js} +3 -3
  136. package/dist/{vue-ui-sparkhistogram-BEjxKMG5.js → vue-ui-sparkhistogram-CjB33yXB.js} +4 -4
  137. package/dist/{vue-ui-sparkline-bFF-ZCCH.js → vue-ui-sparkline-DcH4yIEd.js} +3 -3
  138. package/dist/{vue-ui-sparkstackbar-HtAlEtzK.js → vue-ui-sparkstackbar-MKr2u_pO.js} +3 -3
  139. package/dist/{vue-ui-stackbar-CUIWPgfk.js → vue-ui-stackbar-DKV-exfd.js} +355 -337
  140. package/dist/{vue-ui-strip-plot-DwS52yGc.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
  141. package/dist/{vue-ui-table-BYqPx7k4.js → vue-ui-table-BdT3lGuv.js} +5 -5
  142. package/dist/{vue-ui-table-heatmap-CRfjUoa1.js → vue-ui-table-heatmap-D929cWB0.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-Bvf0ZBOi.js → vue-ui-table-sparkline-CkZ_ygR1.js} +4 -4
  144. package/dist/{vue-ui-thermometer-BB7cHec0.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
  145. package/dist/{vue-ui-timer-BVDKvC4v.js → vue-ui-timer-Bs7eMmiC.js} +5 -5
  146. package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
  147. package/dist/{vue-ui-treemap-nGgRTw0l.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-BJOm2JQh.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
  149. package/dist/{vue-ui-waffle-aCMPaHbw.js → vue-ui-waffle-C7moVBln.js} +396 -377
  150. package/dist/{vue-ui-wheel-D_q23eOk.js → vue-ui-wheel-KrGLMCqW.js} +196 -180
  151. package/dist/{vue-ui-word-cloud-C7TMR4Zq.js → vue-ui-word-cloud-BQSu6kiR.js} +233 -217
  152. package/dist/{vue-ui-world-DtMYYQ6T.js → vue-ui-world-DdoMFJcV.js} +344 -326
  153. package/dist/{vue-ui-xy-Dputm9QT.js → vue-ui-xy-B2fjTYMJ.js} +1601 -1707
  154. package/dist/{vue-ui-xy-canvas-BCeQoXNM.js → vue-ui-xy-canvas-oUXISeU8.js} +10 -10
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-BcRg499t.js +0 -325
  157. package/dist/vue-ui-flow-CKGjSZoj.js +0 -909
  158. package/dist/vue-ui-mood-radar-C6UCofDb.js +0 -853
  159. package/dist/vue-ui-tiremarks-CBVuu_Zi.js +0 -407
@@ -1,18 +1,19 @@
1
- import { useCssVars as Xe, computed as h, defineAsyncComponent as x, ref as c, shallowRef as we, onMounted as We, onBeforeUnmount as Ye, watch as $e, createElementBlock as i, openBlock as n, unref as o, normalizeStyle as T, normalizeClass as N, createBlock as I, createCommentVNode as b, createSlots as xe, withCtx as m, renderSlot as g, normalizeProps as G, guardReactiveProps as j, createVNode as Le, createElementVNode as C, mergeProps as H, Fragment as X, renderList as W, toDisplayString as U, resolveDynamicComponent as qe, createTextVNode as _e, nextTick as Je } from "vue";
2
- import { c as Ke, o as Qe, f as Te, g as Ze, h as et, m as tt, a as Y, d as q, X as at, E as lt, D as te, x as ot, y as st } from "./lib-BEpWEyMm.js";
3
- import { t as nt, u as ut } from "./useResponsive-DfdjqQps.js";
4
- import { u as rt, a as Ae } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as it } from "./usePrinter-w23K-ezx.js";
6
- import { u as ct } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as vt } from "./useChartAccessibility-9icAAmYg.js";
8
- import dt from "./img-DjWwQXVS.js";
9
- import ht from "./Title-DG2nloSB.js";
10
- import { t as ft } from "./themes-Dw-dDudK.js";
11
- import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["id"], kt = ["stop-color"], Ct = ["stop-color"], wt = ["stop-color"], $t = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], Lt = ["x", "y", "font-size", "fill", "font-weight"], _t = ["points", "fill"], Tt = ["stroke", "stroke-width", "rx"], At = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["x", "y", "font-size", "fill", "font-weight"], Dt = {
1
+ import { useCssVars as Ke, computed as i, defineAsyncComponent as $, ref as v, shallowRef as xe, onMounted as Qe, onBeforeUnmount as Ze, watch as $e, createElementBlock as c, openBlock as n, unref as o, normalizeStyle as T, normalizeClass as N, createBlock as I, createCommentVNode as b, createSlots as Le, withCtx as m, renderSlot as g, normalizeProps as G, guardReactiveProps as j, createVNode as _e, createElementVNode as C, mergeProps as H, Fragment as X, renderList as W, toDisplayString as U, resolveDynamicComponent as et, createTextVNode as Te, nextTick as tt } from "vue";
2
+ import { c as at, o as lt, f as Se, g as st, h as ot, m as nt, a as Y, d as q, X as ut, E as rt, D as ae, x as it, y as ct } from "./lib-GIYcnm0E.js";
3
+ import { t as vt, u as dt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ht, a as Ae } from "./useNestedProp-mxyyqd0B.js";
5
+ import { u as ft } from "./usePrinter-DYRFiw7X.js";
6
+ import { u as bt } from "./useSvgExport-B7-Vrjtu.js";
7
+ import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as gt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import pt from "./img-6wPuVVtk.js";
10
+ import yt from "./Title-D17CJXko.js";
11
+ import { t as kt } from "./themes-Dw-dDudK.js";
12
+ import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["id"], _t = ["stop-color"], Tt = ["stop-color"], St = ["stop-color"], At = ["stroke", "stroke-width"], Ot = ["stroke", "stroke-width"], Dt = ["x", "y", "font-size", "fill", "font-weight"], zt = ["points", "fill"], Nt = ["stroke", "stroke-width", "rx"], It = ["x", "y", "font-size", "fill", "font-weight"], Pt = ["x", "y", "font-size", "fill", "font-weight"], Ft = {
13
14
  key: 5,
14
15
  class: "vue-data-ui-watermark"
15
- }, St = ["innerHTML"], zt = {
16
+ }, Bt = ["innerHTML"], Rt = {
16
17
  __name: "vue-ui-funnel",
17
18
  props: {
18
19
  config: {
@@ -29,21 +30,21 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
29
30
  }
30
31
  },
31
32
  setup(Oe, { expose: De }) {
32
- Xe((t) => ({
33
- cdec50c0: Ge.value
33
+ Ke((t) => ({
34
+ v09babd12: je.value
34
35
  }));
35
- const Se = x(() => import("./BaseIcon-Bz-1GQhu.js")), ze = x(() => import("./vue-ui-skeleton-BaysGsg0.js")), Ne = x(() => import("./vue-ui-accordion-CDIzGCG1.js")), Ie = x(() => import("./DataTable-BvjacRbw.js")), Pe = x(() => import("./UserOptions-DsTgvAok.js")), Fe = x(() => import("./PenAndPaper-CR8q353D.js")), Re = x(() => import("./PackageVersion-C40g0Rfc.js")), Be = x(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_funnel: Me } = rt(), p = Oe, w = c(null), P = c(Ke()), ae = c(0), le = c(0), oe = c(0), se = c(null), ne = c(null), ue = c(null), $ = we(null), A = we(null), L = c(!1), F = c(null), J = c(null), O = h(() => !!p.dataset && p.dataset.length);
36
- We(re);
37
- function re() {
38
- if (Qe(p.dataset) ? Te({
36
+ const ze = $(() => import("./BaseIcon-CtqN7W_g.js")), Ne = $(() => import("./vue-ui-skeleton-CKfOnyd_.js")), Ie = $(() => import("./vue-ui-accordion-Dch9YrCi.js")), Pe = $(() => import("./DataTable-BeI6gYJX.js")), Fe = $(() => import("./UserOptions-B3vCIe-u.js")), Be = $(() => import("./PenAndPaper-BxbYiPy4.js")), Re = $(() => import("./PackageVersion-C9oklnuy.js")), Me = $(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_funnel: Ue } = ht(), p = Oe, w = v(null), P = v(at()), le = v(0), se = v(0), oe = v(0), ne = v(null), ue = v(null), re = v(null), x = xe(null), S = xe(null), L = v(!1), F = v(null), J = v(null), A = i(() => !!p.dataset && p.dataset.length);
37
+ Qe(ie);
38
+ function ie() {
39
+ if (lt(p.dataset) ? Se({
39
40
  componentName: "VueUiFunnel",
40
41
  type: "dataset"
41
42
  }) : p.dataset.forEach((t, l) => {
42
- Ze({
43
+ st({
43
44
  datasetObject: t,
44
45
  requiredAttributes: ["name", "value"]
45
46
  }).forEach((a) => {
46
- O.value = !1, Te({
47
+ A.value = !1, Se({
47
48
  componentName: "VueUiFunnel",
48
49
  type: "datasetSerieAttribute",
49
50
  property: a,
@@ -51,79 +52,79 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
51
52
  });
52
53
  });
53
54
  }), e.value.responsive) {
54
- const t = nt(() => {
55
- const { width: l, height: a } = ut({
55
+ const t = vt(() => {
56
+ const { width: l, height: a } = dt({
56
57
  chart: w.value,
57
- title: e.value.style.chart.title.text ? ue.value : null,
58
- source: ne.value,
59
- noTitle: se.value
58
+ title: e.value.style.chart.title.text ? re.value : null,
59
+ source: ue.value,
60
+ noTitle: ne.value
60
61
  });
61
62
  requestAnimationFrame(() => {
62
- d.value.height = a, d.value.width = l, k.value = ge(), e.value.responsiveProportionalSizing ? (v.value.circles = te({
63
+ h.value.height = a, h.value.width = l, k.value = ge(), e.value.responsiveProportionalSizing ? (d.value.circles = ae({
63
64
  relator: Math.min(l, a),
64
65
  adjuster: 600,
65
66
  source: e.value.style.chart.circles.dataLabels.fontSize,
66
67
  threshold: 10,
67
68
  fallback: 10
68
- }), v.value.names = te({
69
+ }), d.value.names = ae({
69
70
  relator: Math.min(l, a),
70
71
  adjuster: 600,
71
72
  source: e.value.style.chart.bars.dataLabels.name.fontSize,
72
73
  threshold: 10,
73
74
  fallback: 10
74
- }), v.value.values = te({
75
+ }), d.value.values = ae({
75
76
  relator: Math.min(l, a),
76
77
  adjuster: 600,
77
78
  source: e.value.style.chart.bars.dataLabels.value.fontSize,
78
79
  threshold: 10,
79
80
  fallback: 10
80
- })) : (v.value.circles = e.value.style.chart.circles.dataLabels.fontSize, v.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, v.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
81
+ })) : (d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
81
82
  });
82
83
  });
83
- $.value && (A.value && $.value.unobserve(A.value), $.value.disconnect()), $.value = new ResizeObserver(t), A.value = w.value.parentNode, $.value.observe(A.value);
84
+ x.value && (S.value && x.value.unobserve(S.value), x.value.disconnect()), x.value = new ResizeObserver(t), S.value = w.value.parentNode, x.value.observe(S.value);
84
85
  }
85
86
  }
86
- Ye(() => {
87
- $.value && (A.value && $.value.unobserve(A.value), $.value.disconnect());
87
+ Ze(() => {
88
+ x.value && (S.value && x.value.unobserve(S.value), x.value.disconnect());
88
89
  });
89
- function ie() {
90
+ function ce() {
90
91
  const t = Ae({
91
92
  userConfig: p.config,
92
- defaultConfig: Me
93
+ defaultConfig: Ue
93
94
  });
94
95
  return t.theme ? {
95
96
  ...Ae({
96
- userConfig: ft.vue_ui_funnel[t.theme] || p.config,
97
+ userConfig: kt.vue_ui_funnel[t.theme] || p.config,
97
98
  defaultConfig: t
98
99
  })
99
100
  } : t;
100
101
  }
101
- const e = h({
102
- get: () => ie(),
102
+ const e = i({
103
+ get: () => ce(),
103
104
  set: (t) => t
104
- }), { userOptionsVisible: K, setUserOptionsVisibility: ce, keepUserOptionState: ve } = ct({ config: e.value }), { svgRef: de } = vt({ config: e.value.style.chart.title });
105
+ }), { userOptionsVisible: K, setUserOptionsVisibility: ve, keepUserOptionState: de } = mt({ config: e.value }), { svgRef: Q } = gt({ config: e.value.style.chart.title });
105
106
  $e(() => p.config, (t) => {
106
- e.value = ie(), K.value = !e.value.userOptions.showOnChartHover, re(), le.value += 1, oe.value += 1, v.value.circles = e.value.style.chart.circles.dataLabels.fontSize, v.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, v.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, D.value.showTable = e.value.table.show;
107
+ e.value = ce(), K.value = !e.value.userOptions.showOnChartHover, ie(), se.value += 1, oe.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, O.value.showTable = e.value.table.show;
107
108
  }, { deep: !0 });
108
- const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: me } = it({
109
+ const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: me } = ft({
109
110
  elementId: `funnel_${P.value}`,
110
111
  fileName: e.value.style.chart.title.text || "vue-ui-funnel",
111
112
  options: e.value.userOptions.print
112
- }), Ue = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = c({
113
+ }), Ee = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), O = v({
113
114
  showTable: e.value.table.show
114
- }), v = c({
115
+ }), d = v({
115
116
  circles: e.value.style.chart.circles.dataLabels.fontSize,
116
117
  names: e.value.style.chart.bars.dataLabels.name.fontSize,
117
118
  values: e.value.style.chart.bars.dataLabels.value.fontSize
118
- }), d = h({
119
+ }), h = i({
119
120
  get: () => ({
120
121
  height: e.value.style.chart.height,
121
122
  width: e.value.style.chart.width
122
123
  }),
123
124
  set: (t) => t
124
- }), y = h(() => O.value ? p.dataset.map((t, l) => ({
125
+ }), y = i(() => A.value ? p.dataset.map((t, l) => ({
125
126
  ...t,
126
- color: t.color ? et(t.color) : tt(e.value.style.chart.bars.defaultColor, l / p.dataset.length)
127
+ color: t.color ? ot(t.color) : nt(e.value.style.chart.bars.defaultColor, l / p.dataset.length)
127
128
  })) : []);
128
129
  setTimeout(() => {
129
130
  L.value = !0;
@@ -133,14 +134,14 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
133
134
  return {
134
135
  left: t,
135
136
  top: l,
136
- right: d.value.width - e.value.style.chart.padding.right,
137
- bottom: d.value.height - e.value.style.chart.padding.bottom,
138
- width: d.value.width - t - e.value.style.chart.padding.right,
139
- height: d.value.height - l - e.value.style.chart.padding.bottom
137
+ right: h.value.width - e.value.style.chart.padding.right,
138
+ bottom: h.value.height - e.value.style.chart.padding.bottom,
139
+ width: h.value.width - t - e.value.style.chart.padding.right,
140
+ height: h.value.height - l - e.value.style.chart.padding.bottom
140
141
  };
141
142
  }
142
- const k = c(ge()), S = h(() => k.value.height / p.dataset.length), _ = h(() => S.value * e.value.style.chart.bars.gapRatio), pe = h(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), u = h(() => y.value.map((t, l) => {
143
- const a = S.value - _.value, s = k.value.top + _.value / 2 * l + (S.value - _.value / 2) * l + _.value / 2, f = t.value / y.value[0].value, r = (k.value.width - a - pe.value) * (t.value / y.value[0].value);
143
+ const k = v(ge()), D = i(() => k.value.height / p.dataset.length), _ = i(() => D.value * e.value.style.chart.bars.gapRatio), pe = i(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), u = i(() => y.value.map((t, l) => {
144
+ const a = D.value - _.value, s = k.value.top + _.value / 2 * l + (D.value - _.value / 2) * l + _.value / 2, f = t.value / y.value[0].value, r = (k.value.width - a - pe.value) * (t.value / y.value[0].value);
144
145
  return {
145
146
  ...t,
146
147
  cx: k.value.left + a / 2,
@@ -154,48 +155,48 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
154
155
  x: k.value.left + a + pe.value,
155
156
  y: s
156
157
  };
157
- })), Ee = h(() => {
158
- const t = u.value.map((l) => `${l.x + l.width},${l.y + (S.value - _.value) / 2}`);
159
- return `${u.value[0].x},${u.value[0].y + (S.value - _.value) / 2} ${t.toString()} ${u.value.at(-1).x},${u.value.at(-1).y + (S.value - _.value) / 2}`;
160
- }), Ve = h(() => ({
158
+ })), Ve = i(() => {
159
+ const t = u.value.map((l) => `${l.x + l.width},${l.y + (D.value - _.value) / 2}`);
160
+ return `${u.value[0].x},${u.value[0].y + (D.value - _.value) / 2} ${t.toString()} ${u.value.at(-1).x},${u.value.at(-1).y + (D.value - _.value) / 2}`;
161
+ }), Ge = i(() => ({
161
162
  x1: u.value[0].cx,
162
163
  y1: u.value[0].cy,
163
164
  x2: u.value.at(-1).cx,
164
165
  y2: u.value.at(-1).cy
165
- })), z = c(!1);
166
+ })), z = v(!1);
166
167
  function ye(t) {
167
- z.value = t, ae.value += 1;
168
+ z.value = t, le.value += 1;
168
169
  }
169
- const Ge = h(() => `${y.value.length * 150}ms`), E = c(!1);
170
- function Q() {
170
+ const je = i(() => `${y.value.length * 150}ms`), E = v(!1);
171
+ function Z() {
171
172
  E.value = !E.value;
172
173
  }
173
174
  function ke() {
174
- D.value.showTable = !D.value.showTable;
175
+ O.value.showTable = !O.value.showTable;
175
176
  }
176
- const R = h(() => {
177
+ const B = i(() => {
177
178
  const t = y.value.map((a) => ({
178
179
  name: a.name,
179
180
  color: a.color
180
181
  })), l = y.value.map((a) => a.value);
181
182
  return { head: t, body: l };
182
- }), V = h(() => {
183
+ }), V = i(() => {
183
184
  const t = [
184
185
  e.value.table.columnNames.series,
185
186
  e.value.table.columnNames.value,
186
187
  e.value.table.columnNames.percentage
187
- ], l = R.value.head.map((f, r) => {
188
+ ], l = B.value.head.map((f, r) => {
188
189
  const M = Y(
189
190
  e.value.style.chart.bars.dataLabels.value.formatter,
190
- R.value.body[r],
191
+ B.value.body[r],
191
192
  q({
192
193
  p: e.value.style.chart.bars.dataLabels.value.prefix,
193
- v: R.value.body[r],
194
+ v: B.value.body[r],
194
195
  s: e.value.style.chart.bars.dataLabels.value.suffix,
195
196
  r: e.value.table.td.roundingValue
196
197
  }),
197
198
  { datapoint: u.value[r] }
198
- ), ee = Y(
199
+ ), te = Y(
199
200
  e.value.style.chart.circles.dataLabels.formatter,
200
201
  u.value[r].proportion * 100,
201
202
  q({
@@ -208,7 +209,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
208
209
  return [
209
210
  { color: f.color, name: f.name },
210
211
  M,
211
- ee
212
+ te
212
213
  ];
213
214
  }), a = {
214
215
  th: {
@@ -234,20 +235,20 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
234
235
  config: a
235
236
  };
236
237
  });
237
- function Z(t = null) {
238
- Je(() => {
239
- const l = R.value.head.map((f, r) => [[
238
+ function ee(t = null) {
239
+ tt(() => {
240
+ const l = B.value.head.map((f, r) => [[
240
241
  f.name
241
- ], [R.value.body[r]], [u.value[r].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), s = ot(a);
242
- t ? t(s) : st({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-funnel" });
242
+ ], [B.value.body[r]], [u.value[r].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), s = it(a);
243
+ t ? t(s) : ct({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-funnel" });
243
244
  });
244
245
  }
245
- function je() {
246
+ function He() {
246
247
  return y.value;
247
248
  }
248
- async function He({ scale: t = 2 } = {}) {
249
+ async function Xe({ scale: t = 2 } = {}) {
249
250
  if (!w.value) return;
250
- const { width: l, height: a } = w.value.getBoundingClientRect(), s = l / a, { imageUri: f, base64: r } = await dt({ domElement: w.value, base64: !0, img: !0, scale: t });
251
+ const { width: l, height: a } = w.value.getBoundingClientRect(), s = l / a, { imageUri: f, base64: r } = await pt({ domElement: w.value, base64: !0, img: !0, scale: t });
251
252
  return {
252
253
  imageUri: f,
253
254
  base64: r,
@@ -257,10 +258,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
257
258
  aspectRatio: s
258
259
  };
259
260
  }
260
- const B = h(() => {
261
- const t = e.value.table.useDialog && !e.value.table.show, l = D.value.showTable;
261
+ const R = i(() => {
262
+ const t = e.value.table.useDialog && !e.value.table.show, l = O.value.showTable;
262
263
  return {
263
- component: t ? Be : Ne,
264
+ component: t ? Me : Ie,
264
265
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
265
266
  props: t ? {
266
267
  backgroundColor: e.value.table.th.backgroundColor,
@@ -287,53 +288,66 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
287
288
  }
288
289
  };
289
290
  });
290
- $e(() => D.value.showTable, (t) => {
291
+ $e(() => O.value.showTable, (t) => {
291
292
  e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
292
293
  });
293
294
  function Ce() {
294
- D.value.showTable = !1, J.value && J.value.setTableIconState(!1);
295
+ O.value.showTable = !1, J.value && J.value.setTableIconState(!1);
296
+ }
297
+ const We = i(() => e.value.style.chart.backgroundColor), Ye = i(() => e.value.style.chart.title), { exportSvg: qe, getSvg: Je } = bt({
298
+ svg: Q,
299
+ title: Ye,
300
+ backgroundColor: We
301
+ });
302
+ async function we({ isCb: t }) {
303
+ if (t) {
304
+ const { blob: l, url: a, text: s, dataUrl: f } = await Je();
305
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: s, dataUrl: f });
306
+ } else
307
+ qe();
295
308
  }
296
309
  return De({
297
- getData: je,
298
- getImage: He,
310
+ getData: He,
311
+ getImage: Xe,
299
312
  generatePdf: be,
300
- generateCsv: Z,
313
+ generateCsv: ee,
301
314
  generateImage: me,
315
+ generateSvg: we,
302
316
  toggleTable: ke,
303
- toggleAnnotator: Q,
317
+ toggleAnnotator: Z,
304
318
  toggleFullscreen: ye
305
- }), (t, l) => (n(), i("div", {
319
+ }), (t, l) => (n(), c("div", {
306
320
  ref_key: "funnelChart",
307
321
  ref: w,
308
322
  class: N(`vue-data-ui-component vue-ui-funnel ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
309
323
  style: T(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
310
324
  id: `funnel_${P.value}`,
311
- onMouseenter: l[1] || (l[1] = () => o(ce)(!0)),
312
- onMouseleave: l[2] || (l[2] = () => o(ce)(!1))
325
+ onMouseenter: l[1] || (l[1] = () => o(ve)(!0)),
326
+ onMouseleave: l[2] || (l[2] = () => o(ve)(!1))
313
327
  }, [
314
- e.value.userOptions.buttons.annotator ? (n(), I(o(Fe), {
328
+ e.value.userOptions.buttons.annotator ? (n(), I(o(Be), {
315
329
  key: 0,
316
- svgRef: o(de),
330
+ svgRef: o(Q),
317
331
  backgroundColor: e.value.style.chart.backgroundColor,
318
332
  color: e.value.style.chart.color,
319
333
  active: E.value,
320
- onClose: Q
334
+ onClose: Z
321
335
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
322
- Ue.value ? (n(), i("div", {
336
+ Ee.value ? (n(), c("div", {
323
337
  key: 1,
324
338
  ref_key: "noTitle",
325
- ref: se,
339
+ ref: ne,
326
340
  class: "vue-data-ui-no-title-space",
327
341
  style: "height:36px; width: 100%;background:transparent"
328
342
  }, null, 512)) : b("", !0),
329
- e.value.style.chart.title.text ? (n(), i("div", {
343
+ e.value.style.chart.title.text ? (n(), c("div", {
330
344
  key: 2,
331
345
  ref_key: "chartTitle",
332
- ref: ue,
346
+ ref: re,
333
347
  style: "width:100%;background:transparent;padding-bottom:24px"
334
348
  }, [
335
- (n(), I(ht, {
336
- key: `title_${le.value}`,
349
+ (n(), I(yt, {
350
+ key: `title_${se.value}`,
337
351
  config: {
338
352
  title: {
339
353
  cy: "funnel-div-title",
@@ -346,10 +360,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
346
360
  }
347
361
  }, null, 8, ["config"]))
348
362
  ], 512)) : b("", !0),
349
- e.value.userOptions.show && O.value && (o(ve) || o(K)) ? (n(), I(o(Pe), {
363
+ e.value.userOptions.show && A.value && (o(de) || o(K)) ? (n(), I(o(Fe), {
350
364
  ref_key: "userOptionsRef",
351
365
  ref: J,
352
- key: `user_option_${ae.value}`,
366
+ key: `user_option_${le.value}`,
353
367
  backgroundColor: e.value.style.chart.backgroundColor,
354
368
  color: e.value.style.chart.color,
355
369
  isPrinting: o(he),
@@ -358,6 +372,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
358
372
  hasTooltip: !1,
359
373
  hasPdf: e.value.userOptions.buttons.pdf,
360
374
  hasImg: e.value.userOptions.buttons.img,
375
+ hasSvg: e.value.userOptions.buttons.svg,
361
376
  hasXls: e.value.userOptions.buttons.csv,
362
377
  hasTable: e.value.userOptions.buttons.table,
363
378
  hasLabel: !1,
@@ -371,16 +386,17 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
371
386
  callbacks: e.value.userOptions.callbacks,
372
387
  printScale: e.value.userOptions.print.scale,
373
388
  tableDialog: e.value.table.useDialog,
374
- onToggleAnnotator: Q,
389
+ onToggleAnnotator: Z,
375
390
  onToggleFullscreen: ye,
376
391
  onGeneratePdf: o(be),
377
392
  onGenerateImage: o(me),
393
+ onGenerateSvg: we,
378
394
  onToggleTable: ke,
379
- onGenerateCsv: Z,
395
+ onGenerateCsv: ee,
380
396
  style: T({
381
- visibility: o(ve) ? o(K) ? "visible" : "hidden" : "visible"
397
+ visibility: o(de) ? o(K) ? "visible" : "hidden" : "visible"
382
398
  })
383
- }, xe({ _: 2 }, [
399
+ }, Le({ _: 2 }, [
384
400
  t.$slots.menuIcon ? {
385
401
  name: "menuIcon",
386
402
  fn: m(({ isOpen: a, color: s }) => [
@@ -430,29 +446,29 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
430
446
  ]),
431
447
  key: "6"
432
448
  } : void 0
433
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
434
- O.value ? (n(), i("svg", {
449
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
450
+ A.value ? (n(), c("svg", {
435
451
  key: 4,
436
452
  ref_key: "svgRef",
437
- ref: de,
438
- xmlns: o(at),
453
+ ref: Q,
454
+ xmlns: o(ut),
439
455
  class: N({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
440
- viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
456
+ viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
441
457
  style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
442
458
  }, [
443
- Le(o(Re)),
444
- t.$slots["chart-background"] ? (n(), i("foreignObject", {
459
+ _e(o(Re)),
460
+ t.$slots["chart-background"] ? (n(), c("foreignObject", {
445
461
  key: 0,
446
462
  x: 0,
447
463
  y: 0,
448
- width: d.value.width <= 0 ? 10 : d.value.width,
449
- height: d.value.height <= 0 ? 10 : d.value.height,
464
+ width: h.value.width <= 0 ? 10 : h.value.width,
465
+ height: h.value.height <= 0 ? 10 : h.value.height,
450
466
  style: {
451
467
  pointerEvents: "none"
452
468
  }
453
469
  }, [
454
470
  g(t.$slots, "chart-background", {}, void 0, !0)
455
- ], 8, pt)) : b("", !0),
471
+ ], 8, $t)) : b("", !0),
456
472
  C("defs", null, [
457
473
  C("linearGradient", {
458
474
  id: `funnel_area_${P.value}`,
@@ -465,18 +481,18 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
465
481
  offset: "0%",
466
482
  "stop-color": e.value.style.chart.backgroundColor,
467
483
  "stop-opacity": 0
468
- }, null, 8, kt),
484
+ }, null, 8, _t),
469
485
  C("stop", {
470
486
  offset: "20%",
471
487
  "stop-color": e.value.style.chart.area.color
472
- }, null, 8, Ct),
488
+ }, null, 8, Tt),
473
489
  C("stop", {
474
490
  offset: "100%",
475
491
  "stop-color": e.value.style.chart.area.color
476
- }, null, 8, wt)
477
- ], 8, yt)
492
+ }, null, 8, St)
493
+ ], 8, Lt)
478
494
  ]),
479
- e.value.style.chart.circleLinks.show ? (n(), i("line", H({ key: 1 }, Ve.value, {
495
+ e.value.style.chart.circleLinks.show ? (n(), c("line", H({ key: 1 }, Ge.value, {
480
496
  stroke: e.value.style.chart.circleLinks.color,
481
497
  "stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
482
498
  "stroke-linecap": "round",
@@ -487,8 +503,8 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
487
503
  strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
488
504
  strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
489
505
  }
490
- }), null, 16, $t)) : b("", !0),
491
- (n(!0), i(X, null, W(u.value, ({ cx: a, cy: s, r: f, fill: r }, M) => (n(), i("circle", H({ ref_for: !0 }, { cx: a, cy: s, r: f, fill: r }, {
506
+ }), null, 16, At)) : b("", !0),
507
+ (n(!0), c(X, null, W(u.value, ({ cx: a, cy: s, r: f, fill: r }, M) => (n(), c("circle", H({ ref_for: !0 }, { cx: a, cy: s, r: f, fill: r }, {
492
508
  stroke: e.value.style.chart.circles.stroke,
493
509
  "stroke-width": e.value.style.chart.circles.strokeWidth,
494
510
  class: {
@@ -497,13 +513,13 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
497
513
  style: {
498
514
  animationDelay: `${150 * M}ms`
499
515
  }
500
- }), null, 16, xt))), 256)),
501
- (n(!0), i(X, null, W(u.value, (a, s) => (n(), i("text", {
516
+ }), null, 16, Ot))), 256)),
517
+ (n(!0), c(X, null, W(u.value, (a, s) => (n(), c("text", {
502
518
  x: a.cx,
503
- y: a.cy + v.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
519
+ y: a.cy + d.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
504
520
  "text-anchor": "middle",
505
- "font-size": v.value.circles,
506
- fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? o(lt)(a.color) : e.value.style.chart.circles.dataLabels.color,
521
+ "font-size": d.value.circles,
522
+ fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? o(rt)(a.color) : e.value.style.chart.circles.dataLabels.color,
507
523
  "font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
508
524
  class: N({
509
525
  animated: e.value.useCssAnimation && !L.value
@@ -520,10 +536,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
520
536
  r: e.value.style.chart.circles.dataLabels.rounding
521
537
  }),
522
538
  { datapoint: a }
523
- )), 15, Lt))), 256)),
524
- e.value.style.chart.area.show ? (n(), i("polygon", {
539
+ )), 15, Dt))), 256)),
540
+ e.value.style.chart.area.show ? (n(), c("polygon", {
525
541
  key: 2,
526
- points: Ee.value,
542
+ points: Ve.value,
527
543
  fill: `url(#funnel_area_${P.value})`,
528
544
  class: N({
529
545
  animated: e.value.useCssAnimation && !L.value
@@ -531,8 +547,8 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
531
547
  style: T({
532
548
  transition: e.value.useCssAnimation ? `all ${150 * y.value.length}ms ease-in` : "none"
533
549
  })
534
- }, null, 14, _t)) : b("", !0),
535
- (n(!0), i(X, null, W(u.value, ({ x: a, y: s, height: f, width: r, fill: M }, ee) => (n(), i("rect", H({ ref_for: !0 }, { x: a, y: s, height: f, width: r, fill: M }, {
550
+ }, null, 14, zt)) : b("", !0),
551
+ (n(!0), c(X, null, W(u.value, ({ x: a, y: s, height: f, width: r, fill: M }, te) => (n(), c("rect", H({ ref_for: !0 }, { x: a, y: s, height: f, width: r, fill: M }, {
536
552
  stroke: e.value.style.chart.bars.stroke,
537
553
  "stroke-width": e.value.style.chart.bars.strokeWidth,
538
554
  rx: e.value.style.chart.bars.borderRadius,
@@ -540,15 +556,15 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
540
556
  animated: e.value.useCssAnimation && !L.value
541
557
  },
542
558
  style: {
543
- animationDelay: `${150 * ee}ms`
559
+ animationDelay: `${150 * te}ms`
544
560
  }
545
- }), null, 16, Tt))), 256)),
546
- (n(!0), i(X, null, W(u.value, (a, s) => (n(), i("g", null, [
561
+ }), null, 16, Nt))), 256)),
562
+ (n(!0), c(X, null, W(u.value, (a, s) => (n(), c("g", null, [
547
563
  C("text", {
548
564
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
549
- y: a.cy - v.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
565
+ y: a.cy - d.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
550
566
  "text-anchor": "start",
551
- "font-size": v.value.names,
567
+ "font-size": d.value.names,
552
568
  fill: e.value.style.chart.bars.dataLabels.name.color,
553
569
  "font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
554
570
  class: N({
@@ -557,12 +573,12 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
557
573
  style: T({
558
574
  animationDelay: `${150 * s}ms`
559
575
  })
560
- }, U(a.name), 15, At),
576
+ }, U(a.name), 15, It),
561
577
  C("text", {
562
578
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
563
- y: a.cy + v.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
579
+ y: a.cy + d.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
564
580
  "text-anchor": "start",
565
- "font-size": v.value.values,
581
+ "font-size": d.value.values,
566
582
  fill: e.value.style.chart.bars.dataLabels.value.color,
567
583
  "font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
568
584
  class: N({
@@ -581,14 +597,14 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
581
597
  r: e.value.style.chart.bars.dataLabels.value.rounding
582
598
  }),
583
599
  { datapoint: a }
584
- )), 15, Ot)
600
+ )), 15, Pt)
585
601
  ]))), 256)),
586
- g(t.$slots, "svg", { svg: d.value }, void 0, !0)
587
- ], 14, gt)) : b("", !0),
588
- t.$slots.watermark ? (n(), i("div", Dt, [
602
+ g(t.$slots, "svg", { svg: h.value }, void 0, !0)
603
+ ], 14, xt)) : b("", !0),
604
+ t.$slots.watermark ? (n(), c("div", Ft, [
589
605
  g(t.$slots, "watermark", G(j({ isPrinting: o(he) || o(fe) })), void 0, !0)
590
606
  ])) : b("", !0),
591
- O.value ? b("", !0) : (n(), I(o(ze), {
607
+ A.value ? b("", !0) : (n(), I(o(Ne), {
592
608
  key: 6,
593
609
  config: {
594
610
  type: "verticalBar",
@@ -603,27 +619,27 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
603
619
  }
604
620
  }
605
621
  }, null, 8, ["config"])),
606
- t.$slots.source ? (n(), i("div", {
622
+ t.$slots.source ? (n(), c("div", {
607
623
  key: 7,
608
624
  ref_key: "source",
609
- ref: ne,
625
+ ref: ue,
610
626
  dir: "auto"
611
627
  }, [
612
628
  g(t.$slots, "source", {}, void 0, !0)
613
629
  ], 512)) : b("", !0),
614
- O.value && e.value.userOptions.buttons.table ? (n(), I(qe(B.value.component), H({ key: 8 }, B.value.props, {
630
+ A.value && e.value.userOptions.buttons.table ? (n(), I(et(R.value.component), H({ key: 8 }, R.value.props, {
615
631
  ref_key: "tableUnit",
616
632
  ref: F,
617
633
  onClose: Ce
618
- }), xe({
634
+ }), Le({
619
635
  content: m(() => [
620
- (n(), I(o(Ie), {
636
+ (n(), I(o(Pe), {
621
637
  key: `table_${oe.value}`,
622
638
  colNames: V.value.colNames,
623
639
  head: V.value.head,
624
640
  body: V.value.body,
625
641
  config: V.value.config,
626
- title: e.value.table.useDialog ? "" : B.value.title,
642
+ title: e.value.table.useDialog ? "" : R.value.title,
627
643
  withCloseButton: !e.value.table.useDialog,
628
644
  onClose: Ce
629
645
  }, {
@@ -631,10 +647,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
631
647
  C("div", {
632
648
  innerHTML: a,
633
649
  style: { display: "flex", "align-items": "center" }
634
- }, null, 8, St)
650
+ }, null, 8, Bt)
635
651
  ]),
636
652
  td: m(({ td: a }) => [
637
- _e(U(a.name ? a.name : a), 1)
653
+ Te(U(a.name ? a.name : a), 1)
638
654
  ]),
639
655
  _: 1
640
656
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -644,7 +660,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
644
660
  e.value.table.useDialog ? {
645
661
  name: "title",
646
662
  fn: m(() => [
647
- _e(U(B.value.title), 1)
663
+ Te(U(R.value.title), 1)
648
664
  ]),
649
665
  key: "0"
650
666
  } : void 0,
@@ -654,20 +670,20 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
654
670
  C("button", {
655
671
  tabindex: "0",
656
672
  class: "vue-ui-user-options-button",
657
- onClick: l[0] || (l[0] = (a) => Z(e.value.userOptions.callbacks.csv))
673
+ onClick: l[0] || (l[0] = (a) => ee(e.value.userOptions.callbacks.csv))
658
674
  }, [
659
- Le(o(Se), {
675
+ _e(o(ze), {
660
676
  name: "excel",
661
- stroke: B.value.props.color
677
+ stroke: R.value.props.color
662
678
  }, null, 8, ["stroke"])
663
679
  ])
664
680
  ]),
665
681
  key: "1"
666
682
  } : void 0
667
683
  ]), 1040)) : b("", !0)
668
- ], 46, mt));
684
+ ], 46, wt));
669
685
  }
670
- }, jt = /* @__PURE__ */ bt(zt, [["__scopeId", "data-v-9f22b21a"]]);
686
+ }, Kt = /* @__PURE__ */ Ct(Rt, [["__scopeId", "data-v-8c33e489"]]);
671
687
  export {
672
- jt as default
688
+ Kt as default
673
689
  };