vue-data-ui 3.17.9 → 3.17.11

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 (126) hide show
  1. package/dist/{PackageVersion-Ov37I8ii.js → PackageVersion-CHNfLQ9Q.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-age-pyramid.js +1 -1
  4. package/dist/components/vue-ui-bullet.js +1 -1
  5. package/dist/components/vue-ui-bump.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-cursor.js +1 -1
  12. package/dist/components/vue-ui-dag.js +1 -1
  13. package/dist/components/vue-ui-dashboard.js +1 -1
  14. package/dist/components/vue-ui-digits.js +1 -1
  15. package/dist/components/vue-ui-donut-evolution.js +1 -1
  16. package/dist/components/vue-ui-donut.js +1 -1
  17. package/dist/components/vue-ui-dumbbell.js +1 -1
  18. package/dist/components/vue-ui-flow.js +1 -1
  19. package/dist/components/vue-ui-funnel.js +1 -1
  20. package/dist/components/vue-ui-galaxy.js +1 -1
  21. package/dist/components/vue-ui-gauge.js +1 -1
  22. package/dist/components/vue-ui-geo.js +1 -1
  23. package/dist/components/vue-ui-gizmo.js +1 -1
  24. package/dist/components/vue-ui-heatmap.js +1 -1
  25. package/dist/components/vue-ui-history-plot.js +1 -1
  26. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  27. package/dist/components/vue-ui-kpi.js +1 -1
  28. package/dist/components/vue-ui-molecule.js +1 -1
  29. package/dist/components/vue-ui-mood-radar.js +1 -1
  30. package/dist/components/vue-ui-nested-donuts.js +1 -1
  31. package/dist/components/vue-ui-onion.js +1 -1
  32. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  33. package/dist/components/vue-ui-quadrant.js +1 -1
  34. package/dist/components/vue-ui-quick-chart.js +1 -1
  35. package/dist/components/vue-ui-radar.js +1 -1
  36. package/dist/components/vue-ui-relation-circle.js +1 -1
  37. package/dist/components/vue-ui-ridgeline.js +1 -1
  38. package/dist/components/vue-ui-rings.js +1 -1
  39. package/dist/components/vue-ui-scatter.js +1 -1
  40. package/dist/components/vue-ui-skeleton.js +1 -1
  41. package/dist/components/vue-ui-spark-trend.js +1 -1
  42. package/dist/components/vue-ui-sparkbar.js +1 -1
  43. package/dist/components/vue-ui-sparkgauge.js +1 -1
  44. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  45. package/dist/components/vue-ui-sparkline.js +1 -1
  46. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  47. package/dist/components/vue-ui-stackbar.js +1 -1
  48. package/dist/components/vue-ui-stackline.js +1 -1
  49. package/dist/components/vue-ui-strip-plot.js +1 -1
  50. package/dist/components/vue-ui-table-sparkline.js +1 -1
  51. package/dist/components/vue-ui-table.js +1 -1
  52. package/dist/components/vue-ui-thermometer.js +1 -1
  53. package/dist/components/vue-ui-timer.js +1 -1
  54. package/dist/components/vue-ui-tiremarks.js +1 -1
  55. package/dist/components/vue-ui-treemap.js +1 -1
  56. package/dist/components/vue-ui-vertical-bar.js +1 -1
  57. package/dist/components/vue-ui-waffle.js +1 -1
  58. package/dist/components/vue-ui-wheel.js +1 -1
  59. package/dist/components/vue-ui-word-cloud.js +1 -1
  60. package/dist/components/vue-ui-world.js +1 -1
  61. package/dist/components/vue-ui-xy-canvas.js +1 -1
  62. package/dist/components/vue-ui-xy.js +1 -1
  63. package/dist/style.css +1 -1
  64. package/dist/{vue-data-ui-C1Z1RCcf.js → vue-data-ui-BhpgB8UJ.js} +61 -61
  65. package/dist/vue-data-ui.js +61 -61
  66. package/dist/{vue-ui-3d-bar-BqqCv_L2.js → vue-ui-3d-bar-DlLiXS6Z.js} +1 -1
  67. package/dist/{vue-ui-age-pyramid-C-2sRuVe.js → vue-ui-age-pyramid-DraVdYRy.js} +1 -1
  68. package/dist/{vue-ui-bullet-CkBMlG46.js → vue-ui-bullet-WnD9rJbc.js} +19 -18
  69. package/dist/{vue-ui-bump-DxBzf8_x.js → vue-ui-bump-DwgahfiC.js} +1 -1
  70. package/dist/{vue-ui-candlestick-CQw6E5XK.js → vue-ui-candlestick-BleQTpuq.js} +1 -1
  71. package/dist/{vue-ui-carousel-table-ehHnnwYQ.js → vue-ui-carousel-table-BjXxtjCZ.js} +1 -1
  72. package/dist/{vue-ui-chestnut-CEG1n9Bg.js → vue-ui-chestnut-xBDbJ9su.js} +1 -1
  73. package/dist/{vue-ui-chord-Bm8sj1jg.js → vue-ui-chord-D_pGtRHt.js} +36 -35
  74. package/dist/{vue-ui-circle-pack-BhtBzyoU.js → vue-ui-circle-pack-C7-wxx3Y.js} +1 -1
  75. package/dist/{vue-ui-cursor-KjOp9R9e.js → vue-ui-cursor-DBvL5KTg.js} +1 -1
  76. package/dist/{vue-ui-dag-DsBuepaA.js → vue-ui-dag-BKGTFMQK.js} +1 -1
  77. package/dist/{vue-ui-dashboard-ClvBMAzA.js → vue-ui-dashboard-CEtNOoBY.js} +58 -58
  78. package/dist/{vue-ui-digits-CUN5zijI.js → vue-ui-digits-BeIq6BVd.js} +1 -1
  79. package/dist/{vue-ui-donut-B1EgAu-L.js → vue-ui-donut-BjV5_nf1.js} +44 -43
  80. package/dist/{vue-ui-donut-evolution-5PjaWTvx.js → vue-ui-donut-evolution-B7hCGAIO.js} +30 -29
  81. package/dist/{vue-ui-dumbbell-D8hAgMko.js → vue-ui-dumbbell-ZMLefa9v.js} +85 -86
  82. package/dist/{vue-ui-flow-jJLellQk.js → vue-ui-flow-BYjkId4Z.js} +63 -62
  83. package/dist/{vue-ui-funnel-C4JIWkGm.js → vue-ui-funnel-BZtpP-Of.js} +2 -2
  84. package/dist/{vue-ui-galaxy-CuqTB4XR.js → vue-ui-galaxy-bdIj6ERd.js} +56 -55
  85. package/dist/{vue-ui-gauge-B5bJUzMr.js → vue-ui-gauge-DT5-qFXl.js} +1 -1
  86. package/dist/{vue-ui-geo-BJiW5vL1.js → vue-ui-geo-nXp15sZ5.js} +1 -1
  87. package/dist/{vue-ui-gizmo-D5e5T4fu.js → vue-ui-gizmo-J5MTo522.js} +1 -1
  88. package/dist/{vue-ui-heatmap-Bsr9R8ek.js → vue-ui-heatmap-G7DzkGq2.js} +1 -1
  89. package/dist/{vue-ui-history-plot-pXrD1Fm7.js → vue-ui-history-plot-BLoxv5uS.js} +35 -36
  90. package/dist/{vue-ui-horizontal-bar-7HugQ0dT.js → vue-ui-horizontal-bar-B8wbIiWo.js} +1 -1
  91. package/dist/{vue-ui-kpi-BLVCrWfG.js → vue-ui-kpi-AT8jIXnu.js} +1 -1
  92. package/dist/{vue-ui-molecule-DhIWpt07.js → vue-ui-molecule-j5opFMNQ.js} +1 -1
  93. package/dist/{vue-ui-mood-radar-BUpDYe22.js → vue-ui-mood-radar-Opwn9CwC.js} +84 -83
  94. package/dist/{vue-ui-nested-donuts-JhqmPAhH.js → vue-ui-nested-donuts-Cc_5aNFc.js} +117 -120
  95. package/dist/{vue-ui-onion-DUSgz_9-.js → vue-ui-onion-CjDIGb68.js} +62 -63
  96. package/dist/{vue-ui-parallel-coordinate-plot-Cbn9N0y0.js → vue-ui-parallel-coordinate-plot-CcQZTqNS.js} +35 -36
  97. package/dist/{vue-ui-quadrant-Foz7WuoD.js → vue-ui-quadrant-FoV76r7G.js} +32 -33
  98. package/dist/{vue-ui-quick-chart-DVH6A-Nr.js → vue-ui-quick-chart-BPu7QR35.js} +3 -3
  99. package/dist/{vue-ui-radar-CDpMulQa.js → vue-ui-radar-C60tBqYo.js} +72 -73
  100. package/dist/{vue-ui-relation-circle-ChtfTtXY.js → vue-ui-relation-circle-CaeT1NKV.js} +1 -1
  101. package/dist/{vue-ui-ridgeline-DXs-IeYj.js → vue-ui-ridgeline-DpLnKVx2.js} +2 -2
  102. package/dist/{vue-ui-rings-BfhsTTW_.js → vue-ui-rings-Bp1MqbOV.js} +171 -172
  103. package/dist/{vue-ui-scatter-CYWGf_oA.js → vue-ui-scatter-C73P-oBq.js} +100 -101
  104. package/dist/{vue-ui-skeleton-BPUPkwbA.js → vue-ui-skeleton-BSR3VLyw.js} +1 -1
  105. package/dist/{vue-ui-spark-trend-Cz7B6dw6.js → vue-ui-spark-trend-BqlM3vP7.js} +1 -1
  106. package/dist/{vue-ui-sparkbar-Dv89_7Pf.js → vue-ui-sparkbar-DqtEGBj9.js} +1 -1
  107. package/dist/{vue-ui-sparkgauge-BOPXQq5e.js → vue-ui-sparkgauge-DWOru6YE.js} +1 -1
  108. package/dist/{vue-ui-sparkhistogram-BXYBq4wu.js → vue-ui-sparkhistogram-DfYv2pHk.js} +1 -1
  109. package/dist/{vue-ui-sparkline-B-CVRLdL.js → vue-ui-sparkline-Bu5xssk9.js} +1 -1
  110. package/dist/{vue-ui-sparkstackbar-Dg3wvlR7.js → vue-ui-sparkstackbar-D-a14Bay.js} +1 -1
  111. package/dist/{vue-ui-stackbar-Dojc9vet.js → vue-ui-stackbar-BB-KLlR-.js} +45 -46
  112. package/dist/{vue-ui-stackline-BrZw5IXj.js → vue-ui-stackline-fWtYk_Aa.js} +119 -120
  113. package/dist/{vue-ui-strip-plot-Jqkr7XWO.js → vue-ui-strip-plot-D0QC2wVw.js} +1 -1
  114. package/dist/{vue-ui-table-B_TE9dWt.js → vue-ui-table-Rk5HCqBr.js} +2 -2
  115. package/dist/{vue-ui-table-sparkline-DtryAFeu.js → vue-ui-table-sparkline-Cb6fl-Ux.js} +1 -1
  116. package/dist/{vue-ui-thermometer-Cf2u4_lH.js → vue-ui-thermometer-ConedyG6.js} +1 -1
  117. package/dist/{vue-ui-timer-BCw6IHHQ.js → vue-ui-timer-B-GcfZX7.js} +1 -1
  118. package/dist/{vue-ui-tiremarks-AOLQC2Pm.js → vue-ui-tiremarks-BGyILItf.js} +1 -1
  119. package/dist/{vue-ui-treemap-C8MtnLLV.js → vue-ui-treemap-C4PiafoY.js} +33 -34
  120. package/dist/{vue-ui-waffle-DvQ-_joz.js → vue-ui-waffle-DvHrxSIL.js} +44 -45
  121. package/dist/{vue-ui-wheel-BzBzZw1d.js → vue-ui-wheel-DeKJJliu.js} +1 -1
  122. package/dist/{vue-ui-word-cloud-LrVTAPzW.js → vue-ui-word-cloud-IAom94Mg.js} +1 -1
  123. package/dist/{vue-ui-world-7DPU6qqx.js → vue-ui-world-CH9uc5uY.js} +78 -77
  124. package/dist/{vue-ui-xy-XsqGdS48.js → vue-ui-xy-C11EO1Ja.js} +187 -188
  125. package/dist/{vue-ui-xy-canvas--zevqB3i.js → vue-ui-xy-canvas-DLvVyHZO.js} +103 -104
  126. package/package.json +1 -1
@@ -48,7 +48,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
48
48
  ), Ut = ye(
49
49
  () => import("./PenAndPaper-CJDoB5H9.js")
50
50
  ), Vt = ye(
51
- () => import("./PackageVersion-Ov37I8ii.js")
51
+ () => import("./PackageVersion-CHNfLQ9Q.js")
52
52
  ), V = Dt, Kt = Xt, { vue_ui_geo: Jt } = Do(), { isThemeValid: Qt, warnInvalidTheme: eo } = Uo(), M = d(_o()), we = d(0), Ue = d(0), de = d(!1), ve = d(!1), R = d(null), _ = d(!1), le = d(null), Ve = d(null), Ke = d(null), Je = d(null), K = d(null), J = d(null), Qe = d(null), et = d(null), x = d(null), tt = d({ x: 0, y: 0 }), Q = d("pointer"), Ce = d(!1), G = d(!1);
53
53
  function ot(e) {
54
54
  G.value = e, we.value += 1;
@@ -19,7 +19,7 @@ const K = ["aria-label", "aria-valuenow", "aria-valuetext", "aria-busy"], Q = ["
19
19
  },
20
20
  setup(G) {
21
21
  const L = V(
22
- () => import("./PackageVersion-Ov37I8ii.js")
22
+ () => import("./PackageVersion-CHNfLQ9Q.js")
23
23
  ), { vue_ui_gizmo: N } = O(), o = G, u = y(T()), $ = F();
24
24
  C(() => {
25
25
  m();
@@ -173,7 +173,7 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
173
173
  ), W = be(
174
174
  () => import("./UserOptions-DVduN6X7.js")
175
175
  ), z = be(
176
- () => import("./PackageVersion-Ov37I8ii.js")
176
+ () => import("./PackageVersion-CHNfLQ9Q.js")
177
177
  ), S = be(
178
178
  () => import("./BaseDraggableDialog-Di8Hlru3.js")
179
179
  ), { vue_ui_heatmap: P } = ua(), { isThemeValid: fe, warnInvalidTheme: ue } = ca(), A = h, T = oe, X = f({
@@ -48,7 +48,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
48
48
  ), $t = E(
49
49
  () => import("./UserOptions-DVduN6X7.js")
50
50
  ), It = E(
51
- () => import("./PackageVersion-Ov37I8ii.js")
51
+ () => import("./PackageVersion-CHNfLQ9Q.js")
52
52
  ), Lt = E(
53
53
  () => import("./BaseDraggableDialog-Di8Hlru3.js")
54
54
  ), { vue_ui_history_plot: _t } = Nl(), { isThemeValid: Pt, warnInvalidTheme: zt } = Rl(), L = bt, X = u(null), ze = u(null), Oe = u(0), Me = u(null), Ne = u(0), De = u(0), Fe = u(0), R = ct(null), W = ct(null), Xe = u(null), _ = u(ht()), oe = u(!1), fe = u(""), x = u([]), q = u(!1), P = u(null), Z = u(!1), Be = u(null), Re = u(!1), J = u(null), pe = u(null), se = u(!1), ne = u(!1), ge = u(null), xe = u(null), re = u(null), be = u(null), k = u(null), w = u(null), Ee = u({ x: 0, y: 0 }), ie = u("pointer"), me = u(!1), ue = h({
@@ -1413,7 +1413,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1413
1413
  C("div", {
1414
1414
  id: `legend-bottom-${_.value}`
1415
1415
  }, null, 8, Ma),
1416
- Re.value ? (s(), F(xl, {
1416
+ Re.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (s(), F(xl, {
1417
1417
  key: 6,
1418
1418
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${_.value}` : `#legend-bottom-${_.value}`
1419
1419
  }, [
@@ -1421,39 +1421,38 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1421
1421
  ref_key: "chartLegend",
1422
1422
  ref: Me
1423
1423
  }, [
1424
- e.value.style.chart.legend.show && ue.value ? (s(), F(Vl, {
1425
- key: `legend_${Ne.value}`,
1426
- legendSet: Q.value,
1427
- config: qt.value,
1428
- isCursorPointer: j.value,
1429
- onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
1430
- ce(l.seriesIndex), Je(l);
1431
- })
1432
- }, {
1433
- item: p(({ legend: l, index: n }) => [
1434
- C("div", {
1435
- onClick: (o) => {
1436
- l.segregate(), Je(l);
1437
- },
1438
- style: M(`opacity:${x.value.includes(l.seriesIndex) ? 0.5 : 1}`)
1439
- }, D(l.name), 13, Na)
1440
- ]),
1441
- legendToggle: p(() => [
1442
- Q.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !c(B) ? (s(), F(Gl, {
1443
- key: 0,
1444
- backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
1445
- color: e.value.style.chart.legend.selectAllToggle.color,
1446
- fontSize: e.value.style.chart.legend.fontSize,
1447
- checked: x.value.length > 0,
1448
- isCursorPointer: j.value,
1449
- onToggle: Vt
1450
- }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : y("", !0)
1451
- ]),
1452
- _: 1
1453
- }, 8, ["legendSet", "config", "isCursorPointer"])) : f(t.$slots, "legend", {
1454
- key: 1,
1455
- legend: Q.value
1456
- }, void 0, !0)
1424
+ f(t.$slots, "legend", { legend: Q.value }, () => [
1425
+ e.value.style.chart.legend.show && ue.value ? (s(), F(Vl, {
1426
+ key: `legend_${Ne.value}`,
1427
+ legendSet: Q.value,
1428
+ config: qt.value,
1429
+ isCursorPointer: j.value,
1430
+ onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
1431
+ ce(l.seriesIndex), Je(l);
1432
+ })
1433
+ }, {
1434
+ item: p(({ legend: l, index: n }) => [
1435
+ C("div", {
1436
+ onClick: (o) => {
1437
+ l.segregate(), Je(l);
1438
+ },
1439
+ style: M(`opacity:${x.value.includes(l.seriesIndex) ? 0.5 : 1}`)
1440
+ }, D(l.name), 13, Na)
1441
+ ]),
1442
+ legendToggle: p(() => [
1443
+ Q.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !c(B) ? (s(), F(Gl, {
1444
+ key: 0,
1445
+ backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
1446
+ color: e.value.style.chart.legend.selectAllToggle.color,
1447
+ fontSize: e.value.style.chart.legend.fontSize,
1448
+ checked: x.value.length > 0,
1449
+ isCursorPointer: j.value,
1450
+ onToggle: Vt
1451
+ }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : y("", !0)
1452
+ ]),
1453
+ _: 1
1454
+ }, 8, ["legendSet", "config", "isCursorPointer"])) : y("", !0)
1455
+ ], !0)
1457
1456
  ], 512)
1458
1457
  ], 8, ["to"])) : y("", !0),
1459
1458
  t.$slots.source ? (s(), r("div", {
@@ -1559,7 +1558,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
1559
1558
  ], !0)
1560
1559
  ], 46, Zl));
1561
1560
  }
1562
- }, oo = /* @__PURE__ */ ql(Fa, [["__scopeId", "data-v-a9f2184e"]]);
1561
+ }, oo = /* @__PURE__ */ ql(Fa, [["__scopeId", "data-v-7da979a6"]]);
1563
1562
  export {
1564
1563
  oo as default
1565
1564
  };
@@ -53,7 +53,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
53
53
  ), Gt = se(
54
54
  () => import("./UserOptions-DVduN6X7.js")
55
55
  ), Kt = se(
56
- () => import("./PackageVersion-Ov37I8ii.js")
56
+ () => import("./PackageVersion-CHNfLQ9Q.js")
57
57
  ), jt = se(
58
58
  () => import("./BaseDraggableDialog-Di8Hlru3.js")
59
59
  ), { vue_ui_vertical_bar: Yt } = Za(), { isThemeValid: qt, warnInvalidTheme: Zt } = al(), Jt = Ia(), C = Rt, Pe = h({
@@ -18,7 +18,7 @@ const j = ["aria-labelledby"], G = ["id"], P = ["aria-label"], W = {
18
18
  }
19
19
  },
20
20
  setup(o) {
21
- const D = M(() => import("./vue-ui-digits-CUN5zijI.js")), { vue_ui_kpi: S } = T(), c = U(), l = o, e = y({
21
+ const D = M(() => import("./vue-ui-digits-BeIq6BVd.js")), { vue_ui_kpi: S } = T(), c = U(), l = o, e = y({
22
22
  get: () => f(),
23
23
  set: (a) => a
24
24
  }), A = w(), x = y(() => e.value.debug), m = r(E());
@@ -57,7 +57,7 @@ const so = ["id"], no = {
57
57
  ), qe = g(
58
58
  () => import("./UserOptions-DVduN6X7.js")
59
59
  ), Je = g(
60
- () => import("./PackageVersion-Ov37I8ii.js")
60
+ () => import("./PackageVersion-CHNfLQ9Q.js")
61
61
  ), Ke = g(
62
62
  () => import("./RecursiveLinks-BDwyYfP-.js")
63
63
  ), Qe = g(
@@ -15,7 +15,7 @@ import oo from "./vue_ui_mood_radar-BUs6Fdn8.js";
15
15
  import ao from "./Legend-DGN5lY60.js";
16
16
  import { A as lo } from "./A11yDataTable-BpmuNomI.js";
17
17
  import { _ as no } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative" } }, co = ["xmlns", "aria-describedby", "viewBox"], vo = ["width", "height"], yo = ["id"], fo = ["stop-color"], ho = ["stop-color"], go = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], po = ["d", "stroke", "stroke-width"], mo = ["transform"], bo = ["stroke"], ko = ["aria-label", "fill"], Co = ["transform"], wo = ["stroke"], $o = ["aria-label", "fill"], xo = ["transform"], Ao = ["stroke"], Po = ["aria-label", "fill"], To = ["transform"], Oo = ["stroke"], _o = ["aria-label", "fill"], So = ["transform"], Mo = ["stroke"], No = ["aria-label", "fill"], Lo = ["d", "stroke", "stroke-width", "fill"], Do = ["x1", "y1", "x2", "y2", "stroke"], Io = ["cx", "cy", "fill", "stroke"], Fo = ["cx", "cy", "fill", "stroke"], Bo = ["x", "y", "fill", "font-weight"], Eo = ["x", "y", "fill"], Ro = {
18
+ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative" } }, co = ["xmlns", "aria-describedby", "viewBox"], vo = ["width", "height"], yo = ["id"], fo = ["stop-color"], ho = ["stop-color"], go = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], po = ["d", "stroke", "stroke-width"], mo = ["transform"], bo = ["stroke"], ko = ["aria-label", "fill"], Co = ["transform"], wo = ["stroke"], $o = ["aria-label", "fill"], xo = ["transform"], Ao = ["stroke"], Po = ["aria-label", "fill"], To = ["transform"], Oo = ["stroke"], So = ["aria-label", "fill"], _o = ["transform"], Mo = ["stroke"], No = ["aria-label", "fill"], Lo = ["d", "stroke", "stroke-width", "fill"], Do = ["x1", "y1", "x2", "y2", "stroke"], Io = ["cx", "cy", "fill", "stroke"], Fo = ["cx", "cy", "fill", "stroke"], Bo = ["x", "y", "fill", "font-weight"], Eo = ["x", "y", "fill"], Ro = {
19
19
  key: 0,
20
20
  style: { position: "absolute", top: "100%", left: "0", width: "100%" },
21
21
  "data-dom-to-png-ignore": "",
@@ -46,7 +46,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
46
46
  ), Je = N(
47
47
  () => import("./UserOptions-DVduN6X7.js")
48
48
  ), Qe = N(
49
- () => import("./PackageVersion-Ov37I8ii.js")
49
+ () => import("./PackageVersion-CHNfLQ9Q.js")
50
50
  ), Ze = N(
51
51
  () => import("./BaseDraggableDialog-Di8Hlru3.js")
52
52
  ), { vue_ui_mood_radar: et } = Gt(), { isThemeValid: tt, warnInvalidTheme: ot } = Jt(), $ = ze, at = He, b = i(Ft()), A = i(null), p = i(null), pe = i(null), lt = i(0), nt = i(0), me = i(0), be = i(null), ke = i(null), V = i(null), Y = i(null), Ce = i(null), we = i(!1), K = i(null), oe = i(null), J = i(!1), Q = i(!1), O = i(null), ae = i(!1), $e = d(() => !!$.dataset && Object.keys($.dataset).length), e = i(se()), D = d(
@@ -90,13 +90,13 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
90
90
  }
91
91
  },
92
92
  userConfig: e.value.skeletonConfig ?? {}
93
- })), { loading: le, FINAL_DATASET: _ } = Ht({
93
+ })), { loading: le, FINAL_DATASET: S } = Ht({
94
94
  ...Mt($),
95
95
  FINAL_CONFIG: e,
96
96
  prepareConfig: se,
97
97
  callback: () => {
98
98
  Promise.resolve().then(async () => {
99
- await fe(), S.value.showTable = e.value.table.show;
99
+ await fe(), _.value.showTable = e.value.table.show;
100
100
  });
101
101
  },
102
102
  skeletonDataset: $.config?.skeletonDataset ?? {
@@ -159,7 +159,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
159
159
  Be(
160
160
  () => $.config,
161
161
  (t) => {
162
- e.value = se(), ne.value = !e.value.userOptions.showOnChartHover, xe(), lt.value += 1, nt.value += 1, me.value += 1, S.value.showTable = e.value.table.show;
162
+ e.value = se(), ne.value = !e.value.userOptions.showOnChartHover, xe(), lt.value += 1, nt.value += 1, me.value += 1, _.value.showTable = e.value.table.show;
163
163
  },
164
164
  { deep: !0 }
165
165
  );
@@ -167,7 +167,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
167
167
  elementId: b.value,
168
168
  fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
169
169
  options: e.value.userOptions.print
170
- }), ut = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = i({
170
+ }), ut = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), _ = i({
171
171
  showTable: e.value.table.show
172
172
  }), r = i({
173
173
  height: 256,
@@ -203,12 +203,12 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
203
203
  };
204
204
  }
205
205
  const vt = d(() => Math.max(
206
- ...Object.values(_.value).map((t) => isNaN(t) ? 0 : t)
207
- )), x = d(() => Object.values(_.value).reduce(
206
+ ...Object.values(S.value).map((t) => isNaN(t) ? 0 : t)
207
+ )), x = d(() => Object.values(S.value).reduce(
208
208
  (t, a) => (isNaN(t) ? 0 : t) + (isNaN(a) ? 0 : a),
209
209
  0
210
- )), h = d(() => Object.keys(_.value).map((t, a) => {
211
- const o = typeof _.value[t] != "number" || isNaN(_.value[t]) ? 0 : _.value[t];
210
+ )), h = d(() => Object.keys(S.value).map((t, a) => {
211
+ const o = typeof S.value[t] != "number" || isNaN(S.value[t]) ? 0 : S.value[t];
212
212
  return {
213
213
  index: a,
214
214
  key: t,
@@ -216,7 +216,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
216
216
  proportion: o / x.value,
217
217
  color: e.value.style.chart.layout.smileys.colors[t]
218
218
  };
219
- }).sort((t, a) => a.key - t.key)), _e = d(() => h.value.map((t, a) => ({
219
+ }).sort((t, a) => a.key - t.key)), Se = d(() => h.value.map((t, a) => ({
220
220
  ...t,
221
221
  display: `${he(
222
222
  e.value.style.chart.layout.dataLabel.formatter,
@@ -233,7 +233,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
233
233
  r: e.value.style.chart.legend.roundingPercentage
234
234
  })})`}`
235
235
  }))), ce = d(() => (["1", "2", "3", "4", "5"].forEach((t) => {
236
- [null, void 0].includes(_.value[t]) && We({
236
+ [null, void 0].includes(S.value[t]) && We({
237
237
  componentName: "VueUiMoodRadar",
238
238
  type: "datasetAttribute",
239
239
  property: t
@@ -360,8 +360,8 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
360
360
  function ft() {
361
361
  return h.value;
362
362
  }
363
- function Se() {
364
- S.value.showTable = !S.value.showTable;
363
+ function _e() {
364
+ _.value.showTable = !_.value.showTable;
365
365
  }
366
366
  const F = i(!1);
367
367
  function Me(t) {
@@ -389,7 +389,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
389
389
  };
390
390
  }
391
391
  const X = d(() => {
392
- const t = e.value.table.useDialog && !e.value.table.show, a = S.value.showTable;
392
+ const t = e.value.table.useDialog && !e.value.table.show, a = _.value.showTable;
393
393
  return {
394
394
  component: t ? Ze : Xe,
395
395
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -420,15 +420,15 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
420
420
  };
421
421
  });
422
422
  Be(
423
- () => S.value.showTable,
423
+ () => _.value.showTable,
424
424
  (t) => {
425
425
  e.value.table.show || (t && e.value.table.useDialog && K.value ? K.value.open() : "close" in K.value && K.value.close());
426
426
  }
427
427
  );
428
428
  function Ne() {
429
- S.value.showTable = !1, oe.value && oe.value.setTableIconState(!1);
429
+ _.value.showTable = !1, oe.value && oe.value.setTableIconState(!1);
430
430
  }
431
- const gt = d(() => _e.value.map((t) => ({
431
+ const gt = d(() => Se.value.map((t) => ({
432
432
  ...t,
433
433
  name: t.display,
434
434
  shape: "circle"
@@ -534,7 +534,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
534
534
  function Ot() {
535
535
  O.value = null, p.value = null, ae.value = !1;
536
536
  }
537
- function _t(t) {
537
+ function St(t) {
538
538
  if (!U.value || !M.value.length || H.value || document.activeElement !== U.value) return;
539
539
  const a = ["ArrowLeft", "ArrowUp"].includes(t.key), o = ["ArrowRight", "ArrowDown"].includes(t.key), s = t.key === "Enter" || t.key === " ", g = t.key === "Escape";
540
540
  if (!a && !o && !s && !g)
@@ -553,7 +553,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
553
553
  let c = O.value;
554
554
  c === null || c < 0 || c >= M.value.length ? c = o ? 0 : M.value.length - 1 : o ? (c += 1, c >= M.value.length && (c = 0)) : a && (c -= 1, c < 0 && (c = M.value.length - 1)), Pt(c);
555
555
  }
556
- function St(t, a) {
556
+ function _t(t, a) {
557
557
  const o = t.key === "Enter" || t.key === " ", s = t.key === "Escape";
558
558
  if (!(!o && !s)) {
559
559
  if (t.preventDefault(), t.stopPropagation(), s) {
@@ -578,7 +578,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
578
578
  generateCsv: de,
579
579
  generateImage: Oe,
580
580
  generateSvg: Le,
581
- toggleTable: Se,
581
+ toggleTable: _e,
582
582
  toggleAnnotator: ve,
583
583
  toggleFullscreen: Me,
584
584
  copyAlt: De
@@ -694,7 +694,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
694
694
  onGenerateCsv: de,
695
695
  onGenerateImage: wt,
696
696
  onGenerateSvg: Le,
697
- onToggleTable: Se,
697
+ onToggleTable: _e,
698
698
  onToggleAnnotator: ve,
699
699
  onCopyAlt: De,
700
700
  style: B({
@@ -780,7 +780,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
780
780
  tabindex: "0",
781
781
  onFocus: Tt,
782
782
  onBlur: Ot,
783
- onKeydown: _t
783
+ onKeydown: St
784
784
  }, [
785
785
  te(l(Qe)),
786
786
  t.$slots["chart-background"] ? (u(), m("foreignObject", {
@@ -938,7 +938,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
938
938
  onMouseenter: a[9] || (a[9] = (o) => W("2")),
939
939
  onMouseleave: a[10] || (a[10] = (o) => z("2")),
940
940
  onClick: a[11] || (a[11] = (o) => I("2"))
941
- }, null, 40, _o)
941
+ }, null, 40, So)
942
942
  ], 8, To),
943
943
  n("g", {
944
944
  transform: j("1")
@@ -964,7 +964,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
964
964
  onMouseleave: a[13] || (a[13] = (o) => z("1")),
965
965
  onClick: a[14] || (a[14] = (o) => I("1"))
966
966
  }, null, 40, No)
967
- ], 8, So),
967
+ ], 8, _o),
968
968
  n("path", {
969
969
  d: l(Kt)(ce.value.map((o) => o.plots)),
970
970
  stroke: e.value.style.chart.layout.dataPolygon.stroke,
@@ -1056,7 +1056,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
1056
1056
  n("div", {
1057
1057
  id: `legend-bottom-${b.value}`
1058
1058
  }, null, 8, Ko),
1059
- we.value ? (u(), k(Lt, {
1059
+ we.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (u(), k(Lt, {
1060
1060
  key: 6,
1061
1061
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
1062
1062
  }, [
@@ -1064,62 +1064,63 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
1064
1064
  ref_key: "chartLegend",
1065
1065
  ref: ke
1066
1066
  }, [
1067
- e.value.style.chart.legend.show ? (u(), k(ao, {
1068
- legendSet: _e.value,
1069
- config: yt.value,
1070
- key: `legend_${me.value}`,
1071
- isCursorPointer: D.value,
1072
- style: { display: "flex", "row-gap": "6px" },
1073
- onFocusMarker: a[15] || (a[15] = ({ legend: o }) => Z(o.key))
1074
- }, {
1075
- item: y(({ legend: o, index: s }) => [
1076
- n("div", {
1077
- role: "button",
1078
- onClick: () => Z(o.key),
1079
- style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" },
1080
- onKeydown: (g) => St(g, String(o.key))
1081
- }, [
1082
- o.key == 1 ? (u(), k(l(L), {
1083
- key: 0,
1084
- strokeWidth: 1,
1085
- name: "moodSad",
1086
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1087
- }, null, 8, ["stroke"])) : f("", !0),
1088
- o.key == 2 ? (u(), k(l(L), {
1089
- key: 1,
1090
- strokeWidth: 1,
1091
- name: "moodFlat",
1092
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1093
- }, null, 8, ["stroke"])) : f("", !0),
1094
- o.key == 3 ? (u(), k(l(L), {
1095
- key: 2,
1096
- strokeWidth: 1,
1097
- name: "moodNeutral",
1098
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1099
- }, null, 8, ["stroke"])) : f("", !0),
1100
- o.key == 4 ? (u(), k(l(L), {
1101
- key: 3,
1102
- strokeWidth: 1,
1103
- name: "smiley",
1104
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1105
- }, null, 8, ["stroke"])) : f("", !0),
1106
- o.key == 5 ? (u(), k(l(L), {
1107
- key: 4,
1108
- strokeWidth: 1,
1109
- name: "moodHappy",
1110
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1111
- }, null, 8, ["stroke"])) : f("", !0),
1112
- l(le) ? f("", !0) : (u(), m("span", {
1113
- key: 5,
1114
- style: B({
1115
- fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal"
1116
- })
1117
- }, E(o.display), 5))
1118
- ], 40, Uo)
1119
- ]),
1120
- _: 1
1121
- }, 8, ["legendSet", "config", "isCursorPointer"])) : f("", !0),
1122
- v(t.$slots, "legend", { legend: h.value }, void 0, !0)
1067
+ v(t.$slots, "legend", { legend: h.value }, () => [
1068
+ e.value.style.chart.legend.show ? (u(), k(ao, {
1069
+ legendSet: Se.value,
1070
+ config: yt.value,
1071
+ key: `legend_${me.value}`,
1072
+ isCursorPointer: D.value,
1073
+ style: { display: "flex", "row-gap": "6px" },
1074
+ onFocusMarker: a[15] || (a[15] = ({ legend: o }) => Z(o.key))
1075
+ }, {
1076
+ item: y(({ legend: o, index: s }) => [
1077
+ n("div", {
1078
+ role: "button",
1079
+ onClick: () => Z(o.key),
1080
+ style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" },
1081
+ onKeydown: (g) => _t(g, String(o.key))
1082
+ }, [
1083
+ o.key == 1 ? (u(), k(l(L), {
1084
+ key: 0,
1085
+ strokeWidth: 1,
1086
+ name: "moodSad",
1087
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
1088
+ }, null, 8, ["stroke"])) : f("", !0),
1089
+ o.key == 2 ? (u(), k(l(L), {
1090
+ key: 1,
1091
+ strokeWidth: 1,
1092
+ name: "moodFlat",
1093
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
1094
+ }, null, 8, ["stroke"])) : f("", !0),
1095
+ o.key == 3 ? (u(), k(l(L), {
1096
+ key: 2,
1097
+ strokeWidth: 1,
1098
+ name: "moodNeutral",
1099
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
1100
+ }, null, 8, ["stroke"])) : f("", !0),
1101
+ o.key == 4 ? (u(), k(l(L), {
1102
+ key: 3,
1103
+ strokeWidth: 1,
1104
+ name: "smiley",
1105
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
1106
+ }, null, 8, ["stroke"])) : f("", !0),
1107
+ o.key == 5 ? (u(), k(l(L), {
1108
+ key: 4,
1109
+ strokeWidth: 1,
1110
+ name: "moodHappy",
1111
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
1112
+ }, null, 8, ["stroke"])) : f("", !0),
1113
+ l(le) ? f("", !0) : (u(), m("span", {
1114
+ key: 5,
1115
+ style: B({
1116
+ fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal"
1117
+ })
1118
+ }, E(o.display), 5))
1119
+ ], 40, Uo)
1120
+ ]),
1121
+ _: 1
1122
+ }, 8, ["legendSet", "config", "isCursorPointer"])) : f("", !0)
1123
+ ], !0)
1123
1124
  ], 512)
1124
1125
  ], 8, ["to"])) : f("", !0),
1125
1126
  t.$slots.source ? (u(), m("div", {
@@ -1190,7 +1191,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
1190
1191
  ], !0)
1191
1192
  ], 46, so));
1192
1193
  }
1193
- }, ua = /* @__PURE__ */ no(Wo, [["__scopeId", "data-v-cc9aea01"]]);
1194
+ }, ua = /* @__PURE__ */ no(Wo, [["__scopeId", "data-v-2e36027b"]]);
1194
1195
  export {
1195
1196
  ua as default
1196
1197
  };