vue-data-ui 3.0.0-next.54 → 3.0.0-next.55

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 (93) hide show
  1. package/dist/{Arrow-LMYgGTUq.js → Arrow-BJNH0Liz.js} +1 -1
  2. package/dist/{BaseDraggableDialog-D6NKDVDd.js → BaseDraggableDialog-g4-q5391.js} +2 -2
  3. package/dist/{BaseIcon-D1YxuTqn.js → BaseIcon-B-JPaycb.js} +1 -1
  4. package/dist/{ColorPicker-Dqnk4Bis.js → ColorPicker-B6cSfXTZ.js} +2 -2
  5. package/dist/{DataTable-D1RPxkQn.js → DataTable-CXvbwtai.js} +2 -2
  6. package/dist/{Legend-BBaTktyQ.js → Legend-Dt-A6TX4.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Dqp0PFOO.js → NonSvgPenAndPaper-Cde04UFK.js} +3 -3
  8. package/dist/{PackageVersion-Dvivm8-r.js → PackageVersion-D3gM0cgH.js} +1 -1
  9. package/dist/{PenAndPaper-DaQWWpgs.js → PenAndPaper-tiWdtLvY.js} +3 -3
  10. package/dist/{Shape-Dc4AHan7.js → Shape-BAOib99W.js} +1 -1
  11. package/dist/{Slicer-viJHi_bq.js → Slicer-2xXK3ZHN.js} +2 -2
  12. package/dist/{SparkTooltip-Ca7tsP2u.js → SparkTooltip-CP52F_jK.js} +1 -1
  13. package/dist/{Title-Bnr--aA5.js → Title-CNNSPaS8.js} +1 -1
  14. package/dist/{Tooltip-DSvSWahk.js → Tooltip-DsVWsLP0.js} +1 -1
  15. package/dist/{UserOptions-Dm91TR_d.js → UserOptions-DdxzR5Mv.js} +2 -2
  16. package/dist/{dom-to-png-DTwkx-9j.js → dom-to-png-FQEkmOOx.js} +1 -1
  17. package/dist/{img-Brj7vn--.js → img-CNjWjg_p.js} +1 -1
  18. package/dist/{index-B5FRcZLo.js → index-VrsKSULO.js} +33 -16
  19. package/dist/{pdf-s-J6FH3X.js → pdf-BLwguT_D.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -1
  22. package/dist/types/vue-data-ui.d.ts +25 -1
  23. package/dist/{useAutoSizeLabelsInsideViewbox-xwIHroEq.js → useAutoSizeLabelsInsideViewbox-BD87yFjx.js} +1 -1
  24. package/dist/{BaseScanner-DIK2NTdp.js → useLoading-Bt5Doa8m.js} +11 -11
  25. package/dist/useNestedProp-lTwriOHy.js +13 -0
  26. package/dist/{usePrinter-CHbm8PGD.js → usePrinter-BrYkAEvI.js} +2 -2
  27. package/dist/{vue-data-ui-jynIaHEu.js → vue-data-ui-Cvdlw0Wu.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/vue-ui-3d-bar-DIbV0GIS.js +1323 -0
  30. package/dist/{vue-ui-accordion-h_xORY7m.js → vue-ui-accordion-CP3KpYYB.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-ByNg19-v.js → vue-ui-age-pyramid-ING0HORH.js} +7 -7
  32. package/dist/{vue-ui-annotator-DHWKIAiw.js → vue-ui-annotator-Vcfg38lq.js} +2 -2
  33. package/dist/{vue-ui-bullet-D8QT8Bn3.js → vue-ui-bullet-nVyjtnfT.js} +8 -8
  34. package/dist/{vue-ui-candlestick-Dfga6m-d.js → vue-ui-candlestick-C8kOVEo0.js} +8 -8
  35. package/dist/{vue-ui-carousel-table--OsqU2f2.js → vue-ui-carousel-table-IxlXbBLZ.js} +29 -29
  36. package/dist/{vue-ui-chestnut-Bos9_e2W.js → vue-ui-chestnut-DrLVu-od.js} +5 -5
  37. package/dist/{vue-ui-chord-CBxXikz5.js → vue-ui-chord-Co_1mfBI.js} +8 -8
  38. package/dist/{vue-ui-circle-pack-CA4h8PoX.js → vue-ui-circle-pack-93ly70eJ.js} +42 -42
  39. package/dist/{vue-ui-cursor-D1e1-QTO.js → vue-ui-cursor-KJztZXjx.js} +2 -2
  40. package/dist/{vue-ui-dashboard-CGLgntfH.js → vue-ui-dashboard-Dm-pgEqX.js} +62 -62
  41. package/dist/{vue-ui-digits-CsO3Iczu.js → vue-ui-digits-BOZE8XF9.js} +2 -2
  42. package/dist/{vue-ui-donut-CkicdCC0.js → vue-ui-donut-C2ZgkW45.js} +9 -9
  43. package/dist/{vue-ui-donut-evolution-s6f_kN-K.js → vue-ui-donut-evolution-Bbv5_sp4.js} +9 -9
  44. package/dist/{vue-ui-dumbbell-DmYCdaFI.js → vue-ui-dumbbell-nld0Clws.js} +69 -69
  45. package/dist/{vue-ui-flow-BQUZA0Ci.js → vue-ui-flow-CLlSDNyj.js} +8 -8
  46. package/dist/{vue-ui-funnel-BaJXfhkn.js → vue-ui-funnel-BoxOdEOh.js} +16 -16
  47. package/dist/{vue-ui-galaxy-AamRVENQ.js → vue-ui-galaxy-DYyCeO0g.js} +5 -5
  48. package/dist/{vue-ui-gauge-DwpIlS3L.js → vue-ui-gauge-DzfVoVC0.js} +8 -8
  49. package/dist/{vue-ui-gizmo-_LjeGmAP.js → vue-ui-gizmo-Dq_wADwm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-C2LL_MI_.js → vue-ui-heatmap-DiJ4PMPu.js} +8 -8
  51. package/dist/{vue-ui-history-plot-BLxytFYc.js → vue-ui-history-plot-CyQbpbFj.js} +20 -20
  52. package/dist/{vue-ui-kpi-D2Pbj0bH.js → vue-ui-kpi-CE3bvNxU.js} +7 -7
  53. package/dist/{vue-ui-mini-loader-DlrRQmpO.js → vue-ui-mini-loader-CezyYsIh.js} +2 -2
  54. package/dist/{vue-ui-molecule-BUJqDdqt.js → vue-ui-molecule-DBqdOQXg.js} +15 -15
  55. package/dist/{vue-ui-mood-radar-B3_UAmrH.js → vue-ui-mood-radar-Borsdnjs.js} +15 -15
  56. package/dist/{vue-ui-nested-donuts-C6J6RswH.js → vue-ui-nested-donuts-CluI37Ei.js} +10 -10
  57. package/dist/{vue-ui-onion-BbABpEI9.js → vue-ui-onion-Ny8gdAAf.js} +24 -24
  58. package/dist/{vue-ui-parallel-coordinate-plot-DKg6Ksmk.js → vue-ui-parallel-coordinate-plot-PJ7kBhSH.js} +9 -9
  59. package/dist/{vue-ui-quadrant-DKYW231A.js → vue-ui-quadrant--JI409Pn.js} +8 -8
  60. package/dist/{vue-ui-quick-chart-Dk8KMMWE.js → vue-ui-quick-chart-BDrTZO9Y.js} +45 -45
  61. package/dist/{vue-ui-radar-JJJvDyH0.js → vue-ui-radar-BWu9C6Zw.js} +25 -25
  62. package/dist/{vue-ui-rating-hbgc6VRD.js → vue-ui-rating-BR6GVyqk.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-Btubhkqp.js → vue-ui-relation-circle-By35PCSP.js} +6 -6
  64. package/dist/{vue-ui-ridgeline-zS0itk3r.js → vue-ui-ridgeline-DWGU3udg.js} +9 -9
  65. package/dist/{vue-ui-rings-C6QI4vT_.js → vue-ui-rings-Cq5qHVk1.js} +20 -20
  66. package/dist/{vue-ui-scatter-C2kNKb55.js → vue-ui-scatter-DOaBf7Al.js} +9 -9
  67. package/dist/{vue-ui-skeleton-CzVYh2n3.js → vue-ui-skeleton-CcR1KppS.js} +3 -3
  68. package/dist/{vue-ui-smiley-BK28gGd8.js → vue-ui-smiley-BAg44Lr1.js} +26 -26
  69. package/dist/{vue-ui-spark-trend-CSypVrHj.js → vue-ui-spark-trend-et-6tMhw.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-Cn2ww9SA.js → vue-ui-sparkbar-ZmkuoQIV.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-D_q1ShxX.js → vue-ui-sparkgauge-B-sR11zt.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-DrWMDYwQ.js → vue-ui-sparkhistogram-D6y3mWa-.js} +4 -4
  73. package/dist/{vue-ui-sparkline-B2EWoOpH.js → vue-ui-sparkline-BTcWkBkc.js} +4 -4
  74. package/dist/{vue-ui-sparkstackbar-dgtxtC-v.js → vue-ui-sparkstackbar-DiLFzzs1.js} +3 -3
  75. package/dist/{vue-ui-stackbar-BEPKt8t1.js → vue-ui-stackbar-B0XZyCnz.js} +10 -10
  76. package/dist/{vue-ui-strip-plot-CGLaQrOE.js → vue-ui-strip-plot-B4vsbget.js} +25 -25
  77. package/dist/{vue-ui-table-CYeBDq4t.js → vue-ui-table-DDVF52A6.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-D5Higl6c.js → vue-ui-table-heatmap-DH1DYupu.js} +5 -5
  79. package/dist/{vue-ui-table-sparkline-CgUjTFEu.js → vue-ui-table-sparkline-BL-1y2Oq.js} +14 -14
  80. package/dist/{vue-ui-thermometer-DdHoEvl8.js → vue-ui-thermometer-CyQT1DI6.js} +25 -25
  81. package/dist/{vue-ui-timer-Dd9-bUFJ.js → vue-ui-timer-CLqsJQ3V.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-CDvBqFb9.js → vue-ui-tiremarks-DZSjovmn.js} +7 -7
  83. package/dist/{vue-ui-treemap-Cnk77LIb.js → vue-ui-treemap-CSMkD4Q3.js} +39 -39
  84. package/dist/{vue-ui-vertical-bar-CfedVdxi.js → vue-ui-vertical-bar-X3muLpmj.js} +10 -10
  85. package/dist/{vue-ui-waffle-_nuwY19z.js → vue-ui-waffle-DZoNMXZs.js} +27 -27
  86. package/dist/{vue-ui-wheel-mgrK52NV.js → vue-ui-wheel-CkrhExvP.js} +7 -7
  87. package/dist/{vue-ui-word-cloud-X7c1DN4a.js → vue-ui-word-cloud-SJJdaZHD.js} +6 -6
  88. package/dist/{vue-ui-world-Ip9Cyd__.js → vue-ui-world-CmeQPQhw.js} +6 -6
  89. package/dist/{vue-ui-xy-CsH5sX8-.js → vue-ui-xy-Cp8U2LrQ.js} +87 -87
  90. package/dist/{vue-ui-xy-canvas-1KtHBKRO.js → vue-ui-xy-canvas-CGop37ip.js} +8 -8
  91. package/package.json +1 -1
  92. package/dist/useNestedProp-BwJKakXX.js +0 -13
  93. package/dist/vue-ui-3d-bar-CuyTiQjS.js +0 -1227
@@ -1,17 +1,17 @@
1
- import { defineAsyncComponent as V, computed as b, ref as h, toRefs as wt, watch as ye, shallowRef as Ue, onMounted as We, onBeforeUnmount as qe, watchEffect as $t, createElementBlock as i, openBlock as o, unref as c, normalizeStyle as K, normalizeClass as Ye, createBlock as O, createCommentVNode as y, createElementVNode as d, createSlots as Lt, withCtx as p, renderSlot as m, normalizeProps as Q, guardReactiveProps as ee, createVNode as Ct, withDirectives as U, Fragment as w, renderList as A, toDisplayString as x, vShow as W, createTextVNode as je, nextTick as At } from "vue";
2
- import { u as Nt, c as Ze, v as St, a as Xt, o as zt, e as Je, g as Mt, w as Ke, D as Tt, f as $, i as F, X as Qe, s as et, l as tt, h as lt, q as It, r as Ot } from "./index-B5FRcZLo.js";
1
+ import { defineAsyncComponent as V, computed as b, ref as h, toRefs as wt, watch as ye, shallowRef as Ue, onMounted as We, onBeforeUnmount as qe, watchEffect as $t, createElementBlock as i, openBlock as o, unref as c, normalizeStyle as K, normalizeClass as je, createBlock as O, createCommentVNode as y, createElementVNode as d, createSlots as Lt, withCtx as p, renderSlot as m, normalizeProps as Q, guardReactiveProps as ee, createVNode as Ct, withDirectives as U, Fragment as w, renderList as A, toDisplayString as x, vShow as W, createTextVNode as Ye, nextTick as At } from "vue";
2
+ import { u as Nt, c as Ze, t as St, b as Mt, o as Xt, f as Je, g as zt, h as Ke, D as Tt, i as $, k as F, X as Qe, s as et, l as tt, j as lt, v as It, w as Ot } from "./index-VrsKSULO.js";
3
3
  import { t as be, u as Ft } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ht } from "./usePrinter-CHbm8PGD.js";
5
- import { u as Dt, B as Pt } from "./BaseScanner-DIK2NTdp.js";
6
- import { u as at } from "./useNestedProp-BwJKakXX.js";
4
+ import { u as Ht } from "./usePrinter-BrYkAEvI.js";
5
+ import { u as Dt, B as Pt } from "./useLoading-Bt5Doa8m.js";
6
+ import { u as at } from "./useNestedProp-lTwriOHy.js";
7
7
  import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as Gt } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import { u as Rt } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import Bt from "./img-Brj7vn--.js";
11
- import Vt from "./Title-Bnr--aA5.js";
12
- import Ut from "./Legend-BBaTktyQ.js";
10
+ import Bt from "./img-CNjWjg_p.js";
11
+ import Vt from "./Title-CNNSPaS8.js";
12
+ import Ut from "./Legend-Dt-A6TX4.js";
13
13
  import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"], Zt = { key: 1 }, Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Kt = { key: 2 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], tl = ["transform", "font-size", "fill"], ll = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], al = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], sl = ["x", "y", "font-size", "fill"], nl = ["transform", "font-size", "fill", "font-weight", "text-anchor"], ol = ["d", "stroke", "stroke-width", "stroke-dasharray"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], ul = ["x", "y", "height", "width", "fill"], il = ["transform", "fill", "font-size"], cl = ["id"], vl = ["stop-color"], dl = ["stop-color"], hl = ["stop-color"], fl = ["id"], yl = ["stop-color"], bl = ["stop-color"], gl = ["stop-color"], ml = ["id"], pl = ["stop-color"], xl = ["stop-color"], kl = ["id"], _l = ["stop-color"], wl = ["stop-color"], $l = { key: 0 }, Ll = { key: 0 }, Cl = ["d", "fill"], Al = { key: 1 }, Nl = ["x", "y", "height", "width", "fill"], Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], zl = { key: 7 }, Ml = ["x", "y", "fill", "font-size"], Tl = { key: 8 }, Il = ["x", "y", "fill", "font-size"], Ol = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Fl = {
14
+ const qt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"], Zt = { key: 1 }, Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Kt = { key: 2 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], tl = ["transform", "font-size", "fill"], ll = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], al = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], sl = ["x", "y", "font-size", "fill"], nl = ["transform", "font-size", "fill", "font-weight", "text-anchor"], ol = ["d", "stroke", "stroke-width", "stroke-dasharray"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], ul = ["x", "y", "height", "width", "fill"], il = ["transform", "fill", "font-size"], cl = ["id"], vl = ["stop-color"], dl = ["stop-color"], hl = ["stop-color"], fl = ["id"], yl = ["stop-color"], bl = ["stop-color"], gl = ["stop-color"], ml = ["id"], pl = ["stop-color"], xl = ["stop-color"], kl = ["id"], _l = ["stop-color"], wl = ["stop-color"], $l = { key: 0 }, Ll = { key: 0 }, Cl = ["d", "fill"], Al = { key: 1 }, Nl = ["x", "y", "height", "width", "fill"], Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ml = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xl = { key: 7 }, zl = ["x", "y", "fill", "font-size"], Tl = { key: 8 }, Il = ["x", "y", "fill", "font-size"], Ol = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Fl = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
17
  }, Hl = ["xmlns", "height", "width"], Dl = ["fill"], Pl = ["innerHTML"], El = {
@@ -32,14 +32,14 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
32
32
  },
33
33
  emits: ["selectDatapoint"],
34
34
  setup(st, { expose: nt, emit: Gl }) {
35
- const ot = V(() => import("./vue-ui-accordion-h_xORY7m.js")), rt = V(() => import("./DataTable-D1RPxkQn.js")), ut = V(() => import("./PenAndPaper-DaQWWpgs.js")), it = V(() => import("./UserOptions-Dm91TR_d.js")), ct = V(() => import("./PackageVersion-Dvivm8-r.js")), { vue_ui_dumbbell: vt } = Nt(), N = st, q = b({
35
+ const ot = V(() => import("./vue-ui-accordion-CP3KpYYB.js")), rt = V(() => import("./DataTable-CXvbwtai.js")), ut = V(() => import("./PenAndPaper-tiWdtLvY.js")), it = V(() => import("./UserOptions-DdxzR5Mv.js")), ct = V(() => import("./PackageVersion-D3gM0cgH.js")), { vue_ui_dumbbell: vt } = Nt(), N = st, q = b({
36
36
  get() {
37
37
  return !!N.dataset && N.dataset.length;
38
38
  },
39
39
  set(l) {
40
40
  return l;
41
41
  }
42
- }), g = h(Ze()), ge = h(0), M = h(null), me = h(null), pe = h(null), xe = h(null), ke = h(null), _e = h(0), we = h(0), $e = h(0), te = h(null), le = h(null), Y = h(null), ae = h(null), T = h(null), r = h(null), I = h(!1), e = h(re()), { loading: se, FINAL_DATASET: ne, manualLoading: dt } = Dt({
42
+ }), g = h(Ze()), ge = h(0), z = h(null), me = h(null), pe = h(null), xe = h(null), ke = h(null), _e = h(0), we = h(0), $e = h(0), te = h(null), le = h(null), j = h(null), ae = h(null), T = h(null), r = h(null), I = h(!1), e = h(re()), { loading: se, FINAL_DATASET: ne, manualLoading: dt } = Dt({
43
43
  ...wt(N),
44
44
  FINAL_CONFIG: e,
45
45
  prepareConfig: re,
@@ -99,7 +99,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
99
99
  });
100
100
  return l.theme ? {
101
101
  ...at({
102
- userConfig: Xt.vue_ui_dumbbell[l.theme] || N.config,
102
+ userConfig: Mt.vue_ui_dumbbell[l.theme] || N.config,
103
103
  defaultConfig: l
104
104
  })
105
105
  } : l;
@@ -115,12 +115,12 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
115
115
  });
116
116
  const Ne = b(() => !!e.value.debug);
117
117
  function Se() {
118
- if (zt(N.dataset) ? Je({
118
+ if (Xt(N.dataset) ? Je({
119
119
  componentName: "VueUiDumbbell",
120
120
  type: "dataset",
121
121
  debug: Ne.value
122
122
  }) : N.dataset.forEach((l, s) => {
123
- Mt({
123
+ zt({
124
124
  datasetObject: l,
125
125
  requiredAttributes: ["name", "start", "end"]
126
126
  }).forEach((t) => {
@@ -135,24 +135,24 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
135
135
  }), e.value.responsive) {
136
136
  const l = be(() => {
137
137
  const { width: s, height: t } = Ft({
138
- chart: M.value,
138
+ chart: z.value,
139
139
  title: e.value.style.chart.title.text ? me.value : null,
140
140
  legend: e.value.style.chart.legend.show ? pe.value : null,
141
141
  source: xe.value,
142
142
  noTitle: ke.value
143
143
  }), a = e.value.style.chart.title.text ? 24 : 0, u = e.value.style.chart.legend.show ? 24 : 0;
144
144
  requestAnimationFrame(async () => {
145
- G.value = Math.max(0.1, s), E.value = Math.max(0.1, (t - (a + u)) / ne.value.length), Ve();
145
+ G.value = Math.max(0.1, s), E.value = Math.max(0.1, (Math.max(0.1, t) - (a + u)) / ne.value.length), Ve();
146
146
  });
147
147
  });
148
- S.value && (H.value && S.value.unobserve(H.value), S.value.disconnect()), S.value = new ResizeObserver(l), H.value = M.value.parentNode, S.value.observe(H.value);
148
+ S.value && (H.value && S.value.unobserve(H.value), S.value.disconnect()), S.value = new ResizeObserver(l), H.value = z.value.parentNode, S.value.observe(H.value);
149
149
  }
150
150
  Ve();
151
151
  }
152
152
  qe(() => {
153
153
  C.value != null && (cancelAnimationFrame(C.value), C.value = null), S.value && (H.value && S.value.unobserve(H.value), S.value.disconnect());
154
154
  });
155
- const { isPrinting: Xe, isImaging: ze, generatePdf: Me, generateImage: Te } = Ht({
155
+ const { isPrinting: Me, isImaging: Xe, generatePdf: ze, generateImage: Te } = Ht({
156
156
  elementId: `dumbbell_${g.value}`,
157
157
  fileName: e.value.style.chart.title.text || "vue-ui-dumbbell",
158
158
  options: e.value.userOptions.print
@@ -186,7 +186,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
186
186
  ue.value = l;
187
187
  }, 100);
188
188
  $t((l) => {
189
- const s = Y.value;
189
+ const s = j.value;
190
190
  if (!s) return;
191
191
  const t = new ResizeObserver((a) => {
192
192
  yt(a[0].contentRect.height);
@@ -200,7 +200,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
200
200
  let l = 0;
201
201
  ae.value && (l = ae.value.getBBox().height);
202
202
  let s = 0;
203
- return Y.value && (s = ue.value), l + s;
203
+ return j.value && (s = ue.value), l + s;
204
204
  }), ie = b(() => P.value.length);
205
205
  function Fe(l, s, t) {
206
206
  const a = Number(l), u = Number(s.min), v = Number(s.max), f = Number(t.width);
@@ -223,7 +223,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
223
223
  absoluteHeight: v,
224
224
  widthPlotReference: _
225
225
  };
226
- }), X = b(() => Math.min(E.value / 2 * 0.7, e.value.style.chart.plots.radius)), R = h([]), k = b({
226
+ }), M = b(() => Math.min(E.value / 2 * 0.7, e.value.style.chart.plots.radius)), R = h([]), k = b({
227
227
  get() {
228
228
  const l = n.value, s = L.value;
229
229
  return R.value.map((t, a) => {
@@ -285,7 +285,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
285
285
  paddingBottom: 12,
286
286
  paddingTop: 12,
287
287
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
288
- })), z = b(() => {
288
+ })), X = b(() => {
289
289
  const l = k.value.map((t) => ({
290
290
  name: t.name
291
291
  })), s = k.value.map((t) => ({
@@ -293,25 +293,25 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
293
293
  end: t.end
294
294
  }));
295
295
  return { head: l, body: s };
296
- }), j = b(() => {
296
+ }), Y = b(() => {
297
297
  const l = [
298
298
  e.value.table.columnNames.series,
299
299
  e.value.table.columnNames.start,
300
300
  e.value.table.columnNames.end,
301
301
  e.value.table.columnNames.progression
302
- ], s = z.value.head.map((u, v) => {
302
+ ], s = X.value.head.map((u, v) => {
303
303
  const f = $({
304
304
  p: e.value.style.chart.labels.prefix,
305
- v: z.value.body[v].start,
305
+ v: X.value.body[v].start,
306
306
  s: e.value.style.chart.labels.suffix,
307
307
  r: e.value.table.td.roundingValue
308
308
  }), _ = $({
309
309
  p: e.value.style.chart.labels.prefix,
310
- v: z.value.body[v].end,
310
+ v: X.value.body[v].end,
311
311
  s: e.value.style.chart.labels.suffix,
312
312
  r: e.value.table.td.roundingValue
313
313
  }), J = $({
314
- v: 100 * (z.value.body[v].end / z.value.body[v].start - 1),
314
+ v: 100 * (X.value.body[v].end / X.value.body[v].start - 1),
315
315
  s: "%",
316
316
  r: e.value.table.td.roundingPercentage
317
317
  });
@@ -348,9 +348,9 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
348
348
  });
349
349
  function Ee(l = null) {
350
350
  At(() => {
351
- const s = z.value.head.map((u, v) => [[
351
+ const s = X.value.head.map((u, v) => [[
352
352
  u.name
353
- ], [z.value.body[v].start], [z.value.body[v].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(s), a = It(t);
353
+ ], [X.value.body[v].start], [X.value.body[v].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(s), a = It(t);
354
354
  l ? l(a) : Ot({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
355
355
  });
356
356
  }
@@ -369,8 +369,8 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
369
369
  Z.value = !Z.value;
370
370
  }
371
371
  async function mt({ scale: l = 2 } = {}) {
372
- if (!M.value) return;
373
- const { width: s, height: t } = M.value.getBoundingClientRect(), a = s / t, { imageUri: u, base64: v } = await Bt({ domElement: M.value, base64: !0, img: !0, scale: l });
372
+ if (!z.value) return;
373
+ const { width: s, height: t } = z.value.getBoundingClientRect(), a = s / t, { imageUri: u, base64: v } = await Bt({ domElement: z.value, base64: !0, img: !0, scale: l });
374
374
  return {
375
375
  imageUri: u,
376
376
  base64: v,
@@ -382,7 +382,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
382
382
  }
383
383
  const Be = b(() => L.value.ticks), pt = b(() => ({ start: 0, end: Be.value.length }));
384
384
  Rt({
385
- timeLabelsEls: Y,
385
+ timeLabelsEls: j,
386
386
  timeLabels: Be,
387
387
  slicer: pt,
388
388
  configRef: e,
@@ -466,7 +466,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
466
466
  return nt({
467
467
  getData: gt,
468
468
  getImage: mt,
469
- generatePdf: Me,
469
+ generatePdf: ze,
470
470
  generateCsv: Ee,
471
471
  generateImage: Te,
472
472
  toggleTable: Re,
@@ -474,8 +474,8 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
474
474
  toggleFullscreen: Ge
475
475
  }), (l, s) => (o(), i("div", {
476
476
  ref_key: "dumbbellChart",
477
- ref: M,
478
- class: Ye(`vue-ui-dumbbell ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
477
+ ref: z,
478
+ class: je(`vue-ui-dumbbell ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
479
479
  style: K(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
480
480
  id: `dumbbell_${g.value}`,
481
481
  onMouseenter: s[1] || (s[1] = () => c(Le)(!0)),
@@ -521,8 +521,8 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
521
521
  key: `user_option_${ge.value}`,
522
522
  backgroundColor: e.value.style.chart.backgroundColor,
523
523
  color: e.value.style.chart.color,
524
- isPrinting: c(Xe),
525
- isImaging: c(ze),
524
+ isPrinting: c(Me),
525
+ isImaging: c(Xe),
526
526
  uid: g.value,
527
527
  hasPdf: e.value.userOptions.buttons.pdf,
528
528
  hasXls: e.value.userOptions.buttons.csv,
@@ -531,14 +531,14 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
531
531
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
532
532
  isFullscreen: B.value,
533
533
  titles: { ...e.value.userOptions.buttonTitles },
534
- chartElement: M.value,
534
+ chartElement: z.value,
535
535
  position: e.value.userOptions.position,
536
536
  hasAnnotator: e.value.userOptions.buttons.annotator,
537
537
  isAnnotation: Z.value,
538
538
  callbacks: e.value.userOptions.callbacks,
539
539
  printScale: e.value.userOptions.print.scale,
540
540
  onToggleFullscreen: Ge,
541
- onGeneratePdf: c(Me),
541
+ onGeneratePdf: c(ze),
542
542
  onGenerateCsv: Ee,
543
543
  onGenerateImage: c(Te),
544
544
  onToggleTable: Re,
@@ -601,7 +601,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
601
601
  ref_key: "svgRef",
602
602
  ref: Ae,
603
603
  xmlns: c(Qe),
604
- class: Ye({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
604
+ class: je({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
605
605
  viewBox: `0 0 ${G.value} ${n.value.absoluteHeight <= 0 ? 10 : n.value.absoluteHeight}`,
606
606
  style: K(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
607
607
  }, [
@@ -617,7 +617,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
617
617
  }
618
618
  }, [
619
619
  m(l.$slots, "chart-background", {}, void 0, !0)
620
- ], 8, jt)) : y("", !0),
620
+ ], 8, Yt)) : y("", !0),
621
621
  e.value.style.chart.grid.verticalGrid.show ? (o(), i("g", Zt, [
622
622
  (o(!0), i(w, null, A(L.value.ticks, (t, a) => (o(), i("line", {
623
623
  x1: n.value.left + a * n.value.width / (L.value.ticks.length - 1),
@@ -719,7 +719,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
719
719
  e.value.style.chart.labels.xAxisLabels.show ? (o(), i("g", {
720
720
  key: 6,
721
721
  ref_key: "scaleLabels",
722
- ref: Y
722
+ ref: j
723
723
  }, [
724
724
  (o(!0), i(w, null, A(L.value.ticks, (t, a) => (o(), i("text", {
725
725
  class: "vue-ui-dumbbell-scale-label",
@@ -763,8 +763,8 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
763
763
  U(d("rect", {
764
764
  x: r.value ? Math.min(r.value.startX, r.value.endX) : n.value.left,
765
765
  y: n.value.top,
766
- height: n.value.height,
767
- width: r.value ? Math.abs(r.value.endX - r.value.startX) : 0,
766
+ height: Math.max(0.1, n.value.height),
767
+ width: r.value ? Math.max(0.1, Math.abs(r.value.endX - r.value.startX)) : 0,
768
768
  fill: r.value ? c(et)(e.value.style.chart.comparisonLines.rectColor, e.value.style.chart.comparisonLines.rectOpacity) : "transparent",
769
769
  style: { transition: "all 0.3s ease-in-out" }
770
770
  }, null, 8, ul), [
@@ -859,12 +859,12 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
859
859
  e.value.style.chart.plots.link.type === "curved" ? (o(), i("g", Ll, [
860
860
  d("path", {
861
861
  d: `M
862
- ${t.startX},${t.y + X.value / 2}
862
+ ${t.startX},${t.y + M.value / 2}
863
863
  C ${t.centerX},${t.y} ${t.centerX},${t.y}
864
- ${t.endX},${t.y + X.value / 2}
865
- L ${t.endX},${t.y - X.value / 2}
864
+ ${t.endX},${t.y + M.value / 2}
865
+ L ${t.endX},${t.y - M.value / 2}
866
866
  C ${t.centerX},${t.y} ${t.centerX},${t.y}
867
- ${t.startX},${t.y - X.value / 2}
867
+ ${t.startX},${t.y - M.value / 2}
868
868
  Z
869
869
  `,
870
870
  fill: t.endX > t.startX ? `url(#grad_positive_${g.value})` : `url(#grad_negative_${g.value})`
@@ -873,8 +873,8 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
873
873
  d("rect", {
874
874
  x: t.endX > t.startX ? t.startX : t.endX,
875
875
  y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
876
- height: e.value.style.chart.plots.link.strokeWidth,
877
- width: Math.abs(t.endX - t.startX),
876
+ height: Math.max(0.01, e.value.style.chart.plots.link.strokeWidth),
877
+ width: Math.max(0.01, Math.abs(t.endX - t.startX)),
878
878
  fill: t.endX > t.startX ? `url(#grad_positive_${g.value})` : `url(#grad_negative_${g.value})`
879
879
  }, null, 8, Nl)
880
880
  ]))
@@ -883,7 +883,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
883
883
  key: 1,
884
884
  cx: t.startX,
885
885
  cy: t.y,
886
- r: X.value,
886
+ r: M.value,
887
887
  fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${g.value})` : e.value.style.chart.plots.startColor,
888
888
  stroke: e.value.style.chart.plots.stroke,
889
889
  "stroke-width": e.value.style.chart.plots.strokeWidth
@@ -892,20 +892,20 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
892
892
  key: 2,
893
893
  cx: t.endX,
894
894
  cy: t.y,
895
- r: X.value,
895
+ r: M.value,
896
896
  fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${g.value})` : e.value.style.chart.plots.endColor,
897
897
  stroke: e.value.style.chart.plots.stroke,
898
898
  "stroke-width": e.value.style.chart.plots.strokeWidth
899
- }, null, 8, Xl))
899
+ }, null, 8, Ml))
900
900
  ]))), 128)),
901
- e.value.style.chart.labels.startLabels.show ? (o(), i("g", zl, [
901
+ e.value.style.chart.labels.startLabels.show ? (o(), i("g", Xl, [
902
902
  (o(!0), i(w, null, A(k.value, (t, a) => (o(), i("g", {
903
903
  key: `start_label_${a}_${t.id}`
904
904
  }, [
905
905
  [null, void 0].includes(t.start) ? y("", !0) : (o(), i("text", {
906
906
  key: 0,
907
907
  x: t.startX,
908
- y: t.y + X.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
908
+ y: t.y + M.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
909
909
  fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
910
910
  "font-size": e.value.style.chart.labels.startLabels.fontSize,
911
911
  "text-anchor": "middle"
@@ -919,7 +919,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
919
919
  r: e.value.style.chart.labels.startLabels.rounding
920
920
  }),
921
921
  { datapoint: t, seriesIndex: a }
922
- )), 9, Ml))
922
+ )), 9, zl))
923
923
  ]))), 128))
924
924
  ])) : y("", !0),
925
925
  e.value.style.chart.labels.endLabels.show ? (o(), i("g", Tl, [
@@ -929,7 +929,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
929
929
  [null, void 0].includes(t.end) ? y("", !0) : (o(), i("text", {
930
930
  key: 0,
931
931
  x: t.endX,
932
- y: t.y - (X.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
932
+ y: t.y - (M.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
933
933
  fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
934
934
  "font-size": e.value.style.chart.labels.endLabels.fontSize,
935
935
  "text-anchor": "middle"
@@ -949,9 +949,9 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
949
949
  d("g", null, [
950
950
  (o(!0), i(w, null, A(k.value, (t, a) => (o(), i("rect", {
951
951
  x: n.value.left,
952
- y: n.value.top + a * n.value.rowHeight,
953
- width: n.value.width,
954
- height: n.value.rowHeight,
952
+ y: n.value.top + a * Math.max(0.1, n.value.rowHeight),
953
+ width: Math.max(0.1, n.value.width),
954
+ height: Math.max(0.1, n.value.rowHeight),
955
955
  fill: T.value !== null && T.value === a ? c(et)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
956
956
  onMouseenter: (u) => ve({ datapoint: t, seriesIndex: a }),
957
957
  onMouseleave: (u) => de({ datapoint: t, seriesIndex: a }),
@@ -959,9 +959,9 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
959
959
  }, null, 40, Ol))), 256))
960
960
  ]),
961
961
  m(l.$slots, "svg", { svg: n.value }, void 0, !0)
962
- ], 14, Yt)),
962
+ ], 14, jt)),
963
963
  l.$slots.watermark ? (o(), i("div", Fl, [
964
- m(l.$slots, "watermark", Q(ee({ isPrinting: c(Xe) || c(ze) })), void 0, !0)
964
+ m(l.$slots, "watermark", Q(ee({ isPrinting: c(Me) || c(Xe) })), void 0, !0)
965
965
  ])) : y("", !0),
966
966
  d("div", {
967
967
  ref_key: "chartLegend",
@@ -991,7 +991,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
991
991
  }, null, 8, Dl)
992
992
  ], 8, Hl)),
993
993
  c(se) ? y("", !0) : (o(), i(w, { key: 0 }, [
994
- je(x(t.name), 1)
994
+ Ye(x(t.name), 1)
995
995
  ], 64))
996
996
  ], 4)
997
997
  ]),
@@ -1028,10 +1028,10 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
1028
1028
  content: p(() => [
1029
1029
  (o(), O(c(rt), {
1030
1030
  key: `table_${we.value}`,
1031
- colNames: j.value.colNames,
1032
- head: j.value.head,
1033
- body: j.value.body,
1034
- config: j.value.config,
1031
+ colNames: Y.value.colNames,
1032
+ head: Y.value.head,
1033
+ body: Y.value.body,
1034
+ config: Y.value.config,
1035
1035
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1036
1036
  onClose: s[0] || (s[0] = (t) => D.value.showTable = !1)
1037
1037
  }, {
@@ -1042,7 +1042,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
1042
1042
  }, null, 8, Pl)
1043
1043
  ]),
1044
1044
  td: p(({ td: t }) => [
1045
- je(x(t.name || t), 1)
1045
+ Ye(x(t.name || t), 1)
1046
1046
  ]),
1047
1047
  _: 1
1048
1048
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -1052,7 +1052,7 @@ const qt = ["id"], Yt = ["xmlns", "viewBox"], jt = ["x", "y", "width", "height"]
1052
1052
  c(se) ? (o(), O(Pt, { key: 7 })) : y("", !0)
1053
1053
  ], 46, qt));
1054
1054
  }
1055
- }, ta = /* @__PURE__ */ Wt(El, [["__scopeId", "data-v-e5fefd77"]]);
1055
+ }, ta = /* @__PURE__ */ Wt(El, [["__scopeId", "data-v-67a10f96"]]);
1056
1056
  export {
1057
1057
  ta as default
1058
1058
  };
@@ -1,14 +1,14 @@
1
1
  import { defineAsyncComponent as q, ref as v, computed as m, onMounted as Yt, toRefs as Gt, watch as Ie, createElementBlock as p, openBlock as i, unref as r, normalizeStyle as D, normalizeClass as gt, createBlock as K, createCommentVNode as N, createElementVNode as re, createVNode as Le, createSlots as jt, withCtx as $, renderSlot as C, normalizeProps as Z, guardReactiveProps as J, Fragment as ue, renderList as ie, toDisplayString as ce, createTextVNode as Ut, nextTick as Vt } from "vue";
2
- import { u as Xt, c as ze, v as qt, o as mt, e as Kt, t as Zt, p as L, a as Jt, b as Qt, w as T, d as eo, f as ve, X as to, F as yt, L as oo, i as Be, q as lo, r as ao, y as no } from "./index-B5FRcZLo.js";
3
- import { u as bt } from "./useNestedProp-BwJKakXX.js";
4
- import { u as so } from "./usePrinter-CHbm8PGD.js";
2
+ import { u as Xt, c as ze, t as qt, o as mt, f as Kt, a as Zt, p as L, b as Jt, d as Qt, h as T, e as eo, i as ve, X as to, F as yt, L as oo, k as Be, v as lo, w as ao, y as no } from "./index-VrsKSULO.js";
3
+ import { u as bt } from "./useNestedProp-lTwriOHy.js";
4
+ import { u as so } from "./usePrinter-BrYkAEvI.js";
5
5
  import { u as ro } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as uo } from "./useChartAccessibility-9icAAmYg.js";
7
- import io from "./Legend-BBaTktyQ.js";
8
- import co from "./Title-Bnr--aA5.js";
9
- import vo from "./img-Brj7vn--.js";
7
+ import io from "./Legend-Dt-A6TX4.js";
8
+ import co from "./Title-CNNSPaS8.js";
9
+ import vo from "./img-CNjWjg_p.js";
10
10
  import { t as ho, u as fo } from "./useResponsive-DfdjqQps.js";
11
- import { u as po, B as go } from "./BaseScanner-DIK2NTdp.js";
11
+ import { u as po, B as go } from "./useLoading-Bt5Doa8m.js";
12
12
  import { _ as mo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const yo = ["id"], bo = {
14
14
  key: 1,
@@ -35,7 +35,7 @@ const yo = ["id"], bo = {
35
35
  }
36
36
  },
37
37
  setup(Ct, { expose: kt }) {
38
- const wt = q(() => import("./vue-ui-accordion-h_xORY7m.js")), $t = q(() => import("./DataTable-D1RPxkQn.js")), At = q(() => import("./PackageVersion-Dvivm8-r.js")), Tt = q(() => import("./PenAndPaper-DaQWWpgs.js")), xt = q(() => import("./Tooltip-DSvSWahk.js")), _t = q(() => import("./UserOptions-Dm91TR_d.js")), { vue_ui_flow: St } = Xt(), F = Ct, we = v(ze()), z = v(null), He = v(0), Re = v(0), $e = v(!1), Ae = v(""), De = v(null), We = v(null), Ye = v(null), Q = v(null), de = v(null), Ge = m(() => !!F.dataset && F.dataset.length);
38
+ const wt = q(() => import("./vue-ui-accordion-CP3KpYYB.js")), $t = q(() => import("./DataTable-CXvbwtai.js")), At = q(() => import("./PackageVersion-D3gM0cgH.js")), Tt = q(() => import("./PenAndPaper-tiWdtLvY.js")), xt = q(() => import("./Tooltip-DsVWsLP0.js")), _t = q(() => import("./UserOptions-DdxzR5Mv.js")), { vue_ui_flow: St } = Xt(), F = Ct, we = v(ze()), z = v(null), He = v(0), Re = v(0), $e = v(!1), Ae = v(""), De = v(null), We = v(null), Ye = v(null), Q = v(null), de = v(null), Ge = m(() => !!F.dataset && F.dataset.length);
39
39
  Yt(() => {
40
40
  Ue();
41
41
  });
@@ -1,12 +1,12 @@
1
1
  import { useCssVars as De, computed as d, defineAsyncComponent as O, ref as h, shallowRef as ge, onMounted as Re, onBeforeUnmount as Me, watch as Be, createElementBlock as i, openBlock as n, unref as s, normalizeStyle as _, normalizeClass as z, createBlock as N, createCommentVNode as b, createSlots as Ee, withCtx as g, renderSlot as m, normalizeProps as E, guardReactiveProps as V, createVNode as Ve, createElementVNode as w, mergeProps as J, Fragment as U, renderList as G, toDisplayString as j, createTextVNode as Ue, nextTick as Ge } from "vue";
2
- import { u as je, c as He, o as Xe, e as pe, g as qe, d as Ye, l as We, i as H, f as X, X as Je, F as Ke, E as K, a as Qe, q as Ze, r as et } from "./index-B5FRcZLo.js";
3
- import { u as ke } from "./useNestedProp-BwJKakXX.js";
4
- import { u as tt } from "./usePrinter-CHbm8PGD.js";
2
+ import { u as je, c as He, o as Xe, f as pe, g as Ye, e as qe, l as We, k as H, i as X, X as Je, F as Ke, E as K, b as Qe, v as Ze, w as et } from "./index-VrsKSULO.js";
3
+ import { u as ke } from "./useNestedProp-lTwriOHy.js";
4
+ import { u as tt } from "./usePrinter-BrYkAEvI.js";
5
5
  import { t as at, u as lt } from "./useResponsive-DfdjqQps.js";
6
6
  import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ot } from "./useChartAccessibility-9icAAmYg.js";
8
- import nt from "./Title-Bnr--aA5.js";
9
- import rt from "./img-Brj7vn--.js";
8
+ import nt from "./Title-CNNSPaS8.js";
9
+ import rt from "./img-CNjWjg_p.js";
10
10
  import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["id"], ht = ["stop-color"], ft = ["stop-color"], bt = ["stop-color"], mt = ["stroke", "stroke-width"], yt = ["stroke", "stroke-width"], gt = ["x", "y", "font-size", "fill", "font-weight"], pt = ["points", "fill"], kt = ["stroke", "stroke-width", "rx"], Ct = ["x", "y", "font-size", "fill", "font-weight"], wt = ["x", "y", "font-size", "fill", "font-weight"], $t = {
12
12
  key: 5,
@@ -31,14 +31,14 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
31
31
  De((t) => ({
32
32
  83613044: Pe.value
33
33
  }));
34
- const $e = O(() => import("./vue-ui-accordion-h_xORY7m.js")), xe = O(() => import("./DataTable-D1RPxkQn.js")), Le = O(() => import("./PackageVersion-Dvivm8-r.js")), _e = O(() => import("./PenAndPaper-DaQWWpgs.js")), Ae = O(() => import("./vue-ui-skeleton-CzVYh2n3.js")), Te = O(() => import("./UserOptions-Dm91TR_d.js")), { vue_ui_funnel: Se } = je(), y = Ce, $ = h(null), P = h(He()), Q = h(0), Z = h(0), ee = h(0), te = h(null), ae = h(null), le = h(null), C = ge(null), A = ge(null), x = h(!1), T = d(() => !!y.dataset && y.dataset.length);
34
+ const $e = O(() => import("./vue-ui-accordion-CP3KpYYB.js")), xe = O(() => import("./DataTable-CXvbwtai.js")), Le = O(() => import("./PackageVersion-D3gM0cgH.js")), _e = O(() => import("./PenAndPaper-tiWdtLvY.js")), Ae = O(() => import("./vue-ui-skeleton-CcR1KppS.js")), Te = O(() => import("./UserOptions-DdxzR5Mv.js")), { vue_ui_funnel: Se } = je(), y = Ce, $ = h(null), P = h(He()), Q = h(0), Z = h(0), ee = h(0), te = h(null), ae = h(null), le = h(null), C = ge(null), A = ge(null), x = h(!1), T = d(() => !!y.dataset && y.dataset.length);
35
35
  Re(se);
36
36
  function se() {
37
37
  if (Xe(y.dataset) ? pe({
38
38
  componentName: "VueUiFunnel",
39
39
  type: "dataset"
40
40
  }) : y.dataset.forEach((t, l) => {
41
- qe({
41
+ Ye({
42
42
  datasetObject: t,
43
43
  requiredAttributes: ["name", "value"]
44
44
  }).forEach((a) => {
@@ -100,9 +100,9 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
100
100
  const e = d({
101
101
  get: () => oe(),
102
102
  set: (t) => t
103
- }), { userOptionsVisible: q, setUserOptionsVisibility: ne, keepUserOptionState: re } = st({ config: e.value }), { svgRef: ue } = ot({ config: e.value.style.chart.title });
103
+ }), { userOptionsVisible: Y, setUserOptionsVisibility: ne, keepUserOptionState: re } = st({ config: e.value }), { svgRef: ue } = ot({ config: e.value.style.chart.title });
104
104
  Be(() => y.config, (t) => {
105
- e.value = oe(), q.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1, c.value.circles = e.value.style.chart.circles.dataLabels.fontSize, c.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, c.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, I.value.showTable = e.value.table.show;
105
+ e.value = oe(), Y.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1, c.value.circles = e.value.style.chart.circles.dataLabels.fontSize, c.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, c.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, I.value.showTable = e.value.table.show;
106
106
  }, { deep: !0 });
107
107
  const { isPrinting: ie, isImaging: ce, generatePdf: ve, generateImage: de } = tt({
108
108
  elementId: `funnel_${P.value}`,
@@ -122,7 +122,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
122
122
  set: (t) => t
123
123
  }), p = d(() => T.value ? y.dataset.map((t, l) => ({
124
124
  ...t,
125
- color: t.color ? Ye(t.color) : We(e.value.style.chart.bars.defaultColor, l / y.dataset.length)
125
+ color: t.color ? qe(t.color) : We(e.value.style.chart.bars.defaultColor, l / y.dataset.length)
126
126
  })) : []);
127
127
  setTimeout(() => {
128
128
  x.value = !0;
@@ -166,7 +166,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
166
166
  F.value = t, Q.value += 1;
167
167
  }
168
168
  const Pe = d(() => `${p.value.length * 150}ms`), M = h(!1);
169
- function Y() {
169
+ function q() {
170
170
  M.value = !M.value;
171
171
  }
172
172
  function me() {
@@ -263,7 +263,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
263
263
  generateCsv: ye,
264
264
  generateImage: de,
265
265
  toggleTable: me,
266
- toggleAnnotator: Y,
266
+ toggleAnnotator: q,
267
267
  toggleFullscreen: be
268
268
  }), (t, l) => (n(), i("div", {
269
269
  ref_key: "funnelChart",
@@ -280,7 +280,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
280
280
  backgroundColor: e.value.style.chart.backgroundColor,
281
281
  color: e.value.style.chart.color,
282
282
  active: M.value,
283
- onClose: Y
283
+ onClose: q
284
284
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
285
285
  Oe.value ? (n(), i("div", {
286
286
  key: 1,
@@ -309,7 +309,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
309
309
  }
310
310
  }, null, 8, ["config"]))
311
311
  ], 512)) : b("", !0),
312
- e.value.userOptions.show && T.value && (s(re) || s(q)) ? (n(), N(s(Te), {
312
+ e.value.userOptions.show && T.value && (s(re) || s(Y)) ? (n(), N(s(Te), {
313
313
  ref: "details",
314
314
  key: `user_option_${Q.value}`,
315
315
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -332,14 +332,14 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
332
332
  isAnnotation: M.value,
333
333
  callbacks: e.value.userOptions.callbacks,
334
334
  printScale: e.value.userOptions.print.scale,
335
- onToggleAnnotator: Y,
335
+ onToggleAnnotator: q,
336
336
  onToggleFullscreen: be,
337
337
  onGeneratePdf: s(ve),
338
338
  onGenerateImage: s(de),
339
339
  onToggleTable: me,
340
340
  onGenerateCsv: ye,
341
341
  style: _({
342
- visibility: s(re) ? s(q) ? "visible" : "hidden" : "visible"
342
+ visibility: s(re) ? s(Y) ? "visible" : "hidden" : "visible"
343
343
  })
344
344
  }, Ee({ _: 2 }, [
345
345
  t.$slots.menuIcon ? {
@@ -1,10 +1,10 @@
1
1
  import { defineAsyncComponent as k, computed as p, onMounted as Ue, ref as n, watch as We, createElementBlock as i, openBlock as r, unref as o, normalizeStyle as M, normalizeClass as B, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as de, createSlots as He, withCtx as d, normalizeProps as P, guardReactiveProps as S, createElementVNode as _, Fragment as he, renderList as pe, toDisplayString as I, createTextVNode as Xe, nextTick as je } from "vue";
2
- import { u as Ye, o as qe, e as ge, g as Je, c as ye, t as Ke, p as G, a as Qe, b as Ze, G as fe, d as et, M as tt, f as C, X as lt, i as be, y as me, q as at, r as ot, z as st } from "./index-B5FRcZLo.js";
3
- import { u as ke } from "./useNestedProp-BwJKakXX.js";
4
- import { u as rt } from "./usePrinter-CHbm8PGD.js";
2
+ import { u as Ye, o as qe, f as ge, g as Je, c as ye, a as Ke, p as G, b as Qe, d as Ze, G as fe, e as et, M as tt, i as C, X as lt, k as be, y as me, v as at, w as ot, z as st } from "./index-VrsKSULO.js";
3
+ import { u as ke } from "./useNestedProp-lTwriOHy.js";
4
+ import { u as rt } from "./usePrinter-BrYkAEvI.js";
5
5
  import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
7
- import it from "./img-Brj7vn--.js";
7
+ import it from "./img-CNjWjg_p.js";
8
8
  import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const vt = ["id"], dt = {
10
10
  key: 1,
@@ -39,7 +39,7 @@ const vt = ["id"], dt = {
39
39
  },
40
40
  emits: ["selectLegend", "selectDatapoint"],
41
41
  setup(we, { expose: Ce, emit: $e }) {
42
- const xe = k(() => import("./vue-ui-accordion-h_xORY7m.js")), Te = k(() => import("./DataTable-D1RPxkQn.js")), Oe = k(() => import("./Legend-BBaTktyQ.js")), Pe = k(() => import("./PackageVersion-Dvivm8-r.js")), Se = k(() => import("./PenAndPaper-DaQWWpgs.js")), _e = k(() => import("./vue-ui-skeleton-CzVYh2n3.js")), Ne = k(() => import("./Title-Bnr--aA5.js")), Fe = k(() => import("./Tooltip-DSvSWahk.js")), Le = k(() => import("./UserOptions-Dm91TR_d.js")), { vue_ui_galaxy: Ie } = Ye(), f = we, A = p(() => !!f.dataset && f.dataset.length);
42
+ const xe = k(() => import("./vue-ui-accordion-CP3KpYYB.js")), Te = k(() => import("./DataTable-CXvbwtai.js")), Oe = k(() => import("./Legend-Dt-A6TX4.js")), Pe = k(() => import("./PackageVersion-D3gM0cgH.js")), Se = k(() => import("./PenAndPaper-tiWdtLvY.js")), _e = k(() => import("./vue-ui-skeleton-CcR1KppS.js")), Ne = k(() => import("./Title-CNNSPaS8.js")), Fe = k(() => import("./Tooltip-DsVWsLP0.js")), Le = k(() => import("./UserOptions-DdxzR5Mv.js")), { vue_ui_galaxy: Ie } = Ye(), f = we, A = p(() => !!f.dataset && f.dataset.length);
43
43
  Ue(() => {
44
44
  X();
45
45
  });