vue-data-ui 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-8_V5egWW.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dz-j6ERs.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-vwh3dolO.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-C4B0wEFn.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  39. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-xseR2SnT.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-NfRSd6fU.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-C973vfYh.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-BC9czZGG.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-DITnRSiS.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  76. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  77. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-rmbBw_0d.js} +3 -3
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-DOCeCCqz.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  86. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/pdf-Cjsn5GEE.js +0 -61
  92. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  93. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,13 +1,13 @@
1
1
  import { useCssVars as mt, computed as _, defineAsyncComponent as N, ref as y, toRefs as pt, watch as ne, shallowRef as Ue, onMounted as yt, onBeforeUnmount as bt, watchEffect as gt, createElementBlock as b, openBlock as m, unref as r, normalizeStyle as se, normalizeClass as Ve, createBlock as V, createCommentVNode as C, renderSlot as k, createSlots as He, withCtx as z, normalizeProps as J, guardReactiveProps as K, createVNode as je, Fragment as ue, renderList as kt, createElementVNode as $, mergeProps as be, toDisplayString as H, resolveDynamicComponent as wt, createTextVNode as Ge, nextTick as We } from "vue";
2
- import { u as xt, c as qe, t as Ct, a as ge, p as re, b as _t, o as zt, f as $t, d as Tt, e as St, j as Xe, i as ke, X as Ft, l as Ot, F as Q, al as It, v as Pt, w as At, k as Ye } from "./index-BKQqb9lF.js";
2
+ import { u as xt, c as qe, t as Ct, a as ge, p as re, b as _t, o as zt, f as $t, d as Tt, e as St, j as Xe, i as ke, X as Ft, l as Ot, F as Q, al as It, v as Pt, w as At, k as Ye } from "./index-BFqW8WA0.js";
3
3
  import { t as Dt, u as Mt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Et } from "./usePrinter-BzuXiubT.js";
4
+ import { u as Et } from "./usePrinter-DDIKRiOp.js";
5
5
  import { u as Nt, B as Rt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Ze } from "./useNestedProp-aBOhgs4U.js";
6
+ import { u as Ze } from "./useNestedProp-BSZCnuGl.js";
7
7
  import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
9
- import Ut from "./img-gBDz7xQQ.js";
10
- import Vt from "./Title-Dz-j6ERs.js";
9
+ import Ut from "./img-DvuphHeJ.js";
10
+ import Vt from "./Title-AGmmsSi_.js";
11
11
  import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  function Je(u, c = 0) {
13
13
  const f = u.reduce((o, { x: s, r: d }) => Math.min(o, s - d - c), 1 / 0), p = u.reduce((o, { x: s, r: d }) => Math.max(o, s + d + c), -1 / 0), v = u.reduce((o, { y: s, r: d }) => Math.min(o, s - d - c), 1 / 0), n = u.reduce((o, { y: s, r: d }) => Math.max(o, s + d + c), -1 / 0);
@@ -100,7 +100,7 @@ const Gt = ["id"], Wt = ["xmlns", "viewBox", "height", "width"], qt = ["x", "y",
100
100
  "5748196e": L.value,
101
101
  "2de8b0e7": he.value
102
102
  }));
103
- const p = N(() => import("./BaseIcon-DLesaZpW.js")), v = N(() => import("./vue-ui-accordion-B5QeV3BK.js")), n = N(() => import("./DataTable-BAf4Obr9.js")), o = N(() => import("./UserOptions-CsDlFB0L.js")), s = N(() => import("./PenAndPaper-B6OvfyHH.js")), d = N(() => import("./PackageVersion-Cv_ypT0N.js")), w = N(() => import("./BaseDraggableDialog-B2BQC0-h.js")), x = u, ee = f, { vue_ui_circle_pack: te } = xt(), j = _(() => !!x.dataset && x.dataset.length), S = y(qe()), T = y(null), we = y(null), xe = y(null), Ce = y(0), _e = y(0), ze = y(0), tt = y(null), G = y(null), e = y(ve()), { loading: $e, FINAL_DATASET: Te } = Nt({
103
+ const p = N(() => import("./BaseIcon-BLg8FaQ2.js")), v = N(() => import("./vue-ui-accordion-Cv747Pg6.js")), n = N(() => import("./DataTable-BRN1-1ob.js")), o = N(() => import("./UserOptions-DEFwuQIo.js")), s = N(() => import("./PenAndPaper-TgGWddgD.js")), d = N(() => import("./PackageVersion-Jz9FlNXl.js")), w = N(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), x = u, ee = f, { vue_ui_circle_pack: te } = xt(), j = _(() => !!x.dataset && x.dataset.length), S = y(qe()), T = y(null), we = y(null), xe = y(null), Ce = y(0), _e = y(0), ze = y(0), tt = y(null), G = y(null), e = y(ve()), { loading: $e, FINAL_DATASET: Te } = Nt({
104
104
  ...pt(x),
105
105
  FINAL_CONFIG: e,
106
106
  prepareConfig: ve,
@@ -1,6 +1,6 @@
1
1
  import { ref as c, computed as _, onMounted as R, onBeforeUnmount as S, createElementBlock as l, createCommentVNode as o, openBlock as i, normalizeStyle as E, unref as m, createElementVNode as r, normalizeClass as C, toDisplayString as p, nextTick as b } from "vue";
2
- import { u as F } from "./useNestedProp-aBOhgs4U.js";
3
- import { u as L, c as z, X as O, s as I } from "./index-BKQqb9lF.js";
2
+ import { u as F } from "./useNestedProp-BSZCnuGl.js";
3
+ import { u as L, c as z, X as O, s as I } from "./index-BFqW8WA0.js";
4
4
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const N = ["xmlns", "height", "width"], T = {
6
6
  id: "follower",
@@ -0,0 +1,412 @@
1
+ import { useCssVars as we, computed as U, defineAsyncComponent as t, ref as r, watch as _, createElementBlock as I, openBlock as g, createElementVNode as V, createBlock as H, createCommentVNode as D, normalizeStyle as S, Fragment as Q, renderList as Te, normalizeClass as Ce, renderSlot as y, resolveDynamicComponent as Ie, mergeProps as Me, unref as k, createSlots as Oe, withCtx as R, normalizeProps as j, guardReactiveProps as K } from "vue";
2
+ import { u as $e, c as Pe } from "./index-BFqW8WA0.js";
3
+ import { u as Se } from "./useNestedProp-BSZCnuGl.js";
4
+ import "./BaseIcon-BLg8FaQ2.js";
5
+ import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ import { u as ze } from "./usePrinter-DDIKRiOp.js";
7
+ import Ae from "./UserOptions-DEFwuQIo.js";
8
+ import { u as Xe } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import _e from "./PenAndPaper-TgGWddgD.js";
10
+ const He = ["id"], De = ["onMousedown", "onTouchstart"], Ye = ["onMousedown", "onTouchstart"], We = ["onMousedown", "onTouchstart"], Ne = ["onMousedown", "onTouchstart"], Ee = ["onMousedown", "onTouchstart"], z = 1, Le = {
11
+ __name: "vue-ui-dashboard",
12
+ props: {
13
+ dataset: Array,
14
+ config: Object
15
+ },
16
+ emits: ["change"],
17
+ setup(q, { expose: J, emit: Z }) {
18
+ we((e) => ({
19
+ "60600e28": he.value,
20
+ "1eeafe32": fe.value
21
+ }));
22
+ const ee = {
23
+ VueDataUi: t(() => import("./vue-data-ui-vwh3dolO.js")),
24
+ VueUi3dBar: t(() => import("./vue-ui-3d-bar-DNw3RWRt.js")),
25
+ VueUiAccordion: t(() => import("./vue-ui-accordion-Cv747Pg6.js")),
26
+ VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-B1Yun-v7.js")),
27
+ VueUiAnnotator: t(() => import("./vue-ui-annotator-B_5hOApA.js")),
28
+ VueUiCandlestick: t(() => import("./vue-ui-candlestick-BBYqZVUp.js")),
29
+ VueUiChestnut: t(() => import("./vue-ui-chestnut-C4B0wEFn.js")),
30
+ VueUiDigits: t(() => import("./vue-ui-digits-Dr4OHGU0.js")),
31
+ VueUiDonut: t(() => import("./vue-ui-donut-xseR2SnT.js")),
32
+ VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-hJh-1Z48.js")),
33
+ VueUiDumbbell: t(() => import("./vue-ui-dumbbell-FdTx7uAG.js")),
34
+ VueUiFlow: t(() => import("./vue-ui-flow-Bh6FqlC1.js")),
35
+ VueUiGalaxy: t(() => import("./vue-ui-galaxy-C0B8stYi.js")),
36
+ VueUiGauge: t(() => import("./vue-ui-gauge-B1-UiZwV.js")),
37
+ VueUiHeatmap: t(() => import("./vue-ui-heatmap-NfRSd6fU.js")),
38
+ VueUiKpi: t(() => import("./vue-ui-kpi-CH3rWyiG.js")),
39
+ VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-D9EVnpxk.js")),
40
+ VueUiMolecule: t(() => import("./vue-ui-molecule-C973vfYh.js")),
41
+ VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-DdLxBhlO.js")),
42
+ VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-tARXMYzx.js")),
43
+ VueUiOnion: t(() => import("./vue-ui-onion-BC9czZGG.js")),
44
+ VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-CxDIkZKr.js")),
45
+ VueUiQuadrant: t(() => import("./vue-ui-quadrant-Bpm5ZoTp.js")),
46
+ VueUiQuickChart: t(() => import("./vue-ui-quick-chart-Bkc_JBCw.js")),
47
+ VueUiRadar: t(() => import("./vue-ui-radar-DVJQYNeL.js")),
48
+ VueUiRating: t(() => import("./vue-ui-rating-DITnRSiS.js")),
49
+ VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-D_OTYUmS.js")),
50
+ VueUiRings: t(() => import("./vue-ui-rings-CUT1N_kK.js")),
51
+ VueUiScatter: t(() => import("./vue-ui-scatter-DwnZHy0V.js")),
52
+ VueUiSkeleton: t(() => import("./vue-ui-skeleton-CeyaKpZd.js")),
53
+ VueUiSmiley: t(() => import("./vue-ui-smiley-B9yNexWr.js")),
54
+ VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-DoZpd0H2.js")),
55
+ VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-DjoqH_Xs.js")),
56
+ VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-DTYVcrHV.js")),
57
+ VueUiSparkbar: t(() => import("./vue-ui-sparkbar-BzxynYoW.js")),
58
+ VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-DoznCX5h.js")),
59
+ VueUiSparkline: t(() => import("./vue-ui-sparkline-ZKit-hgG.js")),
60
+ VueUiStripPlot: t(() => import("./vue-ui-strip-plot-CO7NVeFi.js")),
61
+ VueUiTable: t(() => import("./vue-ui-table-rmbBw_0d.js")),
62
+ VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-BEFdai_O.js")),
63
+ VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-CjgaQXbc.js")),
64
+ VueUiThermometer: t(() => import("./vue-ui-thermometer--aqaJwFo.js")),
65
+ VueUiTimer: t(() => import("./vue-ui-timer-qFNHDcU_.js")),
66
+ VueUiTiremarks: t(() => import("./vue-ui-tiremarks-DA8fzQHo.js")),
67
+ VueUiTreemap: t(() => import("./vue-ui-treemap-DGC9zxon.js")),
68
+ VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-DOCeCCqz.js")),
69
+ VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-DOCeCCqz.js")),
70
+ VueUiWaffle: t(() => import("./vue-ui-waffle-DD9jtkcQ.js")),
71
+ VueUiWheel: t(() => import("./vue-ui-wheel-87VStrfJ.js")),
72
+ VueUiWordCloud: t(() => import("./vue-ui-word-cloud-CCMfa9H1.js")),
73
+ VueUiXy: t(() => import("./vue-ui-xy-C2SnbN6w.js")),
74
+ VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-WxSJqoiF.js")),
75
+ VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-DPIOnp9J.js")),
76
+ VueUiGizmo: t(() => import("./vue-ui-gizmo-Df_SCjOI.js")),
77
+ VueUiStackbar: t(() => import("./vue-ui-stackbar-J-gxI4Xn.js")),
78
+ VueUiBullet: t(() => import("./vue-ui-bullet-C2Aj7Lcx.js")),
79
+ VueUiFunnel: t(() => import("./vue-ui-funnel-BlsKhHbk.js")),
80
+ VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-Ce-DJ8xC.js")),
81
+ VueUiCirclePack: t(() => import("./vue-ui-circle-pack-CLn19BHH.js")),
82
+ VueUiWorld: t(() => import("./vue-ui-world-Cm3Hn1-2.js")),
83
+ VueUiChord: t(() => import("./vue-ui-chord-B9Zml1V7.js")),
84
+ VueUiRidgeline: t(() => import("./vue-ui-ridgeline-Gc1c4LXq.js"))
85
+ }, { vue_ui_dashboard: oe } = $e(), te = r(null), ne = r(null), A = r(null), M = q, u = U(() => Se({
86
+ userConfig: M.config,
87
+ defaultConfig: oe
88
+ })), X = r(Pe()), p = r(u.value.locked);
89
+ function ie() {
90
+ p.value = !p.value;
91
+ }
92
+ _(() => M.config, () => {
93
+ p.value = u.value.locked, G.value = !u.value.userOptions.showOnChartHover;
94
+ });
95
+ function Y() {
96
+ return M.dataset.map((e, o) => ({
97
+ ...e,
98
+ index: o
99
+ }));
100
+ }
101
+ const s = r(Y());
102
+ _(() => M.dataset, () => {
103
+ s.value = Y();
104
+ });
105
+ const W = U(
106
+ () => s.value.map((e) => ({
107
+ ...e,
108
+ resolvedComponent: typeof e.component == "string" ? ee[e.component] : e.component
109
+ }))
110
+ ), v = r(null), l = r(null), h = r({ x: 0, y: 0 }), f = r({ x: 0, y: 0 }), d = r(null), c = r(!1), m = r(null), w = r(!1);
111
+ function N(e) {
112
+ const o = e.target;
113
+ (o.tagName === "INPUT" && o.type === "range" || o.classList.contains("range-handle")) && (w.value = !0);
114
+ }
115
+ function E(e) {
116
+ const o = e.target;
117
+ o.tagName === "INPUT" && o.type === "range" && (w.value = !1);
118
+ }
119
+ const { isPrinting: ue, isImaging: ae, generatePdf: L, generateImage: le } = ze({
120
+ elementId: `vue-ui-dashboard_${X.value}`,
121
+ fileName: u.value.userOptions.print.filename || "dashboard",
122
+ options: {
123
+ ...u.value.userOptions.print,
124
+ aspectRatio: u.value.style.board.aspectRatio
125
+ }
126
+ });
127
+ function re(e) {
128
+ if (!p.value && (c.value = !0, m.value = e, l.value === null)) {
129
+ v.value = e, h.value = { x: event.clientX, y: event.clientY };
130
+ const o = s.value[e], i = 100 - o.width, n = 100 - o.height;
131
+ o.left < 0 && (o.left = 0), o.top < 0 && (o.top = 0), o.left > i && (o.left = i), o.top > n && (o.top = n), o.left < 0 && (o.left = 0), o.top < 0 && (o.top = 0), o.left + o.width > 100 && (o.left = 100 - o.width), o.top + o.height > 100 && (o.top = 100 - o.height);
132
+ }
133
+ }
134
+ function O(e, o) {
135
+ c.value = !0, m.value = e, l.value = { index: e, direction: o };
136
+ const i = s.value[e];
137
+ f.value = { x: event.clientX, y: event.clientY, initialWidth: i.width, initialHeight: i.height };
138
+ }
139
+ function B(e, o, i) {
140
+ if (l.value.direction.includes("top")) {
141
+ const n = e.height - i / d.value.offsetHeight * 100;
142
+ n >= z && (e.top += i / d.value.offsetHeight * 100, e.height = n);
143
+ }
144
+ if (l.value.direction.includes("bottom")) {
145
+ const n = e.height + i / d.value.offsetHeight * 100;
146
+ n >= z && (e.height = n);
147
+ }
148
+ if (l.value.direction.includes("left")) {
149
+ const n = e.width - o / d.value.offsetWidth * 100;
150
+ n >= z && (e.left += o / d.value.offsetWidth * 100, e.width = n);
151
+ }
152
+ if (l.value.direction.includes("right")) {
153
+ const n = e.width + o / d.value.offsetWidth * 100;
154
+ n >= z && (e.width = n);
155
+ }
156
+ }
157
+ function se(e) {
158
+ if (!(p.value || w.value)) {
159
+ if (c.value = !0, v.value !== null) {
160
+ const o = s.value[v.value], i = e.clientX - h.value.x, n = e.clientY - h.value.y, a = o.left + i / d.value.offsetWidth * 100, b = o.top + n / d.value.offsetHeight * 100;
161
+ a >= 0 && b >= 0 && a + o.width <= 100 && b + o.height <= 100 && (o.left = a, o.top = b), h.value = { x: e.clientX, y: e.clientY };
162
+ }
163
+ if (l.value !== null) {
164
+ const o = s.value[l.value.index], i = e.clientX - f.value.x, n = e.clientY - f.value.y;
165
+ B(o, i, n), f.value = { x: e.clientX, y: e.clientY };
166
+ }
167
+ }
168
+ }
169
+ const de = Z;
170
+ _(
171
+ s,
172
+ (e) => {
173
+ e && !c.value && de("change", s.value);
174
+ },
175
+ { deep: !0 }
176
+ );
177
+ function ce() {
178
+ v.value = null, l.value = null, c.value = !1, m.value = null, s.value.forEach((e) => {
179
+ e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
180
+ });
181
+ }
182
+ function pe(e) {
183
+ p.value || w.value || (c.value = !0, m.value = e, l.value === null && (v.value = e, h.value = { x: event.touches[0].clientX, y: event.touches[0].clientY }));
184
+ }
185
+ function $(e, o, i) {
186
+ if (c.value = !0, m.value = e, l.value === null) {
187
+ l.value = { index: e, direction: o };
188
+ const n = s.value[e];
189
+ f.value = { x: i.touches[0].clientX, y: i.touches[0].clientY, initialWidth: n.width, initialHeight: n.height };
190
+ }
191
+ }
192
+ function P(e) {
193
+ if (c.value = !0, e.preventDefault(), l.value !== null) {
194
+ const o = s.value[l.value.index], i = e.touches[0].clientX - f.value.x, n = e.touches[0].clientY - f.value.y;
195
+ B(o, i, n), f.value = { x: e.touches[0].clientX, y: e.touches[0].clientY };
196
+ }
197
+ }
198
+ function ve(e) {
199
+ if (!(p.value || w.value) && (c.value = !0, e.preventDefault(), v.value !== null)) {
200
+ const o = s.value[v.value], i = e.touches[0].clientX - h.value.x, n = e.touches[0].clientY - h.value.y, a = o.left + i / d.value.offsetWidth * 100, b = o.top + n / d.value.offsetHeight * 100;
201
+ a >= 0 && b >= 0 && a + o.width <= 100 && b + o.height <= 100 && (o.left = a, o.top = b), h.value = { x: e.touches[0].clientX, y: e.touches[0].clientY };
202
+ }
203
+ }
204
+ function T() {
205
+ c.value = !1, m.value = null, v.value = null, l.value = null, s.value.forEach((e) => {
206
+ e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
207
+ });
208
+ }
209
+ const he = U(() => u.value.style.item.borderColor), fe = U(() => u.value.style.resizeHandles.backgroundColor), me = U(() => u.value.style.board.aspectRatio), ge = U(() => u.value.style.board.backgroundColor), be = U(() => u.value.style.board.border);
210
+ function Ue() {
211
+ return s.value;
212
+ }
213
+ const { userOptionsVisible: G, setUserOptionsVisibility: F, keepUserOptionState: Ve } = Xe({ config: u.value }), C = r(!1);
214
+ function x() {
215
+ C.value = !C.value;
216
+ }
217
+ function ye() {
218
+ F(!0);
219
+ }
220
+ function ke() {
221
+ F(!1);
222
+ }
223
+ return J({
224
+ generatePdf: L,
225
+ getItemsPositions: Ue,
226
+ toggleLock: ie
227
+ }), (e, o) => (g(), I("div", {
228
+ id: `vue-ui-dashboard_${X.value}`,
229
+ onMousedown: N,
230
+ onMouseup: E,
231
+ onTouchstart: N,
232
+ onTouchend: E,
233
+ onMouseenter: ye,
234
+ onMouseleave: ke,
235
+ ref_key: "dashboardRef",
236
+ ref: te,
237
+ style: {
238
+ position: "relative"
239
+ }
240
+ }, [
241
+ V("div", {
242
+ class: "vue-ui-dashboard-container",
243
+ ref_key: "dashboardContainer",
244
+ ref: d,
245
+ style: S(`outline:${be.value}; background:${ge.value}; aspect-ratio:${me.value};${C.value ? "pointer-events:none" : ""}`)
246
+ }, [
247
+ V("div", {
248
+ class: "vue-ui-dashboard-grid-container",
249
+ ref: "container",
250
+ onMousemove: se,
251
+ onMouseup: ce,
252
+ onTouchmove: ve,
253
+ onTouchend: T,
254
+ style: S(`background:${u.value.style.board.backgroundColor}`)
255
+ }, [
256
+ o[4] || (o[4] = V("div", { class: "vue-ui-dashboard-grid" }, null, -1)),
257
+ (g(!0), I(Q, null, Te(W.value, (i, n) => (g(), I("div", {
258
+ key: i.id,
259
+ class: Ce({ "vue-ui-dashboard-grid-item": !0, "vue-ui-dashboard-grid-item--locked": p.value }),
260
+ style: S({
261
+ width: `${i.width}%`,
262
+ height: `${i.height}%`,
263
+ left: `${i.left}%`,
264
+ top: `${i.top}%`,
265
+ cursor: "move",
266
+ boxShadow: m.value === n ? "0 6px 12px -3px rgba(0,0,0,0.3)" : "",
267
+ zIndex: m.value === n ? W.value.length + 1 : i.index,
268
+ backgroundColor: u.value.style.item.backgroundColor
269
+ }),
270
+ onMousedown: (a) => re(n),
271
+ onTouchstart: (a) => pe(n)
272
+ }, [
273
+ p.value ? D("", !0) : (g(), I(Q, { key: 0 }, [
274
+ V("div", {
275
+ class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
276
+ onMousedown: (a) => O(n, "top-left"),
277
+ onTouchstart: (a) => $(n, "top-left", a),
278
+ onTouchmove: o[0] || (o[0] = (a) => P(a)),
279
+ onTouchend: T
280
+ }, null, 40, Ye),
281
+ V("div", {
282
+ class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
283
+ onMousedown: (a) => O(n, "top-right"),
284
+ onTouchstart: (a) => $(n, "top-right", a),
285
+ onTouchmove: o[1] || (o[1] = (a) => P(a)),
286
+ onTouchend: T
287
+ }, null, 40, We),
288
+ V("div", {
289
+ class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
290
+ onMousedown: (a) => O(n, "bottom-left"),
291
+ onTouchstart: (a) => $(n, "bottom-left", a),
292
+ onTouchmove: o[2] || (o[2] = (a) => P(a)),
293
+ onTouchend: T
294
+ }, null, 40, Ne),
295
+ V("div", {
296
+ class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
297
+ onMousedown: (a) => O(n, "bottom-right"),
298
+ onTouchstart: (a) => $(n, "bottom-right", a),
299
+ onTouchmove: o[3] || (o[3] = (a) => P(a)),
300
+ onTouchend: T
301
+ }, null, 40, Ee)
302
+ ], 64)),
303
+ y(e.$slots, "top", {
304
+ item: i,
305
+ index: n
306
+ }, void 0, !0),
307
+ i.resolvedComponent ? (g(), H(Ie(i.resolvedComponent), Me({
308
+ key: 1,
309
+ ref_for: !0
310
+ }, i.props), null, 16)) : y(e.$slots, "content", {
311
+ key: 2,
312
+ item: i,
313
+ index: n,
314
+ left: i.left,
315
+ top: i.top,
316
+ height: i.height,
317
+ width: i.width
318
+ }, void 0, !0),
319
+ y(e.$slots, "bottom", {
320
+ item: i,
321
+ index: n
322
+ }, void 0, !0)
323
+ ], 46, De))), 128))
324
+ ], 36)
325
+ ], 4),
326
+ (g(), I("svg", {
327
+ style: {
328
+ width: "100%",
329
+ height: "100%",
330
+ pointerEvents: "none",
331
+ position: "absolute",
332
+ top: 0,
333
+ left: 0,
334
+ zIndex: 2
335
+ },
336
+ ref_key: "svgRef",
337
+ ref: A
338
+ }, null, 512)),
339
+ u.value.userOptions.buttons.annotator && d.value && A.value ? (g(), H(_e, {
340
+ key: 0,
341
+ color: u.value.style.board.color,
342
+ backgroundColor: u.value.style.board.backgroundColor,
343
+ active: C.value,
344
+ svgRef: A.value,
345
+ onClose: x,
346
+ style: {
347
+ zIndex: 2
348
+ }
349
+ }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : D("", !0),
350
+ (u.value.allowPrint || u.value.userOptions.show) && (u.value.userOptions.buttons.pdf || u.value.userOptions.buttons.img) ? (g(), H(Ae, {
351
+ key: 1,
352
+ ref_key: "userOptionsRef",
353
+ ref: ne,
354
+ backgroundColor: u.value.style.board.backgroundColor,
355
+ color: u.value.style.board.color,
356
+ isPrinting: k(ue),
357
+ isImaging: k(ae),
358
+ uid: X.value,
359
+ position: u.value.userOptions.position,
360
+ hasTooltip: !1,
361
+ hasPdf: u.value.userOptions.buttons.pdf,
362
+ hasImg: u.value.userOptions.buttons.img,
363
+ hasXls: !1,
364
+ hasTable: !1,
365
+ hasLabel: !1,
366
+ hasFullscreen: !1,
367
+ chartElement: d.value,
368
+ callbacks: u.value.userOptions.callbacks,
369
+ hasAnnotator: u.value.userOptions.buttons.annotator,
370
+ isAnnotation: C.value,
371
+ printScale: u.value.userOptions.print.scale,
372
+ titles: { ...u.value.userOptions.buttonTitles },
373
+ onGeneratePdf: k(L),
374
+ onGenerateImage: k(le),
375
+ onToggleAnnotator: x,
376
+ style: S({ visibility: k(Ve) ? k(G) ? "visible" : "hidden" : "visible", zIndex: 2 })
377
+ }, Oe({ _: 2 }, [
378
+ e.$slots.menuIcon ? {
379
+ name: "menuIcon",
380
+ fn: R(({ isOpen: i, color: n }) => [
381
+ y(e.$slots, "menuIcon", j(K({ isOpen: i, color: n })), void 0, !0)
382
+ ]),
383
+ key: "0"
384
+ } : void 0,
385
+ e.$slots.optionPdf ? {
386
+ name: "optionPdf",
387
+ fn: R(() => [
388
+ y(e.$slots, "optionPdf", {}, void 0, !0)
389
+ ]),
390
+ key: "1"
391
+ } : void 0,
392
+ e.$slots.optionImg ? {
393
+ name: "optionImg",
394
+ fn: R(() => [
395
+ y(e.$slots, "optionImg", {}, void 0, !0)
396
+ ]),
397
+ key: "2"
398
+ } : void 0,
399
+ e.$slots.optionAnnotator ? {
400
+ name: "optionAnnotator",
401
+ fn: R(({ toggleAnnotator: i, isAnnotator: n }) => [
402
+ y(e.$slots, "optionAnnotator", j(K({ toggleAnnotator: i, isAnnotator: n })), void 0, !0)
403
+ ]),
404
+ key: "3"
405
+ } : void 0
406
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "position", "hasPdf", "hasImg", "chartElement", "callbacks", "hasAnnotator", "isAnnotation", "printScale", "titles", "onGeneratePdf", "onGenerateImage", "style"])) : D("", !0)
407
+ ], 40, He));
408
+ }
409
+ }, Ze = /* @__PURE__ */ Re(Le, [["__scopeId", "data-v-e51f13e1"]]);
410
+ export {
411
+ Ze as default
412
+ };
@@ -1,6 +1,6 @@
1
1
  import { ref as k, computed as d, createElementBlock as i, openBlock as $, Fragment as o, createCommentVNode as m, createElementVNode as l, normalizeStyle as v, unref as C, renderList as b, createBlock as N } from "vue";
2
- import { u as q } from "./useNestedProp-aBOhgs4U.js";
3
- import { u as M, X as S } from "./index-BKQqb9lF.js";
2
+ import { u as q } from "./useNestedProp-BSZCnuGl.js";
3
+ import { u as M, X as S } from "./index-BFqW8WA0.js";
4
4
  const w = { key: 0 }, B = ["d", "fill"], F = ["d", "fill"], X = ["d", "fill"], E = ["d", "fill"], I = ["d", "fill"], O = ["d", "fill"], A = ["d", "fill"], D = { key: 1 }, G = ["cx", "cy", "fill"], V = {
5
5
  __name: "Digit",
6
6
  props: {