vue-data-ui 2.16.5 → 2.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/{Arrow-D9B36pfx.js → Arrow-DCqxVwey.js} +1 -1
- package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-6DIKXIBU.js} +2 -2
- package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-Bn996RXm.js} +1 -1
- package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-OFfLkKNb.js} +2 -2
- package/dist/{DataTable-B6MXw9cG.js → DataTable-CHBLjKtZ.js} +2 -2
- package/dist/{Legend-DoxQwq_u.js → Legend-nBXoxXJH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-Cls2idJS.js} +3 -3
- package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-Bg_9KCU-.js} +1 -1
- package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-BPTpbnay.js} +3 -3
- package/dist/{Shape-CrstrfQ9.js → Shape-Bnf512BA.js} +1 -1
- package/dist/{Slicer-Bd0AkciG.js → Slicer-BrqtJG2E.js} +2 -2
- package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-C-rLATAw.js} +1 -1
- package/dist/{Title-BQLtfM0P.js → Title-Gi81VwUM.js} +1 -1
- package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CJxVw7-T.js} +1 -1
- package/dist/{UserOptions-DMGkAAIO.js → UserOptions-CBEK6_jo.js} +137 -129
- package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-CRHNL8VU.js} +1 -1
- package/dist/img-BgOg8opa.js +27 -0
- package/dist/{index-CZNLCg7T.js → index-DvIXJm6t.js} +1 -1
- package/dist/{pdf-DJVOD0cz.js → pdf-DhTxBrbJ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -2
- package/dist/types/vue-data-ui.d.ts +2 -2
- package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DrYHm61t.js} +1 -1
- package/dist/{usePrinter-ButWuZVm.js → usePrinter-CWnXbGMb.js} +2 -2
- package/dist/{vue-data-ui-BB8Upnjm.js → vue-data-ui-B8EWlMIK.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-o8P0DCbz.js → vue-ui-3d-bar-CtlB4p7i.js} +42 -41
- package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-D55kCO5G.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-DSshyUn-.js} +39 -38
- package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-DQSMv_k2.js} +2 -2
- package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-FeScjj7q.js} +23 -22
- package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-Drupgyoi.js} +100 -99
- package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-BTZQRZfO.js} +17 -16
- package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DLWjPwRL.js} +64 -63
- package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-BgLbFBT9.js} +87 -86
- package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-VXcRh2gy.js} +31 -30
- package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-DWmfnM25.js} +2 -2
- package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-CGIocEHj.js} +62 -62
- package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-BgQch3Fc.js} +2 -2
- package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-B59bCV5_.js} +74 -73
- package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-CI8qBIQd.js} +44 -43
- package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-CXv7sk88.js} +9 -8
- package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-DxF0ELtv.js} +9 -8
- package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Bco8rqF8.js} +20 -19
- package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-CaPJwwOj.js} +22 -21
- package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-D7arhDmb.js} +8 -7
- package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-Dwli-Mip.js} +3 -3
- package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-Cyn-ahGO.js} +10 -9
- package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-C2AEToqx.js} +27 -26
- package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-DKDibSdl.js} +3 -3
- package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-B8OVutUx.js} +2 -2
- package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-BVSrqIGw.js} +22 -21
- package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-DvlyS3RN.js} +9 -8
- package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D9ssSus6.js} +89 -88
- package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-Buu4VX3u.js} +40 -39
- package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-DFLUvhxD.js} +29 -28
- package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-BMC7NBGd.js} +90 -89
- package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-DB9RKUkb.js} +59 -58
- package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-68NMPxxQ.js} +26 -25
- package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-swH9kRr3.js} +2 -2
- package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CT-EdSjO.js} +11 -10
- package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-DftROPaX.js} +10 -9
- package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-M-9dPI5D.js} +45 -44
- package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-CsGhaFJh.js} +44 -43
- package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-BAOt2neL.js} +3 -3
- package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-7_kIgPg-.js} +2 -2
- package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-DHlQQpwz.js} +3 -3
- package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-BnHhzuKf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-WtfkCK8g.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-B2u4XLVd.js} +4 -4
- package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-DKIyUlSm.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-BLGz2qIb.js} +3 -3
- package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-BDpMsTYe.js} +11 -10
- package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-5qDcYPnR.js} +22 -21
- package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-Bg5HIQ3O.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-DmjNy1q1.js} +26 -25
- package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-CnkJkBk5.js} +8 -7
- package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-RlD-9mJf.js} +30 -29
- package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-Bes74INL.js} +5 -5
- package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-DiLS3akQ.js} +29 -28
- package/dist/vue-ui-treemap-BG1Omm38.js +953 -0
- package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-CwqQyZFX.js} +39 -38
- package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-Ce3T4BPp.js} +10 -9
- package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-6B0WTkf2.js} +34 -33
- package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-ByYZCOh7.js} +42 -41
- package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-B9PxVO4n.js} +8 -7
- package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-DtJ7qJib.js} +69 -68
- package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-S6YpFgzs.js} +131 -130
- package/package.json +1 -1
- package/dist/img-CTC5DLKL.js +0 -20
- package/dist/vue-ui-treemap-DzJsjtz7.js +0 -952
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineAsyncComponent as T, computed as m, ref as h, onMounted as kt, watch as Xe, createElementBlock as n, openBlock as a, unref as r, normalizeStyle as ee, normalizeClass as P, createBlock as F, createCommentVNode as c, renderSlot as z, createSlots as Ct, withCtx as w, normalizeProps as j, guardReactiveProps as Y, createVNode as _t, createElementVNode as
|
|
2
|
-
import { u as wt, o as
|
|
1
|
+
import { defineAsyncComponent as T, computed as m, ref as h, onMounted as kt, watch as Xe, createElementBlock as n, openBlock as a, unref as r, normalizeStyle as ee, normalizeClass as P, createBlock as F, createCommentVNode as c, renderSlot as z, createSlots as Ct, withCtx as w, normalizeProps as j, guardReactiveProps as Y, createVNode as _t, createElementVNode as S, Fragment as $, renderList as I, toDisplayString as x, createTextVNode as de, nextTick as q } from "vue";
|
|
2
|
+
import { u as wt, o as St, e as te, g as Lt, c as Ge, t as At, p as le, a as zt, C as We, b as $t, d as he, G as It, D as je, m as ye, X as Nt, s as J, H as Ft, i as ge, f as ae, I as Pt, j as Dt, k as Ot, n as Ye, q as Tt, r as Et, J as qe, K as Ht } from "./index-DvIXJm6t.js";
|
|
3
3
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
4
|
-
import { u as Je } from "./useNestedProp-
|
|
5
|
-
import { u as Mt } from "./usePrinter-
|
|
4
|
+
import { u as Je } from "./useNestedProp-DrYHm61t.js";
|
|
5
|
+
import { u as Mt } from "./usePrinter-CWnXbGMb.js";
|
|
6
6
|
import { u as Rt } from "./useTimeLabels-Mrr0jrpL.js";
|
|
7
7
|
import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
-
import Bt from "./Legend-
|
|
9
|
-
import { S as Xt } from "./Slicer-
|
|
10
|
-
import Gt from "./Title-
|
|
8
|
+
import Bt from "./Legend-nBXoxXJH.js";
|
|
9
|
+
import { S as Xt } from "./Slicer-BrqtJG2E.js";
|
|
10
|
+
import Gt from "./Title-Gi81VwUM.js";
|
|
11
11
|
import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"], Jt = ["id"], Kt = ["stop-color"], Qt = ["stop-color"], Zt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = ["stop-color"], al = { key: 1 }, ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = { key: 0 }, sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = ["x", "y", "font-size", "fill", "font-weight"], cl = {
|
|
13
13
|
key: 3,
|
|
14
14
|
class: /* @__PURE__ */ P({ "donut-opacity": !0 })
|
|
15
|
-
}, vl = { key: 0 }, dl = ["text-anchor", "font-size", "fill", "transform"], hl = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], yl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], gl = { key: 1 }, fl = ["cx", "cy", "r", "fill"], ml = { key: 0 }, bl = { key: 0 }, pl = ["d", "stroke"], xl = ["text-anchor", "x", "y", "fill"], kl = ["cx", "cy", "r", "fill"], Cl = { key: 0 }, _l = ["cx", "cy", "fill"], wl = { key: 1 },
|
|
15
|
+
}, vl = { key: 0 }, dl = ["text-anchor", "font-size", "fill", "transform"], hl = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], yl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], gl = { key: 1 }, fl = ["cx", "cy", "r", "fill"], ml = { key: 0 }, bl = { key: 0 }, pl = ["d", "stroke"], xl = ["text-anchor", "x", "y", "fill"], kl = ["cx", "cy", "r", "fill"], Cl = { key: 0 }, _l = ["cx", "cy", "fill"], wl = { key: 1 }, Sl = ["d", "fill", "stroke"], Ll = { key: 2 }, Al = ["d", "fill", "stroke"], zl = ["x", "y", "font-size", "fill"], $l = ["x", "y", "width", "height", "fill"], Il = ["x", "y", "width", "height", "onMouseenter", "onClick"], Nl = {
|
|
16
16
|
key: 5,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, Fl = ["onClick"], Pl = { key: 0 }, Dl = { key: 1 }, Ol = {
|
|
@@ -37,7 +37,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
37
37
|
},
|
|
38
38
|
emits: ["selectLegend"],
|
|
39
39
|
setup(Ke, { expose: Qe, emit: Ze }) {
|
|
40
|
-
const et = T(() => import("./vue-ui-accordion-
|
|
40
|
+
const et = T(() => import("./vue-ui-accordion-D55kCO5G.js")), tt = T(() => import("./BaseDraggableDialog-6DIKXIBU.js")), lt = T(() => import("./DataTable-CHBLjKtZ.js")), at = T(() => import("./PackageVersion-Bg_9KCU-.js")), ot = T(() => import("./PenAndPaper-BPTpbnay.js")), ut = T(() => import("./vue-ui-skeleton-BAOt2neL.js")), nt = T(() => import("./UserOptions-CBEK6_jo.js")), st = T(() => import("./vue-ui-donut-B59bCV5_.js")), { vue_ui_donut_evolution: rt } = wt(), b = Ke, K = m(() => !!b.dataset && b.dataset.length), y = h({
|
|
41
41
|
start: 0,
|
|
42
42
|
end: Math.max(...b.dataset.map((t) => t.values.length))
|
|
43
43
|
});
|
|
@@ -59,11 +59,11 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
59
59
|
be();
|
|
60
60
|
});
|
|
61
61
|
function be() {
|
|
62
|
-
|
|
62
|
+
St(b.dataset) ? te({
|
|
63
63
|
componentName: "VueUiDonutEvolution",
|
|
64
64
|
type: "dataset"
|
|
65
65
|
}) : b.dataset.length && b.dataset.forEach((t, o) => {
|
|
66
|
-
|
|
66
|
+
Lt({
|
|
67
67
|
datasetObject: t,
|
|
68
68
|
requiredAttributes: ["name", "values"]
|
|
69
69
|
}).forEach((l) => {
|
|
@@ -79,7 +79,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
79
79
|
const V = h(Ge()), k = h([]), g = h(null), Q = h(null), oe = h(!1), E = h(null), ue = h(null), ct = h(null), pe = h(0), xe = h(0), ke = h(0), Ce = h(0), _e = h(0), we = Ze, e = m({
|
|
80
80
|
get: () => ze(),
|
|
81
81
|
set: (t) => t
|
|
82
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility:
|
|
82
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: Se, keepUserOptionState: Le } = Ut({ config: e.value }), { svgRef: Ae } = Vt({ config: e.value.style.chart.title });
|
|
83
83
|
function ze() {
|
|
84
84
|
const t = Je({
|
|
85
85
|
userConfig: b.config,
|
|
@@ -141,7 +141,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
141
141
|
})))), G = m(() => D.value.filter((t) => !k.value.includes(t.uid)).map((t) => ({
|
|
142
142
|
...t,
|
|
143
143
|
values: t.values.filter((o, l) => l >= y.value.start && l <= y.value.end)
|
|
144
|
-
}))), O = m(() => Math.max(...G.value.map((t) => t.length))),
|
|
144
|
+
}))), O = m(() => Math.max(...G.value.map((t) => t.length))), L = m(() => Rt({
|
|
145
145
|
values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
|
|
146
146
|
maxDatapoints: O.value,
|
|
147
147
|
formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
@@ -268,7 +268,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
268
268
|
let o = [];
|
|
269
269
|
for (let u = 0; u < O.value; u += 1) {
|
|
270
270
|
const f = D.value.filter((d) => !k.value.includes(d.uid)).map((d) => d.values[u] ?? 0).reduce((d, _) => d + _, 0);
|
|
271
|
-
o.push([
|
|
271
|
+
o.push([L[u] ? L[u].text : "-"].concat(D.value.filter((d) => !k.value.includes(d.uid)).map((d) => ({
|
|
272
272
|
value: d.values[u] ?? 0,
|
|
273
273
|
percentage: d.values[u] ? d.values[u] / f * 100 : 0
|
|
274
274
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
@@ -338,8 +338,8 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
338
338
|
class: P(`vue-ui-donut-evolution ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
339
339
|
style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
340
340
|
id: V.value,
|
|
341
|
-
onMouseenter: o[5] || (o[5] = () => r(
|
|
342
|
-
onMouseleave: o[6] || (o[6] = () => r(
|
|
341
|
+
onMouseenter: o[5] || (o[5] = () => r(Se)(!0)),
|
|
342
|
+
onMouseleave: o[6] || (o[6] = () => r(Se)(!1))
|
|
343
343
|
}, [
|
|
344
344
|
e.value.userOptions.buttons.annotator ? (a(), F(r(ot), {
|
|
345
345
|
key: 0,
|
|
@@ -375,7 +375,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
375
375
|
}
|
|
376
376
|
}, null, 8, ["config"]))
|
|
377
377
|
], 32)) : c("", !0),
|
|
378
|
-
e.value.userOptions.show && K.value && (r(
|
|
378
|
+
e.value.userOptions.show && K.value && (r(Le) || r(ne)) ? (a(), F(r(nt), {
|
|
379
379
|
ref: "details",
|
|
380
380
|
key: `user_options_${pe.value}`,
|
|
381
381
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -395,6 +395,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
395
395
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
396
396
|
isAnnotation: Z.value,
|
|
397
397
|
callbacks: e.value.userOptions.callbacks,
|
|
398
|
+
printScale: e.value.userOptions.print.scale,
|
|
398
399
|
onToggleFullscreen: pt,
|
|
399
400
|
onGeneratePdf: r(Ne),
|
|
400
401
|
onGenerateCsv: He,
|
|
@@ -402,7 +403,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
402
403
|
onToggleTable: Ve,
|
|
403
404
|
onToggleAnnotator: ie,
|
|
404
405
|
style: ee({
|
|
405
|
-
visibility: r(
|
|
406
|
+
visibility: r(Le) ? r(ne) ? "visible" : "hidden" : "visible"
|
|
406
407
|
})
|
|
407
408
|
}, Ct({ _: 2 }, [
|
|
408
409
|
t.$slots.menuIcon ? {
|
|
@@ -454,7 +455,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
454
455
|
]),
|
|
455
456
|
key: "6"
|
|
456
457
|
} : void 0
|
|
457
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
458
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
458
459
|
K.value ? (a(), n("svg", {
|
|
459
460
|
key: 4,
|
|
460
461
|
ref_key: "svgRef",
|
|
@@ -477,42 +478,42 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
477
478
|
}, [
|
|
478
479
|
z(t.$slots, "chart-background", {}, void 0, !0)
|
|
479
480
|
], 8, qt)) : c("", !0),
|
|
480
|
-
|
|
481
|
-
|
|
481
|
+
S("defs", null, [
|
|
482
|
+
S("linearGradient", {
|
|
482
483
|
id: `hover_${V.value}`,
|
|
483
484
|
x1: "0%",
|
|
484
485
|
y1: "0%",
|
|
485
486
|
x2: "0%",
|
|
486
487
|
y2: "100%"
|
|
487
488
|
}, [
|
|
488
|
-
|
|
489
|
+
S("stop", {
|
|
489
490
|
offset: "0%",
|
|
490
491
|
"stop-color": r(J)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
491
492
|
}, null, 8, Kt),
|
|
492
|
-
|
|
493
|
+
S("stop", {
|
|
493
494
|
offset: "100%",
|
|
494
495
|
"stop-color": r(J)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
495
496
|
}, null, 8, Qt)
|
|
496
497
|
], 8, Jt),
|
|
497
|
-
|
|
498
|
+
S("radialGradient", {
|
|
498
499
|
id: `focus_${V.value}`
|
|
499
500
|
}, [
|
|
500
|
-
|
|
501
|
+
S("stop", {
|
|
501
502
|
offset: "0%",
|
|
502
503
|
"stop-color": r(J)(r(he)(e.value.style.chart.backgroundColor), 0)
|
|
503
504
|
}, null, 8, el),
|
|
504
|
-
|
|
505
|
+
S("stop", {
|
|
505
506
|
offset: "77%",
|
|
506
507
|
"stop-color": r(J)("#FFFFFF", 30)
|
|
507
508
|
}, null, 8, tl),
|
|
508
|
-
|
|
509
|
+
S("stop", {
|
|
509
510
|
offset: "100%",
|
|
510
511
|
"stop-color": r(J)(r(he)(e.value.style.chart.backgroundColor), 0)
|
|
511
512
|
}, null, 8, ll)
|
|
512
513
|
], 8, Zt)
|
|
513
514
|
]),
|
|
514
515
|
e.value.style.chart.layout.grid.show ? (a(), n("g", al, [
|
|
515
|
-
|
|
516
|
+
S("line", {
|
|
516
517
|
x1: i.value.left,
|
|
517
518
|
x2: i.value.left,
|
|
518
519
|
y1: i.value.top,
|
|
@@ -521,7 +522,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
521
522
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
522
523
|
"stroke-linecap": "round"
|
|
523
524
|
}, null, 8, ol),
|
|
524
|
-
|
|
525
|
+
S("line", {
|
|
525
526
|
x1: i.value.left,
|
|
526
527
|
x2: v.value.absoluteWidth - i.value.right,
|
|
527
528
|
y1: v.value.absoluteHeight - i.value.bottom,
|
|
@@ -579,8 +580,8 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
579
580
|
], 2)) : c("", !0),
|
|
580
581
|
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), n("g", cl, [
|
|
581
582
|
(a(!0), n($, null, I(y.value.end - y.value.start, (l, s) => (a(), n("g", null, [
|
|
582
|
-
(e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === O.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) &&
|
|
583
|
-
String(
|
|
583
|
+
(e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === O.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && L.value[s] && L.value[s].text ? (a(), n("g", vl, [
|
|
584
|
+
String(L.value[s].text).includes(`
|
|
584
585
|
`) ? (a(), n("text", {
|
|
585
586
|
key: 1,
|
|
586
587
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -588,7 +589,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
588
589
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
589
590
|
transform: `translate(${i.value.left + p.value * s + p.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + v.value.absoluteHeight - i.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
|
|
590
591
|
innerHTML: r(Pt)({
|
|
591
|
-
content: String(
|
|
592
|
+
content: String(L.value[s].text),
|
|
592
593
|
fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
593
594
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
594
595
|
x: 0,
|
|
@@ -600,7 +601,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
600
601
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
601
602
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
602
603
|
transform: `translate(${i.value.left + p.value * s + p.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + v.value.absoluteHeight - i.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
603
|
-
}, x(
|
|
604
|
+
}, x(L.value[s].text), 9, dl))
|
|
604
605
|
])) : c("", !0)
|
|
605
606
|
]))), 256))
|
|
606
607
|
])) : c("", !0),
|
|
@@ -655,8 +656,8 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
655
656
|
"font-weight": "bold"
|
|
656
657
|
}, x(u.name) + ": " + x(gt(u, l.donut)) + " (" + x(u.value === null ? "-" : Pe(u.value, u, f)) + ") ", 9, xl)) : c("", !0)
|
|
657
658
|
]))), 256)),
|
|
658
|
-
|
|
659
|
-
|
|
659
|
+
S("g", null, [
|
|
660
|
+
S("circle", {
|
|
660
661
|
cx: l.x,
|
|
661
662
|
cy: l.y,
|
|
662
663
|
r: l.hoverRadius,
|
|
@@ -682,8 +683,8 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
682
683
|
fill: `${u.color}`,
|
|
683
684
|
"stroke-width": 1,
|
|
684
685
|
stroke: e.value.style.chart.backgroundColor
|
|
685
|
-
}, null, 8,
|
|
686
|
-
])) : (a(), n("g",
|
|
686
|
+
}, null, 8, Sl))), 256))
|
|
687
|
+
])) : (a(), n("g", Ll, [
|
|
687
688
|
(a(!0), n($, null, I(l.donut, (u, f) => (a(), n("path", {
|
|
688
689
|
d: u.arcSlice,
|
|
689
690
|
fill: `${u.color}`,
|
|
@@ -759,8 +760,8 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
759
760
|
borderColor: e.value.style.chart.backgroundColor,
|
|
760
761
|
fontSize: e.value.style.chart.zoom.fontSize,
|
|
761
762
|
useResetSlot: e.value.style.chart.zoom.useResetSlot,
|
|
762
|
-
labelLeft:
|
|
763
|
-
labelRight:
|
|
763
|
+
labelLeft: L.value[0] ? L.value[0].text : "",
|
|
764
|
+
labelRight: L.value.at(-1) ? L.value.at(-1).text : "",
|
|
764
765
|
textColor: e.value.style.chart.color,
|
|
765
766
|
inputColor: e.value.style.chart.zoom.color,
|
|
766
767
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
@@ -790,7 +791,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
790
791
|
onClickMarker: o[2] || (o[2] = ({ legend: l }) => re(l.uid))
|
|
791
792
|
}, {
|
|
792
793
|
item: w(({ legend: l, index: s }) => [
|
|
793
|
-
|
|
794
|
+
S("div", {
|
|
794
795
|
onClick: (u) => re(l.uid),
|
|
795
796
|
style: ee(`opacity:${k.value.includes(l.uid) ? 0.5 : 1}`)
|
|
796
797
|
}, [
|
|
@@ -849,7 +850,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
849
850
|
]),
|
|
850
851
|
td: w(({ td: l }) => [
|
|
851
852
|
l.value === null ? (a(), n("span", Tl, "-")) : (a(), n("b", El, x(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + x(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + x(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
852
|
-
|
|
853
|
+
S("span", null, x(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
853
854
|
]),
|
|
854
855
|
_: 1
|
|
855
856
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -871,7 +872,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
871
872
|
fullscreenParent: ue.value
|
|
872
873
|
}, {
|
|
873
874
|
title: w(() => [
|
|
874
|
-
de(x(
|
|
875
|
+
de(x(L.value[Number(E.value.index)] ? L.value[Number(E.value.index)].text : ""), 1)
|
|
875
876
|
]),
|
|
876
877
|
default: w(() => [
|
|
877
878
|
E.value ? (a(), F(r(st), {
|
|
@@ -884,7 +885,7 @@ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"]
|
|
|
884
885
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : c("", !0)
|
|
885
886
|
], 46, jt));
|
|
886
887
|
}
|
|
887
|
-
}, Jl = /* @__PURE__ */ Wt(Hl, [["__scopeId", "data-v-
|
|
888
|
+
}, Jl = /* @__PURE__ */ Wt(Hl, [["__scopeId", "data-v-66d6b9b0"]]);
|
|
888
889
|
export {
|
|
889
890
|
Jl as default
|
|
890
891
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, computed as g, ref as d, watch as ge, shallowRef as pe, onMounted as me, onBeforeUnmount as We, createElementBlock as r, openBlock as o, unref as n, normalizeStyle as E, normalizeClass as ke, createBlock as A, createCommentVNode as v, createElementVNode as i, createSlots as Ue, withCtx as k, renderSlot as p, normalizeProps as R, guardReactiveProps as H, createVNode as Be, Fragment as $, renderList as L, toDisplayString as z, createTextVNode as _e, nextTick as je } from "vue";
|
|
2
|
-
import { u as qe, c as xe, a as Ye, o as Ze, e as we, g as Je, v as Ce, D as Ke, f as S, X as $e, i as q, l as Le, h as Ae, q as Qe, r as et } from "./index-
|
|
2
|
+
import { u as qe, c as xe, a as Ye, o as Ze, e as we, g as Je, v as Ce, D as Ke, f as S, X as $e, i as q, l as Le, h as Ae, q as Qe, r as et } from "./index-DvIXJm6t.js";
|
|
3
3
|
import { t as tt, u as lt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ze } from "./useNestedProp-
|
|
5
|
-
import { u as at } from "./usePrinter-
|
|
4
|
+
import { u as ze } from "./useNestedProp-DrYHm61t.js";
|
|
5
|
+
import { u as at } from "./usePrinter-CWnXbGMb.js";
|
|
6
6
|
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ot } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import rt from "./Legend-
|
|
9
|
-
import nt from "./Title-
|
|
8
|
+
import rt from "./Legend-nBXoxXJH.js";
|
|
9
|
+
import nt from "./Title-Gi81VwUM.js";
|
|
10
10
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"], vt = { key: 1 }, ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], yt = { key: 2 }, ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gt = { key: 3 }, pt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["x", "y", "font-size", "fill"], kt = { key: 4 }, _t = ["x", "y", "font-size", "fill", "font-weight"], xt = ["id"], wt = ["stop-color"], Ct = ["stop-color"], $t = ["stop-color"], Lt = ["id"], At = ["stop-color"], zt = ["stop-color"], St = ["stop-color"], Xt = ["id"], Nt = ["stop-color"], Tt = ["stop-color"], Ot = ["id"], Pt = ["stop-color"], Mt = ["stop-color"], It = { key: 0 }, Gt = ["d", "fill"], Dt = { key: 1 }, Ft = ["x", "y", "height", "width", "fill"], Vt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Et = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Rt = { key: 5 }, Ht = ["x", "y", "fill", "font-size"], Wt = { key: 6 }, Ut = ["x", "y", "fill", "font-size"], Bt = {
|
|
12
12
|
key: 5,
|
|
@@ -29,7 +29,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["selectDatapoint"],
|
|
31
31
|
setup(Se, { expose: Xe, emit: Jt }) {
|
|
32
|
-
const Ne = T(() => import("./vue-ui-accordion-
|
|
32
|
+
const Ne = T(() => import("./vue-ui-accordion-D55kCO5G.js")), Te = T(() => import("./DataTable-CHBLjKtZ.js")), Oe = T(() => import("./PackageVersion-Bg_9KCU-.js")), Pe = T(() => import("./PenAndPaper-BPTpbnay.js")), Me = T(() => import("./vue-ui-skeleton-BAOt2neL.js")), Ie = T(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_dumbbell: Ge } = qe(), b = Se, X = g({
|
|
33
33
|
get() {
|
|
34
34
|
return !!b.dataset && b.dataset.length;
|
|
35
35
|
},
|
|
@@ -327,6 +327,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
327
327
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
328
328
|
isAnnotation: F.value,
|
|
329
329
|
callbacks: e.value.userOptions.callbacks,
|
|
330
|
+
printScale: e.value.userOptions.print.scale,
|
|
330
331
|
onToggleFullscreen: Ee,
|
|
331
332
|
onGeneratePdf: n(ce),
|
|
332
333
|
onGenerateCsv: fe,
|
|
@@ -386,7 +387,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
386
387
|
]),
|
|
387
388
|
key: "6"
|
|
388
389
|
} : void 0
|
|
389
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
390
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
390
391
|
X.value ? (o(), r("svg", {
|
|
391
392
|
key: 4,
|
|
392
393
|
ref_key: "svgRef",
|
|
@@ -731,7 +732,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
731
732
|
}, 8, ["config"])) : v("", !0)
|
|
732
733
|
], 46, it));
|
|
733
734
|
}
|
|
734
|
-
}, ul = /* @__PURE__ */ ut(Zt, [["__scopeId", "data-v-
|
|
735
|
+
}, ul = /* @__PURE__ */ ut(Zt, [["__scopeId", "data-v-73291f9b"]]);
|
|
735
736
|
export {
|
|
736
737
|
ul as default
|
|
737
738
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineAsyncComponent as E, computed as p, onMounted as ut, ref as y, watch as it, createElementBlock as g, openBlock as d, unref as r, normalizeStyle as L, normalizeClass as Me, createBlock as B, createCommentVNode as _, createElementVNode as D, createVNode as de, createSlots as ct, withCtx as w, renderSlot as b, normalizeProps as R, guardReactiveProps as V, Fragment as U, renderList as W, toDisplayString as j, createTextVNode as dt, nextTick as vt } from "vue";
|
|
2
|
-
import { u as ft, o as ht, e as pt, c as ve, t as gt, p as S, a as mt, b as yt, v as $, d as bt, f as X, X as kt, F as He, L as Ct, i as fe, q as wt, r as $t, x as Tt } from "./index-
|
|
3
|
-
import { u as Ye } from "./useNestedProp-
|
|
4
|
-
import { u as xt } from "./usePrinter-
|
|
2
|
+
import { u as ft, o as ht, e as pt, c as ve, t as gt, p as S, a as mt, b as yt, v as $, d as bt, f as X, X as kt, F as He, L as Ct, i as fe, q as wt, r as $t, x as Tt } from "./index-DvIXJm6t.js";
|
|
3
|
+
import { u as Ye } from "./useNestedProp-DrYHm61t.js";
|
|
4
|
+
import { u as xt } from "./usePrinter-CWnXbGMb.js";
|
|
5
5
|
import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Nt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import Ot from "./Legend-
|
|
8
|
-
import St from "./Title-
|
|
7
|
+
import Ot from "./Legend-nBXoxXJH.js";
|
|
8
|
+
import St from "./Title-Gi81VwUM.js";
|
|
9
9
|
import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const Pt = ["id"], Lt = {
|
|
11
11
|
key: 1,
|
|
@@ -39,7 +39,7 @@ const Pt = ["id"], Lt = {
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
setup(Be, { expose: De }) {
|
|
42
|
-
const Re = E(() => import("./vue-ui-accordion-
|
|
42
|
+
const Re = E(() => import("./vue-ui-accordion-D55kCO5G.js")), Ve = E(() => import("./DataTable-CHBLjKtZ.js")), Ge = E(() => import("./PackageVersion-Bg_9KCU-.js")), Ue = E(() => import("./PenAndPaper-BPTpbnay.js")), We = E(() => import("./vue-ui-skeleton-BAOt2neL.js")), je = E(() => import("./Tooltip-CJxVw7-T.js")), Xe = E(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_flow: qe } = ft(), T = Be, ee = p(() => !!T.dataset && T.dataset.length);
|
|
43
43
|
ut(() => {
|
|
44
44
|
he();
|
|
45
45
|
});
|
|
@@ -472,6 +472,7 @@ const Pt = ["id"], Lt = {
|
|
|
472
472
|
chartElement: oe.value,
|
|
473
473
|
position: e.value.userOptions.position,
|
|
474
474
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
475
|
+
printScale: e.value.userOptions.print.scale,
|
|
475
476
|
isAnnotation: K.value,
|
|
476
477
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
477
478
|
isTooltip: N.value.showTooltip,
|
|
@@ -542,7 +543,7 @@ const Pt = ["id"], Lt = {
|
|
|
542
543
|
]),
|
|
543
544
|
key: "7"
|
|
544
545
|
} : void 0
|
|
545
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "callbacks", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
|
|
546
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "callbacks", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "printScale", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
|
|
546
547
|
(d(), g("svg", {
|
|
547
548
|
ref_key: "svgRef",
|
|
548
549
|
ref: be,
|
|
@@ -743,7 +744,7 @@ const Pt = ["id"], Lt = {
|
|
|
743
744
|
}, 8, ["config"])) : _("", !0)
|
|
744
745
|
], 46, Pt));
|
|
745
746
|
}
|
|
746
|
-
}, lo = /* @__PURE__ */ Ft(jt, [["__scopeId", "data-v-
|
|
747
|
+
}, lo = /* @__PURE__ */ Ft(jt, [["__scopeId", "data-v-00141fe6"]]);
|
|
747
748
|
export {
|
|
748
749
|
lo as default
|
|
749
750
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useCssVars as Ie, computed as d, defineAsyncComponent as
|
|
2
|
-
import { u as Ge, c as je, o as He, e as ge, g as Xe, d as qe, l as Ye, i as H, f as X, X as We, F as Je, E as K, a as Ke, q as Qe, r as Ze } from "./index-
|
|
3
|
-
import { u as pe } from "./useNestedProp-
|
|
4
|
-
import { u as et } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Ie, computed as d, defineAsyncComponent as S, ref as h, shallowRef as ye, onMounted as De, onBeforeUnmount as Re, watch as Me, createElementBlock as u, openBlock as o, unref as s, normalizeStyle as L, normalizeClass as O, createBlock as z, createCommentVNode as f, createSlots as Ve, withCtx as g, renderSlot as b, normalizeProps as B, guardReactiveProps as E, createVNode as Be, createElementVNode as w, mergeProps as J, Fragment as U, renderList as G, toDisplayString as j, createTextVNode as Ee, nextTick as Ue } from "vue";
|
|
2
|
+
import { u as Ge, c as je, o as He, e as ge, g as Xe, d as qe, l as Ye, i as H, f as X, X as We, F as Je, E as K, a as Ke, q as Qe, r as Ze } from "./index-DvIXJm6t.js";
|
|
3
|
+
import { u as pe } from "./useNestedProp-DrYHm61t.js";
|
|
4
|
+
import { u as et } from "./usePrinter-CWnXbGMb.js";
|
|
5
5
|
import { t as tt, u as at } from "./useResponsive-DfdjqQps.js";
|
|
6
6
|
import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as st } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import ot from "./Title-
|
|
8
|
+
import ot from "./Title-Gi81VwUM.js";
|
|
9
9
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["id"], vt = ["stop-color"], dt = ["stop-color"], ht = ["stop-color"], ft = ["stroke", "stroke-width"], bt = ["stroke", "stroke-width"], mt = ["x", "y", "font-size", "fill", "font-weight"], yt = ["points", "fill"], gt = ["stroke", "stroke-width", "rx"], pt = ["x", "y", "font-size", "fill", "font-weight"], kt = ["x", "y", "font-size", "fill", "font-weight"], Ct = {
|
|
11
11
|
key: 5,
|
|
@@ -28,9 +28,9 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
28
28
|
},
|
|
29
29
|
setup(ke, { expose: Ce }) {
|
|
30
30
|
Ie((t) => ({
|
|
31
|
-
|
|
31
|
+
a313bc42: Pe.value
|
|
32
32
|
}));
|
|
33
|
-
const we =
|
|
33
|
+
const we = S(() => import("./vue-ui-accordion-D55kCO5G.js")), $e = S(() => import("./DataTable-CHBLjKtZ.js")), xe = S(() => import("./PackageVersion-Bg_9KCU-.js")), Le = S(() => import("./PenAndPaper-BPTpbnay.js")), _e = S(() => import("./vue-ui-skeleton-BAOt2neL.js")), Ae = S(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_funnel: Te } = Ge(), m = ke, R = h(null), N = h(je()), Q = h(0), Z = h(0), ee = h(0), te = h(null), ae = h(null), le = h(null), C = ye(null), _ = ye(null), $ = h(!1), A = d(() => !!m.dataset && m.dataset.length);
|
|
34
34
|
De(se);
|
|
35
35
|
function se() {
|
|
36
36
|
if (He(m.dataset) ? ge({
|
|
@@ -107,7 +107,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
107
107
|
elementId: `funnel_${N.value}`,
|
|
108
108
|
fileName: e.value.style.chart.title.text || "vue-ui-funnel",
|
|
109
109
|
options: e.value.userOptions.print
|
|
110
|
-
}),
|
|
110
|
+
}), Se = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), P = h({
|
|
111
111
|
showTable: e.value.table.show
|
|
112
112
|
}), i = h({
|
|
113
113
|
circles: e.value.style.chart.circles.dataLabels.fontSize,
|
|
@@ -155,7 +155,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
155
155
|
})), Oe = d(() => {
|
|
156
156
|
const t = r.value.map((l) => `${l.x + l.width},${l.y + (T.value - x.value) / 2}`);
|
|
157
157
|
return `${r.value[0].x},${r.value[0].y + (T.value - x.value) / 2} ${t.toString()} ${r.value.at(-1).x},${r.value.at(-1).y + (T.value - x.value) / 2}`;
|
|
158
|
-
}),
|
|
158
|
+
}), ze = d(() => ({
|
|
159
159
|
x1: r.value[0].cx,
|
|
160
160
|
y1: r.value[0].cy,
|
|
161
161
|
x2: r.value.at(-1).cx,
|
|
@@ -259,7 +259,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
259
259
|
onMouseenter: l[1] || (l[1] = () => s(ne)(!0)),
|
|
260
260
|
onMouseleave: l[2] || (l[2] = () => s(ne)(!1))
|
|
261
261
|
}, [
|
|
262
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
262
|
+
e.value.userOptions.buttons.annotator ? (o(), z(s(Le), {
|
|
263
263
|
key: 0,
|
|
264
264
|
svgRef: s(ue),
|
|
265
265
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -267,7 +267,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
267
267
|
active: M.value,
|
|
268
268
|
onClose: Y
|
|
269
269
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
270
|
-
|
|
270
|
+
Se.value ? (o(), u("div", {
|
|
271
271
|
key: 1,
|
|
272
272
|
ref_key: "noTitle",
|
|
273
273
|
ref: te,
|
|
@@ -280,7 +280,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
280
280
|
ref: le,
|
|
281
281
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
282
282
|
}, [
|
|
283
|
-
(o(),
|
|
283
|
+
(o(), z(ot, {
|
|
284
284
|
key: `title_${Z.value}`,
|
|
285
285
|
config: {
|
|
286
286
|
title: {
|
|
@@ -294,7 +294,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
294
294
|
}
|
|
295
295
|
}, null, 8, ["config"]))
|
|
296
296
|
], 512)) : f("", !0),
|
|
297
|
-
e.value.userOptions.show && A.value && (s(re) || s(q)) ? (o(),
|
|
297
|
+
e.value.userOptions.show && A.value && (s(re) || s(q)) ? (o(), z(s(Ae), {
|
|
298
298
|
ref: "details",
|
|
299
299
|
key: `user_option_${Q.value}`,
|
|
300
300
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -316,6 +316,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
316
316
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
317
317
|
isAnnotation: M.value,
|
|
318
318
|
callbacks: e.value.userOptions.callbacks,
|
|
319
|
+
printScale: e.value.userOptions.print.scale,
|
|
319
320
|
onToggleAnnotator: Y,
|
|
320
321
|
onToggleFullscreen: Ne,
|
|
321
322
|
onGeneratePdf: s(ve),
|
|
@@ -375,7 +376,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
375
376
|
]),
|
|
376
377
|
key: "6"
|
|
377
378
|
} : void 0
|
|
378
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
379
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
379
380
|
A.value ? (o(), u("svg", {
|
|
380
381
|
key: 4,
|
|
381
382
|
ref_key: "svgRef",
|
|
@@ -421,7 +422,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
421
422
|
}, null, 8, ht)
|
|
422
423
|
], 8, ct)
|
|
423
424
|
]),
|
|
424
|
-
e.value.style.chart.circleLinks.show ? (o(), u("line", J({ key: 1 },
|
|
425
|
+
e.value.style.chart.circleLinks.show ? (o(), u("line", J({ key: 1 }, ze.value, {
|
|
425
426
|
stroke: e.value.style.chart.circleLinks.color,
|
|
426
427
|
"stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
|
|
427
428
|
"stroke-linecap": "round",
|
|
@@ -533,7 +534,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
533
534
|
t.$slots.watermark ? (o(), u("div", Ct, [
|
|
534
535
|
b(t.$slots, "watermark", B(E({ isPrinting: s(ie) || s(ce) })), void 0, !0)
|
|
535
536
|
])) : f("", !0),
|
|
536
|
-
A.value ? f("", !0) : (o(),
|
|
537
|
+
A.value ? f("", !0) : (o(), z(s(_e), {
|
|
537
538
|
key: 6,
|
|
538
539
|
config: {
|
|
539
540
|
type: "verticalBar",
|
|
@@ -556,7 +557,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
556
557
|
}, [
|
|
557
558
|
b(t.$slots, "source", {}, void 0, !0)
|
|
558
559
|
], 512)) : f("", !0),
|
|
559
|
-
A.value ? (o(),
|
|
560
|
+
A.value ? (o(), z(s(we), {
|
|
560
561
|
key: 8,
|
|
561
562
|
hideDetails: "",
|
|
562
563
|
config: {
|
|
@@ -573,7 +574,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
573
574
|
}
|
|
574
575
|
}, {
|
|
575
576
|
content: g(() => [
|
|
576
|
-
(o(),
|
|
577
|
+
(o(), z(s($e), {
|
|
577
578
|
key: `table_${ee.value}`,
|
|
578
579
|
colNames: V.value.colNames,
|
|
579
580
|
head: V.value.head,
|
|
@@ -598,7 +599,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
598
599
|
}, 8, ["config"])) : f("", !0)
|
|
599
600
|
], 46, rt));
|
|
600
601
|
}
|
|
601
|
-
}, Pt = /* @__PURE__ */ nt($t, [["__scopeId", "data-v-
|
|
602
|
+
}, Pt = /* @__PURE__ */ nt($t, [["__scopeId", "data-v-6a133114"]]);
|
|
602
603
|
export {
|
|
603
604
|
Pt as default
|
|
604
605
|
};
|