vue-data-ui 3.0.0-next.73 → 3.0.0-next.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DSSjD4Ff.js → Arrow-DlebInbO.js} +1 -1
- package/dist/{BaseDraggableDialog-B95qHlBZ.js → BaseDraggableDialog-tQB04SOs.js} +2 -2
- package/dist/{BaseIcon-D4UMFIS-.js → BaseIcon-DxXLzb15.js} +1 -1
- package/dist/{ColorPicker-DFI3NleD.js → ColorPicker-Bpc6e5mE.js} +2 -2
- package/dist/{DataTable-CMMsXA0n.js → DataTable-CuJplxJU.js} +2 -2
- package/dist/{Legend-C5UNFNQQ.js → Legend-ioFJsYH-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DAR9-Zzo.js → NonSvgPenAndPaper-CH2Z9b2e.js} +3 -3
- package/dist/{PackageVersion-B1daxzGa.js → PackageVersion-Cqvb9VXZ.js} +1 -1
- package/dist/{PenAndPaper-CBpnHUIk.js → PenAndPaper-BqhD2pOj.js} +3 -3
- package/dist/{Shape-BselAAXg.js → Shape-CSkkoa5p.js} +1 -1
- package/dist/{Slicer-D3DQKDKt.js → Slicer-Dsw544JD.js} +2 -2
- package/dist/{SparkTooltip-Bp_VDs91.js → SparkTooltip-CwUOWLYh.js} +1 -1
- package/dist/{Title-CP3JSAsP.js → Title-DM17sbc-.js} +1 -1
- package/dist/{Tooltip-H-ElnGwO.js → Tooltip-DSoDpjRJ.js} +1 -1
- package/dist/{UserOptions-HpTycUgM.js → UserOptions-gH1Ahkhe.js} +2 -2
- package/dist/{dom-to-png-CfQgUFBr.js → dom-to-png-BHtbi9J3.js} +1 -1
- package/dist/{img-Bim7Y1-m.js → img-WAJVcEH2.js} +1 -1
- package/dist/{index-yC6NjpP_.js → index-Be3YloBf.js} +849 -778
- package/dist/{pdf-DiKUcI4N.js → pdf-BgW32I8a.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +52 -13
- package/dist/types/vue-data-ui.d.ts +52 -13
- package/dist/{useAutoSizeLabelsInsideViewbox-CZnSPf_C.js → useAutoSizeLabelsInsideViewbox-BF4GVlCH.js} +1 -1
- package/dist/{useNestedProp-CF55-wsO.js → useNestedProp-BPkXaKa1.js} +1 -1
- package/dist/{usePrinter-DC8yU0M6.js → usePrinter-BV33Qwmk.js} +2 -2
- package/dist/{vue-data-ui-D0AafFtx.js → vue-data-ui-DD8WUltQ.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CvHFid3D.js → vue-ui-3d-bar-Dxjd1sN7.js} +6 -6
- package/dist/{vue-ui-accordion-D1RDCQOF.js → vue-ui-accordion-KpWnxkbY.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BdyLeyYg.js → vue-ui-age-pyramid-BD2EOye9.js} +59 -58
- package/dist/{vue-ui-annotator-C_bRFtcX.js → vue-ui-annotator-DE6HLQ7K.js} +2 -2
- package/dist/{vue-ui-bullet-DZUwoLaN.js → vue-ui-bullet-vQsnc5Td.js} +7 -7
- package/dist/{vue-ui-candlestick-CS7PhJFI.js → vue-ui-candlestick-DiuBIQFo.js} +96 -95
- package/dist/{vue-ui-carousel-table-BALWOIi7.js → vue-ui-carousel-table-IWjiIJOo.js} +4 -4
- package/dist/{vue-ui-chestnut-ofw7Kv6_.js → vue-ui-chestnut-867kjoDn.js} +5 -5
- package/dist/{vue-ui-chord-D4COvMcc.js → vue-ui-chord-DkfouYyb.js} +8 -8
- package/dist/{vue-ui-circle-pack-CN8Y_fbd.js → vue-ui-circle-pack-BgIxgce3.js} +6 -6
- package/dist/{vue-ui-cursor-BZzYhn1r.js → vue-ui-cursor-DKwYaoFO.js} +2 -2
- package/dist/{vue-ui-dashboard-CL15hNdX.js → vue-ui-dashboard-nb_Tdvwb.js} +62 -62
- package/dist/{vue-ui-digits-BNgAR6Ty.js → vue-ui-digits-DZ3HnXon.js} +2 -2
- package/dist/{vue-ui-donut-vjWFIVVT.js → vue-ui-donut-CzCl9JR8.js} +8 -8
- package/dist/{vue-ui-donut-evolution-BGmV-HK9.js → vue-ui-donut-evolution-BQ2OSYUs.js} +12 -11
- package/dist/{vue-ui-dumbbell-0XOfrNz5.js → vue-ui-dumbbell-BqXhujgy.js} +11 -10
- package/dist/{vue-ui-flow-Br-wzIvL.js → vue-ui-flow-DJk5nDXA.js} +7 -7
- package/dist/{vue-ui-funnel-DzedRSBG.js → vue-ui-funnel-BDwH3FtD.js} +6 -6
- package/dist/{vue-ui-galaxy-CZ_yUdUc.js → vue-ui-galaxy-EY8HRZXp.js} +5 -5
- package/dist/{vue-ui-gauge-uy-r5_ts.js → vue-ui-gauge-DMcHPKUR.js} +7 -7
- package/dist/{vue-ui-gizmo-BQhw5JEa.js → vue-ui-gizmo-6FSB-WDl.js} +3 -3
- package/dist/{vue-ui-heatmap-Cp9MFC-v.js → vue-ui-heatmap-C_xD3d6M.js} +13 -13
- package/dist/{vue-ui-history-plot-Cf5Jb5bh.js → vue-ui-history-plot-2xIA6g8q.js} +38 -37
- package/dist/{vue-ui-kpi-Y1hL7GmA.js → vue-ui-kpi-BrjdXiVR.js} +3 -3
- package/dist/{vue-ui-mini-loader-CtyAttV-.js → vue-ui-mini-loader-itxvZl1j.js} +2 -2
- package/dist/{vue-ui-molecule-CMIkxVGa.js → vue-ui-molecule-B1CXM01Y.js} +5 -5
- package/dist/{vue-ui-mood-radar-BWzqpz-S.js → vue-ui-mood-radar-C2lpLvo4.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CDpwfAN2.js → vue-ui-nested-donuts-ByE-C9zx.js} +9 -9
- package/dist/{vue-ui-onion-DyKREw1v.js → vue-ui-onion-D6xfskcr.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-DNXNpjFr.js → vue-ui-parallel-coordinate-plot-Dx_-SFUT.js} +38 -37
- package/dist/{vue-ui-quadrant-CYBYnBGc.js → vue-ui-quadrant-C6SCZK03.js} +8 -8
- package/dist/{vue-ui-quick-chart-BjdF07yD.js → vue-ui-quick-chart-ENmRTJJa.js} +72 -71
- package/dist/{vue-ui-radar-Di-SJYfb.js → vue-ui-radar-DfdSM-Il.js} +8 -8
- package/dist/{vue-ui-rating-CU8NifYD.js → vue-ui-rating-CHMK4MLu.js} +2 -2
- package/dist/{vue-ui-relation-circle-CAOK7rm3.js → vue-ui-relation-circle-DwuyPmGj.js} +7 -7
- package/dist/{vue-ui-ridgeline-GPu2Vvus.js → vue-ui-ridgeline-CvyCWHmy.js} +16 -12
- package/dist/{vue-ui-rings-BdiWrA9u.js → vue-ui-rings-DuRAZ4PD.js} +8 -8
- package/dist/{vue-ui-scatter-DDkfRnEn.js → vue-ui-scatter-Cj4In9o1.js} +8 -8
- package/dist/{vue-ui-skeleton-B-hXFx8d.js → vue-ui-skeleton-DpHEVrfC.js} +3 -3
- package/dist/{vue-ui-smiley-BVY3aoLN.js → vue-ui-smiley-Dvi-xiM1.js} +2 -2
- package/dist/{vue-ui-spark-trend-9iJOtdiO.js → vue-ui-spark-trend-Bq7OOC27.js} +3 -3
- package/dist/{vue-ui-sparkbar-BUwb_Cai.js → vue-ui-sparkbar-Ct7dyPaA.js} +3 -3
- package/dist/{vue-ui-sparkgauge-zAH9pBNs.js → vue-ui-sparkgauge-BZHWmTFZ.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DJNIVe8_.js → vue-ui-sparkhistogram-CCa5tbpq.js} +4 -4
- package/dist/{vue-ui-sparkline-CLNGpAWN.js → vue-ui-sparkline-bZCi8CR7.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BaBWSDJQ.js → vue-ui-sparkstackbar-CJX-bUJj.js} +3 -3
- package/dist/{vue-ui-stackbar-BeYObYAK.js → vue-ui-stackbar-DALCNLjV.js} +13 -12
- package/dist/{vue-ui-strip-plot-Bx_gFqdA.js → vue-ui-strip-plot-dvRLKPb2.js} +11 -10
- package/dist/{vue-ui-table-BYck0KzF.js → vue-ui-table-BotcBqEH.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Bzmq-Cuf.js → vue-ui-table-heatmap-Ac60woo0.js} +5 -5
- package/dist/{vue-ui-table-sparkline-C3hqLejN.js → vue-ui-table-sparkline-CUEGfm0y.js} +4 -4
- package/dist/{vue-ui-thermometer-D-T8l96n.js → vue-ui-thermometer-DgzA1aXg.js} +7 -7
- package/dist/{vue-ui-timer-Cemsg65D.js → vue-ui-timer-ZMIxKbzb.js} +5 -5
- package/dist/{vue-ui-tiremarks-Vpcrptou.js → vue-ui-tiremarks-Cj8qpTiw.js} +6 -6
- package/dist/{vue-ui-treemap-pDBDb6YS.js → vue-ui-treemap-BhPlPsmp.js} +8 -8
- package/dist/{vue-ui-vertical-bar-c3bZjEFp.js → vue-ui-vertical-bar-CI6CfNMA.js} +9 -9
- package/dist/{vue-ui-waffle-BraVnSOA.js → vue-ui-waffle-Kht4b0uT.js} +8 -8
- package/dist/{vue-ui-wheel-C4nBwldq.js → vue-ui-wheel-CbbKmXVB.js} +6 -6
- package/dist/{vue-ui-word-cloud-CrUAfQVc.js → vue-ui-word-cloud-5zpZS9-4.js} +6 -6
- package/dist/{vue-ui-world-CBvxCA9O.js → vue-ui-world-e0l9EEdQ.js} +6 -6
- package/dist/{vue-ui-xy-CvjDEG3I.js → vue-ui-xy-DxjJ5aYg.js} +13 -12
- package/dist/{vue-ui-xy-canvas-BQvj0rhW.js → vue-ui-xy-canvas-DKMqvCTi.js} +8 -8
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as D, computed as y, ref as d, toRefs as bt, watch as re, shallowRef as Be, onMounted as gt, onBeforeUnmount as xt, watchEffect as kt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as M, normalizeClass as V, createBlock as L, createCommentVNode as m, createElementVNode as E, createVNode as We, createSlots as wt, withCtx as w, renderSlot as b, normalizeProps as H, guardReactiveProps as B, Fragment as
|
|
2
|
-
import { u as
|
|
1
|
+
import { defineAsyncComponent as D, computed as y, ref as d, toRefs as bt, watch as re, shallowRef as Be, onMounted as gt, onBeforeUnmount as xt, watchEffect as kt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as M, normalizeClass as V, createBlock as L, createCommentVNode as m, createElementVNode as E, createVNode as We, createSlots as wt, withCtx as w, renderSlot as b, normalizeProps as H, guardReactiveProps as B, Fragment as C, renderList as N, toDisplayString as W, createTextVNode as At } from "vue";
|
|
2
|
+
import { u as Ct, c as ce, t as $t, a as Tt, p as J, b as zt, o as Ue, f as Ve, g as Mt, d as Nt, e as Ft, D as _t, U as It, V as Lt, W as Pt, X as Ot, I as St, y as je, E as K, v as Rt, w as Dt, k as Ge, i as Xe, z as Et } from "./index-Be3YloBf.js";
|
|
3
3
|
import { t as Ye, u as Ht } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Bt } from "./usePrinter-
|
|
4
|
+
import { u as Bt } from "./usePrinter-BV33Qwmk.js";
|
|
5
5
|
import { u as Wt, B as Ut } from "./useLoading-D7YHNtLX.js";
|
|
6
|
-
import { u as qe } from "./useNestedProp-
|
|
6
|
+
import { u as qe } from "./useNestedProp-BPkXaKa1.js";
|
|
7
7
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as jt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as Gt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import Xt from "./Title-
|
|
11
|
-
import Yt from "./Legend-
|
|
12
|
-
import { _ as qt } from "./Shape-
|
|
13
|
-
import Jt from "./img-
|
|
10
|
+
import Xt from "./Title-DM17sbc-.js";
|
|
11
|
+
import Yt from "./Legend-ioFJsYH-.js";
|
|
12
|
+
import { _ as qt } from "./Shape-CSkkoa5p.js";
|
|
13
|
+
import Jt from "./img-WAJVcEH2.js";
|
|
14
14
|
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"], ta = { style: { "pointer-events": "none" } }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = { key: 0 }, sa = ["x", "y", "fill", "font-size", "font-weight"], na = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ia = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], ua = { key: 0 }, ra = ["x", "y", "font-size", "fill"], ca = ["width", "x", "y"], va = { style: { width: "100%" } }, da = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], ha = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], pa = ["d", "onMouseenter", "onMouseleave", "onClick"], ma = {
|
|
16
16
|
key: 4,
|
|
@@ -33,7 +33,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend", "selectDatapoint"],
|
|
35
35
|
setup(Je, { expose: Ke, emit: Qe }) {
|
|
36
|
-
const Ze = D(() => import("./vue-ui-accordion-
|
|
36
|
+
const Ze = D(() => import("./vue-ui-accordion-KpWnxkbY.js")), et = D(() => import("./DataTable-CuJplxJU.js")), tt = D(() => import("./PackageVersion-Cqvb9VXZ.js")), at = D(() => import("./PenAndPaper-BqhD2pOj.js")), lt = D(() => import("./Tooltip-DSoDpjRJ.js")), ot = D(() => import("./UserOptions-gH1Ahkhe.js")), { vue_ui_parallel_coordinate_plot: st } = Ct(), $ = Je, j = y({
|
|
37
37
|
get() {
|
|
38
38
|
return !!$.dataset && $.dataset.length;
|
|
39
39
|
},
|
|
@@ -125,20 +125,20 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
125
125
|
} : a;
|
|
126
126
|
}
|
|
127
127
|
re(() => $.config, (a) => {
|
|
128
|
-
P.value || (e.value = ae()), te.value = !e.value.userOptions.showOnChartHover,
|
|
128
|
+
P.value || (e.value = ae()), te.value = !e.value.userOptions.showOnChartHover, Ce(), ye.value += 1, be.value += 1, fe.value += 1, p.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
129
129
|
}, { deep: !0 }), re(() => $.dataset, (a) => {
|
|
130
130
|
Array.isArray(a) && a.length > 0 && (ee.value = !1);
|
|
131
131
|
}, { deep: !0 });
|
|
132
132
|
const _ = Be(null), S = Be(null);
|
|
133
133
|
gt(() => {
|
|
134
|
-
|
|
134
|
+
Ce();
|
|
135
135
|
});
|
|
136
|
-
const
|
|
137
|
-
function
|
|
136
|
+
const Ae = y(() => !!e.value.debug);
|
|
137
|
+
function Ce() {
|
|
138
138
|
if (Ue($.dataset) ? (Ve({
|
|
139
139
|
componentName: "VueUiParallelCoordinatePlot",
|
|
140
140
|
type: "dataset",
|
|
141
|
-
debug:
|
|
141
|
+
debug: Ae.value
|
|
142
142
|
}), ee.value = !0) : $.dataset.forEach((a, o) => {
|
|
143
143
|
Mt({
|
|
144
144
|
datasetObject: a,
|
|
@@ -149,7 +149,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
149
149
|
type: "datasetSerieAttribute",
|
|
150
150
|
property: t,
|
|
151
151
|
index: o,
|
|
152
|
-
debug:
|
|
152
|
+
debug: Ae.value
|
|
153
153
|
});
|
|
154
154
|
});
|
|
155
155
|
}), Ue($.dataset) || (ee.value = e.value.loading), e.value.responsive) {
|
|
@@ -279,14 +279,14 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
279
279
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
280
280
|
})), Ie = y(() => Math.max(
|
|
281
281
|
...I.value.filter((a) => !z.value.includes(a.id)).map((a) => Math.max(...a.series.flatMap((o) => o.values.length)))
|
|
282
|
-
)),
|
|
282
|
+
)), A = y(() => h.value.width / Ie.value), le = y(() => I.value.filter((a) => !z.value.includes(a.id))), f = y(() => {
|
|
283
283
|
let a = [];
|
|
284
284
|
for (let o = 0; o < Ie.value; o += 1) {
|
|
285
285
|
const t = Math.min(...le.value.flatMap((g) => g.series.map((x) => x.values[o] || 0) || 0)), s = Math.max(...le.value.flatMap((g) => g.series.map((x) => x.values[o] || 0) || 0)), l = s === t ? t / 4 : t, r = s === t ? s * 2 : s, i = _t(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((g, x) => {
|
|
286
286
|
const yt = i.min < 0 ? g + Math.abs(i.min) : g - Math.abs(i.min), ft = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
287
287
|
return {
|
|
288
288
|
y: h.value.bottom - h.value.height * (yt / ft),
|
|
289
|
-
x: h.value.left +
|
|
289
|
+
x: h.value.left + A.value * o + A.value / 2,
|
|
290
290
|
value: g
|
|
291
291
|
};
|
|
292
292
|
});
|
|
@@ -310,7 +310,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
310
310
|
datapointIndex: s,
|
|
311
311
|
seriesIndex: o,
|
|
312
312
|
value: l || 0,
|
|
313
|
-
x: h.value.left +
|
|
313
|
+
x: h.value.left + A.value * r + A.value / 2,
|
|
314
314
|
y: h.value.bottom - h.value.height * (i / T),
|
|
315
315
|
comment: t.comments && t.comments[r] || ""
|
|
316
316
|
};
|
|
@@ -456,11 +456,12 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
456
456
|
slicer: pt,
|
|
457
457
|
configRef: e,
|
|
458
458
|
rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
|
|
459
|
-
autoRotatePath: ["style", "chart", "yAxis", "labels", "axisNamesAutoRotate"],
|
|
459
|
+
autoRotatePath: ["style", "chart", "yAxis", "labels", "axisNamesAutoRotate", "enable"],
|
|
460
460
|
isAutoSize: !1,
|
|
461
461
|
width: Ne,
|
|
462
462
|
height: Fe,
|
|
463
|
-
targetClass: ".vue-ui-parallel-coordinate-plot-x-label"
|
|
463
|
+
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
464
|
+
rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
|
|
464
465
|
}), Ke({
|
|
465
466
|
getData: dt,
|
|
466
467
|
getImage: ht,
|
|
@@ -630,17 +631,17 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
630
631
|
}, [
|
|
631
632
|
b(a.$slots, "chart-background", {}, void 0, !0)
|
|
632
633
|
], 8, ea)) : m("", !0),
|
|
633
|
-
(n(!0), u(
|
|
634
|
+
(n(!0), u(C, null, N(f.value, (t, s) => (n(), u("g", ta, [
|
|
634
635
|
E("line", {
|
|
635
|
-
x1: h.value.left +
|
|
636
|
-
x2: h.value.left +
|
|
636
|
+
x1: h.value.left + A.value * s + A.value / 2,
|
|
637
|
+
x2: h.value.left + A.value * s + A.value / 2,
|
|
637
638
|
y1: h.value.top,
|
|
638
639
|
y2: h.value.bottom,
|
|
639
640
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
640
641
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
641
642
|
}, null, 8, aa),
|
|
642
|
-
e.value.style.chart.yAxis.labels.ticks.show ? (n(), u(
|
|
643
|
-
(n(!0), u(
|
|
643
|
+
e.value.style.chart.yAxis.labels.ticks.show ? (n(), u(C, { key: 0 }, [
|
|
644
|
+
(n(!0), u(C, null, N(t.ticks, (l) => (n(), u("line", {
|
|
644
645
|
x1: l.x,
|
|
645
646
|
x2: l.x - 10,
|
|
646
647
|
y1: l.y,
|
|
@@ -650,7 +651,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
650
651
|
style: M(`opacity:${k.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
651
652
|
}, null, 12, la))), 256)),
|
|
652
653
|
v(P) ? m("", !0) : (n(), u("g", oa, [
|
|
653
|
-
(n(!0), u(
|
|
654
|
+
(n(!0), u(C, null, N(t.ticks, (l) => (n(), u("text", {
|
|
654
655
|
x: l.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
655
656
|
y: l.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
|
|
656
657
|
fill: e.value.style.chart.yAxis.labels.ticks.color,
|
|
@@ -667,7 +668,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
667
668
|
ref_key: "xAxisLabels",
|
|
668
669
|
ref: Q
|
|
669
670
|
}, [
|
|
670
|
-
(n(!0), u(
|
|
671
|
+
(n(!0), u(C, null, N(f.value, (t, s) => (n(), u(C, null, [
|
|
671
672
|
String(t.name).includes(`
|
|
672
673
|
`) ? (n(), u("text", {
|
|
673
674
|
key: 1,
|
|
@@ -676,7 +677,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
676
677
|
"font-size": c.value.axisNameFontSize,
|
|
677
678
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
678
679
|
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
679
|
-
transform: `translate(${h.value.left +
|
|
680
|
+
transform: `translate(${h.value.left + A.value * s + A.value / 2}, ${U.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
|
|
680
681
|
innerHTML: v(St)({
|
|
681
682
|
content: String(t.name),
|
|
682
683
|
fontSize: c.value.axisNameFontSize,
|
|
@@ -691,14 +692,14 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
691
692
|
"font-size": c.value.axisNameFontSize,
|
|
692
693
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
693
694
|
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
694
|
-
transform: `translate(${h.value.left +
|
|
695
|
+
transform: `translate(${h.value.left + A.value * s + A.value / 2}, ${U.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
|
|
695
696
|
}, W(t.name), 9, na))
|
|
696
697
|
], 64))), 256))
|
|
697
698
|
], 512)) : m("", !0),
|
|
698
|
-
(n(!0), u(
|
|
699
|
-
(n(!0), u(
|
|
699
|
+
(n(!0), u(C, null, N(oe.value, (t, s) => (n(), u("g", null, [
|
|
700
|
+
(n(!0), u(C, null, N(t.series, (l, r) => (n(), u("g", null, [
|
|
700
701
|
e.value.style.chart.plots.show ? (n(), u("g", ua, [
|
|
701
|
-
(n(!0), u(
|
|
702
|
+
(n(!0), u(C, null, N(l.datapoints, (i, T) => (n(), L(qt, {
|
|
702
703
|
plot: { x: i.x, y: i.y },
|
|
703
704
|
color: t.color,
|
|
704
705
|
shape: t.shape,
|
|
@@ -717,7 +718,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
717
718
|
style: M(`opacity:${k.value ? k.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
718
719
|
onClick: () => Y({ serie: l, shape: t.shape, S: s })
|
|
719
720
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
|
|
720
|
-
p.value.showTooltip ? m("", !0) : (n(), u(
|
|
721
|
+
p.value.showTooltip ? m("", !0) : (n(), u(C, { key: 0 }, [
|
|
721
722
|
k.value && k.value === l.id && l.datapoints.length ? (n(), u("text", {
|
|
722
723
|
key: 0,
|
|
723
724
|
x: l.datapoints[0].x - c.value.ticksFontSize,
|
|
@@ -728,7 +729,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
728
729
|
"font-weight": "bold"
|
|
729
730
|
}, W(l.name), 9, ra)) : m("", !0)
|
|
730
731
|
], 64)),
|
|
731
|
-
e.value.style.chart.comments.show ? (n(!0), u(
|
|
732
|
+
e.value.style.chart.comments.show ? (n(!0), u(C, { key: 1 }, N(l.datapoints, (i) => (n(), u("g", null, [
|
|
732
733
|
i.comment ? (n(), u("foreignObject", {
|
|
733
734
|
key: 0,
|
|
734
735
|
style: { overflow: "visible" },
|
|
@@ -745,7 +746,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
745
746
|
], 8, ca)) : m("", !0)
|
|
746
747
|
]))), 256)) : m("", !0)
|
|
747
748
|
])) : m("", !0),
|
|
748
|
-
!v(P) && (p.value.dataLabels.show || k.value && k.value === l.id) ? (n(!0), u(
|
|
749
|
+
!v(P) && (p.value.dataLabels.show || k.value && k.value === l.id) ? (n(!0), u(C, { key: 1 }, N(l.datapoints, (i, T) => (n(), u("text", {
|
|
749
750
|
x: i.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
750
751
|
y: i.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
|
|
751
752
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? t.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
@@ -899,7 +900,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
899
900
|
E("div", { innerHTML: t }, null, 8, fa)
|
|
900
901
|
]),
|
|
901
902
|
td: w(({ td: t }) => [
|
|
902
|
-
|
|
903
|
+
At(W(t), 1)
|
|
903
904
|
]),
|
|
904
905
|
_: 1
|
|
905
906
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -909,7 +910,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
909
910
|
v(P) ? (n(), L(Ut, { key: 7 })) : m("", !0)
|
|
910
911
|
], 46, Qt));
|
|
911
912
|
}
|
|
912
|
-
}, La = /* @__PURE__ */ Kt(ba, [["__scopeId", "data-v-
|
|
913
|
+
}, La = /* @__PURE__ */ Kt(ba, [["__scopeId", "data-v-4df81816"]]);
|
|
913
914
|
export {
|
|
914
915
|
La as default
|
|
915
916
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as D, computed as g, ref as y, toRefs as gt, watch as Qe, shallowRef as Je, onMounted as mt, onBeforeUnmount as xt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as _, normalizeClass as T, createBlock as R, createCommentVNode as c, createElementVNode as h, createVNode as he, createSlots as $t, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as G, Fragment as C, renderList as X, toDisplayString as L, createTextVNode as kt, nextTick as Lt } from "vue";
|
|
2
|
-
import { u as wt, c as je, t as _t, a as qt, p as ye, b as Ct, o as St, f as Q, d as zt, e as Tt, Y as At, k as F, i as B, X as Xt, s as ue, x as Wt, Z as Yt, I as Mt, F as Nt, v as Ot, w as Rt, y as Ft, z as Bt } from "./index-
|
|
2
|
+
import { u as wt, c as je, t as _t, a as qt, p as ye, b as Ct, o as St, f as Q, d as zt, e as Tt, Y as At, k as F, i as B, X as Xt, s as ue, x as Wt, Z as Yt, I as Mt, F as Nt, v as Ot, w as Rt, y as Ft, z as Bt } from "./index-Be3YloBf.js";
|
|
3
3
|
import { t as Vt, u as Pt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ht } from "./usePrinter-
|
|
5
|
-
import { u as Ze } from "./useNestedProp-
|
|
4
|
+
import { u as Ht } from "./usePrinter-BV33Qwmk.js";
|
|
5
|
+
import { u as Ze } from "./useNestedProp-BPkXaKa1.js";
|
|
6
6
|
import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Et } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Dt from "./img-
|
|
9
|
-
import Ut from "./Title-
|
|
10
|
-
import { _ as Ke } from "./Shape-
|
|
11
|
-
import Gt from "./Legend-
|
|
8
|
+
import Dt from "./img-WAJVcEH2.js";
|
|
9
|
+
import Ut from "./Title-DM17sbc-.js";
|
|
10
|
+
import { _ as Ke } from "./Shape-CSkkoa5p.js";
|
|
11
|
+
import Gt from "./Legend-ioFJsYH-.js";
|
|
12
12
|
import { u as Qt, B as Jt } from "./useLoading-D7YHNtLX.js";
|
|
13
13
|
import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "height"], tl = ["id"], ll = ["stop-color"], al = ["stop-color"], ul = { key: 1 }, ol = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], sl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], rl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], nl = { key: 2 }, il = ["points", "fill"], vl = ["points", "fill"], dl = ["points", "fill"], cl = ["points", "fill"], hl = { key: 3 }, yl = ["y", "fill", "font-size"], bl = ["x", "y", "fill", "font-size"], fl = ["x", "y", "fill", "font-size"], pl = ["y", "fill", "font-size"], gl = { key: 4 }, ml = ["x", "y", "font-size", "fill"], xl = ["x", "y", "font-size", "fill"], $l = ["x", "y", "font-size", "fill"], kl = ["id", "font-size", "transform", "fill"], Ll = ["id", "font-size", "transform", "fill"], wl = ["id", "font-size", "transform", "fill"], _l = { key: 5 }, ql = ["fill", "points"], Cl = ["x", "y", "width", "height"], Sl = ["x", "y", "width", "height"], zl = ["x", "y", "width", "height"], Tl = ["x", "y", "width", "height"], Al = {
|
|
@@ -43,7 +43,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
45
45
|
setup(et, { expose: tt, emit: lt }) {
|
|
46
|
-
const at = D(() => import("./Tooltip-
|
|
46
|
+
const at = D(() => import("./Tooltip-DSoDpjRJ.js")), ut = D(() => import("./vue-ui-accordion-KpWnxkbY.js")), ot = D(() => import("./DataTable-CuJplxJU.js")), st = D(() => import("./PenAndPaper-BqhD2pOj.js")), rt = D(() => import("./UserOptions-gH1Ahkhe.js")), nt = D(() => import("./PackageVersion-Cqvb9VXZ.js")), { vue_ui_quadrant: it } = wt(), W = et, be = g(() => !!W.dataset && W.dataset.length), z = y(je()), oe = lt, vt = y(null), se = y(!1), re = y(""), fe = y(0), p = y(!1), Y = y(null), pe = y(null), ge = y(null), me = y(null), xe = y(null), $e = y(0), ke = y(0), Le = y(0), t = y(ie()), { loading: we, FINAL_DATASET: _e } = Qt({
|
|
47
47
|
...gt(W),
|
|
48
48
|
FINAL_CONFIG: t,
|
|
49
49
|
prepareConfig: ie,
|