vue-data-ui 3.17.9 → 3.17.11
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/{PackageVersion-Ov37I8ii.js → PackageVersion-CHNfLQ9Q.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-C1Z1RCcf.js → vue-data-ui-BhpgB8UJ.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-BqqCv_L2.js → vue-ui-3d-bar-DlLiXS6Z.js} +1 -1
- package/dist/{vue-ui-age-pyramid-C-2sRuVe.js → vue-ui-age-pyramid-DraVdYRy.js} +1 -1
- package/dist/{vue-ui-bullet-CkBMlG46.js → vue-ui-bullet-WnD9rJbc.js} +19 -18
- package/dist/{vue-ui-bump-DxBzf8_x.js → vue-ui-bump-DwgahfiC.js} +1 -1
- package/dist/{vue-ui-candlestick-CQw6E5XK.js → vue-ui-candlestick-BleQTpuq.js} +1 -1
- package/dist/{vue-ui-carousel-table-ehHnnwYQ.js → vue-ui-carousel-table-BjXxtjCZ.js} +1 -1
- package/dist/{vue-ui-chestnut-CEG1n9Bg.js → vue-ui-chestnut-xBDbJ9su.js} +1 -1
- package/dist/{vue-ui-chord-Bm8sj1jg.js → vue-ui-chord-D_pGtRHt.js} +36 -35
- package/dist/{vue-ui-circle-pack-BhtBzyoU.js → vue-ui-circle-pack-C7-wxx3Y.js} +1 -1
- package/dist/{vue-ui-cursor-KjOp9R9e.js → vue-ui-cursor-DBvL5KTg.js} +1 -1
- package/dist/{vue-ui-dag-DsBuepaA.js → vue-ui-dag-BKGTFMQK.js} +1 -1
- package/dist/{vue-ui-dashboard-ClvBMAzA.js → vue-ui-dashboard-CEtNOoBY.js} +58 -58
- package/dist/{vue-ui-digits-CUN5zijI.js → vue-ui-digits-BeIq6BVd.js} +1 -1
- package/dist/{vue-ui-donut-B1EgAu-L.js → vue-ui-donut-BjV5_nf1.js} +44 -43
- package/dist/{vue-ui-donut-evolution-5PjaWTvx.js → vue-ui-donut-evolution-B7hCGAIO.js} +30 -29
- package/dist/{vue-ui-dumbbell-D8hAgMko.js → vue-ui-dumbbell-ZMLefa9v.js} +85 -86
- package/dist/{vue-ui-flow-jJLellQk.js → vue-ui-flow-BYjkId4Z.js} +63 -62
- package/dist/{vue-ui-funnel-C4JIWkGm.js → vue-ui-funnel-BZtpP-Of.js} +2 -2
- package/dist/{vue-ui-galaxy-CuqTB4XR.js → vue-ui-galaxy-bdIj6ERd.js} +56 -55
- package/dist/{vue-ui-gauge-B5bJUzMr.js → vue-ui-gauge-DT5-qFXl.js} +1 -1
- package/dist/{vue-ui-geo-BJiW5vL1.js → vue-ui-geo-nXp15sZ5.js} +1 -1
- package/dist/{vue-ui-gizmo-D5e5T4fu.js → vue-ui-gizmo-J5MTo522.js} +1 -1
- package/dist/{vue-ui-heatmap-Bsr9R8ek.js → vue-ui-heatmap-G7DzkGq2.js} +1 -1
- package/dist/{vue-ui-history-plot-pXrD1Fm7.js → vue-ui-history-plot-BLoxv5uS.js} +35 -36
- package/dist/{vue-ui-horizontal-bar-7HugQ0dT.js → vue-ui-horizontal-bar-B8wbIiWo.js} +1 -1
- package/dist/{vue-ui-kpi-BLVCrWfG.js → vue-ui-kpi-AT8jIXnu.js} +1 -1
- package/dist/{vue-ui-molecule-DhIWpt07.js → vue-ui-molecule-j5opFMNQ.js} +1 -1
- package/dist/{vue-ui-mood-radar-BUpDYe22.js → vue-ui-mood-radar-Opwn9CwC.js} +84 -83
- package/dist/{vue-ui-nested-donuts-JhqmPAhH.js → vue-ui-nested-donuts-Cc_5aNFc.js} +117 -120
- package/dist/{vue-ui-onion-DUSgz_9-.js → vue-ui-onion-CjDIGb68.js} +62 -63
- package/dist/{vue-ui-parallel-coordinate-plot-Cbn9N0y0.js → vue-ui-parallel-coordinate-plot-CcQZTqNS.js} +35 -36
- package/dist/{vue-ui-quadrant-Foz7WuoD.js → vue-ui-quadrant-FoV76r7G.js} +32 -33
- package/dist/{vue-ui-quick-chart-DVH6A-Nr.js → vue-ui-quick-chart-BPu7QR35.js} +3 -3
- package/dist/{vue-ui-radar-CDpMulQa.js → vue-ui-radar-C60tBqYo.js} +72 -73
- package/dist/{vue-ui-relation-circle-ChtfTtXY.js → vue-ui-relation-circle-CaeT1NKV.js} +1 -1
- package/dist/{vue-ui-ridgeline-DXs-IeYj.js → vue-ui-ridgeline-DpLnKVx2.js} +2 -2
- package/dist/{vue-ui-rings-BfhsTTW_.js → vue-ui-rings-Bp1MqbOV.js} +171 -172
- package/dist/{vue-ui-scatter-CYWGf_oA.js → vue-ui-scatter-C73P-oBq.js} +100 -101
- package/dist/{vue-ui-skeleton-BPUPkwbA.js → vue-ui-skeleton-BSR3VLyw.js} +1 -1
- package/dist/{vue-ui-spark-trend-Cz7B6dw6.js → vue-ui-spark-trend-BqlM3vP7.js} +1 -1
- package/dist/{vue-ui-sparkbar-Dv89_7Pf.js → vue-ui-sparkbar-DqtEGBj9.js} +1 -1
- package/dist/{vue-ui-sparkgauge-BOPXQq5e.js → vue-ui-sparkgauge-DWOru6YE.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-BXYBq4wu.js → vue-ui-sparkhistogram-DfYv2pHk.js} +1 -1
- package/dist/{vue-ui-sparkline-B-CVRLdL.js → vue-ui-sparkline-Bu5xssk9.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-Dg3wvlR7.js → vue-ui-sparkstackbar-D-a14Bay.js} +1 -1
- package/dist/{vue-ui-stackbar-Dojc9vet.js → vue-ui-stackbar-BB-KLlR-.js} +45 -46
- package/dist/{vue-ui-stackline-BrZw5IXj.js → vue-ui-stackline-fWtYk_Aa.js} +119 -120
- package/dist/{vue-ui-strip-plot-Jqkr7XWO.js → vue-ui-strip-plot-D0QC2wVw.js} +1 -1
- package/dist/{vue-ui-table-B_TE9dWt.js → vue-ui-table-Rk5HCqBr.js} +2 -2
- package/dist/{vue-ui-table-sparkline-DtryAFeu.js → vue-ui-table-sparkline-Cb6fl-Ux.js} +1 -1
- package/dist/{vue-ui-thermometer-Cf2u4_lH.js → vue-ui-thermometer-ConedyG6.js} +1 -1
- package/dist/{vue-ui-timer-BCw6IHHQ.js → vue-ui-timer-B-GcfZX7.js} +1 -1
- package/dist/{vue-ui-tiremarks-AOLQC2Pm.js → vue-ui-tiremarks-BGyILItf.js} +1 -1
- package/dist/{vue-ui-treemap-C8MtnLLV.js → vue-ui-treemap-C4PiafoY.js} +33 -34
- package/dist/{vue-ui-waffle-DvQ-_joz.js → vue-ui-waffle-DvHrxSIL.js} +44 -45
- package/dist/{vue-ui-wheel-BzBzZw1d.js → vue-ui-wheel-DeKJJliu.js} +1 -1
- package/dist/{vue-ui-word-cloud-LrVTAPzW.js → vue-ui-word-cloud-IAom94Mg.js} +1 -1
- package/dist/{vue-ui-world-7DPU6qqx.js → vue-ui-world-CH9uc5uY.js} +78 -77
- package/dist/{vue-ui-xy-XsqGdS48.js → vue-ui-xy-C11EO1Ja.js} +187 -188
- package/dist/{vue-ui-xy-canvas--zevqB3i.js → vue-ui-xy-canvas-DLvVyHZO.js} +103 -104
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineAsyncComponent as G, computed as $, ref as h, toRefs as Ol, watch as fe, onMounted as Fl, shallowRef as Ft, onBeforeUnmount as Dl, openBlock as u, createElementBlock as r, unref as v, normalizeStyle as pe, normalizeClass as Z, createElementVNode as g, toDisplayString as E, createBlock as V, createCommentVNode as A, withCtx as y, renderSlot as b, normalizeProps as P, guardReactiveProps as S, createSlots as Dt, createVNode as
|
|
2
|
-
import { j as zl, t as zt, m as Bl, p as
|
|
1
|
+
import { defineAsyncComponent as G, computed as $, ref as h, toRefs as Ol, watch as fe, onMounted as Fl, shallowRef as Ft, onBeforeUnmount as Dl, openBlock as u, createElementBlock as r, unref as v, normalizeStyle as pe, normalizeClass as Z, createElementVNode as g, toDisplayString as E, createBlock as V, createCommentVNode as A, withCtx as y, renderSlot as b, normalizeProps as P, guardReactiveProps as S, createSlots as Dt, createVNode as Ke, Fragment as T, renderList as _, withDirectives as Nt, vShow as Vt, Teleport as Nl, resolveDynamicComponent as Vl, mergeProps as Ml, createTextVNode as Mt, nextTick as Xe } from "vue";
|
|
2
|
+
import { j as zl, t as zt, m as Bl, p as He, o as El, q as oe, n as Ul, a8 as Y, s as Rl, a4 as qe, k as Le, l as D, X as Gl, u as Yl, a as Bt, a6 as Et, a7 as xe, B as Ut, T as Rt, a0 as Wl, a1 as Kl, U as Xl, ai as Gt, K as je } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { b as Hl } from "./labelUtils-DX9oyq3C.js";
|
|
4
4
|
import { t as ql, u as jl } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as Jl } from "./useConfig-B70q17MC.js";
|
|
6
6
|
import { u as Ql, B as Zl } from "./BaseScanner-C2j3TsSY.js";
|
|
7
7
|
import { u as ea } from "./usePrinter-C4t8DdQ-.js";
|
|
8
8
|
import { u as ta } from "./useSvgExport-BTG4hVPO.js";
|
|
9
|
-
import { u as
|
|
9
|
+
import { u as Je } from "./useNestedProp-DH0BEVVS.js";
|
|
10
10
|
import { u as la } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
11
|
import { u as aa } from "./useUserOptionState-B7Ej974k.js";
|
|
12
12
|
import { u as oa } from "./useChartAccessibility-cp6XQtqi.js";
|
|
@@ -51,7 +51,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
51
51
|
), Qt = G(
|
|
52
52
|
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
53
53
|
), Zt = G(
|
|
54
|
-
() => import("./PackageVersion-
|
|
54
|
+
() => import("./PackageVersion-CHNfLQ9Q.js")
|
|
55
55
|
), el = G(
|
|
56
56
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
57
57
|
), { vue_ui_nested_donuts: tl } = Jl(), { isThemeValid: ll, warnInvalidTheme: al } = la(), I = Yt, Te = $({
|
|
@@ -61,11 +61,11 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
61
61
|
set(t) {
|
|
62
62
|
return t;
|
|
63
63
|
}
|
|
64
|
-
}), f = h(zl()), se = h(!1), _e = h(""), ne = h(null),
|
|
64
|
+
}), f = h(zl()), se = h(!1), _e = h(""), ne = h(null), Qe = h(0), M = h(null), Ze = h(null), et = h(null), tt = h(null), lt = h(null), at = h(0), ot = h(0), st = h(0), W = h(!0), K = h([]), ue = h([]), nt = h(!1), re = h(null), Pe = h(null), ge = h(!1), ye = h(!1), N = h(null), ut = h({ x: 0, y: 0 }), ie = h("pointer"), Se = h(!1), X = h(!1);
|
|
65
65
|
function rt(t) {
|
|
66
|
-
X.value = t,
|
|
66
|
+
X.value = t, Qe.value += 1;
|
|
67
67
|
}
|
|
68
|
-
const e = h(
|
|
68
|
+
const e = h(Fe()), H = $(
|
|
69
69
|
() => e.value.userOptions.useCursorPointer
|
|
70
70
|
), it = {
|
|
71
71
|
name: "",
|
|
@@ -115,10 +115,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
userConfig: e.value.skeletonConfig ?? {}
|
|
118
|
-
})), { loading: be, FINAL_DATASET: q, manualLoading:
|
|
118
|
+
})), { loading: be, FINAL_DATASET: q, manualLoading: Ie } = Ql({
|
|
119
119
|
...Ol(I),
|
|
120
120
|
FINAL_CONFIG: e,
|
|
121
|
-
prepareConfig:
|
|
121
|
+
prepareConfig: Fe,
|
|
122
122
|
callback: () => {
|
|
123
123
|
Promise.resolve().then(async () => {
|
|
124
124
|
await ht();
|
|
@@ -129,11 +129,11 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
129
129
|
defaultConfig: e.value,
|
|
130
130
|
userConfig: ol.value
|
|
131
131
|
})
|
|
132
|
-
}), { userOptionsVisible:
|
|
132
|
+
}), { userOptionsVisible: Oe, setUserOptionsVisibility: dt, keepUserOptionState: ct } = aa({ config: e.value }), { svgRef: z } = oa({
|
|
133
133
|
config: e.value.style.chart.title
|
|
134
134
|
});
|
|
135
|
-
function
|
|
136
|
-
const t =
|
|
135
|
+
function Fe() {
|
|
136
|
+
const t = Je({
|
|
137
137
|
userConfig: I.config,
|
|
138
138
|
defaultConfig: tl
|
|
139
139
|
});
|
|
@@ -143,16 +143,16 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
143
143
|
if (!ll.value(t))
|
|
144
144
|
al(t), s = t;
|
|
145
145
|
else {
|
|
146
|
-
const o =
|
|
146
|
+
const o = Je({
|
|
147
147
|
userConfig: ua[l] || I.config,
|
|
148
148
|
defaultConfig: t
|
|
149
149
|
});
|
|
150
150
|
s = {
|
|
151
|
-
...
|
|
151
|
+
...Je({
|
|
152
152
|
userConfig: I.config,
|
|
153
153
|
defaultConfig: o
|
|
154
154
|
}),
|
|
155
|
-
customPalette: t.customPalette.length ? t.customPalette : Bl[l] ||
|
|
155
|
+
customPalette: t.customPalette.length ? t.customPalette : Bl[l] || He
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
else
|
|
@@ -162,7 +162,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
162
162
|
fe(
|
|
163
163
|
() => I.config,
|
|
164
164
|
(t) => {
|
|
165
|
-
be.value || (e.value =
|
|
165
|
+
be.value || (e.value = Fe()), Oe.value = !e.value.userOptions.showOnChartHover, ft(), at.value += 1, ot.value += 1, st.value += 1, L.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.chart.tooltip.show, p.value.width = e.value.style.chart.width, p.value.height = e.value.style.chart.height;
|
|
166
166
|
},
|
|
167
167
|
{ deep: !0 }
|
|
168
168
|
);
|
|
@@ -188,34 +188,34 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
188
188
|
const x = Math.min((w - k) / s, 1), ve = Gt(x), he = d * ve;
|
|
189
189
|
K.value[c] = he, K.value = [...K.value];
|
|
190
190
|
const Ce = [];
|
|
191
|
-
let
|
|
192
|
-
I.dataset.forEach((Ae,
|
|
193
|
-
const _l =
|
|
191
|
+
let Ue = 0;
|
|
192
|
+
I.dataset.forEach((Ae, Re) => {
|
|
193
|
+
const _l = je(
|
|
194
194
|
Ae.series.reduce(
|
|
195
|
-
(
|
|
196
|
-
Y(
|
|
195
|
+
(Ye, We) => Ye + je(
|
|
196
|
+
Y(We.values).reduce(
|
|
197
197
|
(Sl, Il) => Sl + Il,
|
|
198
198
|
0
|
|
199
199
|
)
|
|
200
200
|
),
|
|
201
201
|
0
|
|
202
202
|
)
|
|
203
|
-
), Pl =
|
|
204
|
-
K.value.slice(
|
|
205
|
-
),
|
|
206
|
-
|
|
203
|
+
), Pl = je(
|
|
204
|
+
K.value.slice(Ue, Ue + Ae.series.length).reduce((Ye, We) => Ye + We, 0)
|
|
205
|
+
), Ge = _l - Pl;
|
|
206
|
+
Ge > Number.MIN_VALUE && Ce.push({
|
|
207
207
|
name: "__ghost__",
|
|
208
208
|
arcOf: Ae.name,
|
|
209
|
-
arcOfId: `${f.value}_${
|
|
210
|
-
id: `ghost_${f.value}_${
|
|
209
|
+
arcOfId: `${f.value}_${Re}`,
|
|
210
|
+
id: `ghost_${f.value}_${Re}`,
|
|
211
211
|
seriesIndex: -1,
|
|
212
|
-
datasetIndex:
|
|
212
|
+
datasetIndex: Re,
|
|
213
213
|
color: "transparent",
|
|
214
|
-
value:
|
|
215
|
-
fullValue:
|
|
214
|
+
value: Ge,
|
|
215
|
+
fullValue: Ge,
|
|
216
216
|
absoluteValues: [],
|
|
217
217
|
ghost: !0
|
|
218
|
-
}),
|
|
218
|
+
}), Ue += Ae.series.length;
|
|
219
219
|
}), ue.value = Ce, x < 1 ? requestAnimationFrame(i) : (n += 1, n === a && o());
|
|
220
220
|
}
|
|
221
221
|
requestAnimationFrame(i);
|
|
@@ -246,7 +246,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
246
246
|
absoluteValues: [],
|
|
247
247
|
ghost: !0
|
|
248
248
|
};
|
|
249
|
-
}), await
|
|
249
|
+
}), await Xe(), sl(
|
|
250
250
|
s,
|
|
251
251
|
e.value.startAnimation.durationMs,
|
|
252
252
|
e.value.startAnimation.staggerMs
|
|
@@ -265,12 +265,12 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
265
265
|
componentName: "VueUiNestedDonuts",
|
|
266
266
|
type: "dataset",
|
|
267
267
|
debug: te.value
|
|
268
|
-
}), Te.value = !1,
|
|
268
|
+
}), Te.value = !1, Ie.value = !0) : Ie.value = e.value.loading, e.value.responsive) {
|
|
269
269
|
const t = ql(() => {
|
|
270
270
|
const { width: s, height: l } = jl({
|
|
271
271
|
chart: M.value,
|
|
272
|
-
title: e.value.style.chart.title.text ?
|
|
273
|
-
legend: e.value.style.chart.legend.show ?
|
|
272
|
+
title: e.value.style.chart.title.text ? Ze.value : null,
|
|
273
|
+
legend: e.value.style.chart.legend.show ? et.value : null,
|
|
274
274
|
source: tt.value,
|
|
275
275
|
noTitle: lt.value,
|
|
276
276
|
padding: vt.value
|
|
@@ -285,7 +285,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
285
285
|
Dl(() => {
|
|
286
286
|
U.value && (ee.value && U.value.unobserve(ee.value), U.value.disconnect());
|
|
287
287
|
});
|
|
288
|
-
const { isPrinting:
|
|
288
|
+
const { isPrinting: De, isImaging: Ne, generatePdf: pt, generateImage: gt } = ea({
|
|
289
289
|
elementId: `nested_donuts_${f.value}`,
|
|
290
290
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
|
|
291
291
|
options: e.value.userOptions.print
|
|
@@ -312,9 +312,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
312
312
|
const p = h({
|
|
313
313
|
width: e.value.style.chart.width,
|
|
314
314
|
height: e.value.style.chart.height
|
|
315
|
-
}),
|
|
315
|
+
}), Ve = Kt;
|
|
316
316
|
function yt({ datapoint: t, index: s, seriesIndex: l }) {
|
|
317
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l }),
|
|
317
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l }), Ve("selectDatapoint", { datapoint: t, index: s });
|
|
318
318
|
}
|
|
319
319
|
function bt({
|
|
320
320
|
from: t,
|
|
@@ -386,7 +386,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
386
386
|
id: `${f.value}_${l}_${a}`,
|
|
387
387
|
seriesIndex: a,
|
|
388
388
|
datasetIndex: l,
|
|
389
|
-
color: Rl(o.color) || ul.value[a] ||
|
|
389
|
+
color: Rl(o.color) || ul.value[a] || He[a % He.length],
|
|
390
390
|
value: W.value ? K.value[t++] ?? 0 : n,
|
|
391
391
|
absoluteValues: o.values || []
|
|
392
392
|
};
|
|
@@ -396,7 +396,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
396
396
|
fe(
|
|
397
397
|
() => I.dataset,
|
|
398
398
|
(t) => {
|
|
399
|
-
Array.isArray(t) && t.length > 0 && (
|
|
399
|
+
Array.isArray(t) && t.length > 0 && (Ie.value = !1);
|
|
400
400
|
},
|
|
401
401
|
{ immediate: !0 }
|
|
402
402
|
);
|
|
@@ -431,7 +431,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
431
431
|
m.value.push(...s);
|
|
432
432
|
}
|
|
433
433
|
function j(t) {
|
|
434
|
-
|
|
434
|
+
Ve("selectLegend", t);
|
|
435
435
|
const s = I.dataset.flatMap(
|
|
436
436
|
(i, w) => i.series.map((x, ve) => ({
|
|
437
437
|
value: Y(x.values).reduce((he, Ce) => he + Ce, 0),
|
|
@@ -512,7 +512,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
512
512
|
const l = Math.abs(t.series.map((k) => k.value).reduce((k, i) => k + i, 0)) > 0, o = B.value - s * B.value / C.value.length, a = W.value ? ue.value.find((k) => k.datasetIndex === s) : null, n = [...t.series, ...a ? [a] : []].map((k) => ({
|
|
513
513
|
...k,
|
|
514
514
|
value: k.value < 1e-11 ? Number.MIN_VALUE : k.value
|
|
515
|
-
})), d =
|
|
515
|
+
})), d = qe(
|
|
516
516
|
{
|
|
517
517
|
series: [
|
|
518
518
|
{
|
|
@@ -541,7 +541,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
541
541
|
radius: o,
|
|
542
542
|
skeleton: d,
|
|
543
543
|
fullCirclePath: c,
|
|
544
|
-
donut:
|
|
544
|
+
donut: qe(
|
|
545
545
|
{ series: n },
|
|
546
546
|
p.value.width / 2,
|
|
547
547
|
p.value.height / 2,
|
|
@@ -559,7 +559,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
559
559
|
const l = s * B.value / O.value.length;
|
|
560
560
|
return {
|
|
561
561
|
sizeRatio: l,
|
|
562
|
-
donut:
|
|
562
|
+
donut: qe(
|
|
563
563
|
{ series: [{ value: 1 }] },
|
|
564
564
|
p.value.width / 2,
|
|
565
565
|
p.value.height / 2,
|
|
@@ -757,8 +757,8 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
757
757
|
}))), s = C.value.flatMap((l) => l.series.map((o) => o.value));
|
|
758
758
|
return { head: t, body: s };
|
|
759
759
|
});
|
|
760
|
-
function
|
|
761
|
-
|
|
760
|
+
function Me(t = null) {
|
|
761
|
+
Xe(() => {
|
|
762
762
|
const s = R.value.head.map((a, n) => [
|
|
763
763
|
[a.name],
|
|
764
764
|
[R.value.body[n]],
|
|
@@ -838,7 +838,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
838
838
|
L.value.showTooltip = !L.value.showTooltip;
|
|
839
839
|
}
|
|
840
840
|
const de = h(!1);
|
|
841
|
-
function
|
|
841
|
+
function ze() {
|
|
842
842
|
de.value = !de.value;
|
|
843
843
|
}
|
|
844
844
|
async function pl({ scale: t = 2 } = {}) {
|
|
@@ -858,10 +858,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
858
858
|
aspectRatio: o
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
|
-
const
|
|
861
|
+
const Be = h(null);
|
|
862
862
|
function gl() {
|
|
863
|
-
if (!
|
|
864
|
-
const { x: t, y: s, width: l, height: o } =
|
|
863
|
+
if (!Be.value) return;
|
|
864
|
+
const { x: t, y: s, width: l, height: o } = Be.value.getBBox();
|
|
865
865
|
z.value && z.value.setAttribute(
|
|
866
866
|
"viewBox",
|
|
867
867
|
`${t} ${s} ${l + Math.min(0, t)} ${o + Math.min(0, s)}`
|
|
@@ -905,7 +905,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
905
905
|
}
|
|
906
906
|
);
|
|
907
907
|
function St() {
|
|
908
|
-
L.value.showTable = !1,
|
|
908
|
+
L.value.showTable = !1, Pe.value && Pe.value.setTableIconState(!1);
|
|
909
909
|
}
|
|
910
910
|
const yl = $(() => e.value.style.chart.backgroundColor), bl = $(() => e.value.style.chart.legend), ml = $(() => e.value.style.chart.title), wl = $(
|
|
911
911
|
() => $e.value.flat().map((t) => ({
|
|
@@ -920,7 +920,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
920
920
|
backgroundColor: yl
|
|
921
921
|
});
|
|
922
922
|
async function It({ isCb: t }) {
|
|
923
|
-
ye.value = !0, await
|
|
923
|
+
ye.value = !0, await Xe();
|
|
924
924
|
try {
|
|
925
925
|
if (t) {
|
|
926
926
|
const { blob: s, url: l, text: o, dataUrl: a } = await $l();
|
|
@@ -950,7 +950,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
950
950
|
gt();
|
|
951
951
|
}
|
|
952
952
|
async function Ot() {
|
|
953
|
-
if (
|
|
953
|
+
if (Ve("copyAlt", {
|
|
954
954
|
config: e.value,
|
|
955
955
|
dataset: C.value
|
|
956
956
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
@@ -968,10 +968,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
968
968
|
}
|
|
969
969
|
const F = $(() => J.value.flatMap((t) => t.donut.filter((s) => !s.ghost)));
|
|
970
970
|
function Al() {
|
|
971
|
-
N.value = null,
|
|
971
|
+
N.value = null, Se.value = !0;
|
|
972
972
|
}
|
|
973
973
|
function Ll() {
|
|
974
|
-
N.value = null, ie.value = "pointer", se.value = !1, we.value = null, ne.value = null, le.value = null, Q.value = null,
|
|
974
|
+
N.value = null, ie.value = "pointer", se.value = !1, we.value = null, ne.value = null, le.value = null, Q.value = null, Se.value = !1;
|
|
975
975
|
}
|
|
976
976
|
function xl(t) {
|
|
977
977
|
if (!z.value || de.value || document.activeElement !== z.value || !F.value.length) return;
|
|
@@ -1011,7 +1011,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1011
1011
|
y: t.top + t.height / 2
|
|
1012
1012
|
};
|
|
1013
1013
|
}
|
|
1014
|
-
const
|
|
1014
|
+
const Ee = $(() => {
|
|
1015
1015
|
const t = ae.value?.colNames ?? [], s = ae.value?.a11yBody ?? [];
|
|
1016
1016
|
return { headers: t, rows: s };
|
|
1017
1017
|
});
|
|
@@ -1020,7 +1020,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1020
1020
|
getData: fl,
|
|
1021
1021
|
getImage: pl,
|
|
1022
1022
|
generatePdf: pt,
|
|
1023
|
-
generateCsv:
|
|
1023
|
+
generateCsv: Me,
|
|
1024
1024
|
generateImage: gt,
|
|
1025
1025
|
generateSvg: It,
|
|
1026
1026
|
hideSeries: cl,
|
|
@@ -1028,7 +1028,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1028
1028
|
toggleTable: Tt,
|
|
1029
1029
|
toggleLabels: _t,
|
|
1030
1030
|
toggleTooltip: Pt,
|
|
1031
|
-
toggleAnnotator:
|
|
1031
|
+
toggleAnnotator: ze,
|
|
1032
1032
|
toggleFullscreen: rt,
|
|
1033
1033
|
copyAlt: Ot
|
|
1034
1034
|
}), (t, s) => (u(), r("div", {
|
|
@@ -1046,11 +1046,11 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1046
1046
|
}, [
|
|
1047
1047
|
g("p", null, E(e.value.a11y.translations.keyboardNavigation), 1)
|
|
1048
1048
|
], 8, ha),
|
|
1049
|
-
|
|
1049
|
+
Ee.value?.rows?.length ? (u(), V(ia, {
|
|
1050
1050
|
key: 0,
|
|
1051
1051
|
uid: f.value,
|
|
1052
|
-
head:
|
|
1053
|
-
body:
|
|
1052
|
+
head: Ee.value.headers,
|
|
1053
|
+
body: Ee.value.rows,
|
|
1054
1054
|
notice: e.value.a11y.translations.tableAvailable,
|
|
1055
1055
|
caption: e.value.a11y.translations.tableCaption
|
|
1056
1056
|
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : A("", !0),
|
|
@@ -1061,7 +1061,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1061
1061
|
color: e.value.style.chart.color,
|
|
1062
1062
|
active: de.value,
|
|
1063
1063
|
isCursorPointer: H.value,
|
|
1064
|
-
onClose:
|
|
1064
|
+
onClose: ze
|
|
1065
1065
|
}, {
|
|
1066
1066
|
"annotator-action-close": y(() => [
|
|
1067
1067
|
b(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
@@ -1093,7 +1093,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1093
1093
|
e.value.style.chart.title.text ? (u(), r("div", {
|
|
1094
1094
|
key: 3,
|
|
1095
1095
|
ref_key: "chartTitle",
|
|
1096
|
-
ref:
|
|
1096
|
+
ref: Ze
|
|
1097
1097
|
}, [
|
|
1098
1098
|
(u(), V(na, {
|
|
1099
1099
|
key: `title_${at.value}`,
|
|
@@ -1112,14 +1112,14 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1112
1112
|
g("div", {
|
|
1113
1113
|
id: `legend-top-${f.value}`
|
|
1114
1114
|
}, null, 8, fa),
|
|
1115
|
-
e.value.userOptions.show && Te.value && (v(ct) || v(
|
|
1115
|
+
e.value.userOptions.show && Te.value && (v(ct) || v(Oe)) ? (u(), V(v(Jt), {
|
|
1116
1116
|
ref_key: "userOptionsRef",
|
|
1117
|
-
ref:
|
|
1118
|
-
key: `user_option_${
|
|
1117
|
+
ref: Pe,
|
|
1118
|
+
key: `user_option_${Qe.value}`,
|
|
1119
1119
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1120
1120
|
color: e.value.style.chart.color,
|
|
1121
|
-
isPrinting: v(
|
|
1122
|
-
isImaging: v(
|
|
1121
|
+
isPrinting: v(De),
|
|
1122
|
+
isImaging: v(Ne),
|
|
1123
1123
|
uid: f.value,
|
|
1124
1124
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
1125
1125
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -1143,16 +1143,16 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1143
1143
|
isCursorPointer: H.value,
|
|
1144
1144
|
onToggleFullscreen: rt,
|
|
1145
1145
|
onGeneratePdf: v(pt),
|
|
1146
|
-
onGenerateCsv:
|
|
1146
|
+
onGenerateCsv: Me,
|
|
1147
1147
|
onGenerateImage: Cl,
|
|
1148
1148
|
onGenerateSvg: It,
|
|
1149
1149
|
onToggleTable: Tt,
|
|
1150
1150
|
onToggleLabels: _t,
|
|
1151
1151
|
onToggleTooltip: Pt,
|
|
1152
|
-
onToggleAnnotator:
|
|
1152
|
+
onToggleAnnotator: ze,
|
|
1153
1153
|
onCopyAlt: Ot,
|
|
1154
1154
|
style: pe({
|
|
1155
|
-
visibility: v(ct) ? v(
|
|
1155
|
+
visibility: v(ct) ? v(Oe) ? "visible" : "hidden" : "visible"
|
|
1156
1156
|
})
|
|
1157
1157
|
}, Dt({ _: 2 }, [
|
|
1158
1158
|
t.$slots.menuIcon ? {
|
|
@@ -1253,10 +1253,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1253
1253
|
}, [
|
|
1254
1254
|
g("g", {
|
|
1255
1255
|
ref_key: "G",
|
|
1256
|
-
ref:
|
|
1256
|
+
ref: Be,
|
|
1257
1257
|
class: "vue-data-ui-g"
|
|
1258
1258
|
}, [
|
|
1259
|
-
|
|
1259
|
+
Ke(v(Zt)),
|
|
1260
1260
|
t.$slots["chart-background"] ? (u(), r("foreignObject", {
|
|
1261
1261
|
key: 0,
|
|
1262
1262
|
x: 0,
|
|
@@ -1525,7 +1525,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1525
1525
|
b(t.$slots, "svg", {
|
|
1526
1526
|
svg: {
|
|
1527
1527
|
...p.value,
|
|
1528
|
-
isPrintingImg: v(
|
|
1528
|
+
isPrintingImg: v(De) | v(Ne) | ge.value,
|
|
1529
1529
|
isPrintingSvg: ye.value
|
|
1530
1530
|
}
|
|
1531
1531
|
}, void 0, !0)
|
|
@@ -1534,16 +1534,16 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1534
1534
|
t.$slots.hint ? (u(), r("div", Ba, [
|
|
1535
1535
|
b(t.$slots, "hint", P(S({
|
|
1536
1536
|
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1537
|
-
isVisible:
|
|
1537
|
+
isVisible: Se.value
|
|
1538
1538
|
})), void 0, !0)
|
|
1539
1539
|
])) : A("", !0)
|
|
1540
1540
|
]),
|
|
1541
1541
|
t.$slots.watermark ? (u(), r("div", Ea, [
|
|
1542
1542
|
b(t.$slots, "watermark", P(S({
|
|
1543
|
-
isPrinting: v(
|
|
1543
|
+
isPrinting: v(De) || v(Ne) || ge.value || ye.value
|
|
1544
1544
|
})), void 0, !0)
|
|
1545
1545
|
])) : A("", !0),
|
|
1546
|
-
|
|
1546
|
+
Ke(v(Xt), {
|
|
1547
1547
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1548
1548
|
show: L.value.showTooltip && se.value,
|
|
1549
1549
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1580,65 +1580,62 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1580
1580
|
g("div", {
|
|
1581
1581
|
id: `legend-bottom-${f.value}`
|
|
1582
1582
|
}, null, 8, Ua),
|
|
1583
|
-
nt.value ? (u(), V(Nl, {
|
|
1583
|
+
nt.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (u(), V(Nl, {
|
|
1584
1584
|
key: 6,
|
|
1585
1585
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
|
|
1586
1586
|
}, [
|
|
1587
1587
|
e.value.style.chart.legend.show ? (u(), r("div", {
|
|
1588
1588
|
key: 0,
|
|
1589
1589
|
ref_key: "chartLegend",
|
|
1590
|
-
ref:
|
|
1590
|
+
ref: et,
|
|
1591
1591
|
class: Z({
|
|
1592
1592
|
"vue-ui-nested-donuts-legend": $e.value.length > 1
|
|
1593
1593
|
})
|
|
1594
1594
|
}, [
|
|
1595
|
-
(
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1595
|
+
b(t.$slots, "legend", { legend: $e.value }, () => [
|
|
1596
|
+
(u(!0), r(T, null, _($e.value, (l, o) => (u(), V(ra, {
|
|
1597
|
+
key: `legend_${o}_${st.value}`,
|
|
1598
|
+
legendSet: l,
|
|
1599
|
+
config: hl.value,
|
|
1600
|
+
isCursorPointer: H.value,
|
|
1601
|
+
onClickMarker: s[0] || (s[0] = ({ legend: a }) => j(a))
|
|
1602
|
+
}, {
|
|
1603
|
+
legendTitle: y(({ titleSet: a }) => [
|
|
1604
|
+
a[0] && a[0].arcOf ? (u(), r("div", Ra, E(a[0].arcOf), 1)) : A("", !0)
|
|
1605
|
+
]),
|
|
1606
|
+
item: y(({ legend: a, index: n }) => [
|
|
1607
|
+
g("div", {
|
|
1608
|
+
onClick: (d) => j(a),
|
|
1609
|
+
style: pe(`opacity:${m.value.includes(a.id) ? 0.5 : 1}`)
|
|
1610
|
+
}, E(a.display), 13, Ga)
|
|
1611
|
+
]),
|
|
1612
|
+
legendToggle: y(() => [
|
|
1613
|
+
l.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !v(be) ? (u(), V(da, {
|
|
1614
|
+
key: `toggle-${o}`,
|
|
1615
|
+
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1616
|
+
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1617
|
+
fontSize: e.value.style.chart.legend.fontSize,
|
|
1618
|
+
checked: l.some(
|
|
1619
|
+
(a) => m.value.includes(a.id)
|
|
1620
|
+
),
|
|
1621
|
+
isCursorPointer: H.value,
|
|
1622
|
+
onToggle: (a) => il(l)
|
|
1623
|
+
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer", "onToggle"])) : A("", !0)
|
|
1624
|
+
]),
|
|
1625
|
+
_: 2
|
|
1626
|
+
}, 1032, ["legendSet", "config", "isCursorPointer"]))), 128))
|
|
1627
|
+
], !0)
|
|
1624
1628
|
], 2)) : A("", !0)
|
|
1625
1629
|
], 8, ["to"])) : A("", !0),
|
|
1626
|
-
e.value.style.chart.legend.show ? A("", !0) : (u(), r("div", {
|
|
1627
|
-
key: 7,
|
|
1628
|
-
ref_key: "chartLegend",
|
|
1629
|
-
ref: Pe
|
|
1630
|
-
}, [
|
|
1631
|
-
b(t.$slots, "legend", { legend: $e.value }, void 0, !0)
|
|
1632
|
-
], 512)),
|
|
1633
1630
|
t.$slots.source ? (u(), r("div", {
|
|
1634
|
-
key:
|
|
1631
|
+
key: 7,
|
|
1635
1632
|
ref_key: "source",
|
|
1636
1633
|
ref: tt,
|
|
1637
1634
|
dir: "auto"
|
|
1638
1635
|
}, [
|
|
1639
1636
|
b(t.$slots, "source", {}, void 0, !0)
|
|
1640
1637
|
], 512)) : A("", !0),
|
|
1641
|
-
Te.value && e.value.userOptions.buttons.table ? (u(), V(Vl(ce.value.component), Ml({ key:
|
|
1638
|
+
Te.value && e.value.userOptions.buttons.table ? (u(), V(Vl(ce.value.component), Ml({ key: 8 }, ce.value.props, {
|
|
1642
1639
|
ref_key: "tableUnit",
|
|
1643
1640
|
ref: re,
|
|
1644
1641
|
onClose: St
|
|
@@ -1682,10 +1679,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1682
1679
|
g("button", {
|
|
1683
1680
|
tabindex: "0",
|
|
1684
1681
|
class: "vue-ui-user-options-button",
|
|
1685
|
-
onClick: s[1] || (s[1] = (l) =>
|
|
1682
|
+
onClick: s[1] || (s[1] = (l) => Me(e.value.userOptions.callbacks.csv)),
|
|
1686
1683
|
style: pe({ cursor: H.value ? "pointer" : "default" })
|
|
1687
1684
|
}, [
|
|
1688
|
-
|
|
1685
|
+
Ke(v(Ht), {
|
|
1689
1686
|
name: "fileCsv",
|
|
1690
1687
|
stroke: ce.value.props.color
|
|
1691
1688
|
}, null, 8, ["stroke"])
|
|
@@ -1699,7 +1696,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
|
|
|
1699
1696
|
], !0)
|
|
1700
1697
|
], 46, va));
|
|
1701
1698
|
}
|
|
1702
|
-
}, vo = /* @__PURE__ */ ca(Wa, [["__scopeId", "data-v-
|
|
1699
|
+
}, vo = /* @__PURE__ */ ca(Wa, [["__scopeId", "data-v-7f94932f"]]);
|
|
1703
1700
|
export {
|
|
1704
1701
|
vo as default
|
|
1705
1702
|
};
|