vue-data-ui 3.0.23 → 3.1.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.
- package/dist/{Arrow-B1Op9F3x.js → Arrow-DvG07exK.js} +1 -1
- package/dist/{BaseDraggableDialog-B4OaMIom.js → BaseDraggableDialog-O7900pGp.js} +72 -59
- package/dist/{BaseIcon-CgUOIGjr.js → BaseIcon-DHtro8us.js} +1 -1
- package/dist/{useLoading-D7YHNtLX.js → BaseScanner-BgWxam9d.js} +11 -11
- package/dist/{ColorPicker-C0nf8VH0.js → ColorPicker-CpWzNn4r.js} +2 -2
- package/dist/DataTable-DJjA2_wf.js +140 -0
- package/dist/{Legend-CyYXMSsW.js → Legend-2-dC7DVb.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D63qeScu.js → NonSvgPenAndPaper-DHeE4Yuv.js} +3 -3
- package/dist/{PackageVersion-B6M-3jRt.js → PackageVersion-DU12WH3O.js} +1 -1
- package/dist/{PenAndPaper-zym5uEeN.js → PenAndPaper-B7QEDgx4.js} +3 -3
- package/dist/{Shape-CYVs2kYz.js → Shape-Dj2Hl33H.js} +1 -1
- package/dist/{Slicer-BTIFUO4x.js → Slicer-D99HytqX.js} +2 -2
- package/dist/{SparkTooltip-CNz7AYUL.js → SparkTooltip-B-wL07rI.js} +1 -1
- package/dist/{Title-D_e0SFWS.js → Title-Dq2_Z9kR.js} +1 -1
- package/dist/{Tooltip-DjVoFYj1.js → Tooltip-Y219DXZO.js} +1 -1
- package/dist/{UserOptions-z0NWZ7aQ.js → UserOptions-BuGfCdAY.js} +2 -2
- package/dist/{dom-to-png-DD0au3Qz.js → dom-to-png-BhciAKaM.js} +1 -1
- package/dist/{img-z5p1gGfY.js → img-JOqdlnUs.js} +1 -1
- package/dist/{index-BEuUtONc.js → index-CDQbCd41.js} +37 -2
- package/dist/{pdf-BmUjVBni.js → pdf-Dd-LIJqz.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +35 -0
- package/dist/types/vue-data-ui.d.ts +35 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CchB8S-o.js → useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js} +1 -1
- package/dist/{useNestedProp-DhLFhguL.js → useNestedProp-BPEHGiYX.js} +1 -1
- package/dist/{usePrinter-DiB0_UNt.js → usePrinter-Bnl1YeUU.js} +2 -2
- package/dist/{vue-data-ui-DJIAas-7.js → vue-data-ui-DcNYz3cZ.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-BNIFAeN-.js +1369 -0
- package/dist/{vue-ui-accordion-B4YfUjZ5.js → vue-ui-accordion-Bf_LHFFX.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CkXXNN79.js → vue-ui-age-pyramid-Bz-l1afR.js} +333 -286
- package/dist/{vue-ui-annotator-DnSsIkvU.js → vue-ui-annotator-BcfRH2BF.js} +2 -2
- package/dist/{vue-ui-bullet-kZkBsWPY.js → vue-ui-bullet-DK1aM9fX.js} +8 -8
- package/dist/{vue-ui-candlestick-CIn0xZm0.js → vue-ui-candlestick-D6mMjvtu.js} +453 -406
- package/dist/{vue-ui-carousel-table-f1FDOAqH.js → vue-ui-carousel-table-Vp5f238W.js} +4 -4
- package/dist/{vue-ui-chestnut-B-jSj7FT.js → vue-ui-chestnut-BKc4v-lf.js} +509 -459
- package/dist/vue-ui-chord-CquhRjf0.js +1100 -0
- package/dist/vue-ui-circle-pack-D6zLgxa3.js +755 -0
- package/dist/{vue-ui-cursor-DdBrui6i.js → vue-ui-cursor-DIXb2S93.js} +2 -2
- package/dist/{vue-ui-dashboard-DSUfW7mI.js → vue-ui-dashboard-DmiriAK7.js} +62 -62
- package/dist/{vue-ui-digits-Cb3Wq5WR.js → vue-ui-digits-CLAIo9gW.js} +2 -2
- package/dist/{vue-ui-donut-BCZqlAO3.js → vue-ui-donut-C8h_tCSO.js} +477 -431
- package/dist/{vue-ui-donut-evolution-HmQBq9VP.js → vue-ui-donut-evolution-C3r0YhKz.js} +482 -435
- package/dist/{vue-ui-dumbbell-B5w2oqNO.js → vue-ui-dumbbell-D-t4M00E.js} +443 -398
- package/dist/vue-ui-flow-D7_D_UNm.js +900 -0
- package/dist/vue-ui-funnel-B0QOfZRz.js +666 -0
- package/dist/vue-ui-galaxy-Ccw5uNes.js +744 -0
- package/dist/{vue-ui-gauge-C_KLPWk2.js → vue-ui-gauge-DvW7nFmK.js} +8 -8
- package/dist/{vue-ui-gizmo-CsPX25Ti.js → vue-ui-gizmo-WGQxvGPy.js} +4 -4
- package/dist/vue-ui-heatmap-BQkLujyp.js +1127 -0
- package/dist/{vue-ui-history-plot-DgpYiaUD.js → vue-ui-history-plot-eU33r_Ot.js} +408 -361
- package/dist/{vue-ui-kpi-DOgibU7W.js → vue-ui-kpi-CKg2i71M.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjsQAxDx.js → vue-ui-mini-loader-BmkGQsm_.js} +2 -2
- package/dist/vue-ui-molecule-Dlu0hjSg.js +702 -0
- package/dist/{vue-ui-mood-radar-DMwVl3wz.js → vue-ui-mood-radar-DQaxfw9R.js} +342 -291
- package/dist/{vue-ui-nested-donuts-H0GzIAF0.js → vue-ui-nested-donuts-Djj9Aw_i.js} +548 -502
- package/dist/{vue-ui-onion-A6nKcus1.js → vue-ui-onion-ZgsErXis.js} +363 -317
- package/dist/vue-ui-parallel-coordinate-plot-B5fB22Jc.js +979 -0
- package/dist/vue-ui-quadrant-CMevCtXH.js +1483 -0
- package/dist/{vue-ui-quick-chart-mwXE3w_o.js → vue-ui-quick-chart-DcparKSX.js} +7 -7
- package/dist/vue-ui-radar-DFbxoKCK.js +858 -0
- package/dist/{vue-ui-rating-CleNHFo5.js → vue-ui-rating-ZUpxCWrk.js} +2 -2
- package/dist/{vue-ui-relation-circle-CMCH7Ia6.js → vue-ui-relation-circle-eNKJY4Sx.js} +8 -8
- package/dist/vue-ui-ridgeline-D4shpQZd.js +1204 -0
- package/dist/vue-ui-rings-TdTHMbsa.js +785 -0
- package/dist/{vue-ui-scatter-kv28dsT3.js → vue-ui-scatter-CVuV9ljU.js} +594 -548
- package/dist/{vue-ui-skeleton-DCNOYh9x.js → vue-ui-skeleton-CFxBU2-p.js} +3 -3
- package/dist/{vue-ui-smiley-DcS0CM-z.js → vue-ui-smiley-Har3B3aQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-LHgReXth.js → vue-ui-spark-trend-FPk-XEwI.js} +4 -4
- package/dist/{vue-ui-sparkbar-Da315uRq.js → vue-ui-sparkbar-V3eJ0w0t.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BeAkjGap.js → vue-ui-sparkgauge-DKTGkWnJ.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-Cy19W3y1.js → vue-ui-sparkhistogram-DJsgFwHs.js} +5 -5
- package/dist/{vue-ui-sparkline-IjlQWgs3.js → vue-ui-sparkline-Dmrm5SL5.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CoFgOa3r.js → vue-ui-sparkstackbar-B0Pl7VMI.js} +4 -4
- package/dist/{vue-ui-stackbar-fbCs4sHF.js → vue-ui-stackbar-CNsgBPhj.js} +525 -479
- package/dist/{vue-ui-strip-plot-Cm8Zr6RE.js → vue-ui-strip-plot-CYAWwYOM.js} +390 -343
- package/dist/{vue-ui-table-q7jWgS26.js → vue-ui-table-Dn6H98rP.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CsK9gR1G.js → vue-ui-table-heatmap-COI9LRqC.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CXTPucPr.js → vue-ui-table-sparkline-B7Gg5FfJ.js} +4 -4
- package/dist/{vue-ui-thermometer-BFxdNgrd.js → vue-ui-thermometer-Bgynq5El.js} +8 -8
- package/dist/{vue-ui-timer-BsoeDFjK.js → vue-ui-timer-CXng51v5.js} +5 -5
- package/dist/{vue-ui-tiremarks-BW_jSayT.js → vue-ui-tiremarks-Cy1U3hO1.js} +7 -7
- package/dist/vue-ui-treemap-BsvIvRmE.js +1092 -0
- package/dist/{vue-ui-vertical-bar-OrLV4CxH.js → vue-ui-vertical-bar-DHqWeDIf.js} +512 -464
- package/dist/{vue-ui-waffle-BA6rNfVs.js → vue-ui-waffle-D1Mscj3N.js} +416 -370
- package/dist/{vue-ui-wheel-B_BkI-5f.js → vue-ui-wheel-DpV-N5tF.js} +7 -7
- package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +811 -0
- package/dist/{vue-ui-world-B4mKuSSn.js → vue-ui-world-DYz6zw3x.js} +512 -466
- package/dist/{vue-ui-xy-m1SWJk77.js → vue-ui-xy-B1nqNbzw.js} +1551 -1500
- package/dist/vue-ui-xy-canvas-D4wd-Asd.js +1291 -0
- package/package.json +1 -1
- package/dist/DataTable-nO6ydJO2.js +0 -133
- package/dist/vue-ui-3d-bar-B56WqLJ-.js +0 -1323
- package/dist/vue-ui-chord-Ck4yV3Tb.js +0 -1049
- package/dist/vue-ui-circle-pack-BAfRk_Hd.js +0 -709
- package/dist/vue-ui-flow-BXkxtUoF.js +0 -852
- package/dist/vue-ui-funnel-DFvDO--q.js +0 -620
- package/dist/vue-ui-galaxy-BXNLLc3U.js +0 -691
- package/dist/vue-ui-heatmap-BHq6hBaL.js +0 -1078
- package/dist/vue-ui-molecule-BtyMTwEn.js +0 -656
- package/dist/vue-ui-parallel-coordinate-plot-DZ9_0F5c.js +0 -927
- package/dist/vue-ui-quadrant-CUggSeUN.js +0 -1432
- package/dist/vue-ui-radar-BRKZ8e_X.js +0 -807
- package/dist/vue-ui-ridgeline-xW7UrSfR.js +0 -1157
- package/dist/vue-ui-rings-D3NfFMaO.js +0 -739
- package/dist/vue-ui-treemap-DhAYSVB9.js +0 -1046
- package/dist/vue-ui-word-cloud-CrSLGFOK.js +0 -765
- package/dist/vue-ui-xy-canvas-CX2JT6T3.js +0 -1243
package/package.json
CHANGED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { useCssVars as A, unref as e, computed as D, ref as w, onMounted as E, createElementBlock as n, openBlock as a, normalizeClass as k, createElementVNode as t, withKeys as R, normalizeStyle as i, createVNode as C, toDisplayString as I, Fragment as f, renderList as m, renderSlot as N, createCommentVNode as $ } from "vue";
|
|
2
|
-
import { _ as K } from "./Shape-CYVs2kYz.js";
|
|
3
|
-
import O from "./BaseIcon-CgUOIGjr.js";
|
|
4
|
-
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align-items": "center", "justify-content": "flex-end", "padding-right": "3px", gap: "3px" } }, L = { style: { width: "12px", height: "12px" } }, M = {
|
|
6
|
-
key: 0,
|
|
7
|
-
height: "12",
|
|
8
|
-
width: "12",
|
|
9
|
-
viewBox: "0 0 20 20",
|
|
10
|
-
style: { background: "none" }
|
|
11
|
-
}, q = ["fill"], G = ["data-cell"], H = {
|
|
12
|
-
dir: "auto",
|
|
13
|
-
style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" }
|
|
14
|
-
}, J = {
|
|
15
|
-
key: 0,
|
|
16
|
-
height: "12",
|
|
17
|
-
width: "12",
|
|
18
|
-
viewBox: "0 0 20 20",
|
|
19
|
-
style: { background: "none", overflow: "visible" }
|
|
20
|
-
}, P = {
|
|
21
|
-
__name: "DataTable",
|
|
22
|
-
props: {
|
|
23
|
-
colNames: {
|
|
24
|
-
type: Array,
|
|
25
|
-
default() {
|
|
26
|
-
return [];
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
head: Array,
|
|
30
|
-
body: Array,
|
|
31
|
-
title: String,
|
|
32
|
-
config: Object
|
|
33
|
-
},
|
|
34
|
-
emits: ["close"],
|
|
35
|
-
setup(o, { emit: B }) {
|
|
36
|
-
A((s) => ({
|
|
37
|
-
"2908e47d": e(v)
|
|
38
|
-
}));
|
|
39
|
-
const b = o, { backgroundColor: h, color: p, outline: g } = b.config.th, { backgroundColor: z, color: S, outline: v } = b.config.td, V = D(() => b.config.breakpoint), y = w(null), _ = w(!1);
|
|
40
|
-
E(() => {
|
|
41
|
-
const s = new ResizeObserver((r) => {
|
|
42
|
-
r.forEach((l) => {
|
|
43
|
-
_.value = l.contentRect.width < V.value;
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
y.value && s.observe(y.value);
|
|
47
|
-
});
|
|
48
|
-
const x = B;
|
|
49
|
-
return (s, r) => (a(), n("div", {
|
|
50
|
-
ref_key: "tableContainer",
|
|
51
|
-
ref: y,
|
|
52
|
-
style: { width: "100%", "container-type": "inline-size", position: "relative", "padding-top": "36px", overflow: "auto" },
|
|
53
|
-
class: k({ "atom-data-table": !0, "vue-ui-responsive": _.value })
|
|
54
|
-
}, [
|
|
55
|
-
t("div", {
|
|
56
|
-
"data-dom-to-png-ignore": "",
|
|
57
|
-
role: "button",
|
|
58
|
-
tabindex: "0",
|
|
59
|
-
style: i(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e(h)};`),
|
|
60
|
-
onClick: r[0] || (r[0] = (l) => x("close")),
|
|
61
|
-
onKeypress: r[1] || (r[1] = R((l) => x("close"), ["enter"]))
|
|
62
|
-
}, [
|
|
63
|
-
C(O, {
|
|
64
|
-
name: "close",
|
|
65
|
-
stroke: e(p),
|
|
66
|
-
"stroke-width": 2
|
|
67
|
-
}, null, 8, ["stroke"])
|
|
68
|
-
], 36),
|
|
69
|
-
t("table", j, [
|
|
70
|
-
t("caption", {
|
|
71
|
-
style: i({ backgroundColor: e(h), color: e(p), outline: e(g) }),
|
|
72
|
-
class: "vue-ui-data-table__caption"
|
|
73
|
-
}, I(o.title), 5),
|
|
74
|
-
t("thead", null, [
|
|
75
|
-
t("tr", {
|
|
76
|
-
role: "row",
|
|
77
|
-
style: i([{ "font-variant-numeric": "tabular-nums" }, { backgroundColor: e(h), color: e(p) }]),
|
|
78
|
-
class: "vue-ui-data-table__thead-row"
|
|
79
|
-
}, [
|
|
80
|
-
(a(!0), n(f, null, m(o.head, (l, c) => (a(), n("th", {
|
|
81
|
-
role: "cell",
|
|
82
|
-
style: i({ outline: e(g) }),
|
|
83
|
-
key: `th_${c}`
|
|
84
|
-
}, [
|
|
85
|
-
t("div", F, [
|
|
86
|
-
t("div", L, [
|
|
87
|
-
l.color ? (a(), n("svg", M, [
|
|
88
|
-
t("circle", {
|
|
89
|
-
cx: "10",
|
|
90
|
-
cy: "10",
|
|
91
|
-
r: "10",
|
|
92
|
-
fill: l.color
|
|
93
|
-
}, null, 8, q)
|
|
94
|
-
])) : $("", !0)
|
|
95
|
-
]),
|
|
96
|
-
N(s.$slots, "th", { th: l }, void 0, !0)
|
|
97
|
-
])
|
|
98
|
-
], 4))), 128))
|
|
99
|
-
], 4)
|
|
100
|
-
]),
|
|
101
|
-
t("tbody", null, [
|
|
102
|
-
(a(!0), n(f, null, m(o.body, (l, c) => (a(), n("tr", {
|
|
103
|
-
role: "row",
|
|
104
|
-
style: i([{ "font-variant-numeric": "tabular-nums" }, { backgroundColor: e(z), color: e(S) }]),
|
|
105
|
-
class: k({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": c % 2 === 0, "vue-ui-data-table__tbody__row-odd": c % 2 !== 0 })
|
|
106
|
-
}, [
|
|
107
|
-
(a(!0), n(f, null, m(l, (d, u) => (a(), n("td", {
|
|
108
|
-
role: "cell",
|
|
109
|
-
"data-cell": (o.colNames[u] && o.colNames[u].name ? o.colNames[u].name : "") || o.colNames[u] || "",
|
|
110
|
-
style: i({ outline: e(v) }),
|
|
111
|
-
class: "vue-ui-data-table__tbody__td"
|
|
112
|
-
}, [
|
|
113
|
-
t("div", H, [
|
|
114
|
-
d.color ? (a(), n("svg", J, [
|
|
115
|
-
C(K, {
|
|
116
|
-
plot: { x: 10, y: 10 },
|
|
117
|
-
color: d.color,
|
|
118
|
-
radius: 9,
|
|
119
|
-
shape: o.config.shape || d.shape || "circle"
|
|
120
|
-
}, null, 8, ["color", "shape"])
|
|
121
|
-
])) : $("", !0),
|
|
122
|
-
N(s.$slots, "td", { td: d }, void 0, !0)
|
|
123
|
-
])
|
|
124
|
-
], 12, G))), 256))
|
|
125
|
-
], 6))), 256))
|
|
126
|
-
])
|
|
127
|
-
])
|
|
128
|
-
], 2));
|
|
129
|
-
}
|
|
130
|
-
}, Y = /* @__PURE__ */ T(P, [["__scopeId", "data-v-4afbd65f"]]);
|
|
131
|
-
export {
|
|
132
|
-
Y as default
|
|
133
|
-
};
|