vue-data-ui 3.0.21 → 3.0.23

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 (92) hide show
  1. package/dist/{Arrow-Dy15e-dD.js → Arrow-B1Op9F3x.js} +1 -1
  2. package/dist/{BaseDraggableDialog-jyXg9mGS.js → BaseDraggableDialog-B4OaMIom.js} +2 -2
  3. package/dist/{BaseIcon-BEl3aSEq.js → BaseIcon-CgUOIGjr.js} +1 -1
  4. package/dist/{ColorPicker-D-eozXS7.js → ColorPicker-C0nf8VH0.js} +2 -2
  5. package/dist/{DataTable-VUb4sxEy.js → DataTable-nO6ydJO2.js} +2 -2
  6. package/dist/Legend-CyYXMSsW.js +72 -0
  7. package/dist/{NonSvgPenAndPaper-D9YjJzts.js → NonSvgPenAndPaper-D63qeScu.js} +3 -3
  8. package/dist/{PackageVersion-SHciLNhd.js → PackageVersion-B6M-3jRt.js} +1 -1
  9. package/dist/{PenAndPaper-DAMRtv31.js → PenAndPaper-zym5uEeN.js} +3 -3
  10. package/dist/{Shape-DrZ0OdhQ.js → Shape-CYVs2kYz.js} +1 -1
  11. package/dist/{Slicer-CFrDcG8e.js → Slicer-BTIFUO4x.js} +2 -2
  12. package/dist/{SparkTooltip-CM99lrwi.js → SparkTooltip-CNz7AYUL.js} +1 -1
  13. package/dist/{Title-BxcifEA_.js → Title-D_e0SFWS.js} +1 -1
  14. package/dist/{Tooltip-Up71oSOQ.js → Tooltip-DjVoFYj1.js} +1 -1
  15. package/dist/{UserOptions-BZSqCO6T.js → UserOptions-z0NWZ7aQ.js} +2 -2
  16. package/dist/{dom-to-png-DmYxzIcS.js → dom-to-png-DD0au3Qz.js} +1 -1
  17. package/dist/{img-BOLuyhii.js → img-z5p1gGfY.js} +1 -1
  18. package/dist/{index-BUxsmTlt.js → index-BEuUtONc.js} +2 -1
  19. package/dist/{pdf-Bt4b0a1v.js → pdf-BmUjVBni.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +1 -0
  22. package/dist/types/vue-data-ui.d.ts +1 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-CkrrSvWf.js → useAutoSizeLabelsInsideViewbox-CchB8S-o.js} +1 -1
  24. package/dist/{useNestedProp-eXSS1LSc.js → useNestedProp-DhLFhguL.js} +1 -1
  25. package/dist/{usePrinter-DTnCzjyR.js → usePrinter-DiB0_UNt.js} +2 -2
  26. package/dist/{vue-data-ui-SmhFdKsB.js → vue-data-ui-DJIAas-7.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BvXACbFw.js → vue-ui-3d-bar-B56WqLJ-.js} +6 -6
  29. package/dist/{vue-ui-accordion-D88pCEnD.js → vue-ui-accordion-B4YfUjZ5.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-4IZXiB6W.js → vue-ui-age-pyramid-CkXXNN79.js} +6 -6
  31. package/dist/{vue-ui-annotator-DHtCT4aZ.js → vue-ui-annotator-DnSsIkvU.js} +2 -2
  32. package/dist/{vue-ui-bullet-BomS4N0d.js → vue-ui-bullet-kZkBsWPY.js} +7 -7
  33. package/dist/{vue-ui-candlestick-DCe3k-nh.js → vue-ui-candlestick-CIn0xZm0.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-CQMfZFK5.js → vue-ui-carousel-table-f1FDOAqH.js} +4 -4
  35. package/dist/{vue-ui-chestnut-B8rMmJfG.js → vue-ui-chestnut-B-jSj7FT.js} +5 -5
  36. package/dist/{vue-ui-chord-fNE8lmdX.js → vue-ui-chord-Ck4yV3Tb.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-BmEOyisG.js → vue-ui-circle-pack-BAfRk_Hd.js} +6 -6
  38. package/dist/{vue-ui-cursor-Bv9lKAZA.js → vue-ui-cursor-DdBrui6i.js} +2 -2
  39. package/dist/{vue-ui-dashboard-DT7wc1e2.js → vue-ui-dashboard-DSUfW7mI.js} +62 -62
  40. package/dist/{vue-ui-digits-D6UbEVnR.js → vue-ui-digits-Cb3Wq5WR.js} +2 -2
  41. package/dist/{vue-ui-donut-DIO3qH57.js → vue-ui-donut-BCZqlAO3.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-h3fR5uXj.js → vue-ui-donut-evolution-HmQBq9VP.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-CdRcmM_u.js → vue-ui-dumbbell-B5w2oqNO.js} +7 -7
  44. package/dist/{vue-ui-flow-CF_msH-t.js → vue-ui-flow-BXkxtUoF.js} +7 -7
  45. package/dist/{vue-ui-funnel-DmcRES1g.js → vue-ui-funnel-DFvDO--q.js} +6 -6
  46. package/dist/{vue-ui-galaxy-DZ51km_U.js → vue-ui-galaxy-BXNLLc3U.js} +5 -5
  47. package/dist/{vue-ui-gauge-DtnE5jLD.js → vue-ui-gauge-C_KLPWk2.js} +7 -7
  48. package/dist/{vue-ui-gizmo-DSiiaVZc.js → vue-ui-gizmo-CsPX25Ti.js} +3 -3
  49. package/dist/{vue-ui-heatmap-C5RHo1Qh.js → vue-ui-heatmap-BHq6hBaL.js} +7 -7
  50. package/dist/{vue-ui-history-plot-C93GHLEV.js → vue-ui-history-plot-DgpYiaUD.js} +7 -7
  51. package/dist/{vue-ui-kpi-B_avAXzd.js → vue-ui-kpi-DOgibU7W.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-Bmxrh6yK.js → vue-ui-mini-loader-BjsQAxDx.js} +2 -2
  53. package/dist/{vue-ui-molecule-roALyU1N.js → vue-ui-molecule-BtyMTwEn.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-DhmPnvHt.js → vue-ui-mood-radar-DMwVl3wz.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-Dw2dtR8x.js → vue-ui-nested-donuts-H0GzIAF0.js} +7 -7
  56. package/dist/{vue-ui-onion-GlMc77Za.js → vue-ui-onion-A6nKcus1.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-C1k-n-I5.js → vue-ui-parallel-coordinate-plot-DZ9_0F5c.js} +8 -8
  58. package/dist/{vue-ui-quadrant-DgJjSrWa.js → vue-ui-quadrant-CUggSeUN.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-DyDqFOjx.js → vue-ui-quick-chart-mwXE3w_o.js} +6 -6
  60. package/dist/{vue-ui-radar-FoPvLSAk.js → vue-ui-radar-BRKZ8e_X.js} +8 -8
  61. package/dist/{vue-ui-rating-CziY3pUC.js → vue-ui-rating-CleNHFo5.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CForAQz2.js → vue-ui-relation-circle-CMCH7Ia6.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-BUlHZmq-.js → vue-ui-ridgeline-xW7UrSfR.js} +8 -8
  64. package/dist/{vue-ui-rings-CjN-AwVP.js → vue-ui-rings-D3NfFMaO.js} +8 -8
  65. package/dist/vue-ui-scatter-kv28dsT3.js +1466 -0
  66. package/dist/{vue-ui-skeleton-I8pd1CTk.js → vue-ui-skeleton-DCNOYh9x.js} +3 -3
  67. package/dist/{vue-ui-smiley-DHUx6D1z.js → vue-ui-smiley-DcS0CM-z.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DPuk0Nf6.js → vue-ui-spark-trend-LHgReXth.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Dl756r7E.js → vue-ui-sparkbar-Da315uRq.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-BkD55_me.js → vue-ui-sparkgauge-BeAkjGap.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-D5D8p3XY.js → vue-ui-sparkhistogram-Cy19W3y1.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bkhl37Zb.js → vue-ui-sparkline-IjlQWgs3.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CLXh0ajc.js → vue-ui-sparkstackbar-CoFgOa3r.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DydyVhUu.js → vue-ui-stackbar-fbCs4sHF.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-qxqB-i-7.js → vue-ui-strip-plot-Cm8Zr6RE.js} +7 -7
  76. package/dist/{vue-ui-table-heatmap-sbrbQC65.js → vue-ui-table-heatmap-CsK9gR1G.js} +5 -5
  77. package/dist/{vue-ui-table-C14bpo4K.js → vue-ui-table-q7jWgS26.js} +3 -3
  78. package/dist/{vue-ui-table-sparkline-BvDzi3zb.js → vue-ui-table-sparkline-CXTPucPr.js} +4 -4
  79. package/dist/{vue-ui-thermometer-Ds4IY1Hc.js → vue-ui-thermometer-BFxdNgrd.js} +7 -7
  80. package/dist/{vue-ui-timer-C_0cPSWF.js → vue-ui-timer-BsoeDFjK.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DPKdLMMj.js → vue-ui-tiremarks-BW_jSayT.js} +6 -6
  82. package/dist/{vue-ui-treemap-C47xpXO5.js → vue-ui-treemap-DhAYSVB9.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-BjfU9QPZ.js → vue-ui-vertical-bar-OrLV4CxH.js} +9 -9
  84. package/dist/{vue-ui-waffle-ZiMyyjgI.js → vue-ui-waffle-BA6rNfVs.js} +8 -8
  85. package/dist/{vue-ui-wheel-CP_QqSYy.js → vue-ui-wheel-B_BkI-5f.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-DeWZPGpY.js → vue-ui-word-cloud-CrSLGFOK.js} +6 -6
  87. package/dist/{vue-ui-world-C9BoO5Yy.js → vue-ui-world-B4mKuSSn.js} +6 -6
  88. package/dist/{vue-ui-xy-canvas-DPH9pIHo.js → vue-ui-xy-canvas-CX2JT6T3.js} +8 -8
  89. package/dist/{vue-ui-xy-utURgiV0.js → vue-ui-xy-m1SWJk77.js} +18 -18
  90. package/package.json +1 -1
  91. package/dist/Legend-wSf6FP1m.js +0 -72
  92. package/dist/vue-ui-scatter-p46Oze4v.js +0 -1288
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as ee, ref as d, computed as L, useSlots as Ga, onMounted as sa, watch as N, nextTick as na, shallowRef as ze, onBeforeUnmount as Za, createElementBlock as ie, openBlock as S, unref as p, normalizeClass as ja, normalizeStyle as ae, createCommentVNode as H, createElementVNode as B, createBlock as R, createSlots as qa, withCtx as x, renderSlot as k, normalizeProps as V, guardReactiveProps as G, createVNode as Ja, Teleport as Ka, toDisplayString as ia, createTextVNode as Qa } from "vue";
2
- import { u as el, c as al, a as ll, p as Z, b as tl, C as pe, d as ol, D as $e, k as le, i as te, e as va, a4 as rl, G as ul, ae as sl, o as nl, f as il, y as ca, v as vl, w as cl, z as dl, s as ve, l as hl } from "./index-BUxsmTlt.js";
2
+ import { u as el, c as al, a as ll, p as Z, b as tl, C as pe, d as ol, D as $e, k as le, i as te, e as va, a4 as rl, G as ul, ae as sl, o as nl, f as il, y as ca, v as vl, w as cl, z as dl, s as ve, l as hl } from "./index-BEuUtONc.js";
3
3
  import { d as yl, t as fl, u as gl, c as pl, a as da, l as C, r as Ie, b as P, p as ha } from "./useResponsive-DfdjqQps.js";
4
- import { u as ya } from "./useNestedProp-eXSS1LSc.js";
5
- import { u as ml } from "./usePrinter-DTnCzjyR.js";
4
+ import { u as ya } from "./useNestedProp-DhLFhguL.js";
5
+ import { u as ml } from "./usePrinter-DiB0_UNt.js";
6
6
  import { u as bl } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as xl } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ll from "./Legend-wSf6FP1m.js";
9
- import kl from "./Title-BxcifEA_.js";
10
- import { S as Cl } from "./Slicer-CFrDcG8e.js";
8
+ import Ll from "./Legend-CyYXMSsW.js";
9
+ import kl from "./Title-D_e0SFWS.js";
10
+ import { S as Cl } from "./Slicer-BTIFUO4x.js";
11
11
  import { u as wl } from "./useTimeLabels-BGFjWgrv.js";
12
- import Sl from "./img-BOLuyhii.js";
12
+ import Sl from "./img-z5p1gGfY.js";
13
13
  import { _ as zl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const $l = ["id"], Il = ["id"], Ml = ["id"], Tl = ["onClick"], Ol = {
15
15
  key: 3,
@@ -32,7 +32,7 @@ const $l = ["id"], Il = ["id"], Ml = ["id"], Tl = ["onClick"], Ol = {
32
32
  },
33
33
  emits: ["selectLegend"],
34
34
  setup(Me, { expose: fa, emit: ga }) {
35
- const pa = ee(() => import("./vue-ui-accordion-D88pCEnD.js")), ma = ee(() => import("./DataTable-VUb4sxEy.js")), ba = ee(() => import("./NonSvgPenAndPaper-D9YjJzts.js")), xa = ee(() => import("./vue-ui-skeleton-I8pd1CTk.js")), La = ee(() => import("./Tooltip-Up71oSOQ.js")), ka = ee(() => import("./UserOptions-BZSqCO6T.js")), { vue_ui_xy_canvas: Ca } = el(), g = Me, Y = d(al()), F = d(null), oe = d(null), n = d(null), y = d(1), E = d(1), ce = d(!1), c = d(null), de = d(""), Te = d(null), $ = d([]), j = d(1), _ = d(!0), q = d(!0), me = d(null), Oe = d(0), Re = d(0), he = d(!1), Pe = d(null), Fe = d(null), Ee = d(null), Ae = d(null), be = d(0), xe = d(0), Le = d(0), M = d(null), De = d(!1), ke = L(() => !!g.dataset && g.dataset.length), wa = ga, Sa = Ga();
35
+ const pa = ee(() => import("./vue-ui-accordion-B4YfUjZ5.js")), ma = ee(() => import("./DataTable-nO6ydJO2.js")), ba = ee(() => import("./NonSvgPenAndPaper-D63qeScu.js")), xa = ee(() => import("./vue-ui-skeleton-DCNOYh9x.js")), La = ee(() => import("./Tooltip-DjVoFYj1.js")), ka = ee(() => import("./UserOptions-z0NWZ7aQ.js")), { vue_ui_xy_canvas: Ca } = el(), g = Me, Y = d(al()), F = d(null), oe = d(null), n = d(null), y = d(1), E = d(1), ce = d(!1), c = d(null), de = d(""), Te = d(null), $ = d([]), j = d(1), _ = d(!0), q = d(!0), me = d(null), Oe = d(0), Re = d(0), he = d(!1), Pe = d(null), Fe = d(null), Ee = d(null), Ae = d(null), be = d(0), xe = d(0), Le = d(0), M = d(null), De = d(!1), ke = L(() => !!g.dataset && g.dataset.length), wa = ga, Sa = Ga();
36
36
  sa(() => {
37
37
  Sa["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
38
38
  });
@@ -1,16 +1,16 @@
1
1
  import { useCssVars as Ao, computed as x, ref as p, onMounted as tl, onBeforeUnmount as ll, watch as vt, nextTick as Et, onUpdated as zo, createElementBlock as r, openBlock as s, createElementVNode as y, createCommentVNode as f, renderSlot as j, normalizeStyle as $, createVNode as el, withDirectives as aa, unref as v, Fragment as g, renderList as C, normalizeClass as Ee, withKeys as Ea, vModelText as Da, toDisplayString as ne, defineAsyncComponent as St, useSlots as Io, getCurrentInstance as To, toRefs as No, watchEffect as Wa, createBlock as Ue, createSlots as Ro, withCtx as ye, normalizeProps as _t, guardReactiveProps as $t, mergeProps as Rl, Teleport as Po, vModelCheckbox as Oo, createTextVNode as Fo } from "vue";
2
- import { c as Hl, V as Bl, U as El, y as Vl, X as Ho, F as tt, u as Vo, f as ea, t as Bo, d as Eo, D as pl, ac as Vt, e as Do, p as Wo, ad as Pl, a9 as q, a4 as ta, ae as Xo, h as W, af as Xa, ag as Ya, ah as Yo, ai as Ga, aj as Ua, k as Le, ak as Go, z as Uo, _ as qa, R as ct, i as qe, x as Bt, s as et, a7 as te, L as qo, al as Ol, I as Zo, am as Lt, C as Ze, a as Ko, b as Jo, o as Za, v as Qo, w as jo, E as jt } from "./index-BUxsmTlt.js";
2
+ import { c as Hl, V as Bl, U as El, y as Vl, X as Ho, F as tt, u as Vo, f as ea, t as Bo, d as Eo, D as pl, ac as Vt, e as Do, p as Wo, ad as Pl, a9 as q, a4 as ta, ae as Xo, h as W, af as Xa, ag as Ya, ah as Yo, ai as Ga, aj as Ua, k as Le, ak as Go, z as Uo, _ as qa, R as ct, i as qe, x as Bt, s as et, a7 as te, L as qo, al as Ol, I as Zo, am as Lt, C as Ze, a as Ko, b as Jo, o as Za, v as Qo, w as jo, E as jt } from "./index-BEuUtONc.js";
3
3
  import { t as oa, u as en } from "./useResponsive-DfdjqQps.js";
4
- import { u as tn } from "./usePrinter-DTnCzjyR.js";
4
+ import { u as tn } from "./usePrinter-DiB0_UNt.js";
5
5
  import { u as ln, B as an } from "./useLoading-D7YHNtLX.js";
6
- import { u as la } from "./useNestedProp-eXSS1LSc.js";
6
+ import { u as la } from "./useNestedProp-DhLFhguL.js";
7
7
  import { u as Ka, a as on, l as nn } from "./useTimeLabels-BGFjWgrv.js";
8
8
  import { u as un } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import sn from "./img-BOLuyhii.js";
10
- import rn from "./Title-BxcifEA_.js";
11
- import { S as cn } from "./Slicer-CFrDcG8e.js";
12
- import { _ as Fl } from "./Shape-DrZ0OdhQ.js";
13
- import vn from "./BaseIcon-BEl3aSEq.js";
9
+ import sn from "./img-z5p1gGfY.js";
10
+ import rn from "./Title-D_e0SFWS.js";
11
+ import { S as cn } from "./Slicer-BTIFUO4x.js";
12
+ import { _ as Fl } from "./Shape-CYVs2kYz.js";
13
+ import vn from "./BaseIcon-CgUOIGjr.js";
14
14
  import { _ as Ja } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const dn = {
16
16
  class: "vue-data-ui-slicer-labels",
@@ -768,7 +768,7 @@ const dn = {
768
768
  },
769
769
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
770
770
  setup(N, { expose: Dl, emit: Wl }) {
771
- const d = N, De = St(() => import("./DataTable-VUb4sxEy.js")), ve = St(() => import("./Tooltip-Up71oSOQ.js")), de = St(() => import("./UserOptions-BZSqCO6T.js")), Mt = St(() => import("./BaseIcon-BEl3aSEq.js")), al = St(() => import("./vue-ui-table-sparkline-BvDzi3zb.js")), Dt = St(() => import("./vue-ui-accordion-D88pCEnD.js")), Wt = St(() => import("./PackageVersion-SHciLNhd.js")), pt = St(() => import("./PenAndPaper-DAMRtv31.js")), lt = Wl, ol = Io(), Ke = To(), { vue_ui_xy: nl } = Vo(), xe = p(null), ke = p(null), Oe = p(null), at = p(null), Ct = p(null), At = p(null), Xl = p(null), We = p(null), Xt = p(null), dt = p(null), zt = p(null), K = p(null), ot = p(null), Yt = p(0), O = p(null), ul = p(!0), pe = p(600), ue = p(1e3), nt = p("0 0 1000 600"), It = p({ x: 0, y: 0 }), ie = p({ line: "line", bar: "bar", plot: "plot" }), we = p(!1), Se = p(!1), ht = p(!1), ft = p(null), he = p([]), Z = p(Hl()), Gt = p(0), il = p(0), sl = p(0), yt = p(!0), Tt = p(0), F = p(null), Ut = p(!1), rl = p(!0), qt = p(!0), Me = p(null), Xe = p({}), Fe = p(null), Je = p(!1), S = p(null), ut = x(() => ({
771
+ const d = N, De = St(() => import("./DataTable-nO6ydJO2.js")), ve = St(() => import("./Tooltip-DjVoFYj1.js")), de = St(() => import("./UserOptions-z0NWZ7aQ.js")), Mt = St(() => import("./BaseIcon-CgUOIGjr.js")), al = St(() => import("./vue-ui-table-sparkline-CXTPucPr.js")), Dt = St(() => import("./vue-ui-accordion-B4YfUjZ5.js")), Wt = St(() => import("./PackageVersion-B6M-3jRt.js")), pt = St(() => import("./PenAndPaper-zym5uEeN.js")), lt = Wl, ol = Io(), Ke = To(), { vue_ui_xy: nl } = Vo(), xe = p(null), ke = p(null), Oe = p(null), at = p(null), Ct = p(null), At = p(null), Xl = p(null), We = p(null), Xt = p(null), dt = p(null), zt = p(null), K = p(null), ot = p(null), Yt = p(0), O = p(null), ul = p(!0), pe = p(600), ue = p(1e3), nt = p("0 0 1000 600"), It = p({ x: 0, y: 0 }), ie = p({ line: "line", bar: "bar", plot: "plot" }), we = p(!1), Se = p(!1), ht = p(!1), ft = p(null), he = p([]), Z = p(Hl()), Gt = p(0), il = p(0), sl = p(0), yt = p(!0), Tt = p(0), F = p(null), Ut = p(!1), rl = p(!0), qt = p(!0), Me = p(null), Xe = p({}), Fe = p(null), Je = p(!1), S = p(null), ut = x(() => ({
772
772
  height: pe.value,
773
773
  width: ue.value
774
774
  }));
@@ -3919,21 +3919,21 @@ const dn = {
3919
3919
  ])) : ie.value[e.type] === "bar" ? (s(), r("svg", cs, [
3920
3920
  ie.value[e.type] === "bar" && l.$slots.pattern ? (s(), r("rect", {
3921
3921
  key: 0,
3922
- x: "0",
3923
- y: "0",
3922
+ x: "4",
3923
+ y: "4",
3924
3924
  rx: "1",
3925
- height: "40",
3926
- width: "40",
3925
+ height: "32",
3926
+ width: "32",
3927
3927
  stroke: "none",
3928
3928
  fill: e.color
3929
3929
  }, null, 8, vs)) : f("", !0),
3930
3930
  ie.value[e.type] === "bar" ? (s(), r("rect", {
3931
3931
  key: 1,
3932
- x: "0",
3933
- y: "0",
3932
+ x: "4",
3933
+ y: "4",
3934
3934
  rx: "1",
3935
- height: "40",
3936
- width: "40",
3935
+ height: "32",
3936
+ width: "32",
3937
3937
  stroke: "none",
3938
3938
  fill: l.$slots.pattern ? `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})` : e.color
3939
3939
  }, null, 8, ds)) : f("", !0)
@@ -4062,7 +4062,7 @@ const dn = {
4062
4062
  v(se) ? (s(), Ue(an, { key: 10 })) : f("", !0)
4063
4063
  ], 46, Nn));
4064
4064
  }
4065
- }, Is = /* @__PURE__ */ Ja(gs, [["__scopeId", "data-v-5bcabf3a"]]);
4065
+ }, Is = /* @__PURE__ */ Ja(gs, [["__scopeId", "data-v-d55abfde"]]);
4066
4066
  export {
4067
4067
  Is as default
4068
4068
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.0.21",
4
+ "version": "3.0.23",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -1,72 +0,0 @@
1
- import { createElementBlock as o, openBlock as a, normalizeStyle as d, renderSlot as l, Fragment as u, renderList as g, normalizeClass as m, createCommentVNode as h, createVNode as k, mergeProps as y, unref as $ } from "vue";
2
- import { a2 as p } from "./index-BUxsmTlt.js";
3
- import { _ as v } from "./Shape-DrZ0OdhQ.js";
4
- import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- const S = ["id"], x = ["onClick", "height", "width"], z = {
6
- __name: "Legend",
7
- props: {
8
- legendSet: {
9
- type: Array,
10
- default() {
11
- return [];
12
- }
13
- },
14
- config: {
15
- type: Object,
16
- default() {
17
- return {};
18
- }
19
- },
20
- id: {
21
- type: String,
22
- default: ""
23
- },
24
- clickable: {
25
- type: Boolean,
26
- default: !0
27
- }
28
- },
29
- emits: ["clickMarker"],
30
- setup(e, { emit: c }) {
31
- const f = c;
32
- function s(i, r) {
33
- f("clickMarker", { legend: i, i: r });
34
- }
35
- return (i, r) => (a(), o("div", {
36
- id: e.id,
37
- class: "vue-data-ui-legend",
38
- style: d(`background:${e.config.backgroundColor};font-size:${e.config.fontSize}px;color:${e.config.color};padding-bottom:${e.config.paddingBottom}px;padding-top:${e.config.paddingTop || 12}px;font-weight:${e.config.fontWeight}`)
39
- }, [
40
- l(i.$slots, "legendTitle", { titleSet: e.legendSet }, void 0, !0),
41
- (a(!0), o(u, null, g(e.legendSet, (t, n) => (a(), o("div", {
42
- key: `legend_${n}`,
43
- class: m({ "vue-data-ui-legend-item": !0, active: e.clickable })
44
- }, [
45
- t.shape ? (a(), o("svg", {
46
- key: 0,
47
- onClick: (C) => s(t, n),
48
- height: e.config.fontSize,
49
- width: e.config.fontSize,
50
- viewBox: "0 0 60 60",
51
- style: d(`overflow: visible;opacity:${t.opacity}`)
52
- }, [
53
- k(v, {
54
- shape: t.shape,
55
- radius: 30,
56
- stroke: "none",
57
- plot: { x: 30, y: 30 },
58
- fill: t.color
59
- }, null, 8, ["shape", "fill"]),
60
- l(i.$slots, "legend-pattern", y({ ref_for: !0 }, { legend: t, index: $(p)(t.absoluteIndex) ? t.absoluteIndex : n }), void 0, !0)
61
- ], 12, x)) : h("", !0),
62
- l(i.$slots, "item", {
63
- legend: t,
64
- index: n
65
- }, void 0, !0)
66
- ], 2))), 128))
67
- ], 12, S));
68
- }
69
- }, L = /* @__PURE__ */ b(z, [["__scopeId", "data-v-2b9117cf"]]);
70
- export {
71
- L as default
72
- };