vue-data-ui 3.4.7 → 3.4.8

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 (115) hide show
  1. package/dist/{PackageVersion-QNVkHOgG.js → PackageVersion-D-auaEEJ.js} +1 -1
  2. package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-heatmap.js +1 -1
  45. package/dist/components/vue-ui-table-sparkline.js +1 -1
  46. package/dist/components/vue-ui-table.js +1 -1
  47. package/dist/components/vue-ui-thermometer.js +1 -1
  48. package/dist/components/vue-ui-timer.js +1 -1
  49. package/dist/components/vue-ui-tiremarks.js +1 -1
  50. package/dist/components/vue-ui-treemap.js +1 -1
  51. package/dist/components/vue-ui-vertical-bar.js +1 -1
  52. package/dist/components/vue-ui-waffle.js +1 -1
  53. package/dist/components/vue-ui-wheel.js +1 -1
  54. package/dist/components/vue-ui-word-cloud.js +1 -1
  55. package/dist/components/vue-ui-world.js +1 -1
  56. package/dist/components/vue-ui-xy-canvas.js +1 -1
  57. package/dist/components/vue-ui-xy.js +1 -1
  58. package/dist/style.css +1 -1
  59. package/dist/{vue-data-ui-BFwmY6si.js → vue-data-ui-CzqHcPqG.js} +55 -55
  60. package/dist/vue-data-ui.js +55 -55
  61. package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
  62. package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
  63. package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
  64. package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
  65. package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
  66. package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
  67. package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
  68. package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
  69. package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
  70. package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
  71. package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
  72. package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
  73. package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
  74. package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
  75. package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
  76. package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
  77. package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
  78. package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
  79. package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
  80. package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
  81. package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
  82. package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
  83. package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
  84. package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
  85. package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
  86. package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
  87. package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
  88. package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
  89. package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
  90. package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
  91. package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
  92. package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
  93. package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
  94. package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
  95. package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
  96. package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
  97. package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
  98. package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
  99. package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
  100. package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
  101. package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.js} +2 -2
  102. package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
  103. package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
  104. package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
  105. package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
  106. package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
  107. package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
  108. package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
  109. package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
  110. package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
  111. package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
  112. package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
  113. package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.js} +163 -156
  114. package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
  115. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { useCssVars as Qe, computed as i, defineAsyncComponent as x, ref as v, shallowRef as $e, onMounted as Ke, onBeforeUnmount as Ze, watch as xe, createElementBlock as c, openBlock as n, unref as o, normalizeStyle as S, normalizeClass as N, createBlock as P, 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 Se, nextTick as tt } from "vue";
2
- import { c as at, o as lt, f as Te, g as st, h as ot, S as nt, a as Y, d as q, X as ut, J as rt, R as ae, P as it, Q as ct } from "./lib-C_mNZmhD.js";
1
+ import { useCssVars as Qe, computed as i, defineAsyncComponent as x, ref as v, shallowRef as $e, onMounted as Ke, onBeforeUnmount as Ze, watch as xe, createElementBlock as c, openBlock as n, unref as s, normalizeStyle as S, normalizeClass as N, createBlock as P, createCommentVNode as g, createSlots as Le, withCtx as b, renderSlot as m, 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 Se, nextTick as tt } from "vue";
2
+ import { c as at, o as lt, f as Te, g as ot, h as st, S as nt, a as Y, d as q, X as ut, J as rt, R as ae, P as it, Q as ct } from "./lib-C_mNZmhD.js";
3
3
  import { t as vt, u as dt } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as ht, a as Ae } from "./useNestedProp-BjZe1Y85.js";
5
5
  import { u as ft } from "./usePrinter-DTzqpYKF.js";
6
6
  import { u as bt } from "./useSvgExport-DrjCWun4.js";
7
- import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as gt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as mt } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import pt from "./img-BecE5qXd.js";
10
10
  import yt from "./Title-l36lOBMx.js";
11
11
  import { t as kt } from "./themes-AUNCOb2G.js";
@@ -31,16 +31,16 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
31
31
  },
32
32
  setup(Oe, { expose: De }) {
33
33
  Qe((t) => ({
34
- v09babd12: je.value
34
+ v6ae43114: je.value
35
35
  }));
36
- const ze = x(() => import("./BaseIcon-BmMbm4d0.js")), Ne = x(() => import("./vue-ui-skeleton-Be8xm0gy.js")), Pe = x(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ie = x(() => import("./DataTable-BT7VF2ua.js")), Fe = x(() => import("./UserOptions-CnzumGJj.js")), Re = x(() => import("./PenAndPaper-DSvu9dwa.js")), Be = x(() => import("./PackageVersion-QNVkHOgG.js")), Me = x(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_funnel: Ue } = ht(), p = Oe, w = v(null), I = v(at()), le = v(0), se = v(0), oe = v(0), ne = v(null), ue = v(null), re = v(null), $ = $e(null), T = $e(null), L = v(!1), F = v(null), J = v(null), A = i(() => !!p.dataset && p.dataset.length);
36
+ const ze = x(() => import("./BaseIcon-BmMbm4d0.js")), Ne = x(() => import("./vue-ui-skeleton-b5fdgyHv.js")), Pe = x(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ie = x(() => import("./DataTable-BT7VF2ua.js")), Fe = x(() => import("./UserOptions-CGnQt6Fd.js")), Re = x(() => import("./PenAndPaper-DSvu9dwa.js")), Be = x(() => import("./PackageVersion-D-auaEEJ.js")), Me = x(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_funnel: Ue } = ht(), p = Oe, w = v(null), I = v(at()), le = v(0), oe = v(0), se = v(0), ne = v(null), ue = v(null), re = v(null), $ = $e(null), T = $e(null), L = v(!1), F = v(null), J = v(null), A = i(() => !!p.dataset && p.dataset.length);
37
37
  Ke(ie);
38
38
  function ie() {
39
39
  if (lt(p.dataset) ? Te({
40
40
  componentName: "VueUiFunnel",
41
41
  type: "dataset"
42
42
  }) : p.dataset.forEach((t, l) => {
43
- st({
43
+ ot({
44
44
  datasetObject: t,
45
45
  requiredAttributes: ["name", "value"]
46
46
  }).forEach((a) => {
@@ -60,7 +60,7 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
60
60
  noTitle: ne.value
61
61
  });
62
62
  requestAnimationFrame(() => {
63
- h.value.height = a, h.value.width = l, k.value = ge(), e.value.responsiveProportionalSizing ? (d.value.circles = ae({
63
+ h.value.height = a, h.value.width = l, k.value = me(), e.value.responsiveProportionalSizing ? (d.value.circles = ae({
64
64
  relator: Math.min(l, a),
65
65
  adjuster: 600,
66
66
  source: e.value.style.chart.circles.dataLabels.fontSize,
@@ -102,11 +102,11 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
102
102
  const e = i({
103
103
  get: () => ce(),
104
104
  set: (t) => t
105
- }), { userOptionsVisible: Q, setUserOptionsVisibility: ve, keepUserOptionState: de } = mt({ config: e.value }), { svgRef: K } = gt({ config: e.value.style.chart.title });
105
+ }), { userOptionsVisible: Q, setUserOptionsVisibility: ve, keepUserOptionState: de } = gt({ config: e.value }), { svgRef: K } = mt({ config: e.value.style.chart.title });
106
106
  xe(() => p.config, (t) => {
107
- e.value = ce(), Q.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
+ e.value = ce(), Q.value = !e.value.userOptions.showOnChartHover, ie(), oe.value += 1, se.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;
108
108
  }, { deep: !0 });
109
- const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: me } = ft({
109
+ const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: ge } = ft({
110
110
  elementId: `funnel_${I.value}`,
111
111
  fileName: e.value.style.chart.title.text || "vue-ui-funnel",
112
112
  options: e.value.userOptions.print
@@ -124,12 +124,12 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
124
124
  set: (t) => t
125
125
  }), y = i(() => A.value ? p.dataset.map((t, l) => ({
126
126
  ...t,
127
- color: t.color ? ot(t.color) : nt(e.value.style.chart.bars.defaultColor, l / p.dataset.length)
127
+ color: t.color ? st(t.color) : nt(e.value.style.chart.bars.defaultColor, l / p.dataset.length)
128
128
  })) : []);
129
129
  setTimeout(() => {
130
130
  L.value = !0;
131
131
  }, y.value.length * 150);
132
- function ge() {
132
+ function me() {
133
133
  const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
134
134
  return {
135
135
  left: t,
@@ -140,12 +140,12 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
140
140
  height: h.value.height - l - e.value.style.chart.padding.bottom
141
141
  };
142
142
  }
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);
143
+ const k = v(me()), 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, o = 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);
145
145
  return {
146
146
  ...t,
147
147
  cx: k.value.left + a / 2,
148
- cy: s + a / 2,
148
+ cy: o + a / 2,
149
149
  datapointIndex: l,
150
150
  fill: t.color,
151
151
  height: Math.max(a, 0),
@@ -153,7 +153,7 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
153
153
  r: Math.max(a / 2, 0),
154
154
  width: Math.max(r, 0),
155
155
  x: k.value.left + a + pe.value,
156
- y: s
156
+ y: o
157
157
  };
158
158
  })), Ve = i(() => {
159
159
  const t = u.value.map((l) => `${l.x + l.width},${l.y + (D.value - _.value) / 2}`);
@@ -239,8 +239,8 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
239
239
  tt(() => {
240
240
  const l = R.value.head.map((f, r) => [[
241
241
  f.name
242
- ], [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 = it(a);
243
- t ? t(s) : ct({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-funnel" });
242
+ ], [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), o = it(a);
243
+ t ? t(o) : ct({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-funnel" });
244
244
  });
245
245
  }
246
246
  function He() {
@@ -248,14 +248,14 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
248
248
  }
249
249
  async function Xe({ scale: t = 2 } = {}) {
250
250
  if (!w.value) return;
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
+ const { width: l, height: a } = w.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: r } = await pt({ domElement: w.value, base64: !0, img: !0, scale: t });
252
252
  return {
253
253
  imageUri: f,
254
254
  base64: r,
255
255
  title: e.value.style.chart.title.text,
256
256
  width: l,
257
257
  height: a,
258
- aspectRatio: s
258
+ aspectRatio: o
259
259
  };
260
260
  }
261
261
  const B = i(() => {
@@ -301,8 +301,8 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
301
301
  });
302
302
  async function we({ isCb: t }) {
303
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 });
304
+ const { blob: l, url: a, text: o, dataUrl: f } = await Je();
305
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: f });
306
306
  } else
307
307
  qe();
308
308
  }
@@ -311,7 +311,7 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
311
311
  getImage: Xe,
312
312
  generatePdf: be,
313
313
  generateCsv: ee,
314
- generateImage: me,
314
+ generateImage: ge,
315
315
  generateSvg: we,
316
316
  toggleTable: ke,
317
317
  toggleAnnotator: Z,
@@ -322,24 +322,24 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
322
322
  class: N(`vue-data-ui-component vue-ui-funnel ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
323
323
  style: S(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
324
324
  id: `funnel_${I.value}`,
325
- onMouseenter: l[1] || (l[1] = () => o(ve)(!0)),
326
- onMouseleave: l[2] || (l[2] = () => o(ve)(!1))
325
+ onMouseenter: l[1] || (l[1] = () => s(ve)(!0)),
326
+ onMouseleave: l[2] || (l[2] = () => s(ve)(!1))
327
327
  }, [
328
- e.value.userOptions.buttons.annotator ? (n(), P(o(Re), {
328
+ e.value.userOptions.buttons.annotator ? (n(), P(s(Re), {
329
329
  key: 0,
330
- svgRef: o(K),
330
+ svgRef: s(K),
331
331
  backgroundColor: e.value.style.chart.backgroundColor,
332
332
  color: e.value.style.chart.color,
333
333
  active: E.value,
334
334
  onClose: Z
335
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
335
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
336
336
  Ee.value ? (n(), c("div", {
337
337
  key: 1,
338
338
  ref_key: "noTitle",
339
339
  ref: ne,
340
340
  class: "vue-data-ui-no-title-space",
341
341
  style: "height:36px; width: 100%;background:transparent"
342
- }, null, 512)) : b("", !0),
342
+ }, null, 512)) : g("", !0),
343
343
  e.value.style.chart.title.text ? (n(), c("div", {
344
344
  key: 2,
345
345
  ref_key: "chartTitle",
@@ -347,7 +347,7 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
347
347
  style: "width:100%;background:transparent;padding-bottom:24px"
348
348
  }, [
349
349
  (n(), P(yt, {
350
- key: `title_${se.value}`,
350
+ key: `title_${oe.value}`,
351
351
  config: {
352
352
  title: {
353
353
  cy: "funnel-div-title",
@@ -359,15 +359,15 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
359
359
  }
360
360
  }
361
361
  }, null, 8, ["config"]))
362
- ], 512)) : b("", !0),
363
- e.value.userOptions.show && A.value && (o(de) || o(Q)) ? (n(), P(o(Fe), {
362
+ ], 512)) : g("", !0),
363
+ e.value.userOptions.show && A.value && (s(de) || s(Q)) ? (n(), P(s(Fe), {
364
364
  ref_key: "userOptionsRef",
365
365
  ref: J,
366
366
  key: `user_option_${le.value}`,
367
367
  backgroundColor: e.value.style.chart.backgroundColor,
368
368
  color: e.value.style.chart.color,
369
- isPrinting: o(he),
370
- isImaging: o(fe),
369
+ isPrinting: s(he),
370
+ isImaging: s(fe),
371
371
  uid: I.value,
372
372
  hasTooltip: !1,
373
373
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -388,75 +388,82 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
388
388
  tableDialog: e.value.table.useDialog,
389
389
  onToggleAnnotator: Z,
390
390
  onToggleFullscreen: ye,
391
- onGeneratePdf: o(be),
392
- onGenerateImage: o(me),
391
+ onGeneratePdf: s(be),
392
+ onGenerateImage: s(ge),
393
393
  onGenerateSvg: we,
394
394
  onToggleTable: ke,
395
395
  onGenerateCsv: ee,
396
396
  style: S({
397
- visibility: o(de) ? o(Q) ? "visible" : "hidden" : "visible"
397
+ visibility: s(de) ? s(Q) ? "visible" : "hidden" : "visible"
398
398
  })
399
399
  }, Le({ _: 2 }, [
400
400
  t.$slots.menuIcon ? {
401
401
  name: "menuIcon",
402
- fn: m(({ isOpen: a, color: s }) => [
403
- g(t.$slots, "menuIcon", G(j({ isOpen: a, color: s })), void 0, !0)
402
+ fn: b(({ isOpen: a, color: o }) => [
403
+ m(t.$slots, "menuIcon", G(j({ isOpen: a, color: o })), void 0, !0)
404
404
  ]),
405
405
  key: "0"
406
406
  } : void 0,
407
407
  t.$slots.optionPdf ? {
408
408
  name: "optionPdf",
409
- fn: m(() => [
410
- g(t.$slots, "optionPdf", {}, void 0, !0)
409
+ fn: b(() => [
410
+ m(t.$slots, "optionPdf", {}, void 0, !0)
411
411
  ]),
412
412
  key: "1"
413
413
  } : void 0,
414
414
  t.$slots.optionCsv ? {
415
415
  name: "optionCsv",
416
- fn: m(() => [
417
- g(t.$slots, "optionCsv", {}, void 0, !0)
416
+ fn: b(() => [
417
+ m(t.$slots, "optionCsv", {}, void 0, !0)
418
418
  ]),
419
419
  key: "2"
420
420
  } : void 0,
421
421
  t.$slots.optionImg ? {
422
422
  name: "optionImg",
423
- fn: m(() => [
424
- g(t.$slots, "optionImg", {}, void 0, !0)
423
+ fn: b(() => [
424
+ m(t.$slots, "optionImg", {}, void 0, !0)
425
425
  ]),
426
426
  key: "3"
427
427
  } : void 0,
428
+ t.$slots.optionSvg ? {
429
+ name: "optionSvg",
430
+ fn: b(() => [
431
+ m(t.$slots, "optionSvg", {}, void 0, !0)
432
+ ]),
433
+ key: "4"
434
+ } : void 0,
428
435
  t.$slots.optionTable ? {
429
436
  name: "optionTable",
430
- fn: m(() => [
431
- g(t.$slots, "optionTable", {}, void 0, !0)
437
+ fn: b(() => [
438
+ m(t.$slots, "optionTable", {}, void 0, !0)
432
439
  ]),
433
- key: "4"
440
+ key: "5"
434
441
  } : void 0,
435
442
  t.$slots.optionFullscreen ? {
436
443
  name: "optionFullscreen",
437
- fn: m(({ toggleFullscreen: a, isFullscreen: s }) => [
438
- g(t.$slots, "optionFullscreen", G(j({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
444
+ fn: b(({ toggleFullscreen: a, isFullscreen: o }) => [
445
+ m(t.$slots, "optionFullscreen", G(j({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
439
446
  ]),
440
- key: "5"
447
+ key: "6"
441
448
  } : void 0,
442
449
  t.$slots.optionAnnotator ? {
443
450
  name: "optionAnnotator",
444
- fn: m(({ toggleAnnotator: a, isAnnotator: s }) => [
445
- g(t.$slots, "optionAnnotator", G(j({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
451
+ fn: b(({ toggleAnnotator: a, isAnnotator: o }) => [
452
+ m(t.$slots, "optionAnnotator", G(j({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
446
453
  ]),
447
- key: "6"
454
+ key: "7"
448
455
  } : void 0
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),
456
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
450
457
  A.value ? (n(), c("svg", {
451
458
  key: 4,
452
459
  ref_key: "svgRef",
453
460
  ref: K,
454
- xmlns: o(ut),
461
+ xmlns: s(ut),
455
462
  class: N({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
456
463
  viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
457
464
  style: S(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
458
465
  }, [
459
- _e(o(Be)),
466
+ _e(s(Be)),
460
467
  t.$slots["chart-background"] ? (n(), c("foreignObject", {
461
468
  key: 0,
462
469
  x: 0,
@@ -467,8 +474,8 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
467
474
  pointerEvents: "none"
468
475
  }
469
476
  }, [
470
- g(t.$slots, "chart-background", {}, void 0, !0)
471
- ], 8, xt)) : b("", !0),
477
+ m(t.$slots, "chart-background", {}, void 0, !0)
478
+ ], 8, xt)) : g("", !0),
472
479
  C("defs", null, [
473
480
  C("linearGradient", {
474
481
  id: `funnel_area_${I.value}`,
@@ -503,8 +510,8 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
503
510
  strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
504
511
  strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
505
512
  }
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 }, {
513
+ }), null, 16, At)) : g("", !0),
514
+ (n(!0), c(X, null, W(u.value, ({ cx: a, cy: o, r: f, fill: r }, M) => (n(), c("circle", H({ ref_for: !0 }, { cx: a, cy: o, r: f, fill: r }, {
508
515
  stroke: e.value.style.chart.circles.stroke,
509
516
  "stroke-width": e.value.style.chart.circles.strokeWidth,
510
517
  class: {
@@ -514,23 +521,23 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
514
521
  animationDelay: `${150 * M}ms`
515
522
  }
516
523
  }), null, 16, Ot))), 256)),
517
- (n(!0), c(X, null, W(u.value, (a, s) => (n(), c("text", {
524
+ (n(!0), c(X, null, W(u.value, (a, o) => (n(), c("text", {
518
525
  x: a.cx,
519
526
  y: a.cy + d.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
520
527
  "text-anchor": "middle",
521
528
  "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,
529
+ fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(rt)(a.color) : e.value.style.chart.circles.dataLabels.color,
523
530
  "font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
524
531
  class: N({
525
532
  animated: e.value.useCssAnimation && !L.value
526
533
  }),
527
534
  style: S({
528
- animationDelay: `${150 * s}ms`
535
+ animationDelay: `${150 * o}ms`
529
536
  })
530
- }, U(o(Y)(
537
+ }, U(s(Y)(
531
538
  e.value.style.chart.circles.dataLabels.formatter,
532
539
  a.proportion * 100,
533
- o(q)({
540
+ s(q)({
534
541
  v: a.proportion * 100,
535
542
  s: "%",
536
543
  r: e.value.style.chart.circles.dataLabels.rounding
@@ -547,8 +554,8 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
547
554
  style: S({
548
555
  transition: e.value.useCssAnimation ? `all ${150 * y.value.length}ms ease-in` : "none"
549
556
  })
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 }, {
557
+ }, null, 14, zt)) : g("", !0),
558
+ (n(!0), c(X, null, W(u.value, ({ x: a, y: o, height: f, width: r, fill: M }, te) => (n(), c("rect", H({ ref_for: !0 }, { x: a, y: o, height: f, width: r, fill: M }, {
552
559
  stroke: e.value.style.chart.bars.stroke,
553
560
  "stroke-width": e.value.style.chart.bars.strokeWidth,
554
561
  rx: e.value.style.chart.bars.borderRadius,
@@ -559,7 +566,7 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
559
566
  animationDelay: `${150 * te}ms`
560
567
  }
561
568
  }), null, 16, Nt))), 256)),
562
- (n(!0), c(X, null, W(u.value, (a, s) => (n(), c("g", null, [
569
+ (n(!0), c(X, null, W(u.value, (a, o) => (n(), c("g", null, [
563
570
  C("text", {
564
571
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
565
572
  y: a.cy - d.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
@@ -571,7 +578,7 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
571
578
  animated: e.value.useCssAnimation && !L.value
572
579
  }),
573
580
  style: S({
574
- animationDelay: `${150 * s}ms`
581
+ animationDelay: `${150 * o}ms`
575
582
  })
576
583
  }, U(a.name), 15, Pt),
577
584
  C("text", {
@@ -585,12 +592,12 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
585
592
  animated: e.value.useCssAnimation && !L.value
586
593
  }),
587
594
  style: S({
588
- animationDelay: `${150 * s}ms`
595
+ animationDelay: `${150 * o}ms`
589
596
  })
590
- }, U(o(Y)(
597
+ }, U(s(Y)(
591
598
  e.value.style.chart.bars.dataLabels.value.formatter,
592
599
  a.value,
593
- o(q)({
600
+ s(q)({
594
601
  p: e.value.style.chart.bars.dataLabels.value.prefix,
595
602
  v: a.value,
596
603
  s: e.value.style.chart.bars.dataLabels.value.suffix,
@@ -599,12 +606,12 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
599
606
  { datapoint: a }
600
607
  )), 15, It)
601
608
  ]))), 256)),
602
- g(t.$slots, "svg", { svg: h.value }, void 0, !0)
603
- ], 14, $t)) : b("", !0),
609
+ m(t.$slots, "svg", { svg: h.value }, void 0, !0)
610
+ ], 14, $t)) : g("", !0),
604
611
  t.$slots.watermark ? (n(), c("div", Ft, [
605
- g(t.$slots, "watermark", G(j({ isPrinting: o(he) || o(fe) })), void 0, !0)
606
- ])) : b("", !0),
607
- A.value ? b("", !0) : (n(), P(o(Ne), {
612
+ m(t.$slots, "watermark", G(j({ isPrinting: s(he) || s(fe) })), void 0, !0)
613
+ ])) : g("", !0),
614
+ A.value ? g("", !0) : (n(), P(s(Ne), {
608
615
  key: 6,
609
616
  config: {
610
617
  type: "verticalBar",
@@ -625,16 +632,16 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
625
632
  ref: ue,
626
633
  dir: "auto"
627
634
  }, [
628
- g(t.$slots, "source", {}, void 0, !0)
629
- ], 512)) : b("", !0),
635
+ m(t.$slots, "source", {}, void 0, !0)
636
+ ], 512)) : g("", !0),
630
637
  A.value && e.value.userOptions.buttons.table ? (n(), P(et(B.value.component), H({ key: 8 }, B.value.props, {
631
638
  ref_key: "tableUnit",
632
639
  ref: F,
633
640
  onClose: Ce
634
641
  }), Le({
635
- content: m(() => [
636
- (n(), P(o(Ie), {
637
- key: `table_${oe.value}`,
642
+ content: b(() => [
643
+ (n(), P(s(Ie), {
644
+ key: `table_${se.value}`,
638
645
  colNames: V.value.colNames,
639
646
  head: V.value.head,
640
647
  body: V.value.body,
@@ -643,13 +650,13 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
643
650
  withCloseButton: !e.value.table.useDialog,
644
651
  onClose: Ce
645
652
  }, {
646
- th: m(({ th: a }) => [
653
+ th: b(({ th: a }) => [
647
654
  C("div", {
648
655
  innerHTML: a,
649
656
  style: { display: "flex", "align-items": "center" }
650
657
  }, null, 8, Rt)
651
658
  ]),
652
- td: m(({ td: a }) => [
659
+ td: b(({ td: a }) => [
653
660
  Se(U(a.name ? a.name : a), 1)
654
661
  ]),
655
662
  _: 1
@@ -659,20 +666,20 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
659
666
  }, [
660
667
  e.value.table.useDialog ? {
661
668
  name: "title",
662
- fn: m(() => [
669
+ fn: b(() => [
663
670
  Se(U(B.value.title), 1)
664
671
  ]),
665
672
  key: "0"
666
673
  } : void 0,
667
674
  e.value.table.useDialog ? {
668
675
  name: "actions",
669
- fn: m(() => [
676
+ fn: b(() => [
670
677
  C("button", {
671
678
  tabindex: "0",
672
679
  class: "vue-ui-user-options-button",
673
680
  onClick: l[0] || (l[0] = (a) => ee(e.value.userOptions.callbacks.csv))
674
681
  }, [
675
- _e(o(ze), {
682
+ _e(s(ze), {
676
683
  name: "excel",
677
684
  stroke: B.value.props.color
678
685
  }, null, 8, ["stroke"])
@@ -680,10 +687,10 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
680
687
  ]),
681
688
  key: "1"
682
689
  } : void 0
683
- ]), 1040)) : b("", !0)
690
+ ]), 1040)) : g("", !0)
684
691
  ], 46, wt));
685
692
  }
686
- }, Qt = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-8c33e489"]]);
693
+ }, Qt = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-84d1cb5f"]]);
687
694
  export {
688
695
  Qt as default
689
696
  };