vue-data-ui 3.0.0-next.62 → 3.0.0-next.64

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 (96) hide show
  1. package/dist/{Arrow-vPQ5umgl.js → Arrow-_dRaTXfx.js} +1 -1
  2. package/dist/{BaseDraggableDialog-rmweWafM.js → BaseDraggableDialog-Y4PtzAqS.js} +2 -2
  3. package/dist/{BaseIcon-BdOuqa-n.js → BaseIcon-BOZCh7hC.js} +1 -1
  4. package/dist/{ColorPicker-BJYD-Akc.js → ColorPicker-BQEc3SYL.js} +2 -2
  5. package/dist/{DataTable-DKhkUltp.js → DataTable-CrVglLHi.js} +2 -2
  6. package/dist/{Legend-DJVidRKZ.js → Legend-C_GWb8Tk.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BO1MTyPj.js → NonSvgPenAndPaper-BevmW24f.js} +3 -3
  8. package/dist/{PackageVersion-CvXTVTaQ.js → PackageVersion-fw3Fpue8.js} +1 -1
  9. package/dist/{PenAndPaper-B_AMsItI.js → PenAndPaper-ibw3_ryE.js} +3 -3
  10. package/dist/{Shape-CVE1tn78.js → Shape-b_M7NPSO.js} +1 -1
  11. package/dist/{Slicer-Bu8DjZuX.js → Slicer-DK75_ACv.js} +2 -2
  12. package/dist/{SparkTooltip-CZVDoHxg.js → SparkTooltip-B03ChzvC.js} +1 -1
  13. package/dist/{Title-Cr_usVXc.js → Title-9MNHamcm.js} +1 -1
  14. package/dist/{Tooltip-7jDTalyv.js → Tooltip-JOEXaEhx.js} +1 -1
  15. package/dist/{UserOptions-UTvI0Q98.js → UserOptions-CbRVE0fX.js} +2 -2
  16. package/dist/{dom-to-png-ONrUYTRb.js → dom-to-png-B1W9a821.js} +1 -1
  17. package/dist/{img-iMtnfYdI.js → img-BcHBT2JO.js} +1 -1
  18. package/dist/{index-CwGyyfTA.js → index-0fJgjA-1.js} +13 -1
  19. package/dist/{pdf-DiMYy8s9.js → pdf-DTzQjfx7.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +7 -0
  22. package/dist/types/vue-data-ui.d.ts +7 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-CqI-y0RH.js → useAutoSizeLabelsInsideViewbox-C24nULUT.js} +1 -1
  24. package/dist/useFitSvgText-2crs6Fv5.js +69 -0
  25. package/dist/useLoading-D7YHNtLX.js +29 -0
  26. package/dist/{useNestedProp-Dd5rDkqs.js → useNestedProp-DzIeL81v.js} +1 -1
  27. package/dist/{usePrinter-Ctvv8qBg.js → usePrinter-DhTGExI3.js} +2 -2
  28. package/dist/{vue-data-ui-DwvF4C9M.js → vue-data-ui-CIOtiB78.js} +64 -64
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/{vue-ui-3d-bar-zgyRNuSO.js → vue-ui-3d-bar-CH1OfSA0.js} +7 -7
  31. package/dist/{vue-ui-accordion-5YUMPNG1.js → vue-ui-accordion-CYbAD2Cu.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-DW6p9iWS.js → vue-ui-age-pyramid-DNmAspwQ.js} +7 -7
  33. package/dist/{vue-ui-annotator-C2CMEveI.js → vue-ui-annotator-BqhLJYq4.js} +2 -2
  34. package/dist/{vue-ui-bullet-I1UZAw0O.js → vue-ui-bullet-YqnpMaTn.js} +8 -8
  35. package/dist/{vue-ui-candlestick-N2rX18KX.js → vue-ui-candlestick-ChRXb3fv.js} +8 -8
  36. package/dist/{vue-ui-carousel-table-CXe6ghc3.js → vue-ui-carousel-table-CB4i1JJO.js} +4 -4
  37. package/dist/{vue-ui-chestnut-Dkeqv0lM.js → vue-ui-chestnut-DU5gAUlD.js} +5 -5
  38. package/dist/{vue-ui-chord-Dp_n9sP9.js → vue-ui-chord-CTZo4n_C.js} +8 -8
  39. package/dist/{vue-ui-circle-pack-DrPM1UXc.js → vue-ui-circle-pack-BOWRNWEB.js} +6 -6
  40. package/dist/{vue-ui-cursor-BcS6aiX1.js → vue-ui-cursor-Ovg4CIQS.js} +2 -2
  41. package/dist/{vue-ui-dashboard-BcyCNmVV.js → vue-ui-dashboard-DY0pvfeV.js} +62 -62
  42. package/dist/{vue-ui-digits-BvNRrVgl.js → vue-ui-digits-BU-srr0f.js} +2 -2
  43. package/dist/{vue-ui-donut-Rvu6m-aE.js → vue-ui-donut-CWkcy1Rk.js} +9 -9
  44. package/dist/{vue-ui-donut-evolution-D2ZcgYhJ.js → vue-ui-donut-evolution-D88B3FNf.js} +9 -9
  45. package/dist/{vue-ui-dumbbell-CvYVCA6I.js → vue-ui-dumbbell-BOXQkCkq.js} +8 -8
  46. package/dist/{vue-ui-flow-_6zAZMI6.js → vue-ui-flow-DLXNCckt.js} +8 -8
  47. package/dist/{vue-ui-funnel-CIEJVq4d.js → vue-ui-funnel-C5vQWBzr.js} +6 -6
  48. package/dist/{vue-ui-galaxy-DcZ04iAF.js → vue-ui-galaxy-DqtQYXvs.js} +5 -5
  49. package/dist/{vue-ui-gauge-C5j1wKcj.js → vue-ui-gauge-B5pv9QSM.js} +8 -8
  50. package/dist/vue-ui-gizmo-P9yME_eY.js +210 -0
  51. package/dist/{vue-ui-heatmap-DDZ8g5dM.js → vue-ui-heatmap-CThqLejn.js} +8 -8
  52. package/dist/{vue-ui-history-plot-C7ZRZHzl.js → vue-ui-history-plot-DFmZWxNc.js} +8 -8
  53. package/dist/{vue-ui-kpi-DZ5FITOL.js → vue-ui-kpi-BuQjfvDE.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-BaQpwyu-.js → vue-ui-mini-loader-BG4jCHYQ.js} +2 -2
  55. package/dist/{vue-ui-molecule-B8Ob6p-h.js → vue-ui-molecule-CF6nNGqg.js} +5 -5
  56. package/dist/{vue-ui-mood-radar-BrTY3gyR.js → vue-ui-mood-radar-lmarmY6M.js} +7 -7
  57. package/dist/{vue-ui-nested-donuts-yN_txLmU.js → vue-ui-nested-donuts-DQcO2sVr.js} +10 -10
  58. package/dist/{vue-ui-onion-C613Zf1i.js → vue-ui-onion-B-DVoqrQ.js} +9 -9
  59. package/dist/{vue-ui-parallel-coordinate-plot-B-aXg4S4.js → vue-ui-parallel-coordinate-plot-DN-5rOWz.js} +9 -9
  60. package/dist/{vue-ui-quadrant-C2AeZvmZ.js → vue-ui-quadrant-DymklVce.js} +8 -8
  61. package/dist/{vue-ui-quick-chart-CkE6ybPo.js → vue-ui-quick-chart-9bCSYCAi.js} +7 -7
  62. package/dist/{vue-ui-radar-BbiqR92L.js → vue-ui-radar-Cd6IjWur.js} +7 -7
  63. package/dist/{vue-ui-rating-CbRUCAxl.js → vue-ui-rating-YDYoCU7s.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-vWsjRm3W.js → vue-ui-relation-circle-B7Di_-Xd.js} +6 -6
  65. package/dist/{vue-ui-ridgeline-CaiytuOs.js → vue-ui-ridgeline-B35ZvK07.js} +9 -9
  66. package/dist/{vue-ui-rings-AFUuMvpu.js → vue-ui-rings-CM-ozCci.js} +9 -9
  67. package/dist/{vue-ui-scatter-Dcb9tLMu.js → vue-ui-scatter-CGped1H5.js} +9 -9
  68. package/dist/{vue-ui-skeleton-B1SFKW_l.js → vue-ui-skeleton-CdMOS9db.js} +3 -3
  69. package/dist/{vue-ui-smiley-Ba-ctrns.js → vue-ui-smiley-BOVjTGMV.js} +2 -2
  70. package/dist/vue-ui-spark-trend-BfGjo_5k.js +315 -0
  71. package/dist/{vue-ui-sparkbar-D8-HNaN_.js → vue-ui-sparkbar-DoDi9kY9.js} +4 -4
  72. package/dist/{vue-ui-sparkgauge-Dfnr6Bjc.js → vue-ui-sparkgauge-DX5cAEIp.js} +4 -4
  73. package/dist/vue-ui-sparkhistogram-D0PPQ2rc.js +380 -0
  74. package/dist/{vue-ui-sparkline-BA_5ICer.js → vue-ui-sparkline-3eT2bcvr.js} +4 -4
  75. package/dist/{vue-ui-sparkstackbar-BQkH5ltm.js → vue-ui-sparkstackbar-1LJTj6tk.js} +4 -4
  76. package/dist/{vue-ui-stackbar-C7iPaQOn.js → vue-ui-stackbar-BEZAxfR1.js} +10 -10
  77. package/dist/{vue-ui-strip-plot-CnfeJeRi.js → vue-ui-strip-plot-BAfLo0vI.js} +8 -8
  78. package/dist/{vue-ui-table-Dz6RLYoS.js → vue-ui-table-UiSCuadc.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-Cbgogx6N.js → vue-ui-table-heatmap-PvykXq35.js} +5 -5
  80. package/dist/{vue-ui-table-sparkline-CLEfp8d2.js → vue-ui-table-sparkline-BVozLRNm.js} +4 -4
  81. package/dist/{vue-ui-thermometer-CzNFOqrV.js → vue-ui-thermometer-DH_gsOJF.js} +8 -8
  82. package/dist/{vue-ui-timer-CI7VUX-B.js → vue-ui-timer-KKNQN0Cn.js} +5 -5
  83. package/dist/{vue-ui-tiremarks-C0QDwzEt.js → vue-ui-tiremarks-DllwYxpL.js} +7 -7
  84. package/dist/{vue-ui-treemap-D-5MOqu3.js → vue-ui-treemap-CD95yJMU.js} +9 -9
  85. package/dist/{vue-ui-vertical-bar-sZjQranC.js → vue-ui-vertical-bar-D2Z6Sp77.js} +10 -10
  86. package/dist/{vue-ui-waffle-6zNYC1rh.js → vue-ui-waffle-CwO7xePC.js} +9 -9
  87. package/dist/{vue-ui-wheel-kx79XCaH.js → vue-ui-wheel-a5KUmx_R.js} +7 -7
  88. package/dist/{vue-ui-word-cloud-DI8bEQrN.js → vue-ui-word-cloud-D__Zow1C.js} +7 -7
  89. package/dist/{vue-ui-world-Ba2tdGRe.js → vue-ui-world-xHsSiEXj.js} +6 -6
  90. package/dist/{vue-ui-xy-TM3uzoN-.js → vue-ui-xy-D5g7rG2a.js} +10 -10
  91. package/dist/{vue-ui-xy-canvas-DFqIhqzJ.js → vue-ui-xy-canvas-DP03hrIU.js} +8 -8
  92. package/package.json +1 -1
  93. package/dist/useLoading-Bt5Doa8m.js +0 -28
  94. package/dist/vue-ui-gizmo-BD9EY4bZ.js +0 -192
  95. package/dist/vue-ui-spark-trend-BshA2mRL.js +0 -291
  96. package/dist/vue-ui-sparkhistogram-BMtpx_0l.js +0 -444
@@ -1,12 +1,12 @@
1
1
  import { useCssVars as Ke, computed as y, defineAsyncComponent as E, ref as o, watch as Qe, shallowRef as be, onMounted as Ze, onBeforeUnmount as et, createElementBlock as r, openBlock as i, unref as n, normalizeStyle as O, createBlock as F, createCommentVNode as v, createSlots as tt, withCtx as S, renderSlot as h, normalizeProps as B, guardReactiveProps as T, normalizeClass as H, createVNode as lt, createElementVNode as st, Fragment as z, renderList as A, mergeProps as we, toDisplayString as N } from "vue";
2
- import { u as it, c as at, a as nt, p as xe, b as rt, d as ut, o as ot, f as $e, g as ct, X as dt, F as _e, k as J, i as K, E as Q } from "./index-CwGyyfTA.js";
2
+ import { u as it, c as at, a as nt, p as xe, b as rt, d as ut, o as ot, f as $e, g as ct, X as dt, F as _e, k as J, i as K, E as Q } from "./index-0fJgjA-1.js";
3
3
  import { t as vt, u as ft } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ce } from "./useNestedProp-Dd5rDkqs.js";
5
- import { u as yt } from "./usePrinter-Ctvv8qBg.js";
4
+ import { u as Ce } from "./useNestedProp-DzIeL81v.js";
5
+ import { u as yt } from "./usePrinter-DhTGExI3.js";
6
6
  import { u as ht } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as gt } from "./useChartAccessibility-9icAAmYg.js";
8
- import mt from "./Title-Cr_usVXc.js";
9
- import pt from "./img-iMtnfYdI.js";
8
+ import mt from "./Title-9MNHamcm.js";
9
+ import pt from "./img-BcHBT2JO.js";
10
10
  import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const bt = ["id"], wt = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["cx", "cy", "r", "stroke", "stroke-width"], _t = { key: 1 }, Ct = ["stroke", "d", "stroke-width"], Pt = { style: { "pointer-events": "none" } }, Lt = ["cx", "cy", "fill", "r", "stroke"], Ot = ["x", "y", "fill", "font-size"], zt = { key: 2 }, At = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], It = { style: { "pointer-events": "none" } }, St = ["cx", "cy", "fill", "r", "stroke"], Mt = ["x", "y", "fill", "font-size"], Rt = ["text-anchor", "transform", "x", "y", "onClick", "font-weight", "font-size", "fill"], Et = ["cx", "cy", "fill", "stroke", "onClick", "r"], Ft = {
12
12
  key: 5,
@@ -33,7 +33,7 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["c
33
33
  "2d3aeb91": Fe.value,
34
34
  "18692fb3": Te.value
35
35
  }));
36
- const Oe = E(() => import("./PackageVersion-CvXTVTaQ.js")), ze = E(() => import("./PenAndPaper-B_AMsItI.js")), Ae = E(() => import("./vue-ui-skeleton-B1SFKW_l.js")), Ie = E(() => import("./UserOptions-UTvI0Q98.js")), { vue_ui_relation_circle: Se } = it(), k = Pe, j = y(() => !!k.dataset && Object.keys(k.dataset).length), I = o(at()), Z = o(0), x = o(null), ee = o(null), te = o(null), le = o(null), se = o(0), l = y({
36
+ const Oe = E(() => import("./PackageVersion-fw3Fpue8.js")), ze = E(() => import("./PenAndPaper-ibw3_ryE.js")), Ae = E(() => import("./vue-ui-skeleton-CdMOS9db.js")), Ie = E(() => import("./UserOptions-CbRVE0fX.js")), { vue_ui_relation_circle: Se } = it(), k = Pe, j = y(() => !!k.dataset && Object.keys(k.dataset).length), I = o(at()), Z = o(0), x = o(null), ee = o(null), te = o(null), le = o(null), se = o(0), l = y({
37
37
  get: () => re(),
38
38
  set: (e) => e
39
39
  }), { userOptionsVisible: U, setUserOptionsVisibility: ie, keepUserOptionState: ae } = ht({ config: l.value }), { svgRef: ne } = gt({ config: l.value.style.title });
@@ -1,17 +1,17 @@
1
1
  import { defineAsyncComponent as N, computed as d, ref as u, shallowRef as Je, toRefs as jt, onBeforeUnmount as Qe, watch as Z, nextTick as ke, watchEffect as qt, createElementBlock as n, openBlock as r, unref as i, normalizeStyle as w, normalizeClass as ee, createBlock as _, createCommentVNode as v, renderSlot as m, createElementVNode as y, createSlots as Ze, withCtx as p, normalizeProps as te, guardReactiveProps as ae, createVNode as et, Fragment as g, renderList as k, mergeProps as tt, toDisplayString as B, createTextVNode as at } from "vue";
2
- import { u as Kt, c as Ae, t as Jt, d as Qt, e as Zt, p as le, ap as lt, ai as ea, U as st, V as ta, W as aa, X as la, F as sa, I as oa, k as se, i as oe, a as ra, b as na, f as Ce, g as ot, o as ia, v as ua, w as ca, K as va } from "./index-CwGyyfTA.js";
2
+ import { u as Kt, c as Ae, t as Jt, d as Qt, e as Zt, p as le, ap as lt, ai as ea, U as st, V as ta, W as aa, X as la, F as sa, I as oa, k as se, i as oe, a as ra, b as na, f as Ce, g as ot, o as ia, v as ua, w as ca, K as va } from "./index-0fJgjA-1.js";
3
3
  import { t as rt, u as ha } from "./useResponsive-DfdjqQps.js";
4
- import { u as da, B as ya } from "./useLoading-Bt5Doa8m.js";
5
- import { u as fa } from "./usePrinter-Ctvv8qBg.js";
6
- import { u as nt } from "./useNestedProp-Dd5rDkqs.js";
4
+ import { u as da, B as ya } from "./useLoading-D7YHNtLX.js";
5
+ import { u as fa } from "./usePrinter-DhTGExI3.js";
6
+ import { u as nt } from "./useNestedProp-DzIeL81v.js";
7
7
  import { u as ga } from "./useTimeLabels-DkzmKfZn.js";
8
8
  import { u as ma } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as pa } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { u as ba } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import xa from "./Legend-DJVidRKZ.js";
12
- import ka from "./Title-Cr_usVXc.js";
13
- import { _ as Aa } from "./Shape-CVE1tn78.js";
14
- import Ca from "./img-iMtnfYdI.js";
11
+ import xa from "./Legend-C_GWb8Tk.js";
12
+ import ka from "./Title-9MNHamcm.js";
13
+ import { _ as Aa } from "./Shape-b_M7NPSO.js";
14
+ import Ca from "./img-BcHBT2JO.js";
15
15
  import { _ as wa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const $a = ["id"], _a = ["xmlns", "viewBox"], Ta = ["id"], Pa = ["stop-color"], Sa = ["stop-color"], Ma = ["stop-color"], La = ["stop-color"], Oa = ["id"], za = ["stop-color"], Ia = ["stop-color"], Na = ["stop-color"], Fa = ["stop-color"], Da = { key: 0 }, Ra = ["fill", "d"], Ea = ["stroke", "stroke-width", "d"], Ha = ["fill", "d"], Xa = ["stroke", "stroke-dasharray", "stroke-width", "d"], Ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Va = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ua = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Ga = { key: 0 }, Wa = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Ya = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], ja = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ka = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ja = ["x", "y", "text-anchor", "font-size", "fill"], Qa = {
17
17
  key: 4,
@@ -34,7 +34,7 @@ const $a = ["id"], _a = ["xmlns", "viewBox"], Ta = ["id"], Pa = ["stop-color"],
34
34
  },
35
35
  emits: ["selectLegend", "selectDatapoint", "selectX"],
36
36
  setup(it, { expose: ut, emit: ct }) {
37
- const vt = N(() => import("./vue-ui-accordion-5YUMPNG1.js")), ht = N(() => import("./BaseDraggableDialog-rmweWafM.js")), dt = N(() => import("./DataTable-DKhkUltp.js")), yt = N(() => import("./PackageVersion-CvXTVTaQ.js")), ft = N(() => import("./PenAndPaper-B_AMsItI.js")), gt = N(() => import("./UserOptions-UTvI0Q98.js")), mt = N(() => import("./vue-ui-xy-TM3uzoN-.js")), { vue_ui_ridgeline: pt } = Kt(), F = it, V = d({
37
+ const vt = N(() => import("./vue-ui-accordion-CYbAD2Cu.js")), ht = N(() => import("./BaseDraggableDialog-Y4PtzAqS.js")), dt = N(() => import("./DataTable-CrVglLHi.js")), yt = N(() => import("./PackageVersion-fw3Fpue8.js")), ft = N(() => import("./PenAndPaper-ibw3_ryE.js")), gt = N(() => import("./UserOptions-CbRVE0fX.js")), mt = N(() => import("./vue-ui-xy-D5g7rG2a.js")), { vue_ui_ridgeline: pt } = Kt(), F = it, V = d({
38
38
  get() {
39
39
  return Array.isArray(O.value) && O.value.length > 0;
40
40
  },
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as R, useSlots as rt, ref as r, computed as f, toRefs as it, watch as le, shallowRef as Pe, onMounted as vt, onBeforeUnmount as ct, createElementBlock as d, openBlock as i, unref as s, normalizeStyle as O, normalizeClass as B, createBlock as S, createCommentVNode as b, createElementVNode as A, createVNode as ae, createSlots as Ne, withCtx as g, renderSlot as h, normalizeProps as D, guardReactiveProps as M, Fragment as oe, renderList as se, mergeProps as dt, toDisplayString as E, createTextVNode as ht, nextTick as pt } from "vue";
2
- import { u as gt, c as Le, t as ft, a as yt, p as P, b as mt, o as Ve, f as ne, g as bt, d as kt, G as wt, e as Re, i as N, X as Ct, s as $t, x as Tt, h as X, k as De, v as _t, w as xt, y as At, z as Ft } from "./index-CwGyyfTA.js";
2
+ import { u as gt, c as Le, t as ft, a as yt, p as P, b as mt, o as Ve, f as ne, g as bt, d as kt, G as wt, e as Re, i as N, X as Ct, s as $t, x as Tt, h as X, k as De, v as _t, w as xt, y as At, z as Ft } from "./index-0fJgjA-1.js";
3
3
  import { t as It, u as Ot } from "./useResponsive-DfdjqQps.js";
4
- import { u as St } from "./usePrinter-Ctvv8qBg.js";
5
- import { u as Pt, B as Nt } from "./useLoading-Bt5Doa8m.js";
6
- import { u as Me } from "./useNestedProp-Dd5rDkqs.js";
4
+ import { u as St } from "./usePrinter-DhTGExI3.js";
5
+ import { u as Pt, B as Nt } from "./useLoading-D7YHNtLX.js";
6
+ import { u as Me } from "./useNestedProp-DzIeL81v.js";
7
7
  import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
9
- import Rt from "./Legend-DJVidRKZ.js";
10
- import Dt from "./Title-Cr_usVXc.js";
11
- import { _ as Mt } from "./Shape-CVE1tn78.js";
12
- import zt from "./img-iMtnfYdI.js";
9
+ import Rt from "./Legend-C_GWb8Tk.js";
10
+ import Dt from "./Title-9MNHamcm.js";
11
+ import { _ as Mt } from "./Shape-b_M7NPSO.js";
12
+ import zt from "./img-BcHBT2JO.js";
13
13
  import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const Et = ["id"], Ut = ["xmlns", "viewBox"], Wt = ["width", "height"], Gt = ["id"], Ht = ["stop-color"], jt = ["stop-color"], Xt = { key: 1 }, Yt = ["stroke", "cx", "cy", "r", "fill"], qt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Jt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Kt = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Qt = {
15
15
  key: 4,
@@ -32,7 +32,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Wt = ["width", "height"], Gt = ["i
32
32
  },
33
33
  emits: ["selectLegend"],
34
34
  setup(ze, { expose: Be, emit: Ee }) {
35
- const Ue = R(() => import("./vue-ui-accordion-5YUMPNG1.js")), We = R(() => import("./DataTable-DKhkUltp.js")), Ge = R(() => import("./PackageVersion-CvXTVTaQ.js")), He = R(() => import("./PenAndPaper-B_AMsItI.js")), je = R(() => import("./Tooltip-7jDTalyv.js")), Xe = R(() => import("./UserOptions-UTvI0Q98.js")), { vue_ui_rings: Ye } = gt(), qe = rt(), m = ze, F = r(!1), ue = f(() => !!m.dataset && m.dataset.length), C = r(Le()), Je = r(null), U = r(!1), Y = r(""), $ = r(null), re = r(0), T = r(null), ie = r(null), ve = r(null), ce = r(null), de = r(null), he = r(0), pe = r(0), ge = r(0), q = r(!1), e = r(K()), { loading: I, FINAL_DATASET: fe, manualLoading: W } = Pt({
35
+ const Ue = R(() => import("./vue-ui-accordion-CYbAD2Cu.js")), We = R(() => import("./DataTable-CrVglLHi.js")), Ge = R(() => import("./PackageVersion-fw3Fpue8.js")), He = R(() => import("./PenAndPaper-ibw3_ryE.js")), je = R(() => import("./Tooltip-JOEXaEhx.js")), Xe = R(() => import("./UserOptions-CbRVE0fX.js")), { vue_ui_rings: Ye } = gt(), qe = rt(), m = ze, F = r(!1), ue = f(() => !!m.dataset && m.dataset.length), C = r(Le()), Je = r(null), U = r(!1), Y = r(""), $ = r(null), re = r(0), T = r(null), ie = r(null), ve = r(null), ce = r(null), de = r(null), he = r(0), pe = r(0), ge = r(0), q = r(!1), e = r(K()), { loading: I, FINAL_DATASET: fe, manualLoading: W } = Pt({
36
36
  ...it(m),
37
37
  FINAL_CONFIG: e,
38
38
  prepareConfig: K,
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as de, computed as T, ref as x, toRefs as Yt, watch as Ee, shallowRef as pt, onMounted as Dt, onBeforeUnmount as Rt, createElementBlock as i, openBlock as u, unref as n, normalizeStyle as ae, normalizeClass as gt, createBlock as oe, createCommentVNode as g, createElementVNode as k, createVNode as Fe, createSlots as jt, withCtx as O, renderSlot as N, normalizeProps as he, guardReactiveProps as fe, Fragment as q, renderList as K, toDisplayString as X, createTextVNode as Vt, nextTick as Ut } from "vue";
2
- import { u as Gt, c as qt, t as Ht, a as Zt, p as ie, b as Jt, o as mt, f as Ie, d as Kt, g as xt, Y as Qt, e as We, a4 as el, V as tl, X as ll, s as Xe, Z as al, k as se, h as Y, i as H, v as ol, w as sl, y as ul, z as nl } from "./index-CwGyyfTA.js";
2
+ import { u as Gt, c as qt, t as Ht, a as Zt, p as ie, b as Jt, o as mt, f as Ie, d as Kt, g as xt, Y as Qt, e as We, a4 as el, V as tl, X as ll, s as Xe, Z as al, k as se, h as Y, i as H, v as ol, w as sl, y as ul, z as nl } from "./index-0fJgjA-1.js";
3
3
  import { t as il, u as rl } from "./useResponsive-DfdjqQps.js";
4
- import { u as vl, B as yl } from "./useLoading-Bt5Doa8m.js";
5
- import { u as cl } from "./usePrinter-Ctvv8qBg.js";
6
- import { u as bt } from "./useNestedProp-Dd5rDkqs.js";
4
+ import { u as vl, B as yl } from "./useLoading-D7YHNtLX.js";
5
+ import { u as cl } from "./usePrinter-DhTGExI3.js";
6
+ import { u as bt } from "./useNestedProp-DzIeL81v.js";
7
7
  import { u as dl } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as hl } from "./useChartAccessibility-9icAAmYg.js";
9
- import fl from "./Legend-DJVidRKZ.js";
10
- import pl from "./Title-Cr_usVXc.js";
11
- import { _ as kt } from "./Shape-CVE1tn78.js";
12
- import gl from "./img-iMtnfYdI.js";
9
+ import fl from "./Legend-C_GWb8Tk.js";
10
+ import pl from "./Title-9MNHamcm.js";
11
+ import { _ as kt } from "./Shape-b_M7NPSO.js";
12
+ import gl from "./img-BcHBT2JO.js";
13
13
  import { _ as ml } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const xl = ["id"], bl = ["xmlns", "viewBox"], kl = ["width", "height"], wl = { key: 1 }, _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $l = { key: 2 }, Al = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Cl = { key: 0 }, Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], Ll = { key: 1 }, zl = { key: 3 }, Tl = ["id"], Bl = ["stop-color"], Pl = ["stop-color"], Ol = ["id"], Nl = ["stop-color"], El = ["stop-color"], Fl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], Il = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Wl = { key: 0 }, Xl = ["d", "stroke", "stroke-width"], Yl = ["d", "stroke", "stroke-width"], Dl = ["d", "stroke", "stroke-width"], Rl = ["d", "stroke", "stroke-width"], jl = {
15
15
  key: 4,
@@ -45,7 +45,7 @@ const xl = ["id"], bl = ["xmlns", "viewBox"], kl = ["width", "height"], wl = { k
45
45
  }
46
46
  },
47
47
  setup(wt, { expose: _t }) {
48
- const Mt = de(() => import("./vue-ui-accordion-5YUMPNG1.js")), $t = de(() => import("./DataTable-DKhkUltp.js")), At = de(() => import("./PackageVersion-CvXTVTaQ.js")), Ct = de(() => import("./PenAndPaper-B_AMsItI.js")), St = de(() => import("./Tooltip-7jDTalyv.js")), Lt = de(() => import("./UserOptions-UTvI0Q98.js")), { vue_ui_scatter: zt } = Gt(), Z = wt, Ye = T(() => !!Z.dataset && Z.dataset.length), D = x(qt()), Tt = x(null), _e = x(!1), Me = x(""), De = x(0), Q = x(null), Re = x(null), je = x(null), Ve = x(null), Ue = x(null), Ge = x(0), qe = x(0), He = x(0), L = x([]), $e = x(null), Bt = x(null), Pt = x(null), Ae = x(null), e = x(ze());
48
+ const Mt = de(() => import("./vue-ui-accordion-CYbAD2Cu.js")), $t = de(() => import("./DataTable-CrVglLHi.js")), At = de(() => import("./PackageVersion-fw3Fpue8.js")), Ct = de(() => import("./PenAndPaper-ibw3_ryE.js")), St = de(() => import("./Tooltip-JOEXaEhx.js")), Lt = de(() => import("./UserOptions-CbRVE0fX.js")), { vue_ui_scatter: zt } = Gt(), Z = wt, Ye = T(() => !!Z.dataset && Z.dataset.length), D = x(qt()), Tt = x(null), _e = x(!1), Me = x(""), De = x(0), Q = x(null), Re = x(null), je = x(null), Ve = x(null), Ue = x(null), Ge = x(0), qe = x(0), He = x(0), L = x([]), $e = x(null), Bt = x(null), Pt = x(null), Ae = x(null), e = x(ze());
49
49
  function Ot(l = 100, s = 0.8, t = {}) {
50
50
  const { meanX: a = 0, sdX: o = 1, meanY: r = 0, sdY: h = 1, seed: C } = t;
51
51
  let S = (C ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
@@ -1,7 +1,7 @@
1
1
  import { ref as w, computed as g, createElementBlock as e, openBlock as o, normalizeStyle as n, normalizeClass as N, createCommentVNode as a, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as h, createStaticVNode as $ } from "vue";
2
- import { u as F, R as B, X as u, s as v, _ as O } from "./index-CwGyyfTA.js";
3
- import { u as V } from "./useNestedProp-Dd5rDkqs.js";
4
- import y from "./PackageVersion-CvXTVTaQ.js";
2
+ import { u as F, R as B, X as u, s as v, _ as O } from "./index-0fJgjA-1.js";
3
+ import { u as V } from "./useNestedProp-DzIeL81v.js";
4
+ import y from "./PackageVersion-fw3Fpue8.js";
5
5
  import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = ["d", "fill", "stroke"], Y = ["xmlns"], D = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], u1 = ["stroke"], c1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], U1 = ["stroke", "fill"], Y1 = ["fill"], D1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], ul = ["stroke", "fill"], cl = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Ul = ["fill"], Yl = ["xmlns"], Dl = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], u0 = ["stroke"], c0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], U0 = ["x", "y", "height", "width", "fill"], Y0 = ["xmlns", "viewBox"], D0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ut = ["stroke", "stroke-width"], ct = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Ut = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ue = ["x", "y", "fill"], ce = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
7
7
  __name: "vue-ui-skeleton",
@@ -1,6 +1,6 @@
1
1
  import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
2
- import { u as P, o as q, f as J, k as x, i as b, X as f, x as m } from "./index-CwGyyfTA.js";
3
- import { u as Q } from "./useNestedProp-Dd5rDkqs.js";
2
+ import { u as P, o as q, f as J, k as x, i as b, X as f, x as m } from "./index-0fJgjA-1.js";
3
+ import { u as Q } from "./useNestedProp-DzIeL81v.js";
4
4
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const Z = {
6
6
  key: 0,
@@ -0,0 +1,315 @@
1
+ import { defineAsyncComponent as de, ref as f, toRefs as fe, computed as u, watch as X, onMounted as ce, createElementBlock as o, openBlock as s, normalizeStyle as he, createCommentVNode as c, createBlock as ye, unref as r, createVNode as pe, createElementVNode as S, renderSlot as J, toDisplayString as K } from "vue";
2
+ import { u as ge, c as me, t as ke, b as be, a5 as D, o as Q, f as _e, h as y, a6 as we, X as $e, s as O, V as Y, i as ee, k as xe } from "./index-0fJgjA-1.js";
3
+ import { t as Le, u as Ce } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ae, B as Te } from "./useLoading-D7YHNtLX.js";
5
+ import { u as Se } from "./useFitSvgText-2crs6Fv5.js";
6
+ import { u as te } from "./useNestedProp-DzIeL81v.js";
7
+ import { _ as Ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const ze = ["id"], Me = ["xmlns", "viewBox"], Fe = ["width", "height"], Ie = ["id"], Ee = ["stop-color"], Ve = ["stop-color"], je = { key: 1 }, Be = ["d", "fill"], De = ["d", "fill"], Oe = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ge = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Re = ["d"], Ze = ["fill", "d"], We = ["x", "y", "width", "height"], He = ["x", "y", "fill", "font-size", "font-weight"], Ue = ["stroke", "cx", "cy", "fill"], qe = ["x", "y", "font-size", "fill", "font-weight"], Pe = {
9
+ __name: "vue-ui-spark-trend",
10
+ props: {
11
+ config: {
12
+ type: Object,
13
+ default() {
14
+ return {};
15
+ }
16
+ },
17
+ dataset: {
18
+ type: Array,
19
+ default() {
20
+ return [];
21
+ }
22
+ }
23
+ },
24
+ setup(le) {
25
+ const ae = de(() => import("./PackageVersion-fw3Fpue8.js")), { vue_ui_spark_trend: ne } = ge(), p = le, N = f(null), G = f(null), R = f(null), _ = f(null), x = f(null), L = f(me()), e = f(z()), { loading: g, FINAL_DATASET: w, manualLoading: Z } = Ae({
26
+ ...fe(p),
27
+ FINAL_CONFIG: e,
28
+ prepareConfig: z,
29
+ skeletonDataset: [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233],
30
+ skeletonConfig: ke({
31
+ defaultConfig: e.value,
32
+ userConfig: {
33
+ style: {
34
+ animation: { show: !1 },
35
+ backgroundColor: "#99999930",
36
+ line: {
37
+ stroke: "#6A6A6A",
38
+ useColorTrend: !1
39
+ },
40
+ dataLabel: { show: !1, useColorTrend: !1, color: "#6A6A6A" }
41
+ }
42
+ }
43
+ })
44
+ });
45
+ function z() {
46
+ const t = te({
47
+ userConfig: p.config,
48
+ defaultConfig: ne
49
+ });
50
+ return t.theme ? {
51
+ ...te({
52
+ userConfig: be.vue_ui_spark_trend[t.theme] || p.config,
53
+ defaultConfig: t
54
+ })
55
+ } : t;
56
+ }
57
+ const m = u(() => D({
58
+ data: w.value,
59
+ threshold: e.value.downsample.threshold
60
+ }));
61
+ X(() => p.config, (t) => {
62
+ e.value = z(), I.value = e.value.style.width, k.value = e.value.style.height, H();
63
+ }, { deep: !0 }), X(() => w.value, (t) => {
64
+ $.value = D({
65
+ data: w.value,
66
+ threshold: e.value.downsample.threshold
67
+ }).map((a) => [void 0, 1 / 0, -1 / 0, null, NaN].includes(a) ? null : a), W(), j(".vue-ui-sparktrend-progress-label", 6);
68
+ }, { deep: !0 });
69
+ function M(t) {
70
+ return t.map((a) => y(a));
71
+ }
72
+ const $ = f(D({
73
+ data: w.value,
74
+ threshold: e.value.downsample.threshold
75
+ }).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t)), C = f(!1), F = f(null);
76
+ function W() {
77
+ let a = 1e3 / e.value.style.animation.animationFrames, d = performance.now();
78
+ if (!g.value && e.value.style.animation.show && e.value.style.animation.animationFrames && w.value.length > 1) {
79
+ let B = function() {
80
+ C.value = !0;
81
+ let q = performance.now(), P = q - d;
82
+ P > a ? (d = q - P % a, b < m.value.length ? ($.value.push(m.value[b]), b += 1, F.value = requestAnimationFrame(B)) : (cancelAnimationFrame(F.value), $.value = M(m.value), C.value = !1, j(".vue-ui-sparktrend-progress-label", 6))) : F.value = requestAnimationFrame(B);
83
+ };
84
+ $.value = [];
85
+ let b = 0;
86
+ B();
87
+ }
88
+ }
89
+ ce(() => {
90
+ H();
91
+ });
92
+ const ue = u(() => e.value.debug);
93
+ function H() {
94
+ if (Q(p.dataset) && (_e({
95
+ componentName: "VueUiSparkTrend",
96
+ type: "dataset",
97
+ debug: ue.value
98
+ }), Z.value = !0), Q(p.dataset) || (Z.value = !1), e.value.responsive) {
99
+ const t = Le(() => {
100
+ const { width: a, height: d } = Ce({
101
+ chart: N.value,
102
+ source: R.value
103
+ });
104
+ requestAnimationFrame(() => {
105
+ I.value = a, k.value = d;
106
+ });
107
+ });
108
+ _.value && (x.value && _.value.unobserve(x.value), _.value.disconnect()), _.value = new ResizeObserver(t), x.value = N.value.parentNode, _.value.observe(x.value);
109
+ }
110
+ W(), j(".vue-ui-sparktrend-progress-label", 6);
111
+ }
112
+ const I = f(e.value.style.width), k = f(e.value.style.height), i = u(() => ({
113
+ height: k.value,
114
+ width: I.value
115
+ })), n = u(() => ({
116
+ top: e.value.style.padding.top,
117
+ left: e.value.style.padding.left,
118
+ right: i.value.width - e.value.style.padding.right,
119
+ bottom: i.value.height - e.value.style.padding.bottom,
120
+ height: i.value.height - (e.value.style.padding.top + e.value.style.padding.bottom) - (e.value.style.dataLabel.show ? e.value.style.dataLabel.fontSize : 0),
121
+ width: i.value.width - (e.value.style.padding.left + e.value.style.padding.right)
122
+ })), E = u(() => {
123
+ const t = M(m.value);
124
+ return {
125
+ max: Math.max(...t.map((a) => y(a))),
126
+ min: Math.min(...t.map((a) => y(a)))
127
+ };
128
+ }), A = u(() => {
129
+ const t = E.value.min >= 0 ? 0 : E.value.min;
130
+ return Math.abs(t);
131
+ }), se = u(() => E.value.max + A.value);
132
+ function U(t) {
133
+ return t / se.value;
134
+ }
135
+ const oe = u(() => m.value.length), l = u(() => $.value.map((t, a) => {
136
+ const d = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
137
+ return {
138
+ value: y(t),
139
+ absoluteValue: y(d),
140
+ plotValue: y(d + A.value),
141
+ toMax: U(d + A.value),
142
+ x: n.value.left + y(a * (n.value.width / (oe.value - 1))) - e.value.style.padding.right,
143
+ y: n.value.bottom - y(n.value.height * U(d + A.value))
144
+ };
145
+ })), T = u(() => {
146
+ const t = M(m.value);
147
+ return e.value.style.trendLabel.trendType === "global" ? we(t) : e.value.style.trendLabel.trendType === "n-1" && t.length > 1 ? (t.at(-1) / t.at(-2) - 1) * 100 : e.value.style.trendLabel.trendType === "lastToFirst" ? (t.at(-1) / t[0] - 1) * 100 : 0;
148
+ }), V = u(() => C.value || T.value === 0 ? "neutral" : T.value > 0 ? "positive" : "negative"), h = u(() => e.value.style.arrow.colors[V.value]), re = u(() => {
149
+ const t = { x: l.value[0].x, y: i.value.height - 6 }, a = { x: l.value[l.value.length - 1].x, y: i.value.height - 6 }, d = [];
150
+ return l.value.forEach((b) => {
151
+ d.push(`${b.x},${b.y} `);
152
+ }), [t.x, t.y, ...d, a.x, a.y].toString();
153
+ }), ie = u(() => {
154
+ let t = [];
155
+ return l.value.forEach((a) => {
156
+ t.push(`${a.x},${a.y} `);
157
+ }), `M ${t.toString()}`;
158
+ }), v = u(() => k.value / 2 - e.value.style.trendLabel.fontSize), ve = u(() => n.value.left * 0.8), { fitText: j } = Se({
159
+ svgRef: G,
160
+ unitWidth: ve,
161
+ fontSize: e.value.style.trendLabel.fontSize
162
+ });
163
+ return (t, a) => (s(), o("div", {
164
+ ref_key: "sparkTrendChart",
165
+ ref: N,
166
+ class: "vue-ui-spark-trend",
167
+ id: L.value,
168
+ style: he(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`)
169
+ }, [
170
+ (s(), o("svg", {
171
+ ref_key: "svgRef",
172
+ ref: G,
173
+ xmlns: r($e),
174
+ viewBox: `0 0 ${i.value.width} ${i.value.height}`,
175
+ style: "width:100%;background:transparent;overflow:visible"
176
+ }, [
177
+ pe(r(ae)),
178
+ t.$slots["chart-background"] ? (s(), o("foreignObject", {
179
+ key: 0,
180
+ x: 0,
181
+ y: 0,
182
+ width: i.value.width <= 0 ? 10 : i.value.width,
183
+ height: i.value.height <= 0 ? 10 : i.value.height,
184
+ style: {
185
+ pointerEvents: "none"
186
+ }
187
+ }, [
188
+ J(t.$slots, "chart-background", {}, void 0, !0)
189
+ ], 8, Fe)) : c("", !0),
190
+ S("defs", null, [
191
+ S("linearGradient", {
192
+ x1: "0%",
193
+ y1: "0%",
194
+ x2: "0%",
195
+ y2: "100%",
196
+ id: `pill_gradient_${L.value}`
197
+ }, [
198
+ S("stop", {
199
+ offset: "0%",
200
+ "stop-color": r(O)(e.value.style.line.useColorTrend ? h.value : e.value.style.line.stroke, e.value.style.area.opacity)
201
+ }, null, 8, Ee),
202
+ S("stop", {
203
+ offset: "100%",
204
+ "stop-color": e.value.style.backgroundColor
205
+ }, null, 8, Ve)
206
+ ], 8, Ie)
207
+ ]),
208
+ e.value.style.area.show && l.value[0] ? (s(), o("g", je, [
209
+ e.value.style.line.smooth ? (s(), o("path", {
210
+ key: 0,
211
+ d: `M ${l.value[0].x},${n.value.bottom} ${r(Y)(l.value)} L ${l.value.at(-1).x},${n.value.bottom} Z`,
212
+ fill: e.value.style.area.useGradient ? `url(#pill_gradient_${L.value})` : r(O)(e.value.style.line.useColorTrend ? h.value : e.value.style.line.stroke, e.value.style.area.opacity),
213
+ stroke: "none"
214
+ }, null, 8, Be)) : (s(), o("path", {
215
+ key: 1,
216
+ d: `M${re.value}Z`,
217
+ fill: e.value.style.area.useGradient ? `url(#pill_gradient_${L.value})` : r(O)(e.value.style.line.useColorTrend ? h.value : e.value.style.line.stroke, e.value.style.area.opacity),
218
+ stroke: "none"
219
+ }, null, 8, De))
220
+ ])) : c("", !0),
221
+ e.value.style.line.smooth && l.value.length ? (s(), o("path", {
222
+ key: 2,
223
+ d: `M ${r(Y)(l.value)}`,
224
+ stroke: e.value.style.line.useColorTrend ? h.value : e.value.style.line.stroke,
225
+ fill: "none",
226
+ "stroke-width": e.value.style.line.strokeWidth,
227
+ "stroke-linecap": e.value.style.line.strokeLinecap,
228
+ "stroke-linejoin": e.value.style.line.strokeLinejoin
229
+ }, null, 8, Oe)) : c("", !0),
230
+ !e.value.style.line.smooth && l.value.length ? (s(), o("path", {
231
+ key: 3,
232
+ d: ie.value,
233
+ stroke: e.value.style.line.useColorTrend ? h.value : e.value.style.line.stroke,
234
+ fill: "none",
235
+ "stroke-width": e.value.style.line.strokeWidth,
236
+ "stroke-linecap": e.value.style.line.strokeLinecap,
237
+ "stroke-linejoin": e.value.style.line.strokeLinejoin
238
+ }, null, 8, Ge)) : c("", !0),
239
+ r(g) ? (s(), o("path", {
240
+ key: 4,
241
+ fill: "#6A6A6A",
242
+ d: `M ${n.value.left / 2 + 6}, ${v.value + 7} ${n.value.left / 2 - 7}, ${v.value} ${n.value.left / 2 - 7}, ${v.value + 14} Z`
243
+ }, null, 8, Re)) : (s(), o("path", {
244
+ key: 5,
245
+ fill: h.value,
246
+ d: V.value === "positive" ? `M ${n.value.left / 2}, ${v.value} ${n.value.left / 2 - 7}, ${v.value + 12} ${n.value.left / 2 + 7}, ${v.value + 12} Z` : V.value === "negative" ? `M ${n.value.left / 2}, ${v.value + 12} ${n.value.left / 2 - 7}, ${v.value} ${n.value.left / 2 + 7}, ${v.value} Z` : `M ${n.value.left / 2 + 6}, ${v.value + 7} ${n.value.left / 2 - 7}, ${v.value} ${n.value.left / 2 - 7}, ${v.value + 14} Z`
247
+ }, null, 8, Ze)),
248
+ r(g) ? (s(), o("rect", {
249
+ key: 6,
250
+ x: n.value.left / 2 - e.value.style.trendLabel.fontSize - 2,
251
+ y: k.value / 2 + e.value.style.trendLabel.fontSize - 2,
252
+ width: e.value.style.trendLabel.fontSize * 2,
253
+ height: e.value.style.trendLabel.fontSize,
254
+ fill: "#6A6A6A80",
255
+ rx: "3"
256
+ }, null, 8, We)) : c("", !0),
257
+ !C.value && !r(g) ? (s(), o("text", {
258
+ key: 7,
259
+ class: "vue-ui-sparktrend-progress-label",
260
+ x: n.value.left / 2,
261
+ y: k.value / 2 + e.value.style.trendLabel.fontSize * 2,
262
+ "text-anchor": "middle",
263
+ fill: e.value.style.trendLabel.useColorTrend ? h.value : e.value.style.trendLabel.color,
264
+ "font-size": e.value.style.trendLabel.fontSize,
265
+ "font-weight": e.value.style.trendLabel.bold ? "bold" : "normal"
266
+ }, K(r(ee)({
267
+ p: T.value > 0 ? "+" : "",
268
+ v: T.value,
269
+ s: "%",
270
+ r: e.value.style.trendLabel.rounding
271
+ })), 9, He)) : c("", !0),
272
+ l.value.length && l.value.at(-1).x !== void 0 ? (s(), o("circle", {
273
+ key: 8,
274
+ stroke: e.value.style.backgroundColor,
275
+ "stroke-width": 2,
276
+ cx: l.value.at(-1).x,
277
+ cy: l.value.at(-1).y,
278
+ r: 4,
279
+ fill: r(g) ? "#6A6A6A" : h.value
280
+ }, null, 8, Ue)) : c("", !0),
281
+ l.value.length && l.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (s(), o("text", {
282
+ key: 9,
283
+ "text-anchor": "middle",
284
+ x: l.value.at(-1).x,
285
+ y: l.value.at(-1).y - e.value.style.dataLabel.fontSize / 1.5,
286
+ "font-size": e.value.style.dataLabel.fontSize,
287
+ fill: e.value.style.dataLabel.useColorTrend ? h.value : e.value.style.dataLabel.color,
288
+ "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
289
+ }, K(r(xe)(
290
+ e.value.style.dataLabel.formatter,
291
+ l.value.at(-1).value,
292
+ r(ee)({
293
+ p: e.value.style.dataLabel.prefix,
294
+ v: l.value.at(-1).value,
295
+ s: e.value.style.dataLabel.suffix,
296
+ r: e.value.style.dataLabel.rounding
297
+ }),
298
+ { datapoint: l.value.at(-1) }
299
+ )), 9, qe)) : c("", !0)
300
+ ], 8, Me)),
301
+ t.$slots.source ? (s(), o("div", {
302
+ key: 0,
303
+ ref_key: "source",
304
+ ref: R,
305
+ dir: "auto"
306
+ }, [
307
+ J(t.$slots, "source", {}, void 0, !0)
308
+ ], 512)) : c("", !0),
309
+ r(g) ? (s(), ye(Te, { key: 1 })) : c("", !0)
310
+ ], 12, ze));
311
+ }
312
+ }, lt = /* @__PURE__ */ Ne(Pe, [["__scopeId", "data-v-7034e800"]]);
313
+ export {
314
+ lt as default
315
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent as Z, useSlots as ee, onMounted as B, ref as x, toRefs as te, computed as w, watch as E, nextTick as le, createElementBlock as i, openBlock as n, normalizeStyle as d, unref as o, renderSlot as D, createCommentVNode as c, createBlock as ae, normalizeProps as oe, mergeProps as M, createElementVNode as v, toDisplayString as y, Fragment as P, renderList as se, createVNode as ne } from "vue";
2
- import { u as ue, c as ie, t as re, a as ve, p as C, b as de, d as ce, o as pe, f as V, g as fe, e as ye, s as I, k as _, i as A, X as ge, x as me } from "./index-CwGyyfTA.js";
3
- import { u as O } from "./useNestedProp-Dd5rDkqs.js";
4
- import { u as he, B as xe } from "./useLoading-Bt5Doa8m.js";
2
+ import { u as ue, c as ie, t as re, a as ve, p as C, b as de, d as ce, o as pe, f as V, g as fe, e as ye, s as I, k as _, i as A, X as ge, x as me } from "./index-0fJgjA-1.js";
3
+ import { u as O } from "./useNestedProp-DzIeL81v.js";
4
+ import { u as he, B as xe } from "./useLoading-D7YHNtLX.js";
5
5
  const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["xmlns", "viewBox"], Ce = ["id"], _e = ["stop-color"], Ae = ["stop-color"], Se = ["height", "width", "fill", "rx"], $e = ["height", "width", "fill", "rx"], De = ["height", "width", "fill", "rx"], Ie = {
6
6
  key: 2,
7
7
  ref: "source",
@@ -31,7 +31,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
31
31
  },
32
32
  emits: ["selectDatapoint"],
33
33
  setup(S, { emit: j }) {
34
- const U = Z(() => import("./PackageVersion-CvXTVTaQ.js")), { vue_ui_sparkbar: R } = ue(), f = S, W = ee();
34
+ const U = Z(() => import("./PackageVersion-fw3Fpue8.js")), { vue_ui_sparkbar: R } = ue(), f = S, W = ee();
35
35
  B(() => {
36
36
  W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
37
37
  });
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent as P, ref as b, toRefs as T, onMounted as N, computed as s, watch as M, createElementBlock as r, openBlock as u, normalizeStyle as g, createCommentVNode as d, createBlock as U, toDisplayString as k, unref as i, createVNode as q, createElementVNode as y, renderSlot as F, normalizeClass as V } from "vue";
2
- import { u as B } from "./useNestedProp-Dd5rDkqs.js";
3
- import { u as X, c as Y, t as H, b as J, o as K, f as E, g as Q, P as W, X as Z, k as ee, h as x, i as te } from "./index-CwGyyfTA.js";
4
- import { u as ae, B as le } from "./useLoading-Bt5Doa8m.js";
2
+ import { u as B } from "./useNestedProp-DzIeL81v.js";
3
+ import { u as X, c as Y, t as H, b as J, o as K, f as E, g as Q, P as W, X as Z, k as ee, h as x, i as te } from "./index-0fJgjA-1.js";
4
+ import { u as ae, B as le } from "./useLoading-D7YHNtLX.js";
5
5
  import { u as oe } from "./useChartAccessibility-9icAAmYg.js";
6
6
  const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["stop-color"], re = ["stop-color"], ve = ["d", "stroke", "stroke-linecap"], ce = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], de = ["x", "y", "width", "height"], fe = ["x", "y", "font-size", "fill", "font-weight"], ye = {
7
7
  key: 2,
@@ -24,7 +24,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
24
24
  }
25
25
  },
26
26
  setup(D) {
27
- const O = P(() => import("./PackageVersion-CvXTVTaQ.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = ae({
27
+ const O = P(() => import("./PackageVersion-fw3Fpue8.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = ae({
28
28
  ...T(c),
29
29
  FINAL_CONFIG: e,
30
30
  prepareConfig: p,