vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/{Arrow-HbfibAF0.js → Arrow-XoY1VXNf.js} +1 -1
- package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-CXe0WfN-.js} +2 -2
- package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-d4dmqhkb.js} +1 -1
- package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-B3v0IhDO.js} +2 -2
- package/dist/{DataTable-CsoAI95B.js → DataTable-CmbjnjRg.js} +2 -2
- package/dist/{Legend-ZW-PFcHg.js → Legend-YPYnzTBz.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-SD-bH_GI.js} +3 -3
- package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-OcbP0WH2.js} +1 -1
- package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-BgPXmpGI.js} +3 -3
- package/dist/{Shape-BBbhObHC.js → Shape-WvXjwML_.js} +1 -1
- package/dist/{Slicer-Vh74fjdf.js → Slicer-CaMHCF_p.js} +2 -2
- package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-BTLad6y3.js} +1 -1
- package/dist/{Title-Dx8ctnVy.js → Title-CJcZXNtK.js} +1 -1
- package/dist/{Tooltip-COHlzpZI.js → Tooltip-dXp8FaUj.js} +1 -1
- package/dist/{UserOptions-CGn3YdRV.js → UserOptions-Cs7JW3dK.js} +154 -138
- package/dist/dom-to-png-DGfv21rX.js +247 -0
- package/dist/img-fdViJw1e.js +20 -0
- package/dist/{index-CbcpITE_.js → index-BzQ0j5xI.js} +190 -128
- package/dist/{pdf-Cy09nTjn.js → pdf-Bj65uPK-.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +60 -1
- package/dist/types/vue-data-ui.d.ts +60 -1
- package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-DqpZEE3h.js} +1 -1
- package/dist/{usePrinter-u-gQiRNz.js → usePrinter-CpG5jh_z.js} +2 -2
- package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-CeIncf6V.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-fAJK0nIB.js} +175 -174
- package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-bpaEpjqI.js} +3 -3
- package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-D5w5EqmV.js} +200 -199
- package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-CSGemK-O.js} +2 -2
- package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-FPBahjOr.js} +9 -8
- package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-BpP9MQC2.js} +115 -114
- package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-lpdLFAfT.js} +80 -79
- package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-D5um0tmC.js} +453 -452
- package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-CgrXXOgv.js} +43 -42
- package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-Jk-Yd8T_.js} +143 -142
- package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-BjmAMjTd.js} +2 -2
- package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-CQ0B1DMq.js} +62 -62
- package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-B3h4BufU.js} +2 -2
- package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-DcjJqRof.js} +151 -150
- package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DmSbXlMu.js} +111 -110
- package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-BLcmTUd_.js} +54 -53
- package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-BmIGl6DC.js} +14 -13
- package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-BJfxaSQC.js} +75 -74
- package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-Cpnr2YW-.js} +84 -83
- package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BhPFNziU.js} +33 -32
- package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-B2wA-kmz.js} +3 -3
- package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-CpwNMx3i.js} +222 -221
- package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-DpxHqDZw.js} +234 -233
- package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-CvqXwiiE.js} +3 -3
- package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-DIjSfc7L.js} +2 -2
- package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-3-vg0Re6.js} +44 -43
- package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-B7W7wGkW.js} +76 -75
- package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-ByoeDL-3.js} +53 -52
- package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-CNVwf4QX.js} +72 -71
- package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-C0KJrBX8.js} +13 -12
- package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-C-wPn5l5.js} +13 -12
- package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-SV-m_FhA.js} +8 -7
- package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DqOzvLUy.js} +283 -282
- package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CsZXcINB.js} +2 -2
- package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-B0zxq02O.js} +75 -74
- package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-CykFyAin.js} +102 -101
- package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-DoJwXgd3.js} +110 -109
- package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BTT3BYrI.js} +166 -165
- package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-CavMQlAm.js} +3 -3
- package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-DdT6TBz8.js} +2 -2
- package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-D9q63V2-.js} +3 -3
- package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-DCS_f__b.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-CGDjBHjo.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-Ctpm0106.js} +4 -4
- package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-BVyjNK_A.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-BsNDucJO.js} +3 -3
- package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-DuGcJQ6F.js} +39 -38
- package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-C6vbloAI.js} +82 -81
- package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-Bb6pNaIM.js} +3 -3
- package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-_ypWL_z2.js} +77 -76
- package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-_pPedR_D.js} +74 -73
- package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-CmLnTIU7.js} +22 -21
- package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CpAJT80M.js} +5 -5
- package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-DXgmJClr.js} +38 -37
- package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-Ci2Yi9Gh.js} +109 -108
- package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-pn_EqFmU.js} +82 -81
- package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-vqh1kEDT.js} +33 -32
- package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-BCcK6wwZ.js} +8 -7
- package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-Bu8Giu0b.js} +110 -109
- package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-CzRlg19V.js} +57 -56
- package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-0gHPOOwZ.js} +982 -856
- package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-DuAgXbBB.js} +41 -40
- package/package.json +1 -1
- package/dist/dom-to-png-BjSUS-jY.js +0 -243
- package/dist/img-DWfzRJdv.js +0 -19
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineAsyncComponent as R, computed as k, ref as v, watch as et, onMounted as tt, nextTick as lt, shallowRef as at, onBeforeUnmount as zt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as se, normalizeClass as B, createBlock as E, createCommentVNode as g, createVNode as ot, createSlots as Mt, withCtx as L, renderSlot as x, normalizeProps as Y, guardReactiveProps as X, createElementVNode as m, Fragment as T, renderList as
|
|
2
|
-
import { u as Rt, c as Bt, t as Et, p as Ce, a as Ut, H as D, o as Gt, e as H, b as Yt, d as Xt, m as nt, f as
|
|
1
|
+
import { defineAsyncComponent as R, computed as k, ref as v, watch as et, onMounted as tt, nextTick as lt, shallowRef as at, onBeforeUnmount as zt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as se, normalizeClass as B, createBlock as E, createCommentVNode as g, createVNode as ot, createSlots as Mt, withCtx as L, renderSlot as x, normalizeProps as Y, guardReactiveProps as X, createElementVNode as m, Fragment as T, renderList as F, toDisplayString as N, withDirectives as st, vShow as ut, createTextVNode as ue } from "vue";
|
|
2
|
+
import { u as Rt, c as Bt, t as Et, p as Ce, a as Ut, H as D, o as Gt, e as H, b as Yt, d as Xt, m as nt, f as O, X as Ht, s as rt, K as Wt, k as _e, n as W, i as J, x as it, q as qt, r as Kt, y as Jt, S as dt } from "./index-BzQ0j5xI.js";
|
|
3
3
|
import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as ct } from "./useNestedProp-
|
|
5
|
-
import { u as jt } from "./usePrinter-
|
|
4
|
+
import { u as ct } from "./useNestedProp-DqpZEE3h.js";
|
|
5
|
+
import { u as jt } from "./usePrinter-CpG5jh_z.js";
|
|
6
6
|
import { u as el } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as tl } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import ll from "./Title-
|
|
9
|
-
import al from "./Legend-
|
|
8
|
+
import ll from "./Title-CJcZXNtK.js";
|
|
9
|
+
import al from "./Legend-YPYnzTBz.js";
|
|
10
10
|
import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["id"], il = ["offset", "stop-color"], dl = ["offset", "stop-opacity"], cl = ["id"], vl = ["id"], fl = ["id"], hl = ["flood-color"], pl = ["d", "fill", "stroke", "stroke-width", "filter"], yl = { key: 1 }, bl = ["d", "fill"], gl = { key: 2 }, ml = ["x", "y", "font-size", "font-weight", "fill"], wl = { key: 3 }, $l = ["filter"], kl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ll = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], xl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Cl = ["d", "fill", "onMouseenter", "onClick"], _l = {
|
|
12
12
|
key: 5,
|
|
@@ -14,7 +14,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
14
14
|
}, Tl = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "vue-ui-nested-donuts-legend-title"
|
|
17
|
-
},
|
|
17
|
+
}, Ol = ["onClick"], Fl = ["innerHTML"], Sl = {
|
|
18
18
|
__name: "vue-ui-nested-donuts",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -32,7 +32,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend", "selectDatapoint"],
|
|
34
34
|
setup(vt, { expose: ft, emit: ht }) {
|
|
35
|
-
const pt = R(() => import("./vue-ui-accordion-
|
|
35
|
+
const pt = R(() => import("./vue-ui-accordion-bpaEpjqI.js")), yt = R(() => import("./DataTable-CmbjnjRg.js")), bt = R(() => import("./PackageVersion-OcbP0WH2.js")), gt = R(() => import("./PenAndPaper-BgPXmpGI.js")), mt = R(() => import("./vue-ui-skeleton-CavMQlAm.js")), wt = R(() => import("./Tooltip-dXp8FaUj.js")), $t = R(() => import("./UserOptions-Cs7JW3dK.js")), { vue_ui_nested_donuts: kt } = Rt(), C = vt, Q = k(() => !!C.dataset && C.dataset.length), y = v(Bt()), ne = v(!1), re = v(""), Lt = v(null), Te = v(0), q = v(null), Oe = v(null), ie = v(null), Fe = v(null), Se = v(null), Ae = v(0), Ie = v(0), Ne = v(0), z = v(!0), M = v([]), K = v([]), U = v(!1);
|
|
36
36
|
function xt(l) {
|
|
37
37
|
U.value = l, Te.value += 1;
|
|
38
38
|
}
|
|
@@ -155,9 +155,9 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
155
155
|
const l = Qt(() => {
|
|
156
156
|
const { width: s, height: a } = Zt({
|
|
157
157
|
chart: q.value,
|
|
158
|
-
title: e.value.style.chart.title.text ?
|
|
158
|
+
title: e.value.style.chart.title.text ? Oe.value : null,
|
|
159
159
|
legend: e.value.style.chart.legend.show ? ie.value : null,
|
|
160
|
-
source:
|
|
160
|
+
source: Fe.value,
|
|
161
161
|
noTitle: Se.value,
|
|
162
162
|
padding: Me.value
|
|
163
163
|
});
|
|
@@ -185,7 +185,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
185
185
|
height: 512,
|
|
186
186
|
width: 512
|
|
187
187
|
}), Ge = ht;
|
|
188
|
-
function
|
|
188
|
+
function Ot({ datapoint: l, index: s }) {
|
|
189
189
|
Ge("selectDatapoint", { datapoint: l, index: s });
|
|
190
190
|
}
|
|
191
191
|
function Ye({
|
|
@@ -267,7 +267,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
267
267
|
}))
|
|
268
268
|
};
|
|
269
269
|
}));
|
|
270
|
-
function
|
|
270
|
+
function Ft(l, s, a) {
|
|
271
271
|
let o = 0;
|
|
272
272
|
for (let t = 0; t < l.length; t += 1)
|
|
273
273
|
a.includes(l[t]) && (o += 1);
|
|
@@ -294,7 +294,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
294
294
|
(d) => d.id === s.arcOfId
|
|
295
295
|
);
|
|
296
296
|
if (!c) return;
|
|
297
|
-
const h = c.series.map((d) => d.id), I =
|
|
297
|
+
const h = c.series.map((d) => d.id), I = Ft(
|
|
298
298
|
h,
|
|
299
299
|
h.length - 1,
|
|
300
300
|
w.value
|
|
@@ -413,7 +413,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
413
413
|
${e.value.style.chart.tooltip.showValue ? `<b>${J(
|
|
414
414
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
415
415
|
l.value,
|
|
416
|
-
|
|
416
|
+
O({
|
|
417
417
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
418
418
|
v: l.value,
|
|
419
419
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -422,7 +422,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
422
422
|
{ datapoint: l, seriesIndex: a }
|
|
423
423
|
)}
|
|
424
424
|
</b>` : ""}
|
|
425
|
-
${e.value.style.chart.tooltip.showPercentage ? `(${
|
|
425
|
+
${e.value.style.chart.tooltip.showPercentage ? `(${O({
|
|
426
426
|
v: c.proportion * 100,
|
|
427
427
|
s: "%",
|
|
428
428
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -435,18 +435,18 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
435
435
|
t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.arcOf ?? ""} - ${l.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (t += `<b>${J(
|
|
436
436
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
437
437
|
l.value,
|
|
438
|
-
|
|
438
|
+
O({
|
|
439
439
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
440
440
|
v: l.value,
|
|
441
441
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
442
442
|
r: e.value.style.chart.tooltip.roundingValue
|
|
443
443
|
}),
|
|
444
444
|
{ datapoint: l, seriesIndex: a }
|
|
445
|
-
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? t += `<span>(${
|
|
445
|
+
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? t += `<span>(${O({
|
|
446
446
|
v: l.proportion * 100,
|
|
447
447
|
s: "%",
|
|
448
448
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
449
|
-
})})</span></div>` : t += `<b>${
|
|
449
|
+
})})</span></div>` : t += `<b>${O({
|
|
450
450
|
v: l.proportion * 100,
|
|
451
451
|
s: "%",
|
|
452
452
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -512,21 +512,21 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
512
512
|
}))), s = b.value.flatMap((a) => a.series.map((o) => o.value));
|
|
513
513
|
return { head: l, body: s };
|
|
514
514
|
});
|
|
515
|
-
function Je() {
|
|
515
|
+
function Je(l = null) {
|
|
516
516
|
lt(() => {
|
|
517
|
-
const
|
|
518
|
-
[
|
|
519
|
-
[P.value.body[
|
|
517
|
+
const s = P.value.head.map((t, u) => [
|
|
518
|
+
[t.name],
|
|
519
|
+
[P.value.body[u]],
|
|
520
520
|
[
|
|
521
|
-
isNaN(P.value.body[
|
|
521
|
+
isNaN(P.value.body[u] / t.total) ? "-" : P.value.body[u] / t.total * 100
|
|
522
522
|
]
|
|
523
|
-
]),
|
|
523
|
+
]), a = [
|
|
524
524
|
[e.value.style.chart.title.text],
|
|
525
525
|
[e.value.style.chart.title.subtitle.text],
|
|
526
526
|
[[""], ["val"], ["%"]]
|
|
527
|
-
].concat(
|
|
528
|
-
Kt({
|
|
529
|
-
csvContent:
|
|
527
|
+
].concat(s), o = qt(a);
|
|
528
|
+
l ? l(o) : Kt({
|
|
529
|
+
csvContent: o,
|
|
530
530
|
title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
531
531
|
});
|
|
532
532
|
});
|
|
@@ -537,7 +537,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
537
537
|
e.value.table.columnNames.value,
|
|
538
538
|
e.value.table.columnNames.percentage
|
|
539
539
|
], s = P.value.head.map((t, u) => {
|
|
540
|
-
const c =
|
|
540
|
+
const c = O({
|
|
541
541
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
542
542
|
v: P.value.body[u],
|
|
543
543
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -549,7 +549,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
549
549
|
name: t.name
|
|
550
550
|
},
|
|
551
551
|
c,
|
|
552
|
-
isNaN(P.value.body[u] / t.total) ? "-" :
|
|
552
|
+
isNaN(P.value.body[u] / t.total) ? "-" : O({
|
|
553
553
|
v: P.value.body[u] / t.total * 100,
|
|
554
554
|
s: "%",
|
|
555
555
|
r: e.value.table.td.roundingPercentage
|
|
@@ -631,7 +631,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
631
631
|
e.value.style.chart.title.text ? (n(), i("div", {
|
|
632
632
|
key: 2,
|
|
633
633
|
ref_key: "chartTitle",
|
|
634
|
-
ref:
|
|
634
|
+
ref: Oe
|
|
635
635
|
}, [
|
|
636
636
|
(n(), E(ll, {
|
|
637
637
|
key: `title_${Ae.value}`,
|
|
@@ -669,6 +669,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
669
669
|
position: e.value.userOptions.position,
|
|
670
670
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
671
671
|
isAnnotation: le.value,
|
|
672
|
+
callbacks: e.value.userOptions.callbacks,
|
|
672
673
|
onToggleFullscreen: xt,
|
|
673
674
|
onGeneratePdf: r(Ee),
|
|
674
675
|
onGenerateCsv: Je,
|
|
@@ -744,7 +745,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
744
745
|
]),
|
|
745
746
|
key: "8"
|
|
746
747
|
} : void 0
|
|
747
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
748
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
748
749
|
Q.value ? (n(), i("svg", {
|
|
749
750
|
key: 4,
|
|
750
751
|
ref_key: "svgRef",
|
|
@@ -771,7 +772,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
771
772
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
772
773
|
], 8, nl)) : g("", !0),
|
|
773
774
|
m("defs", null, [
|
|
774
|
-
(n(!0), i(T, null,
|
|
775
|
+
(n(!0), i(T, null, F(We.value, (a, o) => (n(), i("radialGradient", {
|
|
775
776
|
id: `radial_${y.value}_${o}`
|
|
776
777
|
}, [
|
|
777
778
|
s[5] || (s[5] = m("stop", {
|
|
@@ -827,8 +828,8 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
827
828
|
}, null, 8, hl)
|
|
828
829
|
], 8, fl)
|
|
829
830
|
]),
|
|
830
|
-
(n(!0), i(T, null,
|
|
831
|
-
(n(!0), i(T, null,
|
|
831
|
+
(n(!0), i(T, null, F(Z.value, (a, o) => (n(), i("g", null, [
|
|
832
|
+
(n(!0), i(T, null, F(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", null, [
|
|
832
833
|
m("path", {
|
|
833
834
|
class: "vue-ui-donut-arc-path",
|
|
834
835
|
d: t.arcSlice,
|
|
@@ -840,7 +841,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
840
841
|
]))), 256))
|
|
841
842
|
]))), 256)),
|
|
842
843
|
e.value.style.chart.useGradient ? (n(), i("g", yl, [
|
|
843
|
-
(n(!0), i(T, null,
|
|
844
|
+
(n(!0), i(T, null, F(We.value, (a, o) => (n(), i("g", null, [
|
|
844
845
|
m("path", {
|
|
845
846
|
d: a.donut.arcSlice,
|
|
846
847
|
fill: `url(#radial_${y.value}_${o})`,
|
|
@@ -850,8 +851,8 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
850
851
|
]))), 256))
|
|
851
852
|
])) : g("", !0),
|
|
852
853
|
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), i("g", gl, [
|
|
853
|
-
(n(!0), i(T, null,
|
|
854
|
-
(n(!0), i(T, null,
|
|
854
|
+
(n(!0), i(T, null, F(Z.value, (a, o) => (n(), i("g", null, [
|
|
855
|
+
(n(!0), i(T, null, F(a.donut, (t, u) => (n(), i("g", null, [
|
|
855
856
|
u === 0 && f.value.width && f.value.height ? (n(), i("text", {
|
|
856
857
|
key: 0,
|
|
857
858
|
class: B({ animated: e.value.useCssAnimation }),
|
|
@@ -869,8 +870,8 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
869
870
|
]))), 256))
|
|
870
871
|
])) : g("", !0),
|
|
871
872
|
e.value.style.chart.layout.labels.dataLabels.show ? (n(), i("g", wl, [
|
|
872
|
-
(n(!0), i(T, null,
|
|
873
|
-
(n(!0), i(T, null,
|
|
873
|
+
(n(!0), i(T, null, F(Z.value, (a, o) => (n(), i("g", null, [
|
|
874
|
+
(n(!0), i(T, null, F(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", {
|
|
874
875
|
filter: Ke(t, u)
|
|
875
876
|
}, [
|
|
876
877
|
st(m("text", {
|
|
@@ -890,7 +891,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
890
891
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
891
892
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
892
893
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
893
|
-
}, N(r(
|
|
894
|
+
}, N(r(O)({
|
|
894
895
|
v: t.proportion * 100,
|
|
895
896
|
s: "%",
|
|
896
897
|
r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage
|
|
@@ -920,7 +921,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
920
921
|
}, " (" + N(r(J)(
|
|
921
922
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
922
923
|
t.value,
|
|
923
|
-
r(
|
|
924
|
+
r(O)({
|
|
924
925
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
925
926
|
v: t.value,
|
|
926
927
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -953,7 +954,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
953
954
|
}, N(r(J)(
|
|
954
955
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
955
956
|
t.value,
|
|
956
|
-
r(
|
|
957
|
+
r(O)({
|
|
957
958
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
958
959
|
v: t.value,
|
|
959
960
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -964,8 +965,8 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
964
965
|
], 8, $l))), 256))
|
|
965
966
|
]))), 256))
|
|
966
967
|
])) : g("", !0),
|
|
967
|
-
(n(!0), i(T, null,
|
|
968
|
-
(n(!0), i(T, null,
|
|
968
|
+
(n(!0), i(T, null, F(Z.value, (a, o) => (n(), i("g", null, [
|
|
969
|
+
(n(!0), i(T, null, F(a.donut, (t, u) => (n(), i("g", null, [
|
|
969
970
|
m("path", {
|
|
970
971
|
d: t.arcSlice,
|
|
971
972
|
fill: Lt.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
@@ -973,7 +974,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
973
974
|
datapoint: t,
|
|
974
975
|
seriesIndex: t.seriesIndex
|
|
975
976
|
}),
|
|
976
|
-
onClick: (c) =>
|
|
977
|
+
onClick: (c) => Ot({ datapoint: t, index: u }),
|
|
977
978
|
onMouseleave: s[0] || (s[0] = (c) => {
|
|
978
979
|
ne.value = !1, qe.value = null, j.value = null, ee.value = null;
|
|
979
980
|
})
|
|
@@ -1027,7 +1028,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
1027
1028
|
ref: ie,
|
|
1028
1029
|
class: B({ "vue-ui-nested-donuts-legend": ye.value.length > 1 })
|
|
1029
1030
|
}, [
|
|
1030
|
-
(n(!0), i(T, null,
|
|
1031
|
+
(n(!0), i(T, null, F(ye.value, (a, o) => (n(), E(al, {
|
|
1031
1032
|
key: `legend_${o}_${Ne.value}`,
|
|
1032
1033
|
legendSet: a,
|
|
1033
1034
|
config: At.value,
|
|
@@ -1044,7 +1045,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
1044
1045
|
ue(N(t.name) + ": " + N(r(J)(
|
|
1045
1046
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
1046
1047
|
t.value,
|
|
1047
|
-
r(
|
|
1048
|
+
r(O)({
|
|
1048
1049
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
1049
1050
|
v: t.value,
|
|
1050
1051
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -1055,13 +1056,13 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
1055
1056
|
w.value.includes(t.id) ? (n(), i(T, { key: 1 }, [
|
|
1056
1057
|
ue(" ( - % ) ")
|
|
1057
1058
|
], 64)) : (n(), i(T, { key: 0 }, [
|
|
1058
|
-
ue(" (" + N(isNaN(t.value / t.total) ? "-" : r(
|
|
1059
|
+
ue(" (" + N(isNaN(t.value / t.total) ? "-" : r(O)({
|
|
1059
1060
|
v: t.value / t.total * 100,
|
|
1060
1061
|
s: "%",
|
|
1061
1062
|
r: e.value.style.chart.legend.roundingPercentage
|
|
1062
1063
|
})) + ") ", 1)
|
|
1063
1064
|
], 64))
|
|
1064
|
-
], 12,
|
|
1065
|
+
], 12, Ol)
|
|
1065
1066
|
]),
|
|
1066
1067
|
_: 2
|
|
1067
1068
|
}, 1032, ["legendSet", "config"]))), 128))
|
|
@@ -1076,7 +1077,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
1076
1077
|
l.$slots.source ? (n(), i("div", {
|
|
1077
1078
|
key: 9,
|
|
1078
1079
|
ref_key: "source",
|
|
1079
|
-
ref:
|
|
1080
|
+
ref: Fe,
|
|
1080
1081
|
dir: "auto"
|
|
1081
1082
|
}, [
|
|
1082
1083
|
x(l.$slots, "source", {}, void 0, !0)
|
|
@@ -1111,7 +1112,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
1111
1112
|
m("div", {
|
|
1112
1113
|
innerHTML: a,
|
|
1113
1114
|
style: { display: "flex", "align-items": "center" }
|
|
1114
|
-
}, null, 8,
|
|
1115
|
+
}, null, 8, Fl)
|
|
1115
1116
|
]),
|
|
1116
1117
|
td: L(({ td: a }) => [
|
|
1117
1118
|
ue(N(a.name || a), 1)
|
|
@@ -1123,7 +1124,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
1123
1124
|
}, 8, ["config"])) : g("", !0)
|
|
1124
1125
|
], 46, sl));
|
|
1125
1126
|
}
|
|
1126
|
-
}, El = /* @__PURE__ */ ol(Sl, [["__scopeId", "data-v-
|
|
1127
|
+
}, El = /* @__PURE__ */ ol(Sl, [["__scopeId", "data-v-272dedc8"]]);
|
|
1127
1128
|
export {
|
|
1128
1129
|
El as default
|
|
1129
1130
|
};
|