vue-data-ui 3.1.0 → 3.1.2
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-DvG07exK.js → Arrow-BotYLY2I.js} +1 -1
- package/dist/{BaseDraggableDialog-O7900pGp.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
- package/dist/{BaseIcon-DHtro8us.js → BaseIcon-BLg8FaQ2.js} +5 -3
- package/dist/{ColorPicker-CpWzNn4r.js → ColorPicker-C2sMVpbA.js} +2 -2
- package/dist/{DataTable-DJjA2_wf.js → DataTable-BRN1-1ob.js} +2 -2
- package/dist/{Legend-2-dC7DVb.js → Legend-DLzeDl3-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DHeE4Yuv.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
- package/dist/{PackageVersion-DU12WH3O.js → PackageVersion-Jz9FlNXl.js} +1 -1
- package/dist/{PenAndPaper-B7QEDgx4.js → PenAndPaper-TgGWddgD.js} +3 -3
- package/dist/{Shape-Dj2Hl33H.js → Shape-Bmpx9GRg.js} +1 -1
- package/dist/{Slicer-D99HytqX.js → Slicer-DeWHn8zH.js} +2 -2
- package/dist/{SparkTooltip-B-wL07rI.js → SparkTooltip-C6fJOQ0j.js} +1 -1
- package/dist/{Title-Dq2_Z9kR.js → Title-AGmmsSi_.js} +1 -1
- package/dist/{Tooltip-Y219DXZO.js → Tooltip-le0yZk_t.js} +1 -1
- package/dist/{UserOptions-BuGfCdAY.js → UserOptions-DEFwuQIo.js} +125 -108
- package/dist/{dom-to-png-BhciAKaM.js → dom-to-png-C7V0EktO.js} +1 -1
- package/dist/{img-JOqdlnUs.js → img-DvuphHeJ.js} +1 -1
- package/dist/{index-CDQbCd41.js → index-BFqW8WA0.js} +97 -74
- package/dist/pdf-Bdf65IBz.js +79 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +25 -2
- package/dist/types/vue-data-ui.d.ts +25 -2
- package/dist/{useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
- package/dist/{useNestedProp-BPEHGiYX.js → useNestedProp-BSZCnuGl.js} +1 -1
- package/dist/{usePrinter-Bnl1YeUU.js → usePrinter-DDIKRiOp.js} +13 -12
- package/dist/useTableResponsive-Cbx-ACcP.js +22 -0
- package/dist/{vue-data-ui-DcNYz3cZ.js → vue-data-ui-vwh3dolO.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BNIFAeN-.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
- package/dist/{vue-ui-accordion-Bf_LHFFX.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Bz-l1afR.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
- package/dist/{vue-ui-annotator-BcfRH2BF.js → vue-ui-annotator-B_5hOApA.js} +2 -2
- package/dist/{vue-ui-bullet-DK1aM9fX.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
- package/dist/{vue-ui-candlestick-D6mMjvtu.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
- package/dist/{vue-ui-carousel-table-Vp5f238W.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
- package/dist/{vue-ui-chestnut-BKc4v-lf.js → vue-ui-chestnut-C4B0wEFn.js} +484 -487
- package/dist/{vue-ui-chord-CquhRjf0.js → vue-ui-chord-B9Zml1V7.js} +272 -266
- package/dist/{vue-ui-circle-pack-D6zLgxa3.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
- package/dist/{vue-ui-cursor-DIXb2S93.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
- package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
- package/dist/{vue-ui-digits-CLAIo9gW.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
- package/dist/{vue-ui-donut-evolution-C3r0YhKz.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
- package/dist/{vue-ui-donut-C8h_tCSO.js → vue-ui-donut-xseR2SnT.js} +348 -343
- package/dist/{vue-ui-dumbbell-D-t4M00E.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
- package/dist/{vue-ui-flow-D7_D_UNm.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
- package/dist/{vue-ui-funnel-B0QOfZRz.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
- package/dist/{vue-ui-galaxy-Ccw5uNes.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
- package/dist/{vue-ui-gauge-DvW7nFmK.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
- package/dist/{vue-ui-gizmo-WGQxvGPy.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
- package/dist/{vue-ui-heatmap-BQkLujyp.js → vue-ui-heatmap-NfRSd6fU.js} +370 -375
- package/dist/{vue-ui-history-plot-eU33r_Ot.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
- package/dist/{vue-ui-kpi-CKg2i71M.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
- package/dist/{vue-ui-mini-loader-BmkGQsm_.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
- package/dist/{vue-ui-molecule-Dlu0hjSg.js → vue-ui-molecule-C973vfYh.js} +188 -183
- package/dist/{vue-ui-mood-radar-DQaxfw9R.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
- package/dist/{vue-ui-nested-donuts-Djj9Aw_i.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
- package/dist/{vue-ui-onion-ZgsErXis.js → vue-ui-onion-BC9czZGG.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-B5fB22Jc.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
- package/dist/{vue-ui-quadrant-CMevCtXH.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
- package/dist/{vue-ui-quick-chart-DcparKSX.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
- package/dist/{vue-ui-radar-DFbxoKCK.js → vue-ui-radar-DVJQYNeL.js} +248 -243
- package/dist/{vue-ui-rating-ZUpxCWrk.js → vue-ui-rating-DITnRSiS.js} +2 -2
- package/dist/{vue-ui-relation-circle-eNKJY4Sx.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
- package/dist/{vue-ui-ridgeline-D4shpQZd.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
- package/dist/{vue-ui-rings-TdTHMbsa.js → vue-ui-rings-CUT1N_kK.js} +229 -224
- package/dist/{vue-ui-scatter-CVuV9ljU.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
- package/dist/{vue-ui-skeleton-CFxBU2-p.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
- package/dist/{vue-ui-smiley-Har3B3aQ.js → vue-ui-smiley-B9yNexWr.js} +2 -2
- package/dist/{vue-ui-spark-trend-FPk-XEwI.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
- package/dist/{vue-ui-sparkbar-V3eJ0w0t.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DKTGkWnJ.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DJsgFwHs.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
- package/dist/{vue-ui-sparkline-Dmrm5SL5.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-B0Pl7VMI.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
- package/dist/{vue-ui-stackbar-CNsgBPhj.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
- package/dist/{vue-ui-strip-plot-CYAWwYOM.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
- package/dist/{vue-ui-table-heatmap-COI9LRqC.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
- package/dist/{vue-ui-table-Dn6H98rP.js → vue-ui-table-rmbBw_0d.js} +3 -3
- package/dist/{vue-ui-table-sparkline-B7Gg5FfJ.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
- package/dist/{vue-ui-thermometer-Bgynq5El.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
- package/dist/{vue-ui-timer-CXng51v5.js → vue-ui-timer-qFNHDcU_.js} +5 -5
- package/dist/{vue-ui-tiremarks-Cy1U3hO1.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
- package/dist/{vue-ui-treemap-BsvIvRmE.js → vue-ui-treemap-DGC9zxon.js} +262 -256
- package/dist/{vue-ui-vertical-bar-DHqWeDIf.js → vue-ui-vertical-bar-DOCeCCqz.js} +297 -298
- package/dist/{vue-ui-waffle-D1Mscj3N.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
- package/dist/{vue-ui-wheel-DpV-N5tF.js → vue-ui-wheel-87VStrfJ.js} +6 -6
- package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
- package/dist/{vue-ui-world-DYz6zw3x.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
- package/dist/{vue-ui-xy-B1nqNbzw.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
- package/dist/{vue-ui-xy-canvas-D4wd-Asd.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
- package/package.json +1 -1
- package/dist/pdf-Dd-LIJqz.js +0 -61
- package/dist/vue-ui-dashboard-DmiriAK7.js +0 -325
- package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +0 -811
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, computed as p, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import { _ as
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
1
|
+
import { defineAsyncComponent as L, computed as p, ref as i, toRefs as $t, watch as q, shallowRef as Ve, onMounted as Tt, onBeforeUnmount as Xe, watchEffect as St, createElementBlock as n, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as z, createCommentVNode as c, createVNode as be, createSlots as je, withCtx as b, renderSlot as y, normalizeProps as I, guardReactiveProps as M, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as $, mergeProps as Ye, resolveDynamicComponent as Ot, createTextVNode as qe, nextTick as zt } from "vue";
|
|
2
|
+
import { u as Pt, c as ye, t as Dt, a as Nt, p as P, b as It, o as Je, f as me, g as Ke, d as Mt, e as Qe, h as Ft, D as Rt, i as K, X as Wt, k as ge, I as Bt, ab as Et, l as Gt, j as Ht, y as Ze, E as Ut, v as Vt, w as Xt, z as jt } from "./index-BFqW8WA0.js";
|
|
3
|
+
import { t as et, u as Yt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as qt, B as Jt } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
+
import { u as Kt } from "./usePrinter-DDIKRiOp.js";
|
|
6
|
+
import { u as tt } from "./useNestedProp-BSZCnuGl.js";
|
|
7
|
+
import { u as Qt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Zt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as el } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import tl from "./img-DvuphHeJ.js";
|
|
11
|
+
import { _ as ll } from "./Shape-Bmpx9GRg.js";
|
|
12
|
+
import al from "./Title-AGmmsSi_.js";
|
|
13
|
+
import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"], nl = { key: 1 }, il = { key: 0 }, vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], cl = { key: 1 }, hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fl = ["x", "y", "fill", "font-size"], bl = ["transform", "font-size", "fill", "text-anchor"], yl = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], ml = ["fill", "font-size", "transform"], gl = ["fill", "font-size", "x", "y"], xl = ["x1", "x2", "y1", "y2", "stroke"], kl = ["cx", "cy", "fill"], wl = ["cx", "cy", "fill"], Cl = ["id"], Al = ["stop-color"], Ll = ["stop-color"], _l = ["stop-color"], $l = { key: 0 }, Tl = ["x", "y", "font-size", "fill"], Sl = {
|
|
15
15
|
key: 4,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
17
|
+
}, Ol = ["innerHTML"], zl = {
|
|
18
18
|
__name: "vue-ui-strip-plot",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -31,18 +31,18 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectDatapoint"],
|
|
34
|
-
setup(
|
|
35
|
-
const
|
|
34
|
+
setup(lt, { expose: at, emit: ot }) {
|
|
35
|
+
const st = L(() => import("./Tooltip-le0yZk_t.js")), rt = L(() => import("./BaseIcon-BLg8FaQ2.js")), ut = L(() => import("./vue-ui-accordion-Cv747Pg6.js")), nt = L(() => import("./DataTable-BRN1-1ob.js")), it = L(() => import("./UserOptions-DEFwuQIo.js")), vt = L(() => import("./PenAndPaper-TgGWddgD.js")), ct = L(() => import("./PackageVersion-Jz9FlNXl.js")), ht = L(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_strip_plot: dt } = Pt(), x = lt, pt = ot, G = p({
|
|
36
36
|
get() {
|
|
37
37
|
return !!x.dataset && x.dataset.length;
|
|
38
38
|
},
|
|
39
39
|
set(t) {
|
|
40
40
|
return t;
|
|
41
41
|
}
|
|
42
|
-
}), Q =
|
|
43
|
-
|
|
42
|
+
}), Q = i(ye()), xe = i(0), Z = i(!1), ee = i(""), w = i(null), ke = i(null), we = i(null), Ce = i(null), Ae = i(!1), Le = i(0), _e = i(0), F = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ne()), { loading: se, FINAL_DATASET: $e, manualLoading: re } = qt({
|
|
43
|
+
...$t(x),
|
|
44
44
|
FINAL_CONFIG: e,
|
|
45
|
-
prepareConfig:
|
|
45
|
+
prepareConfig: ne,
|
|
46
46
|
skeletonDataset: [
|
|
47
47
|
{
|
|
48
48
|
name: "_",
|
|
@@ -90,7 +90,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
90
90
|
]
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
|
-
skeletonConfig:
|
|
93
|
+
skeletonConfig: Dt({
|
|
94
94
|
defaultConfig: e.value,
|
|
95
95
|
userConfig: {
|
|
96
96
|
userOptions: { show: !1 },
|
|
@@ -129,71 +129,71 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
})
|
|
132
|
-
}), { userOptionsVisible:
|
|
133
|
-
function
|
|
134
|
-
const t =
|
|
132
|
+
}), { userOptionsVisible: ue, setUserOptionsVisibility: Te, keepUserOptionState: Se } = Qt({ config: e.value }), { svgRef: Oe } = Zt({ config: e.value.style.chart.title });
|
|
133
|
+
function ne() {
|
|
134
|
+
const t = tt({
|
|
135
135
|
userConfig: x.config,
|
|
136
|
-
defaultConfig:
|
|
136
|
+
defaultConfig: dt
|
|
137
137
|
});
|
|
138
138
|
return t.theme ? {
|
|
139
|
-
...
|
|
140
|
-
userConfig:
|
|
139
|
+
...tt({
|
|
140
|
+
userConfig: It.vue_ui_strip_plot[t.theme] || x.config,
|
|
141
141
|
defaultConfig: t
|
|
142
142
|
}),
|
|
143
|
-
customPalette:
|
|
143
|
+
customPalette: Nt[t.theme] || P
|
|
144
144
|
} : t;
|
|
145
145
|
}
|
|
146
146
|
q(() => x.config, async (t) => {
|
|
147
|
-
|
|
147
|
+
se.value || (e.value = ne()), ue.value = !e.value.userOptions.showOnChartHover, ze(), Le.value += 1, _e.value += 1, h.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show, T.value = e.value.style.chart.width, C.value = e.value.style.chart.height, W.value = e.value.style.chart.plots.radius;
|
|
148
148
|
}, { deep: !0 }), q(() => x.dataset, (t) => {
|
|
149
|
-
Array.isArray(t) && t.length > 0 && (
|
|
149
|
+
Array.isArray(t) && t.length > 0 && (re.value = !1);
|
|
150
150
|
}, { deep: !0 });
|
|
151
|
-
const A =
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
const A = Ve(null), D = Ve(null);
|
|
152
|
+
Tt(() => {
|
|
153
|
+
ze();
|
|
154
154
|
});
|
|
155
|
-
const
|
|
156
|
-
function
|
|
157
|
-
if (
|
|
155
|
+
const ie = p(() => !!e.value.debug);
|
|
156
|
+
function ze() {
|
|
157
|
+
if (Je(x.dataset) ? (me({
|
|
158
158
|
componentName: "VueUiStripPlot",
|
|
159
159
|
type: "dataset",
|
|
160
|
-
debug:
|
|
161
|
-
}),
|
|
162
|
-
|
|
160
|
+
debug: ie.value
|
|
161
|
+
}), re.value = !0) : x.dataset.forEach((t, a) => {
|
|
162
|
+
Ke({
|
|
163
163
|
datasetObject: t,
|
|
164
164
|
requiredAttributes: ["name", "plots"]
|
|
165
165
|
}).forEach((l) => {
|
|
166
|
-
G.value = !1,
|
|
166
|
+
G.value = !1, me({
|
|
167
167
|
componentName: "VueUiStripPlot",
|
|
168
168
|
type: "datasetSerieAttribute",
|
|
169
169
|
property: l,
|
|
170
170
|
index: a,
|
|
171
|
-
debug:
|
|
171
|
+
debug: ie.value
|
|
172
172
|
});
|
|
173
173
|
}), t.plots && t.plots.forEach((l, s) => {
|
|
174
|
-
|
|
174
|
+
Ke({
|
|
175
175
|
datasetObject: l,
|
|
176
176
|
requiredAttributes: ["name", "value"]
|
|
177
177
|
}).forEach((u) => {
|
|
178
|
-
G.value = !1,
|
|
178
|
+
G.value = !1, me({
|
|
179
179
|
componentName: "VueUiStripPlot",
|
|
180
180
|
type: "datasetSerieAttribute",
|
|
181
181
|
property: u,
|
|
182
182
|
index: `${a},${s}`,
|
|
183
|
-
debug:
|
|
183
|
+
debug: ie.value
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
});
|
|
187
|
-
}),
|
|
188
|
-
const t =
|
|
189
|
-
const { width: a, height: l } =
|
|
187
|
+
}), Je(x.dataset) || (re.value = e.value.loading), e.value.responsive) {
|
|
188
|
+
const t = et(() => {
|
|
189
|
+
const { width: a, height: l } = Yt({
|
|
190
190
|
chart: w.value,
|
|
191
|
-
title: e.value.style.chart.title.text ?
|
|
192
|
-
source:
|
|
193
|
-
noTitle:
|
|
191
|
+
title: e.value.style.chart.title.text ? ke.value : null,
|
|
192
|
+
source: we.value,
|
|
193
|
+
noTitle: Ce.value
|
|
194
194
|
});
|
|
195
195
|
requestAnimationFrame(() => {
|
|
196
|
-
|
|
196
|
+
bt.value = l, T.value = Math.max(0.1, a), C.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? W.value = Ut({
|
|
197
197
|
relator: Math.min(l, a),
|
|
198
198
|
adjuster: 600,
|
|
199
199
|
source: e.value.style.chart.plots.radius,
|
|
@@ -204,23 +204,23 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
204
204
|
});
|
|
205
205
|
A.value && (D.value && A.value.unobserve(D.value), A.value.disconnect()), A.value = new ResizeObserver(t), D.value = w.value.parentNode, A.value.observe(D.value);
|
|
206
206
|
}
|
|
207
|
-
|
|
207
|
+
Ae.value = !0, setTimeout(() => {
|
|
208
208
|
R.value = !1;
|
|
209
|
-
},
|
|
209
|
+
}, gt.value * 50);
|
|
210
210
|
}
|
|
211
|
-
|
|
211
|
+
Xe(() => {
|
|
212
212
|
A.value && (D.value && A.value.unobserve(D.value), A.value.disconnect());
|
|
213
213
|
});
|
|
214
|
-
const { isPrinting:
|
|
214
|
+
const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Ie } = Kt({
|
|
215
215
|
elementId: `strip-plot_${Q.value}`,
|
|
216
216
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
|
|
217
217
|
options: e.value.userOptions.print
|
|
218
|
-
}),
|
|
218
|
+
}), ft = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = p(() => Mt(e.value.customPalette)), R = i(e.value.useCssAnimation), N = i({
|
|
219
219
|
top: e.value.style.chart.padding.top,
|
|
220
220
|
bottom: e.value.style.chart.padding.bottom,
|
|
221
221
|
left: e.value.style.chart.padding.left,
|
|
222
222
|
right: e.value.style.chart.padding.right
|
|
223
|
-
}), T =
|
|
223
|
+
}), T = i(e.value.style.chart.width), C = i(e.value.style.chart.height), bt = i(e.value.style.chart.height), W = i(e.value.style.chart.plots.radius), h = i({
|
|
224
224
|
showTable: e.value.table.show,
|
|
225
225
|
dataLabels: {
|
|
226
226
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
@@ -228,7 +228,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
228
228
|
showTooltip: e.value.style.chart.tooltip.show
|
|
229
229
|
});
|
|
230
230
|
q(e, () => {
|
|
231
|
-
|
|
231
|
+
h.value = {
|
|
232
232
|
showTable: e.value.table.show,
|
|
233
233
|
dataLabels: {
|
|
234
234
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
@@ -236,61 +236,61 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
236
236
|
showTooltip: e.value.style.chart.tooltip.show
|
|
237
237
|
}, T.value = e.value.style.chart.width, C.value = e.value.style.chart.height, W.value = e.value.style.chart.plots.radius;
|
|
238
238
|
}, { immediate: !0 });
|
|
239
|
-
const
|
|
240
|
-
function
|
|
239
|
+
const ve = p(() => Math.min(W.value, o.value.stripWidth / 2 * 0.9));
|
|
240
|
+
function yt() {
|
|
241
241
|
let t = 0;
|
|
242
|
-
|
|
242
|
+
oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((s, u) => {
|
|
243
243
|
const f = u.getComputedTextLength();
|
|
244
244
|
return f > s ? f : s;
|
|
245
245
|
}, 0));
|
|
246
|
-
const a =
|
|
246
|
+
const a = ae.value ? ae.value.getBoundingClientRect().width : 0;
|
|
247
247
|
return t + a + (a ? 24 : 0);
|
|
248
248
|
}
|
|
249
|
-
const
|
|
250
|
-
|
|
249
|
+
const ce = i(0), mt = et((t) => {
|
|
250
|
+
ce.value = t;
|
|
251
251
|
}, 100);
|
|
252
|
-
|
|
252
|
+
St((t) => {
|
|
253
253
|
const a = H.value;
|
|
254
254
|
if (!a) return;
|
|
255
255
|
const l = new ResizeObserver((s) => {
|
|
256
|
-
|
|
256
|
+
mt(s[0].contentRect.height);
|
|
257
257
|
});
|
|
258
258
|
l.observe(a), t(() => l.disconnect());
|
|
259
|
-
}),
|
|
260
|
-
|
|
259
|
+
}), Xe(() => {
|
|
260
|
+
ce.value = 0;
|
|
261
261
|
});
|
|
262
|
-
const
|
|
262
|
+
const Fe = p(() => {
|
|
263
263
|
let t = 0;
|
|
264
|
-
|
|
264
|
+
le.value && (t = le.value.getBBox().height + e.value.style.chart.labels.axis.fontSize / 3 + 12 + e.value.style.chart.labels.axis.xLabelOffsetY);
|
|
265
265
|
let a = 0;
|
|
266
|
-
return H.value && (a =
|
|
266
|
+
return H.value && (a = ce.value + 12), t + a;
|
|
267
267
|
}), o = p(() => {
|
|
268
|
-
const t =
|
|
268
|
+
const t = yt(), a = T.value - t - e.value.style.chart.padding.left - e.value.style.chart.padding.right - e.value.style.chart.labels.axis.yLabelOffsetX - 5;
|
|
269
269
|
return {
|
|
270
270
|
left: N.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5,
|
|
271
271
|
right: T.value - N.value.right,
|
|
272
272
|
top: N.value.top,
|
|
273
|
-
bottom: C.value - N.value.bottom -
|
|
273
|
+
bottom: C.value - N.value.bottom - Fe.value,
|
|
274
274
|
width: a,
|
|
275
|
-
height: C.value - N.value.top - N.value.bottom -
|
|
276
|
-
stripWidth: a /
|
|
275
|
+
height: C.value - N.value.top - N.value.bottom - Fe.value,
|
|
276
|
+
stripWidth: a / $e.value.length,
|
|
277
277
|
absoluteHeight: C.value
|
|
278
278
|
};
|
|
279
|
-
}), U = p(() =>
|
|
280
|
-
const l =
|
|
279
|
+
}), U = p(() => $e.value.map((t, a) => {
|
|
280
|
+
const l = ye();
|
|
281
281
|
return {
|
|
282
282
|
...t,
|
|
283
283
|
id: l,
|
|
284
|
-
color: t.color ?
|
|
284
|
+
color: t.color ? Qe(t.color) : Me.value[a] || P[a] || P[a % P.length],
|
|
285
285
|
plots: t.plots.map((s, u) => ({
|
|
286
286
|
...s,
|
|
287
|
-
value:
|
|
287
|
+
value: Ft(s.value),
|
|
288
288
|
parentId: l,
|
|
289
289
|
parentName: t.name,
|
|
290
290
|
parentIndex: a,
|
|
291
291
|
plotIndex: u,
|
|
292
|
-
color: t.color ?
|
|
293
|
-
id:
|
|
292
|
+
color: t.color ? Qe(t.color) : Me.value[a] || P[a] || P[a % P.length],
|
|
293
|
+
id: ye()
|
|
294
294
|
})).sort((s, u) => s.value - u.value)
|
|
295
295
|
};
|
|
296
296
|
})), k = p(() => (U.value || []).map((t, a) => ({
|
|
@@ -299,34 +299,34 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
299
299
|
...l,
|
|
300
300
|
x: o.value.left + (a + 1) * o.value.stripWidth - o.value.stripWidth / 2
|
|
301
301
|
}))
|
|
302
|
-
}))),
|
|
302
|
+
}))), gt = p(() => Math.max(...k.value.map((t) => t.plots.length))), he = p(() => {
|
|
303
303
|
const t = k.value.flatMap((a) => a.plots.map((l) => l.value));
|
|
304
304
|
return {
|
|
305
305
|
max: Math.max(...t),
|
|
306
306
|
min: Math.min(...t)
|
|
307
307
|
};
|
|
308
|
-
}), S = p(() =>
|
|
308
|
+
}), S = p(() => Rt(he.value.min < 0 ? he.value.min : 0, he.value.max, e.value.style.chart.grid.scaleSteps)), xt = p(() => (k.value || []).map((t, a) => ({
|
|
309
309
|
...t,
|
|
310
310
|
plots: t.plots.map((l) => ({
|
|
311
311
|
...l,
|
|
312
312
|
y: o.value.bottom - (l.value + Math.abs(S.value.min)) / (S.value.max + Math.abs(S.value.min)) * o.value.height
|
|
313
313
|
}))
|
|
314
|
-
}))),
|
|
314
|
+
}))), Re = p(() => S.value.ticks.map((t) => ({
|
|
315
315
|
y: o.value.bottom - o.value.height * ((t + Math.abs(S.value.min)) / (S.value.max + Math.abs(S.value.min))),
|
|
316
316
|
x1: o.value.left,
|
|
317
317
|
x2: o.value.right,
|
|
318
318
|
value: t
|
|
319
|
-
}))),
|
|
320
|
-
function
|
|
319
|
+
}))), de = i(null), d = i(null);
|
|
320
|
+
function kt({ datapoint: t, seriesIndex: a }) {
|
|
321
321
|
Z.value = !1, d.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
|
|
322
322
|
}
|
|
323
|
-
function
|
|
324
|
-
|
|
323
|
+
function wt({ datapoint: t, seriesIndex: a }) {
|
|
324
|
+
pt("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }),
|
|
326
|
+
function Ct({ datapoint: t, seriesIndex: a }) {
|
|
327
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), de.value = { datapoint: t, seriesIndex: a, config: e.value, series: U.value }, Z.value = !0, d.value = t;
|
|
328
328
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
329
|
-
if (
|
|
329
|
+
if (Ze(l) && jt(() => l({
|
|
330
330
|
seriesIndex: a,
|
|
331
331
|
datapoint: t,
|
|
332
332
|
series: U.value,
|
|
@@ -340,7 +340,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
340
340
|
});
|
|
341
341
|
else {
|
|
342
342
|
let s = "";
|
|
343
|
-
s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, s += `<div>${
|
|
343
|
+
s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, s += `<div>${ge(
|
|
344
344
|
e.value.style.chart.labels.formatter,
|
|
345
345
|
t.value,
|
|
346
346
|
K({
|
|
@@ -360,12 +360,12 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
360
360
|
}))), a = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((s, u) => u.value - s.value).map((s) => s.value));
|
|
361
361
|
return { head: t, body: a };
|
|
362
362
|
});
|
|
363
|
-
function
|
|
364
|
-
|
|
363
|
+
function pe(t = null) {
|
|
364
|
+
zt(() => {
|
|
365
365
|
const a = V.value.head.map((u, f) => [[
|
|
366
366
|
u.name
|
|
367
|
-
], [V.value.body[f]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), s =
|
|
368
|
-
t ? t(s) :
|
|
367
|
+
], [V.value.body[f]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), s = Vt(l);
|
|
368
|
+
t ? t(s) : Xt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
369
369
|
});
|
|
370
370
|
}
|
|
371
371
|
const X = p(() => {
|
|
@@ -408,29 +408,29 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
408
408
|
body: a,
|
|
409
409
|
config: l
|
|
410
410
|
};
|
|
411
|
-
}), O =
|
|
412
|
-
function
|
|
413
|
-
O.value = t,
|
|
411
|
+
}), O = i(!1);
|
|
412
|
+
function We(t) {
|
|
413
|
+
O.value = t, xe.value += 1;
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function At() {
|
|
416
416
|
return k.value;
|
|
417
417
|
}
|
|
418
|
-
function We() {
|
|
419
|
-
c.value.showTable = !c.value.showTable;
|
|
420
|
-
}
|
|
421
418
|
function Be() {
|
|
422
|
-
|
|
419
|
+
h.value.showTable = !h.value.showTable;
|
|
423
420
|
}
|
|
424
421
|
function Ee() {
|
|
425
|
-
|
|
422
|
+
h.value.dataLabels.show = !h.value.dataLabels.show;
|
|
423
|
+
}
|
|
424
|
+
function Ge() {
|
|
425
|
+
h.value.showTooltip = !h.value.showTooltip;
|
|
426
426
|
}
|
|
427
|
-
const j =
|
|
428
|
-
function
|
|
427
|
+
const j = i(!1);
|
|
428
|
+
function fe() {
|
|
429
429
|
j.value = !j.value;
|
|
430
430
|
}
|
|
431
|
-
async function
|
|
431
|
+
async function Lt({ scale: t = 2 } = {}) {
|
|
432
432
|
if (!w.value) return;
|
|
433
|
-
const { width: a, height: l } = w.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: f } = await
|
|
433
|
+
const { width: a, height: l } = w.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: f } = await tl({ domElement: w.value, base64: !0, img: !0, scale: t });
|
|
434
434
|
return {
|
|
435
435
|
imageUri: u,
|
|
436
436
|
base64: f,
|
|
@@ -440,11 +440,11 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
440
440
|
aspectRatio: s
|
|
441
441
|
};
|
|
442
442
|
}
|
|
443
|
-
const
|
|
444
|
-
|
|
443
|
+
const He = p(() => k.value.map((t) => t.name)), _t = i({ start: 0, end: k.value.length });
|
|
444
|
+
el({
|
|
445
445
|
timeLabelsEls: H,
|
|
446
|
-
timeLabels:
|
|
447
|
-
slicer:
|
|
446
|
+
timeLabels: He,
|
|
447
|
+
slicer: _t,
|
|
448
448
|
configRef: e,
|
|
449
449
|
rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
|
|
450
450
|
autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
|
|
@@ -455,9 +455,9 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
455
455
|
rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
|
|
456
456
|
});
|
|
457
457
|
const B = p(() => {
|
|
458
|
-
const t = e.value.table.useDialog && !e.value.table.show, a =
|
|
458
|
+
const t = e.value.table.useDialog && !e.value.table.show, a = h.value.showTable;
|
|
459
459
|
return {
|
|
460
|
-
component: t ?
|
|
460
|
+
component: t ? ht : ut,
|
|
461
461
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
462
462
|
props: t ? {
|
|
463
463
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -484,51 +484,55 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
484
484
|
}
|
|
485
485
|
};
|
|
486
486
|
});
|
|
487
|
-
|
|
487
|
+
q(() => h.value.showTable, (t) => {
|
|
488
488
|
e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
|
|
489
|
-
})
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
489
|
+
});
|
|
490
|
+
function Ue() {
|
|
491
|
+
h.value.showTable = !1, te.value && te.value.setTableIconState(!1);
|
|
492
|
+
}
|
|
493
|
+
return at({
|
|
494
|
+
getData: At,
|
|
495
|
+
getImage: Lt,
|
|
496
|
+
generatePdf: Ne,
|
|
497
|
+
generateCsv: pe,
|
|
498
|
+
generateImage: Ie,
|
|
499
|
+
toggleTable: Be,
|
|
500
|
+
toggleLabels: Ee,
|
|
501
|
+
toggleTooltip: Ge,
|
|
502
|
+
toggleAnnotator: fe,
|
|
503
|
+
toggleFullscreen: We
|
|
500
504
|
}), (t, a) => (r(), n("div", {
|
|
501
505
|
ref_key: "stripPlotChart",
|
|
502
506
|
ref: w,
|
|
503
507
|
class: E(`vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
504
508
|
style: J(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
505
509
|
id: `strip-plot_${Q.value}`,
|
|
506
|
-
onMouseenter: a[
|
|
507
|
-
onMouseleave: a[
|
|
510
|
+
onMouseenter: a[1] || (a[1] = () => v(Te)(!0)),
|
|
511
|
+
onMouseleave: a[2] || (a[2] = () => v(Te)(!1))
|
|
508
512
|
}, [
|
|
509
|
-
e.value.userOptions.buttons.annotator ? (r(), z(
|
|
513
|
+
e.value.userOptions.buttons.annotator ? (r(), z(v(vt), {
|
|
510
514
|
key: 0,
|
|
511
|
-
svgRef:
|
|
515
|
+
svgRef: v(Oe),
|
|
512
516
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
513
517
|
color: e.value.style.chart.color,
|
|
514
518
|
active: j.value,
|
|
515
|
-
onClose:
|
|
516
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
517
|
-
|
|
519
|
+
onClose: fe
|
|
520
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
521
|
+
ft.value ? (r(), n("div", {
|
|
518
522
|
key: 1,
|
|
519
523
|
ref_key: "noTitle",
|
|
520
|
-
ref:
|
|
524
|
+
ref: Ce,
|
|
521
525
|
class: "vue-data-ui-no-title-space",
|
|
522
526
|
style: "height:36px; width: 100%;background:transparent"
|
|
523
|
-
}, null, 512)) :
|
|
527
|
+
}, null, 512)) : c("", !0),
|
|
524
528
|
e.value.style.chart.title.text ? (r(), n("div", {
|
|
525
529
|
key: 2,
|
|
526
530
|
ref_key: "chartTitle",
|
|
527
|
-
ref:
|
|
531
|
+
ref: ke,
|
|
528
532
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
529
533
|
}, [
|
|
530
|
-
(r(), z(
|
|
531
|
-
key: `title_${
|
|
534
|
+
(r(), z(al, {
|
|
535
|
+
key: `title_${Le.value}`,
|
|
532
536
|
config: {
|
|
533
537
|
title: {
|
|
534
538
|
cy: "donut-div-title",
|
|
@@ -540,14 +544,15 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
540
544
|
}
|
|
541
545
|
}
|
|
542
546
|
}, null, 8, ["config"]))
|
|
543
|
-
], 512)) :
|
|
544
|
-
e.value.userOptions.show && G.value && (
|
|
545
|
-
|
|
546
|
-
|
|
547
|
+
], 512)) : c("", !0),
|
|
548
|
+
e.value.userOptions.show && G.value && (v(Se) || v(ue)) ? (r(), z(v(it), {
|
|
549
|
+
ref_key: "userOptionsRef",
|
|
550
|
+
ref: te,
|
|
551
|
+
key: `user_option_${xe.value}`,
|
|
547
552
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
548
553
|
color: e.value.style.chart.color,
|
|
549
|
-
isPrinting:
|
|
550
|
-
isImaging:
|
|
554
|
+
isPrinting: v(Pe),
|
|
555
|
+
isImaging: v(De),
|
|
551
556
|
uid: Q.value,
|
|
552
557
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
553
558
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -556,7 +561,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
556
561
|
hasTable: e.value.userOptions.buttons.table,
|
|
557
562
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
558
563
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
559
|
-
isTooltip:
|
|
564
|
+
isTooltip: h.value.showTooltip,
|
|
560
565
|
isFullscreen: O.value,
|
|
561
566
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
562
567
|
chartElement: w.value,
|
|
@@ -565,18 +570,19 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
565
570
|
isAnnotation: j.value,
|
|
566
571
|
callbacks: e.value.userOptions.callbacks,
|
|
567
572
|
printScale: e.value.userOptions.print.scale,
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
573
|
+
tableDialog: e.value.table.useDialog,
|
|
574
|
+
onToggleFullscreen: We,
|
|
575
|
+
onGeneratePdf: v(Ne),
|
|
576
|
+
onGenerateCsv: pe,
|
|
577
|
+
onGenerateImage: v(Ie),
|
|
578
|
+
onToggleTable: Be,
|
|
579
|
+
onToggleLabels: Ee,
|
|
580
|
+
onToggleTooltip: Ge,
|
|
581
|
+
onToggleAnnotator: fe,
|
|
576
582
|
style: J({
|
|
577
|
-
visibility:
|
|
583
|
+
visibility: v(Se) ? v(ue) ? "visible" : "hidden" : "visible"
|
|
578
584
|
})
|
|
579
|
-
},
|
|
585
|
+
}, je({ _: 2 }, [
|
|
580
586
|
t.$slots.menuIcon ? {
|
|
581
587
|
name: "menuIcon",
|
|
582
588
|
fn: b(({ isOpen: l, color: s }) => [
|
|
@@ -640,16 +646,16 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
640
646
|
]),
|
|
641
647
|
key: "8"
|
|
642
648
|
} : void 0
|
|
643
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
649
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
644
650
|
(r(), n("svg", {
|
|
645
651
|
ref_key: "svgRef",
|
|
646
|
-
ref:
|
|
647
|
-
xmlns:
|
|
652
|
+
ref: Oe,
|
|
653
|
+
xmlns: v(Wt),
|
|
648
654
|
class: E({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
649
655
|
viewBox: `0 0 ${T.value} ${C.value}`,
|
|
650
656
|
style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
651
657
|
}, [
|
|
652
|
-
|
|
658
|
+
be(v(ct)),
|
|
653
659
|
t.$slots["chart-background"] ? (r(), n("foreignObject", {
|
|
654
660
|
key: 0,
|
|
655
661
|
x: o.value.left,
|
|
@@ -661,10 +667,10 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
661
667
|
}
|
|
662
668
|
}, [
|
|
663
669
|
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
664
|
-
], 8,
|
|
665
|
-
e.value.style.chart.grid.show ? (r(), n("g",
|
|
666
|
-
e.value.style.chart.grid.horizontalGrid.show ? (r(), n("g",
|
|
667
|
-
(r(!0), n(g, null, _(
|
|
670
|
+
], 8, ul)) : c("", !0),
|
|
671
|
+
e.value.style.chart.grid.show ? (r(), n("g", nl, [
|
|
672
|
+
e.value.style.chart.grid.horizontalGrid.show ? (r(), n("g", il, [
|
|
673
|
+
(r(!0), n(g, null, _(Re.value, (l) => (r(), n("line", {
|
|
668
674
|
x1: l.x1,
|
|
669
675
|
x2: l.x2,
|
|
670
676
|
y1: l.y,
|
|
@@ -673,9 +679,9 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
673
679
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
674
680
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
675
681
|
"stroke-linecap": "round"
|
|
676
|
-
}, null, 8,
|
|
677
|
-
])) :
|
|
678
|
-
e.value.style.chart.grid.verticalGrid.show ? (r(), n("g",
|
|
682
|
+
}, null, 8, vl))), 256))
|
|
683
|
+
])) : c("", !0),
|
|
684
|
+
e.value.style.chart.grid.verticalGrid.show ? (r(), n("g", cl, [
|
|
679
685
|
(r(!0), n(g, null, _(k.value, (l, s) => (r(), n("line", {
|
|
680
686
|
x1: o.value.left + (s + 1) * o.value.stripWidth,
|
|
681
687
|
x2: o.value.left + (s + 1) * o.value.stripWidth,
|
|
@@ -685,8 +691,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
685
691
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
686
692
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
687
693
|
"stroke-linecap": "round"
|
|
688
|
-
}, null, 8,
|
|
689
|
-
])) :
|
|
694
|
+
}, null, 8, hl))), 256))
|
|
695
|
+
])) : c("", !0),
|
|
690
696
|
m("line", {
|
|
691
697
|
x1: o.value.left,
|
|
692
698
|
x2: o.value.left,
|
|
@@ -695,7 +701,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
695
701
|
stroke: e.value.style.chart.grid.stroke,
|
|
696
702
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
697
703
|
"stroke-linecap": "round"
|
|
698
|
-
}, null, 8,
|
|
704
|
+
}, null, 8, dl),
|
|
699
705
|
m("line", {
|
|
700
706
|
x1: o.value.left,
|
|
701
707
|
x2: o.value.right,
|
|
@@ -704,37 +710,37 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
704
710
|
stroke: e.value.style.chart.grid.stroke,
|
|
705
711
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
706
712
|
"stroke-linecap": "round"
|
|
707
|
-
}, null, 8,
|
|
708
|
-
])) :
|
|
713
|
+
}, null, 8, pl)
|
|
714
|
+
])) : c("", !0),
|
|
709
715
|
e.value.style.chart.labels.yAxisLabels.show ? (r(), n("g", {
|
|
710
716
|
key: 2,
|
|
711
717
|
ref_key: "scaleLabels",
|
|
712
|
-
ref:
|
|
718
|
+
ref: oe
|
|
713
719
|
}, [
|
|
714
|
-
(r(!0), n(g, null, _(
|
|
720
|
+
(r(!0), n(g, null, _(Re.value, (l, s) => (r(), n("text", {
|
|
715
721
|
x: l.x1 + e.value.style.chart.labels.yAxisLabels.offsetX - 5,
|
|
716
722
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
717
723
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
718
724
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
719
725
|
"text-anchor": "end"
|
|
720
|
-
}, $(
|
|
726
|
+
}, $(v(ge)(
|
|
721
727
|
e.value.style.chart.labels.formatter,
|
|
722
728
|
l.value,
|
|
723
|
-
|
|
729
|
+
v(K)({
|
|
724
730
|
p: e.value.style.chart.labels.prefix,
|
|
725
731
|
v: l.value,
|
|
726
732
|
s: e.value.style.chart.labels.suffix,
|
|
727
733
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
728
734
|
}),
|
|
729
735
|
{ datapoint: l, seriesIndex: s }
|
|
730
|
-
)), 9,
|
|
731
|
-
], 512)) :
|
|
736
|
+
)), 9, fl))), 256))
|
|
737
|
+
], 512)) : c("", !0),
|
|
732
738
|
e.value.style.chart.labels.xAxisLabels.show ? (r(), n("g", {
|
|
733
739
|
key: 3,
|
|
734
740
|
ref_key: "timeLabelsEls",
|
|
735
741
|
ref: H
|
|
736
742
|
}, [
|
|
737
|
-
(r(!0), n(g, null, _(
|
|
743
|
+
(r(!0), n(g, null, _(He.value, (l, s) => (r(), n("g", null, [
|
|
738
744
|
String(l).includes(`
|
|
739
745
|
`) ? (r(), n("text", {
|
|
740
746
|
key: 1,
|
|
@@ -743,42 +749,42 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
743
749
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
744
750
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
745
751
|
"text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
746
|
-
innerHTML:
|
|
747
|
-
content:
|
|
752
|
+
innerHTML: v(Bt)({
|
|
753
|
+
content: v(Et)(String(l)),
|
|
748
754
|
fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
749
755
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
750
756
|
x: 0,
|
|
751
757
|
y: 0
|
|
752
758
|
})
|
|
753
|
-
}, null, 8,
|
|
759
|
+
}, null, 8, yl)) : (r(), n("text", {
|
|
754
760
|
key: 0,
|
|
755
761
|
class: "vue-ui-strip-plot-category-name",
|
|
756
762
|
transform: `translate(${o.value.left + (s + 1) * o.value.stripWidth - o.value.stripWidth / 2}, ${o.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
757
763
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
758
764
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
759
765
|
"text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
|
|
760
|
-
}, $(String(l)), 9,
|
|
766
|
+
}, $(String(l)), 9, bl))
|
|
761
767
|
]))), 256))
|
|
762
|
-
], 512)) :
|
|
768
|
+
], 512)) : c("", !0),
|
|
763
769
|
e.value.style.chart.labels.axis.yLabel ? (r(), n("text", {
|
|
764
770
|
key: 4,
|
|
765
771
|
ref_key: "yAxisLabel",
|
|
766
|
-
ref:
|
|
772
|
+
ref: ae,
|
|
767
773
|
fill: e.value.style.chart.labels.axis.color,
|
|
768
774
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
769
775
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${o.value.top + o.value.height / 2}) rotate(-90)`,
|
|
770
776
|
"text-anchor": "middle"
|
|
771
|
-
}, $(e.value.style.chart.labels.axis.yLabel), 9,
|
|
777
|
+
}, $(e.value.style.chart.labels.axis.yLabel), 9, ml)) : c("", !0),
|
|
772
778
|
e.value.style.chart.labels.axis.xLabel ? (r(), n("text", {
|
|
773
779
|
key: 5,
|
|
774
780
|
ref_key: "xAxisLabel",
|
|
775
|
-
ref:
|
|
781
|
+
ref: le,
|
|
776
782
|
fill: e.value.style.chart.labels.axis.color,
|
|
777
783
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
778
784
|
x: o.value.left + o.value.width / 2,
|
|
779
785
|
y: C.value - e.value.style.chart.labels.axis.fontSize / 3,
|
|
780
786
|
"text-anchor": "middle"
|
|
781
|
-
}, $(e.value.style.chart.labels.axis.xLabel), 9,
|
|
787
|
+
}, $(e.value.style.chart.labels.axis.xLabel), 9, gl)) : c("", !0),
|
|
782
788
|
d.value ? (r(), n(g, { key: 6 }, [
|
|
783
789
|
m("line", {
|
|
784
790
|
x1: o.value.left,
|
|
@@ -788,22 +794,22 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
788
794
|
stroke: d.value.color,
|
|
789
795
|
"stroke-width": 1,
|
|
790
796
|
class: E({ "select-circle": e.value.useCssAnimation })
|
|
791
|
-
}, null, 10,
|
|
797
|
+
}, null, 10, xl),
|
|
792
798
|
m("circle", {
|
|
793
799
|
cx: o.value.left,
|
|
794
800
|
cy: d.value.y,
|
|
795
801
|
r: 3,
|
|
796
802
|
fill: d.value.color,
|
|
797
803
|
class: E({ "select-circle": e.value.useCssAnimation })
|
|
798
|
-
}, null, 10,
|
|
804
|
+
}, null, 10, kl),
|
|
799
805
|
m("circle", {
|
|
800
806
|
cx: o.value.right,
|
|
801
807
|
cy: d.value.y,
|
|
802
808
|
r: 3,
|
|
803
809
|
fill: d.value.color,
|
|
804
810
|
class: E({ "select-circle": e.value.useCssAnimation })
|
|
805
|
-
}, null, 10,
|
|
806
|
-
], 64)) :
|
|
811
|
+
}, null, 10, wl)
|
|
812
|
+
], 64)) : c("", !0),
|
|
807
813
|
m("defs", null, [
|
|
808
814
|
(r(!0), n(g, null, _(k.value, (l) => (r(), n("radialGradient", {
|
|
809
815
|
id: l.id,
|
|
@@ -811,71 +817,71 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
811
817
|
}, [
|
|
812
818
|
m("stop", {
|
|
813
819
|
offset: "10%",
|
|
814
|
-
"stop-color":
|
|
815
|
-
}, null, 8,
|
|
820
|
+
"stop-color": v(Gt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
821
|
+
}, null, 8, Al),
|
|
816
822
|
m("stop", {
|
|
817
823
|
offset: "90%",
|
|
818
|
-
"stop-color":
|
|
819
|
-
}, null, 8,
|
|
824
|
+
"stop-color": v(Ht)(l.color, 0.1)
|
|
825
|
+
}, null, 8, Ll),
|
|
820
826
|
m("stop", {
|
|
821
827
|
offset: "100%",
|
|
822
828
|
"stop-color": l.color
|
|
823
|
-
}, null, 8,
|
|
824
|
-
], 8,
|
|
829
|
+
}, null, 8, _l)
|
|
830
|
+
], 8, Cl))), 256))
|
|
825
831
|
]),
|
|
826
|
-
(r(!0), n(g, null, _(
|
|
827
|
-
(r(!0), n(g, null, _(l.plots, (u, f) => (r(), z(
|
|
828
|
-
plot: { x: u.x, y:
|
|
829
|
-
radius: d.value && d.value.id === u.id ?
|
|
832
|
+
(r(!0), n(g, null, _(xt.value, (l, s) => (r(), n(g, null, [
|
|
833
|
+
(r(!0), n(g, null, _(l.plots, (u, f) => (r(), z(ll, Ye({ ref_for: !0 }, t.$attrs, {
|
|
834
|
+
plot: { x: u.x, y: Ae.value ? u.y : o.value.top },
|
|
835
|
+
radius: d.value && d.value.id === u.id ? ve.value * 1.5 : ve.value,
|
|
830
836
|
shape: e.value.style.chart.plots.shape,
|
|
831
837
|
stroke: e.value.style.chart.plots.stroke,
|
|
832
838
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
833
839
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
834
840
|
style: `transition: all 0.2s ease-in-out; opacity:${d.value ? d.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${f * 50}ms` : ""}`,
|
|
835
|
-
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !
|
|
836
|
-
onMouseenter: (Y) =>
|
|
837
|
-
onMouseleave: (Y) =>
|
|
838
|
-
onClick: (Y) =>
|
|
841
|
+
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !v(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !R.value },
|
|
842
|
+
onMouseenter: (Y) => Ct({ datapoint: u, seriesIndex: f }),
|
|
843
|
+
onMouseleave: (Y) => kt({ datapoint: u, seriesIndex: f }),
|
|
844
|
+
onClick: (Y) => wt({ datapoint: u, seriesIndex: f })
|
|
839
845
|
}), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
|
|
840
|
-
|
|
846
|
+
h.value.dataLabels.show ? (r(), n("g", $l, [
|
|
841
847
|
(r(!0), n(g, null, _(l.plots, (u, f) => (r(), n(g, null, [
|
|
842
|
-
f === l.plots.length - 1 || d.value && d.value.id === u.id && !
|
|
848
|
+
f === l.plots.length - 1 || d.value && d.value.id === u.id && !h.value.showTooltip ? (r(), n("text", {
|
|
843
849
|
key: 0,
|
|
844
850
|
x: u.x,
|
|
845
|
-
y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY -
|
|
851
|
+
y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY - ve.value * (d.value && d.value.id === u.id && !h.value.showTooltip ? 2 : 1.5),
|
|
846
852
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
847
853
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
848
854
|
"text-anchor": "middle",
|
|
849
855
|
style: J(`opacity:${e.value.useCssAnimation && R.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
|
|
850
|
-
}, $(u.name) + " " + $(e.value.style.chart.labels.bestPlotLabel.showValue ?
|
|
856
|
+
}, $(u.name) + " " + $(e.value.style.chart.labels.bestPlotLabel.showValue ? v(ge)(
|
|
851
857
|
e.value.style.chart.labels.formatter,
|
|
852
858
|
u.value,
|
|
853
|
-
|
|
859
|
+
v(K)({
|
|
854
860
|
p: `(${e.value.style.chart.labels.prefix}`,
|
|
855
861
|
v: u.value,
|
|
856
862
|
s: `${e.value.style.chart.labels.suffix})`,
|
|
857
863
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
858
864
|
}),
|
|
859
865
|
{ datapoint: u, seriesIndex: f }
|
|
860
|
-
) : ""), 13,
|
|
866
|
+
) : ""), 13, Tl)) : c("", !0)
|
|
861
867
|
], 64))), 256))
|
|
862
|
-
])) :
|
|
868
|
+
])) : c("", !0)
|
|
863
869
|
], 64))), 256)),
|
|
864
870
|
y(t.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
865
|
-
], 14,
|
|
866
|
-
t.$slots.watermark ? (r(), n("div",
|
|
867
|
-
y(t.$slots, "watermark", I(M({ isPrinting:
|
|
868
|
-
])) :
|
|
871
|
+
], 14, rl)),
|
|
872
|
+
t.$slots.watermark ? (r(), n("div", Sl, [
|
|
873
|
+
y(t.$slots, "watermark", I(M({ isPrinting: v(Pe) || v(De) })), void 0, !0)
|
|
874
|
+
])) : c("", !0),
|
|
869
875
|
t.$slots.source ? (r(), n("div", {
|
|
870
876
|
key: 5,
|
|
871
877
|
ref_key: "source",
|
|
872
|
-
ref:
|
|
878
|
+
ref: we,
|
|
873
879
|
dir: "auto"
|
|
874
880
|
}, [
|
|
875
881
|
y(t.$slots, "source", {}, void 0, !0)
|
|
876
|
-
], 512)) :
|
|
877
|
-
|
|
878
|
-
show:
|
|
882
|
+
], 512)) : c("", !0),
|
|
883
|
+
be(v(st), {
|
|
884
|
+
show: h.value.showTooltip && Z.value,
|
|
879
885
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
880
886
|
color: e.value.style.chart.tooltip.color,
|
|
881
887
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -888,42 +894,42 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
888
894
|
parent: w.value,
|
|
889
895
|
content: ee.value,
|
|
890
896
|
isFullscreen: O.value,
|
|
891
|
-
isCustom:
|
|
897
|
+
isCustom: v(Ze)(e.value.style.chart.tooltip.customFormat),
|
|
892
898
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
893
899
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
894
900
|
}, {
|
|
895
901
|
"tooltip-before": b(() => [
|
|
896
|
-
y(t.$slots, "tooltip-before", I(M({ ...
|
|
902
|
+
y(t.$slots, "tooltip-before", I(M({ ...de.value })), void 0, !0)
|
|
897
903
|
]),
|
|
898
904
|
"tooltip-after": b(() => [
|
|
899
|
-
y(t.$slots, "tooltip-after", I(M({ ...
|
|
905
|
+
y(t.$slots, "tooltip-after", I(M({ ...de.value })), void 0, !0)
|
|
900
906
|
]),
|
|
901
907
|
_: 3
|
|
902
908
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
903
|
-
G.value ? (r(), z(
|
|
909
|
+
G.value ? (r(), z(Ot(B.value.component), Ye({ key: 6 }, B.value.props, {
|
|
904
910
|
ref_key: "tableUnit",
|
|
905
911
|
ref: F,
|
|
906
|
-
onClose:
|
|
907
|
-
}),
|
|
912
|
+
onClose: Ue
|
|
913
|
+
}), je({
|
|
908
914
|
content: b(() => [
|
|
909
|
-
(r(), z(
|
|
910
|
-
key: `table_${
|
|
915
|
+
(r(), z(v(nt), {
|
|
916
|
+
key: `table_${_e.value}`,
|
|
911
917
|
colNames: X.value.colNames,
|
|
912
918
|
head: X.value.head,
|
|
913
919
|
body: X.value.body,
|
|
914
920
|
config: X.value.config,
|
|
915
921
|
title: e.value.table.useDialog ? "" : B.value.title,
|
|
916
922
|
withCloseButton: !e.value.table.useDialog,
|
|
917
|
-
onClose:
|
|
923
|
+
onClose: Ue
|
|
918
924
|
}, {
|
|
919
925
|
th: b(({ th: l }) => [
|
|
920
926
|
m("div", {
|
|
921
927
|
innerHTML: l,
|
|
922
928
|
style: { display: "flex", "align-items": "center" }
|
|
923
|
-
}, null, 8,
|
|
929
|
+
}, null, 8, Ol)
|
|
924
930
|
]),
|
|
925
931
|
td: b(({ td: l }) => [
|
|
926
|
-
|
|
932
|
+
qe($(l.name || l), 1)
|
|
927
933
|
]),
|
|
928
934
|
_: 1
|
|
929
935
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -933,7 +939,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
933
939
|
e.value.table.useDialog ? {
|
|
934
940
|
name: "title",
|
|
935
941
|
fn: b(() => [
|
|
936
|
-
|
|
942
|
+
qe($(B.value.title), 1)
|
|
937
943
|
]),
|
|
938
944
|
key: "0"
|
|
939
945
|
} : void 0,
|
|
@@ -943,9 +949,9 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
943
949
|
m("button", {
|
|
944
950
|
tabindex: "0",
|
|
945
951
|
class: "vue-ui-user-options-button",
|
|
946
|
-
onClick: a[0] || (a[0] = (l) =>
|
|
952
|
+
onClick: a[0] || (a[0] = (l) => pe(e.value.userOptions.callbacks.csv))
|
|
947
953
|
}, [
|
|
948
|
-
|
|
954
|
+
be(v(rt), {
|
|
949
955
|
name: "excel",
|
|
950
956
|
stroke: B.value.props.color
|
|
951
957
|
}, null, 8, ["stroke"])
|
|
@@ -953,11 +959,11 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["x", "y", "width", "height"]
|
|
|
953
959
|
]),
|
|
954
960
|
key: "1"
|
|
955
961
|
} : void 0
|
|
956
|
-
]), 1040)) :
|
|
957
|
-
|
|
958
|
-
], 46,
|
|
962
|
+
]), 1040)) : c("", !0),
|
|
963
|
+
v(se) ? (r(), z(Jt, { key: 7 })) : c("", !0)
|
|
964
|
+
], 46, sl));
|
|
959
965
|
}
|
|
960
|
-
},
|
|
966
|
+
}, Vl = /* @__PURE__ */ ol(zl, [["__scopeId", "data-v-b0856d43"]]);
|
|
961
967
|
export {
|
|
962
|
-
|
|
968
|
+
Vl as default
|
|
963
969
|
};
|