vue-data-ui 3.2.2 → 3.2.3

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 (157) hide show
  1. package/dist/{Arrow-BWqgcDpl.js → Arrow-Bb0bGghy.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cg4ZF9cb.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
  3. package/dist/{BaseIcon-e63bhLIi.js → BaseIcon-Bz-1GQhu.js} +10 -3
  4. package/dist/ColorPicker-B-WUqMoV.js +238 -0
  5. package/dist/{DataTable-dv6G7Krn.js → DataTable-BvjacRbw.js} +2 -2
  6. package/dist/{Legend-CVcdvTLM.js → Legend-BpoFJ8fc.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DSmotL8i.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
  8. package/dist/{PackageVersion-C3Vg-vTM.js → PackageVersion-oBQ8brnx.js} +1 -1
  9. package/dist/{PenAndPaper-CplrzuG7.js → PenAndPaper-CR8q353D.js} +3 -3
  10. package/dist/{Shape-D_vfF7sk.js → Shape-C_C_OmqR.js} +1 -1
  11. package/dist/{Slicer-BO2wNLcR.js → Slicer-BA2GhOmY.js} +63 -63
  12. package/dist/{SparkTooltip-B82G5-BO.js → SparkTooltip-Dz1PDE_h.js} +1 -1
  13. package/dist/{Title-DlqxaiIs.js → Title-C__lOIPC.js} +1 -1
  14. package/dist/{Tooltip-BKqK7z38.js → Tooltip-BOXz8skU.js} +1 -1
  15. package/dist/{UserOptions-C9IFsUt0.js → UserOptions-DsTgvAok.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +5 -0
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-1edcjS0-.js → dom-to-png-BgvOdfyW.js} +1 -1
  82. package/dist/{img-A48JwXxj.js → img-DjWwQXVS.js} +1 -1
  83. package/dist/{lib-CDp2KgIU.js → lib-BEpWEyMm.js} +56 -56
  84. package/dist/{pdf-BZV8MuXM.js → pdf-YD0ShN36.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +14 -3
  87. package/dist/{useAutoSizeLabelsInsideViewbox-C2IsrQqi.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
  88. package/dist/{useNestedProp-Cwtenuui.js → useNestedProp-CLD3Gk9S.js} +17 -13
  89. package/dist/{usePrinter-DU_Pi3Rq.js → usePrinter-w23K-ezx.js} +2 -2
  90. package/dist/{vue-data-ui-BHJOTOQY.js → vue-data-ui-hSWsJzdK.js} +64 -64
  91. package/dist/vue-data-ui.js +96 -96
  92. package/dist/{vue-ui-3d-bar-rxghnZJO.js → vue-ui-3d-bar-B45AYk-O.js} +6 -6
  93. package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
  94. package/dist/{vue-ui-age-pyramid-gT_SnI-F.js → vue-ui-age-pyramid-CJ66TbYc.js} +6 -6
  95. package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
  96. package/dist/{vue-ui-bullet-DREbhLhy.js → vue-ui-bullet-D_V1l1Jt.js} +15 -15
  97. package/dist/{vue-ui-candlestick-D4P15Ci1.js → vue-ui-candlestick-DrkWrGT2.js} +33 -33
  98. package/dist/{vue-ui-carousel-table-C24KX4gd.js → vue-ui-carousel-table-0zk2YkV7.js} +4 -4
  99. package/dist/{vue-ui-chestnut-BbQknrj0.js → vue-ui-chestnut-CAGkS9Lt.js} +32 -32
  100. package/dist/{vue-ui-chord-BM4_D9kI.js → vue-ui-chord-CHAaUGaZ.js} +53 -53
  101. package/dist/{vue-ui-circle-pack-S4Asc9CS.js → vue-ui-circle-pack-CBySiQot.js} +29 -29
  102. package/dist/{vue-ui-cursor-F9MXsQ1K.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
  103. package/dist/{vue-ui-dashboard-D6LHLdFS.js → vue-ui-dashboard-BAOd1hi1.js} +67 -67
  104. package/dist/{vue-ui-digits-B_8VzLOS.js → vue-ui-digits-ChAz3jSS.js} +2 -2
  105. package/dist/{vue-ui-donut-B7T8_tP1.js → vue-ui-donut-BgYaWImK.js} +8 -8
  106. package/dist/{vue-ui-donut-evolution-DOn-7PnK.js → vue-ui-donut-evolution-UWyvIsbE.js} +55 -55
  107. package/dist/{vue-ui-dumbbell-Ch66pFUG.js → vue-ui-dumbbell-B5IHRXdS.js} +7 -7
  108. package/dist/{vue-ui-flow-DPcsRLJJ.js → vue-ui-flow-DB4sLZG4.js} +63 -63
  109. package/dist/{vue-ui-funnel-BdcKoacQ.js → vue-ui-funnel-COZLSfZ8.js} +36 -36
  110. package/dist/{vue-ui-galaxy-D3c-O1Op.js → vue-ui-galaxy-S8pIdU78.js} +46 -46
  111. package/dist/{vue-ui-gauge-D1zbKzZQ.js → vue-ui-gauge-BVaE3IZt.js} +59 -59
  112. package/dist/{vue-ui-gizmo-CcrANrSX.js → vue-ui-gizmo-BmJ01zdG.js} +3 -3
  113. package/dist/{vue-ui-heatmap-CcvV9Y14.js → vue-ui-heatmap-DiAryN8L.js} +7 -7
  114. package/dist/{vue-ui-history-plot-a0mLhd0L.js → vue-ui-history-plot-eeYk4C28.js} +44 -44
  115. package/dist/{vue-ui-kpi-BwUpplcm.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
  116. package/dist/{vue-ui-mini-loader-DBPZOqZA.js → vue-ui-mini-loader-CKMzFSG5.js} +2 -2
  117. package/dist/{vue-ui-molecule-xsgartoC.js → vue-ui-molecule-daI3rmbc.js} +5 -5
  118. package/dist/{vue-ui-mood-radar-kl2d5QsL.js → vue-ui-mood-radar-CawOBU0s.js} +7 -7
  119. package/dist/{vue-ui-nested-donuts-D9I8_VnP.js → vue-ui-nested-donuts-Ci7qxsh6.js} +70 -70
  120. package/dist/{vue-ui-onion-BlxsHavW.js → vue-ui-onion-CUkVuewC.js} +8 -8
  121. package/dist/{vue-ui-parallel-coordinate-plot-DHH6lrbW.js → vue-ui-parallel-coordinate-plot-D7UkjkUV.js} +35 -35
  122. package/dist/{vue-ui-quadrant-DyIQZUPC.js → vue-ui-quadrant-B9VZz5d6.js} +8 -8
  123. package/dist/{vue-ui-quick-chart-Jfr_Ezh9.js → vue-ui-quick-chart-BQgH4Aap.js} +55 -55
  124. package/dist/{vue-ui-radar-BL_dJV12.js → vue-ui-radar-DvZ8XcZC.js} +54 -54
  125. package/dist/{vue-ui-rating-LiragGSU.js → vue-ui-rating-C0Ubexdn.js} +2 -2
  126. package/dist/{vue-ui-relation-circle-BrR2W_6V.js → vue-ui-relation-circle-Bal5QL_Z.js} +25 -25
  127. package/dist/{vue-ui-ridgeline-CpaOYplC.js → vue-ui-ridgeline-DbRZFJcN.js} +27 -27
  128. package/dist/{vue-ui-rings-B9TGOwFE.js → vue-ui-rings-BJ_Dmy5i.js} +38 -38
  129. package/dist/{vue-ui-scatter-Bq4pSRu_.js → vue-ui-scatter-bljL9Bav.js} +49 -49
  130. package/dist/{vue-ui-skeleton-BlVnOk2o.js → vue-ui-skeleton-DZPi12tE.js} +3 -3
  131. package/dist/{vue-ui-smiley-DyP9gKYe.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
  132. package/dist/{vue-ui-spark-trend-Pvdqnqia.js → vue-ui-spark-trend-CqMF642_.js} +22 -22
  133. package/dist/{vue-ui-sparkbar-DF6eDrxt.js → vue-ui-sparkbar-BcyaivMe.js} +3 -3
  134. package/dist/{vue-ui-sparkgauge-BR7oFSSF.js → vue-ui-sparkgauge-BkIUpzkZ.js} +3 -3
  135. package/dist/{vue-ui-sparkhistogram-CkOGqy2h.js → vue-ui-sparkhistogram-DnPdJk3e.js} +4 -4
  136. package/dist/{vue-ui-sparkline-DF8bLc-F.js → vue-ui-sparkline-F7h636hU.js} +29 -29
  137. package/dist/{vue-ui-sparkstackbar-DMkn-0FV.js → vue-ui-sparkstackbar-B-Du5D3w.js} +3 -3
  138. package/dist/{vue-ui-stackbar-CUXktGA-.js → vue-ui-stackbar-BNOfLkY2.js} +38 -38
  139. package/dist/{vue-ui-strip-plot-ibdxtil6.js → vue-ui-strip-plot-DNPM01M_.js} +7 -7
  140. package/dist/{vue-ui-table-BocHahKB.js → vue-ui-table-__ABUm9x.js} +17 -17
  141. package/dist/{vue-ui-table-heatmap-B03YDYck.js → vue-ui-table-heatmap-D-iueyM0.js} +13 -13
  142. package/dist/{vue-ui-table-sparkline-8mOvfeTL.js → vue-ui-table-sparkline-B5QdvlV7.js} +4 -4
  143. package/dist/{vue-ui-thermometer-Dq_nJLiU.js → vue-ui-thermometer-DID_4Y6w.js} +7 -7
  144. package/dist/{vue-ui-timer-BLveMseW.js → vue-ui-timer-CjJmpXoF.js} +27 -27
  145. package/dist/{vue-ui-tiremarks-DMG1_YzV.js → vue-ui-tiremarks-wDKOTVny.js} +6 -6
  146. package/dist/{vue-ui-treemap-io-J9w5R.js → vue-ui-treemap-DFo4w0cb.js} +8 -8
  147. package/dist/{vue-ui-vertical-bar-DqnTF6h2.js → vue-ui-vertical-bar-BEdckhBh.js} +30 -30
  148. package/dist/{vue-ui-waffle-X9DHHqlw.js → vue-ui-waffle-D5i1Q6tF.js} +75 -75
  149. package/dist/{vue-ui-wheel-BLBwVpV8.js → vue-ui-wheel-DJlN8joO.js} +6 -6
  150. package/dist/{vue-ui-word-cloud-0GXQqY8G.js → vue-ui-word-cloud-B7Y2UrwO.js} +28 -28
  151. package/dist/{vue-ui-world-5OHPVwxv.js → vue-ui-world-DzF8YW_Q.js} +6 -6
  152. package/dist/{vue-ui-xy-HW0T1CD8.js → vue-ui-xy-DGln2YgO.js} +9 -9
  153. package/dist/{vue-ui-xy-canvas-C4FbbXNQ.js → vue-ui-xy-canvas-DF2Ts-g3.js} +10 -10
  154. package/package.json +1 -1
  155. package/dist/ColorPicker-BO4ntExI.js +0 -135
  156. package/dist/vue-ui-accordion-BWnxgda4.js +0 -76
  157. package/dist/vue-ui-annotator-BkHDHfHG.js +0 -2182
@@ -1,6 +1,6 @@
1
- import { defineAsyncComponent as he, computed as h, ref as y, toRefs as Pe, watch as J, shallowRef as fe, onMounted as Re, onBeforeUnmount as ye, createElementBlock as c, openBlock as n, normalizeStyle as D, renderSlot as S, createCommentVNode as f, createBlock as pe, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as W, unref as s, createVNode as Fe, Fragment as Q, renderList as ee, withCtx as Ee, createTextVNode as Oe, nextTick as Be } from "vue";
2
- import { c as Ge, t as je, D as be, a3 as te, o as ke, f as xe, g as Ue, i as T, a4 as Xe, a5 as Ye, X as qe, s as P, W as _e, V as Ze, a6 as we, a as ae, d as le, a7 as Ke } from "./lib-CDp2KgIU.js";
3
- import { u as He, a as Le } from "./useNestedProp-Cwtenuui.js";
1
+ import { defineAsyncComponent as he, computed as h, ref as y, toRefs as Pe, watch as J, shallowRef as fe, onMounted as Re, onBeforeUnmount as ye, createElementBlock as c, openBlock as n, normalizeStyle as T, renderSlot as S, createCommentVNode as f, createBlock as pe, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as D, unref as s, createVNode as Fe, Fragment as Q, renderList as ee, withCtx as Ee, createTextVNode as Be, nextTick as Oe } from "vue";
2
+ import { c as Ge, t as je, B as be, a1 as te, o as ke, f as xe, g as Ue, i as W, a2 as Xe, a3 as Ye, X as qe, s as P, U as _e, T as Ze, a4 as we, a as ae, d as le, a5 as Ke } from "./lib-BEpWEyMm.js";
3
+ import { u as He, a as Le } from "./useNestedProp-CLD3Gk9S.js";
4
4
  import { t as Je, u as Qe } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as et } from "./useChartAccessibility-9icAAmYg.js";
6
6
  import { u as tt, B as at } from "./BaseScanner-BgWxam9d.js";
@@ -41,17 +41,17 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
41
41
  },
42
42
  emits: ["hoverIndex", "selectDatapoint"],
43
43
  setup($, { emit: Ae }) {
44
- const $e = he(() => import("./PackageVersion-C3Vg-vTM.js")), Ne = he(() => import("./SparkTooltip-B82G5-BO.js")), { vue_ui_sparkline: Me } = He(), r = $, ue = h(() => Array.isArray(r.dataset) && r.dataset.length > 0), g = y(Ge()), R = y(null), oe = y(null), se = y(null), e = y(O());
44
+ const $e = he(() => import("./PackageVersion-oBQ8brnx.js")), Ne = he(() => import("./SparkTooltip-Dz1PDE_h.js")), { vue_ui_sparkline: Me } = He(), r = $, ue = h(() => Array.isArray(r.dataset) && r.dataset.length > 0), g = y(Ge()), R = y(null), oe = y(null), se = y(null), e = y(B());
45
45
  function Ce(t) {
46
46
  return Ke(t).map((a) => ({ period: "-", value: a }));
47
47
  }
48
48
  const { loading: F, FINAL_DATASET: N, manualLoading: E } = tt({
49
49
  ...Pe(r),
50
50
  FINAL_CONFIG: e,
51
- prepareConfig: O,
51
+ prepareConfig: B,
52
52
  callback: () => {
53
53
  Promise.resolve().then(async () => {
54
- await Be(), X();
54
+ await Oe(), X();
55
55
  });
56
56
  },
57
57
  skeletonDataset: Ce(12),
@@ -73,7 +73,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
73
73
  }
74
74
  })
75
75
  }), { svgRef: ne } = et({ config: e.value.style.title });
76
- function O() {
76
+ function B() {
77
77
  const t = Le({
78
78
  userConfig: r.config,
79
79
  defaultConfig: Me
@@ -91,7 +91,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
91
91
  threshold: e.value.downsample.threshold
92
92
  }));
93
93
  J(() => r.config, (t) => {
94
- F.value || (e.value = O()), ie(), o.value.chartWidth = e.value.style.chartWidth;
94
+ F.value || (e.value = B()), ie(), o.value.chartWidth = e.value.style.chartWidth;
95
95
  }, { deep: !0 }), J(() => r.dataset, (t) => {
96
96
  Array.isArray(t) && t.length > 0 && (E.value = !1), m.value = te({
97
97
  data: N.value.map((a) => ({
@@ -114,22 +114,22 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
114
114
  threshold: e.value.downsample.threshold
115
115
  });
116
116
  }
117
- const b = fe(null), _ = fe(null), B = y(!1), M = y(0), G = y([]), j = y(""), U = h(() => {
117
+ const b = fe(null), _ = fe(null), O = y(!1), M = y(0), G = y([]), j = y(""), U = h(() => {
118
118
  const a = (x.value || []).map((u) => `${u.period}::${Number.isFinite(u.value) ? u.value : 0}`).join("|"), l = e.value?.style?.animation || {};
119
119
  return `${a}#${!!l.show}#${l.animationFrames || 0}`;
120
120
  });
121
121
  function V() {
122
- M.value && (cancelAnimationFrame(M.value), M.value = 0), G.value.forEach((t) => clearTimeout(t)), G.value = [], B.value = !1;
122
+ M.value && (cancelAnimationFrame(M.value), M.value = 0), G.value.forEach((t) => clearTimeout(t)), G.value = [], O.value = !1;
123
123
  }
124
124
  function X() {
125
125
  const t = e.value?.style?.animation || {}, a = x.value || [], l = U.value;
126
- if (l && l === j.value && (B.value || m.value.length === a.length))
126
+ if (l && l === j.value && (O.value || m.value.length === a.length))
127
127
  return;
128
128
  if (V(), !t.show || F.value || a.length <= 1) {
129
129
  m.value = a, j.value = l;
130
130
  return;
131
131
  }
132
- B.value = !0, j.value = l, m.value = [];
132
+ O.value = !0, j.value = l, m.value = [];
133
133
  const u = Math.max(1, Number(t.animationFrames) || 1), K = Math.max(1, Math.floor(u / a.length));
134
134
  let H = 0;
135
135
  const ce = () => {
@@ -139,10 +139,10 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
139
139
  }
140
140
  if (H < a.length) {
141
141
  m.value.push(a[H]);
142
- const Te = setTimeout(() => {
142
+ const We = setTimeout(() => {
143
143
  M.value = requestAnimationFrame(ce);
144
144
  }, K);
145
- G.value.push(Te), H += 1;
145
+ G.value.push(We), H += 1;
146
146
  } else
147
147
  m.value = a, V();
148
148
  };
@@ -230,7 +230,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
230
230
  x: i.value.start + a * u,
231
231
  y: i.value.bottom - i.value.height * Z(l + C.value),
232
232
  id: `plot_${g.value}_${a}`,
233
- color: I.value ? e.value.style.bar.color : e.value.style.area.useGradient ? T(e.value.style.line.color, 0.05 * (1 - a / L.value)) : e.value.style.line.color,
233
+ color: I.value ? e.value.style.bar.color : e.value.style.area.useGradient ? W(e.value.style.line.color, 0.05 * (1 - a / L.value)) : e.value.style.line.color,
234
234
  width: u
235
235
  };
236
236
  })), Ve = h(() => {
@@ -242,7 +242,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
242
242
  function ze(t, a) {
243
243
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), v.value = t, A.value || (A.value = t), Y("hoverIndex", { index: a });
244
244
  }
245
- function De(t, a) {
245
+ function Te(t, a) {
246
246
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), A.value = v.value, v.value = void 0, Y("hoverIndex", { index: void 0 });
247
247
  }
248
248
  const k = h(() => {
@@ -268,7 +268,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
268
268
  trend: null
269
269
  };
270
270
  }), de = h(() => ue.value ? e.value.style.dataLabel.valueType === "latest" ? k.value.latest : e.value.style.dataLabel.valueType === "sum" ? k.value.sum : e.value.style.dataLabel.valueType === "average" ? k.value.average : 0 : 0), I = h(() => e.value.type && e.value.type === "bar");
271
- function We(t, a) {
271
+ function De(t, a) {
272
272
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), Y("selectDatapoint", { datapoint: t, index: a });
273
273
  }
274
274
  return (t, a) => (n(), c("div", {
@@ -276,7 +276,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
276
276
  ref: R,
277
277
  class: "vue-ui-sparkline",
278
278
  id: g.value,
279
- style: D(`width:100%;font-family:${e.value.style.fontFamily};`)
279
+ style: T(`width:100%;font-family:${e.value.style.fontFamily};`)
280
280
  }, [
281
281
  S(t.$slots, "before", ge(me({
282
282
  selected: v.value,
@@ -291,18 +291,18 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
291
291
  ref_key: "chartTitle",
292
292
  ref: oe,
293
293
  class: "vue-ui-sparkline-title",
294
- style: D(`display:flex;align-items:center;width:100%;color:${e.value.style.title.color};background:${e.value.style.backgroundColor};justify-content:${e.value.style.title.textAlign === "left" ? "flex-start" : e.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${e.value.style.title.fontSize * 2}px;font-size:${e.value.style.title.fontSize}px;font-weight:${e.value.style.title.bold ? "bold" : "normal"};`)
294
+ style: T(`display:flex;align-items:center;width:100%;color:${e.value.style.title.color};background:${e.value.style.backgroundColor};justify-content:${e.value.style.title.textAlign === "left" ? "flex-start" : e.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${e.value.style.title.fontSize * 2}px;font-size:${e.value.style.title.fontSize}px;font-weight:${e.value.style.title.bold ? "bold" : "normal"};`)
295
295
  }, [
296
296
  p("span", {
297
- style: D(`padding:${e.value.style.title.textAlign === "left" ? "0 0 0 12px" : e.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`)
298
- }, W(v.value ? v.value.period : e.value.style.title.text), 5)
297
+ style: T(`padding:${e.value.style.title.textAlign === "left" ? "0 0 0 12px" : e.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`)
298
+ }, D(v.value ? v.value.period : e.value.style.title.text), 5)
299
299
  ], 4)) : f("", !0),
300
300
  (n(), c("svg", {
301
301
  ref_key: "svgRef",
302
302
  ref: ne,
303
303
  xmlns: s(qe),
304
304
  viewBox: `0 0 ${o.value.width} ${o.value.height}`,
305
- style: D(`background:${e.value.style.backgroundColor};overflow:visible`),
305
+ style: T(`background:${e.value.style.backgroundColor};overflow:visible`),
306
306
  onMouseleave: a[0] || (a[0] = (l) => A.value = void 0)
307
307
  }, [
308
308
  Fe(s($e)),
@@ -328,7 +328,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
328
328
  }, [
329
329
  p("stop", {
330
330
  offset: "0%",
331
- "stop-color": s(P)(s(T)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
331
+ "stop-color": s(P)(s(W)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
332
332
  }, null, 8, vt),
333
333
  p("stop", {
334
334
  offset: "100%",
@@ -346,7 +346,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
346
346
  }, null, 8, ht),
347
347
  p("stop", {
348
348
  offset: "100%",
349
- "stop-color": s(T)(e.value.style.bar.color, 0.05)
349
+ "stop-color": s(W)(e.value.style.bar.color, 0.05)
350
350
  }, null, 8, ft)
351
351
  ], 8, ct),
352
352
  p("linearGradient", {
@@ -356,7 +356,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
356
356
  }, [
357
357
  p("stop", {
358
358
  offset: "0%",
359
- "stop-color": s(T)(e.value.style.bar.color, 0.05)
359
+ "stop-color": s(W)(e.value.style.bar.color, 0.05)
360
360
  }, null, 8, pt),
361
361
  p("stop", {
362
362
  offset: "100%",
@@ -442,7 +442,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
442
442
  "font-size": e.value.style.dataLabel.fontSize,
443
443
  "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal",
444
444
  fill: e.value.style.dataLabel.color
445
- }, W(v.value ? s(ae)(
445
+ }, D(v.value ? s(ae)(
446
446
  e.value.style.dataLabel.formatter,
447
447
  v.value.absoluteValue,
448
448
  s(le)({ p: e.value.style.dataLabel.prefix, v: v.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
@@ -459,8 +459,8 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
459
459
  width: i.value.width / (L.value + 1) > o.value.padding ? o.value.padding : i.value.width / (L.value + 1),
460
460
  fill: "transparent",
461
461
  onMouseenter: () => ze(l, u),
462
- onMouseleave: () => De(l, u),
463
- onClick: () => We(l, u)
462
+ onMouseleave: () => Te(l, u),
463
+ onClick: () => De(l, u)
464
464
  }, null, 40, Mt))), 256)),
465
465
  S(t.$slots, "svg", { svg: o.value }, void 0, !0)
466
466
  ], 44, nt)),
@@ -482,7 +482,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
482
482
  }, {
483
483
  default: Ee(() => [
484
484
  S(t.$slots, "tooltip", ge(me({ ...v.value })), () => [
485
- Oe(W(v.value.period) + ": " + W(s(ae)(
485
+ Be(D(v.value.period) + ": " + D(s(ae)(
486
486
  e.value.style.dataLabel.formatter,
487
487
  v.value.absoluteValue,
488
488
  s(le)({
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as X, useSlots as be, onMounted as J, ref as v, toRefs as ke, watch as K, computed as $, createElementBlock as r, openBlock as s, normalizeStyle as p, createCommentVNode as f, createVNode as Q, createBlock as _e, createElementVNode as d, toDisplayString as F, unref as c, Fragment as k, renderList as A, normalizeClass as N, withCtx as Z, renderSlot as R, normalizeProps as ee, guardReactiveProps as te } from "vue";
2
- import { c as le, t as xe, b as we, p as i, h as D, e as Ce, o as $e, f as oe, g as Se, d as U, X as Fe, s as ae, i as se, a as re, z as Ae } from "./lib-CDp2KgIU.js";
3
- import { u as De, a as ne } from "./useNestedProp-Cwtenuui.js";
2
+ import { c as le, t as xe, b as we, p as i, h as D, e as Ce, o as $e, f as oe, g as Se, d as U, X as Fe, s as ae, i as se, a as re, z as Ae } from "./lib-BEpWEyMm.js";
3
+ import { u as De, a as ne } from "./useNestedProp-CLD3Gk9S.js";
4
4
  import { u as Ie } from "./useChartAccessibility-9icAAmYg.js";
5
5
  import { t as ze } from "./themes-D3cUNuKw.js";
6
6
  import { u as Pe, B as Be } from "./BaseScanner-BgWxam9d.js";
@@ -33,7 +33,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
33
33
  },
34
34
  emits: ["selectDatapoint"],
35
35
  setup(ue, { emit: ie }) {
36
- const ce = X(() => import("./PackageVersion-C3Vg-vTM.js")), de = X(() => import("./Tooltip-BKqK7z38.js")), { vue_ui_sparkstackbar: ve } = De(), _ = ue, pe = be();
36
+ const ce = X(() => import("./PackageVersion-oBQ8brnx.js")), de = X(() => import("./Tooltip-BOXz8skU.js")), { vue_ui_sparkstackbar: ve } = De(), _ = ue, pe = be();
37
37
  J(() => {
38
38
  pe["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
39
39
  });
@@ -1,21 +1,21 @@
1
- import { defineAsyncComponent as H, useSlots as Sa, computed as p, ref as g, onMounted as At, toRefs as $a, watch as ze, shallowRef as Rt, onBeforeUnmount as Nt, watchEffect as It, nextTick as Ot, createElementBlock as o, openBlock as r, unref as v, normalizeStyle as j, normalizeClass as le, createBlock as B, createCommentVNode as d, renderSlot as L, createElementVNode as D, createVNode as he, createSlots as Ye, withCtx as C, normalizeProps as W, guardReactiveProps as Y, Fragment as b, renderList as m, mergeProps as Ce, toDisplayString as T, Teleport as Ta, resolveDynamicComponent as Ma, createTextVNode as Pt } from "vue";
2
- import { u as Aa, a as Vt } from "./useNestedProp-Cwtenuui.js";
3
- import { c as Dt, t as Ra, b as Na, p as _e, D as se, e as Ia, o as Et, f as Ft, g as Oa, h as Pa, a9 as Se, aa as Ut, E as Ht, X as Va, m as Da, a6 as $e, G as Bt, a as Te, d as ee, N as Ea, J as Fa, z as Wt, x as Ua, y as Ha, A as Ba } from "./lib-CDp2KgIU.js";
1
+ import { defineAsyncComponent as H, useSlots as Sa, computed as p, ref as g, onMounted as At, toRefs as $a, watch as ze, shallowRef as Rt, onBeforeUnmount as It, watchEffect as Nt, nextTick as Ot, createElementBlock as o, openBlock as r, unref as v, normalizeStyle as j, normalizeClass as le, createBlock as B, createCommentVNode as d, renderSlot as L, createElementVNode as D, createVNode as he, createSlots as Ye, withCtx as C, normalizeProps as W, guardReactiveProps as Y, Fragment as b, renderList as m, mergeProps as Ce, toDisplayString as T, Teleport as Ta, resolveDynamicComponent as Ma, createTextVNode as Pt } from "vue";
2
+ import { u as Aa, a as Vt } from "./useNestedProp-CLD3Gk9S.js";
3
+ import { c as Dt, t as Ra, b as Ia, p as _e, B as se, e as Na, o as Et, f as Ft, g as Oa, h as Pa, a8 as Se, a9 as Ut, C as Ht, X as Va, m as Da, a4 as $e, E as Bt, a as Te, d as ee, L as Ea, H as Fa, z as Wt, x as Ua, y as Ha, A as Ba } from "./lib-BEpWEyMm.js";
4
4
  import { t as Xe, u as Wa } from "./useResponsive-DfdjqQps.js";
5
- import { u as Ya } from "./usePrinter-DU_Pi3Rq.js";
5
+ import { u as Ya } from "./usePrinter-w23K-ezx.js";
6
6
  import { u as Xa, B as Ga } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as Ja } from "./useTimeLabels-BGFjWgrv.js";
8
8
  import { u as qa } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Za } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { u as Ka } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import Qa from "./img-A48JwXxj.js";
12
- import ja from "./Title-DlqxaiIs.js";
13
- import { _ as el } from "./Shape-D_vfF7sk.js";
11
+ import Qa from "./img-DjWwQXVS.js";
12
+ import ja from "./Title-C__lOIPC.js";
13
+ import { _ as el } from "./Shape-C_C_OmqR.js";
14
14
  import { t as tl } from "./themes-D3cUNuKw.js";
15
- import al from "./Legend-CVcdvTLM.js";
16
- import { S as ll } from "./Slicer-BO2wNLcR.js";
15
+ import al from "./Legend-BpoFJ8fc.js";
16
+ import { S as ll } from "./Slicer-BA2GhOmY.js";
17
17
  import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "width", "height"], ul = { key: 1 }, cl = ["id"], hl = ["stop-color"], vl = ["stop-color"], dl = ["stop-color"], yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ml = { key: 0 }, pl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], xl = { key: 0 }, kl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ll = { key: 0 }, zl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x", "y", "font-size", "fill", "font-weight"], $l = ["transform", "font-size", "fill", "font-weight"], Tl = ["x", "y", "font-size", "fill", "font-weight"], Ml = ["x", "y", "font-size", "font-weight", "fill"], Al = ["x", "y", "font-size", "fill", "font-weight"], Rl = ["x", "y", "font-size", "font-weight", "fill"], Nl = ["x1", "x2", "y1", "y2", "stroke"], Il = ["x", "y", "font-size", "font-weight", "fill"], Ol = ["x1", "x2", "y1", "y2", "stroke"], Pl = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Vl = { key: 0 }, Dl = { key: 1 }, El = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Fl = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Ul = { key: 0 }, Hl = { key: 1 }, Bl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Wl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Yl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Xl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Gl = {
18
+ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "width", "height"], ul = { key: 1 }, cl = ["id"], hl = ["stop-color"], vl = ["stop-color"], dl = ["stop-color"], yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ml = { key: 0 }, pl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], xl = { key: 0 }, kl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ll = { key: 0 }, zl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x", "y", "font-size", "fill", "font-weight"], $l = ["transform", "font-size", "fill", "font-weight"], Tl = ["x", "y", "font-size", "fill", "font-weight"], Ml = ["x", "y", "font-size", "font-weight", "fill"], Al = ["x", "y", "font-size", "fill", "font-weight"], Rl = ["x", "y", "font-size", "font-weight", "fill"], Il = ["x1", "x2", "y1", "y2", "stroke"], Nl = ["x", "y", "font-size", "font-weight", "fill"], Ol = ["x1", "x2", "y1", "y2", "stroke"], Pl = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Vl = { key: 0 }, Dl = { key: 1 }, El = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Fl = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Ul = { key: 0 }, Hl = { key: 1 }, Bl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Wl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Yl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Xl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Gl = {
19
19
  key: 3,
20
20
  class: "vue-data-ui-watermark"
21
21
  }, Jl = ["id"], ql = ["onClick"], Zl = ["innerHTML"], Kl = {
@@ -36,14 +36,14 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
36
36
  },
37
37
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
38
38
  setup(Me, { expose: Yt, emit: Xt }) {
39
- const Gt = H(() => import("./Tooltip-BKqK7z38.js")), Jt = H(() => import("./BaseIcon-e63bhLIi.js")), qt = H(() => import("./vue-ui-accordion-BWnxgda4.js")), Zt = H(() => import("./DataTable-dv6G7Krn.js")), Kt = H(() => import("./PenAndPaper-CplrzuG7.js")), Qt = H(() => import("./UserOptions-C9IFsUt0.js")), jt = H(() => import("./PackageVersion-C3Vg-vTM.js")), ea = H(() => import("./BaseDraggableDialog-Cg4ZF9cb.js")), { vue_ui_stackbar: ta } = Aa(), aa = Sa(), f = Me, Ae = Xt, ve = p({
39
+ const Gt = H(() => import("./Tooltip-BOXz8skU.js")), Jt = H(() => import("./BaseIcon-Bz-1GQhu.js")), qt = H(() => import("./vue-ui-accordion-Cv7OaVUI.js")), Zt = H(() => import("./DataTable-BvjacRbw.js")), Kt = H(() => import("./PenAndPaper-CR8q353D.js")), Qt = H(() => import("./UserOptions-DsTgvAok.js")), jt = H(() => import("./PackageVersion-oBQ8brnx.js")), ea = H(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_stackbar: ta } = Aa(), aa = Sa(), f = Me, Ae = Xt, ve = p({
40
40
  get() {
41
41
  return !!f.dataset && f.dataset.length;
42
42
  },
43
43
  set(a) {
44
44
  return a;
45
45
  }
46
- }), O = g(null), M = g(Dt()), Re = g(!1), Ne = g(null), Ie = g(""), S = g([]), Ge = g(0), Je = g(null), qe = g(null), Ze = g(null), Ke = g(null), Qe = g(0), re = g(!1), de = g(null), X = g(!1), je = g(0), la = g(0), sa = g(0), et = g(null), tt = g(!1), oe = g(null), Oe = g(null), Pe = g(null), Ve = g(null), G = g(null), J = g(null), ra = g(null), at = g(null);
46
+ }), O = g(null), M = g(Dt()), Re = g(!1), Ie = g(null), Ne = g(""), S = g([]), Ge = g(0), Je = g(null), qe = g(null), Ze = g(null), Ke = g(null), Qe = g(0), re = g(!1), de = g(null), X = g(!1), je = g(0), la = g(0), sa = g(0), et = g(null), tt = g(!1), oe = g(null), Oe = g(null), Pe = g(null), Ve = g(null), G = g(null), J = g(null), ra = g(null), at = g(null);
47
47
  At(() => {
48
48
  tt.value = !0, Ue();
49
49
  });
@@ -129,7 +129,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
129
129
  userConfig: tl.vue_ui_stackbar[a.theme] || f.config,
130
130
  defaultConfig: a
131
131
  }),
132
- customPalette: Na[a.theme] || _e
132
+ customPalette: Ia[a.theme] || _e
133
133
  } : l = a, f.config && se(f.config, "style.chart.grid.scale.scaleMin") ? l.style.chart.grid.scale.scaleMin = f.config.style.chart.grid.scale.scaleMin : l.style.chart.grid.scale.scaleMin = null, f.config && se(f.config, "style.chart.grid.scale.scaleMax") ? l.style.chart.grid.scale.scaleMax = f.config.style.chart.grid.scale.scaleMax : l.style.chart.grid.scale.scaleMax = null, f.config && se(f.config, "style.chart.zoom.startIndex") ? l.style.chart.zoom.startIndex = f.config.style.chart.zoom.startIndex : l.style.chart.zoom.startIndex = null, f.config && se(f.config, "style.chart.zoom.endIndex") ? l.style.chart.zoom.endIndex = f.config.style.chart.zoom.endIndex : l.style.chart.zoom.endIndex = null, f.config && se(f.config, "style.chart.bars.dataLabels.hideUnderValue") ? l.style.chart.bars.dataLabels.hideUnderValue = f.config.style.chart.bars.dataLabels.hideUnderValue : l.style.chart.bars.dataLabels.hideUnderValue = null, f.config && se(f.config, "style.chart.bars.dataLabels.hideUnderPercentage") ? l.style.chart.bars.dataLabels.hideUnderPercentage = f.config.style.chart.bars.dataLabels.hideUnderPercentage : l.style.chart.bars.dataLabels.hideUnderPercentage = null, l;
134
134
  }
135
135
  const ot = p(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), nt = p(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
@@ -167,7 +167,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
167
167
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
168
168
  left: e.value.style.chart.padding.left / e.value.style.chart.width
169
169
  }
170
- }), oa = p(() => Ia(e.value.customPalette)), E = Rt(null), ae = Rt(null), vt = g(null);
170
+ }), oa = p(() => Na(e.value.customPalette)), E = Rt(null), ae = Rt(null), vt = g(null);
171
171
  At(() => {
172
172
  Ue();
173
173
  });
@@ -212,7 +212,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
212
212
  }
213
213
  He();
214
214
  }
215
- Nt(() => {
215
+ It(() => {
216
216
  E.value && (ae.value && E.value.unobserve(ae.value), E.value.disconnect());
217
217
  });
218
218
  function na() {
@@ -230,7 +230,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
230
230
  const be = g(0), fe = g(0), ia = Xe((a) => {
231
231
  be.value = a;
232
232
  }, 100);
233
- It((a) => {
233
+ Nt((a) => {
234
234
  const l = e.value.orientation === "vertical" ? J.value : G.value;
235
235
  if (!l) return;
236
236
  const t = new ResizeObserver((s) => {
@@ -241,7 +241,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
241
241
  const ua = Xe((a) => {
242
242
  fe.value = a + e.value.style.chart.bars.totalValues.fontSize;
243
243
  }, 100);
244
- It((a) => {
244
+ Nt((a) => {
245
245
  if (e.value.orientation === "vertical") return;
246
246
  const l = at.value;
247
247
  if (!l) return;
@@ -249,7 +249,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
249
249
  ua(s[0].contentRect.width);
250
250
  });
251
251
  t.observe(l), a(() => t.disconnect());
252
- }), Nt(() => {
252
+ }), It(() => {
253
253
  be.value = 0, fe.value = 0;
254
254
  });
255
255
  const dt = p(() => {
@@ -318,7 +318,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
318
318
  series: l.series.slice(h.value.start, h.value.end).map((t) => t < 0 ? t : 0)
319
319
  })))
320
320
  };
321
- }), I = p(() => {
321
+ }), N = p(() => {
322
322
  const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...me.value.positive), l = Math.min(...me.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, s = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ut(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : Ht(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
323
323
  return s.ticks.map((c) => ({
324
324
  zero: n.value.bottom - n.value.height * (Math.abs(s.min) / (s.max + Math.abs(s.min))),
@@ -338,16 +338,16 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
338
338
  })), w = p(() => {
339
339
  if (!ve.value && !ne.value) return [];
340
340
  let a = Array(U.value).fill(0), l = Array(U.value).fill(0), t = Array(U.value).fill(0), s = Array(U.value).fill(0);
341
- const c = Math.max(...me.value.positive) || 0, u = Math.min(...me.value.negative), _ = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, q = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ut(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : Ht(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: Z, max: K } = q, P = K + (Z >= 0 ? 0 : Math.abs(Z)) || 1, A = n.value.height, Le = n.value.width, Tt = I.value[0] ? I.value[0].zero : n.value.bottom, Mt = I.value[0] ? I.value[0].horizontal_zero : n.value.left;
341
+ const c = Math.max(...me.value.positive) || 0, u = Math.min(...me.value.negative), _ = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, q = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ut(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : Ht(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: Z, max: K } = q, P = K + (Z >= 0 ? 0 : Math.abs(Z)) || 1, A = n.value.height, Le = n.value.width, Tt = N.value[0] ? N.value[0].zero : n.value.bottom, Mt = N.value[0] ? N.value[0].horizontal_zero : n.value.left;
342
342
  return F.value.filter((ce) => !S.value.includes(ce.id)).map((ce) => {
343
343
  const V = ce.series.slice(h.value.start, h.value.end), pa = ce.signedSeries.slice(h.value.start, h.value.end), xa = V.map((x, k) => n.value.left + y.value * k + y.value * e.value.style.chart.bars.gapRatio / 4), ka = V.map((x, k) => n.value.top + y.value * k + y.value * e.value.style.chart.bars.gapRatio / 4), wa = V.map((x, k) => {
344
344
  const R = e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / P;
345
- let Q, N;
346
- return x > 0 ? (N = A * R, Q = Tt - N - a[k], a[k] += N) : (N = A * R, Q = Tt + t[k], t[k] += Math.abs(N)), Q;
345
+ let Q, I;
346
+ return x > 0 ? (I = A * R, Q = Tt - I - a[k], a[k] += I) : (I = A * R, Q = Tt + t[k], t[k] += Math.abs(I)), Q;
347
347
  }), La = V.map((x, k) => {
348
348
  const R = e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / P;
349
- let Q, N;
350
- return x > 0 ? (N = Le * R, Q = Mt + l[k], l[k] += N) : (N = Le * R, Q = Mt - Math.abs(N) - s[k], s[k] += Math.abs(N)), Q;
349
+ let Q, I;
350
+ return x > 0 ? (I = Le * R, Q = Mt + l[k], l[k] += I) : (I = Le * R, Q = Mt - Math.abs(I) - s[k], s[k] += Math.abs(I)), Q;
351
351
  }), za = V.map((x, k) => {
352
352
  const R = e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / P;
353
353
  return x > 0 ? A * R : A * Math.abs(R);
@@ -428,7 +428,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
428
428
  function xt(a) {
429
429
  de.value = a, Re.value = !0;
430
430
  const l = e.value.style.chart.tooltip.customFormat, t = mt(a);
431
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a + h.value.start }), Ne.value = {
431
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a + h.value.start }), Ie.value = {
432
432
  datapoint: t,
433
433
  seriesIndex: a,
434
434
  config: e.value,
@@ -441,7 +441,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
441
441
  series: w.value,
442
442
  config: e.value
443
443
  })))
444
- Ie.value = l({
444
+ Ne.value = l({
445
445
  seriesIndex: a,
446
446
  datapoint: t,
447
447
  series: w.value,
@@ -478,7 +478,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
478
478
  }) : ""}${P[1]}
479
479
  </div>
480
480
  `;
481
- }), Ie.value = `<div>${K}</div>`;
481
+ }), Ne.value = `<div>${K}</div>`;
482
482
  }
483
483
  }
484
484
  const va = p(() => te.value.width), da = p(() => te.value.height);
@@ -838,7 +838,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
838
838
  }, null, 8, dl)
839
839
  ], 8, cl))), 256))
840
840
  ])) : d("", !0),
841
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (r(!0), o(b, { key: 2 }, m(I.value, (t, s) => (r(), o("line", {
841
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (r(!0), o(b, { key: 2 }, m(N.value, (t, s) => (r(), o("line", {
842
842
  x1: n.value.left,
843
843
  x2: n.value.right,
844
844
  y1: t.y,
@@ -868,7 +868,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
868
868
  "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
869
869
  "stroke-linecap": "round"
870
870
  }, null, 8, bl))), 256)) : d("", !0),
871
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (r(!0), o(b, { key: 5 }, m(I.value, (t, s) => (r(), o("line", {
871
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (r(!0), o(b, { key: 5 }, m(N.value, (t, s) => (r(), o("line", {
872
872
  x1: t.horizontal_x,
873
873
  x2: t.horizontal_x,
874
874
  y1: n.value.top,
@@ -1054,15 +1054,15 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1054
1054
  ref_key: "scaleLabels",
1055
1055
  ref: G
1056
1056
  }, [
1057
- (r(!0), o(b, null, m(I.value, (t, s) => (r(), o("line", {
1057
+ (r(!0), o(b, null, m(N.value, (t, s) => (r(), o("line", {
1058
1058
  x1: n.value.left,
1059
1059
  x2: n.value.left - 6,
1060
1060
  y1: t.y,
1061
1061
  y2: t.y,
1062
1062
  stroke: e.value.style.chart.grid.x.axisColor,
1063
1063
  "stroke-width": 1
1064
- }, null, 8, Nl))), 256)),
1065
- (r(!0), o(b, null, m(I.value, (t, s) => (r(), o("text", {
1064
+ }, null, 8, Il))), 256)),
1065
+ (r(!0), o(b, null, m(N.value, (t, s) => (r(), o("text", {
1066
1066
  x: t.x,
1067
1067
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1068
1068
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
@@ -1079,14 +1079,14 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1079
1079
  r: e.value.style.chart.grid.y.axisLabels.rounding
1080
1080
  }),
1081
1081
  { datapoint: t }
1082
- )), 9, Il))), 256))
1082
+ )), 9, Nl))), 256))
1083
1083
  ], 512)) : d("", !0),
1084
1084
  e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (r(), o("g", {
1085
1085
  key: 13,
1086
1086
  ref_key: "scaleLabels",
1087
1087
  ref: G
1088
1088
  }, [
1089
- (r(!0), o(b, null, m(I.value, (t, s) => (r(), o("line", {
1089
+ (r(!0), o(b, null, m(N.value, (t, s) => (r(), o("line", {
1090
1090
  x1: t.horizontal_x,
1091
1091
  x2: t.horizontal_x,
1092
1092
  y1: n.value.bottom,
@@ -1095,7 +1095,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1095
1095
  "stroke-width": 1,
1096
1096
  "stroke-linecap": "round"
1097
1097
  }, null, 8, Ol))), 256)),
1098
- (r(!0), o(b, null, m(I.value, (t, s) => (r(), o("text", {
1098
+ (r(!0), o(b, null, m(N.value, (t, s) => (r(), o("text", {
1099
1099
  class: "vue-data-ui-time-label",
1100
1100
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
1101
1101
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
@@ -1306,7 +1306,7 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1306
1306
  position: e.value.style.chart.tooltip.position,
1307
1307
  offsetY: e.value.style.chart.tooltip.offsetY,
1308
1308
  parent: O.value,
1309
- content: Ie.value,
1309
+ content: Ne.value,
1310
1310
  isFullscreen: re.value,
1311
1311
  isCustom: v(Wt)(e.value.style.chart.tooltip.customFormat),
1312
1312
  smooth: e.value.style.chart.tooltip.smooth,
@@ -1315,10 +1315,10 @@ const rl = ["id"], ol = ["id"], nl = ["xmlns", "viewBox"], il = ["x", "y", "widt
1315
1315
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1316
1316
  }, {
1317
1317
  "tooltip-before": C(() => [
1318
- L(a.$slots, "tooltip-before", W(Y({ ...Ne.value })), void 0, !0)
1318
+ L(a.$slots, "tooltip-before", W(Y({ ...Ie.value })), void 0, !0)
1319
1319
  ]),
1320
1320
  "tooltip-after": C(() => [
1321
- L(a.$slots, "tooltip-after", W(Y({ ...Ne.value })), void 0, !0)
1321
+ L(a.$slots, "tooltip-after", W(Y({ ...Ie.value })), void 0, !0)
1322
1322
  ]),
1323
1323
  _: 3
1324
1324
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as L, computed as p, ref as i, toRefs as Tt, watch as q, shallowRef as Ve, onMounted as $t, onBeforeUnmount as Xe, watchEffect as St, createElementBlock as n, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as z, createCommentVNode as c, createVNode as be, createSlots as Ye, withCtx as b, renderSlot as y, normalizeProps as F, guardReactiveProps as I, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, mergeProps as je, resolveDynamicComponent as Ot, createTextVNode as qe, nextTick as zt } from "vue";
2
- import { c as ye, t as Pt, b as Dt, p as P, o as Je, f as me, g as Ke, e as Nt, h as Qe, q as Ft, E as It, d as K, X as Mt, a as ge, N as Rt, ad as Wt, m as Bt, r as Et, z as Ze, F as Gt, x as Ht, y as Ut, A as Vt } from "./lib-CDp2KgIU.js";
2
+ import { c as ye, t as Pt, b as Dt, p as P, o as Je, f as me, g as Ke, e as Nt, h as Qe, q as Ft, C as It, d as K, X as Mt, a as ge, L as Rt, ac as Wt, m as Bt, r as Et, z as Ze, D as Gt, x as Ht, y as Ut, A as Vt } from "./lib-BEpWEyMm.js";
3
3
  import { t as et, u as Xt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Yt, a as tt } from "./useNestedProp-Cwtenuui.js";
4
+ import { u as Yt, a as tt } from "./useNestedProp-CLD3Gk9S.js";
5
5
  import { u as jt, B as qt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Jt } from "./usePrinter-DU_Pi3Rq.js";
6
+ import { u as Jt } from "./usePrinter-w23K-ezx.js";
7
7
  import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import { u as Zt } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import el from "./img-A48JwXxj.js";
11
- import { _ as tl } from "./Shape-D_vfF7sk.js";
12
- import ll from "./Title-DlqxaiIs.js";
10
+ import el from "./img-DjWwQXVS.js";
11
+ import { _ as tl } from "./Shape-C_C_OmqR.js";
12
+ import ll from "./Title-C__lOIPC.js";
13
13
  import { t as al } from "./themes-D3cUNuKw.js";
14
14
  import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"], nl = { key: 1 }, il = { key: 0 }, vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], cl = { key: 1 }, hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fl = ["x", "y", "fill", "font-size"], bl = ["transform", "font-size", "fill", "text-anchor"], yl = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], ml = ["fill", "font-size", "transform"], gl = ["fill", "font-size", "x", "y"], xl = ["x1", "x2", "y1", "y2", "stroke"], kl = ["cx", "cy", "fill"], wl = ["cx", "cy", "fill"], Cl = ["id"], Al = ["stop-color"], Ll = ["stop-color"], _l = ["stop-color"], Tl = { key: 0 }, $l = ["x", "y", "font-size", "fill"], Sl = {
@@ -33,7 +33,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
33
33
  },
34
34
  emits: ["selectDatapoint"],
35
35
  setup(lt, { expose: at, emit: ot }) {
36
- const st = L(() => import("./Tooltip-BKqK7z38.js")), rt = L(() => import("./BaseIcon-e63bhLIi.js")), ut = L(() => import("./vue-ui-accordion-BWnxgda4.js")), nt = L(() => import("./DataTable-dv6G7Krn.js")), it = L(() => import("./UserOptions-C9IFsUt0.js")), vt = L(() => import("./PenAndPaper-CplrzuG7.js")), ct = L(() => import("./PackageVersion-C3Vg-vTM.js")), ht = L(() => import("./BaseDraggableDialog-Cg4ZF9cb.js")), { vue_ui_strip_plot: dt } = Yt(), x = lt, pt = ot, G = p({
36
+ const st = L(() => import("./Tooltip-BOXz8skU.js")), rt = L(() => import("./BaseIcon-Bz-1GQhu.js")), ut = L(() => import("./vue-ui-accordion-Cv7OaVUI.js")), nt = L(() => import("./DataTable-BvjacRbw.js")), it = L(() => import("./UserOptions-DsTgvAok.js")), vt = L(() => import("./PenAndPaper-CR8q353D.js")), ct = L(() => import("./PackageVersion-oBQ8brnx.js")), ht = L(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_strip_plot: dt } = Yt(), x = lt, pt = ot, G = p({
37
37
  get() {
38
38
  return !!x.dataset && x.dataset.length;
39
39
  },