vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.3
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 +15 -0
- package/dist/{Arrow-HbfibAF0.js → Arrow-kQyQXUUg.js} +1 -1
- package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-DLRFrsDT.js} +2 -2
- package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-DaR0sIWZ.js} +1 -1
- package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-Bj3sq9o7.js} +2 -2
- package/dist/{DataTable-CsoAI95B.js → DataTable-BBqbcutV.js} +2 -2
- package/dist/{Legend-ZW-PFcHg.js → Legend-DRqzYrP9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-CQIC2PMP.js} +3 -3
- package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-ClpqQxYT.js} +1 -1
- package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-B-T7XvxF.js} +3 -3
- package/dist/{Shape-BBbhObHC.js → Shape-DEWxbZ-l.js} +1 -1
- package/dist/{Slicer-Vh74fjdf.js → Slicer-o6jJH5bw.js} +2 -2
- package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-LPnbBoFu.js} +1 -1
- package/dist/{Title-Dx8ctnVy.js → Title-apr_T9tg.js} +1 -1
- package/dist/{Tooltip-COHlzpZI.js → Tooltip-BuHsMAfp.js} +1 -1
- package/dist/{UserOptions-CGn3YdRV.js → UserOptions-OVNxxnq5.js} +144 -133
- package/dist/{dom-to-png-BjSUS-jY.js → dom-to-png-C0Ct8ClX.js} +1 -1
- package/dist/{img-DWfzRJdv.js → img-P0SFFw37.js} +1 -1
- package/dist/{index-CbcpITE_.js → index-CH_mJIWj.js} +185 -127
- package/dist/{pdf-Cy09nTjn.js → pdf-Jun3ogRn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +42 -0
- package/dist/types/vue-data-ui.d.ts +42 -0
- package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-rMR-JeOJ.js} +1 -1
- package/dist/{usePrinter-u-gQiRNz.js → usePrinter-DJ7WfWUs.js} +2 -2
- package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-D7AaTKU6.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-BfLLrwWi.js} +8 -7
- package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-Ds4zkPIx.js} +3 -3
- package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-C7ca5TG5.js} +41 -40
- package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-DG2z1gw8.js} +2 -2
- package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-Dh25QAEH.js} +9 -8
- package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-7Yo_kEV0.js} +9 -8
- package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-Det9Kwmy.js} +28 -27
- package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-DLlFv6Uj.js} +8 -7
- package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-BXlv5Z2x.js} +35 -34
- package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-DdRcdWmx.js} +43 -42
- package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-Djtg6Ppw.js} +2 -2
- package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-C4MDDCl6.js} +62 -62
- package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-8Ox6q1Ov.js} +2 -2
- package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-Hk4EaVhb.js} +10 -9
- package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DzgYokPU.js} +10 -9
- package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-CAC44_Hu.js} +52 -51
- package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-CYWiZjrP.js} +9 -8
- package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-C2eqxh_8.js} +20 -19
- package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-BBfg84E4.js} +7 -6
- package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BJgJgef_.js} +33 -32
- package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-DBclpybR.js} +3 -3
- package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-D65wOgqe.js} +10 -9
- package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-CHhDy7Da.js} +9 -8
- package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-uT6fsAaO.js} +3 -3
- package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-CKVlBiYB.js} +2 -2
- package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-BwtHZtGN.js} +22 -21
- package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-Vf4_-R-m.js} +9 -8
- package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-BVkSns4S.js} +44 -43
- package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-UzMmwtvF.js} +9 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js} +10 -9
- package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-Ck7xALez.js} +10 -9
- package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-B62Pa0nG.js} +8 -7
- package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DMfv2hSb.js} +6 -6
- package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CFYHJrxj.js} +2 -2
- package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-RWlfC5BI.js} +75 -74
- package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-Bh93VzcO.js} +10 -9
- package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-CyX30Ccv.js} +23 -22
- package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BEDnWByj.js} +10 -9
- package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-C6PWt_m5.js} +3 -3
- package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-79itAe84.js} +2 -2
- package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-AaA4KuaH.js} +3 -3
- package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-CYBZeaor.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-ElGarXVS.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-C_LV99i1.js} +4 -4
- package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-DwzCA8d6.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-CobB11uw.js} +3 -3
- package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-B4SxM5Ix.js} +11 -10
- package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-9VK_Y3SC.js} +9 -8
- package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-DFTE1OH5.js} +3 -3
- package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-DvyJx0j7.js} +48 -47
- package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-SGsBnQTK.js} +8 -7
- package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-DEMS6HXl.js} +22 -21
- package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CQ71yJ_N.js} +5 -5
- package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-CsN_QtUK.js} +38 -37
- package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-B0CPNusH.js} +229 -228
- package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-Cxv-ahMT.js} +12 -11
- package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-TgNNo9UX.js} +66 -65
- package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-Bq0ZLc-R.js} +8 -7
- package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-D28awCaT.js} +66 -65
- package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-BhUsfhY5.js} +8 -7
- package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-CEFkua9H.js} +918 -811
- package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-oHhzL0ui.js} +53 -52
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useCssVars as Qe, defineAsyncComponent as p, computed as k, onMounted as Je, ref as u, watch as Ke, createElementBlock as y, openBlock as r, unref as l, normalizeStyle as B, normalizeClass as he, createBlock as $, createCommentVNode as f, createVNode as F, createSlots as et, withCtx as d, renderSlot as i, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as tt, renderList as ot, createTextVNode as lt, toDisplayString as st, nextTick as at } from "vue";
|
|
2
|
-
import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, P as vt, X as ht, l as pt, Q as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-
|
|
3
|
-
import { u as me } from "./useNestedProp-
|
|
4
|
-
import { u as kt } from "./usePrinter-
|
|
2
|
+
import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, P as vt, X as ht, l as pt, Q as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-CH_mJIWj.js";
|
|
3
|
+
import { u as me } from "./useNestedProp-rMR-JeOJ.js";
|
|
4
|
+
import { u as kt } from "./usePrinter-DJ7WfWUs.js";
|
|
5
5
|
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { u as wt } from "./usePanZoom-BQMvRXEQ.js";
|
|
8
8
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const
|
|
9
|
+
const Ot = ["id"], Pt = {
|
|
10
10
|
key: 1,
|
|
11
11
|
ref: "noTitle",
|
|
12
12
|
class: "vue-data-ui-no-title-space",
|
|
@@ -44,9 +44,9 @@ const Pt = ["id"], Ot = {
|
|
|
44
44
|
emits: ["selectNode"],
|
|
45
45
|
setup(ye, { expose: be, emit: ke }) {
|
|
46
46
|
Qe((t) => ({
|
|
47
|
-
|
|
47
|
+
"7e77a458": t.slicerColor
|
|
48
48
|
}));
|
|
49
|
-
const Ce = p(() => import("./vue-ui-accordion-
|
|
49
|
+
const Ce = p(() => import("./vue-ui-accordion-Ds4zkPIx.js")), $e = p(() => import("./BaseIcon-DaR0sIWZ.js")), we = p(() => import("./DataTable-BBqbcutV.js")), Te = p(() => import("./PackageVersion-ClpqQxYT.js")), Oe = p(() => import("./PenAndPaper-B-T7XvxF.js")), Pe = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ae = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-C6PWt_m5.js")), Fe = p(() => import("./Title-apr_T9tg.js")), _e = p(() => import("./Tooltip-BuHsMAfp.js")), Se = p(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_molecule: Le } = nt(), C = ye, De = ke, S = k(() => !!C.dataset && C.dataset.length);
|
|
50
50
|
Je(() => {
|
|
51
51
|
W();
|
|
52
52
|
});
|
|
@@ -113,15 +113,15 @@ const Pt = ["id"], Ot = {
|
|
|
113
113
|
let M = ge(m.color);
|
|
114
114
|
return M.startsWith("#") ? M : `#${M}`;
|
|
115
115
|
})() : null;
|
|
116
|
-
let
|
|
117
|
-
ve ?
|
|
116
|
+
let P;
|
|
117
|
+
ve ? P = ve : G === 0 ? P = g : G === 1 ? (P = Re.value[c] || fe[c] || g, c += 1) : P = g, m.polygonPath = { coordinates: [de] }, m.circleRadius = n, m.color = P, m.uid = pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = le(
|
|
118
118
|
m.nodes,
|
|
119
119
|
de,
|
|
120
120
|
o / 2.9,
|
|
121
121
|
n / 2.2,
|
|
122
122
|
a + Math.PI * ce / m.nodes.length,
|
|
123
123
|
c,
|
|
124
|
-
|
|
124
|
+
P,
|
|
125
125
|
G + 1
|
|
126
126
|
));
|
|
127
127
|
}), t;
|
|
@@ -191,7 +191,7 @@ const Pt = ["id"], Ot = {
|
|
|
191
191
|
}
|
|
192
192
|
return o(t), s;
|
|
193
193
|
}
|
|
194
|
-
const Me = k(() => Ge(b.value)),
|
|
194
|
+
const Me = k(() => Ge(b.value)), O = k(() => {
|
|
195
195
|
const t = [
|
|
196
196
|
e.value.table.translations.nodeName,
|
|
197
197
|
e.value.table.translations.details,
|
|
@@ -229,7 +229,7 @@ const Pt = ["id"], Ot = {
|
|
|
229
229
|
});
|
|
230
230
|
function ae() {
|
|
231
231
|
at(() => {
|
|
232
|
-
const t =
|
|
232
|
+
const t = O.value.body.map((n, a) => [[n[0].name], [n[1]], [n[2]]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...O.value.head]]].concat(t), o = gt(s);
|
|
233
233
|
mt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-molecule" });
|
|
234
234
|
});
|
|
235
235
|
}
|
|
@@ -282,7 +282,7 @@ const Pt = ["id"], Ot = {
|
|
|
282
282
|
}),
|
|
283
283
|
onMouseenter: s[3] || (s[3] = () => l(Z)(!0))
|
|
284
284
|
}, [
|
|
285
|
-
e.value.userOptions.buttons.annotator ? (r(), $(l(
|
|
285
|
+
e.value.userOptions.buttons.annotator ? (r(), $(l(Oe), {
|
|
286
286
|
key: 0,
|
|
287
287
|
svgRef: l(z),
|
|
288
288
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -290,7 +290,7 @@ const Pt = ["id"], Ot = {
|
|
|
290
290
|
active: N.value,
|
|
291
291
|
onClose: V
|
|
292
292
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
293
|
-
Ue.value ? (r(), y("div",
|
|
293
|
+
Ue.value ? (r(), y("div", Pt, null, 512)) : f("", !0),
|
|
294
294
|
e.value.style.chart.title.text ? (r(), y("div", At, [
|
|
295
295
|
(r(), $(l(Fe), {
|
|
296
296
|
key: `title_${j.value}`,
|
|
@@ -328,6 +328,7 @@ const Pt = ["id"], Ot = {
|
|
|
328
328
|
position: e.value.userOptions.position,
|
|
329
329
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
330
330
|
isAnnotation: N.value,
|
|
331
|
+
callbacks: e.value.userOptions.callbacks,
|
|
331
332
|
onToggleFullscreen: Xe,
|
|
332
333
|
onGeneratePdf: l(ee),
|
|
333
334
|
onGenerateCsv: ae,
|
|
@@ -403,7 +404,7 @@ const Pt = ["id"], Ot = {
|
|
|
403
404
|
]),
|
|
404
405
|
key: "8"
|
|
405
406
|
} : void 0
|
|
406
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
407
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
407
408
|
S.value ? (r(), y("svg", {
|
|
408
409
|
key: 4,
|
|
409
410
|
ref_key: "svgRef",
|
|
@@ -450,7 +451,7 @@ const Pt = ["id"], Ot = {
|
|
|
450
451
|
color: e.value.style.chart.links.stroke,
|
|
451
452
|
backgroundColor: e.value.style.chart.backgroundColor
|
|
452
453
|
}, null, 8, ["dataset", "color", "backgroundColor"]),
|
|
453
|
-
F(l(
|
|
454
|
+
F(l(Pe), {
|
|
454
455
|
dataset: b.value,
|
|
455
456
|
hoveredUid: A.value,
|
|
456
457
|
stroke: e.value.style.chart.nodes.stroke,
|
|
@@ -551,10 +552,10 @@ const Pt = ["id"], Ot = {
|
|
|
551
552
|
content: d(() => [
|
|
552
553
|
(r(), $(l(we), {
|
|
553
554
|
key: `table_${Y.value}`,
|
|
554
|
-
colNames:
|
|
555
|
-
head:
|
|
556
|
-
body:
|
|
557
|
-
config:
|
|
555
|
+
colNames: O.value.colNames,
|
|
556
|
+
head: O.value.head,
|
|
557
|
+
body: O.value.body,
|
|
558
|
+
config: O.value.config,
|
|
558
559
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
559
560
|
onClose: s[1] || (s[1] = (o) => h.value.showTable = !1)
|
|
560
561
|
}, {
|
|
@@ -572,9 +573,9 @@ const Pt = ["id"], Ot = {
|
|
|
572
573
|
]),
|
|
573
574
|
_: 1
|
|
574
575
|
}, 8, ["config"])) : f("", !0)
|
|
575
|
-
], 46,
|
|
576
|
+
], 46, Ot));
|
|
576
577
|
}
|
|
577
|
-
}, Xt = /* @__PURE__ */ Tt(Rt, [["__scopeId", "data-v-
|
|
578
|
+
}, Xt = /* @__PURE__ */ Tt(Rt, [["__scopeId", "data-v-9d3c26b8"]]);
|
|
578
579
|
export {
|
|
579
580
|
Xt as default
|
|
580
581
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineAsyncComponent as x, computed as c, onMounted as Ae, ref as y, watch as Oe, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as I, normalizeClass as te, createBlock as m, createCommentVNode as u, renderSlot as v, createVNode as U, createSlots as Te, withCtx as f, normalizeProps as F, guardReactiveProps as S, createElementVNode as s, Fragment as oe, renderList as le, toDisplayString as O, createTextVNode as ae, nextTick as Le } from "vue";
|
|
2
|
-
import { u as Ie, o as Fe, e as se, c as Se, a as Ve, Q as je, X as Re, s as C, w as Be, R as Ue, i as re, f as V, q as We, r as ze } from "./index-
|
|
3
|
-
import { u as ne } from "./useNestedProp-
|
|
4
|
-
import { u as De } from "./usePrinter-
|
|
2
|
+
import { u as Ie, o as Fe, e as se, c as Se, a as Ve, Q as je, X as Re, s as C, w as Be, R as Ue, i as re, f as V, q as We, r as ze } from "./index-CH_mJIWj.js";
|
|
3
|
+
import { u as ne } from "./useNestedProp-rMR-JeOJ.js";
|
|
4
|
+
import { u as De } from "./usePrinter-DJ7WfWUs.js";
|
|
5
5
|
import { u as Ee } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Ge } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import He from "./Legend-
|
|
8
|
-
import Xe from "./Title-
|
|
7
|
+
import He from "./Legend-DRqzYrP9.js";
|
|
8
|
+
import Xe from "./Title-apr_T9tg.js";
|
|
9
9
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const qe = ["id"], Qe = {
|
|
11
11
|
key: 2,
|
|
@@ -34,7 +34,7 @@ const qe = ["id"], Qe = {
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
setup(ue, { expose: ie }) {
|
|
37
|
-
const de = x(() => import("./vue-ui-accordion-
|
|
37
|
+
const de = x(() => import("./vue-ui-accordion-Ds4zkPIx.js")), _ = x(() => import("./BaseIcon-DaR0sIWZ.js")), ce = x(() => import("./DataTable-BBqbcutV.js")), ve = x(() => import("./PackageVersion-ClpqQxYT.js")), ye = x(() => import("./PenAndPaper-B-T7XvxF.js")), he = x(() => import("./vue-ui-skeleton-C6PWt_m5.js")), fe = x(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_mood_radar: pe } = Ie(), d = ue, $ = c(() => !!d.dataset && Object.keys(d.dataset).length);
|
|
38
38
|
Ae(() => {
|
|
39
39
|
W();
|
|
40
40
|
});
|
|
@@ -257,6 +257,7 @@ const qe = ["id"], Qe = {
|
|
|
257
257
|
position: e.value.userOptions.position,
|
|
258
258
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
259
259
|
isAnnotation: L.value,
|
|
260
|
+
callbacks: e.value.userOptions.callbacks,
|
|
260
261
|
onToggleFullscreen: Pe,
|
|
261
262
|
onGeneratePdf: a(Q),
|
|
262
263
|
onGenerateCsv: Z,
|
|
@@ -316,7 +317,7 @@ const qe = ["id"], Qe = {
|
|
|
316
317
|
]),
|
|
317
318
|
key: "6"
|
|
318
319
|
} : void 0
|
|
319
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : u("", !0),
|
|
320
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : u("", !0),
|
|
320
321
|
$.value ? (r(), h("svg", {
|
|
321
322
|
key: 4,
|
|
322
323
|
ref_key: "svgRef",
|
|
@@ -647,7 +648,7 @@ const qe = ["id"], Qe = {
|
|
|
647
648
|
}, 8, ["config"])) : u("", !0)
|
|
648
649
|
], 46, qe));
|
|
649
650
|
}
|
|
650
|
-
}, St = /* @__PURE__ */ Ke($t, [["__scopeId", "data-v-
|
|
651
|
+
}, St = /* @__PURE__ */ Ke($t, [["__scopeId", "data-v-7f43b699"]]);
|
|
651
652
|
export {
|
|
652
653
|
St as default
|
|
653
654
|
};
|
|
@@ -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-CH_mJIWj.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-rMR-JeOJ.js";
|
|
5
|
+
import { u as jt } from "./usePrinter-DJ7WfWUs.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-apr_T9tg.js";
|
|
9
|
+
import al from "./Legend-DRqzYrP9.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-Ds4zkPIx.js")), yt = R(() => import("./DataTable-BBqbcutV.js")), bt = R(() => import("./PackageVersion-ClpqQxYT.js")), gt = R(() => import("./PenAndPaper-B-T7XvxF.js")), mt = R(() => import("./vue-ui-skeleton-C6PWt_m5.js")), wt = R(() => import("./Tooltip-BuHsMAfp.js")), $t = R(() => import("./UserOptions-OVNxxnq5.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
|
|
@@ -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-abf3e58b"]]);
|
|
1127
1128
|
export {
|
|
1128
1129
|
El as default
|
|
1129
1130
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as x, computed as h, ref as u, watch as Ce, shallowRef as xe, onMounted as Ze, onBeforeUnmount as et, createElementBlock as i, openBlock as s, unref as r, normalizeStyle as U, normalizeClass as G, createBlock as T, createCommentVNode as g, createElementVNode as A, createVNode as Te, createSlots as tt, withCtx as f, renderSlot as v, normalizeProps as I, guardReactiveProps as S, Fragment as D, renderList as L, toDisplayString as F, createTextVNode as at, nextTick as lt } from "vue";
|
|
2
|
-
import { u as ot, c as nt, t as st, p as Oe, a as rt, b as ut, o as it, e as Z, d as ct, X as vt, f as V, i as ee, x as Pe, q as dt, r as ht, y as ft } from "./index-
|
|
2
|
+
import { u as ot, c as nt, t as st, p as Oe, a as rt, b as ut, o as it, e as Z, d as ct, X as vt, f as V, i as ee, x as Pe, q as dt, r as ht, y as ft } from "./index-CH_mJIWj.js";
|
|
3
3
|
import { t as gt, u as pt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as _e } from "./useNestedProp-
|
|
5
|
-
import { u as yt } from "./usePrinter-
|
|
4
|
+
import { u as _e } from "./useNestedProp-rMR-JeOJ.js";
|
|
5
|
+
import { u as yt } from "./usePrinter-DJ7WfWUs.js";
|
|
6
6
|
import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import kt from "./Title-
|
|
9
|
-
import wt from "./Legend-
|
|
8
|
+
import kt from "./Title-apr_T9tg.js";
|
|
9
|
+
import wt from "./Legend-DRqzYrP9.js";
|
|
10
10
|
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Pt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], _t = ["id"], At = ["stdDeviation"], It = ["filter"], St = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Ft = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], Mt = { key: 2 }, Rt = ["onMouseenter"], Nt = ["x", "y", "font-size", "fill", "font-weight"], Dt = {
|
|
12
12
|
key: 5,
|
|
@@ -29,7 +29,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["selectLegend"],
|
|
31
31
|
setup(Ae, { expose: Ie, emit: Se }) {
|
|
32
|
-
const Fe = x(() => import("./vue-ui-accordion-
|
|
32
|
+
const Fe = x(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Me = x(() => import("./DataTable-BBqbcutV.js")), Re = x(() => import("./PackageVersion-ClpqQxYT.js")), Ne = x(() => import("./PenAndPaper-B-T7XvxF.js")), De = x(() => import("./vue-ui-skeleton-C6PWt_m5.js")), Le = x(() => import("./Tooltip-BuHsMAfp.js")), Ve = x(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_onion: ze } = ot(), w = Ae, z = h(() => !!w.dataset && w.dataset.length), O = u(nt()), Ye = u(null), te = u(0), Y = u(!1), E = u(""), y = u([]), M = u(null), ae = u(null), le = u(null), oe = u(null), ne = u(null), se = u(0), re = u(0), ue = u(0), e = h({
|
|
33
33
|
get: () => de(),
|
|
34
34
|
set: (t) => t
|
|
35
35
|
}), { userOptionsVisible: H, setUserOptionsVisibility: ie, keepUserOptionState: ce } = mt({ config: e.value }), { svgRef: ve } = bt({ config: e.value.style.chart.title });
|
|
@@ -353,6 +353,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
|
|
|
353
353
|
position: e.value.userOptions.position,
|
|
354
354
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
355
355
|
isAnnotation: X.value,
|
|
356
|
+
callbacks: e.value.userOptions.callbacks,
|
|
356
357
|
onToggleFullscreen: Qe,
|
|
357
358
|
onGeneratePdf: r(ge),
|
|
358
359
|
onGenerateCsv: be,
|
|
@@ -420,7 +421,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
|
|
|
420
421
|
]),
|
|
421
422
|
key: "7"
|
|
422
423
|
} : void 0
|
|
423
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
424
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
424
425
|
z.value ? (s(), i("svg", {
|
|
425
426
|
key: 4,
|
|
426
427
|
ref_key: "svgRef",
|
|
@@ -678,7 +679,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
|
|
|
678
679
|
}, 8, ["config"])) : g("", !0)
|
|
679
680
|
], 46, Ct));
|
|
680
681
|
}
|
|
681
|
-
}, Jt = /* @__PURE__ */ $t(zt, [["__scopeId", "data-v-
|
|
682
|
+
}, Jt = /* @__PURE__ */ $t(zt, [["__scopeId", "data-v-6338e238"]]);
|
|
682
683
|
export {
|
|
683
684
|
Jt as default
|
|
684
685
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as P, computed as x, ref as d, watch as lt, shallowRef as _e, onMounted as ot, onBeforeUnmount as st, createElementBlock as i, openBlock as u, unref as v, normalizeStyle as T, normalizeClass as j, createBlock as _, createCommentVNode as y, createElementVNode as N, createVNode as Fe, createSlots as nt, withCtx as k, renderSlot as g, normalizeProps as V, guardReactiveProps as E, Fragment as C, renderList as F, toDisplayString as U, createTextVNode as ut } from "vue";
|
|
2
|
-
import { u as it, c as ae, t as rt, p as X, a as ct, o as vt, e as Pe, g as dt, b as ht, d as pt, D as mt, T as yt, U as ft, V as gt, X as bt, x as Ne, F as Y, q as xt, r as kt, i as Oe, f as Se, y as wt } from "./index-
|
|
2
|
+
import { u as it, c as ae, t as rt, p as X, a as ct, o as vt, e as Pe, g as dt, b as ht, d as pt, D as mt, T as yt, U as ft, V as gt, X as bt, x as Ne, F as Y, q as xt, r as kt, i as Oe, f as Se, y as wt } from "./index-CH_mJIWj.js";
|
|
3
3
|
import { t as Ct, u as $t } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as Le } from "./useNestedProp-
|
|
5
|
-
import { u as At } from "./usePrinter-
|
|
4
|
+
import { u as Le } from "./useNestedProp-rMR-JeOJ.js";
|
|
5
|
+
import { u as At } from "./usePrinter-DJ7WfWUs.js";
|
|
6
6
|
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import zt from "./Title-
|
|
9
|
-
import It from "./Legend-
|
|
10
|
-
import { _ as _t } from "./Shape-
|
|
8
|
+
import zt from "./Title-apr_T9tg.js";
|
|
9
|
+
import It from "./Legend-DRqzYrP9.js";
|
|
10
|
+
import { _ as _t } from "./Shape-DEWxbZ-l.js";
|
|
11
11
|
import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], St = { style: { "pointer-events": "none" } }, Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x", "y", "fill", "font-size", "font-weight"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x", "y", "fill", "font-size", "font-weight"], Et = { key: 0 }, Ut = ["x", "y", "font-size", "fill"], Wt = ["width", "x", "y"], jt = { style: { width: "100%" } }, Bt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Ht = ["d", "stroke", "stroke-width", "onMouseenter"], Gt = ["d", "onMouseenter"], Xt = {
|
|
13
13
|
key: 5,
|
|
@@ -30,7 +30,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectLegend", "selectDatapoint"],
|
|
32
32
|
setup(De, { expose: Re, emit: Ve }) {
|
|
33
|
-
const Ee = P(() => import("./vue-ui-accordion-
|
|
33
|
+
const Ee = P(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Ue = P(() => import("./DataTable-BBqbcutV.js")), We = P(() => import("./PackageVersion-ClpqQxYT.js")), je = P(() => import("./PenAndPaper-B-T7XvxF.js")), Be = P(() => import("./vue-ui-skeleton-C6PWt_m5.js")), He = P(() => import("./Tooltip-BuHsMAfp.js")), Ge = P(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_parallel_coordinate_plot: Xe } = it(), M = De, O = x({
|
|
34
34
|
get() {
|
|
35
35
|
return !!M.dataset && M.dataset.length;
|
|
36
36
|
},
|
|
@@ -417,6 +417,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
417
417
|
position: e.value.userOptions.position,
|
|
418
418
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
419
419
|
isAnnotation: H.value,
|
|
420
|
+
callbacks: e.value.userOptions.callbacks,
|
|
420
421
|
onToggleFullscreen: Ye,
|
|
421
422
|
onGeneratePdf: v(ge),
|
|
422
423
|
onGenerateCsv: $e,
|
|
@@ -485,7 +486,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
485
486
|
]),
|
|
486
487
|
key: "7"
|
|
487
488
|
} : void 0
|
|
488
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
489
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
489
490
|
O.value ? (u(), i("svg", {
|
|
490
491
|
key: 4,
|
|
491
492
|
ref_key: "svgRef",
|
|
@@ -767,7 +768,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
767
768
|
}, 8, ["config"])) : y("", !0)
|
|
768
769
|
], 46, Pt));
|
|
769
770
|
}
|
|
770
|
-
}, ia = /* @__PURE__ */ Ft(Jt, [["__scopeId", "data-v-
|
|
771
|
+
}, ia = /* @__PURE__ */ Ft(Jt, [["__scopeId", "data-v-a3745e65"]]);
|
|
771
772
|
export {
|
|
772
773
|
ia as default
|
|
773
774
|
};
|