vue-data-ui 3.0.0-next.7 → 3.0.0-next.71

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 (137) hide show
  1. package/dist/{Arrow-Bl8urcli.js → Arrow-BZNpld6u.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CyhpaZU5.js → BaseDraggableDialog-kg-eVvXZ.js} +2 -2
  3. package/dist/{BaseIcon-BCZfTCeM.js → BaseIcon-BdOEhJar.js} +1 -1
  4. package/dist/{ColorPicker-CSJf42vx.js → ColorPicker-CWvXlPxS.js} +2 -2
  5. package/dist/{DataTable-mQ6Wd-rR.js → DataTable-B3yakHEM.js} +2 -2
  6. package/dist/{Legend-B2hrDh4G.js → Legend-DiGLrlzP.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DQ8KsK4W.js → NonSvgPenAndPaper-C-ZjpJQd.js} +3 -3
  8. package/dist/{PackageVersion-CeEYZfaH.js → PackageVersion-6s4eI8W7.js} +1 -1
  9. package/dist/{PenAndPaper-DhSxfUrQ.js → PenAndPaper-JoUN7Ink.js} +3 -3
  10. package/dist/{Shape-C2qH26wh.js → Shape-CWIa2nta.js} +43 -37
  11. package/dist/Slicer-DYuvPkEM.js +602 -0
  12. package/dist/{SparkTooltip-BcHgW6YX.js → SparkTooltip-C_fUmbP7.js} +1 -1
  13. package/dist/{Title-B7Xb3YuE.js → Title-VLWyIYrj.js} +1 -1
  14. package/dist/{Tooltip-BidRoM5E.js → Tooltip-BS5naLS2.js} +23 -19
  15. package/dist/{UserOptions-0tvMM8PF.js → UserOptions-BV_xM-sB.js} +2 -2
  16. package/dist/{dom-to-png-CTrlbKHr.js → dom-to-png-PUk0ukSG.js} +1 -1
  17. package/dist/{img-D72yZNUg.js → img-DD_2wgY3.js} +1 -1
  18. package/dist/{index-Cg-RjxqH.js → index-DKpp7RIH.js} +2236 -1505
  19. package/dist/{pdf-DgX01_wu.js → pdf-0TQQyXWM.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +610 -22
  22. package/dist/types/vue-data-ui.d.ts +610 -22
  23. package/dist/useAutoSizeLabelsInsideViewbox-Qhry5WvH.js +81 -0
  24. package/dist/useFitSvgText-2crs6Fv5.js +69 -0
  25. package/dist/useLoading-D7YHNtLX.js +29 -0
  26. package/dist/useNestedProp-D-8c0o4p.js +13 -0
  27. package/dist/usePanZoom-BVca3eMk.js +122 -0
  28. package/dist/{usePrinter-BUzmyQf9.js → usePrinter-NUeckmCX.js} +2 -2
  29. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  30. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
  31. package/dist/{vue-data-ui-DpO93ey5.js → vue-data-ui-BIXXEsFZ.js} +105 -100
  32. package/dist/vue-data-ui.js +23 -22
  33. package/dist/vue-ui-3d-bar-CVUfj12F.js +1323 -0
  34. package/dist/{vue-ui-accordion-CRomxzaL.js → vue-ui-accordion-Cpovz3RE.js} +3 -3
  35. package/dist/vue-ui-age-pyramid-CQWFaHLV.js +834 -0
  36. package/dist/{vue-ui-annotator-BAOxPiFx.js → vue-ui-annotator-C49Xw5Mh.js} +2 -2
  37. package/dist/vue-ui-bullet-DED2SuIa.js +571 -0
  38. package/dist/vue-ui-candlestick-DGgbevy6.js +999 -0
  39. package/dist/{vue-ui-carousel-table-DVGlPZIa.js → vue-ui-carousel-table-DKIgSB1T.js} +29 -29
  40. package/dist/{vue-ui-chestnut-P1v4ffD0.js → vue-ui-chestnut-D1bEM91d.js} +5 -5
  41. package/dist/vue-ui-chord-CBLSqtEP.js +1038 -0
  42. package/dist/{vue-ui-circle-pack-FXmemXgl.js → vue-ui-circle-pack-g2ts9NTG.js} +24 -24
  43. package/dist/{vue-ui-cursor-CdvMgIrP.js → vue-ui-cursor-DSxmPUD8.js} +2 -2
  44. package/dist/{vue-ui-dashboard-Vke0452J.js → vue-ui-dashboard-B6FfoNjQ.js} +62 -62
  45. package/dist/{vue-ui-digits-BVhyYqCs.js → vue-ui-digits-DKffQVgr.js} +2 -2
  46. package/dist/{vue-ui-donut-BpIivKcf.js → vue-ui-donut-CJrWc4-g.js} +320 -308
  47. package/dist/vue-ui-donut-evolution-Bys6cs-D.js +1075 -0
  48. package/dist/vue-ui-dumbbell-Cb_I__qC.js +1119 -0
  49. package/dist/vue-ui-flow-BzuT3ij5.js +841 -0
  50. package/dist/{vue-ui-funnel-BbFmbsft.js → vue-ui-funnel-Ctp7GDiN.js} +16 -16
  51. package/dist/vue-ui-galaxy-CRBy0aio.js +680 -0
  52. package/dist/vue-ui-gauge-NcQq5UFr.js +791 -0
  53. package/dist/vue-ui-gizmo-Cwfb8c-0.js +210 -0
  54. package/dist/vue-ui-heatmap-DElqpFVY.js +1078 -0
  55. package/dist/vue-ui-history-plot-De1Dvnhw.js +1073 -0
  56. package/dist/{vue-ui-kpi-jN_yMnLj.js → vue-ui-kpi-_bLScmgO.js} +26 -26
  57. package/dist/{vue-ui-mini-loader-rYr76x8g.js → vue-ui-mini-loader-PsHE_2Wy.js} +2 -2
  58. package/dist/{vue-ui-molecule-BWZHOQLi.js → vue-ui-molecule-CgiahnC6.js} +53 -51
  59. package/dist/vue-ui-mood-radar-dXVOOrhl.js +785 -0
  60. package/dist/vue-ui-nested-donuts-C0X6BetT.js +1286 -0
  61. package/dist/vue-ui-onion-C7sxQzk_.js +776 -0
  62. package/dist/vue-ui-parallel-coordinate-plot-jwtnNX59.js +915 -0
  63. package/dist/{vue-ui-quadrant-BFFzfDw3.js → vue-ui-quadrant-DguDE91h.js} +512 -459
  64. package/dist/vue-ui-quick-chart-BpEDS08U.js +1761 -0
  65. package/dist/vue-ui-radar-lFrqTRqo.js +796 -0
  66. package/dist/{vue-ui-rating-BAauyqTn.js → vue-ui-rating-BHghXziv.js} +2 -2
  67. package/dist/vue-ui-relation-circle-C5W6NFOb.js +598 -0
  68. package/dist/vue-ui-ridgeline-A2DuFEDS.js +1153 -0
  69. package/dist/vue-ui-rings-BgJAm9_b.js +728 -0
  70. package/dist/vue-ui-scatter-COfpLChz.js +1178 -0
  71. package/dist/{vue-ui-skeleton-CUOhCY4p.js → vue-ui-skeleton-DMLCBUtZ.js} +3 -3
  72. package/dist/{vue-ui-smiley-B6SqWMov.js → vue-ui-smiley-ZopESYc_.js} +26 -26
  73. package/dist/vue-ui-spark-trend-CuSQ03fQ.js +315 -0
  74. package/dist/vue-ui-sparkbar-BCsX9M4q.js +351 -0
  75. package/dist/vue-ui-sparkgauge-DdyZLA0T.js +232 -0
  76. package/dist/vue-ui-sparkhistogram-CUxFgIcE.js +380 -0
  77. package/dist/vue-ui-sparkline-DOkofsLL.js +489 -0
  78. package/dist/vue-ui-sparkstackbar-Bq9PZzmH.js +421 -0
  79. package/dist/vue-ui-stackbar-B7ceoT0V.js +1370 -0
  80. package/dist/vue-ui-strip-plot-DYh-NGQN.js +915 -0
  81. package/dist/{vue-ui-table-heatmap-DazTE3fa.js → vue-ui-table-heatmap-BVTb1xuA.js} +5 -5
  82. package/dist/{vue-ui-table-Dwjl3L0p.js → vue-ui-table-pESH5KAJ.js} +11 -11
  83. package/dist/{vue-ui-table-sparkline-BXMPUEpN.js → vue-ui-table-sparkline-Bw-6l9lA.js} +14 -14
  84. package/dist/vue-ui-thermometer-BqqfmS-B.js +541 -0
  85. package/dist/{vue-ui-timer-yLvNAZL_.js → vue-ui-timer-CVisMxLS.js} +5 -5
  86. package/dist/vue-ui-tiremarks-K1dcCdpj.js +406 -0
  87. package/dist/vue-ui-treemap-Bz3c68s4.js +1035 -0
  88. package/dist/{vue-ui-vertical-bar-BrYCoVym.js → vue-ui-vertical-bar-BvtXpCjw.js} +71 -69
  89. package/dist/vue-ui-waffle-CYO7bIf1.js +910 -0
  90. package/dist/vue-ui-wheel-De1spwLh.js +379 -0
  91. package/dist/vue-ui-word-cloud-BMmVrx_T.js +765 -0
  92. package/dist/{vue-ui-world-B4Dqrk4l.js → vue-ui-world-Ccpr00nJ.js} +11 -9
  93. package/dist/vue-ui-xy-D4jaRKe3.js +3771 -0
  94. package/dist/{vue-ui-xy-canvas-D7fL36kT.js → vue-ui-xy-canvas-DE-Uu5oq.js} +265 -264
  95. package/package.json +1 -1
  96. package/dist/Slicer-BD8Z8VCW.js +0 -577
  97. package/dist/useLoading-Bt5Doa8m.js +0 -28
  98. package/dist/useNestedProp-C_G5E08Y.js +0 -13
  99. package/dist/usePanZoom-BQMvRXEQ.js +0 -115
  100. package/dist/vue-ui-3d-bar-D8imUwEz.js +0 -1227
  101. package/dist/vue-ui-age-pyramid-CV7gtFOC.js +0 -746
  102. package/dist/vue-ui-bullet-BtuMMBF7.js +0 -513
  103. package/dist/vue-ui-candlestick-BsRtXKrv.js +0 -873
  104. package/dist/vue-ui-chord-CIuzYmpM.js +0 -949
  105. package/dist/vue-ui-donut-evolution-BRlsCA4U.js +0 -903
  106. package/dist/vue-ui-dumbbell-D87Dumjh.js +0 -753
  107. package/dist/vue-ui-flow-D_L_xssL.js +0 -765
  108. package/dist/vue-ui-galaxy-Cn6vHbaw.js +0 -617
  109. package/dist/vue-ui-gauge-Ds4terqY.js +0 -738
  110. package/dist/vue-ui-gizmo-BTncpI62.js +0 -192
  111. package/dist/vue-ui-heatmap-B6GpjeWC.js +0 -877
  112. package/dist/vue-ui-history-plot-DTDzEeGq.js +0 -924
  113. package/dist/vue-ui-mood-radar-CPfS6f1L.js +0 -670
  114. package/dist/vue-ui-nested-donuts-Bsd2kGoJ.js +0 -1177
  115. package/dist/vue-ui-onion-BQ4nISXW.js +0 -701
  116. package/dist/vue-ui-parallel-coordinate-plot-BoHgVgbn.js +0 -807
  117. package/dist/vue-ui-quick-chart-oNMTeOAL.js +0 -1612
  118. package/dist/vue-ui-radar-98mXFZe-.js +0 -741
  119. package/dist/vue-ui-relation-circle-6oDCSxkO.js +0 -542
  120. package/dist/vue-ui-ridgeline-CugMGjOU.js +0 -969
  121. package/dist/vue-ui-rings-bsGXaD2m.js +0 -685
  122. package/dist/vue-ui-scatter-7ssLliGg.js +0 -1045
  123. package/dist/vue-ui-spark-trend-jauInkkN.js +0 -291
  124. package/dist/vue-ui-sparkbar-DXByIxQH.js +0 -301
  125. package/dist/vue-ui-sparkgauge-BMrV2gDi.js +0 -201
  126. package/dist/vue-ui-sparkhistogram-CoNM4G7o.js +0 -313
  127. package/dist/vue-ui-sparkline-DrN3_wS0.js +0 -459
  128. package/dist/vue-ui-sparkstackbar-W1a0JQi9.js +0 -381
  129. package/dist/vue-ui-stackbar-D1-gbUgE.js +0 -1207
  130. package/dist/vue-ui-strip-plot-KhfvrVuN.js +0 -761
  131. package/dist/vue-ui-thermometer-Cn6lJRs3.js +0 -495
  132. package/dist/vue-ui-tiremarks-BYsWePfK.js +0 -358
  133. package/dist/vue-ui-treemap-Ce7RVFG3.js +0 -965
  134. package/dist/vue-ui-waffle-CCrR2T1G.js +0 -863
  135. package/dist/vue-ui-wheel-BuxjnrDN.js +0 -352
  136. package/dist/vue-ui-word-cloud-C6fawHJE.js +0 -659
  137. package/dist/vue-ui-xy-ubRnv9iJ.js +0 -2980
@@ -1,192 +0,0 @@
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-Cg-RjxqH.js";
3
- import { u as U } from "./useNestedProp-C_G5E08Y.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 = {
5
- __name: "vue-ui-gizmo",
6
- props: {
7
- config: {
8
- type: Object,
9
- default() {
10
- return {};
11
- }
12
- },
13
- dataset: {
14
- type: Number,
15
- default: 0
16
- }
17
- },
18
- setup(f) {
19
- const w = z(() => import("./PackageVersion-CeEYZfaH.js")), { vue_ui_gizmo: x } = V(), o = f, u = G(B()), C = L();
20
- _(() => {
21
- h();
22
- }), _(() => {
23
- C["chart-background"] && console.warn("VueUiGizmo does not support the #chart-background slot.");
24
- });
25
- function h() {
26
- !o.dataset && o.dataset !== 0 && P({
27
- componentName: "VueUiGizmo",
28
- type: "dataset"
29
- }), o.dataset < 0 && console.warn("VueUiGizmo: dataset cannot be negative.");
30
- }
31
- const e = c({
32
- get: () => g(),
33
- set: (i) => i
34
- });
35
- function g() {
36
- return U({
37
- userConfig: o.config,
38
- defaultConfig: x
39
- });
40
- }
41
- N(() => o.config, (i) => {
42
- e.value = g(), h();
43
- }, { deep: !0 });
44
- const v = c(() => ({
45
- battery: { width: e.value.showPercentage ? 140 : 80, height: 50 },
46
- gauge: { width: 80, height: 80 }
47
- })[e.value.type]), d = c(() => {
48
- const r = 2 * Math.PI * 35, b = r - o.dataset / 100 * r;
49
- return {
50
- dasharray: `${r} ${r}`,
51
- dashoffset: b
52
- };
53
- });
54
- return (i, r) => (a(), s("svg", {
55
- class: "vue-ui-gizmo",
56
- viewBox: `0 0 ${v.value.width} ${v.value.height}`,
57
- width: e.value.size,
58
- style: $({
59
- background: "transparent",
60
- fontFamily: e.value.fontFamily
61
- })
62
- }, [
63
- F(l(w)),
64
- e.value.useGradient ? (a(), s("defs", I, [
65
- t("linearGradient", {
66
- id: `gizmo_gradient_${u.value}`,
67
- x1: "0%",
68
- x2: "100%",
69
- y1: "0%",
70
- y2: "0%"
71
- }, [
72
- t("stop", {
73
- offset: "0%",
74
- "stop-color": e.value.gradientColor
75
- }, null, 8, S),
76
- t("stop", {
77
- offset: "100%",
78
- "stop-color": e.value.color
79
- }, null, 8, A)
80
- ], 8, M)
81
- ])) : n("", !0),
82
- e.value.type === "battery" ? (a(), s(p, { key: 1 }, [
83
- t("path", {
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",
85
- stroke: e.value.stroke,
86
- "stroke-width": 2,
87
- fill: "none"
88
- }, null, 8, E),
89
- t("path", {
90
- d: "M 70 16 L 70 34",
91
- stroke: e.value.stroke,
92
- "stroke-width": 2,
93
- fill: "none",
94
- style: { opacity: "0.5" }
95
- }, null, 8, O),
96
- t("rect", {
97
- x: 10,
98
- y: 10,
99
- height: 30,
100
- width: 55 * (f.dataset / 100),
101
- fill: e.value.useGradient ? `url(#gizmo_gradient_${u.value})` : e.value.color,
102
- rx: 2
103
- }, null, 8, j),
104
- e.value.showPercentage ? (a(), s("text", {
105
- key: 0,
106
- x: 85,
107
- y: 32,
108
- "text-anchor": "start",
109
- "font-size": "20",
110
- fill: e.value.textColor
111
- }, y(l(k)(
112
- e.value.formatter,
113
- o.dataset,
114
- l(m)({
115
- v: o.dataset,
116
- s: "%"
117
- })
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, [
122
- t("filter", {
123
- id: `blur_${u.value}`,
124
- x: "-50%",
125
- y: "-50%",
126
- width: "200%",
127
- height: "200%"
128
- }, r[0] || (r[0] = [
129
- t("feGaussianBlur", {
130
- in: "SourceGraphic",
131
- stdDeviation: 1
132
- }, null, -1)
133
- ]), 8, H)
134
- ])) : n("", !0),
135
- t("circle", {
136
- cx: 40,
137
- cy: 40,
138
- r: 35,
139
- stroke: e.value.stroke,
140
- "stroke-width": 2 * 4,
141
- fill: "none"
142
- }, null, 8, J),
143
- t("circle", {
144
- cx: 40,
145
- cy: 40,
146
- r: 35,
147
- stroke: e.value.color,
148
- "stroke-width": 2 * 4,
149
- "stroke-dasharray": d.value.dasharray,
150
- "stroke-dashoffset": d.value.dashoffset,
151
- "stroke-linecap": "round",
152
- fill: "none",
153
- style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
154
- }, null, 8, K),
155
- e.value.useGradient ? (a(), s("g", {
156
- key: 1,
157
- filter: `url(#blur_${u.value})`
158
- }, [
159
- t("circle", {
160
- cx: 40,
161
- cy: 40,
162
- r: 35,
163
- stroke: e.value.gradientColor,
164
- "stroke-width": 1,
165
- fill: "none",
166
- "stroke-dasharray": d.value.dasharray,
167
- "stroke-dashoffset": d.value.dashoffset,
168
- style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
169
- }, null, 8, R)
170
- ], 8, Q)) : n("", !0),
171
- e.value.showPercentage ? (a(), s("text", {
172
- key: 2,
173
- x: 40,
174
- y: 47,
175
- "text-anchor": "middle",
176
- "font-size": "20",
177
- fill: e.value.textColor
178
- }, y(l(k)(
179
- e.value.formatter,
180
- o.dataset,
181
- l(m)({
182
- v: o.dataset,
183
- s: "%"
184
- })
185
- )), 9, W)) : n("", !0)
186
- ], 64)) : n("", !0)
187
- ], 12, D));
188
- }
189
- };
190
- export {
191
- ee as default
192
- };