vue-data-ui 2.14.2 → 2.14.3-beta.0

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 (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-DrUXalK1.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-BBiAE4t8.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-avTvifnO.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-BAOfnFRQ.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-D8n1mvaG.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-Cpx0xSce.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-ClnGCm8G.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-Bwu7jdjH.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-BzQcbTCN.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D65xhJAN.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DjwiDPEk.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-B8nH7aKM.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-B71Dk29x.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-BuP-Tir7.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-fd2DeGS7.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-D7idYX2d.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-CSeVuPYh.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-BzH6XFI9.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-ksl9rS7r.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-CKM2gCr5.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-C653sJjz.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-DdffTqYM.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-vdc7daf_.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-Cjq4hqGi.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-CMFgIKLE.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BvODcd7y.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-BX73-v3g.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-Ogvne-GG.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DXeRsoL_.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-DXDQOgbn.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-CWStby-a.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-C4kdJPNJ.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-Du4IVYWM.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-XpoAcLb4.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-Ce_eR3L5.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-D6VPixUt.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-C3MA75pG.js} +309 -293
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-CeQOb65i.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-D-_7gBhg.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-BsXNYzPK.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy--N2CYrWl.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-DhKGlAJd.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-Bcwgwj-f.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-BlY7-ZUF.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-typzqDiw.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-Cj_96Iru.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-Dr42qu-K.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-DfQCNRcr.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-ChryER9p.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-CWm-A-co.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-Bb8s5St0.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-DcD53HSq.js} +188 -171
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-CpuFmTG9.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-BHO_J8Tc.js} +369 -353
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-LsSH7YAg.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-rcN8C68M.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-CmZ8rXwC.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CpXWT3tk.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-x_HCzzIw.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-DNgUU2mO.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-qa5B2MES.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-C0DEaxQK.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-DjctYLri.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-Un3CJINy.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BascS5LC.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-CZYnWAUW.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-DyIDPpiz.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Ctz_OFbi.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-DqIv6O-t.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BAfdL6Ih.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-CCMkrVp7.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap--gO5Zuyp.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-5HTiQPhC.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-BbxNtsdP.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-DwUmt-Jo.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-YyiGuluO.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-hHSyoGry.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-Bjyjarmi.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-B3lfeeZs.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-DrVnxe3n.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-CRFfYl4B.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-BeVT9bsc.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-B6LjQd7h.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-DviTudRz.js} +7 -7
  88. package/package.json +1 -1
@@ -1,20 +1,20 @@
1
- import { defineAsyncComponent as $, computed as p, ref as c, watch as st, shallowRef as Fe, onMounted as nt, onBeforeUnmount as ut, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as P, createCommentVNode as d, createElementVNode as x, createVNode as oe, createSlots as it, withCtx as f, renderSlot as g, normalizeProps as L, guardReactiveProps as z, Fragment as A, renderList as O, toDisplayString as D, createTextVNode as Ne, nextTick as ct } from "vue";
2
- import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Se, d as Ie, Q as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, R as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-DBYSSUsg.js";
1
+ import { defineAsyncComponent as $, computed as p, ref as c, watch as st, shallowRef as Fe, onMounted as nt, onBeforeUnmount as ut, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as P, createCommentVNode as d, createElementVNode as x, createVNode as oe, createSlots as it, withCtx as f, renderSlot as g, normalizeProps as L, guardReactiveProps as z, Fragment as A, renderList as O, toDisplayString as D, createTextVNode as Se, nextTick as ct } from "vue";
2
+ import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Ne, d as Ie, R as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, S as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-BzH6XFI9.js";
3
3
  import { t as _t, u as Tt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as Me } from "./useNestedProp-Cu77c3W4.js";
5
- import { u as Pt } from "./usePrinter-xF9W73YL.js";
4
+ import { u as Me } from "./useNestedProp-CKM2gCr5.js";
5
+ import { u as Pt } from "./usePrinter-C653sJjz.js";
6
6
  import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as At } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ot from "./Legend-DLJ9I-cg.js";
9
- import Ft from "./Title-xtSGHclp.js";
10
- import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["id"], zt = ["stop-color"], Mt = ["stop-color"], Vt = { key: 1 }, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Bt = ["d", "stroke", "stroke-width"], Dt = ["d", "stroke", "stroke-width"], Gt = { key: 2 }, Wt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Xt = ["points", "stroke", "stroke-width"], jt = ["points", "stroke", "stroke-width", "fill"], qt = { key: 3 }, Ht = ["cx", "cy", "fill", "r", "stroke"], Yt = {
8
+ import Ot from "./Legend-Cpx0xSce.js";
9
+ import Ft from "./Title-B71Dk29x.js";
10
+ import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["id"], zt = ["stop-color"], Mt = ["stop-color"], Vt = { key: 1 }, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Bt = ["d", "stroke", "stroke-width"], Dt = ["d", "stroke", "stroke-width"], Gt = { key: 2 }, Wt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Xt = ["points", "stroke", "stroke-width"], jt = ["points", "stroke", "stroke-width", "fill"], qt = { key: 3 }, Ht = ["cx", "cy", "fill", "r", "stroke"], Yt = {
12
12
  key: 5,
13
13
  class: "vue-data-ui-watermark"
14
- }, Qt = ["onClick"], Jt = {
14
+ }, Jt = ["onClick"], Kt = {
15
15
  key: 0,
16
16
  style: { "max-width": "200px", margin: "0 auto" }
17
- }, Kt = {
17
+ }, Qt = {
18
18
  __name: "vue-ui-radar",
19
19
  props: {
20
20
  config: {
@@ -32,10 +32,10 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
32
32
  },
33
33
  emits: ["selectLegend"],
34
34
  setup(Ve, { expose: Ue, emit: Ee }) {
35
- const Be = $(() => import("./DataTable-DzCoab4C.js")), De = $(() => import("./PenAndPaper-BdnVqpO9.js")), Ge = $(() => import("./vue-ui-accordion-CEZHj_of.js")), We = $(() => import("./vue-ui-skeleton-BJy7bURO.js")), Xe = $(() => import("./Tooltip-D8swCIay.js")), je = $(() => import("./UserOptions-BbJkNcCM.js")), qe = $(() => import("./PackageVersion-DrhYhyQR.js")), He = $(() => import("./vue-ui-sparkbar-CW95uw6O.js")), { vue_ui_radar: Ye } = dt(), h = Ve, V = p(() => !!h.dataset && Object.keys(h.dataset).length), _ = c(vt()), Qe = c(null), H = c(!1), Y = c(""), re = c(0), U = c(null), se = c(null), ne = c(null), ue = c(null), ie = c(null), ce = c(0), de = c(0), ve = c(0), e = p({
35
+ const Be = $(() => import("./DataTable-D8n1mvaG.js")), De = $(() => import("./PenAndPaper-BzQcbTCN.js")), Ge = $(() => import("./vue-ui-accordion-Cjq4hqGi.js")), We = $(() => import("./vue-ui-skeleton-qa5B2MES.js")), Xe = $(() => import("./Tooltip-BuP-Tir7.js")), je = $(() => import("./UserOptions-fd2DeGS7.js")), qe = $(() => import("./PackageVersion-Bwu7jdjH.js")), He = $(() => import("./vue-ui-sparkbar-Un3CJINy.js")), { vue_ui_radar: Ye } = dt(), h = Ve, V = p(() => !!h.dataset && Object.keys(h.dataset).length), _ = c(vt()), Je = c(null), H = c(!1), Y = c(""), re = c(0), U = c(null), se = c(null), ne = c(null), ue = c(null), ie = c(null), ce = c(0), de = c(0), ve = c(0), e = p({
36
36
  get: () => fe(),
37
37
  set: (t) => t
38
- }), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: he } = xt({ config: e.value }), { svgRef: ge } = At({ config: e.value.style.chart.title });
38
+ }), { userOptionsVisible: J, setUserOptionsVisibility: pe, keepUserOptionState: he } = xt({ config: e.value }), { svgRef: ge } = At({ config: e.value.style.chart.title });
39
39
  function fe() {
40
40
  const t = Me({
41
41
  userConfig: h.config,
@@ -50,9 +50,9 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
50
50
  } : t;
51
51
  }
52
52
  st(() => h.config, (t) => {
53
- e.value = fe(), Q.value = !e.value.userOptions.showOnChartHover, ye(), ce.value += 1, de.value += 1, ve.value += 1, m.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tootlip ? e.value.style.chart.tootlip.show : !1;
53
+ e.value = fe(), J.value = !e.value.userOptions.showOnChartHover, ye(), ce.value += 1, de.value += 1, ve.value += 1, m.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tootlip ? e.value.style.chart.tootlip.show : !1;
54
54
  }, { deep: !0 });
55
- const C = Fe(null), N = Fe(null);
55
+ const C = Fe(null), S = Fe(null);
56
56
  function ye() {
57
57
  if (gt(h.dataset) && M({
58
58
  componentName: "VueUiRadar",
@@ -70,25 +70,25 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
70
70
  i.value.width = a, i.value.height = o;
71
71
  });
72
72
  });
73
- C.value && (N.value && C.value.unobserve(N.value), C.value.disconnect()), C.value = new ResizeObserver(t), N.value = U.value.parentNode, C.value.observe(N.value);
73
+ C.value && (S.value && C.value.unobserve(S.value), C.value.disconnect()), C.value = new ResizeObserver(t), S.value = U.value.parentNode, C.value.observe(S.value);
74
74
  }
75
75
  }
76
76
  nt(() => {
77
77
  ye();
78
78
  }), ut(() => {
79
- C.value && (N.value && C.value.unobserve(N.value), C.value.disconnect());
79
+ C.value && (S.value && C.value.unobserve(S.value), C.value.disconnect());
80
80
  });
81
81
  const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: Ce } = Pt({
82
82
  elementId: `vue-ui-radar_${_.value}`,
83
83
  fileName: e.value.style.chart.title.text || "vue-ui-radar",
84
84
  options: e.value.userOptions.print
85
- }), Je = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), we = p(() => ft(e.value.customPalette)), m = c({
85
+ }), Ke = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), we = p(() => ft(e.value.customPalette)), m = c({
86
86
  dataLabels: {
87
87
  show: e.value.style.chart.layout.labels.dataLabels.show
88
88
  },
89
89
  showTable: e.value.table.show,
90
90
  showTooltip: e.value.style.chart.tooltip.show
91
- }), Ke = p(() => ({
91
+ }), Qe = p(() => ({
92
92
  style: {
93
93
  backgroundColor: "#FFFFFF00",
94
94
  animation: {
@@ -109,12 +109,12 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
109
109
  })), i = c({
110
110
  height: 312,
111
111
  width: 512
112
- }), Ze = Ee, v = c([]), E = c(null), S = c(!1);
112
+ }), Ze = Ee, v = c([]), E = c(null), N = c(!1);
113
113
  function $e(t) {
114
- S.value = !0, v.value.includes(t) ? (E.value = t, v.value = v.value.filter((a) => a !== t), setTimeout(() => {
115
- S.value = !1, E.value = null;
114
+ N.value = !0, v.value.includes(t) ? (E.value = t, v.value = v.value.filter((a) => a !== t), setTimeout(() => {
115
+ N.value = !1, E.value = null;
116
116
  }, 500)) : (v.value.push(t), setTimeout(() => {
117
- S.value = !1;
117
+ N.value = !1;
118
118
  }, 500)), Ze("selectLegend", I.value.filter((a, o) => !v.value.includes(o)).map((a) => ({
119
119
  name: a.name,
120
120
  color: a.color,
@@ -137,7 +137,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
137
137
  type: "datasetAttributeEmpty",
138
138
  property: "categories"
139
139
  }) : h.dataset.categories.forEach((t, a) => {
140
- Se({
140
+ Ne({
141
141
  datasetObject: t,
142
142
  requiredAttributes: ["name"]
143
143
  }).forEach((o) => {
@@ -153,7 +153,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
153
153
  type: "datasetAttribute",
154
154
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
155
155
  }) : h.dataset.series.forEach((t, a) => {
156
- Se({
156
+ Ne({
157
157
  datasetObject: t,
158
158
  requiredAttributes: ["name", "values", "target"]
159
159
  }).forEach((o) => {
@@ -176,14 +176,14 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
176
176
  color: Ie(t.color) || we.value[a] || F[a] || F[a % F.length],
177
177
  serieId: `radar_serie_${_.value}_${a}`,
178
178
  formatter: t.formatter || null
179
- })) : []), _e = p(() => Math.max(...k.value.flatMap((t) => t.values))), Te = p(() => k.value.length), J = p(() => Math.min(i.value.width, i.value.height) / 3), Pe = p(() => Re({
179
+ })) : []), _e = p(() => Math.max(...k.value.flatMap((t) => t.values))), Te = p(() => k.value.length), K = p(() => Math.min(i.value.width, i.value.height) / 3), Pe = p(() => Re({
180
180
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
181
- radius: J.value,
181
+ radius: K.value,
182
182
  sides: Te.value,
183
183
  rotation: 0
184
184
  })), tt = p(() => {
185
185
  const t = [];
186
- for (let a = 0; a < J.value; a += J.value / e.value.style.chart.layout.grid.graduations)
186
+ for (let a = 0; a < K.value; a += K.value / e.value.style.chart.layout.grid.graduations)
187
187
  t.push(a);
188
188
  return t;
189
189
  }), w = p(() => Pe.value.coordinates.map((t, a) => {
@@ -200,7 +200,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
200
200
  plots: o
201
201
  };
202
202
  }));
203
- function K({ x: t, y: a }) {
203
+ function Q({ x: t, y: a }) {
204
204
  let o = "middle";
205
205
  return t = Math.round(t), a = Math.round(a), t > i.value.width / 2 && (t += 12, o = "start"), t < i.value.width / 2 && (t -= 12, o = "end"), a > i.value.height / 2 && (a += 20), a < i.value.height / 2 && (a -= 12), a === i.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
206
206
  }
@@ -357,7 +357,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
357
357
  active: j.value,
358
358
  onClose: te
359
359
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
360
- Je.value ? (r(), u("div", {
360
+ Ke.value ? (r(), u("div", {
361
361
  key: 1,
362
362
  ref_key: "noTitle",
363
363
  ref: ie,
@@ -384,9 +384,9 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
384
384
  }
385
385
  }, null, 8, ["config"]))
386
386
  ], 512)) : d("", !0),
387
- e.value.userOptions.show && V.value && (n(he) || n(Q)) ? (r(), P(n(je), {
387
+ e.value.userOptions.show && V.value && (n(he) || n(J)) ? (r(), P(n(je), {
388
388
  ref_key: "details",
389
- ref: Qe,
389
+ ref: Je,
390
390
  key: `user_options_${re.value}`,
391
391
  backgroundColor: e.value.style.chart.backgroundColor,
392
392
  color: e.value.style.chart.color,
@@ -415,7 +415,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
415
415
  onToggleTooltip: Oe,
416
416
  onToggleAnnotator: te,
417
417
  style: q({
418
- visibility: n(he) ? n(Q) ? "visible" : "hidden" : "visible"
418
+ visibility: n(he) ? n(J) ? "visible" : "hidden" : "visible"
419
419
  })
420
420
  }, it({ _: 2 }, [
421
421
  t.$slots.menuIcon ? {
@@ -549,9 +549,9 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
549
549
  }, null, 8, Dt),
550
550
  e.value.style.chart.layout.labels.dataLabels.show ? (r(), u("g", Gt, [
551
551
  (r(!0), u(A, null, O(w.value, (o, l) => (r(), u("text", {
552
- x: K(o).x,
553
- y: K(o).y,
554
- "text-anchor": K(o).anchor,
552
+ x: Q(o).x,
553
+ y: Q(o).y,
554
+ "text-anchor": Q(o).anchor,
555
555
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
556
556
  fill: e.value.style.chart.layout.labels.dataLabels.color,
557
557
  onMouseenter: (s) => lt(o, l),
@@ -568,7 +568,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
568
568
  stroke: e.value.style.chart.backgroundColor,
569
569
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
570
570
  fill: "none",
571
- class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": S.value && E.value === l && e.value.useCssAnimation })
571
+ class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": N.value && E.value === l && e.value.useCssAnimation })
572
572
  }, null, 10, Xt)) : d("", !0),
573
573
  e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), u("polygon", {
574
574
  key: 1,
@@ -576,7 +576,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
576
576
  stroke: o.color,
577
577
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
578
578
  fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : n(le)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
579
- class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": S.value && E.value === l && e.value.useCssAnimation })
579
+ class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": N.value && E.value === l && e.value.useCssAnimation })
580
580
  }, null, 10, jt)) : d("", !0)
581
581
  ])
582
582
  ]))), 256)),
@@ -589,7 +589,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
589
589
  r: X.value !== null && X.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
590
590
  stroke: v.value.includes(b) ? "transparent" : e.value.style.chart.backgroundColor,
591
591
  "stroke-width": 0.5,
592
- class: B({ "animated-out": v.value.includes(b) && e.value.useCssAnimation, "animated-in": S.value && E.value === b && e.value.useCssAnimation })
592
+ class: B({ "animated-out": v.value.includes(b) && e.value.useCssAnimation, "animated-in": N.value && E.value === b && e.value.useCssAnimation })
593
593
  }, null, 10, Ht))), 256))
594
594
  ]))), 256))
595
595
  ])) : d("", !0),
@@ -633,7 +633,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
633
633
  v: o.totalProportion * 100,
634
634
  s: "%",
635
635
  r: e.value.style.chart.legend.roundingPercentage
636
- })), 13, Qt)
636
+ })), 13, Jt)
637
637
  ]),
638
638
  _: 1
639
639
  }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
@@ -669,10 +669,10 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
669
669
  g(t.$slots, "tooltip-before", L(z({ ...ee.value })), void 0, !0)
670
670
  ]),
671
671
  "tooltip-after": f(() => [
672
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), u("div", Jt, [
672
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), u("div", Kt, [
673
673
  oe(n(He), {
674
674
  dataset: Z.value,
675
- config: Ke.value,
675
+ config: Qe.value,
676
676
  backgroundOpacity: 0
677
677
  }, null, 8, ["dataset", "config"])
678
678
  ])),
@@ -707,19 +707,19 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
707
707
  onClose: a[2] || (a[2] = (o) => m.value.showTable = !1)
708
708
  }, {
709
709
  th: f(({ th: o }) => [
710
- Ne(D(o.name), 1)
710
+ Se(D(o.name), 1)
711
711
  ]),
712
712
  td: f(({ td: o }) => [
713
- Ne(D(o), 1)
713
+ Se(D(o), 1)
714
714
  ]),
715
715
  _: 1
716
716
  }, 8, ["colNames", "head", "body", "config", "title"]))
717
717
  ]),
718
718
  _: 1
719
719
  }, 8, ["config"])) : d("", !0)
720
- ], 46, St));
720
+ ], 46, Nt));
721
721
  }
722
- }, ca = /* @__PURE__ */ Nt(Kt, [["__scopeId", "data-v-0723e970"]]);
722
+ }, ca = /* @__PURE__ */ St(Qt, [["__scopeId", "data-v-0723e970"]]);
723
723
  export {
724
724
  ca as default
725
725
  };
@@ -1,6 +1,6 @@
1
- import { ref as $, useSlots as q, onMounted as R, computed as x, watch as J, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as B, renderList as Q, renderSlot as j, mergeProps as O, withKeys as ee } from "vue";
2
- import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, Z as I } from "./index-DBYSSUsg.js";
3
- import { u as ie } from "./useNestedProp-Cu77c3W4.js";
1
+ import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as B, renderList as Z, renderSlot as j, mergeProps as O, withKeys as ee } from "vue";
2
+ import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, _ as I } from "./index-BzH6XFI9.js";
3
+ import { u as ie } from "./useNestedProp-CKM2gCr5.js";
4
4
  import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const ne = {
6
6
  key: 0,
@@ -33,7 +33,7 @@ const ne = {
33
33
  },
34
34
  emits: ["rate"],
35
35
  setup(Y, { expose: G, emit: L }) {
36
- const { vue_ui_rating: U } = te(), u = Y, h = $(le()), S = $(!1), v = $(void 0), m = $(void 0), w = $([]), D = q();
36
+ const { vue_ui_rating: U } = te(), u = Y, h = $(le()), S = $(!1), v = $(void 0), m = $(void 0), w = $([]), D = J();
37
37
  R(() => {
38
38
  D["chart-background"] && console.warn("VueUiRating does not support the #chart-background slot.");
39
39
  });
@@ -47,15 +47,15 @@ const ne = {
47
47
  defaultConfig: U
48
48
  });
49
49
  }
50
- J(() => u.config, (l) => {
50
+ Q(() => u.config, (l) => {
51
51
  e.value = C(), F();
52
52
  }, { deep: !0 });
53
53
  const K = x(() => typeof u.dataset.rating == "object" && !Array.isArray(u.dataset.rating) ? T(u.dataset.rating) : u.dataset.rating), P = x(() => typeof u.dataset.rating == "object" && !Array.isArray(u.dataset.rating)), y = $(K.value), V = x(() => e.value.type === "image"), g = x(() => e.value.readonly);
54
54
  function T(l) {
55
55
  let i = 0, t = 0;
56
56
  for (const d in l) {
57
- const Z = parseInt(d), A = l[d];
58
- i += Z * A, t += A;
57
+ const q = parseInt(d), A = l[d];
58
+ i += q * A, t += A;
59
59
  }
60
60
  if (t === 0)
61
61
  return 0;
@@ -145,7 +145,7 @@ const ne = {
145
145
  }),
146
146
  e.value
147
147
  )), 5)) : p("", !0),
148
- (a(!0), o(B, null, Q(w.value, (t, c) => (a(), o("div", {
148
+ (a(!0), o(B, null, Z(w.value, (t, c) => (a(), o("div", {
149
149
  class: "vue-ui-rating-unit-container",
150
150
  style: s(`position:relative;height:${e.value.style.itemSize}px;width:${e.value.style.itemSize}px`)
151
151
  }, [
@@ -1,11 +1,11 @@
1
1
  import { useCssVars as Je, computed as y, defineAsyncComponent as R, ref as o, watch as Ke, shallowRef as ke, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as n, openBlock as i, unref as a, normalizeStyle as L, createBlock as B, createCommentVNode as v, createSlots as et, withCtx as I, renderSlot as h, normalizeProps as E, guardReactiveProps as T, normalizeClass as H, createVNode as tt, createElementVNode as lt, Fragment as O, renderList as z, mergeProps as be, toDisplayString as N } from "vue";
2
- import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct, G as $e, i as J, f as K, F as Q } from "./index-DBYSSUsg.js";
2
+ import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct, G as $e, i as J, f as K, F as Q } from "./index-BzH6XFI9.js";
3
3
  import { t as dt, u as vt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as _e } from "./useNestedProp-Cu77c3W4.js";
5
- import { u as ft } from "./usePrinter-xF9W73YL.js";
4
+ import { u as _e } from "./useNestedProp-CKM2gCr5.js";
5
+ import { u as ft } from "./usePrinter-C653sJjz.js";
6
6
  import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
8
- import gt from "./Title-xtSGHclp.js";
8
+ import gt from "./Title-B71Dk29x.js";
9
9
  import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["cx", "cy", "r", "stroke", "stroke-width"], xt = { key: 1 }, $t = ["stroke", "d", "stroke-width"], _t = { style: { "pointer-events": "none" } }, Ct = ["cx", "cy", "fill", "r", "stroke"], Pt = ["x", "y", "fill", "font-size"], Lt = { key: 2 }, Ot = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], zt = { style: { "pointer-events": "none" } }, At = ["cx", "cy", "fill", "r", "stroke"], It = ["x", "y", "fill", "font-size"], St = ["text-anchor", "transform", "x", "y", "onClick", "font-weight", "font-size", "fill"], Mt = ["cx", "cy", "fill", "stroke", "onClick", "r"], Ft = {
11
11
  key: 5,
@@ -32,7 +32,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
32
32
  "06f35f1c": Re.value,
33
33
  "67a1ec04": Ee.value
34
34
  }));
35
- const Le = R(() => import("./PackageVersion-DrhYhyQR.js")), Oe = R(() => import("./PenAndPaper-BdnVqpO9.js")), ze = R(() => import("./vue-ui-skeleton-BJy7bURO.js")), Ae = R(() => import("./UserOptions-BbJkNcCM.js")), { vue_ui_relation_circle: Ie } = st(), k = Ce, j = y(() => !!k.dataset && Object.keys(k.dataset).length), A = o(it()), Z = o(0), S = o(null), ee = o(null), te = o(null), le = o(null), se = o(0), l = y({
35
+ const Le = R(() => import("./PackageVersion-Bwu7jdjH.js")), Oe = R(() => import("./PenAndPaper-BzQcbTCN.js")), ze = R(() => import("./vue-ui-skeleton-qa5B2MES.js")), Ae = R(() => import("./UserOptions-fd2DeGS7.js")), { vue_ui_relation_circle: Ie } = st(), k = Ce, j = y(() => !!k.dataset && Object.keys(k.dataset).length), A = o(it()), Z = o(0), S = o(null), ee = o(null), te = o(null), le = o(null), se = o(0), l = y({
36
36
  get: () => re(),
37
37
  set: (e) => e
38
38
  }), { userOptionsVisible: U, setUserOptionsVisibility: ie, keepUserOptionState: ae } = yt({ config: l.value }), { svgRef: ne } = ht({ config: l.value.style.title });