vue-data-ui 3.0.0-next.24 → 3.0.0-next.26

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 (90) hide show
  1. package/dist/{Arrow-Bl5-mnOV.js → Arrow-CsNgq2ZF.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CUfjf--m.js → BaseDraggableDialog-yqJAu5Cf.js} +2 -2
  3. package/dist/{BaseIcon-Bqx1co2m.js → BaseIcon-CIPCGWyZ.js} +1 -1
  4. package/dist/{ColorPicker-DiuthUpG.js → ColorPicker-CzNlpUdq.js} +2 -2
  5. package/dist/{DataTable-C52vrt0E.js → DataTable-6ZKiedr4.js} +2 -2
  6. package/dist/{Legend-RgPqbRB2.js → Legend-B0mt4iJx.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Daeez5Uj.js → NonSvgPenAndPaper-DLef79mr.js} +3 -3
  8. package/dist/{PackageVersion-foDSwBnR.js → PackageVersion-DF_M_33r.js} +1 -1
  9. package/dist/{PenAndPaper-BHk86d8V.js → PenAndPaper-i2SC47RS.js} +3 -3
  10. package/dist/{Shape-nLYuojED.js → Shape-XBUldhbb.js} +1 -1
  11. package/dist/{Slicer-w37VlSJL.js → Slicer-CoD6AOHL.js} +2 -2
  12. package/dist/{SparkTooltip-D9g3UBp9.js → SparkTooltip-BgBRqkPH.js} +1 -1
  13. package/dist/{Title-C31zTrEg.js → Title-IaxR8U-N.js} +1 -1
  14. package/dist/{Tooltip-DTeSp5uD.js → Tooltip-DCh0ZmS5.js} +1 -1
  15. package/dist/{UserOptions-CUhQWPrm.js → UserOptions-J_zxxPnc.js} +2 -2
  16. package/dist/{dom-to-png-akj-svzH.js → dom-to-png-Bm-vMd2x.js} +1 -1
  17. package/dist/{img-Uixyjj8A.js → img-B3U0-8wy.js} +1 -1
  18. package/dist/{index-BlXaaLFe.js → index-gToq10k7.js} +301 -290
  19. package/dist/{pdf-BvJ3RiOs.js → pdf-BdjzkOlO.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +11 -0
  22. package/dist/types/vue-data-ui.d.ts +11 -0
  23. package/dist/{useNestedProp-Cy-hEFSJ.js → useNestedProp-gmapANmc.js} +1 -1
  24. package/dist/{usePrinter-D5YEoSwm.js → usePrinter-CbZEI2_c.js} +2 -2
  25. package/dist/{vue-data-ui-c-UnndK7.js → vue-data-ui-CZVJfC0E.js} +64 -64
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-oguO8SdP.js → vue-ui-3d-bar-MTNEP9CL.js} +6 -6
  28. package/dist/{vue-ui-accordion-BEife378.js → vue-ui-accordion-DLihDfed.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-DScPiCDr.js → vue-ui-age-pyramid-IY3QdXfK.js} +6 -6
  30. package/dist/{vue-ui-annotator-Dv_91gd2.js → vue-ui-annotator-CJeQgt2n.js} +2 -2
  31. package/dist/{vue-ui-bullet-4kwdiXCW.js → vue-ui-bullet-DGldX5sC.js} +7 -7
  32. package/dist/{vue-ui-candlestick-BLhgKIos.js → vue-ui-candlestick-C-HIjwPy.js} +76 -71
  33. package/dist/{vue-ui-carousel-table-CAxldPeA.js → vue-ui-carousel-table-BmiJoBXA.js} +4 -4
  34. package/dist/{vue-ui-chestnut-BFbpADeQ.js → vue-ui-chestnut-CZlbhQrJ.js} +5 -5
  35. package/dist/{vue-ui-chord-CBpT3QLV.js → vue-ui-chord-Dq4rskRf.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-BYjq2Knu.js → vue-ui-circle-pack-DW9-8rGV.js} +6 -6
  37. package/dist/{vue-ui-cursor-g1m-y6fq.js → vue-ui-cursor-D0tCtX4f.js} +2 -2
  38. package/dist/{vue-ui-dashboard-CNkM9lFq.js → vue-ui-dashboard-Bk_MJlYy.js} +62 -62
  39. package/dist/{vue-ui-digits-Dr52gylX.js → vue-ui-digits-BA_tNRkj.js} +2 -2
  40. package/dist/{vue-ui-donut-_QDAZp4P.js → vue-ui-donut-DzAeK2TE.js} +8 -8
  41. package/dist/vue-ui-donut-evolution-CZ2mtt3z.js +1034 -0
  42. package/dist/{vue-ui-dumbbell-BLl7MbRR.js → vue-ui-dumbbell-_YZFjBH6.js} +7 -7
  43. package/dist/{vue-ui-flow-C3x9hvnq.js → vue-ui-flow-C7aLXJTA.js} +7 -7
  44. package/dist/{vue-ui-funnel-UlwhfxI6.js → vue-ui-funnel-B_3QpOUU.js} +6 -6
  45. package/dist/{vue-ui-galaxy-DMPulm8s.js → vue-ui-galaxy-DuU1fS4U.js} +5 -5
  46. package/dist/{vue-ui-gauge-y7YOi5pM.js → vue-ui-gauge-_cAQb9Hn.js} +6 -6
  47. package/dist/{vue-ui-gizmo-CWUUCfeb.js → vue-ui-gizmo-DqYMjhpX.js} +3 -3
  48. package/dist/{vue-ui-heatmap-_9bs_l_c.js → vue-ui-heatmap-BkU3wZkK.js} +7 -7
  49. package/dist/{vue-ui-history-plot-DY2hBcBB.js → vue-ui-history-plot-C83pTqnc.js} +7 -7
  50. package/dist/{vue-ui-kpi-AVbXZy5l.js → vue-ui-kpi-CWu4hx68.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-Bu_CgsIj.js → vue-ui-mini-loader-Cw48lkNp.js} +2 -2
  52. package/dist/{vue-ui-molecule-k5-DcIhX.js → vue-ui-molecule-CWNMsooa.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-BN7kioh1.js → vue-ui-mood-radar-hxw5vhXc.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-CzOd_wz4.js → vue-ui-nested-donuts-SCEIJRnl.js} +9 -9
  55. package/dist/{vue-ui-onion-CR6LOxEf.js → vue-ui-onion-xkpaiVLl.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-B2L9GM3t.js → vue-ui-parallel-coordinate-plot-DP8c7Zy2.js} +8 -8
  57. package/dist/{vue-ui-quadrant-BlbM2_j4.js → vue-ui-quadrant-YoAP5U9i.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-ZeuFLc-o.js → vue-ui-quick-chart-QQd0jAgp.js} +6 -6
  59. package/dist/{vue-ui-radar-Cu9-YaLt.js → vue-ui-radar-2aBWeu33.js} +7 -7
  60. package/dist/{vue-ui-rating-CqOfQXjm.js → vue-ui-rating-cevrLC7m.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-D1TKPRAu.js → vue-ui-relation-circle-pfHEqPqz.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-Cmmc3c4e.js → vue-ui-ridgeline-8Fi_HR1k.js} +8 -8
  63. package/dist/{vue-ui-rings-Bx-TRfAc.js → vue-ui-rings-CqBfRCcH.js} +8 -8
  64. package/dist/{vue-ui-scatter-rv_0UZKq.js → vue-ui-scatter-BslmJ4rg.js} +8 -8
  65. package/dist/{vue-ui-skeleton-HiIwRF9u.js → vue-ui-skeleton-DXITY4Wb.js} +3 -3
  66. package/dist/{vue-ui-smiley-DRIazlJl.js → vue-ui-smiley-2m2GnNUB.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-C-hhNGtd.js → vue-ui-spark-trend-Bpp-odIP.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-C30PDQgB.js → vue-ui-sparkbar-Dqen9icZ.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-DF9rvlRU.js → vue-ui-sparkgauge-C9Dlt6iV.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-BiAxrc5I.js → vue-ui-sparkhistogram-D-MlMk-Q.js} +4 -4
  71. package/dist/{vue-ui-sparkline-B9LUqXNt.js → vue-ui-sparkline-BZA1s4pf.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-DQHS8eF3.js → vue-ui-sparkstackbar-BB-tBLQd.js} +3 -3
  73. package/dist/{vue-ui-stackbar-DUtcotHG.js → vue-ui-stackbar-DEcZ471x.js} +74 -69
  74. package/dist/{vue-ui-strip-plot-CVtpRsJr.js → vue-ui-strip-plot-BNPYL2hl.js} +7 -7
  75. package/dist/{vue-ui-table-Dao94Fyr.js → vue-ui-table-BDn61l1T.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-nVVJBAlm.js → vue-ui-table-heatmap-DcVDM0D7.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-L3sxqyOu.js → vue-ui-table-sparkline-CpF2AiH0.js} +4 -4
  78. package/dist/{vue-ui-thermometer-CZ4tQZeT.js → vue-ui-thermometer-DW90pE_h.js} +6 -6
  79. package/dist/{vue-ui-timer-CKYXO2gi.js → vue-ui-timer-DnzpNY0x.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-Bqq9N4uJ.js → vue-ui-tiremarks-CNHI4MuH.js} +6 -6
  81. package/dist/{vue-ui-treemap-Bu_IOJjV.js → vue-ui-treemap-CWWLDBEO.js} +8 -8
  82. package/dist/{vue-ui-vertical-bar-44vaxifJ.js → vue-ui-vertical-bar-B2GiFfDO.js} +9 -9
  83. package/dist/{vue-ui-waffle-TBu3871G.js → vue-ui-waffle-CsyXZFOd.js} +8 -8
  84. package/dist/{vue-ui-wheel-DEHAZdGf.js → vue-ui-wheel-DOrEgq2T.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-_KRS8rdd.js → vue-ui-word-cloud-CUEMogkJ.js} +6 -6
  86. package/dist/{vue-ui-world-DCjRVtGO.js → vue-ui-world-C2xiB-yS.js} +6 -6
  87. package/dist/{vue-ui-xy-BwhHWoc_.js → vue-ui-xy-cahWUi-P.js} +110 -110
  88. package/dist/{vue-ui-xy-canvas-CrDPAZRH.js → vue-ui-xy-canvas-BzTkP8HC.js} +8 -8
  89. package/package.json +1 -1
  90. package/dist/vue-ui-donut-evolution-DpotkfSL.js +0 -903
@@ -1,17 +1,17 @@
1
- import { defineAsyncComponent as ae, useSlots as ga, computed as k, ref as b, onMounted as zt, toRefs as ba, watch as Fe, shallowRef as Ct, onBeforeUnmount as St, watchEffect as _t, nextTick as Le, createElementBlock as o, openBlock as s, unref as v, normalizeStyle as Z, normalizeClass as le, createBlock as K, createCommentVNode as y, renderSlot as L, createElementVNode as Q, createVNode as ze, createSlots as $t, withCtx as C, normalizeProps as U, guardReactiveProps as H, Fragment as g, renderList as m, mergeProps as Ue, toDisplayString as M, createTextVNode as fa } from "vue";
2
- import { u as ma, c as Tt, A as pa, t as xa, p as Ce, a as ka, C as re, b as wa, o as Mt, e as At, g as La, d as za, am as Se, ab as Nt, D as It, X as Ca, l as Sa, aa as _e, F as Rt, i as $e, f as j, I as _a, a0 as $a, x as Ot, q as Ta, r as Ma, y as Aa } from "./index-BlXaaLFe.js";
3
- import { u as Pt } from "./useNestedProp-Cy-hEFSJ.js";
4
- import { t as He, u as Na } from "./useResponsive-DfdjqQps.js";
5
- import { u as Ia } from "./usePrinter-D5YEoSwm.js";
1
+ import { defineAsyncComponent as ae, useSlots as ga, computed as k, ref as b, onMounted as zt, toRefs as ba, watch as Ue, shallowRef as Ct, onBeforeUnmount as St, watchEffect as _t, nextTick as Le, createElementBlock as o, openBlock as s, unref as v, normalizeStyle as Z, normalizeClass as le, createBlock as K, createCommentVNode as y, renderSlot as L, createElementVNode as Q, createVNode as ze, createSlots as $t, withCtx as C, normalizeProps as U, guardReactiveProps as H, Fragment as g, renderList as m, mergeProps as He, toDisplayString as M, createTextVNode as fa } from "vue";
2
+ import { u as ma, c as Tt, A as pa, t as xa, p as Ce, a as ka, C as re, b as wa, o as Mt, e as At, g as La, d as za, am as Se, ab as Nt, D as It, X as Ca, l as Sa, aa as _e, F as Rt, i as $e, f as j, I as _a, a0 as $a, x as Ot, q as Ta, r as Ma, y as Aa } from "./index-gToq10k7.js";
3
+ import { u as Pt } from "./useNestedProp-gmapANmc.js";
4
+ import { t as Be, u as Na } from "./useResponsive-DfdjqQps.js";
5
+ import { u as Ia } from "./usePrinter-CbZEI2_c.js";
6
6
  import { u as Ra } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Oa } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { u as Pa } from "./useTimeLabelCollider-V7AOiPLB.js";
9
- import Va from "./Legend-RgPqbRB2.js";
10
- import { S as Ea } from "./Slicer-w37VlSJL.js";
11
- import Da from "./Title-C31zTrEg.js";
12
- import { _ as Fa } from "./Shape-nLYuojED.js";
9
+ import Va from "./Legend-B0mt4iJx.js";
10
+ import { S as Ea } from "./Slicer-CoD6AOHL.js";
11
+ import Da from "./Title-IaxR8U-N.js";
12
+ import { _ as Fa } from "./Shape-XBUldhbb.js";
13
13
  import { u as Ua } from "./useTimeLabels-DFkUfjfs.js";
14
- import Ha from "./img-Uixyjj8A.js";
14
+ import Ha from "./img-B3U0-8wy.js";
15
15
  import { u as Ba, B as Wa } from "./BaseScanner-DIK2NTdp.js";
16
16
  import { _ as Ya } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"], qa = { key: 1 }, Za = ["id"], Ka = ["stop-color"], Qa = ["stop-color"], ja = ["stop-color"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rl = { key: 0 }, sl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ol = { key: 0 }, il = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], nl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ul = { key: 0 }, cl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dl = ["x", "y", "font-size", "fill", "font-weight"], yl = ["transform", "font-size", "fill", "font-weight"], gl = ["x", "y", "font-size", "fill", "font-weight"], bl = ["x", "y", "font-size", "font-weight", "fill"], fl = ["x", "y", "font-size", "fill", "font-weight"], ml = ["x", "y", "font-size", "font-weight", "fill"], pl = ["x1", "x2", "y1", "y2", "stroke"], xl = ["x", "y", "font-size", "font-weight", "fill"], kl = ["x1", "x2", "y1", "y2", "stroke"], wl = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Ll = { key: 0 }, zl = { key: 1 }, Cl = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Sl = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], _l = { key: 0 }, $l = { key: 1 }, Tl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Ml = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Al = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Nl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Il = {
@@ -35,14 +35,14 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
35
35
  },
36
36
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
37
37
  setup(Te, { expose: Vt, emit: Et }) {
38
- const Dt = ae(() => import("./vue-ui-accordion-BEife378.js")), Ft = ae(() => import("./DataTable-C52vrt0E.js")), Ut = ae(() => import("./PackageVersion-foDSwBnR.js")), Ht = ae(() => import("./PenAndPaper-BHk86d8V.js")), Bt = ae(() => import("./Tooltip-DTeSp5uD.js")), Wt = ae(() => import("./UserOptions-CUhQWPrm.js")), { vue_ui_stackbar: Yt } = ma(), Xt = ga(), f = Te, Me = Et, ne = k({
38
+ const Dt = ae(() => import("./vue-ui-accordion-DLihDfed.js")), Ft = ae(() => import("./DataTable-6ZKiedr4.js")), Ut = ae(() => import("./PackageVersion-DF_M_33r.js")), Ht = ae(() => import("./PenAndPaper-i2SC47RS.js")), Bt = ae(() => import("./Tooltip-DCh0ZmS5.js")), Wt = ae(() => import("./UserOptions-J_zxxPnc.js")), { vue_ui_stackbar: Yt } = ma(), Xt = ga(), f = Te, Me = Et, ne = k({
39
39
  get() {
40
40
  return !!f.dataset && f.dataset.length;
41
41
  },
42
42
  set(a) {
43
43
  return a;
44
44
  }
45
- }), P = b(null), V = b(Tt()), ue = b(!1), Ae = b(null), Ne = b(""), _ = b([]), Be = b(0), We = b(null), Ye = b(null), Xe = b(null), Ge = b(null), Je = b(0), ce = b(!1), se = b(null), B = b(!1), qe = b(0), Gt = b(0), Jt = b(0), ee = b(null), Ie = b(null), Re = b(null), W = b(null), Y = b(null), qt = b(null), Ze = b(null);
45
+ }), P = b(null), V = b(Tt()), ue = b(!1), Ae = b(null), Ne = b(""), _ = b([]), We = b(0), Ye = b(null), Xe = b(null), Ge = b(null), Je = b(null), qe = b(0), ce = b(!1), se = b(null), B = b(!1), Ze = b(0), Gt = b(0), Jt = b(0), ee = b(null), Ie = b(null), Re = b(null), W = b(null), Y = b(null), qt = b(null), Ke = b(null);
46
46
  zt(() => {
47
47
  Ee();
48
48
  });
@@ -50,6 +50,11 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
50
50
  ...ba(f),
51
51
  FINAL_CONFIG: e,
52
52
  prepareConfig: Pe,
53
+ callback: () => {
54
+ Promise.resolve().then(async () => {
55
+ await De();
56
+ });
57
+ },
53
58
  skeletonDataset: [
54
59
  {
55
60
  name: "",
@@ -111,7 +116,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
111
116
  }
112
117
  }
113
118
  })
114
- }), { userOptionsVisible: Oe, setUserOptionsVisibility: Ke, keepUserOptionState: Qe } = Ra({ config: e.value }), { svgRef: je } = Oa({ config: e.value.style.chart.title });
119
+ }), { userOptionsVisible: Oe, setUserOptionsVisibility: Qe, keepUserOptionState: je } = Ra({ config: e.value }), { svgRef: et } = Oa({ config: e.value.style.chart.title });
115
120
  function Pe() {
116
121
  const a = Pt({
117
122
  userConfig: f.config,
@@ -126,11 +131,11 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
126
131
  customPalette: xa[a.theme] || Ce
127
132
  } : r = a, f.config && re(f.config, "style.chart.grid.scale.scaleMin") ? r.style.chart.grid.scale.scaleMin = f.config.style.chart.grid.scale.scaleMin : r.style.chart.grid.scale.scaleMin = null, f.config && re(f.config, "style.chart.grid.scale.scaleMax") ? r.style.chart.grid.scale.scaleMax = f.config.style.chart.grid.scale.scaleMax : r.style.chart.grid.scale.scaleMax = null, f.config && re(f.config, "style.chart.zoom.startIndex") ? r.style.chart.zoom.startIndex = f.config.style.chart.zoom.startIndex : r.style.chart.zoom.startIndex = null, f.config && re(f.config, "style.chart.zoom.endIndex") ? r.style.chart.zoom.endIndex = f.config.style.chart.zoom.endIndex : r.style.chart.zoom.endIndex = null, f.config && re(f.config, "style.chart.bars.dataLabels.hideUnderValue") ? r.style.chart.bars.dataLabels.hideUnderValue = f.config.style.chart.bars.dataLabels.hideUnderValue : r.style.chart.bars.dataLabels.hideUnderValue = null, f.config && re(f.config, "style.chart.bars.dataLabels.hideUnderPercentage") ? r.style.chart.bars.dataLabels.hideUnderPercentage = f.config.style.chart.bars.dataLabels.hideUnderPercentage : r.style.chart.bars.dataLabels.hideUnderPercentage = null, r;
128
133
  }
129
- const et = k(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), tt = k(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
130
- Fe(() => f.config, (a) => {
131
- he.value || (e.value = Pe()), Oe.value = !e.value.userOptions.showOnChartHover, Ee(), qe.value += 1, Gt.value += 1, Jt.value += 1, z.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.chart.tooltip.show;
132
- }, { deep: !0 }), Fe(() => f.dataset, (a) => {
133
- Array.isArray(a) && a.length > 0 && (de.value = !1), nt();
134
+ const tt = k(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), at = k(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
135
+ Ue(() => f.config, (a) => {
136
+ he.value || (e.value = Pe()), Oe.value = !e.value.userOptions.showOnChartHover, Ee(), Ze.value += 1, Gt.value += 1, Jt.value += 1, z.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.chart.tooltip.show;
137
+ }, { deep: !0 }), Ue(() => f.dataset, (a) => {
138
+ Array.isArray(a) && a.length > 0 && (de.value = !1), ut();
134
139
  }, { deep: !0 });
135
140
  const z = b({
136
141
  dataLabels: {
@@ -139,7 +144,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
139
144
  showTable: e.value.table.show,
140
145
  showTooltip: e.value.style.chart.tooltip.show
141
146
  });
142
- Fe(e, () => {
147
+ Ue(e, () => {
143
148
  z.value = {
144
149
  dataLabels: {
145
150
  show: e.value.style.chart.bars.dataLabels.show
@@ -148,7 +153,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
148
153
  showTooltip: e.value.style.chart.tooltip.show
149
154
  };
150
155
  }, { immediate: !0 });
151
- const { isPrinting: at, isImaging: lt, generatePdf: rt, generateImage: st } = Ia({
156
+ const { isPrinting: lt, isImaging: rt, generatePdf: st, generateImage: ot } = Ia({
152
157
  elementId: `stackbar_${V.value}`,
153
158
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar",
154
159
  options: e.value.userOptions.print
@@ -161,7 +166,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
161
166
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
162
167
  left: e.value.style.chart.padding.left / e.value.style.chart.width
163
168
  }
164
- }), Zt = k(() => wa(e.value.customPalette)), E = Ct(null), te = Ct(null), ot = b(null);
169
+ }), Zt = k(() => wa(e.value.customPalette)), E = Ct(null), te = Ct(null), it = b(null);
165
170
  zt(() => {
166
171
  Ee();
167
172
  });
@@ -187,24 +192,24 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
187
192
  }), Mt(f.dataset) || (de.value = e.value.loading), setTimeout(() => {
188
193
  B.value = !0;
189
194
  }, 10), e.value.responsive) {
190
- const a = He(() => {
195
+ const a = Be(() => {
191
196
  B.value = !1;
192
197
  const { width: r, height: t } = Na({
193
198
  chart: P.value,
194
- title: e.value.style.chart.title.text ? We.value : null,
195
- legend: e.value.style.chart.legend.show ? Ye.value : null,
196
- slicer: e.value.style.chart.zoom.show && F.value > 1 ? Xe.value : null,
197
- source: Ge.value
199
+ title: e.value.style.chart.title.text ? Ye.value : null,
200
+ legend: e.value.style.chart.legend.show ? Xe.value : null,
201
+ slicer: e.value.style.chart.zoom.show && F.value > 1 ? Ge.value : null,
202
+ source: Je.value
198
203
  });
199
204
  requestAnimationFrame(() => {
200
- ye.value.width = r, ye.value.height = t - 12, clearTimeout(ot.value), ot.value = setTimeout(() => {
205
+ ye.value.width = r, ye.value.height = t - 12, clearTimeout(it.value), it.value = setTimeout(() => {
201
206
  B.value = !0;
202
207
  }, 10);
203
208
  });
204
209
  });
205
210
  E.value && (te.value && E.value.unobserve(te.value), E.value.disconnect()), E.value = new ResizeObserver(a), te.value = P.value.parentNode, E.value.observe(te.value);
206
211
  }
207
- ut();
212
+ De();
208
213
  }
209
214
  St(() => {
210
215
  E.value && (te.value && E.value.unobserve(te.value), E.value.disconnect());
@@ -221,7 +226,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
221
226
  const r = Re.value ? Re.value.getBoundingClientRect().width : 0;
222
227
  return a + r + (r ? 24 : 0);
223
228
  }
224
- const ge = b(0), be = b(0), Qt = He((a) => {
229
+ const ge = b(0), be = b(0), Qt = Be((a) => {
225
230
  ge.value = a;
226
231
  }, 100);
227
232
  _t((a) => {
@@ -232,12 +237,12 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
232
237
  });
233
238
  t.observe(r), a(() => t.disconnect());
234
239
  });
235
- const jt = He((a) => {
240
+ const jt = Be((a) => {
236
241
  be.value = a + e.value.style.chart.bars.totalValues.fontSize;
237
242
  }, 100);
238
243
  _t((a) => {
239
244
  if (e.value.orientation === "vertical") return;
240
- const r = Ze.value;
245
+ const r = Ke.value;
241
246
  if (!r) return;
242
247
  const t = new ResizeObserver((l) => {
243
248
  jt(l[0].contentRect.width);
@@ -246,7 +251,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
246
251
  }), St(() => {
247
252
  ge.value = 0, be.value = 0;
248
253
  });
249
- const it = k(() => {
254
+ const nt = k(() => {
250
255
  let a = 0;
251
256
  Ie.value && (a = Ie.value.getBBox().height);
252
257
  let r = 0;
@@ -255,7 +260,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
255
260
  const { height: a, width: r } = ye.value, { right: t } = ye.value.paddingRatio;
256
261
  let l = e.value.style.chart.bars.totalValues.show && f.dataset && f.dataset.length > 1 ? e.value.style.chart.bars.totalValues.fontSize * 1.3 : 0, c = 0;
257
262
  e.value.style.chart.grid.y.axisLabels.show && (c = Kt());
258
- const u = e.value.style.chart.padding.top + l, S = r - r * t - be.value, X = a - e.value.style.chart.padding.bottom - it.value - l, G = e.value.style.chart.padding.left + c, J = r - G - r * t - be.value, R = a - u - e.value.style.chart.padding.bottom - it.value - l;
263
+ const u = e.value.style.chart.padding.top + l, S = r - r * t - be.value, X = a - e.value.style.chart.padding.bottom - nt.value - l, G = e.value.style.chart.padding.left + c, J = r - G - r * t - be.value, R = a - u - e.value.style.chart.padding.bottom - nt.value - l;
259
264
  return {
260
265
  chartHeight: a,
261
266
  chartWidth: r,
@@ -282,14 +287,14 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
282
287
  start: 0,
283
288
  end: Math.max(...ve.value.map((a) => a.series.length))
284
289
  });
285
- function nt() {
286
- ut();
290
+ function ut() {
291
+ De();
287
292
  }
288
- async function ut() {
293
+ async function De() {
289
294
  (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && ee.value ? (e.value.style.chart.zoom.startIndex !== null && (await Le(), await Le(), ee.value && ee.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await Le(), await Le(), ee.value && ee.value.setEndValue(ea(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
290
295
  start: 0,
291
296
  end: Math.max(...ve.value.map((a) => a.series.length))
292
- }, Je.value += 1);
297
+ }, qe.value += 1);
293
298
  }
294
299
  function ea(a) {
295
300
  const r = Math.max(...ve.value.map((t) => t.series.length));
@@ -476,7 +481,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
476
481
  isAutoSize: !1
477
482
  });
478
483
  function yt(a) {
479
- ce.value = a, Be.value += 1;
484
+ ce.value = a, We.value += 1;
480
485
  }
481
486
  function gt() {
482
487
  z.value.showTable = !z.value.showTable;
@@ -553,7 +558,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
553
558
  paddingBottom: 12,
554
559
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
555
560
  })), xe = b(!1);
556
- function De() {
561
+ function Fe() {
557
562
  xe.value = !xe.value;
558
563
  }
559
564
  function ke(a, r) {
@@ -572,7 +577,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
572
577
  }
573
578
  const sa = k(() => Math.max(...w.value.flatMap((a) => a.series)));
574
579
  function kt(a, r) {
575
- return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? tt.value ? r * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? r > 0 : !0 : tt.value ? (et.value && Ve.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), a > sa.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : et.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
580
+ return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? at.value ? r * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? r > 0 : !0 : at.value ? (tt.value && Ve.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), a > sa.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : tt.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
576
581
  }
577
582
  async function oa({ scale: a = 2 } = {}) {
578
583
  if (!P.value) return;
@@ -589,13 +594,13 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
589
594
  return Vt({
590
595
  getData: aa,
591
596
  getImage: oa,
592
- generatePdf: rt,
597
+ generatePdf: st,
593
598
  generateCsv: pt,
594
- generateImage: st,
599
+ generateImage: ot,
595
600
  toggleTable: gt,
596
601
  toggleLabels: bt,
597
602
  toggleTooltip: ft,
598
- toggleAnnotator: De,
603
+ toggleAnnotator: Fe,
599
604
  toggleFullscreen: yt
600
605
  }), (a, r) => (s(), o("div", {
601
606
  id: `stackbar_${V.value}`,
@@ -603,26 +608,26 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
603
608
  ref: P,
604
609
  class: le({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ce.value }),
605
610
  style: Z(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
606
- onMouseenter: r[6] || (r[6] = () => v(Ke)(!0)),
607
- onMouseleave: r[7] || (r[7] = () => v(Ke)(!1))
611
+ onMouseenter: r[6] || (r[6] = () => v(Qe)(!0)),
612
+ onMouseleave: r[7] || (r[7] = () => v(Qe)(!1))
608
613
  }, [
609
614
  e.value.userOptions.buttons.annotator ? (s(), K(v(Ht), {
610
615
  key: 0,
611
- svgRef: v(je),
616
+ svgRef: v(et),
612
617
  backgroundColor: e.value.style.chart.backgroundColor,
613
618
  color: e.value.style.chart.color,
614
619
  active: xe.value,
615
- onClose: De
620
+ onClose: Fe
616
621
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
617
622
  L(a.$slots, "userConfig", {}, void 0, !0),
618
623
  e.value.style.chart.title.text ? (s(), o("div", {
619
624
  key: 1,
620
625
  ref_key: "chartTitle",
621
- ref: We,
626
+ ref: Ye,
622
627
  style: "width:100%;background:transparent;padding-bottom:24px"
623
628
  }, [
624
629
  (s(), K(Da, {
625
- key: `title_${qe.value}`,
630
+ key: `title_${Ze.value}`,
626
631
  config: {
627
632
  title: {
628
633
  cy: "stackbar-title",
@@ -635,13 +640,13 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
635
640
  }
636
641
  }, null, 8, ["config"]))
637
642
  ], 512)) : y("", !0),
638
- e.value.userOptions.show && ne.value && (v(Qe) || v(Oe)) ? (s(), K(v(Wt), {
643
+ e.value.userOptions.show && ne.value && (v(je) || v(Oe)) ? (s(), K(v(Wt), {
639
644
  ref: "details",
640
- key: `user_option_${Be.value}`,
645
+ key: `user_option_${We.value}`,
641
646
  backgroundColor: e.value.style.chart.backgroundColor,
642
647
  color: e.value.style.chart.color,
643
- isPrinting: v(at),
644
- isImaging: v(lt),
648
+ isPrinting: v(lt),
649
+ isImaging: v(rt),
645
650
  uid: V.value,
646
651
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
647
652
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -660,15 +665,15 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
660
665
  callbacks: e.value.userOptions.callbacks,
661
666
  printScale: e.value.userOptions.print.scale,
662
667
  onToggleFullscreen: yt,
663
- onGeneratePdf: v(rt),
668
+ onGeneratePdf: v(st),
664
669
  onGenerateCsv: pt,
665
- onGenerateImage: v(st),
670
+ onGenerateImage: v(ot),
666
671
  onToggleTable: gt,
667
672
  onToggleLabels: bt,
668
673
  onToggleTooltip: ft,
669
- onToggleAnnotator: De,
674
+ onToggleAnnotator: Fe,
670
675
  style: Z({
671
- visibility: v(Qe) ? v(Oe) ? "visible" : "hidden" : "visible"
676
+ visibility: v(je) ? v(Oe) ? "visible" : "hidden" : "visible"
672
677
  })
673
678
  }, $t({ _: 2 }, [
674
679
  a.$slots.menuIcon ? {
@@ -737,7 +742,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
737
742
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
738
743
  (s(), o("svg", {
739
744
  ref_key: "svgRef",
740
- ref: je,
745
+ ref: et,
741
746
  xmlns: v(Ca),
742
747
  viewBox: `0 0 ${n.value.chartWidth <= 0 ? 10 : n.value.chartWidth} ${n.value.chartHeight <= 0 ? 10 : n.value.chartHeight}`,
743
748
  class: le({ "vue-data-ui-loading": v(he) }),
@@ -820,7 +825,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
820
825
  }, null, 8, ll))), 256)) : y("", !0),
821
826
  (s(!0), o(g, null, m(w.value, (t, l) => (s(), o("g", null, [
822
827
  a.$slots.pattern ? (s(), o("defs", rl, [
823
- L(a.$slots, "pattern", Ue({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${V.value}_${t.absoluteIndex}` }), void 0, !0)
828
+ L(a.$slots, "pattern", He({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${V.value}_${t.absoluteIndex}` }), void 0, !0)
824
829
  ])) : y("", !0),
825
830
  e.value.orientation === "vertical" ? (s(), o(g, { key: 1 }, [
826
831
  (s(!0), o(g, null, m(t.x, (c, u) => (s(), o("rect", {
@@ -974,7 +979,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
974
979
  e.value.style.chart.bars.totalValues.show && w.value.length > 1 ? (s(), o("g", {
975
980
  key: 0,
976
981
  ref_key: "sumRight",
977
- ref: Ze
982
+ ref: Ke
978
983
  }, [
979
984
  (s(!0), o(g, null, m(ct.value, (t, l) => (s(), o(g, null, [
980
985
  !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (s(), o("text", {
@@ -1061,7 +1066,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
1061
1066
  }, [
1062
1067
  a.$slots["time-label"] ? (s(), o("g", Ll, [
1063
1068
  (s(!0), o(g, null, m($.value, (t, l) => (s(), o("g", null, [
1064
- L(a.$slots, "time-label", Ue({ ref_for: !0 }, {
1069
+ L(a.$slots, "time-label", He({ ref_for: !0 }, {
1065
1070
  x: n.value.left + d.value * l + d.value / 2,
1066
1071
  y: n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
1067
1072
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1118,7 +1123,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
1118
1123
  }, [
1119
1124
  a.$slots["time-label"] ? (s(), o("g", _l, [
1120
1125
  (s(!0), o(g, null, m($.value, (t, l) => (s(), o("g", null, [
1121
- L(a.$slots, "time-label", Ue({ ref_for: !0 }, {
1126
+ L(a.$slots, "time-label", He({ ref_for: !0 }, {
1122
1127
  x: n.value.left - 8,
1123
1128
  y: n.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1124
1129
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1195,18 +1200,18 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
1195
1200
  L(a.$slots, "svg", U(H({ ...n.value })), void 0, !0)
1196
1201
  ], 14, Ga)),
1197
1202
  a.$slots.watermark ? (s(), o("div", Il, [
1198
- L(a.$slots, "watermark", U(H({ isPrinting: v(at) || v(lt) })), void 0, !0)
1203
+ L(a.$slots, "watermark", U(H({ isPrinting: v(lt) || v(rt) })), void 0, !0)
1199
1204
  ])) : y("", !0),
1200
1205
  Q("div", {
1201
1206
  ref_key: "chartSlicer",
1202
- ref: Xe,
1207
+ ref: Ge,
1203
1208
  style: Z(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1204
1209
  "data-dom-to-png-ignore": ""
1205
1210
  }, [
1206
1211
  e.value.style.chart.zoom.show && F.value > 1 ? (s(), K(Ea, {
1207
1212
  ref_key: "slicerComponent",
1208
1213
  ref: ee,
1209
- key: `slicer_${Je.value}`,
1214
+ key: `slicer_${qe.value}`,
1210
1215
  background: e.value.style.chart.zoom.color,
1211
1216
  borderColor: e.value.style.chart.backgroundColor,
1212
1217
  fontSize: e.value.style.chart.zoom.fontSize,
@@ -1228,7 +1233,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
1228
1233
  refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : Math.max(...Te.dataset.map((t) => t.series.length)),
1229
1234
  enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
1230
1235
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
1231
- onReset: nt
1236
+ onReset: ut
1232
1237
  }, {
1233
1238
  "reset-action": C(({ reset: t }) => [
1234
1239
  L(a.$slots, "reset-action", U(H({ reset: t })), void 0, !0)
@@ -1262,7 +1267,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
1262
1267
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
1263
1268
  Q("div", {
1264
1269
  ref_key: "chartLegend",
1265
- ref: Ye
1270
+ ref: Xe
1266
1271
  }, [
1267
1272
  e.value.style.chart.legend.show && ne.value ? (s(), K(Va, {
1268
1273
  key: 0,
@@ -1299,7 +1304,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
1299
1304
  a.$slots.source ? (s(), o("div", {
1300
1305
  key: 4,
1301
1306
  ref_key: "source",
1302
- ref: Ge,
1307
+ ref: Je,
1303
1308
  dir: "auto"
1304
1309
  }, [
1305
1310
  L(a.$slots, "source", {}, void 0, !0)
@@ -1348,7 +1353,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
1348
1353
  v(he) ? (s(), K(Wa, { key: 6 })) : y("", !0)
1349
1354
  ], 46, Xa));
1350
1355
  }
1351
- }, jl = /* @__PURE__ */ Ya(Pl, [["__scopeId", "data-v-4f72a346"]]);
1356
+ }, jl = /* @__PURE__ */ Ya(Pl, [["__scopeId", "data-v-349384d6"]]);
1352
1357
  export {
1353
1358
  jl as default
1354
1359
  };
@@ -1,13 +1,13 @@
1
1
  import { defineAsyncComponent as A, computed as f, ref as v, watch as Qe, shallowRef as Ae, onMounted as Ze, onBeforeUnmount as et, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as Y, normalizeClass as R, createBlock as S, createCommentVNode as c, createVNode as Se, createSlots as tt, withCtx as y, renderSlot as p, normalizeProps as F, guardReactiveProps as I, createElementVNode as x, Fragment as k, renderList as T, toDisplayString as z, mergeProps as lt, createTextVNode as at, nextTick as ot } from "vue";
2
- import { u as st, c as le, t as rt, p as O, a as ut, o as it, e as ae, g as ze, b as nt, d as Oe, v as vt, D as ct, f as j, X as ht, i as oe, I as dt, l as pt, h as ft, x as Pe, E as yt, q as bt, r as mt, y as gt } from "./index-BlXaaLFe.js";
2
+ import { u as st, c as le, t as rt, p as O, a as ut, o as it, e as ae, g as ze, b as nt, d as Oe, v as vt, D as ct, f as j, X as ht, i as oe, I as dt, l as pt, h as ft, x as Pe, E as yt, q as bt, r as mt, y as gt } from "./index-gToq10k7.js";
3
3
  import { t as kt, u as xt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ne } from "./useNestedProp-Cy-hEFSJ.js";
5
- import { u as wt } from "./usePrinter-D5YEoSwm.js";
4
+ import { u as Ne } from "./useNestedProp-gmapANmc.js";
5
+ import { u as wt } from "./usePrinter-CbZEI2_c.js";
6
6
  import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
8
- import Tt from "./Title-C31zTrEg.js";
9
- import { _ as _t } from "./Shape-nLYuojED.js";
10
- import Lt from "./img-Uixyjj8A.js";
8
+ import Tt from "./Title-IaxR8U-N.js";
9
+ import { _ as _t } from "./Shape-XBUldhbb.js";
10
+ import Lt from "./img-B3U0-8wy.js";
11
11
  import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const St = ["id"], zt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], Pt = { key: 1 }, Nt = { key: 0 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ft = { key: 1 }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x", "y", "fill", "font-size"], Rt = ["x", "y", "font-size", "fill"], Et = ["x", "y", "font-size", "fill", "innerHTML"], Vt = ["fill", "font-size", "transform"], Ht = ["fill", "font-size", "x", "y"], Ut = ["x1", "x2", "y1", "y2", "stroke"], Bt = ["cx", "cy", "fill"], Xt = ["cx", "cy", "fill"], Yt = ["id"], jt = ["stop-color"], qt = ["stop-color"], Jt = ["stop-color"], Kt = { key: 0 }, Qt = ["x", "y", "font-size", "fill"], Zt = {
13
13
  key: 5,
@@ -30,7 +30,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
30
30
  },
31
31
  emits: ["selectDatapoint"],
32
32
  setup(Me, { expose: Fe, emit: Ie }) {
33
- const We = A(() => import("./vue-ui-accordion-BEife378.js")), De = A(() => import("./DataTable-C52vrt0E.js")), Ge = A(() => import("./PackageVersion-foDSwBnR.js")), Re = A(() => import("./PenAndPaper-BHk86d8V.js")), Ee = A(() => import("./vue-ui-skeleton-HiIwRF9u.js")), Ve = A(() => import("./Tooltip-DTeSp5uD.js")), He = A(() => import("./UserOptions-CUhQWPrm.js")), { vue_ui_strip_plot: Ue } = st(), b = Me, Be = Ie, _ = f({
33
+ const We = A(() => import("./vue-ui-accordion-DLihDfed.js")), De = A(() => import("./DataTable-6ZKiedr4.js")), Ge = A(() => import("./PackageVersion-DF_M_33r.js")), Re = A(() => import("./PenAndPaper-i2SC47RS.js")), Ee = A(() => import("./vue-ui-skeleton-DXITY4Wb.js")), Ve = A(() => import("./Tooltip-DCh0ZmS5.js")), He = A(() => import("./UserOptions-J_zxxPnc.js")), { vue_ui_strip_plot: Ue } = st(), b = Me, Be = Ie, _ = f({
34
34
  get() {
35
35
  return !!b.dataset && b.dataset.length;
36
36
  },
@@ -1,6 +1,6 @@
1
- import { a8 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, F as J, u as K, p as Z } from "./index-BlXaaLFe.js";
2
- import q from "./vue-ui-xy-BwhHWoc_.js";
3
- import Q from "./vue-ui-donut-_QDAZp4P.js";
1
+ import { a8 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, F as J, u as K, p as Z } from "./index-gToq10k7.js";
2
+ import q from "./vue-ui-xy-cahWUi-P.js";
3
+ import Q from "./vue-ui-donut-DzAeK2TE.js";
4
4
  import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
5
5
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const se = {
@@ -1,9 +1,9 @@
1
1
  import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
2
- import { u as de, c as A, a as pe, o as ce, e as ve, a9 as me, F as fe, P as he, q as ge, r as be } from "./index-BlXaaLFe.js";
3
- import { u as H } from "./useNestedProp-Cy-hEFSJ.js";
4
- import { u as ye } from "./usePrinter-D5YEoSwm.js";
2
+ import { u as de, c as A, a as pe, o as ce, e as ve, a9 as me, F as fe, P as he, q as ge, r as be } from "./index-gToq10k7.js";
3
+ import { u as H } from "./useNestedProp-gmapANmc.js";
4
+ import { u as ye } from "./usePrinter-CbZEI2_c.js";
5
5
  import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { _ as ke } from "./Shape-nLYuojED.js";
6
+ import { _ as ke } from "./Shape-XBUldhbb.js";
7
7
  import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Fe = {
9
9
  key: 0,
@@ -45,7 +45,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
45
45
  "8f8e7142": ee.value,
46
46
  cb3b028c: j.value
47
47
  }));
48
- const X = oe(() => import("./UserOptions-CUhQWPrm.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
48
+ const X = oe(() => import("./UserOptions-J_zxxPnc.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
49
49
  z(() => {
50
50
  q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
51
51
  });
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
2
- import { u as ye } from "./useNestedProp-Cy-hEFSJ.js";
3
- import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a9 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-BlXaaLFe.js";
4
- import { u as je } from "./usePrinter-D5YEoSwm.js";
2
+ import { u as ye } from "./useNestedProp-gmapANmc.js";
3
+ import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a9 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-gToq10k7.js";
4
+ import { u as je } from "./usePrinter-CbZEI2_c.js";
5
5
  import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { v as tt } from "./vClickOutside-C6WiFswA.js";
7
7
  import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -43,7 +43,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
43
43
  Fe((t) => ({
44
44
  "3f28d054": t.tdo
45
45
  }));
46
- const Ce = J(() => import("./vue-ui-sparkline-B9LUqXNt.js")), N = J(() => import("./BaseIcon-Bqx1co2m.js")), xe = J(() => import("./UserOptions-CUhQWPrm.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
46
+ const Ce = J(() => import("./vue-ui-sparkline-BZA1s4pf.js")), N = J(() => import("./BaseIcon-CIPCGWyZ.js")), xe = J(() => import("./UserOptions-J_zxxPnc.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
47
47
  me(() => {
48
48
  Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
49
49
  });
@@ -1,11 +1,11 @@
1
1
  import { useCssVars as $e, computed as d, defineAsyncComponent as A, onMounted as Pe, ref as p, watch as Fe, createElementBlock as u, openBlock as l, unref as i, normalizeStyle as oe, normalizeClass as S, createBlock as M, createCommentVNode as c, createSlots as Oe, withCtx as C, renderSlot as f, normalizeProps as U, guardReactiveProps as Y, createVNode as Ie, createElementVNode as v, Fragment as N, renderList as ae, toDisplayString as Ae } from "vue";
2
- import { u as Se, o as Me, e as le, g as Ue, c as Ye, t as Ne, p as $, a as Te, b as Ve, v as g, d as T, X as qe, s as Le, i as Ee, f as Ge } from "./index-BlXaaLFe.js";
3
- import { u as re } from "./useNestedProp-Cy-hEFSJ.js";
4
- import { u as We } from "./usePrinter-D5YEoSwm.js";
2
+ import { u as Se, o as Me, e as le, g as Ue, c as Ye, t as Ne, p as $, a as Te, b as Ve, v as g, d as T, X as qe, s as Le, i as Ee, f as Ge } from "./index-gToq10k7.js";
3
+ import { u as re } from "./useNestedProp-gmapANmc.js";
4
+ import { u as We } from "./usePrinter-CbZEI2_c.js";
5
5
  import { u as Be } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as Re } from "./useChartAccessibility-9icAAmYg.js";
7
- import je from "./Title-C31zTrEg.js";
8
- import ze from "./img-Uixyjj8A.js";
7
+ import je from "./Title-IaxR8U-N.js";
8
+ import ze from "./img-B3U0-8wy.js";
9
9
  import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const He = ["id"], Xe = {
11
11
  key: 1,
@@ -47,7 +47,7 @@ const He = ["id"], Xe = {
47
47
  "4d37cb61": pe.value,
48
48
  "295a76e4": ge.value
49
49
  }));
50
- const ue = A(() => import("./PackageVersion-foDSwBnR.js")), ie = A(() => import("./PenAndPaper-BHk86d8V.js")), ce = A(() => import("./vue-ui-skeleton-HiIwRF9u.js")), he = A(() => import("./UserOptions-CUhQWPrm.js")), { vue_ui_thermometer: de } = Se(), r = P, V = d(() => !!r.dataset && Object.keys(r.dataset).length);
50
+ const ue = A(() => import("./PackageVersion-DF_M_33r.js")), ie = A(() => import("./PenAndPaper-i2SC47RS.js")), ce = A(() => import("./vue-ui-skeleton-DXITY4Wb.js")), he = A(() => import("./UserOptions-J_zxxPnc.js")), { vue_ui_thermometer: de } = Se(), r = P, V = d(() => !!r.dataset && Object.keys(r.dataset).length);
51
51
  Pe(() => {
52
52
  B();
53
53
  });
@@ -1,10 +1,10 @@
1
1
  import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
2
- import { u as ne } from "./useNestedProp-Cy-hEFSJ.js";
3
- import { u as ce, c as ve, X as de, E as X } from "./index-BlXaaLFe.js";
2
+ import { u as ne } from "./useNestedProp-gmapANmc.js";
3
+ import { u as ce, c as ve, X as de, E as X } from "./index-gToq10k7.js";
4
4
  import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
6
- import we from "./Title-C31zTrEg.js";
7
- import R from "./BaseIcon-Bqx1co2m.js";
6
+ import we from "./Title-IaxR8U-N.js";
7
+ import R from "./BaseIcon-CIPCGWyZ.js";
8
8
  import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  class ge {
10
10
  constructor(L, E, S, N = !0, A = !0) {
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
130
130
  },
131
131
  emits: ["start", "pause", "reset", "restart", "lap"],
132
132
  setup(q, { expose: L, emit: E }) {
133
- const S = se(() => import("./PackageVersion-foDSwBnR.js")), { vue_ui_timer: N } = ce(), A = q, g = E, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
133
+ const S = se(() => import("./PackageVersion-DF_M_33r.js")), { vue_ui_timer: N } = ce(), A = q, g = E, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
134
134
  le(() => {
135
135
  m();
136
136
  });
@@ -1,11 +1,11 @@
1
1
  import { defineAsyncComponent as S, computed as d, ref as b, watch as te, onMounted as pe, createElementBlock as c, openBlock as r, unref as s, normalizeStyle as G, normalizeClass as L, createBlock as z, createCommentVNode as f, createSlots as ye, withCtx as x, renderSlot as p, normalizeProps as N, guardReactiveProps as M, createVNode as me, Fragment as ae, renderList as oe, toDisplayString as ke } from "vue";
2
- import { u as le } from "./useNestedProp-Cy-hEFSJ.js";
3
- import { u as be, c as Ce, a as _e, v as we, o as $e, e as Oe, w as se, X as Pe, i as xe, f as Ae } from "./index-BlXaaLFe.js";
4
- import { u as Ie } from "./usePrinter-D5YEoSwm.js";
2
+ import { u as le } from "./useNestedProp-gmapANmc.js";
3
+ import { u as be, c as Ce, a as _e, v as we, o as $e, e as Oe, w as se, X as Pe, i as xe, f as Ae } from "./index-gToq10k7.js";
4
+ import { u as Ie } from "./usePrinter-CbZEI2_c.js";
5
5
  import { u as Fe } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as Se } from "./useChartAccessibility-9icAAmYg.js";
7
- import ze from "./Title-C31zTrEg.js";
8
- import Ne from "./img-Uixyjj8A.js";
7
+ import ze from "./Title-IaxR8U-N.js";
8
+ import Ne from "./img-B3U0-8wy.js";
9
9
  import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const Te = ["id"], Ue = {
11
11
  key: 2,
@@ -34,7 +34,7 @@ const Te = ["id"], Ue = {
34
34
  }
35
35
  },
36
36
  setup(ne, { expose: re }) {
37
- const ue = S(() => import("./PenAndPaper-BHk86d8V.js")), ie = S(() => import("./vue-ui-skeleton-HiIwRF9u.js")), ce = S(() => import("./UserOptions-CUhQWPrm.js")), ve = S(() => import("./PackageVersion-foDSwBnR.js")), { vue_ui_tiremarks: he } = be(), g = ne, T = d(() => !!g.dataset && Object.keys(g.dataset).length), U = b(Ce()), w = b(null), de = b(null), j = b(0), B = b(0), e = d({
37
+ const ue = S(() => import("./PenAndPaper-i2SC47RS.js")), ie = S(() => import("./vue-ui-skeleton-DXITY4Wb.js")), ce = S(() => import("./UserOptions-J_zxxPnc.js")), ve = S(() => import("./PackageVersion-DF_M_33r.js")), { vue_ui_tiremarks: he } = be(), g = ne, T = d(() => !!g.dataset && Object.keys(g.dataset).length), U = b(Ce()), w = b(null), de = b(null), j = b(0), B = b(0), e = d({
38
38
  get: () => V(),
39
39
  set: (t) => t
40
40
  }), { userOptionsVisible: R, setUserOptionsVisibility: X, keepUserOptionState: D } = Fe({ config: e.value }), { svgRef: H } = Se({ config: e.value.style.chart.title });