vue-data-ui 2.12.5 → 2.12.7-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 (112) hide show
  1. package/README.md +56 -1
  2. package/dist/{Arrow-CD7YT-M0.js → Arrow-CmqjRRUl.js} +1 -1
  3. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  4. package/dist/{BaseIcon-CgSWwnK7.js → BaseIcon-CZdMutjs.js} +1 -1
  5. package/dist/{ColorPicker-w8R8Tqdv.js → ColorPicker-DvVKgyAl.js} +23 -24
  6. package/dist/{DataTable-CicthvOV.js → DataTable-Cv9CIz-a.js} +11 -11
  7. package/dist/{Legend-0UY0Mmli.js → Legend-DFunFf8i.js} +8 -8
  8. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  9. package/dist/PackageVersion-CLY-udAA.js +10 -0
  10. package/dist/{PenAndPaper-DLsvRwoD.js → PenAndPaper-B9na2mbr.js} +8 -10
  11. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  12. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  13. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  14. package/dist/{Shape-DICeBEtN.js → Shape-D3w9qas1.js} +2 -2
  15. package/dist/{Slicer-D1nsbsWE.js → Slicer-ncY8krrM.js} +2 -2
  16. package/dist/SparkTooltip-CwThutH2.js +68 -0
  17. package/dist/{Title-xO1jFsSw.js → Title-B5qqUI3M.js} +2 -2
  18. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  19. package/dist/{usePrinter-CcgJXHIK.js → UserOptions-Ddy6CuLC.js} +172 -231
  20. package/dist/{dom-to-png-CS4NRYd_.js → dom-to-png-DDlooC9r.js} +1 -1
  21. package/dist/{img-CsXjm5I4.js → img-m9g7lR5d.js} +1 -1
  22. package/dist/{index-vjCxtaM0.js → index-BiHmNd1-.js} +153 -118
  23. package/dist/{pdf-DHexTTpK.js → pdf-BqM953uL.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +96 -2
  26. package/dist/types/vue-data-ui.d.ts +96 -2
  27. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  28. package/dist/useMouse-AicQS8Vf.js +13 -0
  29. package/dist/{useNestedProp-Du1hnYFA.js → useNestedProp-tRqS0ZAM.js} +1 -1
  30. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  31. package/dist/usePrinter-CRCbl1WG.js +53 -0
  32. package/dist/vClickOutside-C6WiFswA.js +13 -0
  33. package/dist/{vue-data-ui-BOrA3Tc9.js → vue-data-ui-D9uTDt73.js} +63 -63
  34. package/dist/vue-data-ui.js +42 -40
  35. package/dist/{vue-ui-3d-bar-Z8yAd4bw.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  36. package/dist/{vue-ui-accordion-CAN430Oy.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  37. package/dist/{vue-ui-age-pyramid-C6PZU9Ez.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  38. package/dist/{vue-ui-annotator-CqoDLx3t.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  39. package/dist/{vue-ui-bullet-DZC3aY3d.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  40. package/dist/{vue-ui-candlestick-B5mq_lgW.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  41. package/dist/{vue-ui-carousel-table-CBwerU49.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  42. package/dist/{vue-ui-chestnut-COyOAY28.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  43. package/dist/{vue-ui-chord-Cw0F_jHM.js → vue-ui-chord-C4evlXYB.js} +356 -365
  44. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  45. package/dist/{vue-ui-cursor-CWXqmlVy.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  46. package/dist/{vue-ui-dashboard-Ba2tF4md.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  47. package/dist/{vue-ui-digits-BV7yyUdY.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  48. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  49. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  50. package/dist/{vue-ui-dumbbell-SDCcLJIc.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  51. package/dist/{vue-ui-flow-CrqGSDNK.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  52. package/dist/{vue-ui-funnel-CcDOoxp8.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  53. package/dist/{vue-ui-galaxy-jlDp0DRJ.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  54. package/dist/{vue-ui-gauge-8t8rWb1C.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  55. package/dist/{vue-ui-gizmo-CFwdrMYP.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  56. package/dist/{vue-ui-heatmap-BT-mIeZp.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  57. package/dist/{vue-ui-history-plot-crLloc7J.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  58. package/dist/{vue-ui-kpi-96v4ZIYo.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  59. package/dist/{vue-ui-mini-loader-rBHBxNIT.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  60. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  61. package/dist/{vue-ui-mood-radar-DrVSXIY4.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  62. package/dist/{vue-ui-nested-donuts-C9Ah9lgv.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  63. package/dist/{vue-ui-onion-DwNPyn4X.js → vue-ui-onion-P8k6T724.js} +252 -258
  64. package/dist/{vue-ui-parallel-coordinate-plot-tSuK6xWu.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  65. package/dist/{vue-ui-quadrant-C0Kaoo7K.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  66. package/dist/{vue-ui-quick-chart-xMh_Ygct.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  67. package/dist/{vue-ui-radar-C1jSDQt_.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  68. package/dist/{vue-ui-rating-6Kb7hsKF.js → vue-ui-rating-gryk_h_6.js} +2 -2
  69. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  70. package/dist/{vue-ui-ridgeline-BBvPVQjC.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  71. package/dist/{vue-ui-rings-B92cXv7f.js → vue-ui-rings-BRBXektJ.js} +262 -269
  72. package/dist/{vue-ui-scatter-Bt1aty87.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  73. package/dist/{vue-ui-skeleton-DfOIDTJM.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  74. package/dist/{vue-ui-smiley-sVgBnkbx.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  75. package/dist/{vue-ui-spark-trend-D6uzJ4Qd.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  76. package/dist/{vue-ui-sparkbar-D4c2EE7J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  77. package/dist/{vue-ui-sparkgauge-DaQ6iz98.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  78. package/dist/{vue-ui-sparkhistogram-D_YnmM2T.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  79. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  80. package/dist/{vue-ui-sparkstackbar-DecnmqgJ.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  81. package/dist/{vue-ui-stackbar-D1eNs1j_.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  82. package/dist/{vue-ui-strip-plot-iPZ8Hhmr.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  83. package/dist/{vue-ui-table-BFjE28sw.js → vue-ui-table-DBaT_TfA.js} +3 -3
  84. package/dist/{vue-ui-table-heatmap-DipFDu39.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  85. package/dist/{vue-ui-table-sparkline-CGAecOZh.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  86. package/dist/{vue-ui-thermometer-Cx_yr-hs.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  87. package/dist/{vue-ui-timer-ClVmS8MH.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  88. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  89. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  90. package/dist/{vue-ui-vertical-bar-BHYCnFEN.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  91. package/dist/{vue-ui-waffle-DEPUbrOt.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  92. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  93. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  94. package/dist/{vue-ui-world-DStJ5i0i.js → vue-ui-world-CPIGEswq.js} +430 -442
  95. package/dist/{vue-ui-xy-CEop49z6.js → vue-ui-xy-9e_epIN4.js} +845 -846
  96. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  97. package/package.json +6 -6
  98. package/dist/BaseDraggableDialog-BjFEob7i.js +0 -186
  99. package/dist/PackageVersion-Cw2caN1c.js +0 -10
  100. package/dist/Tooltip-LKe8L-Mg.js +0 -158
  101. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  102. package/dist/vue-ui-circle-pack-BtpaZLYs.js +0 -659
  103. package/dist/vue-ui-donut-CRdQFQgA.js +0 -1292
  104. package/dist/vue-ui-donut-evolution-De3-5OgR.js +0 -871
  105. package/dist/vue-ui-molecule-DSr_bHGG.js +0 -782
  106. package/dist/vue-ui-relation-circle-fh0Hl9m0.js +0 -528
  107. package/dist/vue-ui-sparkline-C2HuTMDz.js +0 -519
  108. package/dist/vue-ui-tiremarks-4Sa3RCSv.js +0 -344
  109. package/dist/vue-ui-treemap-CD5pPg7v.js +0 -956
  110. package/dist/vue-ui-wheel-qU0bgJsi.js +0 -338
  111. package/dist/vue-ui-word-cloud-z2ZguOdy.js +0 -648
  112. package/dist/vue-ui-xy-canvas-DV0BVdZb.js +0 -1673
@@ -1,8 +1,7 @@
1
- import { ref as b, useSlots as z, onMounted as g, computed as c, watch as G, createElementBlock as a, openBlock as s, normalizeStyle as L, createVNode as N, createCommentVNode as i, createElementVNode as t, Fragment as p, toDisplayString as y, unref as d } from "vue";
2
- import { u as $, c as F, e as B, i as k, f as m } from "./index-vjCxtaM0.js";
3
- import { u as V } from "./useNestedProp-Du1hnYFA.js";
4
- import { _ as P } from "./PackageVersion-Cw2caN1c.js";
5
- const U = ["viewBox", "width"], D = { key: 0 }, I = ["id"], M = ["stop-color"], S = ["stop-color"], E = ["stroke"], O = ["stroke"], A = ["width", "fill"], j = ["fill"], T = { key: 0 }, q = ["id"], H = ["stroke"], J = ["stroke", "stroke-dasharray", "stroke-dashoffset"], K = ["filter"], Q = ["stroke", "stroke-dasharray", "stroke-dashoffset"], R = ["fill"], ee = {
1
+ import { defineAsyncComponent as z, ref as G, useSlots as L, onMounted as _, computed as c, watch as N, createElementBlock as s, openBlock as a, normalizeStyle as $, createVNode as F, createCommentVNode as n, unref as l, createElementVNode as t, Fragment as p, toDisplayString as y } from "vue";
2
+ import { u as V, c as B, e as P, i as k, f as m } from "./index-BiHmNd1-.js";
3
+ import { u as U } from "./useNestedProp-tRqS0ZAM.js";
4
+ const D = ["viewBox", "width"], I = { key: 0 }, M = ["id"], S = ["stop-color"], A = ["stop-color"], E = ["stroke"], O = ["stroke"], j = ["width", "fill"], T = ["fill"], q = { key: 0 }, H = ["id"], J = ["stroke"], K = ["stroke", "stroke-dasharray", "stroke-dashoffset"], Q = ["filter"], R = ["stroke", "stroke-dasharray", "stroke-dashoffset"], W = ["fill"], ee = {
6
5
  __name: "vue-ui-gizmo",
7
6
  props: {
8
7
  config: {
@@ -17,54 +16,54 @@ const U = ["viewBox", "width"], D = { key: 0 }, I = ["id"], M = ["stop-color"],
17
16
  }
18
17
  },
19
18
  setup(f) {
20
- const { vue_ui_gizmo: w } = $(), o = f, l = b(F()), x = z();
21
- g(() => {
19
+ const w = z(() => import("./PackageVersion-CLY-udAA.js")), { vue_ui_gizmo: x } = V(), o = f, u = G(B()), C = L();
20
+ _(() => {
22
21
  h();
23
- }), g(() => {
24
- x["chart-background"] && console.warn("VueUiGizmo does not support the #chart-background slot.");
22
+ }), _(() => {
23
+ C["chart-background"] && console.warn("VueUiGizmo does not support the #chart-background slot.");
25
24
  });
26
25
  function h() {
27
- !o.dataset && o.dataset !== 0 && B({
26
+ !o.dataset && o.dataset !== 0 && P({
28
27
  componentName: "VueUiGizmo",
29
28
  type: "dataset"
30
29
  }), o.dataset < 0 && console.warn("VueUiGizmo: dataset cannot be negative.");
31
30
  }
32
31
  const e = c({
33
- get: () => _(),
34
- set: (n) => n
32
+ get: () => g(),
33
+ set: (i) => i
35
34
  });
36
- function _() {
37
- return V({
35
+ function g() {
36
+ return U({
38
37
  userConfig: o.config,
39
- defaultConfig: w
38
+ defaultConfig: x
40
39
  });
41
40
  }
42
- G(() => o.config, (n) => {
43
- e.value = _(), h();
41
+ N(() => o.config, (i) => {
42
+ e.value = g(), h();
44
43
  }, { deep: !0 });
45
44
  const v = c(() => ({
46
45
  battery: { width: e.value.showPercentage ? 140 : 80, height: 50 },
47
46
  gauge: { width: 80, height: 80 }
48
- })[e.value.type]), u = c(() => {
49
- const r = 2 * Math.PI * 35, C = r - o.dataset / 100 * r;
47
+ })[e.value.type]), d = c(() => {
48
+ const r = 2 * Math.PI * 35, b = r - o.dataset / 100 * r;
50
49
  return {
51
50
  dasharray: `${r} ${r}`,
52
- dashoffset: C
51
+ dashoffset: b
53
52
  };
54
53
  });
55
- return (n, r) => (s(), a("svg", {
54
+ return (i, r) => (a(), s("svg", {
56
55
  class: "vue-ui-gizmo",
57
56
  viewBox: `0 0 ${v.value.width} ${v.value.height}`,
58
57
  width: e.value.size,
59
- style: L({
58
+ style: $({
60
59
  background: "transparent",
61
60
  fontFamily: e.value.fontFamily
62
61
  })
63
62
  }, [
64
- N(P),
65
- e.value.useGradient ? (s(), a("defs", D, [
63
+ F(l(w)),
64
+ e.value.useGradient ? (a(), s("defs", I, [
66
65
  t("linearGradient", {
67
- id: `gizmo_gradient_${l.value}`,
66
+ id: `gizmo_gradient_${u.value}`,
68
67
  x1: "0%",
69
68
  x2: "100%",
70
69
  y1: "0%",
@@ -73,14 +72,14 @@ const U = ["viewBox", "width"], D = { key: 0 }, I = ["id"], M = ["stop-color"],
73
72
  t("stop", {
74
73
  offset: "0%",
75
74
  "stop-color": e.value.gradientColor
76
- }, null, 8, M),
75
+ }, null, 8, S),
77
76
  t("stop", {
78
77
  offset: "100%",
79
78
  "stop-color": e.value.color
80
- }, null, 8, S)
81
- ], 8, I)
82
- ])) : i("", !0),
83
- e.value.type === "battery" ? (s(), a(p, { key: 1 }, [
79
+ }, null, 8, A)
80
+ ], 8, M)
81
+ ])) : n("", !0),
82
+ e.value.type === "battery" ? (a(), s(p, { key: 1 }, [
84
83
  t("path", {
85
84
  d: "M 5 10 L 5 40 C 5 43 7 45 9 45 L 65 45 C 68 45 70 43 70 40 L 70 38 C 73 38 75 38 75 33 L 75 17 C 75 12 73 12 70 12 L 70 10 C 70 7 68 5 65 5 L 10 5 C 7 5 5 7 5 10",
86
85
  stroke: e.value.stroke,
@@ -99,29 +98,29 @@ const U = ["viewBox", "width"], D = { key: 0 }, I = ["id"], M = ["stop-color"],
99
98
  y: 10,
100
99
  height: 30,
101
100
  width: 55 * (f.dataset / 100),
102
- fill: e.value.useGradient ? `url(#gizmo_gradient_${l.value})` : e.value.color,
101
+ fill: e.value.useGradient ? `url(#gizmo_gradient_${u.value})` : e.value.color,
103
102
  rx: 2
104
- }, null, 8, A),
105
- e.value.showPercentage ? (s(), a("text", {
103
+ }, null, 8, j),
104
+ e.value.showPercentage ? (a(), s("text", {
106
105
  key: 0,
107
106
  x: 85,
108
107
  y: 32,
109
108
  "text-anchor": "start",
110
109
  "font-size": "20",
111
110
  fill: e.value.textColor
112
- }, y(d(k)(
111
+ }, y(l(k)(
113
112
  e.value.formatter,
114
113
  o.dataset,
115
- d(m)({
114
+ l(m)({
116
115
  v: o.dataset,
117
116
  s: "%"
118
117
  })
119
- )), 9, j)) : i("", !0)
120
- ], 64)) : i("", !0),
121
- e.value.type === "gauge" ? (s(), a(p, { key: 2 }, [
122
- e.value.useGradient ? (s(), a("defs", T, [
118
+ )), 9, T)) : n("", !0)
119
+ ], 64)) : n("", !0),
120
+ e.value.type === "gauge" ? (a(), s(p, { key: 2 }, [
121
+ e.value.useGradient ? (a(), s("defs", q, [
123
122
  t("filter", {
124
- id: `blur_${l.value}`,
123
+ id: `blur_${u.value}`,
125
124
  x: "-50%",
126
125
  y: "-50%",
127
126
  width: "200%",
@@ -131,8 +130,8 @@ const U = ["viewBox", "width"], D = { key: 0 }, I = ["id"], M = ["stop-color"],
131
130
  in: "SourceGraphic",
132
131
  stdDeviation: 1
133
132
  }, null, -1)
134
- ]), 8, q)
135
- ])) : i("", !0),
133
+ ]), 8, H)
134
+ ])) : n("", !0),
136
135
  t("circle", {
137
136
  cx: 40,
138
137
  cy: 40,
@@ -140,22 +139,22 @@ const U = ["viewBox", "width"], D = { key: 0 }, I = ["id"], M = ["stop-color"],
140
139
  stroke: e.value.stroke,
141
140
  "stroke-width": 2 * 4,
142
141
  fill: "none"
143
- }, null, 8, H),
142
+ }, null, 8, J),
144
143
  t("circle", {
145
144
  cx: 40,
146
145
  cy: 40,
147
146
  r: 35,
148
147
  stroke: e.value.color,
149
148
  "stroke-width": 2 * 4,
150
- "stroke-dasharray": u.value.dasharray,
151
- "stroke-dashoffset": u.value.dashoffset,
149
+ "stroke-dasharray": d.value.dasharray,
150
+ "stroke-dashoffset": d.value.dashoffset,
152
151
  "stroke-linecap": "round",
153
152
  fill: "none",
154
153
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
155
- }, null, 8, J),
156
- e.value.useGradient ? (s(), a("g", {
154
+ }, null, 8, K),
155
+ e.value.useGradient ? (a(), s("g", {
157
156
  key: 1,
158
- filter: `url(#blur_${l.value})`
157
+ filter: `url(#blur_${u.value})`
159
158
  }, [
160
159
  t("circle", {
161
160
  cx: 40,
@@ -164,28 +163,28 @@ const U = ["viewBox", "width"], D = { key: 0 }, I = ["id"], M = ["stop-color"],
164
163
  stroke: e.value.gradientColor,
165
164
  "stroke-width": 1,
166
165
  fill: "none",
167
- "stroke-dasharray": u.value.dasharray,
168
- "stroke-dashoffset": u.value.dashoffset,
166
+ "stroke-dasharray": d.value.dasharray,
167
+ "stroke-dashoffset": d.value.dashoffset,
169
168
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
170
- }, null, 8, Q)
171
- ], 8, K)) : i("", !0),
172
- e.value.showPercentage ? (s(), a("text", {
169
+ }, null, 8, R)
170
+ ], 8, Q)) : n("", !0),
171
+ e.value.showPercentage ? (a(), s("text", {
173
172
  key: 2,
174
173
  x: 40,
175
174
  y: 47,
176
175
  "text-anchor": "middle",
177
176
  "font-size": "20",
178
177
  fill: e.value.textColor
179
- }, y(d(k)(
178
+ }, y(l(k)(
180
179
  e.value.formatter,
181
180
  o.dataset,
182
- d(m)({
181
+ l(m)({
183
182
  v: o.dataset,
184
183
  s: "%"
185
184
  })
186
- )), 9, R)) : i("", !0)
187
- ], 64)) : i("", !0)
188
- ], 12, U));
185
+ )), 9, W)) : n("", !0)
186
+ ], 64)) : n("", !0)
187
+ ], 12, D));
189
188
  }
190
189
  };
191
190
  export {