vue-data-ui 3.16.0 → 3.16.1

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 (136) hide show
  1. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  2. package/dist/{NonSvgPenAndPaper-vqweC0WU.js → NonSvgPenAndPaper-VyJFyJ6X.js} +1 -1
  3. package/dist/{PackageVersion-IIGK_e2C.js → PackageVersion-DPO-OOVI.js} +1 -1
  4. package/dist/{PenAndPaper-DARlvvKW.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  5. package/dist/{UserOptions-DWHf8jyO.js → UserOptions-rW2fRf3V.js} +2 -2
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-age-pyramid.js +1 -1
  8. package/dist/components/vue-ui-annotator.js +1 -1
  9. package/dist/components/vue-ui-bullet.js +1 -1
  10. package/dist/components/vue-ui-bump.js +1 -1
  11. package/dist/components/vue-ui-candlestick.js +1 -1
  12. package/dist/components/vue-ui-carousel-table.js +1 -1
  13. package/dist/components/vue-ui-chestnut.js +1 -1
  14. package/dist/components/vue-ui-chord.js +1 -1
  15. package/dist/components/vue-ui-circle-pack.js +1 -1
  16. package/dist/components/vue-ui-cursor.js +1 -1
  17. package/dist/components/vue-ui-dag.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-geo.js +1 -1
  28. package/dist/components/vue-ui-gizmo.js +1 -1
  29. package/dist/components/vue-ui-heatmap.js +1 -1
  30. package/dist/components/vue-ui-history-plot.js +1 -1
  31. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  32. package/dist/components/vue-ui-kpi.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-spark-trend.js +1 -1
  47. package/dist/components/vue-ui-sparkbar.js +1 -1
  48. package/dist/components/vue-ui-sparkgauge.js +1 -1
  49. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  50. package/dist/components/vue-ui-sparkline.js +1 -1
  51. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  52. package/dist/components/vue-ui-stackbar.js +1 -1
  53. package/dist/components/vue-ui-stackline.js +1 -1
  54. package/dist/components/vue-ui-strip-plot.js +1 -1
  55. package/dist/components/vue-ui-table-heatmap.js +1 -1
  56. package/dist/components/vue-ui-table-sparkline.js +1 -1
  57. package/dist/components/vue-ui-table.js +1 -1
  58. package/dist/components/vue-ui-thermometer.js +1 -1
  59. package/dist/components/vue-ui-timer.js +1 -1
  60. package/dist/components/vue-ui-tiremarks.js +1 -1
  61. package/dist/components/vue-ui-treemap.js +1 -1
  62. package/dist/components/vue-ui-vertical-bar.js +1 -1
  63. package/dist/components/vue-ui-waffle.js +1 -1
  64. package/dist/components/vue-ui-wheel.js +1 -1
  65. package/dist/components/vue-ui-word-cloud.js +1 -1
  66. package/dist/components/vue-ui-world.js +1 -1
  67. package/dist/components/vue-ui-xy-canvas.js +1 -1
  68. package/dist/components/vue-ui-xy.js +1 -1
  69. package/dist/style.css +1 -1
  70. package/dist/types/vue-data-ui.d.ts +1 -0
  71. package/dist/{vue-data-ui-CykQ4SW2.js → vue-data-ui-DXGkXRnC.js} +63 -63
  72. package/dist/vue-data-ui.js +63 -63
  73. package/dist/{vue-ui-3d-bar-D5KRiVmZ.js → vue-ui-3d-bar-BaFpQnd5.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-QfZ1J5Xx.js → vue-ui-age-pyramid-CRM498Pc.js} +342 -341
  75. package/dist/{vue-ui-annotator-CpSMITlP.js → vue-ui-annotator-CkPi9moo.js} +1 -1
  76. package/dist/{vue-ui-bullet-B-mo7tzz.js → vue-ui-bullet-BBiwof3c.js} +1 -1
  77. package/dist/{vue-ui-bump-NfZcJ9Q0.js → vue-ui-bump-Brxpu4xV.js} +1 -1
  78. package/dist/{vue-ui-candlestick-CGU-0rrF.js → vue-ui-candlestick-DAnZv77-.js} +240 -239
  79. package/dist/{vue-ui-carousel-table-BsdD3wU7.js → vue-ui-carousel-table-BHRZBYY0.js} +1 -1
  80. package/dist/{vue-ui-chestnut-JpoNeiHD.js → vue-ui-chestnut-CbrYnRgm.js} +1 -1
  81. package/dist/{vue-ui-chord-CxhxjRQz.js → vue-ui-chord-CaX_IUVs.js} +1 -1
  82. package/dist/{vue-ui-circle-pack-DbxOzzk2.js → vue-ui-circle-pack-CR3h53sc.js} +1 -1
  83. package/dist/{vue-ui-cursor-CZGKKkeT.js → vue-ui-cursor-Cjfazw7Z.js} +1 -1
  84. package/dist/{vue-ui-dag-gal2eIv-.js → vue-ui-dag-B9vH3c66.js} +1 -1
  85. package/dist/{vue-ui-dashboard-ClnkPMc5.js → vue-ui-dashboard-DWll05qs.js} +62 -62
  86. package/dist/{vue-ui-digits-DColgbmH.js → vue-ui-digits-DcM67rMx.js} +1 -1
  87. package/dist/{vue-ui-donut-Bckj-DX2.js → vue-ui-donut-Be5G38P5.js} +395 -394
  88. package/dist/{vue-ui-donut-evolution-B6HtvZVs.js → vue-ui-donut-evolution-BLSesj3c.js} +265 -264
  89. package/dist/{vue-ui-dumbbell-r3Jv9uut.js → vue-ui-dumbbell-DIMiCY4r.js} +1 -1
  90. package/dist/{vue-ui-flow-BxfLqYXa.js → vue-ui-flow-zvZylhgr.js} +1 -1
  91. package/dist/{vue-ui-funnel-B6Gevxqh.js → vue-ui-funnel-CSri-oWm.js} +1 -1
  92. package/dist/{vue-ui-galaxy-BJr1ddJZ.js → vue-ui-galaxy-CGykxsAI.js} +1 -1
  93. package/dist/{vue-ui-gauge-Q-Slhgwx.js → vue-ui-gauge-D1MNB9Jq.js} +1 -1
  94. package/dist/{vue-ui-geo-Dow4oyTv.js → vue-ui-geo-DdJDGhG2.js} +1 -1
  95. package/dist/{vue-ui-gizmo-zpVjAoDG.js → vue-ui-gizmo-BZYRHGFm.js} +1 -1
  96. package/dist/{vue-ui-heatmap-mKX5Bzql.js → vue-ui-heatmap-CryOx6XK.js} +494 -482
  97. package/dist/{vue-ui-history-plot-D6kiRkhD.js → vue-ui-history-plot-C85iw9Kl.js} +1 -1
  98. package/dist/{vue-ui-horizontal-bar-FKkR13e7.js → vue-ui-horizontal-bar-BoBZOybC.js} +430 -429
  99. package/dist/{vue-ui-kpi-CMRe29m5.js → vue-ui-kpi-DHrolXw6.js} +1 -1
  100. package/dist/{vue-ui-molecule-7eT7D17p.js → vue-ui-molecule-DJ_BQ4DK.js} +1 -1
  101. package/dist/{vue-ui-mood-radar-DsC0X_C2.js → vue-ui-mood-radar-CBE02TpQ.js} +1 -1
  102. package/dist/{vue-ui-nested-donuts-FbiXKFZX.js → vue-ui-nested-donuts-YTFtb4CL.js} +284 -283
  103. package/dist/{vue-ui-onion-CjWiTq2x.js → vue-ui-onion-B9l81-PS.js} +1 -1
  104. package/dist/{vue-ui-parallel-coordinate-plot-kl1jgKIX.js → vue-ui-parallel-coordinate-plot-C1e_rs8J.js} +1 -1
  105. package/dist/{vue-ui-quadrant-CyalzEfW.js → vue-ui-quadrant-C1qsLCRn.js} +556 -555
  106. package/dist/{vue-ui-quick-chart-DgWwf7SJ.js → vue-ui-quick-chart-DFoz3WiA.js} +360 -359
  107. package/dist/{vue-ui-radar-Bw9veQKf.js → vue-ui-radar-Cmo3p-UA.js} +1 -1
  108. package/dist/{vue-ui-relation-circle-D4-9g-5t.js → vue-ui-relation-circle-BqwznVwf.js} +1 -1
  109. package/dist/{vue-ui-ridgeline-BZy69VT6.js → vue-ui-ridgeline-CDk9eXJq.js} +1 -1
  110. package/dist/{vue-ui-rings-LDs6OFnx.js → vue-ui-rings-BRkGoQdL.js} +1 -1
  111. package/dist/{vue-ui-scatter-i_hakuFa.js → vue-ui-scatter-BxDtWASQ.js} +479 -466
  112. package/dist/{vue-ui-skeleton-F2qaXsQ2.js → vue-ui-skeleton-D6kTb9aO.js} +1 -1
  113. package/dist/{vue-ui-spark-trend-ZIMooBi3.js → vue-ui-spark-trend-D8Mf2A1w.js} +1 -1
  114. package/dist/{vue-ui-sparkbar-BYRKG_Mm.js → vue-ui-sparkbar-BbYj56c3.js} +1 -1
  115. package/dist/{vue-ui-sparkgauge-BM0mnDHp.js → vue-ui-sparkgauge-DXzOSLRb.js} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-z4-7Q6J8.js → vue-ui-sparkhistogram-DMfSx1iH.js} +1 -1
  117. package/dist/{vue-ui-sparkline-9m1__jVp.js → vue-ui-sparkline-D-rQ9PsC.js} +439 -438
  118. package/dist/{vue-ui-sparkstackbar-uM98VUDw.js → vue-ui-sparkstackbar-DK5n8IKP.js} +1 -1
  119. package/dist/{vue-ui-stackbar-DcSJuwTC.js → vue-ui-stackbar-BHthy6jf.js} +212 -211
  120. package/dist/{vue-ui-stackline-Dl_FfJAO.js → vue-ui-stackline-C6-WNpKD.js} +363 -362
  121. package/dist/{vue-ui-strip-plot-CcV8bOkg.js → vue-ui-strip-plot-CHu-1ilI.js} +1 -1
  122. package/dist/{vue-ui-table-Dx-N-eF1.js → vue-ui-table-DW9JGsLq.js} +2 -2
  123. package/dist/{vue-ui-table-heatmap-CVxNZzGe.js → vue-ui-table-heatmap-LYqoBit9.js} +1 -1
  124. package/dist/{vue-ui-table-sparkline-DdtbqaUL.js → vue-ui-table-sparkline-CXK1dFr-.js} +1 -1
  125. package/dist/{vue-ui-thermometer-Clwz-wUE.js → vue-ui-thermometer-BN8tflOz.js} +1 -1
  126. package/dist/{vue-ui-timer-BYVk_bvz.js → vue-ui-timer-DGT0UBOF.js} +1 -1
  127. package/dist/{vue-ui-tiremarks-D5TSv5yw.js → vue-ui-tiremarks-BZ-osQqY.js} +1 -1
  128. package/dist/{vue-ui-treemap-C0zhPMxE.js → vue-ui-treemap-98KaVRyd.js} +388 -387
  129. package/dist/{vue-ui-waffle-BtjLPkLm.js → vue-ui-waffle-Cb7oJnIc.js} +1 -1
  130. package/dist/{vue-ui-wheel-DSlnowV4.js → vue-ui-wheel-sfew1fjw.js} +1 -1
  131. package/dist/{vue-ui-word-cloud-DFdiRCqc.js → vue-ui-word-cloud-vq1t9JHr.js} +1 -1
  132. package/dist/{vue-ui-world-CymT7_Ep.js → vue-ui-world-CN0f6elD.js} +1 -1
  133. package/dist/{vue-ui-xy-B9Q4FR0g.js → vue-ui-xy-BdzEiImZ.js} +956 -955
  134. package/dist/{vue-ui-xy-canvas-CrnBxoa0.js → vue-ui-xy-canvas-CWQzUQzY.js} +113 -113
  135. package/package.json +1 -1
  136. package/dist/ColorPicker-DQ5sdRrl.js +0 -244
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.16.0",
4
+ "version": "3.16.1",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -1,244 +0,0 @@
1
- import { ref as u, computed as T, watchEffect as U, onMounted as W, onBeforeUnmount as Y, watch as j, withDirectives as q, openBlock as s, createElementBlock as v, withKeys as A, createElementVNode as i, normalizeStyle as a, renderSlot as G, normalizeProps as H, guardReactiveProps as J, createVNode as b, withModifiers as n, Fragment as R, renderList as M, createCommentVNode as N, createBlock as Q, Teleport as X, unref as Z, nextTick as _ } from "vue";
2
- import g from "./BaseIcon-Cb3zzG6s.js";
3
- import { W as ee } from "./lib-DBptbyyI.js";
4
- import { v as oe } from "./vClickOutside-C6WiFswA.js";
5
- import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const ne = ["onClick"], re = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, le = ["value"], ie = ["onClick"], ue = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, se = ["value"], ae = {
7
- __name: "ColorPicker",
8
- props: {
9
- value: {
10
- type: String,
11
- default: "#ffffff"
12
- },
13
- size: {
14
- type: String,
15
- default: "50px"
16
- },
17
- backgroundColor: {
18
- type: String,
19
- default: "#FFFFFF"
20
- },
21
- buttonBorderColor: {
22
- type: String,
23
- default: "#FFFFFF"
24
- },
25
- teleported: {
26
- type: Boolean,
27
- default: !1
28
- },
29
- isCursorPointer: {
30
- type: Boolean,
31
- default: !1
32
- }
33
- },
34
- emits: ["update:value"],
35
- setup(o, { emit: $ }) {
36
- const c = o, F = $, O = u(null), C = u(null), d = u(null), l = u(!1), m = u(!1), y = u({ top: 0, left: 0 }), V = T(() => ({
37
- backgroundColor: c.value,
38
- width: "100%",
39
- height: "100%",
40
- cursor: c.isCursorPointer ? "pointer" : "default"
41
- })), f = T(() => ee(c.value));
42
- function w(t) {
43
- F("update:value", t), l.value = !1;
44
- }
45
- function E(t) {
46
- F("update:value", t.target.value);
47
- }
48
- function P(t) {
49
- t?.stopPropagation?.(), m.value = !0, d.value?.click();
50
- }
51
- function D() {
52
- l.value = !1;
53
- }
54
- function L() {
55
- !m.value && l.value && D();
56
- }
57
- async function K() {
58
- l.value = !l.value, l.value && c.teleported && (await _(), x());
59
- }
60
- function x() {
61
- if (!C.value) return;
62
- const t = C.value.getBoundingClientRect();
63
- y.value = { top: t.top + 36, left: t.right - 48 };
64
- }
65
- function p() {
66
- l.value && c.teleported && x();
67
- }
68
- function k() {
69
- setTimeout(() => m.value = !1, 0);
70
- }
71
- U((t) => {
72
- const e = d.value;
73
- if (!e) return;
74
- const r = () => k(), I = () => k(), S = () => {
75
- };
76
- e.addEventListener("blur", r), e.addEventListener("change", I), e.addEventListener("input", S), t(() => {
77
- e.removeEventListener("blur", r), e.removeEventListener("change", I), e.removeEventListener("input", S);
78
- });
79
- });
80
- function B() {
81
- k();
82
- }
83
- function h() {
84
- document.visibilityState === "visible" && k();
85
- }
86
- W(() => {
87
- window.addEventListener("scroll", p, { passive: !0 }), window.addEventListener("resize", p, { passive: !0 }), window.addEventListener("focus", B), document.addEventListener("visibilitychange", h);
88
- }), Y(() => {
89
- window.removeEventListener("scroll", p), window.removeEventListener("resize", p), window.removeEventListener("focus", B), document.removeEventListener("visibilitychange", h);
90
- }), j(
91
- () => c.value,
92
- (t) => {
93
- d.value && (d.value.value = t);
94
- }
95
- );
96
- const z = u([
97
- "#000000",
98
- "#FFFFFF",
99
- "#FF5733",
100
- "#33FF57",
101
- "#3357FF",
102
- "#FFC300",
103
- "#800080",
104
- "#FF1493",
105
- "#00CED1"
106
- ]);
107
- return (t, e) => q((s(), v("div", {
108
- ref_key: "wrapperRef",
109
- ref: O,
110
- onKeydown: A(L, ["esc"]),
111
- style: { height: "100%", width: "100%", position: "relative" }
112
- }, [
113
- i("button", {
114
- ref_key: "buttonRef",
115
- ref: C,
116
- class: "icon",
117
- onClick: K,
118
- style: a(V.value),
119
- type: "button"
120
- }, [
121
- G(t.$slots, "annotator-action-color", H(J({ color: f.value })), () => [
122
- b(g, {
123
- name: "palette",
124
- stroke: f.value,
125
- size: 22
126
- }, null, 8, ["stroke"])
127
- ], !0)
128
- ], 4),
129
- l.value && !o.teleported ? (s(), v("div", {
130
- key: 0,
131
- tabindex: "0",
132
- class: "vue-ui-color-picker",
133
- style: a({
134
- backgroundColor: o.backgroundColor,
135
- position: "absolute",
136
- left: "calc(100% + 30px)",
137
- top: "50%",
138
- transform: "translateY(-18%)"
139
- }),
140
- onMousedown: e[2] || (e[2] = n(() => {
141
- }, ["stop"])),
142
- onClick: e[3] || (e[3] = n(() => {
143
- }, ["stop"])),
144
- onTouchstart: e[4] || (e[4] = n(() => {
145
- }, ["stop"]))
146
- }, [
147
- (s(!0), v(R, null, M(z.value, (r) => (s(), v("button", {
148
- key: r,
149
- class: "vue-ui-color-picker-option",
150
- type: "button",
151
- style: a({ backgroundColor: r, outline: `1px solid ${o.buttonBorderColor}`, cursor: o.isCursorPointer ? "pointer" : "default" }),
152
- onClick: () => w(r)
153
- }, null, 12, ne))), 128)),
154
- i("button", {
155
- class: "vue-ui-color-picker-option",
156
- type: "button",
157
- style: a({ backgroundColor: o.value, outline: `1px solid ${o.buttonBorderColor}`, cursor: o.isCursorPointer ? "pointer" : "default" }),
158
- onClick: n(P, ["stop"]),
159
- onMousedown: e[0] || (e[0] = n(() => {
160
- }, ["stop"])),
161
- onTouchstart: e[1] || (e[1] = n(() => {
162
- }, ["stop"]))
163
- }, [
164
- i("div", re, [
165
- b(g, {
166
- name: "colorPicker",
167
- stroke: f.value,
168
- size: 22
169
- }, null, 8, ["stroke"])
170
- ]),
171
- i("input", {
172
- ref_key: "colorInput",
173
- ref: d,
174
- type: "color",
175
- value: o.value,
176
- class: "hidden-input",
177
- onInput: E
178
- }, null, 40, le)
179
- ], 36)
180
- ], 36)) : N("", !0),
181
- l.value && o.teleported ? (s(), Q(X, {
182
- key: 1,
183
- to: "body"
184
- }, [
185
- i("div", {
186
- tabindex: "0",
187
- class: "vue-ui-color-picker",
188
- style: a({
189
- backgroundColor: o.backgroundColor,
190
- position: "fixed",
191
- top: y.value.top + "px",
192
- left: y.value.left + "px",
193
- zIndex: 2147483647
194
- }),
195
- onMousedown: e[7] || (e[7] = n(() => {
196
- }, ["stop"])),
197
- onClick: e[8] || (e[8] = n(() => {
198
- }, ["stop"])),
199
- onTouchstart: e[9] || (e[9] = n(() => {
200
- }, ["stop"]))
201
- }, [
202
- (s(!0), v(R, null, M(z.value, (r) => (s(), v("button", {
203
- key: r,
204
- class: "vue-ui-color-picker-option",
205
- type: "button",
206
- style: a({ backgroundColor: r, outline: `1px solid ${o.buttonBorderColor}`, cursor: o.isCursorPointer ? "pointer" : "default" }),
207
- onClick: () => w(r)
208
- }, null, 12, ie))), 128)),
209
- i("button", {
210
- class: "vue-ui-color-picker-option",
211
- type: "button",
212
- style: a({ backgroundColor: o.value, outline: `1px solid ${o.buttonBorderColor}`, cursor: o.isCursorPointer ? "cursor" : "default" }),
213
- onClick: n(P, ["stop"]),
214
- onMousedown: e[5] || (e[5] = n(() => {
215
- }, ["stop"])),
216
- onTouchstart: e[6] || (e[6] = n(() => {
217
- }, ["stop"]))
218
- }, [
219
- i("div", ue, [
220
- b(g, {
221
- name: "colorPicker",
222
- stroke: f.value,
223
- size: 22
224
- }, null, 8, ["stroke"])
225
- ]),
226
- i("input", {
227
- ref_key: "colorInput",
228
- ref: d,
229
- type: "color",
230
- value: o.value,
231
- class: "hidden-input",
232
- onInput: E
233
- }, null, 40, se)
234
- ], 36)
235
- ], 36)
236
- ])) : N("", !0)
237
- ], 32)), [
238
- [Z(oe), L]
239
- ]);
240
- }
241
- }, ke = /* @__PURE__ */ te(ae, [["__scopeId", "data-v-5fdacedc"]]);
242
- export {
243
- ke as C
244
- };