vue-data-ui 3.4.7 → 3.4.9
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-QNVkHOgG.js → PackageVersion-CTUqGqWV.js} +1 -1
- package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
- 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-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-dashboard.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-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-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-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.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-BFwmY6si.js → vue-data-ui-DjxWWa78.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CLE7f9pl.js} +49 -42
- package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-D73uIOPm.js} +12 -5
- package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-Bybo0xK2.js} +59 -52
- package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-D_FyMdqH.js} +56 -49
- package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BvMlNdVo.js} +79 -72
- package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-DA0g0bDV.js} +77 -70
- package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-CDgzolI-.js} +71 -64
- package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-BPDm-ro5.js} +58 -51
- package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-CeJwbiON.js} +56 -56
- package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-DjQXHBJE.js} +95 -88
- package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-Ca3Svr0B.js} +80 -73
- package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-CxCE2luV.js} +12 -5
- package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-DEvwXd4W.js} +205 -198
- package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-Bgcx7xia.js} +98 -91
- package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-BWr1EMob.js} +140 -133
- package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-DQricvo2.js} +108 -101
- package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-C-fKe3io.js} +1 -1
- package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-B-o_i7Hu.js} +97 -90
- package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-DzQ9DPUJ.js} +41 -34
- package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-I2OhrCR2.js} +94 -87
- package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-BAT7kZUy.js} +71 -64
- package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-CjhJDAQi.js} +93 -86
- package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-DTY2p87s.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-C8aWTcNn.js} +116 -109
- package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-DGnasrCR.js} +46 -39
- package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-Cam_sWet.js} +171 -164
- package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-DNI9WI2R.js} +36 -29
- package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-Dj1jhcsl.js} +100 -93
- package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-adIls6bj.js} +23 -16
- package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-CnTMFK6R.js} +55 -48
- package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-fzR2c0St.js} +189 -182
- package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-DUdI2uOO.js} +1 -1
- package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DxpRfUJz.js} +1 -1
- package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-B44oER5n.js} +1 -1
- package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-ix12NZ7M.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-Cs-QDYBR.js} +1 -1
- package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-Cb8ZmyUq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-BiRZ51OU.js} +1 -1
- package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-DubS6Pg8.js} +55 -47
- package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-BjG-Jxnb.js} +13 -6
- package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-DdBdLrAL.js} +2 -2
- package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
- package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-EpCo2Be5.js} +1 -1
- package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-DTnfnf9z.js} +83 -76
- package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-Br3wp8hG.js} +1 -1
- package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-CrC_tlIx.js} +43 -36
- package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-kyuyi2ES.js} +114 -107
- package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-yfbEfLqy.js} +89 -82
- package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-m-9sqQik.js} +41 -34
- package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel-BasM7FWt.js} +132 -125
- package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-vNwswYZD.js} +116 -109
- package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BsCNyZy_.js} +71 -64
- package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-CIrw1lWQ.js} +163 -156
- package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as E, ref as i, shallowRef as
|
|
2
|
-
import { c as wt, o as Ct, f as ie, g as fl, t as bl, b as ml, p as ce, O as _t, e as
|
|
1
|
+
import { defineAsyncComponent as E, ref as i, shallowRef as pt, computed as y, onMounted as il, toRefs as cl, nextTick as Ie, watch as re, watchEffect as vl, onBeforeUnmount as dl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as K, normalizeClass as N, createBlock as T, createCommentVNode as v, createElementVNode as b, createSlots as xt, withCtx as x, renderSlot as A, normalizeProps as Z, guardReactiveProps as ee, createVNode as kt, Fragment as $, renderList as z, toDisplayString as k, Teleport as hl, resolveDynamicComponent as yl, mergeProps as gl, createTextVNode as Oe } from "vue";
|
|
2
|
+
import { c as wt, o as Ct, f as ie, g as fl, t as bl, b as ml, p as ce, O as _t, e as pl, h as Te, a1 as xl, m as Lt, T as De, a as Ne, d as ve, X as kl, s as te, a2 as wl, M as Cl, V as _l, W as Ll, Y as At, P as Al, Q as Sl, a3 as St, a4 as $l } from "./lib-C_mNZmhD.js";
|
|
3
3
|
import { t as $t, u as zl } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Il, a as zt } from "./useNestedProp-BjZe1Y85.js";
|
|
5
5
|
import { u as Ol } from "./usePrinter-DTzqpYKF.js";
|
|
@@ -15,7 +15,7 @@ import { t as Ml } from "./themes-AUNCOb2G.js";
|
|
|
15
15
|
import Hl from "./Legend-G6GMcdAc.js";
|
|
16
16
|
import { S as Ul } from "./Slicer-D2wm0coO.js";
|
|
17
17
|
import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "width", "height"], ql = ["id"], Ql = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["stop-color"], la = { key: 1 }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = { key: 0 }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["font-size", "fill", "transform"], ra = ["x", "y", "font-size", "fill"], ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["x", "y", "font-size", "fill", "font-weight"], va = { key: 0 }, da = ["text-anchor", "font-size", "fill", "transform"], ha = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ga = { key: 1 }, fa = ["cx", "cy", "r", "fill"], ba = { key: 0 }, ma = { key: 0 },
|
|
18
|
+
const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "width", "height"], ql = ["id"], Ql = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["stop-color"], la = { key: 1 }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = { key: 0 }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["font-size", "fill", "transform"], ra = ["x", "y", "font-size", "fill"], ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["x", "y", "font-size", "fill", "font-weight"], va = { key: 0 }, da = ["text-anchor", "font-size", "fill", "transform"], ha = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ga = { key: 1 }, fa = ["cx", "cy", "r", "fill"], ba = { key: 0 }, ma = { key: 0 }, pa = ["d", "stroke"], xa = ["text-anchor", "x", "y", "fill"], ka = ["cx", "cy", "r", "fill"], wa = { key: 0 }, Ca = ["cx", "cy", "fill"], _a = { key: 1 }, La = ["d", "fill", "stroke"], Aa = { key: 2 }, Sa = ["d", "fill", "stroke"], $a = ["x", "y", "font-size", "fill"], za = ["x", "y", "width", "height", "fill"], Ia = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Oa = {
|
|
19
19
|
key: 4,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, Ta = ["id"], Da = ["onClick"], Na = { key: 0 }, Pa = { key: 1 }, Ra = {
|
|
@@ -36,7 +36,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend"],
|
|
38
38
|
setup(It, { expose: Ot, emit: Tt }) {
|
|
39
|
-
const Dt = E(() => import("./vue-ui-accordion-CZ0thhxa.js")), Nt = E(() => import("./BaseIcon-BmMbm4d0.js")), Pt = E(() => import("./DataTable-BT7VF2ua.js")), Rt = E(() => import("./PackageVersion-
|
|
39
|
+
const Dt = E(() => import("./vue-ui-accordion-CZ0thhxa.js")), Nt = E(() => import("./BaseIcon-BmMbm4d0.js")), Pt = E(() => import("./DataTable-BT7VF2ua.js")), Rt = E(() => import("./PackageVersion-CTUqGqWV.js")), Ft = E(() => import("./PenAndPaper-DSvu9dwa.js")), Et = E(() => import("./UserOptions-CGnQt6Fd.js")), Vt = E(() => import("./vue-ui-donut-DjQXHBJE.js")), Pe = E(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_donut_evolution: Bt } = Il(), m = It, D = i(wt()), C = i([]), f = i(null), le = i(null), de = i(!1), V = i(null), P = i(null), Mt = i(null), Re = i(0), Fe = i(0), Ee = i(0), Ve = i(0), Be = i(0), he = i(null), ae = i(null), ye = i(null), ge = i(null), Me = i(!1), Y = i(null), fe = i(null), He = i(null), Ue = i(null), Xe = i(null), We = i(null), Ge = i(null), be = i(!1), j = pt(null), oe = pt(null), Ye = i(null), je = Tt, qe = y(() => !!m.dataset && m.dataset.length);
|
|
40
40
|
il(() => {
|
|
41
41
|
Me.value = !0, Qe();
|
|
42
42
|
});
|
|
@@ -61,7 +61,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
61
61
|
});
|
|
62
62
|
}), Ct(m.dataset) || (se.value = e.value.loading), setTimeout(() => {
|
|
63
63
|
be.value = !0;
|
|
64
|
-
}, 10),
|
|
64
|
+
}, 10), pe(), e.value.responsive) {
|
|
65
65
|
const t = $t(() => {
|
|
66
66
|
be.value = !1;
|
|
67
67
|
const { width: a, height: l } = zl({
|
|
@@ -86,7 +86,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
86
86
|
prepareConfig: we,
|
|
87
87
|
callback: () => {
|
|
88
88
|
Promise.resolve().then(async () => {
|
|
89
|
-
await
|
|
89
|
+
await pe();
|
|
90
90
|
});
|
|
91
91
|
},
|
|
92
92
|
skeletonDataset: [
|
|
@@ -156,9 +156,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
156
156
|
end: Ke.value
|
|
157
157
|
});
|
|
158
158
|
function Ze() {
|
|
159
|
-
|
|
159
|
+
pe();
|
|
160
160
|
}
|
|
161
|
-
async function
|
|
161
|
+
async function pe() {
|
|
162
162
|
await Ie(), await Ie();
|
|
163
163
|
const { startIndex: t, endIndex: a } = e.value.style.chart.zoom, l = We.value;
|
|
164
164
|
h.value = { start: 0, max: I.value }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (h.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue(Ht(a + 1)) : (h.value.end = I.value, l.setEndValue(I.value))) : (h.value = {
|
|
@@ -170,7 +170,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
170
170
|
const a = I.value;
|
|
171
171
|
return t > a ? a : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
|
|
172
172
|
}
|
|
173
|
-
const { userOptionsVisible:
|
|
173
|
+
const { userOptionsVisible: xe, setUserOptionsVisibility: et, keepUserOptionState: tt } = Rl({ config: e.value }), { svgRef: ke } = Fl({ config: e.value.style.chart.title });
|
|
174
174
|
function we() {
|
|
175
175
|
const t = zt({
|
|
176
176
|
userConfig: m.config,
|
|
@@ -186,7 +186,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
186
186
|
} : a = t, m.config && _t(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && _t(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
|
|
187
187
|
}
|
|
188
188
|
re(() => m.config, (t) => {
|
|
189
|
-
Je.value || (e.value = we()),
|
|
189
|
+
Je.value || (e.value = we()), xe.value = !e.value.userOptions.showOnChartHover, Qe(), Ee.value += 1, Ve.value += 1, Be.value += 1, B.value.showTable = e.value.table.show;
|
|
190
190
|
}, { deep: !0 }), re(() => m.dataset, (t) => {
|
|
191
191
|
Array.isArray(t) && t.length > 0 && (se.value = !1), Ze();
|
|
192
192
|
}, { deep: !0 });
|
|
@@ -194,7 +194,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
194
194
|
elementId: D.value,
|
|
195
195
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
|
|
196
196
|
options: e.value.userOptions.print
|
|
197
|
-
}), Ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xt = y(() =>
|
|
197
|
+
}), Ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xt = y(() => pl(e.value.customPalette)), B = i({
|
|
198
198
|
showTable: e.value.table.show
|
|
199
199
|
});
|
|
200
200
|
re(e, () => {
|
|
@@ -236,7 +236,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
236
236
|
let a = 0;
|
|
237
237
|
return ae.value && (a = Ce.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
|
|
238
238
|
}), r = y(() => {
|
|
239
|
-
const t = Wt(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = U.value.width, s = U.value.height, o = M.value.left + t, g = l - M.value.right, d = l - o - M.value.right,
|
|
239
|
+
const t = Wt(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = U.value.width, s = U.value.height, o = M.value.left + t, g = l - M.value.right, d = l - o - M.value.right, p = s - M.value.top - M.value.bottom - a - st.value, G = M.value.top + a, F = s - M.value.bottom - st.value;
|
|
240
240
|
return {
|
|
241
241
|
top: G,
|
|
242
242
|
left: o,
|
|
@@ -245,9 +245,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
245
245
|
absoluteHeight: s,
|
|
246
246
|
absoluteWidth: l,
|
|
247
247
|
centerX: o + Math.max(10, d) / 2,
|
|
248
|
-
centerY: G + Math.max(10,
|
|
248
|
+
centerY: G + Math.max(10, p) / 2,
|
|
249
249
|
width: Math.max(10, d),
|
|
250
|
-
height: Math.max(10,
|
|
250
|
+
height: Math.max(10, p)
|
|
251
251
|
};
|
|
252
252
|
}), R = y(() => (me.value.forEach((t, a) => {
|
|
253
253
|
[null, void 0].includes(t.name) && ie({
|
|
@@ -265,7 +265,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
265
265
|
});
|
|
266
266
|
}), me.value.map((t, a) => ({
|
|
267
267
|
...t,
|
|
268
|
-
values:
|
|
268
|
+
values: xl(t.values),
|
|
269
269
|
color: Te(t.color) || Xt.value[a] || ce[a] || ce[a % ce.length],
|
|
270
270
|
length: (t.values || []).length,
|
|
271
271
|
uid: wt()
|
|
@@ -281,43 +281,43 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
281
281
|
})), w = y(() => r.value.width / (h.value.end - h.value.start)), L = y(() => {
|
|
282
282
|
const t = [];
|
|
283
283
|
for (let o = 0; o < h.value.end - h.value.start; o += 1) {
|
|
284
|
-
const g = q.value.map((O) => O.values[o] ?? null), d = g.filter((O) => [void 0, null].includes(O)).length === g.length,
|
|
284
|
+
const g = q.value.map((O) => O.values[o] ?? null), d = g.filter((O) => [void 0, null].includes(O)).length === g.length, p = g.reduce((O, S) => O + S, 0), G = g.map((O) => O / p), F = r.value.left + w.value * o + w.value / 2;
|
|
285
285
|
t.push({
|
|
286
286
|
index: o,
|
|
287
287
|
percentages: G,
|
|
288
|
-
subtotal: d ||
|
|
288
|
+
subtotal: d || p < 0 ? null : p,
|
|
289
289
|
values: g,
|
|
290
290
|
x: F
|
|
291
291
|
});
|
|
292
292
|
}
|
|
293
293
|
const a = 0, l = Math.max(...t.map((o) => o.subtotal)), s = t.length === 1 ? l * 2 : l;
|
|
294
294
|
return t.map((o, g) => {
|
|
295
|
-
const d = Math.min(r.value.width / 24, w.value / 2 * 0.7),
|
|
295
|
+
const d = Math.min(r.value.width / 24, w.value / 2 * 0.7), p = d > r.value.width / 16 ? r.value.width / 16 : d, G = f.value === o.index ? r.value.width / 16 : p, F = t.length > 4 ? d * 2 : d * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : d * 2, O = r.value.bottom - r.value.height * o.subtotal / Lt(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
296
296
|
return {
|
|
297
297
|
...o,
|
|
298
298
|
y: O,
|
|
299
|
-
radius:
|
|
299
|
+
radius: p,
|
|
300
300
|
activeRadius: G,
|
|
301
301
|
hoverRadius: F,
|
|
302
302
|
donut: De({
|
|
303
|
-
series: q.value.map((
|
|
304
|
-
color:
|
|
305
|
-
name:
|
|
306
|
-
value:
|
|
303
|
+
series: q.value.map((S, mt) => ({
|
|
304
|
+
color: S.color,
|
|
305
|
+
name: S.name,
|
|
306
|
+
value: S.values[g] ?? 0
|
|
307
307
|
}))
|
|
308
|
-
}, o.x, O,
|
|
308
|
+
}, o.x, O, p, p, 1.99999, 2, 1, 360, 105.25, p / 2),
|
|
309
309
|
donutHover: De({
|
|
310
|
-
series: q.value.map((
|
|
311
|
-
color:
|
|
312
|
-
name:
|
|
313
|
-
value:
|
|
310
|
+
series: q.value.map((S, mt) => ({
|
|
311
|
+
color: S.color,
|
|
312
|
+
name: S.name,
|
|
313
|
+
value: S.values[g] ?? 0
|
|
314
314
|
}))
|
|
315
315
|
}, o.x, O, F, F, 1.99999, 2, 1, 360, 105.25, F / 2),
|
|
316
316
|
donutFocus: De({
|
|
317
|
-
series: q.value.map((
|
|
318
|
-
color:
|
|
319
|
-
name:
|
|
320
|
-
value:
|
|
317
|
+
series: q.value.map((S, mt) => ({
|
|
318
|
+
color: S.color,
|
|
319
|
+
name: S.name,
|
|
320
|
+
value: S.values[g] ?? 0
|
|
321
321
|
}))
|
|
322
322
|
}, r.value.centerX, r.value.centerY, r.value.height / 3.6, r.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, r.value.height / 6)
|
|
323
323
|
};
|
|
@@ -413,7 +413,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
413
413
|
}))).concat(["Σ"]);
|
|
414
414
|
let a = [];
|
|
415
415
|
for (let o = 0; o < I.value; o += 1) {
|
|
416
|
-
const g = R.value.filter((d) => !C.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d,
|
|
416
|
+
const g = R.value.filter((d) => !C.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, p) => d + p, 0);
|
|
417
417
|
a.push([_.value[o] ? _.value[o].text : "-"].concat(R.value.filter((d) => !C.value.includes(d.uid)).map((d) => ({
|
|
418
418
|
value: d.values[o] ?? 0,
|
|
419
419
|
percentage: d.values[o] ? d.values[o] / g * 100 : 0
|
|
@@ -441,7 +441,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
441
441
|
}
|
|
442
442
|
function Se(t = null) {
|
|
443
443
|
Ie(() => {
|
|
444
|
-
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((d) => d.name ?? d)], s = [...W.value.body.map((d) => d.map((
|
|
444
|
+
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((d) => d.name ?? d)], s = [...W.value.body.map((d) => d.map((p) => p.value ?? p))], o = a.concat([l]).concat(s), g = Al(o);
|
|
445
445
|
t ? t(g) : Sl({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
446
446
|
});
|
|
447
447
|
}
|
|
@@ -607,7 +607,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
607
607
|
b("div", {
|
|
608
608
|
id: `legend-top-${D.value}`
|
|
609
609
|
}, null, 8, Gl),
|
|
610
|
-
e.value.userOptions.show && qe.value && (c(tt) || c(
|
|
610
|
+
e.value.userOptions.show && qe.value && (c(tt) || c(xe)) ? (u(), T(c(Et), {
|
|
611
611
|
ref_key: "userOptionsRef",
|
|
612
612
|
ref: fe,
|
|
613
613
|
key: `user_options_${Re.value}`,
|
|
@@ -639,57 +639,64 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
639
639
|
onToggleTable: dt,
|
|
640
640
|
onToggleAnnotator: $e,
|
|
641
641
|
style: K({
|
|
642
|
-
visibility: c(tt) ? c(
|
|
642
|
+
visibility: c(tt) ? c(xe) ? "visible" : "hidden" : "visible"
|
|
643
643
|
})
|
|
644
|
-
},
|
|
644
|
+
}, xt({ _: 2 }, [
|
|
645
645
|
t.$slots.menuIcon ? {
|
|
646
646
|
name: "menuIcon",
|
|
647
|
-
fn:
|
|
648
|
-
|
|
647
|
+
fn: x(({ isOpen: l, color: s }) => [
|
|
648
|
+
A(t.$slots, "menuIcon", Z(ee({ isOpen: l, color: s })), void 0, !0)
|
|
649
649
|
]),
|
|
650
650
|
key: "0"
|
|
651
651
|
} : void 0,
|
|
652
652
|
t.$slots.optionPdf ? {
|
|
653
653
|
name: "optionPdf",
|
|
654
|
-
fn:
|
|
655
|
-
|
|
654
|
+
fn: x(() => [
|
|
655
|
+
A(t.$slots, "optionPdf", {}, void 0, !0)
|
|
656
656
|
]),
|
|
657
657
|
key: "1"
|
|
658
658
|
} : void 0,
|
|
659
659
|
t.$slots.optionCsv ? {
|
|
660
660
|
name: "optionCsv",
|
|
661
|
-
fn:
|
|
662
|
-
|
|
661
|
+
fn: x(() => [
|
|
662
|
+
A(t.$slots, "optionCsv", {}, void 0, !0)
|
|
663
663
|
]),
|
|
664
664
|
key: "2"
|
|
665
665
|
} : void 0,
|
|
666
666
|
t.$slots.optionImg ? {
|
|
667
667
|
name: "optionImg",
|
|
668
|
-
fn:
|
|
669
|
-
|
|
668
|
+
fn: x(() => [
|
|
669
|
+
A(t.$slots, "optionImg", {}, void 0, !0)
|
|
670
670
|
]),
|
|
671
671
|
key: "3"
|
|
672
672
|
} : void 0,
|
|
673
|
+
t.$slots.optionSvg ? {
|
|
674
|
+
name: "optionSvg",
|
|
675
|
+
fn: x(() => [
|
|
676
|
+
A(t.$slots, "optionSvg", {}, void 0, !0)
|
|
677
|
+
]),
|
|
678
|
+
key: "4"
|
|
679
|
+
} : void 0,
|
|
673
680
|
t.$slots.optionTable ? {
|
|
674
681
|
name: "optionTable",
|
|
675
|
-
fn:
|
|
676
|
-
|
|
682
|
+
fn: x(() => [
|
|
683
|
+
A(t.$slots, "optionTable", {}, void 0, !0)
|
|
677
684
|
]),
|
|
678
|
-
key: "
|
|
685
|
+
key: "5"
|
|
679
686
|
} : void 0,
|
|
680
687
|
t.$slots.optionFullscreen ? {
|
|
681
688
|
name: "optionFullscreen",
|
|
682
|
-
fn:
|
|
683
|
-
|
|
689
|
+
fn: x(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
690
|
+
A(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
684
691
|
]),
|
|
685
|
-
key: "
|
|
692
|
+
key: "6"
|
|
686
693
|
} : void 0,
|
|
687
694
|
t.$slots.optionAnnotator ? {
|
|
688
695
|
name: "optionAnnotator",
|
|
689
|
-
fn:
|
|
690
|
-
|
|
696
|
+
fn: x(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
697
|
+
A(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
691
698
|
]),
|
|
692
|
-
key: "
|
|
699
|
+
key: "7"
|
|
693
700
|
} : void 0
|
|
694
701
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
695
702
|
(u(), n("svg", {
|
|
@@ -711,7 +718,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
711
718
|
pointerEvents: "none"
|
|
712
719
|
}
|
|
713
720
|
}, [
|
|
714
|
-
|
|
721
|
+
A(t.$slots, "chart-background", {}, void 0, !0)
|
|
715
722
|
], 8, jl)) : v("", !0),
|
|
716
723
|
b("defs", null, [
|
|
717
724
|
b("linearGradient", {
|
|
@@ -908,7 +915,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
908
915
|
"stroke-linecap": "round",
|
|
909
916
|
"stroke-linejoin": "round",
|
|
910
917
|
fill: "none"
|
|
911
|
-
}, null, 8,
|
|
918
|
+
}, null, 8, pa)) : v("", !0)
|
|
912
919
|
]))), 256)),
|
|
913
920
|
(u(!0), n($, null, z(l.donutHover, (o, g) => (u(), n("g", null, [
|
|
914
921
|
ht(o) ? (u(), n("text", {
|
|
@@ -920,7 +927,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
920
927
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
921
928
|
"font-size": 8,
|
|
922
929
|
"font-weight": "bold"
|
|
923
|
-
}, k(o.name) + ": " + k(qt(o, l.donut)) + " (" + k(o.value === null ? "-" : nt(o.value, o, g)) + ") ", 9,
|
|
930
|
+
}, k(o.name) + ": " + k(qt(o, l.donut)) + " (" + k(o.value === null ? "-" : nt(o.value, o, g)) + ") ", 9, xa)) : v("", !0)
|
|
924
931
|
]))), 256)),
|
|
925
932
|
b("g", null, [
|
|
926
933
|
b("circle", {
|
|
@@ -996,10 +1003,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
996
1003
|
onClick: (o) => it(l, s),
|
|
997
1004
|
class: N({ "donut-hover": f.value === l.index && l.subtotal })
|
|
998
1005
|
}, null, 42, Ia))), 256)),
|
|
999
|
-
|
|
1006
|
+
A(t.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1000
1007
|
], 14, Yl)),
|
|
1001
1008
|
t.$slots.watermark ? (u(), n("div", Oa, [
|
|
1002
|
-
|
|
1009
|
+
A(t.$slots, "watermark", Z(ee({ isPrinting: c(lt) || c(at) })), void 0, !0)
|
|
1003
1010
|
])) : v("", !0),
|
|
1004
1011
|
b("div", {
|
|
1005
1012
|
ref_key: "chartSlicer",
|
|
@@ -1036,8 +1043,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1036
1043
|
focusRangeRatio: e.value.style.chart.zoom.focusRangeRatio,
|
|
1037
1044
|
onReset: Ze
|
|
1038
1045
|
}, {
|
|
1039
|
-
"reset-action":
|
|
1040
|
-
|
|
1046
|
+
"reset-action": x(({ reset: l }) => [
|
|
1047
|
+
A(t.$slots, "reset-action", Z(ee({ reset: l })), void 0, !0)
|
|
1041
1048
|
]),
|
|
1042
1049
|
_: 3
|
|
1043
1050
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : v("", !0)
|
|
@@ -1059,7 +1066,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1059
1066
|
config: Jt.value,
|
|
1060
1067
|
onClickMarker: a[2] || (a[2] = ({ legend: l }) => Ae(l.uid))
|
|
1061
1068
|
}, {
|
|
1062
|
-
item:
|
|
1069
|
+
item: x(({ legend: l, index: s }) => [
|
|
1063
1070
|
b("div", {
|
|
1064
1071
|
onClick: (o) => Ae(l.uid),
|
|
1065
1072
|
style: K(`opacity:${C.value.includes(l.uid) ? 0.5 : 1}`)
|
|
@@ -1067,7 +1074,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1067
1074
|
]),
|
|
1068
1075
|
_: 1
|
|
1069
1076
|
}, 8, ["legendSet", "config"])) : v("", !0),
|
|
1070
|
-
|
|
1077
|
+
A(t.$slots, "legend", { legend: Le.value }, void 0, !0)
|
|
1071
1078
|
], 512)
|
|
1072
1079
|
], 8, ["to"])) : v("", !0),
|
|
1073
1080
|
t.$slots.source ? (u(), n("div", {
|
|
@@ -1076,14 +1083,14 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1076
1083
|
ref: Xe,
|
|
1077
1084
|
dir: "auto"
|
|
1078
1085
|
}, [
|
|
1079
|
-
|
|
1086
|
+
A(t.$slots, "source", {}, void 0, !0)
|
|
1080
1087
|
], 512)) : v("", !0),
|
|
1081
1088
|
qe.value && e.value.userOptions.buttons.table ? (u(), T(yl(J.value.component), gl({ key: 7 }, J.value.props, {
|
|
1082
1089
|
ref_key: "tableUnit",
|
|
1083
1090
|
ref: Y,
|
|
1084
1091
|
onClose: ft
|
|
1085
|
-
}),
|
|
1086
|
-
content:
|
|
1092
|
+
}), xt({
|
|
1093
|
+
content: x(() => [
|
|
1087
1094
|
(u(), T(c(Pt), {
|
|
1088
1095
|
key: `table_${Ve.value}`,
|
|
1089
1096
|
colNames: W.value.colNames,
|
|
@@ -1094,10 +1101,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1094
1101
|
withCloseButton: !e.value.table.useDialog,
|
|
1095
1102
|
onClose: ft
|
|
1096
1103
|
}, {
|
|
1097
|
-
th:
|
|
1104
|
+
th: x(({ th: l }) => [
|
|
1098
1105
|
Oe(k(l.name ?? l), 1)
|
|
1099
1106
|
]),
|
|
1100
|
-
td:
|
|
1107
|
+
td: x(({ td: l }) => [
|
|
1101
1108
|
l.value === null ? (u(), n("span", Na, "-")) : (u(), n("b", Pa, k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + k(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
1102
1109
|
b("span", null, k(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
1103
1110
|
]),
|
|
@@ -1108,14 +1115,14 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1108
1115
|
}, [
|
|
1109
1116
|
e.value.table.useDialog ? {
|
|
1110
1117
|
name: "title",
|
|
1111
|
-
fn:
|
|
1118
|
+
fn: x(() => [
|
|
1112
1119
|
Oe(k(J.value.title), 1)
|
|
1113
1120
|
]),
|
|
1114
1121
|
key: "0"
|
|
1115
1122
|
} : void 0,
|
|
1116
1123
|
e.value.table.useDialog ? {
|
|
1117
1124
|
name: "actions",
|
|
1118
|
-
fn:
|
|
1125
|
+
fn: x(() => [
|
|
1119
1126
|
b("button", {
|
|
1120
1127
|
tabindex: "0",
|
|
1121
1128
|
class: "vue-ui-user-options-button",
|
|
@@ -1144,10 +1151,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1144
1151
|
isFullscreen: H.value,
|
|
1145
1152
|
fullscreenParent: P.value
|
|
1146
1153
|
}, {
|
|
1147
|
-
title:
|
|
1154
|
+
title: x(() => [
|
|
1148
1155
|
Oe(k(_.value[Number(V.value.index)] ? _.value[Number(V.value.index)].text : ""), 1)
|
|
1149
1156
|
]),
|
|
1150
|
-
content:
|
|
1157
|
+
content: x(() => [
|
|
1151
1158
|
V.value ? (u(), T(c(Vt), {
|
|
1152
1159
|
key: 0,
|
|
1153
1160
|
config: gt.value,
|
|
@@ -1159,7 +1166,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1159
1166
|
c(Je) ? (u(), T(Dl, { key: 9 })) : v("", !0)
|
|
1160
1167
|
], 46, Wl));
|
|
1161
1168
|
}
|
|
1162
|
-
}, eo = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-
|
|
1169
|
+
}, eo = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-33d95825"]]);
|
|
1163
1170
|
export {
|
|
1164
1171
|
eo as default
|
|
1165
1172
|
};
|
|
@@ -34,7 +34,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectDatapoint"],
|
|
36
36
|
setup(ht, { expose: ft, emit: _a }) {
|
|
37
|
-
const bt = P(() => import("./BaseIcon-BmMbm4d0.js")), yt = P(() => import("./vue-ui-accordion-CZ0thhxa.js")), gt = P(() => import("./DataTable-BT7VF2ua.js")), mt = P(() => import("./PenAndPaper-DSvu9dwa.js")), pt = P(() => import("./UserOptions-
|
|
37
|
+
const bt = P(() => import("./BaseIcon-BmMbm4d0.js")), yt = P(() => import("./vue-ui-accordion-CZ0thhxa.js")), gt = P(() => import("./DataTable-BT7VF2ua.js")), mt = P(() => import("./PenAndPaper-DSvu9dwa.js")), pt = P(() => import("./UserOptions-CGnQt6Fd.js")), xt = P(() => import("./PackageVersion-CTUqGqWV.js")), _t = P(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_dumbbell: kt } = el(), S = ht, J = g({
|
|
38
38
|
get() {
|
|
39
39
|
return !!S.dataset && S.dataset.length;
|
|
40
40
|
},
|
|
@@ -648,26 +648,33 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
|
|
|
648
648
|
]),
|
|
649
649
|
key: "3"
|
|
650
650
|
} : void 0,
|
|
651
|
+
l.$slots.optionSvg ? {
|
|
652
|
+
name: "optionSvg",
|
|
653
|
+
fn: p(() => [
|
|
654
|
+
x(l.$slots, "optionSvg", {}, void 0, !0)
|
|
655
|
+
]),
|
|
656
|
+
key: "4"
|
|
657
|
+
} : void 0,
|
|
651
658
|
l.$slots.optionTable ? {
|
|
652
659
|
name: "optionTable",
|
|
653
660
|
fn: p(() => [
|
|
654
661
|
x(l.$slots, "optionTable", {}, void 0, !0)
|
|
655
662
|
]),
|
|
656
|
-
key: "
|
|
663
|
+
key: "5"
|
|
657
664
|
} : void 0,
|
|
658
665
|
l.$slots.optionFullscreen ? {
|
|
659
666
|
name: "optionFullscreen",
|
|
660
667
|
fn: p(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
661
668
|
x(l.$slots, "optionFullscreen", se(oe({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
662
669
|
]),
|
|
663
|
-
key: "
|
|
670
|
+
key: "6"
|
|
664
671
|
} : void 0,
|
|
665
672
|
l.$slots.optionAnnotator ? {
|
|
666
673
|
name: "optionAnnotator",
|
|
667
674
|
fn: p(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
668
675
|
x(l.$slots, "optionAnnotator", se(oe({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
669
676
|
]),
|
|
670
|
-
key: "
|
|
677
|
+
key: "7"
|
|
671
678
|
} : void 0
|
|
672
679
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
673
680
|
(n(), v("svg", {
|
|
@@ -1198,7 +1205,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
|
|
|
1198
1205
|
i(ce) ? (n(), O(al, { key: 8 })) : y("", !0)
|
|
1199
1206
|
], 46, hl));
|
|
1200
1207
|
}
|
|
1201
|
-
}, Fa = /* @__PURE__ */ dl(xa, [["__scopeId", "data-v-
|
|
1208
|
+
}, Fa = /* @__PURE__ */ dl(xa, [["__scopeId", "data-v-aeb2adfe"]]);
|
|
1202
1209
|
export {
|
|
1203
1210
|
Fa as default
|
|
1204
1211
|
};
|