vue-data-ui 3.1.4 → 3.1.6
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-COJRk3pc.js → Arrow-DtlAIKPQ.js} +1 -1
- package/dist/{BaseDraggableDialog-BdAp3qr9.js → BaseDraggableDialog-BVZPPMT9.js} +2 -2
- package/dist/{BaseIcon-B5nQNkmd.js → BaseIcon-D_BjQBAR.js} +1 -1
- package/dist/{ColorPicker-CPqHwp1V.js → ColorPicker-BeJGNqJl.js} +2 -2
- package/dist/{DataTable-CzO3oHys.js → DataTable-IycMkaTU.js} +2 -2
- package/dist/{Legend-BQqnf4BN.js → Legend-D7l8BJ7z.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D_g27Foy.js → NonSvgPenAndPaper-BK5M9Lt9.js} +3 -3
- package/dist/{PackageVersion-7CxQB-mx.js → PackageVersion-BtfT0hV9.js} +1 -1
- package/dist/{PenAndPaper-C8hICPzL.js → PenAndPaper-BdzDJYnr.js} +3 -3
- package/dist/{Shape-BEVQVI0z.js → Shape-DD3SLpa4.js} +1 -1
- package/dist/Slicer-DoGlWyq_.js +596 -0
- package/dist/{SparkTooltip-BSgzljwP.js → SparkTooltip-DAfofSes.js} +1 -1
- package/dist/{Title-nHtPyPd9.js → Title-DbQthJAs.js} +1 -1
- package/dist/Tooltip-DvtYLrX2.js +200 -0
- package/dist/{UserOptions-D3pVnvAB.js → UserOptions-Dd5XOrwq.js} +2 -2
- package/dist/{dom-to-png-CcijTM69.js → dom-to-png-j6qE-sAL.js} +1 -1
- package/dist/{img-Bl0o2UAr.js → img-DLgjML7h.js} +1 -1
- package/dist/{index-INqbM37s.js → index-C0wrF8hm.js} +6 -2
- package/dist/{pdf-BeeAdG2m.js → pdf-Csglybwj.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DXkvjSDn.js → useAutoSizeLabelsInsideViewbox-Bj3DhGbZ.js} +1 -1
- package/dist/{useNestedProp-BKprMEaB.js → useNestedProp-Bg2FlIgI.js} +1 -1
- package/dist/{usePrinter-9WO5mDzj.js → usePrinter-C2jvouU0.js} +2 -2
- package/dist/{vue-data-ui-IMHc9Ta4.js → vue-data-ui-DaOijb0V.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D-1TVi2s.js → vue-ui-3d-bar-BbW6NaRc.js} +8 -8
- package/dist/{vue-ui-accordion-CQZjxT5U.js → vue-ui-accordion-3JuSLBjV.js} +3 -3
- package/dist/{vue-ui-age-pyramid-B31NbBxS.js → vue-ui-age-pyramid-D94C1TOK.js} +44 -42
- package/dist/{vue-ui-annotator-BmFYtzWW.js → vue-ui-annotator-Jq_yw0h7.js} +2 -2
- package/dist/{vue-ui-bullet-BvMlcux3.js → vue-ui-bullet-ajwy7d-R.js} +7 -7
- package/dist/{vue-ui-candlestick-CCrNcgjy.js → vue-ui-candlestick-vMGbmNWA.js} +87 -85
- package/dist/{vue-ui-carousel-table-DrGj7_CL.js → vue-ui-carousel-table-DydTCm2Z.js} +4 -4
- package/dist/{vue-ui-chestnut-Dz0E-AxZ.js → vue-ui-chestnut-D6AP76wU.js} +37 -37
- package/dist/{vue-ui-chord-BxOzgPka.js → vue-ui-chord-Du8GJXPN.js} +11 -11
- package/dist/{vue-ui-circle-pack-CaWwzEF0.js → vue-ui-circle-pack-C-C3OGW_.js} +232 -228
- package/dist/{vue-ui-cursor-CG-oJITu.js → vue-ui-cursor-B70FlDqP.js} +2 -2
- package/dist/{vue-ui-dashboard-BFLQYXuo.js → vue-ui-dashboard-DrFCH7LP.js} +67 -67
- package/dist/{vue-ui-digits-BlZsS_qz.js → vue-ui-digits-CQy-vOC2.js} +2 -2
- package/dist/{vue-ui-donut-COXIRkz4.js → vue-ui-donut-D0RdN18d.js} +53 -51
- package/dist/{vue-ui-donut-evolution-DSGLD4z5.js → vue-ui-donut-evolution-naYIvk-b.js} +38 -38
- package/dist/{vue-ui-dumbbell-DgUPMy2W.js → vue-ui-dumbbell-D6b7WMTy.js} +84 -84
- package/dist/{vue-ui-flow-E8_jp5Qc.js → vue-ui-flow-Dh8_ii-s.js} +82 -80
- package/dist/{vue-ui-funnel-NMcBpYTQ.js → vue-ui-funnel-Ct4e9chO.js} +31 -31
- package/dist/{vue-ui-galaxy-Cay4NZ6o.js → vue-ui-galaxy-Dqklv14X.js} +49 -47
- package/dist/{vue-ui-gauge-DWOH8_Z2.js → vue-ui-gauge-D-vHj5J1.js} +7 -7
- package/dist/{vue-ui-gizmo-DtZu2tcU.js → vue-ui-gizmo-Cn0d1lVH.js} +3 -3
- package/dist/{vue-ui-heatmap-Dk5515tQ.js → vue-ui-heatmap-BpcoDwpi.js} +69 -67
- package/dist/{vue-ui-history-plot-X_jPheWu.js → vue-ui-history-plot-D8tmNUHo.js} +148 -146
- package/dist/{vue-ui-kpi-DwNsapLR.js → vue-ui-kpi-88Bguk6S.js} +3 -3
- package/dist/{vue-ui-mini-loader-uyATuTz5.js → vue-ui-mini-loader-VDpWxyls.js} +2 -2
- package/dist/{vue-ui-molecule-BOeCt8b2.js → vue-ui-molecule-Cn8yeJLZ.js} +63 -61
- package/dist/{vue-ui-mood-radar-BeHjc5Ty.js → vue-ui-mood-radar-DidC77_K.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CPoaD2py.js → vue-ui-nested-donuts-D1EZ91Wm.js} +71 -69
- package/dist/{vue-ui-onion-C8H8i77u.js → vue-ui-onion-B_mir5Ax.js} +40 -37
- package/dist/{vue-ui-parallel-coordinate-plot-Cblzs6mf.js → vue-ui-parallel-coordinate-plot-DRbJyqiQ.js} +54 -52
- package/dist/{vue-ui-quadrant-BLYsMAey.js → vue-ui-quadrant-D7ihdCkd.js} +204 -202
- package/dist/{vue-ui-quick-chart-D-7cooqG.js → vue-ui-quick-chart-Dwc1xJtX.js} +63 -61
- package/dist/{vue-ui-radar-BBR8cYGx.js → vue-ui-radar-DhsgkGwF.js} +121 -119
- package/dist/{vue-ui-rating-Ccn8aUMA.js → vue-ui-rating-D_sWv7fR.js} +2 -2
- package/dist/{vue-ui-relation-circle-SKeIJXHs.js → vue-ui-relation-circle-CAvYwKpm.js} +7 -7
- package/dist/{vue-ui-ridgeline-CuHSBPB8.js → vue-ui-ridgeline-DuWQX2OI.js} +10 -10
- package/dist/{vue-ui-rings-SusI7pff.js → vue-ui-rings-BrBkOGZk.js} +162 -160
- package/dist/{vue-ui-scatter-Do8NoLng.js → vue-ui-scatter--kNBhPeG.js} +158 -156
- package/dist/{vue-ui-skeleton-FONviv9G.js → vue-ui-skeleton-B6Y0yxOn.js} +3 -3
- package/dist/{vue-ui-smiley-Bbt8bZxB.js → vue-ui-smiley-B7tZsNRS.js} +2 -2
- package/dist/{vue-ui-spark-trend-DB7RPBwQ.js → vue-ui-spark-trend-Dy5C9uny.js} +3 -3
- package/dist/{vue-ui-sparkbar-B8inUR_m.js → vue-ui-sparkbar-9NN07DOT.js} +3 -3
- package/dist/{vue-ui-sparkgauge-B4_YoY5M.js → vue-ui-sparkgauge-iV-u83Ie.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DXSLenC7.js → vue-ui-sparkhistogram-X47TDKC2.js} +4 -4
- package/dist/{vue-ui-sparkline-BQ6Voxky.js → vue-ui-sparkline-C67Y3c7l.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BgFJQKhq.js → vue-ui-sparkstackbar-Bzmq9peq.js} +36 -34
- package/dist/{vue-ui-stackbar-CBB-kH1C.js → vue-ui-stackbar-C0cn-5Sz.js} +15 -13
- package/dist/{vue-ui-strip-plot-3gWivNhR.js → vue-ui-strip-plot-D3StIxYT.js} +59 -57
- package/dist/{vue-ui-table-NJNp95Us.js → vue-ui-table-B-wP544v.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CRzHSurU.js → vue-ui-table-heatmap-_qJwOiYG.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DxGr1WNr.js → vue-ui-table-sparkline-C6MoeyKm.js} +4 -4
- package/dist/{vue-ui-thermometer-B6NudPzq.js → vue-ui-thermometer-BmYZiNK4.js} +7 -7
- package/dist/{vue-ui-timer-DO3oJlhi.js → vue-ui-timer-XeLnI_ia.js} +5 -5
- package/dist/{vue-ui-tiremarks-Dv39xDlL.js → vue-ui-tiremarks-CnCSAQiH.js} +6 -6
- package/dist/{vue-ui-treemap-D9jbccaW.js → vue-ui-treemap-Nd27H4H5.js} +41 -39
- package/dist/{vue-ui-vertical-bar-CxJNWczK.js → vue-ui-vertical-bar-Dd1XUvnp.js} +54 -52
- package/dist/{vue-ui-waffle-BMjk9LhH.js → vue-ui-waffle-Czg-z9KF.js} +56 -54
- package/dist/{vue-ui-wheel-CMACWJLJ.js → vue-ui-wheel-DfPu-QQM.js} +6 -6
- package/dist/{vue-ui-word-cloud-BbwSabN0.js → vue-ui-word-cloud-CB9_bPjO.js} +107 -104
- package/dist/{vue-ui-world-DCp2i-uy.js → vue-ui-world-Bo_NzzhJ.js} +12 -10
- package/dist/{vue-ui-xy-CRQHfrGQ.js → vue-ui-xy-Dc-o6Q3R.js} +1234 -1231
- package/dist/{vue-ui-xy-canvas-D-iziyn0.js → vue-ui-xy-canvas-D1Do33ar.js} +46 -44
- package/package.json +4 -2
- package/dist/Slicer-Cmc94zkG.js +0 -604
- package/dist/Tooltip-RCWHeRDV.js +0 -161
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as Nt, c as Vt, t as Mt, a as Rt, p as R, b as Et, o as et, f as ke, g as Ut, d as Wt, k as Q, i as O, X as Gt, s as jt, x as qt, F as Ht, e as Xt, v as Yt, w as Jt, L as Kt, y as Qt, z as Zt } from "./index-
|
|
1
|
+
import { defineAsyncComponent as L, useSlots as Pt, computed as h, ref as i, toRefs as Ot, watch as K, shallowRef as Ke, onMounted as Ft, onBeforeUnmount as Lt, createElementBlock as v, openBlock as s, unref as c, normalizeStyle as ae, normalizeClass as Qe, createBlock as B, createCommentVNode as m, createElementVNode as k, createVNode as oe, createSlots as me, withCtx as y, renderSlot as g, normalizeProps as j, guardReactiveProps as q, Fragment as $, renderList as D, mergeProps as we, toDisplayString as M, Teleport as Bt, resolveDynamicComponent as Dt, createTextVNode as Ze, nextTick as zt } from "vue";
|
|
2
|
+
import { u as Nt, c as Vt, t as Mt, a as Rt, p as R, b as Et, o as et, f as ke, g as Ut, d as Wt, k as Q, i as O, X as Gt, s as jt, x as qt, F as Ht, e as Xt, v as Yt, w as Jt, L as Kt, y as Qt, z as Zt } from "./index-C0wrF8hm.js";
|
|
3
3
|
import { t as el, u as tl } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as ll, B as al } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as ol } from "./usePrinter-
|
|
6
|
-
import { u as tt } from "./useNestedProp-
|
|
5
|
+
import { u as ol } from "./usePrinter-C2jvouU0.js";
|
|
6
|
+
import { u as tt } from "./useNestedProp-Bg2FlIgI.js";
|
|
7
7
|
import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import nl from "./img-
|
|
10
|
-
import { _ as rl } from "./Shape-
|
|
11
|
-
import il from "./Title-
|
|
12
|
-
import vl from "./Legend-
|
|
9
|
+
import nl from "./img-DLgjML7h.js";
|
|
10
|
+
import { _ as rl } from "./Shape-DD3SLpa4.js";
|
|
11
|
+
import il from "./Title-DbQthJAs.js";
|
|
12
|
+
import vl from "./Legend-D7l8BJ7z.js";
|
|
13
13
|
import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["stop-color"], gl = ["stop-color"], bl = ["id"], ml = ["x", "y", "height", "width"], wl = ["height", "width"], kl = { key: 0 }, xl = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Cl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], $l = { key: 1 }, Il = ["rx", "x", "y", "height", "width", "fill", "filter"],
|
|
14
|
+
const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["stop-color"], gl = ["stop-color"], bl = ["id"], ml = ["x", "y", "height", "width"], wl = ["height", "width"], kl = { key: 0 }, xl = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Cl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], $l = { key: 1 }, Il = ["rx", "x", "y", "height", "width", "fill", "filter"], Tl = ["textContent", "x", "y", "font-size", "fill", "filter"], _l = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Al = {
|
|
15
15
|
key: 4,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
|
-
}, Sl = ["id"], Pl = ["onClick"], Ol = ["innerHTML"],
|
|
17
|
+
}, Sl = ["id"], Pl = ["onClick"], Ol = ["innerHTML"], Fl = {
|
|
18
18
|
__name: "vue-ui-waffle",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -32,7 +32,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend"],
|
|
34
34
|
setup(lt, { expose: at, emit: ot }) {
|
|
35
|
-
const ut =
|
|
35
|
+
const ut = L(() => import("./Tooltip-DvtYLrX2.js")), st = L(() => import("./BaseIcon-D_BjQBAR.js")), nt = L(() => import("./DataTable-IycMkaTU.js")), rt = L(() => import("./vue-ui-accordion-3JuSLBjV.js")), it = L(() => import("./UserOptions-Dd5XOrwq.js")), vt = L(() => import("./PenAndPaper-BdzDJYnr.js")), ct = L(() => import("./PackageVersion-BtfT0hV9.js")), dt = L(() => import("./BaseDraggableDialog-BVZPPMT9.js")), { vue_ui_waffle: ht } = Nt(), w = lt, pt = Pt(), ue = h(() => !!w.dataset && w.dataset.length), b = i(Vt()), se = i(!1), ne = i(""), E = i(null), xe = i(0), I = i(null), Ce = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(0), Ae = i(0), Se = i(0), Pe = i(!1), H = i(null), re = i(null), e = i(ce()), { loading: Oe, FINAL_DATASET: Z, manualLoading: ie } = ll({
|
|
36
36
|
...Ot(w),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: ce,
|
|
@@ -84,7 +84,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
})
|
|
87
|
-
}), { userOptionsVisible: ve, setUserOptionsVisibility:
|
|
87
|
+
}), { userOptionsVisible: ve, setUserOptionsVisibility: Fe, keepUserOptionState: Le } = ul({ config: e.value }), { svgRef: Be } = sl({ config: e.value.style.chart.title });
|
|
88
88
|
function ce() {
|
|
89
89
|
const t = tt({
|
|
90
90
|
userConfig: w.config,
|
|
@@ -99,9 +99,9 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
99
99
|
} : t;
|
|
100
100
|
}
|
|
101
101
|
K(() => w.config, (t) => {
|
|
102
|
-
Oe.value || (e.value = ce()), ve.value = !e.value.userOptions.showOnChartHover, ze(),
|
|
102
|
+
Oe.value || (e.value = ce()), ve.value = !e.value.userOptions.showOnChartHover, ze(), _e.value += 1, Ae.value += 1, Se.value += 1, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
103
103
|
}, { deep: !0 });
|
|
104
|
-
const
|
|
104
|
+
const F = Ke(null), U = Ke(null), De = h(() => !!e.value.debug);
|
|
105
105
|
function ze() {
|
|
106
106
|
if (et(w.dataset) ? (ke({
|
|
107
107
|
componentName: "VueUiWaffle",
|
|
@@ -127,19 +127,19 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
127
127
|
title: e.value.style.chart.title.text ? Ce.value : null,
|
|
128
128
|
legend: e.value.style.chart.legend.show ? $e.value : null,
|
|
129
129
|
source: Ie.value,
|
|
130
|
-
noTitle:
|
|
130
|
+
noTitle: Te.value
|
|
131
131
|
});
|
|
132
132
|
requestAnimationFrame(() => {
|
|
133
|
-
z.value.width = a, z.value.height = l,
|
|
133
|
+
z.value.width = a, z.value.height = l, T.value.width = a, T.value.height = l;
|
|
134
134
|
});
|
|
135
135
|
});
|
|
136
|
-
|
|
136
|
+
F.value && (U.value && F.value.unobserve(U.value), F.value.disconnect()), F.value = new ResizeObserver(t), U.value = I.value.parentNode, F.value.observe(U.value);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
Ft(() => {
|
|
140
140
|
Pe.value = !0, ze();
|
|
141
|
-
}),
|
|
142
|
-
|
|
141
|
+
}), Lt(() => {
|
|
142
|
+
F.value && (U.value && F.value.unobserve(U.value), F.value.disconnect());
|
|
143
143
|
});
|
|
144
144
|
const { isPrinting: Ne, isImaging: Ve, generatePdf: Me, generateImage: Re } = ol({
|
|
145
145
|
elementId: `vue-ui-waffle_${b.value}`,
|
|
@@ -158,12 +158,12 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
158
158
|
const z = i({
|
|
159
159
|
height: 512,
|
|
160
160
|
width: 512
|
|
161
|
-
}),
|
|
161
|
+
}), T = i({
|
|
162
162
|
top: 0,
|
|
163
163
|
left: 0,
|
|
164
164
|
height: 512,
|
|
165
165
|
width: 512
|
|
166
|
-
}),
|
|
166
|
+
}), _ = h(() => (T.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), A = h(() => (T.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), yt = h(() => Math.max(1e-4, T.value.width / e.value.style.chart.layout.grid.size)), Ue = h(() => Math.max(1e-4, T.value.height / e.value.style.chart.layout.grid.size));
|
|
167
167
|
function We(t) {
|
|
168
168
|
const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((C, be) => C + be, 0), o = t.map((C) => C / l * a), u = o.map(Math.floor), n = o.map((C) => C % 1);
|
|
169
169
|
let d = a - u.reduce((C, be) => C + be, 0);
|
|
@@ -258,8 +258,8 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
258
258
|
t.push({
|
|
259
259
|
isStartOfLine: l === 0,
|
|
260
260
|
position: e.value.style.chart.layout.grid.vertical ? a : l,
|
|
261
|
-
x: (e.value.style.chart.layout.grid.vertical ? a : l) * (
|
|
262
|
-
y: (e.value.style.chart.layout.grid.vertical ? l : a) * (A.value + e.value.style.chart.layout.grid.spaceBetween) +
|
|
261
|
+
x: (e.value.style.chart.layout.grid.vertical ? a : l) * (_.value + e.value.style.chart.layout.grid.spaceBetween),
|
|
262
|
+
y: (e.value.style.chart.layout.grid.vertical ? l : a) * (A.value + e.value.style.chart.layout.grid.spaceBetween) + T.value.top
|
|
263
263
|
});
|
|
264
264
|
return t;
|
|
265
265
|
}), f = i([]), N = i(!1), Ge = i(null), je = i(null);
|
|
@@ -297,7 +297,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
297
297
|
};
|
|
298
298
|
u();
|
|
299
299
|
}
|
|
300
|
-
|
|
300
|
+
Tt("selectLegend", Y.value.map((u) => ({
|
|
301
301
|
name: u.name,
|
|
302
302
|
color: u.color,
|
|
303
303
|
value: u.value,
|
|
@@ -382,7 +382,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
382
382
|
ne.value = o;
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
const
|
|
385
|
+
const Tt = ot, P = h(() => {
|
|
386
386
|
const t = Y.value.map((l) => ({
|
|
387
387
|
name: l.name,
|
|
388
388
|
color: l.color
|
|
@@ -392,7 +392,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
392
392
|
function ee(t) {
|
|
393
393
|
return e.value.useBlurOnHover && ![null, void 0].includes(E.value) && E.value !== t ? `url(#blur_${b.value})` : "";
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function _t(t, a) {
|
|
396
396
|
return e.value.style.chart.layout.labels.captions.show ? r.value.length && !N.value && !e.value.style.chart.layout.grid.vertical && (r.value[t].isFirst && a.position < e.value.style.chart.layout.grid.size - 2 || r.value[t].isAbsoluteFirst && t % e.value.style.chart.layout.grid.size === 0 && r.value[t].absoluteStartIndex) : !1;
|
|
397
397
|
}
|
|
398
398
|
function At(t, a = null) {
|
|
@@ -554,12 +554,12 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
554
554
|
ref: I,
|
|
555
555
|
id: `vue-ui-waffle_${b.value}`,
|
|
556
556
|
style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
557
|
-
onMouseenter: a[2] || (a[2] = () => c(
|
|
558
|
-
onMouseleave: a[3] || (a[3] = () => c(
|
|
557
|
+
onMouseenter: a[2] || (a[2] = () => c(Fe)(!0)),
|
|
558
|
+
onMouseleave: a[3] || (a[3] = () => c(Fe)(!1))
|
|
559
559
|
}, [
|
|
560
|
-
e.value.userOptions.buttons.annotator ? (s(),
|
|
560
|
+
e.value.userOptions.buttons.annotator ? (s(), B(c(vt), {
|
|
561
561
|
key: 0,
|
|
562
|
-
svgRef: c(
|
|
562
|
+
svgRef: c(Be),
|
|
563
563
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
564
564
|
color: e.value.style.chart.color,
|
|
565
565
|
active: le.value,
|
|
@@ -568,7 +568,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
568
568
|
ft.value ? (s(), v("div", {
|
|
569
569
|
key: 1,
|
|
570
570
|
ref_key: "noTitle",
|
|
571
|
-
ref:
|
|
571
|
+
ref: Te,
|
|
572
572
|
class: "vue-data-ui-no-title-space",
|
|
573
573
|
style: "height:36px; width: 100%;background:transparent"
|
|
574
574
|
}, null, 512)) : m("", !0),
|
|
@@ -578,8 +578,8 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
578
578
|
ref: Ce,
|
|
579
579
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
580
580
|
}, [
|
|
581
|
-
(s(),
|
|
582
|
-
key: `title_${
|
|
581
|
+
(s(), B(il, {
|
|
582
|
+
key: `title_${_e.value}`,
|
|
583
583
|
config: {
|
|
584
584
|
title: {
|
|
585
585
|
cy: "waffle-title",
|
|
@@ -595,7 +595,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
595
595
|
k("div", {
|
|
596
596
|
id: `legend-top-${b.value}`
|
|
597
597
|
}, null, 8, hl),
|
|
598
|
-
e.value.userOptions.show && ue.value && (c(
|
|
598
|
+
e.value.userOptions.show && ue.value && (c(Le) || c(ve)) ? (s(), B(c(it), {
|
|
599
599
|
ref_key: "userOptionsRef",
|
|
600
600
|
ref: re,
|
|
601
601
|
key: `user_options_${xe.value}`,
|
|
@@ -628,7 +628,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
628
628
|
onToggleTooltip: Ye,
|
|
629
629
|
onToggleAnnotator: ge,
|
|
630
630
|
style: ae({
|
|
631
|
-
visibility: c(
|
|
631
|
+
visibility: c(Le) ? c(ve) ? "visible" : "hidden" : "visible"
|
|
632
632
|
})
|
|
633
633
|
}, me({ _: 2 }, [
|
|
634
634
|
t.$slots.menuIcon ? {
|
|
@@ -690,7 +690,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
690
690
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
691
691
|
(s(), v("svg", {
|
|
692
692
|
ref_key: "svgRef",
|
|
693
|
-
ref:
|
|
693
|
+
ref: Be,
|
|
694
694
|
xmlns: c(Gt),
|
|
695
695
|
class: Qe({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
|
|
696
696
|
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
@@ -738,7 +738,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
738
738
|
x: l.x,
|
|
739
739
|
y: l.y,
|
|
740
740
|
height: A.value <= 0 ? 1e-4 : A.value,
|
|
741
|
-
width:
|
|
741
|
+
width: _.value <= 0 ? 1e-4 : _.value,
|
|
742
742
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
743
743
|
}, [
|
|
744
744
|
g(t.$slots, "cell", we({ ref_for: !0 }, { cell: { ...l, color: r.value[o].color, ...r.value[o] }, isSelected: [null, void 0].includes(E.value) ? !0 : r.value[o].serieIndex === E.value }), void 0, !0)
|
|
@@ -747,8 +747,8 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
747
747
|
key: 1,
|
|
748
748
|
x: 12,
|
|
749
749
|
y: 12,
|
|
750
|
-
height:
|
|
751
|
-
width:
|
|
750
|
+
height: T.value.height - 24,
|
|
751
|
+
width: T.value.width - 24,
|
|
752
752
|
rx: 3,
|
|
753
753
|
fill: "none",
|
|
754
754
|
stroke: "black"
|
|
@@ -763,7 +763,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
763
763
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
764
764
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
765
765
|
height: A.value <= 0 ? 1e-4 : A.value,
|
|
766
|
-
width:
|
|
766
|
+
width: _.value <= 0 ? 1e-4 : _.value,
|
|
767
767
|
fill: "white",
|
|
768
768
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
769
769
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
@@ -774,7 +774,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
774
774
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
775
775
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
776
776
|
height: A.value <= 0 ? 1e-4 : A.value,
|
|
777
|
-
width:
|
|
777
|
+
width: _.value <= 0 ? 1e-4 : _.value,
|
|
778
778
|
fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${b.value}_${o})` : r.value[o].color,
|
|
779
779
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
780
780
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
@@ -786,7 +786,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
786
786
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
787
787
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
788
788
|
height: A.value <= 0 ? 1e-4 : A.value,
|
|
789
|
-
width:
|
|
789
|
+
width: _.value <= 0 ? 1e-4 : _.value,
|
|
790
790
|
fill: `url(#pattern_${b.value}_${r.value[o].absoluteIndex})`,
|
|
791
791
|
stroke: "none",
|
|
792
792
|
filter: ee(r.value[o].serieIndex)
|
|
@@ -794,7 +794,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
794
794
|
])) : m("", !0)
|
|
795
795
|
], 64)) : m("", !0),
|
|
796
796
|
(s(!0), v($, null, D(W.value, (l, o) => (s(), v($, null, [
|
|
797
|
-
|
|
797
|
+
_t(o, l) ? (s(), v("text", {
|
|
798
798
|
key: `datalabel_${o}`,
|
|
799
799
|
textContent: M(At(o, l)),
|
|
800
800
|
x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2 + 6,
|
|
@@ -802,7 +802,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
802
802
|
"font-size": e.value.style.chart.layout.labels.captions.fontSize,
|
|
803
803
|
fill: c(Ht)(r.value[o].color),
|
|
804
804
|
filter: ee(r.value[o].serieIndex)
|
|
805
|
-
}, null, 8,
|
|
805
|
+
}, null, 8, Tl)) : m("", !0)
|
|
806
806
|
], 64))), 256)),
|
|
807
807
|
(s(!0), v($, null, D(W.value, (l, o) => (s(), v("rect", {
|
|
808
808
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -814,7 +814,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
814
814
|
onMouseover: (u) => It(o),
|
|
815
815
|
onMouseleave: (u) => $t(o),
|
|
816
816
|
onClick: (u) => Ct(o)
|
|
817
|
-
}, null, 40,
|
|
817
|
+
}, null, 40, _l))), 256)),
|
|
818
818
|
g(t.$slots, "svg", { svg: z.value }, void 0, !0)
|
|
819
819
|
], 14, pl)),
|
|
820
820
|
t.$slots.watermark ? (s(), v("div", Al, [
|
|
@@ -823,7 +823,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
823
823
|
k("div", {
|
|
824
824
|
id: `legend-bottom-${b.value}`
|
|
825
825
|
}, null, 8, Sl),
|
|
826
|
-
Pe.value ? (s(),
|
|
826
|
+
Pe.value ? (s(), B(Bt, {
|
|
827
827
|
key: 5,
|
|
828
828
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
|
|
829
829
|
}, [
|
|
@@ -831,7 +831,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
831
831
|
ref_key: "chartLegend",
|
|
832
832
|
ref: $e
|
|
833
833
|
}, [
|
|
834
|
-
e.value.style.chart.legend.show ? (s(),
|
|
834
|
+
e.value.style.chart.legend.show ? (s(), B(vl, {
|
|
835
835
|
key: `legend_${Se.value}`,
|
|
836
836
|
legendSet: G.value,
|
|
837
837
|
config: xt.value,
|
|
@@ -899,7 +899,9 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
899
899
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
900
900
|
isFullscreen: V.value,
|
|
901
901
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
902
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
902
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
903
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
904
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
903
905
|
}, {
|
|
904
906
|
"tooltip-before": y(() => [
|
|
905
907
|
g(t.$slots, "tooltip-before", j(q({ ...pe.value })), void 0, !0)
|
|
@@ -908,14 +910,14 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
908
910
|
g(t.$slots, "tooltip-after", j(q({ ...pe.value })), void 0, !0)
|
|
909
911
|
]),
|
|
910
912
|
_: 3
|
|
911
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter"]),
|
|
912
|
-
ue.value ? (s(),
|
|
913
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
914
|
+
ue.value && e.value.userOptions.buttons.table ? (s(), B(Dt(J.value.component), we({ key: 7 }, J.value.props, {
|
|
913
915
|
ref_key: "tableUnit",
|
|
914
916
|
ref: H,
|
|
915
917
|
onClose: Je
|
|
916
918
|
}), me({
|
|
917
919
|
content: y(() => [
|
|
918
|
-
(s(),
|
|
920
|
+
(s(), B(c(nt), {
|
|
919
921
|
key: `table_${Ae.value}`,
|
|
920
922
|
colNames: te.value.colNames,
|
|
921
923
|
head: te.value.head,
|
|
@@ -963,10 +965,10 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
963
965
|
key: "1"
|
|
964
966
|
} : void 0
|
|
965
967
|
]), 1040)) : m("", !0),
|
|
966
|
-
c(Oe) ? (s(),
|
|
968
|
+
c(Oe) ? (s(), B(al, { key: 8 })) : m("", !0)
|
|
967
969
|
], 46, dl));
|
|
968
970
|
}
|
|
969
|
-
}, ql = /* @__PURE__ */ cl(
|
|
971
|
+
}, ql = /* @__PURE__ */ cl(Fl, [["__scopeId", "data-v-cd11188e"]]);
|
|
970
972
|
export {
|
|
971
973
|
ql as default
|
|
972
974
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as N, computed as y, ref as v, toRefs as Ce, watch as ae, shallowRef as le, onMounted as Ae, onBeforeUnmount as _e, createElementBlock as c, openBlock as o, unref as l, normalizeStyle as R, createBlock as O, createCommentVNode as h, createSlots as Oe, withCtx as b, renderSlot as d, normalizeProps as I, guardReactiveProps as $, normalizeClass as U, createVNode as Ie, Fragment as ne, renderList as se, toDisplayString as $e } from "vue";
|
|
2
|
-
import { u as xe, c as Pe, t as Se, b as Fe, o as ze, f as Te, x as oe, m as Me, X as Ne, k as Re, h as ue, i as Ue } from "./index-
|
|
2
|
+
import { u as xe, c as Pe, t as Se, b as Fe, o as ze, f as Te, x as oe, m as Me, X as Ne, k as Re, h as ue, i as Ue } from "./index-C0wrF8hm.js";
|
|
3
3
|
import { t as Be, u as Ee } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ie } from "./useNestedProp-
|
|
5
|
-
import { u as Le } from "./usePrinter-
|
|
4
|
+
import { u as ie } from "./useNestedProp-Bg2FlIgI.js";
|
|
5
|
+
import { u as Le } from "./usePrinter-C2jvouU0.js";
|
|
6
6
|
import { u as Xe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as De } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Ge from "./Title-
|
|
9
|
-
import Ye from "./img-
|
|
8
|
+
import Ge from "./Title-DbQthJAs.js";
|
|
9
|
+
import Ye from "./img-DLgjML7h.js";
|
|
10
10
|
import { u as je, B as He } from "./BaseScanner-BgWxam9d.js";
|
|
11
11
|
import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Qe = ["d", "fill"], Ze = ["cx", "cy", "r", "stroke", "stroke-width"], et = { key: 4 }, tt = ["x", "y", "height"], at = ["x", "y", "font-size", "fill", "font-weight"], lt = {
|
|
@@ -29,7 +29,7 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
setup(re, { expose: ce }) {
|
|
32
|
-
const ve = N(() => import("./PenAndPaper-
|
|
32
|
+
const ve = N(() => import("./PenAndPaper-BdzDJYnr.js")), he = N(() => import("./UserOptions-Dd5XOrwq.js")), de = N(() => import("./PackageVersion-BtfT0hV9.js")), { vue_ui_wheel: fe } = xe(), g = re, ye = y(() => !!g.dataset && Object.keys(g.dataset).length), x = v(Pe()), ge = v(null), B = v(0), p = v(null), E = v(null), L = v(null), X = v(null), D = v(0), e = v(F()), { loading: G, FINAL_DATASET: P } = je({
|
|
33
33
|
...Ce(g),
|
|
34
34
|
FINAL_CONFIG: e,
|
|
35
35
|
prepareConfig: F,
|