vue-data-ui 2.2.89 → 2.2.91
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/data-table-d-VcuH-r.js +1488 -0
- package/dist/{index.es-5fba9ad2.js → index.es-Dc9Fd4o6.js} +173 -301
- package/dist/legend-DJCYLsl_.js +61 -0
- package/dist/{purify.es-00041b4f.js → purify.es-BwOkayRK.js} +9 -18
- package/dist/style.css +1 -1
- package/dist/themes-lgjsYHsH.js +4967 -0
- package/dist/title-BF-9Qcni.js +56 -0
- package/dist/tooltip-D85WEOKi.js +94 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/user-options-DZgCz8UA.js +415 -0
- package/dist/vue-data-ui.js +455 -62
- package/dist/vue-ui-3d-bar-DW7kGJSz.js +20360 -0
- package/dist/vue-ui-age-pyramid-4hcuKpFY.js +781 -0
- package/dist/vue-ui-annotator-C83FVvl8.js +2175 -0
- package/dist/vue-ui-candlestick-diclGj95.js +807 -0
- package/dist/vue-ui-chestnut-ACetHLdG.js +1049 -0
- package/dist/vue-ui-cursor-Rx7UNaYT.js +229 -0
- package/dist/vue-ui-dashboard-B3PlN0ks.js +231 -0
- package/dist/vue-ui-digits-CxMXID42.js +154 -0
- package/dist/vue-ui-donut-DMiwVXNd.js +1534 -0
- package/dist/vue-ui-dumbbell-B_X1T8TR.js +621 -0
- package/dist/vue-ui-flow-B72wzQ6V.js +451 -0
- package/dist/vue-ui-galaxy-DXX5yivT.js +482 -0
- package/dist/vue-ui-gauge-Cs9PDurH.js +466 -0
- package/dist/vue-ui-heatmap-PcoNSLdN.js +581 -0
- package/dist/vue-ui-kpi-DchEmPtB.js +55 -0
- package/dist/vue-ui-mini-loader-DltJLkqy.js +131 -0
- package/dist/vue-ui-molecule-CWvukBzs.js +746 -0
- package/dist/vue-ui-mood-radar-DEfdtIi8.js +544 -0
- package/dist/vue-ui-nested-donuts-9URpqgXE.js +768 -0
- package/dist/vue-ui-onion-C0eowUT6.js +551 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bc_pAaPJ.js +647 -0
- package/dist/vue-ui-quadrant-_ddVAm9V.js +1174 -0
- package/dist/vue-ui-quick-chart-Cio0hDYO.js +1310 -0
- package/dist/vue-ui-radar-Dyg38i33.js +853 -0
- package/dist/vue-ui-rating-CE1Lmwd2.js +271 -0
- package/dist/vue-ui-relation-circle-BMlB3k3d.js +303 -0
- package/dist/vue-ui-rings-BuXeijvb.js +507 -0
- package/dist/vue-ui-scatter-B1hZfOua.js +870 -0
- package/dist/vue-ui-screenshot-0QXgxzGs.js +160 -0
- package/dist/vue-ui-smiley-B7kR7exr.js +763 -0
- package/dist/vue-ui-spark-trend-BmL2KiYL.js +245 -0
- package/dist/vue-ui-sparkgauge-BMzFv14L.js +158 -0
- package/dist/vue-ui-sparkhistogram-DWpOXqHm.js +243 -0
- package/dist/vue-ui-sparkstackbar-DB9VQXlc.js +244 -0
- package/dist/vue-ui-strip-plot-DyN6P0JO.js +614 -0
- package/dist/vue-ui-table-DM3zL89q.js +2180 -0
- package/dist/vue-ui-table-heatmap-gWx0Nslu.js +237 -0
- package/dist/vue-ui-thermometer-Bcqv5kd_.js +384 -0
- package/dist/vue-ui-timer-BIFxjujK.js +451 -0
- package/dist/vue-ui-tiremarks-zBwHpED_.js +248 -0
- package/dist/vue-ui-treemap-BaplVc_z.js +719 -0
- package/dist/vue-ui-vertical-bar-CdK6ZJPM.js +734 -0
- package/dist/vue-ui-waffle-COOzH7M3.js +635 -0
- package/dist/vue-ui-wheel-BEpuVTBk.js +226 -0
- package/dist/vue-ui-word-cloud-DNqxAAiX.js +344 -0
- package/dist/vue-ui-xy-_mHq-czW.js +2058 -0
- package/dist/vue-ui-xy-canvas-DqX8Gee5.js +1003 -0
- package/package.json +5 -5
- package/dist/index-fb63a0e3.js +0 -58150
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { openBlock as n, createElementBlock as o, normalizeStyle as c, renderSlot as l, Fragment as s, renderList as g, createVNode as u, createCommentVNode as h } from "vue";
|
|
2
|
+
import { _ as m, a as k } from "./data-table-d-VcuH-r.js";
|
|
3
|
+
const y = ["id"], $ = { class: "vue-data-ui-legend-item" }, v = ["onClick", "height", "width"], S = {
|
|
4
|
+
__name: "Legend",
|
|
5
|
+
props: {
|
|
6
|
+
legendSet: {
|
|
7
|
+
type: Array,
|
|
8
|
+
default() {
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
config: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default() {
|
|
15
|
+
return {};
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
id: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: ""
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
emits: ["clickMarker"],
|
|
24
|
+
setup(e, { emit: r }) {
|
|
25
|
+
function f(i, a) {
|
|
26
|
+
r("clickMarker", { legend: i, i: a });
|
|
27
|
+
}
|
|
28
|
+
return (i, a) => (n(), o("div", {
|
|
29
|
+
id: e.id,
|
|
30
|
+
class: "vue-data-ui-legend",
|
|
31
|
+
style: c(`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}`)
|
|
32
|
+
}, [
|
|
33
|
+
l(i.$slots, "legendTitle", { titleSet: e.legendSet }, void 0, !0),
|
|
34
|
+
(n(!0), o(s, null, g(e.legendSet, (t, d) => (n(), o("div", $, [
|
|
35
|
+
t.shape ? (n(), o("svg", {
|
|
36
|
+
key: 0,
|
|
37
|
+
onClick: (p) => f(t, d),
|
|
38
|
+
height: e.config.fontSize,
|
|
39
|
+
width: e.config.fontSize,
|
|
40
|
+
viewBox: "0 0 20 20",
|
|
41
|
+
style: c(`overflow: visible;opacity:${t.opacity}`)
|
|
42
|
+
}, [
|
|
43
|
+
u(k, {
|
|
44
|
+
shape: t.shape,
|
|
45
|
+
radius: 9,
|
|
46
|
+
stroke: "none",
|
|
47
|
+
plot: { x: 10, y: 10 },
|
|
48
|
+
fill: t.color
|
|
49
|
+
}, null, 8, ["shape", "fill"])
|
|
50
|
+
], 12, v)) : h("", !0),
|
|
51
|
+
l(i.$slots, "item", {
|
|
52
|
+
legend: t,
|
|
53
|
+
index: d
|
|
54
|
+
}, void 0, !0)
|
|
55
|
+
]))), 256))
|
|
56
|
+
], 12, y));
|
|
57
|
+
}
|
|
58
|
+
}, w = /* @__PURE__ */ m(S, [["__scopeId", "data-v-a5a45422"]]);
|
|
59
|
+
export {
|
|
60
|
+
w as L
|
|
61
|
+
};
|
|
@@ -13,10 +13,8 @@ function Pe(a, n) {
|
|
|
13
13
|
}, Pe(a, n);
|
|
14
14
|
}
|
|
15
15
|
function zt() {
|
|
16
|
-
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
17
|
-
|
|
18
|
-
if (typeof Proxy == "function")
|
|
19
|
-
return !0;
|
|
16
|
+
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
17
|
+
if (typeof Proxy == "function") return !0;
|
|
20
18
|
try {
|
|
21
19
|
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
22
20
|
})), !0;
|
|
@@ -36,28 +34,22 @@ function M(a) {
|
|
|
36
34
|
return Gt(a) || Wt(a) || Bt(a) || $t();
|
|
37
35
|
}
|
|
38
36
|
function Gt(a) {
|
|
39
|
-
if (Array.isArray(a))
|
|
40
|
-
return Fe(a);
|
|
37
|
+
if (Array.isArray(a)) return Fe(a);
|
|
41
38
|
}
|
|
42
39
|
function Wt(a) {
|
|
43
|
-
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
44
|
-
return Array.from(a);
|
|
40
|
+
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
|
|
45
41
|
}
|
|
46
42
|
function Bt(a, n) {
|
|
47
43
|
if (a) {
|
|
48
|
-
if (typeof a == "string")
|
|
49
|
-
return Fe(a, n);
|
|
44
|
+
if (typeof a == "string") return Fe(a, n);
|
|
50
45
|
var o = Object.prototype.toString.call(a).slice(8, -1);
|
|
51
|
-
if (o === "Object" && a.constructor && (o = a.constructor.name), o === "Map" || o === "Set")
|
|
52
|
-
|
|
53
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))
|
|
54
|
-
return Fe(a, n);
|
|
46
|
+
if (o === "Object" && a.constructor && (o = a.constructor.name), o === "Map" || o === "Set") return Array.from(a);
|
|
47
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Fe(a, n);
|
|
55
48
|
}
|
|
56
49
|
}
|
|
57
50
|
function Fe(a, n) {
|
|
58
51
|
(n == null || n > a.length) && (n = a.length);
|
|
59
|
-
for (var o = 0, s = new Array(n); o < n; o++)
|
|
60
|
-
s[o] = a[o];
|
|
52
|
+
for (var o = 0, s = new Array(n); o < n; o++) s[o] = a[o];
|
|
61
53
|
return s;
|
|
62
54
|
}
|
|
63
55
|
function $t() {
|
|
@@ -338,8 +330,7 @@ function _t() {
|
|
|
338
330
|
!(ot(e) && (f.tagNameCheck instanceof RegExp && _(f.tagNameCheck, e) || f.tagNameCheck instanceof Function && f.tagNameCheck(e)) && (f.attributeNameCheck instanceof RegExp && _(f.attributeNameCheck, t) || f.attributeNameCheck instanceof Function && f.attributeNameCheck(t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
339
331
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
340
332
|
t === "is" && f.allowCustomizedBuiltInElements && (f.tagNameCheck instanceof RegExp && _(f.tagNameCheck, r) || f.tagNameCheck instanceof Function && f.tagNameCheck(r)))
|
|
341
|
-
)
|
|
342
|
-
return !1;
|
|
333
|
+
) return !1;
|
|
343
334
|
} else if (!be[t]) {
|
|
344
335
|
if (!_(_e, L(r, ze, ""))) {
|
|
345
336
|
if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Zt(r, "data:") === 0 && qe[e])) {
|