vue-data-ui 2.16.5 → 2.17.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/README.md +85 -55
- package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
- package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
- package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
- package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
- package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
- package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
- package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
- package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
- package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
- package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
- package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
- package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
- package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
- package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
- package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
- package/dist/img-Y_hYz-ZC.js +27 -0
- package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
- package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1098 -162
- package/dist/types/vue-data-ui.d.ts +1098 -162
- package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
- package/dist/{usePrinter-ButWuZVm.js → usePrinter-DDHcrl0A.js} +2 -2
- package/dist/vue-data-ui-CIWxgKjd.js +312 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
- package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
- package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
- package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
- package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
- package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
- package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
- package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
- package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
- package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
- package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
- package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
- package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
- package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
- package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
- package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
- package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
- package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
- package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
- package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
- package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
- package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
- package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
- package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
- package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
- package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
- package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
- package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
- package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
- package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
- package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
- package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
- package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
- package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
- package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
- package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
- package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
- package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
- package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
- package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
- package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
- package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
- package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
- package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
- package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
- package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
- package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
- package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
- package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
- package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
- package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
- package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
- package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
- package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
- package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
- package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
- package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
- package/package.json +1 -1
- package/dist/img-CTC5DLKL.js +0 -20
- package/dist/vue-data-ui-BB8Upnjm.js +0 -301
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as y, ref as k, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
|
|
2
|
-
import { u as L } from "./useNestedProp-
|
|
3
|
-
import { u as M, i as E, f as I } from "./index-
|
|
2
|
+
import { u as L } from "./useNestedProp-DjACxgdZ.js";
|
|
3
|
+
import { u as M, i as E, f as I } from "./index-pPGk-uhD.js";
|
|
4
4
|
const G = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const G = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const F = A(() => import("./vue-ui-digits-
|
|
19
|
+
const F = A(() => import("./vue-ui-digits-CA8pUKej.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), D = z();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import { u as y, X as L } from "./index-
|
|
2
|
+
import { u as m } from "./useNestedProp-DjACxgdZ.js";
|
|
3
|
+
import { u as y, X as L } from "./index-pPGk-uhD.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
|
|
1
|
+
import { useCssVars as Je, defineAsyncComponent as h, computed as k, onMounted as Ke, ref as c, watch as et, createElementBlock as b, openBlock as r, unref as l, normalizeStyle as U, normalizeClass as he, createBlock as $, createCommentVNode as f, createVNode as S, createSlots as tt, withCtx as d, renderSlot as i, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as ot, renderList as lt, createTextVNode as st, toDisplayString as at, nextTick as nt } from "vue";
|
|
2
|
+
import { u as rt, o as it, e as ut, c as fe, t as ct, p as ge, a as dt, b as vt, Q as pt, X as ht, l as ft, R as gt, d as me, q as mt, r as bt, x as yt, y as kt } from "./index-pPGk-uhD.js";
|
|
3
|
+
import { u as be } from "./useNestedProp-DjACxgdZ.js";
|
|
4
|
+
import { u as Ct } from "./usePrinter-DDHcrl0A.js";
|
|
5
|
+
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
+
import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
+
import { u as Tt } from "./usePanZoom-BQMvRXEQ.js";
|
|
8
|
+
import Ot from "./img-Y_hYz-ZC.js";
|
|
9
|
+
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const At = ["id"], It = {
|
|
10
11
|
key: 1,
|
|
11
12
|
ref: "noTitle",
|
|
12
13
|
class: "vue-data-ui-no-title-space",
|
|
13
14
|
style: "height:36px; width: 100%;background:transparent"
|
|
14
|
-
},
|
|
15
|
+
}, Nt = {
|
|
15
16
|
key: 2,
|
|
16
17
|
style: "width:100%;background:transparent;"
|
|
17
|
-
},
|
|
18
|
+
}, Ft = ["xmlns", "viewBox"], St = ["width", "height"], _t = ["id"], Lt = ["stop-color"], Dt = ["stop-color"], Bt = {
|
|
18
19
|
key: 5,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, Ut = {
|
|
21
22
|
key: 6,
|
|
22
23
|
"data-dom-to-png-ignore": "",
|
|
23
24
|
class: "reset-wrapper"
|
|
24
|
-
},
|
|
25
|
+
}, Rt = {
|
|
25
26
|
key: 8,
|
|
26
27
|
ref: "source",
|
|
27
28
|
dir: "auto"
|
|
28
|
-
},
|
|
29
|
+
}, Et = ["innerHTML"], xt = {
|
|
29
30
|
__name: "vue-ui-molecule",
|
|
30
31
|
props: {
|
|
31
32
|
config: {
|
|
@@ -42,45 +43,45 @@ const Ot = ["id"], Pt = {
|
|
|
42
43
|
}
|
|
43
44
|
},
|
|
44
45
|
emits: ["selectNode"],
|
|
45
|
-
setup(ye, { expose:
|
|
46
|
-
|
|
47
|
-
"
|
|
46
|
+
setup(ye, { expose: ke, emit: Ce }) {
|
|
47
|
+
Je((t) => ({
|
|
48
|
+
"5e3e99e2": t.slicerColor
|
|
48
49
|
}));
|
|
49
|
-
const
|
|
50
|
-
|
|
50
|
+
const $e = h(() => import("./vue-ui-accordion-CVnA550V.js")), we = h(() => import("./BaseIcon-naqtCxVi.js")), Te = h(() => import("./DataTable-D0VYDhfx.js")), Oe = h(() => import("./PackageVersion-5TR4ocqp.js")), Pe = h(() => import("./PenAndPaper-D6AqipIO.js")), Ae = h(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ie = h(() => import("./RecursiveLabels-NTMB9w5C.js")), Ne = h(() => import("./RecursiveLinks-ld_gDZH4.js")), Fe = h(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Se = h(() => import("./Title-B-2bV0SW.js")), _e = h(() => import("./Tooltip-CoQnTnr-.js")), Le = h(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_molecule: De } = rt(), C = ye, Be = Ce, L = k(() => !!C.dataset && C.dataset.length);
|
|
51
|
+
Ke(() => {
|
|
51
52
|
W();
|
|
52
53
|
});
|
|
53
54
|
function W() {
|
|
54
|
-
|
|
55
|
+
it(C.dataset) && ut({
|
|
55
56
|
componentName: "VueUiMolecule",
|
|
56
57
|
type: "dataset"
|
|
57
58
|
});
|
|
58
59
|
}
|
|
59
|
-
const R = c(
|
|
60
|
+
const R = c(fe()), Ue = c(null), E = c(!1), D = c(""), A = c(null), X = c(0), j = c(0), Y = c(0), e = k({
|
|
60
61
|
get: () => Q(),
|
|
61
62
|
set: (t) => t
|
|
62
|
-
}), { userOptionsVisible: x, setUserOptionsVisibility: Z, keepUserOptionState: q } =
|
|
63
|
+
}), { userOptionsVisible: x, setUserOptionsVisibility: Z, keepUserOptionState: q } = $t({ config: e.value }), { svgRef: z } = wt({ config: e.value.style.chart.title });
|
|
63
64
|
function Q() {
|
|
64
|
-
const t =
|
|
65
|
+
const t = be({
|
|
65
66
|
userConfig: C.config,
|
|
66
|
-
defaultConfig:
|
|
67
|
+
defaultConfig: De
|
|
67
68
|
});
|
|
68
69
|
return t.theme ? {
|
|
69
|
-
...
|
|
70
|
-
userConfig:
|
|
70
|
+
...be({
|
|
71
|
+
userConfig: dt.vue_ui_molecule[t.theme] || C.config,
|
|
71
72
|
defaultConfig: t
|
|
72
73
|
}),
|
|
73
|
-
customPalette:
|
|
74
|
+
customPalette: ct[t.theme] || ge
|
|
74
75
|
} : t;
|
|
75
76
|
}
|
|
76
|
-
|
|
77
|
-
e.value = Q(), x.value = !e.value.userOptions.showOnChartHover, W(), j.value += 1, Y.value += 1,
|
|
77
|
+
et(() => C.config, (t) => {
|
|
78
|
+
e.value = Q(), x.value = !e.value.userOptions.showOnChartHover, W(), j.value += 1, Y.value += 1, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
78
79
|
}, { deep: !0 });
|
|
79
|
-
const { isPrinting: J, isImaging: K, generatePdf: ee, generateImage: te } =
|
|
80
|
+
const { isPrinting: J, isImaging: K, generatePdf: ee, generateImage: te } = Ct({
|
|
80
81
|
elementId: `cluster_${R.value}`,
|
|
81
82
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
82
83
|
options: e.value.userOptions.print
|
|
83
|
-
}), Re = k(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
84
|
+
}), Re = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = k(() => vt(e.value.customPalette)), p = c({
|
|
84
85
|
showTable: e.value.table.show,
|
|
85
86
|
showDataLabels: !0,
|
|
86
87
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -88,7 +89,7 @@ const Ot = ["id"], Pt = {
|
|
|
88
89
|
function oe(t, s = 0) {
|
|
89
90
|
return Array.isArray(t) && t.length > 0 && t[0].nodes ? oe(t[0].nodes, s + 1) : s;
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
+
function xe() {
|
|
92
93
|
const t = oe(C.dataset);
|
|
93
94
|
let s = 100, o = s;
|
|
94
95
|
for (let n = 0; n < t; n += 1)
|
|
@@ -98,41 +99,41 @@ const Ot = ["id"], Pt = {
|
|
|
98
99
|
width: o
|
|
99
100
|
};
|
|
100
101
|
}
|
|
101
|
-
const v = c(
|
|
102
|
+
const v = c(xe());
|
|
102
103
|
c(`0 0 ${v.value.width} ${v.value.height}`);
|
|
103
104
|
function le(t, s = { x: -v.value.width / 2.43, y: v.value.height / 2 }, o = v.value.width / 1.1, n = 24, a = 0, u = 0, g = "#BBBBBB", G = 0) {
|
|
104
105
|
if (!Array.isArray(t) || t.length === 0) return t;
|
|
105
|
-
const
|
|
106
|
+
const Qe = gt({
|
|
106
107
|
plot: s,
|
|
107
108
|
radius: o,
|
|
108
109
|
sides: t.length,
|
|
109
110
|
rotation: a
|
|
110
111
|
});
|
|
111
|
-
return t.forEach((m,
|
|
112
|
-
const
|
|
113
|
-
let M =
|
|
112
|
+
return t.forEach((m, de) => {
|
|
113
|
+
const ve = Qe.coordinates[de], pe = m.color ? (() => {
|
|
114
|
+
let M = me(m.color);
|
|
114
115
|
return M.startsWith("#") ? M : `#${M}`;
|
|
115
116
|
})() : null;
|
|
116
117
|
let P;
|
|
117
|
-
|
|
118
|
+
pe ? P = pe : G === 0 ? P = g : G === 1 ? (P = Ee.value[u] || ge[u] || g, u += 1) : P = g, m.polygonPath = { coordinates: [ve] }, m.circleRadius = n, m.color = P, m.uid = fe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = le(
|
|
118
119
|
m.nodes,
|
|
119
|
-
|
|
120
|
+
ve,
|
|
120
121
|
o / 2.9,
|
|
121
122
|
n / 2.2,
|
|
122
|
-
a + Math.PI *
|
|
123
|
+
a + Math.PI * de / m.nodes.length,
|
|
123
124
|
u,
|
|
124
125
|
P,
|
|
125
126
|
G + 1
|
|
126
127
|
));
|
|
127
128
|
}), t;
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
+
function ze(t) {
|
|
130
131
|
const s = /* @__PURE__ */ new Set();
|
|
131
132
|
function o(a) {
|
|
132
133
|
a.forEach((u) => {
|
|
133
134
|
if (!u.color) return;
|
|
134
135
|
let g = u.color;
|
|
135
|
-
/^#?[0-9A-F]{6}$/i.test(g) || (g =
|
|
136
|
+
/^#?[0-9A-F]{6}$/i.test(g) || (g = me(g)), g.startsWith("#") || (g = `#${g}`), s.add(g), Array.isArray(u.nodes) && u.nodes.length && o(u.nodes);
|
|
136
137
|
});
|
|
137
138
|
}
|
|
138
139
|
o(t);
|
|
@@ -142,41 +143,41 @@ const Ot = ["id"], Pt = {
|
|
|
142
143
|
n[a] = `gradient_${u}`;
|
|
143
144
|
}), n;
|
|
144
145
|
}
|
|
145
|
-
const
|
|
146
|
-
const t =
|
|
146
|
+
const He = k(() => ze(y.value)), y = k(() => {
|
|
147
|
+
const t = pt(C.dataset);
|
|
147
148
|
return le(t);
|
|
148
149
|
}), H = c(null);
|
|
149
|
-
function
|
|
150
|
+
function Ve(t) {
|
|
150
151
|
H.value = {
|
|
151
152
|
datapoint: t,
|
|
152
153
|
seriesIndex: -1,
|
|
153
|
-
series:
|
|
154
|
+
series: y.value,
|
|
154
155
|
config: e.value
|
|
155
156
|
};
|
|
156
157
|
const s = e.value.style.chart.tooltip.customFormat;
|
|
157
|
-
if (yt(s) &&
|
|
158
|
+
if (yt(s) && kt(() => s({
|
|
158
159
|
seriesIndex: -1,
|
|
159
160
|
datapoint: t,
|
|
160
|
-
series:
|
|
161
|
+
series: y.value,
|
|
161
162
|
config: e.value
|
|
162
163
|
})))
|
|
163
|
-
|
|
164
|
+
D.value = s({
|
|
164
165
|
seriesIndex: -1,
|
|
165
166
|
// well, ok
|
|
166
167
|
datapoint: t,
|
|
167
|
-
series:
|
|
168
|
+
series: y.value,
|
|
168
169
|
config: e.value
|
|
169
170
|
});
|
|
170
171
|
else {
|
|
171
172
|
let o = "";
|
|
172
|
-
o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`),
|
|
173
|
+
o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`), D.value = `<div style="font-family:inherit">${o}</div>`;
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
|
-
const se = c(null),
|
|
176
|
-
function Ve(t) {
|
|
177
|
-
se.value = t, t ? (U.value = !0, He(t), A.value = t.uid) : (U.value = !1, L.value = "", A.value = null);
|
|
178
|
-
}
|
|
176
|
+
const se = c(null), I = c(null);
|
|
179
177
|
function Ge(t) {
|
|
178
|
+
se.value = t, t ? (E.value = !0, Ve(t), I.value = t.uid) : (E.value = !1, D.value = "", I.value = null);
|
|
179
|
+
}
|
|
180
|
+
function Me(t) {
|
|
180
181
|
const s = [];
|
|
181
182
|
function o(n) {
|
|
182
183
|
n.forEach((a) => {
|
|
@@ -191,12 +192,12 @@ const Ot = ["id"], Pt = {
|
|
|
191
192
|
}
|
|
192
193
|
return o(t), s;
|
|
193
194
|
}
|
|
194
|
-
const
|
|
195
|
+
const We = k(() => Me(y.value)), O = k(() => {
|
|
195
196
|
const t = [
|
|
196
197
|
e.value.table.translations.nodeName,
|
|
197
198
|
e.value.table.translations.details,
|
|
198
199
|
e.value.table.translations.ancestor
|
|
199
|
-
], s =
|
|
200
|
+
], s = We.value.map((a, u) => [
|
|
200
201
|
{
|
|
201
202
|
color: a.color,
|
|
202
203
|
name: a.name
|
|
@@ -228,71 +229,78 @@ const Ot = ["id"], Pt = {
|
|
|
228
229
|
};
|
|
229
230
|
});
|
|
230
231
|
function ae(t = null) {
|
|
231
|
-
|
|
232
|
-
const s = O.value.body.map((a, u) => [[a[0].name], [a[1]], [a[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...O.value.head]]].concat(s), n =
|
|
233
|
-
t ? t(n) :
|
|
232
|
+
nt(() => {
|
|
233
|
+
const s = O.value.body.map((a, u) => [[a[0].name], [a[1]], [a[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...O.value.head]]].concat(s), n = mt(o);
|
|
234
|
+
t ? t(n) : bt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-molecule" });
|
|
234
235
|
});
|
|
235
236
|
}
|
|
236
|
-
function
|
|
237
|
-
return
|
|
238
|
-
}
|
|
239
|
-
const I = c(!1);
|
|
240
|
-
function Xe(t) {
|
|
241
|
-
I.value = t, X.value += 1;
|
|
237
|
+
function Xe() {
|
|
238
|
+
return y.value;
|
|
242
239
|
}
|
|
243
|
-
|
|
244
|
-
|
|
240
|
+
const N = c(!1);
|
|
241
|
+
function ne(t) {
|
|
242
|
+
N.value = t, X.value += 1;
|
|
245
243
|
}
|
|
246
244
|
function re() {
|
|
247
|
-
|
|
245
|
+
p.value.showTable = !p.value.showTable;
|
|
248
246
|
}
|
|
249
247
|
function ie() {
|
|
250
|
-
|
|
248
|
+
p.value.showDataLabels = !p.value.showDataLabels;
|
|
251
249
|
}
|
|
252
|
-
|
|
250
|
+
function ue() {
|
|
251
|
+
p.value.showTooltip = !p.value.showTooltip;
|
|
252
|
+
}
|
|
253
|
+
const F = c(!1);
|
|
253
254
|
function V() {
|
|
254
|
-
|
|
255
|
+
F.value = !F.value;
|
|
255
256
|
}
|
|
256
|
-
const je = k(() => !
|
|
257
|
+
const je = k(() => !F.value), { viewBox: B, resetZoom: ce, isZoom: Ye } = Tt(z, {
|
|
257
258
|
x: 0,
|
|
258
259
|
y: 0,
|
|
259
260
|
width: v.value.width <= 0 ? 10 : v.value.width,
|
|
260
261
|
height: v.value.height <= 0 ? 10 : v.value.height
|
|
261
262
|
}, e.value.style.chart.zoom.speed, je);
|
|
262
263
|
function Ze(t) {
|
|
263
|
-
|
|
264
|
+
Be("selectNode", t);
|
|
265
|
+
}
|
|
266
|
+
async function qe({ scale: t = 2 } = {}) {
|
|
267
|
+
if (!A.value) return;
|
|
268
|
+
const { imageUri: s, base64: o } = await Ot({ domElement: A.value, base64: !0, img: !0, scale: t });
|
|
269
|
+
return { imageUri: s, base64: o };
|
|
264
270
|
}
|
|
265
|
-
return
|
|
266
|
-
getData:
|
|
271
|
+
return ke({
|
|
272
|
+
getData: Xe,
|
|
273
|
+
getImage: qe,
|
|
267
274
|
generatePdf: ee,
|
|
268
275
|
generateCsv: ae,
|
|
269
276
|
generateImage: te,
|
|
270
|
-
toggleTable:
|
|
271
|
-
toggleLabels:
|
|
272
|
-
toggleTooltip:
|
|
273
|
-
toggleAnnotator: V
|
|
274
|
-
|
|
277
|
+
toggleTable: re,
|
|
278
|
+
toggleLabels: ie,
|
|
279
|
+
toggleTooltip: ue,
|
|
280
|
+
toggleAnnotator: V,
|
|
281
|
+
toggleFullscreen: ne
|
|
282
|
+
}), (t, s) => (r(), b("div", {
|
|
275
283
|
ref_key: "moleculeChart",
|
|
276
|
-
ref:
|
|
277
|
-
class: he(`vue-ui-molecule ${
|
|
278
|
-
style:
|
|
284
|
+
ref: A,
|
|
285
|
+
class: he(`vue-ui-molecule ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
286
|
+
style: U(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
279
287
|
id: `cluster_${R.value}`,
|
|
280
288
|
onMouseleave: s[2] || (s[2] = (o) => {
|
|
281
|
-
se.value = null,
|
|
289
|
+
se.value = null, I.value = null, l(Z)(!1);
|
|
282
290
|
}),
|
|
283
291
|
onMouseenter: s[3] || (s[3] = () => l(Z)(!0))
|
|
284
292
|
}, [
|
|
285
|
-
e.value.userOptions.buttons.annotator ? (r(), $(l(
|
|
293
|
+
e.value.userOptions.buttons.annotator ? (r(), $(l(Pe), {
|
|
286
294
|
key: 0,
|
|
287
295
|
svgRef: l(z),
|
|
288
296
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
289
297
|
color: e.value.style.chart.color,
|
|
290
|
-
active:
|
|
298
|
+
active: F.value,
|
|
291
299
|
onClose: V
|
|
292
300
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
293
|
-
Re.value ? (r(),
|
|
294
|
-
e.value.style.chart.title.text ? (r(),
|
|
295
|
-
(r(), $(l(
|
|
301
|
+
Re.value ? (r(), b("div", It, null, 512)) : f("", !0),
|
|
302
|
+
e.value.style.chart.title.text ? (r(), b("div", Nt, [
|
|
303
|
+
(r(), $(l(Se), {
|
|
296
304
|
key: `title_${j.value}`,
|
|
297
305
|
config: {
|
|
298
306
|
title: {
|
|
@@ -306,9 +314,9 @@ const Ot = ["id"], Pt = {
|
|
|
306
314
|
}
|
|
307
315
|
}, null, 8, ["config"]))
|
|
308
316
|
])) : f("", !0),
|
|
309
|
-
e.value.userOptions.show &&
|
|
317
|
+
e.value.userOptions.show && L.value && (l(q) || l(x)) ? (r(), $(l(Le), {
|
|
310
318
|
ref_key: "details",
|
|
311
|
-
ref:
|
|
319
|
+
ref: Ue,
|
|
312
320
|
key: `user_options_${X.value}`,
|
|
313
321
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
314
322
|
color: e.value.style.chart.color,
|
|
@@ -322,25 +330,26 @@ const Ot = ["id"], Pt = {
|
|
|
322
330
|
hasTable: e.value.userOptions.buttons.table,
|
|
323
331
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
324
332
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
325
|
-
isTooltip:
|
|
333
|
+
isTooltip: p.value.showTooltip,
|
|
326
334
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
327
|
-
chartElement:
|
|
335
|
+
chartElement: A.value,
|
|
328
336
|
position: e.value.userOptions.position,
|
|
329
337
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
330
|
-
isAnnotation:
|
|
338
|
+
isAnnotation: F.value,
|
|
331
339
|
callbacks: e.value.userOptions.callbacks,
|
|
332
|
-
|
|
340
|
+
printScale: e.value.userOptions.print.scale,
|
|
341
|
+
onToggleFullscreen: ne,
|
|
333
342
|
onGeneratePdf: l(ee),
|
|
334
343
|
onGenerateCsv: ae,
|
|
335
344
|
onGenerateImage: l(te),
|
|
336
|
-
onToggleTable:
|
|
337
|
-
onToggleLabels:
|
|
338
|
-
onToggleTooltip:
|
|
345
|
+
onToggleTable: re,
|
|
346
|
+
onToggleLabels: ie,
|
|
347
|
+
onToggleTooltip: ue,
|
|
339
348
|
onToggleAnnotator: V,
|
|
340
|
-
style:
|
|
349
|
+
style: U({
|
|
341
350
|
visibility: l(q) ? l(x) ? "visible" : "hidden" : "visible"
|
|
342
351
|
})
|
|
343
|
-
},
|
|
352
|
+
}, tt({ _: 2 }, [
|
|
344
353
|
t.$slots.menuIcon ? {
|
|
345
354
|
name: "menuIcon",
|
|
346
355
|
fn: d(({ isOpen: o, color: n }) => [
|
|
@@ -404,18 +413,18 @@ const Ot = ["id"], Pt = {
|
|
|
404
413
|
]),
|
|
405
414
|
key: "8"
|
|
406
415
|
} : void 0
|
|
407
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
408
|
-
|
|
416
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
417
|
+
L.value ? (r(), b("svg", {
|
|
409
418
|
key: 4,
|
|
410
419
|
ref_key: "svgRef",
|
|
411
420
|
ref: z,
|
|
412
421
|
xmlns: l(ht),
|
|
413
|
-
viewBox: `${l(
|
|
414
|
-
class: he({ "vue-data-ui-fullscreen--on":
|
|
415
|
-
style:
|
|
422
|
+
viewBox: `${l(B).x} ${l(B).y} ${l(B).width} ${l(B).height}`,
|
|
423
|
+
class: he({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
424
|
+
style: U(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
416
425
|
}, [
|
|
417
|
-
|
|
418
|
-
t.$slots["chart-background"] ? (r(),
|
|
426
|
+
S(l(Oe)),
|
|
427
|
+
t.$slots["chart-background"] ? (r(), b("foreignObject", {
|
|
419
428
|
key: 0,
|
|
420
429
|
x: 0,
|
|
421
430
|
y: 0,
|
|
@@ -426,9 +435,9 @@ const Ot = ["id"], Pt = {
|
|
|
426
435
|
}
|
|
427
436
|
}, [
|
|
428
437
|
i(t.$slots, "chart-background", {}, void 0, !0)
|
|
429
|
-
], 8,
|
|
438
|
+
], 8, St)) : f("", !0),
|
|
430
439
|
_("defs", null, [
|
|
431
|
-
(r(!0),
|
|
440
|
+
(r(!0), b(ot, null, lt(Object.keys(He.value), (o) => (r(), b("radialGradient", {
|
|
432
441
|
id: `gradient_${o}`,
|
|
433
442
|
cx: "50%",
|
|
434
443
|
cy: "30%",
|
|
@@ -438,63 +447,63 @@ const Ot = ["id"], Pt = {
|
|
|
438
447
|
}, [
|
|
439
448
|
_("stop", {
|
|
440
449
|
offset: "0%",
|
|
441
|
-
"stop-color": l(
|
|
442
|
-
}, null, 8,
|
|
450
|
+
"stop-color": l(ft)(o, 0.5)
|
|
451
|
+
}, null, 8, Lt),
|
|
443
452
|
_("stop", {
|
|
444
453
|
offset: "100%",
|
|
445
454
|
"stop-color": o
|
|
446
|
-
}, null, 8,
|
|
447
|
-
], 8,
|
|
455
|
+
}, null, 8, Dt)
|
|
456
|
+
], 8, _t))), 256))
|
|
448
457
|
]),
|
|
449
|
-
|
|
450
|
-
dataset:
|
|
458
|
+
S(l(Ne), {
|
|
459
|
+
dataset: y.value,
|
|
451
460
|
color: e.value.style.chart.links.stroke,
|
|
452
461
|
backgroundColor: e.value.style.chart.backgroundColor
|
|
453
462
|
}, null, 8, ["dataset", "color", "backgroundColor"]),
|
|
454
|
-
|
|
455
|
-
dataset:
|
|
456
|
-
hoveredUid:
|
|
463
|
+
S(l(Ae), {
|
|
464
|
+
dataset: y.value,
|
|
465
|
+
hoveredUid: I.value,
|
|
457
466
|
stroke: e.value.style.chart.nodes.stroke,
|
|
458
467
|
strokeHovered: e.value.style.chart.nodes.strokeHovered,
|
|
459
468
|
onClick: Ze,
|
|
460
|
-
onHover:
|
|
469
|
+
onHover: Ge
|
|
461
470
|
}, {
|
|
462
471
|
node: d(({ node: o }) => [
|
|
463
472
|
i(t.$slots, "node", w(T({ node: o })), void 0, !0)
|
|
464
473
|
]),
|
|
465
474
|
_: 3
|
|
466
475
|
}, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
|
|
467
|
-
|
|
476
|
+
p.value.showDataLabels ? (r(), $(l(Ie), {
|
|
468
477
|
key: 1,
|
|
469
|
-
dataset:
|
|
478
|
+
dataset: y.value,
|
|
470
479
|
color: e.value.style.chart.color,
|
|
471
|
-
hoveredUid:
|
|
480
|
+
hoveredUid: I.value
|
|
472
481
|
}, null, 8, ["dataset", "color", "hoveredUid"])) : f("", !0),
|
|
473
482
|
i(t.$slots, "svg", { svg: v.value }, void 0, !0)
|
|
474
|
-
], 14,
|
|
475
|
-
t.$slots.watermark ? (r(),
|
|
483
|
+
], 14, Ft)) : f("", !0),
|
|
484
|
+
t.$slots.watermark ? (r(), b("div", Bt, [
|
|
476
485
|
i(t.$slots, "watermark", w(T({ isPrinting: l(J) || l(K) })), void 0, !0)
|
|
477
486
|
])) : f("", !0),
|
|
478
|
-
l(Ye) ? (r(),
|
|
479
|
-
i(t.$slots, "reset-action", { reset: l(
|
|
487
|
+
l(Ye) ? (r(), b("div", Ut, [
|
|
488
|
+
i(t.$slots, "reset-action", { reset: l(ce) }, () => [
|
|
480
489
|
_("button", {
|
|
481
490
|
"data-cy-reset": "",
|
|
482
491
|
tabindex: "0",
|
|
483
492
|
role: "button",
|
|
484
493
|
class: "vue-data-ui-refresh-button",
|
|
485
|
-
style:
|
|
494
|
+
style: U({
|
|
486
495
|
background: e.value.style.chart.backgroundColor
|
|
487
496
|
}),
|
|
488
|
-
onClick: s[0] || (s[0] = (o) => l(
|
|
497
|
+
onClick: s[0] || (s[0] = (o) => l(ce)(!0))
|
|
489
498
|
}, [
|
|
490
|
-
|
|
499
|
+
S(l(we), {
|
|
491
500
|
name: "refresh",
|
|
492
501
|
stroke: e.value.style.chart.color
|
|
493
502
|
}, null, 8, ["stroke"])
|
|
494
503
|
], 4)
|
|
495
504
|
], !0)
|
|
496
505
|
])) : f("", !0),
|
|
497
|
-
|
|
506
|
+
L.value ? f("", !0) : (r(), $(l(Fe), {
|
|
498
507
|
key: 7,
|
|
499
508
|
config: {
|
|
500
509
|
type: "molecule",
|
|
@@ -506,11 +515,11 @@ const Ot = ["id"], Pt = {
|
|
|
506
515
|
}
|
|
507
516
|
}
|
|
508
517
|
}, null, 8, ["config"])),
|
|
509
|
-
t.$slots.source ? (r(),
|
|
518
|
+
t.$slots.source ? (r(), b("div", Rt, [
|
|
510
519
|
i(t.$slots, "source", {}, void 0, !0)
|
|
511
520
|
], 512)) : f("", !0),
|
|
512
|
-
|
|
513
|
-
show:
|
|
521
|
+
S(l(_e), {
|
|
522
|
+
show: p.value.showTooltip && E.value,
|
|
514
523
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
515
524
|
color: e.value.style.chart.tooltip.color,
|
|
516
525
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -520,9 +529,9 @@ const Ot = ["id"], Pt = {
|
|
|
520
529
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
521
530
|
position: e.value.style.chart.tooltip.position,
|
|
522
531
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
523
|
-
parent:
|
|
524
|
-
content:
|
|
525
|
-
isFullscreen:
|
|
532
|
+
parent: A.value,
|
|
533
|
+
content: D.value,
|
|
534
|
+
isFullscreen: N.value,
|
|
526
535
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
527
536
|
}, {
|
|
528
537
|
"tooltip-before": d(() => [
|
|
@@ -533,11 +542,11 @@ const Ot = ["id"], Pt = {
|
|
|
533
542
|
]),
|
|
534
543
|
_: 3
|
|
535
544
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
536
|
-
|
|
545
|
+
L.value ? (r(), $(l($e), {
|
|
537
546
|
key: 9,
|
|
538
547
|
hideDetails: "",
|
|
539
548
|
config: {
|
|
540
|
-
open:
|
|
549
|
+
open: p.value.showTable,
|
|
541
550
|
maxHeight: 1e4,
|
|
542
551
|
body: {
|
|
543
552
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -550,32 +559,32 @@ const Ot = ["id"], Pt = {
|
|
|
550
559
|
}
|
|
551
560
|
}, {
|
|
552
561
|
content: d(() => [
|
|
553
|
-
(r(), $(l(
|
|
562
|
+
(r(), $(l(Te), {
|
|
554
563
|
key: `table_${Y.value}`,
|
|
555
564
|
colNames: O.value.colNames,
|
|
556
565
|
head: O.value.head,
|
|
557
566
|
body: O.value.body,
|
|
558
567
|
config: O.value.config,
|
|
559
568
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
560
|
-
onClose: s[1] || (s[1] = (o) =>
|
|
569
|
+
onClose: s[1] || (s[1] = (o) => p.value.showTable = !1)
|
|
561
570
|
}, {
|
|
562
571
|
th: d(({ th: o }) => [
|
|
563
572
|
_("div", {
|
|
564
573
|
innerHTML: o,
|
|
565
574
|
style: { display: "flex", "align-items": "center" }
|
|
566
|
-
}, null, 8,
|
|
575
|
+
}, null, 8, Et)
|
|
567
576
|
]),
|
|
568
577
|
td: d(({ td: o }) => [
|
|
569
|
-
|
|
578
|
+
st(at(o.name || o), 1)
|
|
570
579
|
]),
|
|
571
580
|
_: 1
|
|
572
581
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
573
582
|
]),
|
|
574
583
|
_: 1
|
|
575
584
|
}, 8, ["config"])) : f("", !0)
|
|
576
|
-
], 46,
|
|
585
|
+
], 46, At));
|
|
577
586
|
}
|
|
578
|
-
},
|
|
587
|
+
}, Zt = /* @__PURE__ */ Pt(xt, [["__scopeId", "data-v-ecb8eb93"]]);
|
|
579
588
|
export {
|
|
580
|
-
|
|
589
|
+
Zt as default
|
|
581
590
|
};
|