vue-data-ui 3.4.9 → 3.5.1
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 +114 -37
- package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
- package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
- package/dist/{PackageVersion-CTUqGqWV.js → PackageVersion-DQvyATVa.js} +1 -1
- package/dist/PenAndPaper-SZQIAgkg.js +388 -0
- package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.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-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.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-rating.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-smiley.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/types/vue-data-ui.d.ts +17 -8
- package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
- package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-B_RxfmEm.js} +113 -107
- package/dist/vue-data-ui.js +64 -64
- package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
- package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
- package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
- package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
- package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
- package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
- package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
- package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
- package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
- package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
- package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
- package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
- package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
- package/dist/vue-ui-donut-CxZcJFTo.js +1681 -0
- package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-BVYL-BUJ.js} +480 -444
- package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
- package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-DEI5LRch.js} +339 -319
- package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-B_A5orFg.js} +218 -198
- package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-CUoDRr-O.js} +313 -277
- package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-46tSRZN5.js} +311 -291
- package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
- package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
- package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-C6p_aThr.js} +478 -442
- package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
- package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
- package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-L90GnHee.js} +156 -136
- package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
- package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-D0MCLs5n.js} +597 -557
- package/dist/vue-ui-onion-B7yPJ3gL.js +915 -0
- package/dist/vue-ui-parallel-coordinate-plot-DY21ivNe.js +1051 -0
- package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-b0vMRaq-.js} +532 -495
- package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
- package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-B5Vkoz9M.js} +412 -373
- package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
- package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
- package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CAMNq-p_.js} +517 -481
- package/dist/vue-ui-rings-ImGOqm_J.js +855 -0
- package/dist/vue-ui-scatter-CterNJYe.js +1590 -0
- package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
- package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
- package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
- package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
- package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
- package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
- package/dist/vue-ui-sparkstackbar-BXNy6nuw.js +441 -0
- package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
- package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
- package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-DSsIrT4L.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
- package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
- package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
- package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-BpdCY_wg.js} +3 -3
- package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
- package/dist/vue-ui-treemap-DPE8SY0_.js +1330 -0
- package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-ZU1GCbX0.js} +484 -448
- package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-z7nuSuSV.js} +398 -362
- package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
- package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
- package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-goXYnTyM.js} +287 -267
- package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-NDDbNbds.js} +1263 -1227
- package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-2a6NlQe3.js} +338 -322
- package/package.json +4 -4
- package/dist/PenAndPaper-DSvu9dwa.js +0 -373
- package/dist/vue-ui-chord-CDgzolI-.js +0 -1133
- package/dist/vue-ui-dashboard-CeJwbiON.js +0 -412
- package/dist/vue-ui-donut-DjQXHBJE.js +0 -1645
- package/dist/vue-ui-onion-DTY2p87s.js +0 -873
- package/dist/vue-ui-parallel-coordinate-plot-C8aWTcNn.js +0 -1014
- package/dist/vue-ui-rings-CnTMFK6R.js +0 -813
- package/dist/vue-ui-scatter-fzR2c0St.js +0 -1554
- package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
- package/dist/vue-ui-stackbar-DubS6Pg8.js +0 -1708
- package/dist/vue-ui-thermometer-DTnfnf9z.js +0 -564
- package/dist/vue-ui-tiremarks-CrC_tlIx.js +0 -430
- package/dist/vue-ui-treemap-kyuyi2ES.js +0 -1294
- package/dist/vue-ui-wheel-BasM7FWt.js +0 -643
|
@@ -0,0 +1,915 @@
|
|
|
1
|
+
import { defineAsyncComponent as P, computed as v, ref as r, toRefs as It, watch as E, shallowRef as Ue, onMounted as Pt, onBeforeUnmount as _t, createElementBlock as d, openBlock as u, unref as s, normalizeStyle as R, normalizeClass as q, createBlock as _, createCommentVNode as f, createElementVNode as F, createVNode as ce, withCtx as i, renderSlot as c, normalizeProps as b, guardReactiveProps as k, createSlots as Ee, Fragment as Y, renderList as X, toDisplayString as z, Teleport as Ft, resolveDynamicComponent as Dt, mergeProps as Mt, createTextVNode as Ye, nextTick as Xe } from "vue";
|
|
2
|
+
import { c as Rt, t as Lt, b as zt, p as Ge, e as Bt, o as He, f as ve, h as Nt, d as B, X as Vt, a as de, G as We, P as Ut, Q as Et, H as Yt } from "./lib-C_mNZmhD.js";
|
|
3
|
+
import { t as Xt, u as Gt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Ht, a as je } from "./useNestedProp-DjGXw6S9.js";
|
|
5
|
+
import { u as Wt, B as jt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as qt } from "./usePrinter-DTzqpYKF.js";
|
|
7
|
+
import { u as Qt } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as Jt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as Kt } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as Zt } from "./useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js";
|
|
11
|
+
import ea from "./img-BecE5qXd.js";
|
|
12
|
+
import ta from "./Title-isbiM8i8.js";
|
|
13
|
+
import aa from "./Legend-G6GMcdAc.js";
|
|
14
|
+
import { t as la } from "./themes-AUNCOb2G.js";
|
|
15
|
+
import { _ as oa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const na = ["id"], sa = ["id"], ua = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ca = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], va = ["id"], da = ["stdDeviation"], ha = ["filter"], ga = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], pa = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], fa = { key: 2 }, ma = ["onMouseenter", "onMouseleave", "onClick"], ya = ["x", "y", "font-size", "fill", "font-weight"], ba = {
|
|
17
|
+
key: 4,
|
|
18
|
+
class: "vue-data-ui-watermark"
|
|
19
|
+
}, ka = ["id"], wa = ["onClick"], $a = ["innerHTML"], Ca = {
|
|
20
|
+
__name: "vue-ui-onion",
|
|
21
|
+
props: {
|
|
22
|
+
config: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default() {
|
|
25
|
+
return {};
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
dataset: {
|
|
29
|
+
type: Array,
|
|
30
|
+
default() {
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
emits: ["selectLegend"],
|
|
36
|
+
setup(qe, { expose: Qe, emit: Je }) {
|
|
37
|
+
const Ke = P(() => import("./Tooltip-oWCO1HKy.js")), Ze = P(() => import("./BaseIcon-BmMbm4d0.js")), et = P(() => import("./vue-ui-accordion-CqhVCfc2.js")), tt = P(() => import("./DataTable-BT7VF2ua.js")), at = P(() => import("./UserOptions-CGnQt6Fd.js")), lt = P(() => import("./PenAndPaper-SZQIAgkg.js")), ot = P(() => import("./PackageVersion-DQvyATVa.js")), nt = P(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_onion: st } = Ht(), T = qe, he = v(() => !!T.dataset && T.dataset.length), w = r(Rt()), ut = r(null), ge = r(0), Q = r(!1), J = r(""), m = r([]), x = r(null), pe = r(null), fe = r(null), me = r(null), ye = r(null), be = r(0), ke = r(0), we = r(0), S = r(!1), $e = r(!1), N = r(null), e = r(ee()), { loading: $, FINAL_DATASET: Ce, manualLoading: K } = Wt({
|
|
38
|
+
...It(T),
|
|
39
|
+
FINAL_CONFIG: e,
|
|
40
|
+
prepareConfig: ee,
|
|
41
|
+
callback: () => {
|
|
42
|
+
Promise.resolve().then(async () => {
|
|
43
|
+
await Xe(), Fe();
|
|
44
|
+
});
|
|
45
|
+
},
|
|
46
|
+
skeletonDataset: [
|
|
47
|
+
{ name: "_", percentage: 50, value: 1, color: "#DBDBDB" },
|
|
48
|
+
{ name: "_", percentage: 50, value: 1, color: "#C4C4C4" },
|
|
49
|
+
{ name: "_", percentage: 50, value: 1, color: "#ADADAD" },
|
|
50
|
+
{ name: "_", percentage: 50, value: 1, color: "#969696" }
|
|
51
|
+
],
|
|
52
|
+
skeletonConfig: Lt({
|
|
53
|
+
defaultConfig: e.value,
|
|
54
|
+
userConfig: {
|
|
55
|
+
userOptions: { show: !1 },
|
|
56
|
+
table: { show: !1 },
|
|
57
|
+
style: {
|
|
58
|
+
chart: {
|
|
59
|
+
backgroundColor: "#99999930",
|
|
60
|
+
layout: {
|
|
61
|
+
gutter: {
|
|
62
|
+
color: "#99999950"
|
|
63
|
+
},
|
|
64
|
+
labels: { show: !1 }
|
|
65
|
+
},
|
|
66
|
+
legend: {
|
|
67
|
+
backgroundColor: "transparent"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
})
|
|
73
|
+
}), { userOptionsVisible: Z, setUserOptionsVisibility: Te, keepUserOptionState: xe } = Jt({ config: e.value }), { svgRef: G } = Kt({ config: e.value.style.chart.title });
|
|
74
|
+
function ee() {
|
|
75
|
+
const t = je({
|
|
76
|
+
userConfig: T.config,
|
|
77
|
+
defaultConfig: st
|
|
78
|
+
});
|
|
79
|
+
return t.theme ? {
|
|
80
|
+
...je({
|
|
81
|
+
userConfig: la.vue_ui_onion[t.theme] || T.config,
|
|
82
|
+
defaultConfig: t
|
|
83
|
+
}),
|
|
84
|
+
customPalette: zt[t.theme] || Ge
|
|
85
|
+
} : t;
|
|
86
|
+
}
|
|
87
|
+
E(() => T.config, (t) => {
|
|
88
|
+
$.value || (e.value = ee()), Z.value = !e.value.userOptions.showOnChartHover, _e(), be.value += 1, ke.value += 1, we.value += 1, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
89
|
+
}, { deep: !0 });
|
|
90
|
+
const { isPrinting: Se, isImaging: Oe, generatePdf: Ae, generateImage: Ie } = qt({
|
|
91
|
+
elementId: `vue-ui-onion_${w.value}`,
|
|
92
|
+
fileName: e.value.style.chart.title.text || "vue-ui-onion",
|
|
93
|
+
options: e.value.userOptions.print
|
|
94
|
+
}), rt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), it = v(() => Bt(e.value.customPalette)), y = r({
|
|
95
|
+
showTable: e.value.table.show,
|
|
96
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
97
|
+
});
|
|
98
|
+
E(e, () => {
|
|
99
|
+
y.value = {
|
|
100
|
+
showTable: e.value.table.show,
|
|
101
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
102
|
+
};
|
|
103
|
+
}, { immediate: !0 });
|
|
104
|
+
const n = r({
|
|
105
|
+
height: 512,
|
|
106
|
+
width: 512,
|
|
107
|
+
padding: {
|
|
108
|
+
top: 64,
|
|
109
|
+
left: 64,
|
|
110
|
+
right: 64,
|
|
111
|
+
bottom: 64
|
|
112
|
+
},
|
|
113
|
+
minRadius: 64
|
|
114
|
+
}), A = Ue(null), L = Ue(null);
|
|
115
|
+
Pt(() => {
|
|
116
|
+
$e.value = !0, _e();
|
|
117
|
+
});
|
|
118
|
+
const ct = v({
|
|
119
|
+
get: () => e.value.style.chart.layout.labels.fontSize,
|
|
120
|
+
set: (t) => t
|
|
121
|
+
}), { autoSizeLabels: Pe } = Zt({
|
|
122
|
+
svgRef: G,
|
|
123
|
+
fontSize: e.value.style.chart.layout.labels.fontSize,
|
|
124
|
+
minFontSize: e.value.style.chart.layout.labels.minFontSize,
|
|
125
|
+
sizeRef: ct,
|
|
126
|
+
labelClass: ".vue-ui-onion-label"
|
|
127
|
+
}), vt = v(() => e.value.debug);
|
|
128
|
+
let te = null;
|
|
129
|
+
function _e() {
|
|
130
|
+
if (He(T.dataset) && (ve({
|
|
131
|
+
componentName: "VueUiOnion",
|
|
132
|
+
type: "dataset",
|
|
133
|
+
debug: vt.value
|
|
134
|
+
}), K.value = !0), He(T.dataset) || (K.value = e.value.loading), e.value.responsive) {
|
|
135
|
+
const l = Xt(() => {
|
|
136
|
+
te && clearTimeout(te), S.value = !0;
|
|
137
|
+
let { width: a, height: o } = Gt({
|
|
138
|
+
chart: x.value,
|
|
139
|
+
title: e.value.style.chart.title.text ? pe.value : null,
|
|
140
|
+
legend: e.value.style.chart.legend.show ? fe.value : null,
|
|
141
|
+
source: me.value,
|
|
142
|
+
noTitle: ye.value
|
|
143
|
+
});
|
|
144
|
+
o -= 12, requestAnimationFrame(async () => {
|
|
145
|
+
n.value.width = a, n.value.height = o, n.value.padding.top = Math.max(a, o) * 0.125, n.value.padding.right = Math.max(a, o) * 0.125, n.value.padding.bottom = Math.max(a, o) * 0.125, n.value.padding.left = Math.max(a, o) * 0.125, n.value.minRadius = Math.min(a, o) * 0.125, te = setTimeout(() => {
|
|
146
|
+
S.value = !1, Pe();
|
|
147
|
+
}, 0);
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
A.value && (L.value && A.value.unobserve(L.value), A.value.disconnect()), A.value = new ResizeObserver(l), L.value = x.value.parentNode, A.value.observe(L.value);
|
|
151
|
+
}
|
|
152
|
+
requestAnimationFrame(Pe);
|
|
153
|
+
}
|
|
154
|
+
_t(() => {
|
|
155
|
+
A.value && (L.value && A.value.unobserve(L.value), A.value.disconnect());
|
|
156
|
+
});
|
|
157
|
+
const g = v(() => ({
|
|
158
|
+
top: n.value.padding.top,
|
|
159
|
+
left: n.value.padding.left,
|
|
160
|
+
right: n.value.width - n.value.padding.right,
|
|
161
|
+
bottom: n.value.height - n.value.padding.bottom,
|
|
162
|
+
centerX: n.value.width / 2,
|
|
163
|
+
centerY: n.value.height / 2,
|
|
164
|
+
width: n.value.width - n.value.padding.right - n.value.padding.left,
|
|
165
|
+
height: n.value.height - n.value.padding.bottom - n.value.padding.top,
|
|
166
|
+
minRadius: n.value.minRadius,
|
|
167
|
+
maxRadius: Math.min(n.value.width, n.value.height) - n.value.padding.top * 2
|
|
168
|
+
})), p = v(() => (Ce.value.forEach((t, l) => {
|
|
169
|
+
[null, void 0].includes(t.name) && ve({
|
|
170
|
+
componentName: "VueUiOnion",
|
|
171
|
+
type: "datasetSerieAttribute",
|
|
172
|
+
property: "name",
|
|
173
|
+
index: l
|
|
174
|
+
}), [void 0].includes(t.percentage) && ve({
|
|
175
|
+
componentName: "VueUiOnion",
|
|
176
|
+
type: "datasetSerieAttribute",
|
|
177
|
+
property: "percentage",
|
|
178
|
+
index: l
|
|
179
|
+
});
|
|
180
|
+
}), Ce.value.map((t, l) => {
|
|
181
|
+
const a = `onion_serie_${l}_${w.value}`;
|
|
182
|
+
return {
|
|
183
|
+
...t,
|
|
184
|
+
percentage: t.percentage || 0,
|
|
185
|
+
targetPercentage: t.percentage || 0,
|
|
186
|
+
color: Nt(t.color) || it.value[l] || Ge[l],
|
|
187
|
+
id: a,
|
|
188
|
+
shape: "circle",
|
|
189
|
+
opacity: m.value.includes(a) ? 0.5 : 1,
|
|
190
|
+
absoluteIndex: l,
|
|
191
|
+
segregate: () => H(a),
|
|
192
|
+
isSegregated: m.value.includes(a)
|
|
193
|
+
};
|
|
194
|
+
}))), ae = v(() => p.value.map((t, l) => ({
|
|
195
|
+
...t,
|
|
196
|
+
display: `${t.name ? t.name + ": " : ""}${B({
|
|
197
|
+
v: t.percentage ?? 0,
|
|
198
|
+
s: "%",
|
|
199
|
+
r: e.value.style.chart.legend.roundingPercentage
|
|
200
|
+
})}`
|
|
201
|
+
}))), V = r(p.value), dt = v(() => e.value.useStartAnimation), ht = r(null), gt = v(() => Math.max(...p.value.map((t) => t.percentage))), le = r(!1);
|
|
202
|
+
E(() => p.value, Fe, { immediate: !0, deep: !0 }), E(() => T.dataset, (t) => {
|
|
203
|
+
Array.isArray(t) && t.length > 0 && (K.value = !1);
|
|
204
|
+
}, { deep: !0 });
|
|
205
|
+
function Fe() {
|
|
206
|
+
if (dt.value && !le.value && !$.value) {
|
|
207
|
+
let l = function() {
|
|
208
|
+
t >= gt.value ? (cancelAnimationFrame(ht.value), V.value = p.value, le.value = !0) : (V.value = p.value.map((a) => ({
|
|
209
|
+
...a,
|
|
210
|
+
percentage: t < a.targetPercentage ? t : a.targetPercentage
|
|
211
|
+
})), t += 1, requestAnimationFrame(l), le.value = !0);
|
|
212
|
+
};
|
|
213
|
+
V.value = p.value.map((a) => ({
|
|
214
|
+
...a,
|
|
215
|
+
percentage: 0
|
|
216
|
+
}));
|
|
217
|
+
let t = 0;
|
|
218
|
+
l();
|
|
219
|
+
} else
|
|
220
|
+
V.value = p.value;
|
|
221
|
+
}
|
|
222
|
+
const pt = v(() => ({
|
|
223
|
+
cy: "onion-div-legend",
|
|
224
|
+
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
225
|
+
color: e.value.style.chart.legend.color,
|
|
226
|
+
fontSize: e.value.style.chart.legend.fontSize,
|
|
227
|
+
paddingBottom: 12,
|
|
228
|
+
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
229
|
+
})), ft = v(() => p.value.filter((t) => !m.value.includes(t.id)).length), D = v(() => {
|
|
230
|
+
const t = Math.min(g.value.width, g.value.height) / 2 / p.value.length;
|
|
231
|
+
return {
|
|
232
|
+
gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
|
|
233
|
+
track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
|
|
234
|
+
};
|
|
235
|
+
}), O = v(() => V.value.filter((t) => !m.value.includes(t.id)).map((t, l) => {
|
|
236
|
+
const a = (g.value.maxRadius - D.value.track) / ft.value / 2 * (1 + l), o = g.value.centerY - a;
|
|
237
|
+
return {
|
|
238
|
+
percentage: t.percentage || 0,
|
|
239
|
+
...t,
|
|
240
|
+
labelY: o,
|
|
241
|
+
radius: a,
|
|
242
|
+
path: mt(a, t.percentage || 0)
|
|
243
|
+
};
|
|
244
|
+
}));
|
|
245
|
+
function mt(t, l) {
|
|
246
|
+
const a = 2 * Math.PI * t, o = a * 0.75, h = `${o} ${a}`, C = o * (1 - l / 100);
|
|
247
|
+
return {
|
|
248
|
+
bgDashArray: `${o} ${a}`,
|
|
249
|
+
bgDashOffset: 0,
|
|
250
|
+
dashArray: h,
|
|
251
|
+
dashOffset: C,
|
|
252
|
+
fullOffset: 0,
|
|
253
|
+
active: `
|
|
254
|
+
M ${g.value.centerX},${g.value.centerY - t}
|
|
255
|
+
A ${t},${t} 0 1 1
|
|
256
|
+
${g.value.centerX + t * Math.cos(Math.PI * 3 / 4)},${g.value.centerY + t * Math.sin(Math.PI * 3 / 4)}
|
|
257
|
+
`.trim()
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
const yt = Je;
|
|
261
|
+
function H(t) {
|
|
262
|
+
if (m.value.includes(t))
|
|
263
|
+
m.value = m.value.filter((l) => l !== t);
|
|
264
|
+
else {
|
|
265
|
+
if (m.value.length === p.value.length - 1) return;
|
|
266
|
+
m.value.push(t);
|
|
267
|
+
}
|
|
268
|
+
yt("selectLegend", O.value);
|
|
269
|
+
}
|
|
270
|
+
function De(t) {
|
|
271
|
+
if (!p.value.length)
|
|
272
|
+
return e.value.debug && console.warn("VueUiOnion - There are no series to show."), null;
|
|
273
|
+
const l = p.value.find((a) => a.name === t);
|
|
274
|
+
return l || (e.value.debug && console.warn(`VueUiOnion - Series name not found "${t}"`), null);
|
|
275
|
+
}
|
|
276
|
+
function bt(t) {
|
|
277
|
+
const l = De(t);
|
|
278
|
+
l !== null && m.value.includes(l.id) && H(l.id);
|
|
279
|
+
}
|
|
280
|
+
function kt(t) {
|
|
281
|
+
const l = De(t);
|
|
282
|
+
l !== null && (m.value.includes(l.id) || H(l.id));
|
|
283
|
+
}
|
|
284
|
+
function wt() {
|
|
285
|
+
return O.value;
|
|
286
|
+
}
|
|
287
|
+
const oe = v(() => {
|
|
288
|
+
const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], l = O.value.map((a) => [
|
|
289
|
+
a.name,
|
|
290
|
+
a.percentage,
|
|
291
|
+
a.value
|
|
292
|
+
]);
|
|
293
|
+
return { head: t, body: l };
|
|
294
|
+
}), W = v(() => {
|
|
295
|
+
const t = oe.value.head, l = O.value.map((o) => [
|
|
296
|
+
`<span style="color:${o.color}">⬤</span> ${o.name}`,
|
|
297
|
+
`${Number(o.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
|
|
298
|
+
`${o.prefix || ""}${[null, void 0, NaN, "NaN"].includes(o.value) ? "-" : o.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${o.suffix || ""}`
|
|
299
|
+
]), a = {
|
|
300
|
+
th: {
|
|
301
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
302
|
+
color: e.value.table.th.color,
|
|
303
|
+
outline: e.value.table.th.outline
|
|
304
|
+
},
|
|
305
|
+
td: {
|
|
306
|
+
backgroundColor: e.value.table.td.backgroundColor,
|
|
307
|
+
color: e.value.table.td.color,
|
|
308
|
+
outline: e.value.table.td.outline
|
|
309
|
+
},
|
|
310
|
+
breakpoint: e.value.table.responsiveBreakpoint
|
|
311
|
+
};
|
|
312
|
+
return { head: t, body: l, config: a, colNames: t };
|
|
313
|
+
});
|
|
314
|
+
function ne(t = null) {
|
|
315
|
+
Xe(() => {
|
|
316
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = oe.value.head, o = oe.value.body, h = l.concat([a]).concat(o), C = Ut(h);
|
|
317
|
+
t ? t(C) : Et({ csvContent: C, title: e.value.style.chart.title.text || "vue-ui-onion" });
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
const I = r(void 0), M = r(!1);
|
|
321
|
+
function Me(t) {
|
|
322
|
+
M.value = t, ge.value += 1;
|
|
323
|
+
}
|
|
324
|
+
function Re({ datapoint: t }) {
|
|
325
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
326
|
+
}
|
|
327
|
+
function Le({ datapoint: t }) {
|
|
328
|
+
I.value = void 0, Q.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
329
|
+
}
|
|
330
|
+
const se = r(null);
|
|
331
|
+
function ze({ datapoint: t, seriesIndex: l, show: a = !0 }) {
|
|
332
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
333
|
+
const o = t.absoluteIndex;
|
|
334
|
+
I.value = l, se.value = {
|
|
335
|
+
datapoint: t,
|
|
336
|
+
seriesIndex: o,
|
|
337
|
+
series: p.value,
|
|
338
|
+
config: e.value
|
|
339
|
+
}, Q.value = a;
|
|
340
|
+
let h = "";
|
|
341
|
+
const C = e.value.style.chart.tooltip.customFormat;
|
|
342
|
+
if (We(C) && Yt(() => C({
|
|
343
|
+
seriesIndex: o,
|
|
344
|
+
datapoint: t,
|
|
345
|
+
series: p.value,
|
|
346
|
+
config: e.value
|
|
347
|
+
})))
|
|
348
|
+
J.value = C({
|
|
349
|
+
seriesIndex: o,
|
|
350
|
+
datapoint: t,
|
|
351
|
+
series: p.value,
|
|
352
|
+
config: e.value
|
|
353
|
+
});
|
|
354
|
+
else {
|
|
355
|
+
const re = e.value.style.chart.tooltip.showPercentage, ie = e.value.style.chart.tooltip.showValue;
|
|
356
|
+
h += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span></span>${t.name}</span></div>`, h += `<div style="width:100%;text-align:left;"><b>${re ? B({ p: "", v: t.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${re && ie ? "(" : ""}${ie ? de(
|
|
357
|
+
e.value.style.chart.layout.labels.value.formatter,
|
|
358
|
+
t.value,
|
|
359
|
+
B({
|
|
360
|
+
p: t.prefix || "",
|
|
361
|
+
v: t.value,
|
|
362
|
+
s: t.suffix || "",
|
|
363
|
+
r: e.value.style.chart.tooltip.roundingValue
|
|
364
|
+
}),
|
|
365
|
+
{ datapoint: t, seriesIndex: l }
|
|
366
|
+
) : ""}${re && ie ? ")" : ""}</div>`, J.value = `<div>${h}</div>`;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
function Be() {
|
|
370
|
+
y.value.showTable = !y.value.showTable;
|
|
371
|
+
}
|
|
372
|
+
function Ne() {
|
|
373
|
+
y.value.showTooltip = !y.value.showTooltip;
|
|
374
|
+
}
|
|
375
|
+
const j = r(!1);
|
|
376
|
+
function ue() {
|
|
377
|
+
j.value = !j.value;
|
|
378
|
+
}
|
|
379
|
+
async function $t({ scale: t = 2 } = {}) {
|
|
380
|
+
if (!x.value) return;
|
|
381
|
+
const { width: l, height: a } = x.value.getBoundingClientRect(), o = l / a, { imageUri: h, base64: C } = await ea({ domElement: x.value, base64: !0, img: !0, scale: t });
|
|
382
|
+
return {
|
|
383
|
+
imageUri: h,
|
|
384
|
+
base64: C,
|
|
385
|
+
title: e.value.style.chart.title.text,
|
|
386
|
+
width: l,
|
|
387
|
+
height: a,
|
|
388
|
+
aspectRatio: o
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
const U = v(() => {
|
|
392
|
+
const t = e.value.table.useDialog && !e.value.table.show, l = y.value.showTable;
|
|
393
|
+
return {
|
|
394
|
+
component: t ? nt : et,
|
|
395
|
+
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
396
|
+
props: t ? {
|
|
397
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
398
|
+
color: e.value.table.th.color,
|
|
399
|
+
headerColor: e.value.table.th.color,
|
|
400
|
+
headerBg: e.value.table.th.backgroundColor,
|
|
401
|
+
isFullscreen: M.value,
|
|
402
|
+
fullscreenParent: x.value,
|
|
403
|
+
forcedWidth: Math.min(600, window.innerWidth * 0.8)
|
|
404
|
+
} : {
|
|
405
|
+
hideDetails: !0,
|
|
406
|
+
config: {
|
|
407
|
+
open: l,
|
|
408
|
+
maxHeight: 1e4,
|
|
409
|
+
body: {
|
|
410
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
411
|
+
color: e.value.style.chart.color
|
|
412
|
+
},
|
|
413
|
+
head: {
|
|
414
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
415
|
+
color: e.value.style.chart.color
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
});
|
|
421
|
+
E(() => y.value.showTable, (t) => {
|
|
422
|
+
e.value.table.show || (t && e.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
|
|
423
|
+
});
|
|
424
|
+
const Ct = v(() => ae.value.map((t) => ({
|
|
425
|
+
...t,
|
|
426
|
+
name: t.display
|
|
427
|
+
}))), Tt = v(() => e.value.style.chart.backgroundColor), xt = v(() => e.value.style.chart.legend), St = v(() => e.value.style.chart.title), { exportSvg: Ot, getSvg: At } = Qt({
|
|
428
|
+
svg: G,
|
|
429
|
+
title: St,
|
|
430
|
+
legend: xt,
|
|
431
|
+
legendItems: Ct,
|
|
432
|
+
backgroundColor: Tt
|
|
433
|
+
});
|
|
434
|
+
async function Ve({ isCb: t }) {
|
|
435
|
+
if (t) {
|
|
436
|
+
const { blob: l, url: a, text: o, dataUrl: h } = await At();
|
|
437
|
+
e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: h });
|
|
438
|
+
} else
|
|
439
|
+
Ot();
|
|
440
|
+
}
|
|
441
|
+
return Qe({
|
|
442
|
+
getData: wt,
|
|
443
|
+
getImage: $t,
|
|
444
|
+
generatePdf: Ae,
|
|
445
|
+
generateCsv: ne,
|
|
446
|
+
generateImage: Ie,
|
|
447
|
+
generateSvg: Ve,
|
|
448
|
+
hideSeries: kt,
|
|
449
|
+
showSeries: bt,
|
|
450
|
+
toggleTable: Be,
|
|
451
|
+
toggleTooltip: Ne,
|
|
452
|
+
toggleAnnotator: ue,
|
|
453
|
+
toggleFullscreen: Me
|
|
454
|
+
}), (t, l) => (u(), d("div", {
|
|
455
|
+
class: q(`vue-data-ui-component vue-ui-onion ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
456
|
+
ref_key: "onionChart",
|
|
457
|
+
ref: x,
|
|
458
|
+
id: `vue-ui-onion_${w.value}`,
|
|
459
|
+
style: R(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
460
|
+
onMouseenter: l[4] || (l[4] = () => s(Te)(!0)),
|
|
461
|
+
onMouseleave: l[5] || (l[5] = () => s(Te)(!1))
|
|
462
|
+
}, [
|
|
463
|
+
e.value.userOptions.buttons.annotator ? (u(), _(s(lt), {
|
|
464
|
+
key: 0,
|
|
465
|
+
svgRef: s(G),
|
|
466
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
467
|
+
color: e.value.style.chart.color,
|
|
468
|
+
active: j.value,
|
|
469
|
+
onClose: ue
|
|
470
|
+
}, {
|
|
471
|
+
"annotator-action-close": i(() => [
|
|
472
|
+
c(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
473
|
+
]),
|
|
474
|
+
"annotator-action-color": i(({ color: a }) => [
|
|
475
|
+
c(t.$slots, "annotator-action-color", b(k({ color: a })), void 0, !0)
|
|
476
|
+
]),
|
|
477
|
+
"annotator-action-draw": i(({ mode: a }) => [
|
|
478
|
+
c(t.$slots, "annotator-action-draw", b(k({ mode: a })), void 0, !0)
|
|
479
|
+
]),
|
|
480
|
+
"annotator-action-undo": i(({ disabled: a }) => [
|
|
481
|
+
c(t.$slots, "annotator-action-undo", b(k({ disabled: a })), void 0, !0)
|
|
482
|
+
]),
|
|
483
|
+
"annotator-action-redo": i(({ disabled: a }) => [
|
|
484
|
+
c(t.$slots, "annotator-action-redo", b(k({ disabled: a })), void 0, !0)
|
|
485
|
+
]),
|
|
486
|
+
"annotator-action-delete": i(({ disabled: a }) => [
|
|
487
|
+
c(t.$slots, "annotator-action-delete", b(k({ disabled: a })), void 0, !0)
|
|
488
|
+
]),
|
|
489
|
+
_: 3
|
|
490
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
491
|
+
rt.value ? (u(), d("div", {
|
|
492
|
+
key: 1,
|
|
493
|
+
ref_key: "noTitle",
|
|
494
|
+
ref: ye,
|
|
495
|
+
class: "vue-data-ui-no-title-space",
|
|
496
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
497
|
+
}, null, 512)) : f("", !0),
|
|
498
|
+
e.value.style.chart.title.text ? (u(), d("div", {
|
|
499
|
+
key: 2,
|
|
500
|
+
ref_key: "chartTitle",
|
|
501
|
+
ref: pe,
|
|
502
|
+
style: "width:100%;background:transparent"
|
|
503
|
+
}, [
|
|
504
|
+
(u(), _(ta, {
|
|
505
|
+
key: `title_${be.value}`,
|
|
506
|
+
config: {
|
|
507
|
+
title: {
|
|
508
|
+
cy: "onion-div-title",
|
|
509
|
+
...e.value.style.chart.title
|
|
510
|
+
},
|
|
511
|
+
subtitle: {
|
|
512
|
+
cy: "onion-div-subtitle",
|
|
513
|
+
...e.value.style.chart.title.subtitle
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}, null, 8, ["config"]))
|
|
517
|
+
], 512)) : f("", !0),
|
|
518
|
+
F("div", {
|
|
519
|
+
id: `legend-top-${w.value}`
|
|
520
|
+
}, null, 8, sa),
|
|
521
|
+
e.value.userOptions.show && he.value && (s(xe) || s(Z)) ? (u(), _(s(at), {
|
|
522
|
+
ref_key: "details",
|
|
523
|
+
ref: ut,
|
|
524
|
+
key: `user_options${ge.value}`,
|
|
525
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
526
|
+
color: e.value.style.chart.color,
|
|
527
|
+
isImaging: s(Oe),
|
|
528
|
+
isPrinting: s(Se),
|
|
529
|
+
uid: w.value,
|
|
530
|
+
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
531
|
+
hasPdf: e.value.userOptions.buttons.pdf,
|
|
532
|
+
hasImg: e.value.userOptions.buttons.img,
|
|
533
|
+
hasSvg: e.value.userOptions.buttons.svg,
|
|
534
|
+
hasXls: e.value.userOptions.buttons.csv,
|
|
535
|
+
hasTable: e.value.userOptions.buttons.table,
|
|
536
|
+
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
537
|
+
isFullscreen: M.value,
|
|
538
|
+
isTooltip: y.value.showTooltip,
|
|
539
|
+
titles: { ...e.value.userOptions.buttonTitles },
|
|
540
|
+
chartElement: x.value,
|
|
541
|
+
position: e.value.userOptions.position,
|
|
542
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
543
|
+
isAnnotation: j.value,
|
|
544
|
+
callbacks: e.value.userOptions.callbacks,
|
|
545
|
+
printScale: e.value.userOptions.print.scale,
|
|
546
|
+
tableDialog: e.value.table.useDialog,
|
|
547
|
+
onToggleFullscreen: Me,
|
|
548
|
+
onGeneratePdf: s(Ae),
|
|
549
|
+
onGenerateCsv: ne,
|
|
550
|
+
onGenerateImage: s(Ie),
|
|
551
|
+
onGenerateSvg: Ve,
|
|
552
|
+
onToggleTable: Be,
|
|
553
|
+
onToggleTooltip: Ne,
|
|
554
|
+
onToggleAnnotator: ue,
|
|
555
|
+
style: R({
|
|
556
|
+
visibility: s(xe) ? s(Z) ? "visible" : "hidden" : "visible"
|
|
557
|
+
})
|
|
558
|
+
}, Ee({ _: 2 }, [
|
|
559
|
+
t.$slots.menuIcon ? {
|
|
560
|
+
name: "menuIcon",
|
|
561
|
+
fn: i(({ isOpen: a, color: o }) => [
|
|
562
|
+
c(t.$slots, "menuIcon", b(k({ isOpen: a, color: o })), void 0, !0)
|
|
563
|
+
]),
|
|
564
|
+
key: "0"
|
|
565
|
+
} : void 0,
|
|
566
|
+
t.$slots.optionTooltip ? {
|
|
567
|
+
name: "optionTooltip",
|
|
568
|
+
fn: i(() => [
|
|
569
|
+
c(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
570
|
+
]),
|
|
571
|
+
key: "1"
|
|
572
|
+
} : void 0,
|
|
573
|
+
t.$slots.optionPdf ? {
|
|
574
|
+
name: "optionPdf",
|
|
575
|
+
fn: i(() => [
|
|
576
|
+
c(t.$slots, "optionPdf", {}, void 0, !0)
|
|
577
|
+
]),
|
|
578
|
+
key: "2"
|
|
579
|
+
} : void 0,
|
|
580
|
+
t.$slots.optionCsv ? {
|
|
581
|
+
name: "optionCsv",
|
|
582
|
+
fn: i(() => [
|
|
583
|
+
c(t.$slots, "optionCsv", {}, void 0, !0)
|
|
584
|
+
]),
|
|
585
|
+
key: "3"
|
|
586
|
+
} : void 0,
|
|
587
|
+
t.$slots.optionImg ? {
|
|
588
|
+
name: "optionImg",
|
|
589
|
+
fn: i(() => [
|
|
590
|
+
c(t.$slots, "optionImg", {}, void 0, !0)
|
|
591
|
+
]),
|
|
592
|
+
key: "4"
|
|
593
|
+
} : void 0,
|
|
594
|
+
t.$slots.optionSvg ? {
|
|
595
|
+
name: "optionSvg",
|
|
596
|
+
fn: i(() => [
|
|
597
|
+
c(t.$slots, "optionSvg", {}, void 0, !0)
|
|
598
|
+
]),
|
|
599
|
+
key: "5"
|
|
600
|
+
} : void 0,
|
|
601
|
+
t.$slots.optionTable ? {
|
|
602
|
+
name: "optionTable",
|
|
603
|
+
fn: i(() => [
|
|
604
|
+
c(t.$slots, "optionTable", {}, void 0, !0)
|
|
605
|
+
]),
|
|
606
|
+
key: "6"
|
|
607
|
+
} : void 0,
|
|
608
|
+
t.$slots.optionFullscreen ? {
|
|
609
|
+
name: "optionFullscreen",
|
|
610
|
+
fn: i(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
611
|
+
c(t.$slots, "optionFullscreen", b(k({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
612
|
+
]),
|
|
613
|
+
key: "7"
|
|
614
|
+
} : void 0,
|
|
615
|
+
t.$slots.optionAnnotator ? {
|
|
616
|
+
name: "optionAnnotator",
|
|
617
|
+
fn: i(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
618
|
+
c(t.$slots, "optionAnnotator", b(k({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
619
|
+
]),
|
|
620
|
+
key: "8"
|
|
621
|
+
} : void 0
|
|
622
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
623
|
+
(u(), d("svg", {
|
|
624
|
+
ref_key: "svgRef",
|
|
625
|
+
ref: G,
|
|
626
|
+
xmlns: s(Vt),
|
|
627
|
+
class: q({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value, resizing: S.value }),
|
|
628
|
+
viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
|
|
629
|
+
style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
630
|
+
}, [
|
|
631
|
+
ce(s(ot)),
|
|
632
|
+
t.$slots["chart-background"] ? (u(), d("foreignObject", {
|
|
633
|
+
key: 0,
|
|
634
|
+
x: 0,
|
|
635
|
+
y: 0,
|
|
636
|
+
width: n.value.width <= 0 ? 10 : n.value.width,
|
|
637
|
+
height: n.value.height <= 0 ? 10 : n.value.height,
|
|
638
|
+
style: {
|
|
639
|
+
pointerEvents: "none"
|
|
640
|
+
}
|
|
641
|
+
}, [
|
|
642
|
+
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
643
|
+
], 8, ra)) : f("", !0),
|
|
644
|
+
(u(!0), d(Y, null, X(O.value, (a, o) => (u(), d("circle", {
|
|
645
|
+
cx: g.value.centerX,
|
|
646
|
+
cy: g.value.centerY,
|
|
647
|
+
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
648
|
+
stroke: e.value.style.chart.layout.gutter.color,
|
|
649
|
+
"stroke-width": D.value.gutter,
|
|
650
|
+
fill: "none",
|
|
651
|
+
"stroke-dasharray": a.path.bgDashArray,
|
|
652
|
+
"stroke-dashoffset": a.path.fullOffset,
|
|
653
|
+
"stroke-linecap": "round",
|
|
654
|
+
class: q({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(I.value) && I.value !== o }),
|
|
655
|
+
style: R({
|
|
656
|
+
transform: "rotate(-90deg)",
|
|
657
|
+
transformOrigin: "50% 50%",
|
|
658
|
+
transition: S.value || s($) ? "none" : "all 0.3s ease-in-out !important",
|
|
659
|
+
animation: S.value || s($) ? "none" : "xyAnimation 0.5s ease-in"
|
|
660
|
+
})
|
|
661
|
+
}, null, 14, ia))), 256)),
|
|
662
|
+
(u(!0), d(Y, null, X(O.value, (a, o) => (u(), d("circle", {
|
|
663
|
+
cx: g.value.centerX,
|
|
664
|
+
cy: g.value.centerY,
|
|
665
|
+
r: a.radius < 0 ? 1e-4 : a.radius,
|
|
666
|
+
stroke: `${a.color}`,
|
|
667
|
+
"stroke-width": D.value.track,
|
|
668
|
+
fill: "none",
|
|
669
|
+
"stroke-dasharray": a.path.dashArray,
|
|
670
|
+
"stroke-dashoffset": a.path.dashOffset,
|
|
671
|
+
class: q({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(I.value) && I.value !== o }),
|
|
672
|
+
"stroke-linecap": "round",
|
|
673
|
+
style: R({
|
|
674
|
+
transform: "rotate(-90deg)",
|
|
675
|
+
transformOrigin: "50% 50%",
|
|
676
|
+
transition: S.value || s($) ? "none" : "all 0.3s ease-in-out !important",
|
|
677
|
+
animation: S.value || s($) ? "none" : "xyAnimation 0.5s ease-in"
|
|
678
|
+
})
|
|
679
|
+
}, null, 14, ca))), 256)),
|
|
680
|
+
F("defs", null, [
|
|
681
|
+
F("filter", {
|
|
682
|
+
id: `blur_${w.value}`,
|
|
683
|
+
x: "-50%",
|
|
684
|
+
y: "-50%",
|
|
685
|
+
width: "200%",
|
|
686
|
+
height: "200%"
|
|
687
|
+
}, [
|
|
688
|
+
F("feGaussianBlur", {
|
|
689
|
+
in: "SourceGraphic",
|
|
690
|
+
stdDeviation: 100 / e.value.style.chart.gradientIntensity
|
|
691
|
+
}, null, 8, da)
|
|
692
|
+
], 8, va)
|
|
693
|
+
]),
|
|
694
|
+
e.value.style.chart.useGradient ? (u(), d("g", {
|
|
695
|
+
key: 1,
|
|
696
|
+
filter: `url(#blur_${w.value})`
|
|
697
|
+
}, [
|
|
698
|
+
(u(!0), d(Y, null, X(O.value, (a, o) => (u(), d("circle", {
|
|
699
|
+
cx: g.value.centerX,
|
|
700
|
+
cy: g.value.centerY,
|
|
701
|
+
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
702
|
+
stroke: "white",
|
|
703
|
+
"stroke-width": D.value.track / 3,
|
|
704
|
+
fill: "none",
|
|
705
|
+
"stroke-linecap": "round",
|
|
706
|
+
"stroke-dasharray": a.path.dashArray,
|
|
707
|
+
"stroke-dashoffset": a.path.dashOffset,
|
|
708
|
+
style: R({
|
|
709
|
+
transform: "rotate(-90deg)",
|
|
710
|
+
transformOrigin: "50% 50%",
|
|
711
|
+
transition: S.value || s($) ? "none" : "all 0.3s ease-in-out !important",
|
|
712
|
+
animation: S.value || s($) ? "none" : "xyAnimation 0.5s ease-in"
|
|
713
|
+
})
|
|
714
|
+
}, null, 12, ga))), 256))
|
|
715
|
+
], 8, ha)) : f("", !0),
|
|
716
|
+
(u(!0), d(Y, null, X(O.value, (a, o) => (u(), d("circle", {
|
|
717
|
+
cx: g.value.centerX,
|
|
718
|
+
cy: g.value.centerY,
|
|
719
|
+
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
720
|
+
stroke: "transparent",
|
|
721
|
+
"stroke-width": Math.max(D.value.track, D.value.gutter),
|
|
722
|
+
fill: "none",
|
|
723
|
+
"stroke-dasharray": a.path.bgDashArray,
|
|
724
|
+
"stroke-dashoffset": a.path.fullOffset,
|
|
725
|
+
"stroke-linecap": "round",
|
|
726
|
+
class: "vue-ui-onion-path",
|
|
727
|
+
style: {
|
|
728
|
+
transform: "rotate(-90deg)",
|
|
729
|
+
transformOrigin: "50% 50%"
|
|
730
|
+
},
|
|
731
|
+
onMouseenter: (h) => ze({
|
|
732
|
+
datapoint: a,
|
|
733
|
+
show: !0,
|
|
734
|
+
seriesIndex: o
|
|
735
|
+
}),
|
|
736
|
+
onMouseleave: (h) => Le({ datapoint: a }),
|
|
737
|
+
onClick: (h) => Re({ datapoint: a })
|
|
738
|
+
}, null, 40, pa))), 256)),
|
|
739
|
+
e.value.style.chart.layout.labels.show ? (u(), d("g", fa, [
|
|
740
|
+
(u(!0), d(Y, null, X(O.value, (a, o) => (u(), d("g", {
|
|
741
|
+
onMouseenter: (h) => ze({
|
|
742
|
+
datapoint: a,
|
|
743
|
+
show: !0,
|
|
744
|
+
seriesIndex: o
|
|
745
|
+
}),
|
|
746
|
+
onMouseleave: (h) => Le({ datapoint: a }),
|
|
747
|
+
onClick: (h) => Re({ datapoint: a })
|
|
748
|
+
}, [
|
|
749
|
+
m.value.includes(a.id) ? f("", !0) : (u(), d("text", {
|
|
750
|
+
key: 0,
|
|
751
|
+
class: "vue-ui-onion-label",
|
|
752
|
+
x: n.value.width / 2 - D.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
|
|
753
|
+
y: a.labelY + e.value.style.chart.layout.labels.offsetY,
|
|
754
|
+
"text-anchor": "end",
|
|
755
|
+
"font-size": e.value.style.chart.layout.labels.fontSize,
|
|
756
|
+
fill: e.value.useBlurOnHover && ![null, void 0].includes(I.value) && I.value === o ? a.color : e.value.style.chart.layout.labels.color,
|
|
757
|
+
"font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
|
|
758
|
+
}, z(a.name ? a.name + ": " : "") + " " + z(e.value.style.chart.layout.labels.percentage.show ? s(B)({
|
|
759
|
+
v: a.percentage,
|
|
760
|
+
s: "%",
|
|
761
|
+
r: e.value.style.chart.layout.labels.roundingPercentage
|
|
762
|
+
}) : "") + " " + z(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${s(de)(
|
|
763
|
+
e.value.style.chart.layout.labels.value.formatter,
|
|
764
|
+
a.value,
|
|
765
|
+
s(B)({
|
|
766
|
+
p: a.prefix || "",
|
|
767
|
+
v: a.value || 0,
|
|
768
|
+
s: a.suffix || "",
|
|
769
|
+
r: e.value.style.chart.layout.labels.roundingValue
|
|
770
|
+
}),
|
|
771
|
+
{ datapoint: a, seriesIndex: o }
|
|
772
|
+
)}` : `${e.value.style.chart.layout.labels.value.show && a.value ? `(${s(de)(
|
|
773
|
+
e.value.style.chart.layout.labels.value.formatter,
|
|
774
|
+
a.value,
|
|
775
|
+
s(B)({
|
|
776
|
+
p: a.prefix || "",
|
|
777
|
+
v: a.value || 0,
|
|
778
|
+
s: a.suffix || "",
|
|
779
|
+
r: e.value.style.chart.layout.labels.roundingValue
|
|
780
|
+
}),
|
|
781
|
+
{ datapoint: a, seriesIndex: o }
|
|
782
|
+
)})` : ""}`), 9, ya))
|
|
783
|
+
], 40, ma))), 256))
|
|
784
|
+
])) : f("", !0),
|
|
785
|
+
c(t.$slots, "svg", { svg: n.value }, void 0, !0)
|
|
786
|
+
], 14, ua)),
|
|
787
|
+
t.$slots.watermark ? (u(), d("div", ba, [
|
|
788
|
+
c(t.$slots, "watermark", b(k({ isPrinting: s(Se) || s(Oe) })), void 0, !0)
|
|
789
|
+
])) : f("", !0),
|
|
790
|
+
F("div", {
|
|
791
|
+
id: `legend-bottom-${w.value}`
|
|
792
|
+
}, null, 8, ka),
|
|
793
|
+
$e.value ? (u(), _(Ft, {
|
|
794
|
+
key: 5,
|
|
795
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
796
|
+
}, [
|
|
797
|
+
F("div", {
|
|
798
|
+
ref_key: "chartLegend",
|
|
799
|
+
ref: fe
|
|
800
|
+
}, [
|
|
801
|
+
e.value.style.chart.legend.show ? (u(), _(aa, {
|
|
802
|
+
key: `legend_${we.value}`,
|
|
803
|
+
legendSet: ae.value,
|
|
804
|
+
config: pt.value,
|
|
805
|
+
onClickMarker: l[0] || (l[0] = ({ legend: a }) => H(a.id))
|
|
806
|
+
}, {
|
|
807
|
+
item: i(({ legend: a }) => [
|
|
808
|
+
s($) ? f("", !0) : (u(), d("div", {
|
|
809
|
+
key: 0,
|
|
810
|
+
"data-cy-legend-item": "",
|
|
811
|
+
onClick: (o) => a.segregate(),
|
|
812
|
+
style: R(`opacity:${m.value.includes(a.id) ? 0.5 : 1}`)
|
|
813
|
+
}, z(a.display), 13, wa))
|
|
814
|
+
]),
|
|
815
|
+
_: 1
|
|
816
|
+
}, 8, ["legendSet", "config"])) : c(t.$slots, "legend", {
|
|
817
|
+
key: 1,
|
|
818
|
+
legend: ae.value
|
|
819
|
+
}, void 0, !0)
|
|
820
|
+
], 512)
|
|
821
|
+
], 8, ["to"])) : f("", !0),
|
|
822
|
+
t.$slots.source ? (u(), d("div", {
|
|
823
|
+
key: 6,
|
|
824
|
+
ref_key: "source",
|
|
825
|
+
ref: me,
|
|
826
|
+
dir: "auto"
|
|
827
|
+
}, [
|
|
828
|
+
c(t.$slots, "source", {}, void 0, !0)
|
|
829
|
+
], 512)) : f("", !0),
|
|
830
|
+
ce(s(Ke), {
|
|
831
|
+
show: y.value.showTooltip && Q.value,
|
|
832
|
+
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
833
|
+
color: e.value.style.chart.tooltip.color,
|
|
834
|
+
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
835
|
+
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
836
|
+
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
837
|
+
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
838
|
+
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
839
|
+
position: e.value.style.chart.tooltip.position,
|
|
840
|
+
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
841
|
+
parent: x.value,
|
|
842
|
+
content: J.value,
|
|
843
|
+
isFullscreen: M.value,
|
|
844
|
+
isCustom: s(We)(e.value.style.chart.tooltip.customFormat),
|
|
845
|
+
smooth: e.value.style.chart.tooltip.smooth,
|
|
846
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
847
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
848
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
849
|
+
}, {
|
|
850
|
+
"tooltip-before": i(() => [
|
|
851
|
+
c(t.$slots, "tooltip-before", b(k({ ...se.value })), void 0, !0)
|
|
852
|
+
]),
|
|
853
|
+
"tooltip-after": i(() => [
|
|
854
|
+
c(t.$slots, "tooltip-after", b(k({ ...se.value })), void 0, !0)
|
|
855
|
+
]),
|
|
856
|
+
_: 3
|
|
857
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
858
|
+
he.value && e.value.userOptions.buttons.table ? (u(), _(Dt(U.value.component), Mt({ key: 7 }, U.value.props, {
|
|
859
|
+
ref_key: "tableUnit",
|
|
860
|
+
ref: N,
|
|
861
|
+
onClose: l[3] || (l[3] = (a) => y.value.showTable = !1)
|
|
862
|
+
}), Ee({
|
|
863
|
+
content: i(() => [
|
|
864
|
+
(u(), _(s(tt), {
|
|
865
|
+
key: `table_${ke.value}`,
|
|
866
|
+
colNames: W.value.colNames,
|
|
867
|
+
head: W.value.head,
|
|
868
|
+
body: W.value.body,
|
|
869
|
+
config: W.value.config,
|
|
870
|
+
title: e.value.table.useDialog ? "" : U.value.title,
|
|
871
|
+
withCloseButton: !e.value.table.useDialog,
|
|
872
|
+
onClose: l[2] || (l[2] = (a) => y.value.showTable = !1)
|
|
873
|
+
}, {
|
|
874
|
+
th: i(({ th: a }) => [
|
|
875
|
+
Ye(z(a), 1)
|
|
876
|
+
]),
|
|
877
|
+
td: i(({ td: a }) => [
|
|
878
|
+
F("div", { innerHTML: a }, null, 8, $a)
|
|
879
|
+
]),
|
|
880
|
+
_: 1
|
|
881
|
+
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
882
|
+
]),
|
|
883
|
+
_: 2
|
|
884
|
+
}, [
|
|
885
|
+
e.value.table.useDialog ? {
|
|
886
|
+
name: "title",
|
|
887
|
+
fn: i(() => [
|
|
888
|
+
Ye(z(U.value.title), 1)
|
|
889
|
+
]),
|
|
890
|
+
key: "0"
|
|
891
|
+
} : void 0,
|
|
892
|
+
e.value.table.useDialog ? {
|
|
893
|
+
name: "actions",
|
|
894
|
+
fn: i(() => [
|
|
895
|
+
F("button", {
|
|
896
|
+
tabindex: "0",
|
|
897
|
+
class: "vue-ui-user-options-button",
|
|
898
|
+
onClick: l[1] || (l[1] = (a) => ne(e.value.userOptions.callbacks.csv))
|
|
899
|
+
}, [
|
|
900
|
+
ce(s(Ze), {
|
|
901
|
+
name: "excel",
|
|
902
|
+
stroke: U.value.props.color
|
|
903
|
+
}, null, 8, ["stroke"])
|
|
904
|
+
])
|
|
905
|
+
]),
|
|
906
|
+
key: "1"
|
|
907
|
+
} : void 0
|
|
908
|
+
]), 1040)) : f("", !0),
|
|
909
|
+
s($) ? (u(), _(jt, { key: 8 })) : f("", !0)
|
|
910
|
+
], 46, na));
|
|
911
|
+
}
|
|
912
|
+
}, Na = /* @__PURE__ */ oa(Ca, [["__scopeId", "data-v-1e413e91"]]);
|
|
913
|
+
export {
|
|
914
|
+
Na as default
|
|
915
|
+
};
|