vue-data-ui 3.3.3 → 3.4.1

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 (160) hide show
  1. package/dist/{Arrow-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
  3. package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
  4. package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
  5. package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
  6. package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
  8. package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
  9. package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
  10. package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
  11. package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
  12. package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
  13. package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
  14. package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
  15. package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
  16. package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.js} +2 -2
  17. package/dist/components/arrow.js +1 -1
  18. package/dist/components/vue-ui-3d-bar.js +1 -1
  19. package/dist/components/vue-ui-accordion.js +1 -1
  20. package/dist/components/vue-ui-age-pyramid.js +1 -1
  21. package/dist/components/vue-ui-annotator.js +1 -1
  22. package/dist/components/vue-ui-bullet.js +1 -1
  23. package/dist/components/vue-ui-candlestick.js +1 -1
  24. package/dist/components/vue-ui-carousel-table.js +1 -1
  25. package/dist/components/vue-ui-chestnut.js +1 -1
  26. package/dist/components/vue-ui-chord.js +1 -1
  27. package/dist/components/vue-ui-circle-pack.js +1 -1
  28. package/dist/components/vue-ui-cursor.js +1 -1
  29. package/dist/components/vue-ui-dashboard.js +1 -1
  30. package/dist/components/vue-ui-digits.js +1 -1
  31. package/dist/components/vue-ui-donut-evolution.js +1 -1
  32. package/dist/components/vue-ui-donut.js +1 -1
  33. package/dist/components/vue-ui-dumbbell.js +1 -1
  34. package/dist/components/vue-ui-flow.js +1 -1
  35. package/dist/components/vue-ui-funnel.js +1 -1
  36. package/dist/components/vue-ui-galaxy.js +1 -1
  37. package/dist/components/vue-ui-gauge.js +1 -1
  38. package/dist/components/vue-ui-gizmo.js +1 -1
  39. package/dist/components/vue-ui-heatmap.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-strip-plot.js +1 -1
  68. package/dist/components/vue-ui-table-heatmap.js +1 -1
  69. package/dist/components/vue-ui-table-sparkline.js +1 -1
  70. package/dist/components/vue-ui-table.js +1 -1
  71. package/dist/components/vue-ui-thermometer.js +1 -1
  72. package/dist/components/vue-ui-timer.js +1 -1
  73. package/dist/components/vue-ui-tiremarks.js +1 -1
  74. package/dist/components/vue-ui-treemap.js +1 -1
  75. package/dist/components/vue-ui-vertical-bar.js +1 -1
  76. package/dist/components/vue-ui-waffle.js +1 -1
  77. package/dist/components/vue-ui-wheel.js +1 -1
  78. package/dist/components/vue-ui-word-cloud.js +1 -1
  79. package/dist/components/vue-ui-world.js +1 -1
  80. package/dist/components/vue-ui-xy-canvas.js +1 -1
  81. package/dist/components/vue-ui-xy.js +1 -1
  82. package/dist/{dom-to-png-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
  83. package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
  84. package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
  85. package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
  86. package/dist/style.css +1 -1
  87. package/dist/types/vue-data-ui.d.ts +82 -8
  88. package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
  89. package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
  90. package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
  91. package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
  92. package/dist/vue-data-ui.js +100 -100
  93. package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
  94. package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
  96. package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
  97. package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
  98. package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
  99. package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
  100. package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
  101. package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
  102. package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
  103. package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
  104. package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
  105. package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
  106. package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
  107. package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
  108. package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
  109. package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
  110. package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
  111. package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
  112. package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
  113. package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
  114. package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
  115. package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
  116. package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
  118. package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
  119. package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
  120. package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
  121. package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
  122. package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
  123. package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
  124. package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
  125. package/dist/vue-ui-radar-CrenQprr.js +938 -0
  126. package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
  128. package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
  129. package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
  130. package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
  131. package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
  132. package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
  134. package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
  136. package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
  137. package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
  138. package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
  139. package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
  140. package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
  141. package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
  142. package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
  143. package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
  144. package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
  145. package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
  146. package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
  147. package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
  148. package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
  149. package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
  150. package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
  151. package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
  152. package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
  153. package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
  154. package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
  155. package/package.json +2 -2
  156. package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
  157. package/dist/vue-ui-radar-Csznqw19.js +0 -891
  158. package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
  159. package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
  160. package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
@@ -1,19 +1,19 @@
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-CSDxt1Zh.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 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-BcBZIm6u.js";
3
3
  import { t as vt, u as dt } from "./useResponsive-DfdjqQps.js";
4
- import { u as ht, a as Ae } from "./useNestedProp-Dh-ldrr5.js";
5
- import { u as ft } from "./usePrinter-Cq8Pt6Lh.js";
4
+ import { u as ht, a as Ae } from "./useNestedProp-B7CiTRDS.js";
5
+ import { u as ft } from "./usePrinter-C1GiglOH.js";
6
6
  import { u as bt } from "./useSvgExport-DrjCWun4.js";
7
7
  import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as gt } from "./useChartAccessibility-9icAAmYg.js";
9
- import pt from "./img-DI-W68vp.js";
10
- import yt from "./Title-B6rAo9Oz.js";
9
+ import pt from "./img-CFY3JivG.js";
10
+ import yt from "./Title-CFmv95In.js";
11
11
  import { t as kt } from "./themes-Dw-dDudK.js";
12
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
+ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["id"], _t = ["stop-color"], St = ["stop-color"], Tt = ["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"], Pt = ["x", "y", "font-size", "fill", "font-weight"], It = ["x", "y", "font-size", "fill", "font-weight"], Ft = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
- }, Bt = ["innerHTML"], Rt = {
16
+ }, Rt = ["innerHTML"], Bt = {
17
17
  __name: "vue-ui-funnel",
18
18
  props: {
19
19
  config: {
@@ -30,13 +30,13 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
30
30
  }
31
31
  },
32
32
  setup(Oe, { expose: De }) {
33
- Ke((t) => ({
33
+ Qe((t) => ({
34
34
  v09babd12: je.value
35
35
  }));
36
- const ze = $(() => import("./BaseIcon-DG6cvf2h.js")), Ne = $(() => import("./vue-ui-skeleton-D0PF0jxa.js")), Ie = $(() => import("./vue-ui-accordion-CaClZrCp.js")), Pe = $(() => import("./DataTable-DUpZ_s2c.js")), Fe = $(() => import("./UserOptions-CJXSEhan.js")), Be = $(() => import("./PenAndPaper-D9LruJaM.js")), Re = $(() => import("./PackageVersion-CQvYRebC.js")), Me = $(() => import("./BaseDraggableDialog-Cysanw8-.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);
36
+ const ze = x(() => import("./BaseIcon-B5KaGWWC.js")), Ne = x(() => import("./vue-ui-skeleton-CZ8xxpEU.js")), Pe = x(() => import("./vue-ui-accordion-BKkTS12x.js")), Ie = x(() => import("./DataTable-DOx3zgih.js")), Fe = x(() => import("./UserOptions-C0YT60JN.js")), Re = x(() => import("./PenAndPaper-Dj2diYr0.js")), Be = x(() => import("./PackageVersion-VpPtLYhK.js")), Me = x(() => import("./BaseDraggableDialog-CbuLbfrc.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);
37
+ Ke(ie);
38
38
  function ie() {
39
- if (lt(p.dataset) ? Se({
39
+ if (lt(p.dataset) ? Te({
40
40
  componentName: "VueUiFunnel",
41
41
  type: "dataset"
42
42
  }) : p.dataset.forEach((t, l) => {
@@ -44,7 +44,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
44
44
  datasetObject: t,
45
45
  requiredAttributes: ["name", "value"]
46
46
  }).forEach((a) => {
47
- A.value = !1, Se({
47
+ A.value = !1, Te({
48
48
  componentName: "VueUiFunnel",
49
49
  type: "datasetSerieAttribute",
50
50
  property: a,
@@ -81,11 +81,11 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
81
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);
82
82
  });
83
83
  });
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
+ $.value && (T.value && $.value.unobserve(T.value), $.value.disconnect()), $.value = new ResizeObserver(t), T.value = w.value.parentNode, $.value.observe(T.value);
85
85
  }
86
86
  }
87
87
  Ze(() => {
88
- x.value && (S.value && x.value.unobserve(S.value), x.value.disconnect());
88
+ $.value && (T.value && $.value.unobserve(T.value), $.value.disconnect());
89
89
  });
90
90
  function ce() {
91
91
  const t = Ae({
@@ -102,12 +102,12 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
102
102
  const e = i({
103
103
  get: () => ce(),
104
104
  set: (t) => t
105
- }), { userOptionsVisible: K, setUserOptionsVisibility: ve, keepUserOptionState: de } = mt({ config: e.value }), { svgRef: Q } = gt({ config: e.value.style.chart.title });
106
- $e(() => p.config, (t) => {
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;
105
+ }), { userOptionsVisible: Q, setUserOptionsVisibility: ve, keepUserOptionState: de } = mt({ config: e.value }), { svgRef: K } = gt({ config: e.value.style.chart.title });
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;
108
108
  }, { deep: !0 });
109
109
  const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: me } = ft({
110
- elementId: `funnel_${P.value}`,
110
+ elementId: `funnel_${I.value}`,
111
111
  fileName: e.value.style.chart.title.text || "vue-ui-funnel",
112
112
  options: e.value.userOptions.print
113
113
  }), Ee = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), O = v({
@@ -174,7 +174,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
174
174
  function ke() {
175
175
  O.value.showTable = !O.value.showTable;
176
176
  }
177
- const B = i(() => {
177
+ const R = i(() => {
178
178
  const t = y.value.map((a) => ({
179
179
  name: a.name,
180
180
  color: a.color
@@ -185,13 +185,13 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
185
185
  e.value.table.columnNames.series,
186
186
  e.value.table.columnNames.value,
187
187
  e.value.table.columnNames.percentage
188
- ], l = B.value.head.map((f, r) => {
188
+ ], l = R.value.head.map((f, r) => {
189
189
  const M = Y(
190
190
  e.value.style.chart.bars.dataLabels.value.formatter,
191
- B.value.body[r],
191
+ R.value.body[r],
192
192
  q({
193
193
  p: e.value.style.chart.bars.dataLabels.value.prefix,
194
- v: B.value.body[r],
194
+ v: R.value.body[r],
195
195
  s: e.value.style.chart.bars.dataLabels.value.suffix,
196
196
  r: e.value.table.td.roundingValue
197
197
  }),
@@ -237,9 +237,9 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
237
237
  });
238
238
  function ee(t = null) {
239
239
  tt(() => {
240
- const l = B.value.head.map((f, r) => [[
240
+ const l = R.value.head.map((f, r) => [[
241
241
  f.name
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);
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
243
  t ? t(s) : ct({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-funnel" });
244
244
  });
245
245
  }
@@ -258,10 +258,10 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
258
258
  aspectRatio: s
259
259
  };
260
260
  }
261
- const R = i(() => {
261
+ const B = i(() => {
262
262
  const t = e.value.table.useDialog && !e.value.table.show, l = O.value.showTable;
263
263
  return {
264
- component: t ? Me : Ie,
264
+ component: t ? Me : Pe,
265
265
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
266
266
  props: t ? {
267
267
  backgroundColor: e.value.table.th.backgroundColor,
@@ -288,14 +288,14 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
288
288
  }
289
289
  };
290
290
  });
291
- $e(() => O.value.showTable, (t) => {
291
+ xe(() => O.value.showTable, (t) => {
292
292
  e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
293
293
  });
294
294
  function Ce() {
295
295
  O.value.showTable = !1, J.value && J.value.setTableIconState(!1);
296
296
  }
297
297
  const We = i(() => e.value.style.chart.backgroundColor), Ye = i(() => e.value.style.chart.title), { exportSvg: qe, getSvg: Je } = bt({
298
- svg: Q,
298
+ svg: K,
299
299
  title: Ye,
300
300
  backgroundColor: We
301
301
  });
@@ -320,14 +320,14 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
320
320
  ref_key: "funnelChart",
321
321
  ref: w,
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
- style: T(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
324
- id: `funnel_${P.value}`,
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
+ id: `funnel_${I.value}`,
325
325
  onMouseenter: l[1] || (l[1] = () => o(ve)(!0)),
326
326
  onMouseleave: l[2] || (l[2] = () => o(ve)(!1))
327
327
  }, [
328
- e.value.userOptions.buttons.annotator ? (n(), I(o(Be), {
328
+ e.value.userOptions.buttons.annotator ? (n(), P(o(Re), {
329
329
  key: 0,
330
- svgRef: o(Q),
330
+ svgRef: o(K),
331
331
  backgroundColor: e.value.style.chart.backgroundColor,
332
332
  color: e.value.style.chart.color,
333
333
  active: E.value,
@@ -346,7 +346,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
346
346
  ref: re,
347
347
  style: "width:100%;background:transparent;padding-bottom:24px"
348
348
  }, [
349
- (n(), I(yt, {
349
+ (n(), P(yt, {
350
350
  key: `title_${se.value}`,
351
351
  config: {
352
352
  title: {
@@ -360,7 +360,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
360
360
  }
361
361
  }, null, 8, ["config"]))
362
362
  ], 512)) : b("", !0),
363
- e.value.userOptions.show && A.value && (o(de) || o(K)) ? (n(), I(o(Fe), {
363
+ e.value.userOptions.show && A.value && (o(de) || o(Q)) ? (n(), P(o(Fe), {
364
364
  ref_key: "userOptionsRef",
365
365
  ref: J,
366
366
  key: `user_option_${le.value}`,
@@ -368,7 +368,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
368
368
  color: e.value.style.chart.color,
369
369
  isPrinting: o(he),
370
370
  isImaging: o(fe),
371
- uid: P.value,
371
+ uid: I.value,
372
372
  hasTooltip: !1,
373
373
  hasPdf: e.value.userOptions.buttons.pdf,
374
374
  hasImg: e.value.userOptions.buttons.img,
@@ -393,8 +393,8 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
393
393
  onGenerateSvg: we,
394
394
  onToggleTable: ke,
395
395
  onGenerateCsv: ee,
396
- style: T({
397
- visibility: o(de) ? o(K) ? "visible" : "hidden" : "visible"
396
+ style: S({
397
+ visibility: o(de) ? o(Q) ? "visible" : "hidden" : "visible"
398
398
  })
399
399
  }, Le({ _: 2 }, [
400
400
  t.$slots.menuIcon ? {
@@ -450,13 +450,13 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
450
450
  A.value ? (n(), c("svg", {
451
451
  key: 4,
452
452
  ref_key: "svgRef",
453
- ref: Q,
453
+ ref: K,
454
454
  xmlns: o(ut),
455
455
  class: N({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
456
456
  viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
457
- style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
457
+ style: S(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
458
458
  }, [
459
- _e(o(Re)),
459
+ _e(o(Be)),
460
460
  t.$slots["chart-background"] ? (n(), c("foreignObject", {
461
461
  key: 0,
462
462
  x: 0,
@@ -468,10 +468,10 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
468
468
  }
469
469
  }, [
470
470
  g(t.$slots, "chart-background", {}, void 0, !0)
471
- ], 8, $t)) : b("", !0),
471
+ ], 8, xt)) : b("", !0),
472
472
  C("defs", null, [
473
473
  C("linearGradient", {
474
- id: `funnel_area_${P.value}`,
474
+ id: `funnel_area_${I.value}`,
475
475
  x1: "0%",
476
476
  x2: "100%",
477
477
  y1: "0%",
@@ -485,11 +485,11 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
485
485
  C("stop", {
486
486
  offset: "20%",
487
487
  "stop-color": e.value.style.chart.area.color
488
- }, null, 8, Tt),
488
+ }, null, 8, St),
489
489
  C("stop", {
490
490
  offset: "100%",
491
491
  "stop-color": e.value.style.chart.area.color
492
- }, null, 8, St)
492
+ }, null, 8, Tt)
493
493
  ], 8, Lt)
494
494
  ]),
495
495
  e.value.style.chart.circleLinks.show ? (n(), c("line", H({ key: 1 }, Ge.value, {
@@ -524,7 +524,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
524
524
  class: N({
525
525
  animated: e.value.useCssAnimation && !L.value
526
526
  }),
527
- style: T({
527
+ style: S({
528
528
  animationDelay: `${150 * s}ms`
529
529
  })
530
530
  }, U(o(Y)(
@@ -540,11 +540,11 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
540
540
  e.value.style.chart.area.show ? (n(), c("polygon", {
541
541
  key: 2,
542
542
  points: Ve.value,
543
- fill: `url(#funnel_area_${P.value})`,
543
+ fill: `url(#funnel_area_${I.value})`,
544
544
  class: N({
545
545
  animated: e.value.useCssAnimation && !L.value
546
546
  }),
547
- style: T({
547
+ style: S({
548
548
  transition: e.value.useCssAnimation ? `all ${150 * y.value.length}ms ease-in` : "none"
549
549
  })
550
550
  }, null, 14, zt)) : b("", !0),
@@ -570,10 +570,10 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
570
570
  class: N({
571
571
  animated: e.value.useCssAnimation && !L.value
572
572
  }),
573
- style: T({
573
+ style: S({
574
574
  animationDelay: `${150 * s}ms`
575
575
  })
576
- }, U(a.name), 15, It),
576
+ }, U(a.name), 15, Pt),
577
577
  C("text", {
578
578
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
579
579
  y: a.cy + d.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
@@ -584,7 +584,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
584
584
  class: N({
585
585
  animated: e.value.useCssAnimation && !L.value
586
586
  }),
587
- style: T({
587
+ style: S({
588
588
  animationDelay: `${150 * s}ms`
589
589
  })
590
590
  }, U(o(Y)(
@@ -597,14 +597,14 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
597
597
  r: e.value.style.chart.bars.dataLabels.value.rounding
598
598
  }),
599
599
  { datapoint: a }
600
- )), 15, Pt)
600
+ )), 15, It)
601
601
  ]))), 256)),
602
602
  g(t.$slots, "svg", { svg: h.value }, void 0, !0)
603
- ], 14, xt)) : b("", !0),
603
+ ], 14, $t)) : b("", !0),
604
604
  t.$slots.watermark ? (n(), c("div", Ft, [
605
605
  g(t.$slots, "watermark", G(j({ isPrinting: o(he) || o(fe) })), void 0, !0)
606
606
  ])) : b("", !0),
607
- A.value ? b("", !0) : (n(), I(o(Ne), {
607
+ A.value ? b("", !0) : (n(), P(o(Ne), {
608
608
  key: 6,
609
609
  config: {
610
610
  type: "verticalBar",
@@ -627,19 +627,19 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
627
627
  }, [
628
628
  g(t.$slots, "source", {}, void 0, !0)
629
629
  ], 512)) : b("", !0),
630
- A.value && e.value.userOptions.buttons.table ? (n(), I(et(R.value.component), H({ key: 8 }, R.value.props, {
630
+ A.value && e.value.userOptions.buttons.table ? (n(), P(et(B.value.component), H({ key: 8 }, B.value.props, {
631
631
  ref_key: "tableUnit",
632
632
  ref: F,
633
633
  onClose: Ce
634
634
  }), Le({
635
635
  content: m(() => [
636
- (n(), I(o(Pe), {
636
+ (n(), P(o(Ie), {
637
637
  key: `table_${oe.value}`,
638
638
  colNames: V.value.colNames,
639
639
  head: V.value.head,
640
640
  body: V.value.body,
641
641
  config: V.value.config,
642
- title: e.value.table.useDialog ? "" : R.value.title,
642
+ title: e.value.table.useDialog ? "" : B.value.title,
643
643
  withCloseButton: !e.value.table.useDialog,
644
644
  onClose: Ce
645
645
  }, {
@@ -647,10 +647,10 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
647
647
  C("div", {
648
648
  innerHTML: a,
649
649
  style: { display: "flex", "align-items": "center" }
650
- }, null, 8, Bt)
650
+ }, null, 8, Rt)
651
651
  ]),
652
652
  td: m(({ td: a }) => [
653
- Te(U(a.name ? a.name : a), 1)
653
+ Se(U(a.name ? a.name : a), 1)
654
654
  ]),
655
655
  _: 1
656
656
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -660,7 +660,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
660
660
  e.value.table.useDialog ? {
661
661
  name: "title",
662
662
  fn: m(() => [
663
- Te(U(R.value.title), 1)
663
+ Se(U(B.value.title), 1)
664
664
  ]),
665
665
  key: "0"
666
666
  } : void 0,
@@ -674,7 +674,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
674
674
  }, [
675
675
  _e(o(ze), {
676
676
  name: "excel",
677
- stroke: R.value.props.color
677
+ stroke: B.value.props.color
678
678
  }, null, 8, ["stroke"])
679
679
  ])
680
680
  ]),
@@ -683,7 +683,7 @@ const wt = ["id"], xt = ["xmlns", "viewBox"], $t = ["width", "height"], Lt = ["i
683
683
  ]), 1040)) : b("", !0)
684
684
  ], 46, wt));
685
685
  }
686
- }, Kt = /* @__PURE__ */ Ct(Rt, [["__scopeId", "data-v-8c33e489"]]);
686
+ }, Qt = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-8c33e489"]]);
687
687
  export {
688
- Kt as default
688
+ Qt as default
689
689
  };