vue-data-ui 3.4.7 → 3.4.8
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-D-auaEEJ.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-CzqHcPqG.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
- package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
- package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
- package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
- package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
- package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
- package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
- package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
- package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
- package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
- package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
- package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
- package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
- package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
- package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
- package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
- package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
- package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
- package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
- package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
- package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
- package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
- package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
- package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
- package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
- package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
- package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
- package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
- package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
- package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
- package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
- package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
- package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
- package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
- package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
- package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
- package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
- package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.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-BECa8n5_.js} +1 -1
- package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
- package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
- package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
- package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
- package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
- package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
- package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
- package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
- package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
- package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.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 { useCssVars as _t, defineAsyncComponent as q, computed as g, ref as z, toRefs as xt, watch as be, onMounted as mt, nextTick as pe, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as w, createBlock as le, createCommentVNode as h, renderSlot as
|
|
2
|
-
import { c as $t, t as Tt, b as zt, p as R, e as At, g as _e, f as se, h as xe, o as St, a as M, d as A, X as Nt, s as
|
|
1
|
+
import { useCssVars as _t, defineAsyncComponent as q, computed as g, ref as z, toRefs as xt, watch as be, onMounted as mt, nextTick as pe, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as w, createBlock as le, createCommentVNode as h, renderSlot as N, createSlots as Be, withCtx as I, normalizeProps as ae, guardReactiveProps as oe, createVNode as ge, createElementVNode as n, toDisplayString as c, Fragment as _, renderList as x, createTextVNode as J, resolveDynamicComponent as kt, mergeProps as wt, withKeys as Ct } from "vue";
|
|
2
|
+
import { c as $t, t as Tt, b as zt, p as R, e as At, g as _e, f as se, h as xe, o as St, a as M, d as A, X as Nt, s as F, i as Me, J as je, T as De, V as Ft, W as Q, Y as V, P as It, Q as Lt } from "./lib-C_mNZmhD.js";
|
|
3
3
|
import { u as Pt, a as Xe } from "./useNestedProp-BjZe1Y85.js";
|
|
4
4
|
import { u as Ot, B as Rt } from "./BaseScanner-BgWxam9d.js";
|
|
5
5
|
import { u as Vt } from "./usePrinter-DTzqpYKF.js";
|
|
@@ -49,9 +49,9 @@ const Ut = ["id"], Wt = {
|
|
|
49
49
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
50
50
|
setup(Ee, { expose: Ge, emit: Ue }) {
|
|
51
51
|
_t((l) => ({
|
|
52
|
-
|
|
52
|
+
bd69c364: l.tdo
|
|
53
53
|
}));
|
|
54
|
-
const me = q(() => import("./BaseIcon-BmMbm4d0.js")), We = q(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ye = q(() => import("./PenAndPaper-DSvu9dwa.js")), He = q(() => import("./UserOptions-
|
|
54
|
+
const me = q(() => import("./BaseIcon-BmMbm4d0.js")), We = q(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ye = q(() => import("./PenAndPaper-DSvu9dwa.js")), He = q(() => import("./UserOptions-CGnQt6Fd.js")), qe = q(() => import("./PackageVersion-D-auaEEJ.js")), Ke = q(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_chestnut: Je } = Pt(), j = Ee, ke = g(() => !!j.dataset && j.dataset.length), C = z($t()), U = z(null), we = z(0), K = z(null), ue = z(null), e = z(ce()), { loading: Ce, FINAL_DATASET: ne } = Ot({
|
|
55
55
|
...xt(j),
|
|
56
56
|
FINAL_CONFIG: e,
|
|
57
57
|
prepareConfig: ce,
|
|
@@ -210,7 +210,7 @@ const Ut = ["id"], Wt = {
|
|
|
210
210
|
width: r.value.width - (r.value.padding.left + r.value.padding.right),
|
|
211
211
|
height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
|
|
212
212
|
seedX: r.value.padding.left + 64
|
|
213
|
-
})),
|
|
213
|
+
})), L = g(() => ne.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), S = g(() => (ne.value.forEach((l, i) => {
|
|
214
214
|
_e({
|
|
215
215
|
datasetObject: l,
|
|
216
216
|
requiredAttributes: ["name", "branches"]
|
|
@@ -271,14 +271,14 @@ const Ut = ["id"], Wt = {
|
|
|
271
271
|
table: {
|
|
272
272
|
rootName: l.name,
|
|
273
273
|
rootValue: t,
|
|
274
|
-
rootToTotal: t /
|
|
274
|
+
rootToTotal: t / L.value,
|
|
275
275
|
branchName: s.name,
|
|
276
276
|
branchValue: s.value,
|
|
277
|
-
branchToTotal: s.value /
|
|
277
|
+
branchToTotal: s.value / L.value,
|
|
278
278
|
branchToRoot: s.value / t,
|
|
279
279
|
nutName: p.name,
|
|
280
280
|
nutValue: p.value,
|
|
281
|
-
nutToTotal: p.value /
|
|
281
|
+
nutToTotal: p.value / L.value,
|
|
282
282
|
nutToRoot: p.value / t,
|
|
283
283
|
nutToBranch: p.value / s.value
|
|
284
284
|
},
|
|
@@ -289,7 +289,7 @@ const Ut = ["id"], Wt = {
|
|
|
289
289
|
branchTotal: s.value >= 0 ? s.value : 0,
|
|
290
290
|
proportionToBranch: p.value / s.value,
|
|
291
291
|
proportionToRoot: p.value / t,
|
|
292
|
-
proportionToTree: p.value /
|
|
292
|
+
proportionToTree: p.value / L.value,
|
|
293
293
|
rootIndex: i,
|
|
294
294
|
id: p.id || `nut_${i}_${b}_${f}_${C.value}`,
|
|
295
295
|
color: xe(p.color) || de.value[f] || R[f] || R[f % R.length],
|
|
@@ -320,12 +320,12 @@ const Ut = ["id"], Wt = {
|
|
|
320
320
|
const i = X.value.find((t) => t.rootIndex === l.rootIndex);
|
|
321
321
|
return { x: i.x, y: i.y, r: i.r };
|
|
322
322
|
}
|
|
323
|
-
const d = z(null), B = z(null), m = z(null),
|
|
323
|
+
const d = z(null), B = z(null), m = z(null), P = z(null);
|
|
324
324
|
function $() {
|
|
325
|
-
d.value = null, m.value = null,
|
|
325
|
+
d.value = null, m.value = null, P.value = null;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
328
|
-
return
|
|
327
|
+
function O(l) {
|
|
328
|
+
return P.value ? P.value === null ? !0 : l.type === "root" ? l.id === P.value.id : l.rootIndex === P.value.rootIndex : d.value === null && m.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? m.value.id === l.id : l.type === "root" ? m.value && m.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
|
|
329
329
|
}
|
|
330
330
|
function nt(l) {
|
|
331
331
|
$(), pe(() => {
|
|
@@ -345,7 +345,7 @@ const Ut = ["id"], Wt = {
|
|
|
345
345
|
m.value && m.value.id === l.id ? (m.value = null, $(), W("selectBranch", null)) : ($(), m.value = l, W("selectBranch", l));
|
|
346
346
|
}
|
|
347
347
|
function Le(l) {
|
|
348
|
-
|
|
348
|
+
P.value && P.value.id === l.id ? ($(), W("selectRoot", null)) : ($(), P.value = l, W("selectRoot", l));
|
|
349
349
|
}
|
|
350
350
|
function rt() {
|
|
351
351
|
return T.value.bottom - (d.value.y1 + 180) < 0 ? 0 : T.value.bottom;
|
|
@@ -385,7 +385,7 @@ const Ut = ["id"], Wt = {
|
|
|
385
385
|
});
|
|
386
386
|
function ye(l = null) {
|
|
387
387
|
pe(() => {
|
|
388
|
-
const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total",
|
|
388
|
+
const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", L.value], [""]], t = v.value.head, s = v.value.body.map((f, k) => [
|
|
389
389
|
v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootName,
|
|
390
390
|
v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootValue,
|
|
391
391
|
v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootToTotal,
|
|
@@ -484,7 +484,7 @@ const Ut = ["id"], Wt = {
|
|
|
484
484
|
}),
|
|
485
485
|
{ datapoint: l }
|
|
486
486
|
)} (${A({
|
|
487
|
-
v: l.total /
|
|
487
|
+
v: l.total / L.value * 100,
|
|
488
488
|
s: "%",
|
|
489
489
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
490
490
|
})})`
|
|
@@ -577,52 +577,59 @@ const Ut = ["id"], Wt = {
|
|
|
577
577
|
}, Be({ _: 2 }, [
|
|
578
578
|
l.$slots.menuIcon ? {
|
|
579
579
|
name: "menuIcon",
|
|
580
|
-
fn:
|
|
581
|
-
|
|
580
|
+
fn: I(({ isOpen: t, color: s }) => [
|
|
581
|
+
N(l.$slots, "menuIcon", ae(oe({ isOpen: t, color: s })), void 0, !0)
|
|
582
582
|
]),
|
|
583
583
|
key: "0"
|
|
584
584
|
} : void 0,
|
|
585
585
|
l.$slots.optionPdf ? {
|
|
586
586
|
name: "optionPdf",
|
|
587
|
-
fn:
|
|
588
|
-
|
|
587
|
+
fn: I(() => [
|
|
588
|
+
N(l.$slots, "optionPdf", {}, void 0, !0)
|
|
589
589
|
]),
|
|
590
590
|
key: "1"
|
|
591
591
|
} : void 0,
|
|
592
592
|
l.$slots.optionCsv ? {
|
|
593
593
|
name: "optionCsv",
|
|
594
|
-
fn:
|
|
595
|
-
|
|
594
|
+
fn: I(() => [
|
|
595
|
+
N(l.$slots, "optionCsv", {}, void 0, !0)
|
|
596
596
|
]),
|
|
597
597
|
key: "2"
|
|
598
598
|
} : void 0,
|
|
599
599
|
l.$slots.optionImg ? {
|
|
600
600
|
name: "optionImg",
|
|
601
|
-
fn:
|
|
602
|
-
|
|
601
|
+
fn: I(() => [
|
|
602
|
+
N(l.$slots, "optionImg", {}, void 0, !0)
|
|
603
603
|
]),
|
|
604
604
|
key: "3"
|
|
605
605
|
} : void 0,
|
|
606
|
+
l.$slots.optionSvg ? {
|
|
607
|
+
name: "optionSvg",
|
|
608
|
+
fn: I(() => [
|
|
609
|
+
N(l.$slots, "optionSvg", {}, void 0, !0)
|
|
610
|
+
]),
|
|
611
|
+
key: "4"
|
|
612
|
+
} : void 0,
|
|
606
613
|
l.$slots.optionTable ? {
|
|
607
614
|
name: "optionTable",
|
|
608
|
-
fn:
|
|
609
|
-
|
|
615
|
+
fn: I(() => [
|
|
616
|
+
N(l.$slots, "optionTable", {}, void 0, !0)
|
|
610
617
|
]),
|
|
611
|
-
key: "
|
|
618
|
+
key: "5"
|
|
612
619
|
} : void 0,
|
|
613
620
|
l.$slots.optionFullscreen ? {
|
|
614
621
|
name: "optionFullscreen",
|
|
615
|
-
fn:
|
|
616
|
-
|
|
622
|
+
fn: I(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
623
|
+
N(l.$slots, "optionFullscreen", ae(oe({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
617
624
|
]),
|
|
618
|
-
key: "
|
|
625
|
+
key: "6"
|
|
619
626
|
} : void 0,
|
|
620
627
|
l.$slots.optionAnnotator ? {
|
|
621
628
|
name: "optionAnnotator",
|
|
622
|
-
fn:
|
|
623
|
-
|
|
629
|
+
fn: I(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
630
|
+
N(l.$slots, "optionAnnotator", ae(oe({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
624
631
|
]),
|
|
625
|
-
key: "
|
|
632
|
+
key: "7"
|
|
626
633
|
} : void 0
|
|
627
634
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
628
635
|
r.value.height > 0 ? (a(), o("svg", {
|
|
@@ -645,7 +652,7 @@ const Ut = ["id"], Wt = {
|
|
|
645
652
|
pointerEvents: "none"
|
|
646
653
|
}
|
|
647
654
|
}, [
|
|
648
|
-
|
|
655
|
+
N(l.$slots, "chart-background", {}, void 0, !0)
|
|
649
656
|
], 8, Ht)) : h("", !0),
|
|
650
657
|
d.value ? h("", !0) : (a(), o("g", qt, [
|
|
651
658
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
@@ -680,7 +687,7 @@ const Ut = ["id"], Wt = {
|
|
|
680
687
|
}, [
|
|
681
688
|
n("stop", {
|
|
682
689
|
offset: "0%",
|
|
683
|
-
"stop-color": u(
|
|
690
|
+
"stop-color": u(F)(u(Me)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
684
691
|
}, null, 8, Zt),
|
|
685
692
|
n("stop", {
|
|
686
693
|
offset: "100%",
|
|
@@ -700,7 +707,7 @@ const Ut = ["id"], Wt = {
|
|
|
700
707
|
}, null, 8, ll),
|
|
701
708
|
n("stop", {
|
|
702
709
|
offset: "100%",
|
|
703
|
-
"stop-color": u(
|
|
710
|
+
"stop-color": u(F)(u(Me)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
704
711
|
}, null, 8, al)
|
|
705
712
|
], 8, tl))), 256)),
|
|
706
713
|
n("radialGradient", {
|
|
@@ -713,15 +720,15 @@ const Ut = ["id"], Wt = {
|
|
|
713
720
|
}, [
|
|
714
721
|
n("stop", {
|
|
715
722
|
offset: "0%",
|
|
716
|
-
"stop-color": u(
|
|
723
|
+
"stop-color": u(F)("#FFFFFF", 0)
|
|
717
724
|
}, null, 8, sl),
|
|
718
725
|
n("stop", {
|
|
719
726
|
offset: "80%",
|
|
720
|
-
"stop-color": u(
|
|
727
|
+
"stop-color": u(F)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
721
728
|
}, null, 8, ul),
|
|
722
729
|
n("stop", {
|
|
723
730
|
offset: "100%",
|
|
724
|
-
"stop-color": u(
|
|
731
|
+
"stop-color": u(F)("#FFFFFF", 0)
|
|
725
732
|
}, null, 8, nl)
|
|
726
733
|
], 8, ol),
|
|
727
734
|
n("radialGradient", {
|
|
@@ -734,15 +741,15 @@ const Ut = ["id"], Wt = {
|
|
|
734
741
|
}, [
|
|
735
742
|
n("stop", {
|
|
736
743
|
offset: "0%",
|
|
737
|
-
"stop-color": u(
|
|
744
|
+
"stop-color": u(F)("#FFFFFF", 0)
|
|
738
745
|
}, null, 8, il),
|
|
739
746
|
n("stop", {
|
|
740
747
|
offset: "80%",
|
|
741
|
-
"stop-color": u(
|
|
748
|
+
"stop-color": u(F)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
742
749
|
}, null, 8, cl),
|
|
743
750
|
n("stop", {
|
|
744
751
|
offset: "100%",
|
|
745
|
-
"stop-color": u(
|
|
752
|
+
"stop-color": u(F)("#FFFFFF", 0)
|
|
746
753
|
}, null, 8, dl)
|
|
747
754
|
], 8, rl),
|
|
748
755
|
n("radialGradient", {
|
|
@@ -755,15 +762,15 @@ const Ut = ["id"], Wt = {
|
|
|
755
762
|
}, [
|
|
756
763
|
n("stop", {
|
|
757
764
|
offset: "0%",
|
|
758
|
-
"stop-color": u(
|
|
765
|
+
"stop-color": u(F)(e.value.style.chart.backgroundColor, 100)
|
|
759
766
|
}, null, 8, yl),
|
|
760
767
|
n("stop", {
|
|
761
768
|
offset: "80%",
|
|
762
|
-
"stop-color": u(
|
|
769
|
+
"stop-color": u(F)(e.value.style.chart.backgroundColor, 60)
|
|
763
770
|
}, null, 8, hl),
|
|
764
771
|
n("stop", {
|
|
765
772
|
offset: "100%",
|
|
766
|
-
"stop-color": u(
|
|
773
|
+
"stop-color": u(F)(e.value.style.chart.backgroundColor, 0)
|
|
767
774
|
}, null, 8, fl)
|
|
768
775
|
], 8, vl)
|
|
769
776
|
]),
|
|
@@ -787,10 +794,10 @@ const Ut = ["id"], Wt = {
|
|
|
787
794
|
onClick: $
|
|
788
795
|
}, c(u(M)(
|
|
789
796
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
790
|
-
|
|
797
|
+
L.value,
|
|
791
798
|
u(A)({
|
|
792
799
|
p: e.value.style.chart.layout.grandTotal.prefix,
|
|
793
|
-
v:
|
|
800
|
+
v: L.value,
|
|
794
801
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
795
802
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
796
803
|
})
|
|
@@ -807,17 +814,17 @@ const Ut = ["id"], Wt = {
|
|
|
807
814
|
}, null, 8, xl),
|
|
808
815
|
n("stop", {
|
|
809
816
|
offset: "100%",
|
|
810
|
-
"stop-color": u(
|
|
817
|
+
"stop-color": u(F)(t.color, e.value.style.chart.layout.links.opacity)
|
|
811
818
|
}, null, 8, ml)
|
|
812
819
|
], 8, _l)
|
|
813
820
|
]),
|
|
814
821
|
n("path", {
|
|
815
822
|
d: ct(t),
|
|
816
|
-
stroke: u(
|
|
823
|
+
stroke: u(F)(t.color, e.value.style.chart.layout.links.opacity),
|
|
817
824
|
fill: `url(#link_grad_${t.id})`,
|
|
818
825
|
"stroke-linecap": "round",
|
|
819
826
|
"stroke-linejoin": "round",
|
|
820
|
-
style: y(`opacity:${
|
|
827
|
+
style: y(`opacity:${O(t) ? 1 : 0}`),
|
|
821
828
|
onClick: $
|
|
822
829
|
}, null, 12, kl)
|
|
823
830
|
]))), 256)),
|
|
@@ -827,7 +834,7 @@ const Ut = ["id"], Wt = {
|
|
|
827
834
|
r: t.r,
|
|
828
835
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
829
836
|
stroke: "none",
|
|
830
|
-
style: y(`cursor:pointer; opacity:${
|
|
837
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`)
|
|
831
838
|
}, null, 12, wl))), 256)),
|
|
832
839
|
(a(!0), o(_, null, x(X.value, (t, s) => (a(), o("circle", {
|
|
833
840
|
cx: t.x,
|
|
@@ -836,7 +843,7 @@ const Ut = ["id"], Wt = {
|
|
|
836
843
|
fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${C.value}_${t.rootIndex})` : t.color,
|
|
837
844
|
stroke: e.value.style.chart.layout.roots.stroke,
|
|
838
845
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
839
|
-
style: y(`cursor:pointer; opacity:${
|
|
846
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
|
|
840
847
|
onClick: (b) => Le(t)
|
|
841
848
|
}, null, 12, Cl))), 256)),
|
|
842
849
|
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", $l, [
|
|
@@ -847,7 +854,7 @@ const Ut = ["id"], Wt = {
|
|
|
847
854
|
"font-size": e.value.style.chart.layout.roots.labels.fontSize,
|
|
848
855
|
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(je)(t.color) : e.value.style.chart.layout.roots.labels.color,
|
|
849
856
|
"font-weight": "bold",
|
|
850
|
-
style: y(`cursor:pointer; opacity:${
|
|
857
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
|
|
851
858
|
onClick: (b) => Le(t)
|
|
852
859
|
}, c(u(M)(
|
|
853
860
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
@@ -861,7 +868,7 @@ const Ut = ["id"], Wt = {
|
|
|
861
868
|
{ datapoint: t }
|
|
862
869
|
)), 13, Tl))), 256)),
|
|
863
870
|
(a(!0), o(_, null, x(X.value, (t) => (a(), o("g", null, [
|
|
864
|
-
d.value && t.rootIndex === d.value.rootIndex || m.value && t.rootIndex === m.value.rootIndex ||
|
|
871
|
+
d.value && t.rootIndex === d.value.rootIndex || m.value && t.rootIndex === m.value.rootIndex || P.value && t.rootIndex === P.value.rootIndex ? (a(), o("g", zl, [
|
|
865
872
|
n("text", {
|
|
866
873
|
x: t.x,
|
|
867
874
|
y: t.y + t.r + 24,
|
|
@@ -882,7 +889,7 @@ const Ut = ["id"], Wt = {
|
|
|
882
889
|
fill: e.value.style.chart.layout.branches.underlayerColor,
|
|
883
890
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
884
891
|
stroke: "none",
|
|
885
|
-
style: y(`opacity:${
|
|
892
|
+
style: y(`opacity:${O(t) ? 1 : 0.05}`),
|
|
886
893
|
onClick: (s) => ve(t)
|
|
887
894
|
}, null, 12, Sl))), 256)),
|
|
888
895
|
(a(!0), o(_, null, x(E.value, (t, s) => (a(), o("rect", {
|
|
@@ -894,7 +901,7 @@ const Ut = ["id"], Wt = {
|
|
|
894
901
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
895
902
|
stroke: e.value.style.chart.layout.branches.stroke,
|
|
896
903
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
897
|
-
style: y(`cursor:pointer; opacity:${
|
|
904
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
|
|
898
905
|
onClick: (b) => ve(t)
|
|
899
906
|
}, null, 12, Nl))), 256)),
|
|
900
907
|
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Fl, [
|
|
@@ -907,7 +914,7 @@ const Ut = ["id"], Wt = {
|
|
|
907
914
|
fill: u(je)(t.color),
|
|
908
915
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
909
916
|
"font-weight": "bold",
|
|
910
|
-
style: y(`cursor:pointer; opacity:${
|
|
917
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
|
|
911
918
|
onClick: (s) => ve(t)
|
|
912
919
|
}, c(u(M)(
|
|
913
920
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
@@ -934,7 +941,7 @@ const Ut = ["id"], Wt = {
|
|
|
934
941
|
stroke: b.color,
|
|
935
942
|
"stroke-width": 10,
|
|
936
943
|
fill: "none",
|
|
937
|
-
style: y(`opacity:${
|
|
944
|
+
style: y(`opacity:${O(t) ? 1 : 0.1}`)
|
|
938
945
|
}, null, 12, Ll))), 256)),
|
|
939
946
|
n("circle", {
|
|
940
947
|
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${C.value})` : "transparent",
|
|
@@ -942,7 +949,7 @@ const Ut = ["id"], Wt = {
|
|
|
942
949
|
cy: t.y1 + r.value.branchSize / 2,
|
|
943
950
|
r: r.value.branchSize / 2 + 2,
|
|
944
951
|
onClick: (b) => nt(t),
|
|
945
|
-
style: y(`cursor:pointer;opacity:${
|
|
952
|
+
style: y(`cursor:pointer;opacity:${O(t) ? 1 : 0.1}`)
|
|
946
953
|
}, null, 12, Pl)
|
|
947
954
|
]))), 256)),
|
|
948
955
|
e.value.style.chart.layout.branches.labels.show && !m.value ? (a(), o("g", Ol, [
|
|
@@ -953,7 +960,7 @@ const Ut = ["id"], Wt = {
|
|
|
953
960
|
"font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
|
|
954
961
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
955
962
|
"text-anchor": "start",
|
|
956
|
-
style: y(`opacity:${
|
|
963
|
+
style: y(`opacity:${O(t) ? 1 : 0.1}`)
|
|
957
964
|
}, c(t.name), 13, Rl))), 256))
|
|
958
965
|
])) : h("", !0),
|
|
959
966
|
n("line", {
|
|
@@ -1002,7 +1009,7 @@ const Ut = ["id"], Wt = {
|
|
|
1002
1009
|
{ datapoint: t }
|
|
1003
1010
|
)), 1),
|
|
1004
1011
|
J(" (" + c(u(A)({
|
|
1005
|
-
v: t.total /
|
|
1012
|
+
v: t.total / L.value * 100,
|
|
1006
1013
|
s: "%",
|
|
1007
1014
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
1008
1015
|
})) + ") ", 1)
|
|
@@ -1257,26 +1264,26 @@ const Ut = ["id"], Wt = {
|
|
|
1257
1264
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1258
1265
|
onClick: $
|
|
1259
1266
|
}, c(u(A)({
|
|
1260
|
-
v: t.value /
|
|
1267
|
+
v: t.value / L.value * 100,
|
|
1261
1268
|
s: "%",
|
|
1262
1269
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1263
1270
|
})) + " " + c(e.value.translations.proportionToTree), 9, ca)) : h("", !0)
|
|
1264
1271
|
]))), 256)),
|
|
1265
|
-
|
|
1272
|
+
N(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1266
1273
|
], 14, Yt)) : h("", !0),
|
|
1267
1274
|
l.$slots.watermark ? (a(), o("div", da, [
|
|
1268
|
-
|
|
1275
|
+
N(l.$slots, "watermark", ae(oe({ isPrinting: u(ze) || u(Ae) })), void 0, !0)
|
|
1269
1276
|
])) : h("", !0),
|
|
1270
|
-
|
|
1277
|
+
N(l.$slots, "legend", { legend: S.value }, void 0, !0),
|
|
1271
1278
|
l.$slots.source ? (a(), o("div", va, [
|
|
1272
|
-
|
|
1279
|
+
N(l.$slots, "source", {}, void 0, !0)
|
|
1273
1280
|
], 512)) : h("", !0),
|
|
1274
1281
|
ke.value && e.value.userOptions.buttons.table ? (a(), le(kt(te.value.component), wt({ key: 6 }, te.value.props, {
|
|
1275
1282
|
ref_key: "tableUnit",
|
|
1276
1283
|
ref: K,
|
|
1277
1284
|
onClose: fe
|
|
1278
1285
|
}), Be({
|
|
1279
|
-
content:
|
|
1286
|
+
content: I(() => [
|
|
1280
1287
|
n("div", {
|
|
1281
1288
|
ref_key: "tableContainer",
|
|
1282
1289
|
ref: Fe,
|
|
@@ -1437,14 +1444,14 @@ const Ut = ["id"], Wt = {
|
|
|
1437
1444
|
}, [
|
|
1438
1445
|
e.value.table.useDialog ? {
|
|
1439
1446
|
name: "title",
|
|
1440
|
-
fn:
|
|
1447
|
+
fn: I(() => [
|
|
1441
1448
|
J(c(te.value.title), 1)
|
|
1442
1449
|
]),
|
|
1443
1450
|
key: "0"
|
|
1444
1451
|
} : void 0,
|
|
1445
1452
|
e.value.table.useDialog ? {
|
|
1446
1453
|
name: "actions",
|
|
1447
|
-
fn:
|
|
1454
|
+
fn: I(() => [
|
|
1448
1455
|
n("button", {
|
|
1449
1456
|
tabindex: "0",
|
|
1450
1457
|
class: "vue-ui-user-options-button",
|
|
@@ -1462,7 +1469,7 @@ const Ut = ["id"], Wt = {
|
|
|
1462
1469
|
u(Ce) ? (a(), le(Rt, { key: 7 })) : h("", !0)
|
|
1463
1470
|
], 46, Ut));
|
|
1464
1471
|
}
|
|
1465
|
-
}, yo = /* @__PURE__ */ Gt(Za, [["__scopeId", "data-v-
|
|
1472
|
+
}, yo = /* @__PURE__ */ Gt(Za, [["__scopeId", "data-v-b231d430"]]);
|
|
1466
1473
|
export {
|
|
1467
1474
|
yo as default
|
|
1468
1475
|
};
|