vue-data-ui 3.16.4 → 3.17.0
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 +64 -46
- package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
- package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
- package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
- package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
- package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
- package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
- package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
- package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
- package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
- package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
- package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
- package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
- package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
- package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
- package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
- package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
- package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
- package/package.json +1 -1
- package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
- package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineAsyncComponent as H, computed as
|
|
2
|
-
import { j as ze, t as ht, m as da, p as
|
|
1
|
+
import { defineAsyncComponent as H, computed as p, ref as c, toRefs as sa, watch as he, shallowRef as ct, onMounted as na, onBeforeUnmount as ia, watchEffect as ua, openBlock as n, createElementBlock as r, unref as v, normalizeStyle as _, normalizeClass as oe, createElementVNode as S, toDisplayString as V, createBlock as z, createCommentVNode as y, withCtx as f, renderSlot as h, normalizeProps as A, guardReactiveProps as $, createSlots as vt, createVNode as Se, Fragment as M, renderList as D, Teleport as ra, resolveDynamicComponent as ca, mergeProps as va, createTextVNode as dt, nextTick as Me } from "vue";
|
|
2
|
+
import { j as ze, t as ht, m as da, p as pe, o as pt, q as ft, r as ha, n as pa, s as fa, D as ya, b as ma, c as ga, aj as ba, X as ka, Z as xa, T as yt, a2 as fe, a0 as Ca, a1 as wa, k as mt, l as gt, U as Aa, a3 as $a } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { t as bt, u as Ta } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Pa } from "./useConfig-
|
|
4
|
+
import { u as Pa } from "./useConfig-ChRble71.js";
|
|
5
5
|
import { u as Ia } from "./usePrinter-CEpYU3r5.js";
|
|
6
6
|
import { u as Sa, B as Ma } from "./BaseScanner-BhhkKVoj.js";
|
|
7
7
|
import { u as za } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -44,18 +44,18 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["selectLegend", "selectDatapoint", "copyAlt"],
|
|
46
46
|
setup(kt, { expose: xt, emit: Ct }) {
|
|
47
|
-
const wt = H(() => import("./Tooltip-
|
|
47
|
+
const wt = H(() => import("./Tooltip-C8KGyqQk.js")), At = H(() => import("./BaseIcon-Cb3zzG6s.js")), $t = H(() => import("./vue-ui-accordion-CnDW2UQL.js")), Tt = H(() => import("./DataTable-DT2kIdQ6.js")), Pt = H(() => import("./PenAndPaper-Ct3qJ4lA.js")), It = H(() => import("./UserOptions-rW2fRf3V.js")), St = H(() => import("./PackageVersion-B3kmPxTR.js")), Mt = H(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_parallel_coordinate_plot: zt } = Pa(), { isThemeValid: Nt, warnInvalidTheme: Ft } = Na(), T = kt, se = p({
|
|
48
48
|
get() {
|
|
49
49
|
return !!T.dataset && T.dataset.length;
|
|
50
50
|
},
|
|
51
51
|
set(t) {
|
|
52
52
|
return t;
|
|
53
53
|
}
|
|
54
|
-
}), Fe = c(0), O = c(null), Le = c(null), _e = c(null), Oe = c(null), De = c(null), Re = c(0), Be = c(0), Ee = c(0), Ue = c(!1), q = c(null),
|
|
54
|
+
}), Fe = c(0), O = c(null), Le = c(null), _e = c(null), Oe = c(null), De = c(null), Re = c(0), Be = c(0), Ee = c(0), Ue = c(!1), q = c(null), ye = c(null), ne = c(!1), ie = c(!1), me = c(null), N = c(null), He = c({ x: 0, y: 0 }), ue = c("pointer"), ge = c(!1), F = c(ze()), W = c(!1);
|
|
55
55
|
function Ve(t) {
|
|
56
56
|
W.value = t, Fe.value += 1;
|
|
57
57
|
}
|
|
58
|
-
const e = c(
|
|
58
|
+
const e = c(xe()), j = p(() => e.value.userOptions.useCursorPointer), Lt = p(() => ht({
|
|
59
59
|
defaultConfig: {
|
|
60
60
|
useCssAnimation: !1,
|
|
61
61
|
userOptions: { show: !1 },
|
|
@@ -81,10 +81,10 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
userConfig: e.value.skeletonConfig ?? {}
|
|
84
|
-
})), { loading: R, FINAL_DATASET: _t, manualLoading:
|
|
84
|
+
})), { loading: R, FINAL_DATASET: _t, manualLoading: be } = Sa({
|
|
85
85
|
...sa(T),
|
|
86
86
|
FINAL_CONFIG: e,
|
|
87
|
-
prepareConfig:
|
|
87
|
+
prepareConfig: xe,
|
|
88
88
|
callback: () => {
|
|
89
89
|
Promise.resolve().then(async () => {
|
|
90
90
|
await Me(), g.value.showTable = e.value.table.show;
|
|
@@ -129,8 +129,8 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
129
129
|
defaultConfig: e.value,
|
|
130
130
|
userConfig: Lt.value
|
|
131
131
|
})
|
|
132
|
-
}), { userOptionsVisible:
|
|
133
|
-
function
|
|
132
|
+
}), { userOptionsVisible: ke, setUserOptionsVisibility: We, keepUserOptionState: je } = Fa({ config: e.value }), { svgRef: G } = La({ config: e.value.style.chart.title });
|
|
133
|
+
function xe() {
|
|
134
134
|
const t = Ne({
|
|
135
135
|
userConfig: T.config,
|
|
136
136
|
defaultConfig: zt
|
|
@@ -147,25 +147,25 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
147
147
|
});
|
|
148
148
|
return {
|
|
149
149
|
...s,
|
|
150
|
-
customPalette: s.customPalette.length ? s.customPalette : da[l] ||
|
|
150
|
+
customPalette: s.customPalette.length ? s.customPalette : da[l] || pe
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
|
-
|
|
154
|
-
R.value || (e.value =
|
|
155
|
-
}, { deep: !0 }),
|
|
156
|
-
Array.isArray(t) && t.length > 0 && (
|
|
153
|
+
he(() => T.config, (t) => {
|
|
154
|
+
R.value || (e.value = xe()), ke.value = !e.value.userOptions.showOnChartHover, Xe(), Re.value += 1, Ee.value += 1, Be.value += 1, g.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, g.value.showTable = e.value.table.show, g.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
155
|
+
}, { deep: !0 }), he(() => T.dataset, (t) => {
|
|
156
|
+
Array.isArray(t) && t.length > 0 && (be.value = !1);
|
|
157
157
|
}, { deep: !0 });
|
|
158
158
|
const B = ct(null), K = ct(null);
|
|
159
159
|
na(() => {
|
|
160
160
|
Ue.value = !0, Xe();
|
|
161
161
|
});
|
|
162
|
-
const Ge =
|
|
162
|
+
const Ge = p(() => !!e.value.debug);
|
|
163
163
|
function Xe() {
|
|
164
164
|
if (pt(T.dataset) ? (ft({
|
|
165
165
|
componentName: "VueUiParallelCoordinatePlot",
|
|
166
166
|
type: "dataset",
|
|
167
167
|
debug: Ge.value
|
|
168
|
-
}),
|
|
168
|
+
}), be.value = !0) : T.dataset.forEach((t, l) => {
|
|
169
169
|
ha({
|
|
170
170
|
datasetObject: t,
|
|
171
171
|
requiredAttributes: ["name", "series"]
|
|
@@ -178,7 +178,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
178
178
|
debug: Ge.value
|
|
179
179
|
});
|
|
180
180
|
});
|
|
181
|
-
}), pt(T.dataset) || (
|
|
181
|
+
}), pt(T.dataset) || (be.value = e.value.loading), e.value.responsive) {
|
|
182
182
|
const t = bt(() => {
|
|
183
183
|
const { width: l, height: a } = Ta({
|
|
184
184
|
chart: O.value,
|
|
@@ -188,25 +188,25 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
188
188
|
noTitle: De.value
|
|
189
189
|
});
|
|
190
190
|
requestAnimationFrame(() => {
|
|
191
|
-
d.value.width = l, d.value.height = a - 12, e.value.responsiveProportionalSizing ? (d.value.plotSize =
|
|
191
|
+
d.value.width = l, d.value.height = a - 12, e.value.responsiveProportionalSizing ? (d.value.plotSize = fe({
|
|
192
192
|
relator: Math.min(l, a),
|
|
193
193
|
adjuster: 600,
|
|
194
194
|
source: e.value.style.chart.plots.radius,
|
|
195
195
|
threshold: 2,
|
|
196
196
|
fallback: 2
|
|
197
|
-
}), d.value.ticksFontSize =
|
|
197
|
+
}), d.value.ticksFontSize = fe({
|
|
198
198
|
relator: Math.min(l, a),
|
|
199
199
|
adjuster: 600,
|
|
200
200
|
source: e.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
201
201
|
threshold: 10,
|
|
202
202
|
fallback: 10
|
|
203
|
-
}), d.value.datapointFontSize =
|
|
203
|
+
}), d.value.datapointFontSize = fe({
|
|
204
204
|
relator: Math.min(l, a),
|
|
205
205
|
adjuster: 600,
|
|
206
206
|
source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
207
207
|
threshold: 10,
|
|
208
208
|
fallback: 10
|
|
209
|
-
}), d.value.axisNameFontSize =
|
|
209
|
+
}), d.value.axisNameFontSize = fe({
|
|
210
210
|
relator: Math.min(l, a),
|
|
211
211
|
adjuster: 600,
|
|
212
212
|
source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
|
|
@@ -221,11 +221,11 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
221
221
|
ia(() => {
|
|
222
222
|
B.value && (K.value && B.value.unobserve(K.value), B.value.disconnect());
|
|
223
223
|
});
|
|
224
|
-
const { isPrinting:
|
|
224
|
+
const { isPrinting: Ce, isImaging: we, generatePdf: Ke, generateImage: Ye } = Ia({
|
|
225
225
|
elementId: `pcp_${F.value}`,
|
|
226
226
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
227
227
|
options: e.value.userOptions.print
|
|
228
|
-
}), Ot =
|
|
228
|
+
}), Ot = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), d = c({
|
|
229
229
|
height: e.value.style.chart.height,
|
|
230
230
|
width: e.value.style.chart.width,
|
|
231
231
|
plotSize: e.value.style.chart.plots.radius,
|
|
@@ -234,18 +234,18 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
234
234
|
// ratio 42.85
|
|
235
235
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
236
236
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
237
|
-
}), qe =
|
|
237
|
+
}), qe = p(() => d.value.width), Ze = p(() => d.value.height), Z = c(0), Dt = bt((t) => {
|
|
238
238
|
Z.value = t;
|
|
239
239
|
}, 100);
|
|
240
240
|
ua((t) => {
|
|
241
|
-
const l =
|
|
241
|
+
const l = me.value;
|
|
242
242
|
if (!l) return;
|
|
243
243
|
const a = new ResizeObserver((s) => {
|
|
244
244
|
Dt(s[0].contentRect.height);
|
|
245
245
|
});
|
|
246
246
|
a.observe(l), t(() => a.disconnect());
|
|
247
247
|
});
|
|
248
|
-
const m =
|
|
248
|
+
const m = p(() => {
|
|
249
249
|
const { top: t, right: l, bottom: a, left: s } = e.value.style.chart.padding, o = Ze.value, u = qe.value;
|
|
250
250
|
return {
|
|
251
251
|
chartHeight: Math.max(1e-3, o),
|
|
@@ -257,14 +257,14 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
257
257
|
right: u - l,
|
|
258
258
|
bottom: o - a - d.value.datapointFontSize
|
|
259
259
|
};
|
|
260
|
-
}), Rt =
|
|
260
|
+
}), Rt = p(() => pa(e.value.customPalette)), g = c({
|
|
261
261
|
dataLabels: {
|
|
262
262
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
263
263
|
},
|
|
264
264
|
showTable: e.value.table.show,
|
|
265
265
|
showTooltip: e.value.style.chart.tooltip.show
|
|
266
266
|
});
|
|
267
|
-
|
|
267
|
+
he(e, () => {
|
|
268
268
|
g.value = {
|
|
269
269
|
dataLabels: {
|
|
270
270
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
@@ -282,8 +282,8 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
282
282
|
function re(t) {
|
|
283
283
|
x.value.includes(t) ? x.value = x.value.filter((l) => l !== t) : x.value.push(t);
|
|
284
284
|
}
|
|
285
|
-
const L =
|
|
286
|
-
const a = fa(t.color) || Rt.value[l] ||
|
|
285
|
+
const L = p(() => _t.value.map((t, l) => {
|
|
286
|
+
const a = fa(t.color) || Rt.value[l] || pe[l] || pe[l % pe.length];
|
|
287
287
|
return {
|
|
288
288
|
...t,
|
|
289
289
|
series: t.series.map((s) => ({
|
|
@@ -311,25 +311,25 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
311
311
|
const l = Je(t);
|
|
312
312
|
l !== null && (x.value.includes(l.id) || re(l.id));
|
|
313
313
|
}
|
|
314
|
-
const ce =
|
|
314
|
+
const ce = p(() => L.value.map((t) => ({
|
|
315
315
|
...t,
|
|
316
316
|
opacity: x.value.includes(t.id) ? 0.5 : 1,
|
|
317
317
|
segregate: () => re(t.id),
|
|
318
318
|
isSegregated: x.value.includes(t.id),
|
|
319
319
|
shape: t.shape || "circle"
|
|
320
|
-
}))), Ht =
|
|
320
|
+
}))), Ht = p(() => ({
|
|
321
321
|
cy: "pcp-div-legend",
|
|
322
322
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
323
323
|
color: e.value.style.chart.legend.color,
|
|
324
324
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
325
325
|
paddingBottom: 12,
|
|
326
326
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
327
|
-
})), Qe =
|
|
327
|
+
})), Qe = p(() => Math.max(
|
|
328
328
|
...L.value.filter((t) => !x.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
|
|
329
|
-
)), P =
|
|
329
|
+
)), P = p(() => m.value.width / Qe.value), Ae = p(() => L.value.filter((t) => !x.value.includes(t.id))), b = p(() => {
|
|
330
330
|
let t = [];
|
|
331
331
|
for (let l = 0; l < Qe.value; l += 1) {
|
|
332
|
-
const a = Math.min(...
|
|
332
|
+
const a = Math.min(...Ae.value.flatMap((w) => w.series.map((U) => U.values[l] || 0) || 0)), s = Math.max(...Ae.value.flatMap((w) => w.series.map((U) => U.values[l] || 0) || 0)), o = s === a ? a / 4 : a, u = s === a ? s * 2 : s, i = ya(o, u, e.value.style.chart.yAxis.scaleTicks), k = i.ticks.map((w, U) => {
|
|
333
333
|
const I = i.min < 0 ? w + Math.abs(i.min) : w - Math.abs(i.min), oa = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
334
334
|
return {
|
|
335
335
|
y: m.value.bottom - m.value.height * (I / oa),
|
|
@@ -344,7 +344,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
346
|
return t;
|
|
347
|
-
}), Y =
|
|
347
|
+
}), Y = p(() => Ae.value.map((t, l) => ({
|
|
348
348
|
...t,
|
|
349
349
|
series: t.series.map((a, s) => ({
|
|
350
350
|
...a,
|
|
@@ -374,7 +374,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
374
374
|
pathLength: o
|
|
375
375
|
};
|
|
376
376
|
})
|
|
377
|
-
}))), X =
|
|
377
|
+
}))), X = p(() => Y.value.flatMap((t, l) => t.series.map((a, s) => ({
|
|
378
378
|
shape: t.shape,
|
|
379
379
|
serieName: t.name,
|
|
380
380
|
serie: a,
|
|
@@ -396,11 +396,11 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
396
396
|
{ datapoint: a, seriesIndex: l }
|
|
397
397
|
);
|
|
398
398
|
}
|
|
399
|
-
const C = c(null),
|
|
399
|
+
const C = c(null), ve = c(null), de = c(!1), $e = c("");
|
|
400
400
|
function J({ shape: t, serie: l, S: a }) {
|
|
401
401
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...l, shape: t }, seriesIndex: a });
|
|
402
402
|
const s = N.value !== null ? X.value[N.value] : null;
|
|
403
|
-
ue.value === "keyboard" && s && s.serie.id === l.id || (C.value = null,
|
|
403
|
+
ue.value === "keyboard" && s && s.serie.id === l.id || (C.value = null, de.value = !1);
|
|
404
404
|
}
|
|
405
405
|
function Vt(t) {
|
|
406
406
|
if (!G.value || !t?.datapoints?.length) return;
|
|
@@ -410,7 +410,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
410
410
|
a && (He.value = a);
|
|
411
411
|
}
|
|
412
412
|
function Q({ shape: t, serieName: l, serie: a, relativeIndex: s, seriesIndex: o, S: u, triggerMode: i = "pointer" }) {
|
|
413
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: u }), ue.value = i,
|
|
413
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: u }), ue.value = i, ve.value = { datapoint: a, serie: a, relativeIndex: s, seriesIndex: o, series: L.value, scales: b.value }, de.value = !0, C.value = a.id;
|
|
414
414
|
let k = "";
|
|
415
415
|
const w = e.value.style.chart.tooltip.customFormat;
|
|
416
416
|
yt(w) && Aa(() => w({
|
|
@@ -451,7 +451,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
451
451
|
function Wt() {
|
|
452
452
|
return L.value;
|
|
453
453
|
}
|
|
454
|
-
const E =
|
|
454
|
+
const E = p(() => {
|
|
455
455
|
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(b.value.map((o) => o.name)), l = Y.value.flatMap((o, u) => o.series.map((i) => [o.name].concat([i.name]).concat(i.values))), a = {
|
|
456
456
|
th: {
|
|
457
457
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -471,7 +471,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
471
471
|
config: a,
|
|
472
472
|
colNames: s
|
|
473
473
|
};
|
|
474
|
-
}), tt =
|
|
474
|
+
}), tt = p(() => Y.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
|
|
475
475
|
head: E.value.head,
|
|
476
476
|
body: E.value.body
|
|
477
477
|
});
|
|
@@ -515,9 +515,9 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
515
515
|
aspectRatio: s
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
const Gt = c({ start: 0, end: 1 }), Xt =
|
|
518
|
+
const Gt = c({ start: 0, end: 1 }), Xt = p(() => b.value.map((t) => t.name));
|
|
519
519
|
_a({
|
|
520
|
-
timeLabelsEls:
|
|
520
|
+
timeLabelsEls: me,
|
|
521
521
|
timeLabels: Xt,
|
|
522
522
|
slicer: Gt,
|
|
523
523
|
configRef: e,
|
|
@@ -529,7 +529,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
529
529
|
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
530
530
|
rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
|
|
531
531
|
});
|
|
532
|
-
const ae =
|
|
532
|
+
const ae = p(() => {
|
|
533
533
|
const t = e.value.table.useDialog && !e.value.table.show, l = g.value.showTable;
|
|
534
534
|
return {
|
|
535
535
|
component: t ? Mt : $t,
|
|
@@ -560,13 +560,13 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
562
|
});
|
|
563
|
-
|
|
563
|
+
he(() => g.value.showTable, (t) => {
|
|
564
564
|
e.value.table.show || (t && e.value.table.useDialog && q.value ? q.value.open() : "close" in q.value && q.value.close());
|
|
565
565
|
});
|
|
566
566
|
function nt() {
|
|
567
|
-
g.value.showTable = !1,
|
|
567
|
+
g.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
|
|
568
568
|
}
|
|
569
|
-
const Kt =
|
|
569
|
+
const Kt = p(() => e.value.style.chart.backgroundColor), Yt = p(() => e.value.style.chart.legend), qt = p(() => e.value.style.chart.title), { exportSvg: Zt, getSvg: Jt } = za({
|
|
570
570
|
svg: G,
|
|
571
571
|
title: qt,
|
|
572
572
|
legend: Yt,
|
|
@@ -622,13 +622,13 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
622
622
|
S: t.S
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
|
-
N.value = null, ue.value = "pointer", C.value = null,
|
|
625
|
+
N.value = null, ue.value = "pointer", C.value = null, de.value = !1;
|
|
626
626
|
}
|
|
627
627
|
function ta() {
|
|
628
|
-
N.value = null,
|
|
628
|
+
N.value = null, ge.value = !0;
|
|
629
629
|
}
|
|
630
630
|
function aa() {
|
|
631
|
-
rt(),
|
|
631
|
+
rt(), ge.value = !1;
|
|
632
632
|
}
|
|
633
633
|
function la(t) {
|
|
634
634
|
if (!G.value || te.value || document.activeElement !== G.value || !X.value.length) return;
|
|
@@ -662,7 +662,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
662
662
|
triggerMode: "keyboard"
|
|
663
663
|
}));
|
|
664
664
|
}
|
|
665
|
-
const le =
|
|
665
|
+
const le = p(() => ({
|
|
666
666
|
head: E.value.head,
|
|
667
667
|
body: E.value.body.map((t) => [
|
|
668
668
|
t[0] ?? "",
|
|
@@ -720,22 +720,22 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
720
720
|
onClose: Ie
|
|
721
721
|
}, {
|
|
722
722
|
"annotator-action-close": f(() => [
|
|
723
|
-
|
|
723
|
+
h(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
724
724
|
]),
|
|
725
725
|
"annotator-action-color": f(({ color: a }) => [
|
|
726
|
-
|
|
726
|
+
h(t.$slots, "annotator-action-color", A($({ color: a })), void 0, !0)
|
|
727
727
|
]),
|
|
728
728
|
"annotator-action-draw": f(({ mode: a }) => [
|
|
729
|
-
|
|
729
|
+
h(t.$slots, "annotator-action-draw", A($({ mode: a })), void 0, !0)
|
|
730
730
|
]),
|
|
731
731
|
"annotator-action-undo": f(({ disabled: a }) => [
|
|
732
|
-
|
|
732
|
+
h(t.$slots, "annotator-action-undo", A($({ disabled: a })), void 0, !0)
|
|
733
733
|
]),
|
|
734
734
|
"annotator-action-redo": f(({ disabled: a }) => [
|
|
735
|
-
|
|
735
|
+
h(t.$slots, "annotator-action-redo", A($({ disabled: a })), void 0, !0)
|
|
736
736
|
]),
|
|
737
737
|
"annotator-action-delete": f(({ disabled: a }) => [
|
|
738
|
-
|
|
738
|
+
h(t.$slots, "annotator-action-delete", A($({ disabled: a })), void 0, !0)
|
|
739
739
|
]),
|
|
740
740
|
_: 3
|
|
741
741
|
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : y("", !0),
|
|
@@ -769,14 +769,14 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
769
769
|
S("div", {
|
|
770
770
|
id: `legend-top-${F.value}`
|
|
771
771
|
}, null, 8, Ga),
|
|
772
|
-
e.value.userOptions.show && se.value && (v(je) || v(
|
|
772
|
+
e.value.userOptions.show && se.value && (v(je) || v(ke)) ? (n(), z(v(It), {
|
|
773
773
|
ref_key: "userOptionsRef",
|
|
774
|
-
ref:
|
|
774
|
+
ref: ye,
|
|
775
775
|
key: `user_options_${Fe.value}`,
|
|
776
776
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
777
777
|
color: e.value.style.chart.color,
|
|
778
|
-
isPrinting: v(
|
|
779
|
-
isImaging: v(
|
|
778
|
+
isPrinting: v(Ce),
|
|
779
|
+
isImaging: v(we),
|
|
780
780
|
uid: F.value,
|
|
781
781
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
782
782
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -809,76 +809,76 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
809
809
|
onToggleAnnotator: Ie,
|
|
810
810
|
onCopyAlt: ut,
|
|
811
811
|
style: _({
|
|
812
|
-
visibility: v(je) ? v(
|
|
812
|
+
visibility: v(je) ? v(ke) ? "visible" : "hidden" : "visible"
|
|
813
813
|
})
|
|
814
814
|
}, vt({ _: 2 }, [
|
|
815
815
|
t.$slots.menuIcon ? {
|
|
816
816
|
name: "menuIcon",
|
|
817
817
|
fn: f(({ isOpen: a, color: s }) => [
|
|
818
|
-
|
|
818
|
+
h(t.$slots, "menuIcon", A($({ isOpen: a, color: s })), void 0, !0)
|
|
819
819
|
]),
|
|
820
820
|
key: "0"
|
|
821
821
|
} : void 0,
|
|
822
822
|
t.$slots.optionPdf ? {
|
|
823
823
|
name: "optionPdf",
|
|
824
824
|
fn: f(() => [
|
|
825
|
-
|
|
825
|
+
h(t.$slots, "optionPdf", {}, void 0, !0)
|
|
826
826
|
]),
|
|
827
827
|
key: "1"
|
|
828
828
|
} : void 0,
|
|
829
829
|
t.$slots.optionCsv ? {
|
|
830
830
|
name: "optionCsv",
|
|
831
831
|
fn: f(() => [
|
|
832
|
-
|
|
832
|
+
h(t.$slots, "optionCsv", {}, void 0, !0)
|
|
833
833
|
]),
|
|
834
834
|
key: "2"
|
|
835
835
|
} : void 0,
|
|
836
836
|
t.$slots.optionImg ? {
|
|
837
837
|
name: "optionImg",
|
|
838
838
|
fn: f(() => [
|
|
839
|
-
|
|
839
|
+
h(t.$slots, "optionImg", {}, void 0, !0)
|
|
840
840
|
]),
|
|
841
841
|
key: "3"
|
|
842
842
|
} : void 0,
|
|
843
843
|
t.$slots.optionSvg ? {
|
|
844
844
|
name: "optionSvg",
|
|
845
845
|
fn: f(() => [
|
|
846
|
-
|
|
846
|
+
h(t.$slots, "optionSvg", {}, void 0, !0)
|
|
847
847
|
]),
|
|
848
848
|
key: "4"
|
|
849
849
|
} : void 0,
|
|
850
850
|
t.$slots.optionTable ? {
|
|
851
851
|
name: "optionTable",
|
|
852
852
|
fn: f(() => [
|
|
853
|
-
|
|
853
|
+
h(t.$slots, "optionTable", {}, void 0, !0)
|
|
854
854
|
]),
|
|
855
855
|
key: "5"
|
|
856
856
|
} : void 0,
|
|
857
857
|
t.$slots.optionLabels ? {
|
|
858
858
|
name: "optionLabels",
|
|
859
859
|
fn: f(() => [
|
|
860
|
-
|
|
860
|
+
h(t.$slots, "optionLabels", {}, void 0, !0)
|
|
861
861
|
]),
|
|
862
862
|
key: "6"
|
|
863
863
|
} : void 0,
|
|
864
864
|
t.$slots.optionFullscreen ? {
|
|
865
865
|
name: "optionFullscreen",
|
|
866
866
|
fn: f(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
867
|
-
|
|
867
|
+
h(t.$slots, "optionFullscreen", A($({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
868
868
|
]),
|
|
869
869
|
key: "7"
|
|
870
870
|
} : void 0,
|
|
871
871
|
t.$slots.optionAnnotator ? {
|
|
872
872
|
name: "optionAnnotator",
|
|
873
873
|
fn: f(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
874
|
-
|
|
874
|
+
h(t.$slots, "optionAnnotator", A($({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
875
875
|
]),
|
|
876
876
|
key: "8"
|
|
877
877
|
} : void 0,
|
|
878
878
|
t.$slots.optionAltCopy ? {
|
|
879
879
|
name: "optionAltCopy",
|
|
880
880
|
fn: f(({ altCopy: a }) => [
|
|
881
|
-
|
|
881
|
+
h(t.$slots, "optionAltCopy", A($({ altCopy: a })), void 0, !0)
|
|
882
882
|
]),
|
|
883
883
|
key: "9"
|
|
884
884
|
} : void 0
|
|
@@ -908,7 +908,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
908
908
|
pointerEvents: "none"
|
|
909
909
|
}
|
|
910
910
|
}, [
|
|
911
|
-
|
|
911
|
+
h(t.$slots, "chart-background", {}, void 0, !0)
|
|
912
912
|
], 8, Ya)) : y("", !0),
|
|
913
913
|
(n(!0), r(M, null, D(b.value, (a, s) => (n(), r("g", qa, [
|
|
914
914
|
S("line", {
|
|
@@ -945,7 +945,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
945
945
|
e.value.style.chart.yAxis.labels.showAxisNames ? (n(), r("g", {
|
|
946
946
|
key: 1,
|
|
947
947
|
ref_key: "xAxisLabels",
|
|
948
|
-
ref:
|
|
948
|
+
ref: me
|
|
949
949
|
}, [
|
|
950
950
|
(n(!0), r(M, null, D(b.value, (a, s) => (n(), r(M, null, [
|
|
951
951
|
String(a.name).includes(`
|
|
@@ -1019,7 +1019,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1019
1019
|
y: i.y + e.value.style.chart.comments.offsetY + 6
|
|
1020
1020
|
}, [
|
|
1021
1021
|
S("div", nl, [
|
|
1022
|
-
|
|
1022
|
+
h(t.$slots, "plot-comment", {
|
|
1023
1023
|
plot: { ...i, color: a.color }
|
|
1024
1024
|
}, void 0, !0)
|
|
1025
1025
|
])
|
|
@@ -1088,20 +1088,20 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1088
1088
|
}, null, 42, rl)) : y("", !0)
|
|
1089
1089
|
]))), 256))
|
|
1090
1090
|
]))), 256)),
|
|
1091
|
-
|
|
1091
|
+
h(t.$slots, "svg", {
|
|
1092
1092
|
svg: {
|
|
1093
1093
|
...m.value,
|
|
1094
|
-
isPrintingImg: v(
|
|
1094
|
+
isPrintingImg: v(Ce) | v(we) | ne.value,
|
|
1095
1095
|
isPrintingSvg: ie.value
|
|
1096
1096
|
}
|
|
1097
1097
|
}, void 0, !0)
|
|
1098
1098
|
], 46, Ka)),
|
|
1099
1099
|
t.$slots.hint ? (n(), r("div", cl, [
|
|
1100
|
-
|
|
1100
|
+
h(t.$slots, "hint", A($({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: ge.value })), void 0, !0)
|
|
1101
1101
|
])) : y("", !0)
|
|
1102
1102
|
]),
|
|
1103
1103
|
t.$slots.watermark ? (n(), r("div", vl, [
|
|
1104
|
-
|
|
1104
|
+
h(t.$slots, "watermark", A($({ isPrinting: v(Ce) || v(we) || ne.value || ie.value })), void 0, !0)
|
|
1105
1105
|
])) : y("", !0),
|
|
1106
1106
|
S("div", {
|
|
1107
1107
|
id: `legend-bottom-${F.value}`
|
|
@@ -1143,7 +1143,7 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1143
1143
|
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : y("", !0)
|
|
1144
1144
|
]),
|
|
1145
1145
|
_: 1
|
|
1146
|
-
}, 8, ["legendSet", "config", "isCursorPointer"])) :
|
|
1146
|
+
}, 8, ["legendSet", "config", "isCursorPointer"])) : h(t.$slots, "legend", {
|
|
1147
1147
|
key: 1,
|
|
1148
1148
|
legend: L.value
|
|
1149
1149
|
}, void 0, !0)
|
|
@@ -1155,11 +1155,11 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1155
1155
|
ref: Oe,
|
|
1156
1156
|
dir: "auto"
|
|
1157
1157
|
}, [
|
|
1158
|
-
|
|
1158
|
+
h(t.$slots, "source", {}, void 0, !0)
|
|
1159
1159
|
], 512)) : y("", !0),
|
|
1160
1160
|
Se(v(wt), {
|
|
1161
1161
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1162
|
-
show: g.value.showTooltip &&
|
|
1162
|
+
show: g.value.showTooltip && de.value,
|
|
1163
1163
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1164
1164
|
color: e.value.style.chart.tooltip.color,
|
|
1165
1165
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -1181,10 +1181,13 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1181
1181
|
a11yPosition: He.value
|
|
1182
1182
|
}, {
|
|
1183
1183
|
"tooltip-before": f(() => [
|
|
1184
|
-
|
|
1184
|
+
h(t.$slots, "tooltip-before", A($({ ...ve.value })), void 0, !0)
|
|
1185
|
+
]),
|
|
1186
|
+
tooltip: f(() => [
|
|
1187
|
+
h(t.$slots, "tooltip", A($({ ...ve.value })), void 0, !0)
|
|
1185
1188
|
]),
|
|
1186
1189
|
"tooltip-after": f(() => [
|
|
1187
|
-
|
|
1190
|
+
h(t.$slots, "tooltip-after", A($({ ...ve.value })), void 0, !0)
|
|
1188
1191
|
]),
|
|
1189
1192
|
_: 3
|
|
1190
1193
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
@@ -1241,12 +1244,12 @@ const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative
|
|
|
1241
1244
|
key: "1"
|
|
1242
1245
|
} : void 0
|
|
1243
1246
|
]), 1040)) : y("", !0),
|
|
1244
|
-
|
|
1247
|
+
h(t.$slots, "skeleton", {}, () => [
|
|
1245
1248
|
v(R) ? (n(), z(Ma, { key: 0 })) : y("", !0)
|
|
1246
1249
|
], !0)
|
|
1247
1250
|
], 46, Wa));
|
|
1248
1251
|
}
|
|
1249
|
-
}, Ol = /* @__PURE__ */ Va(fl, [["__scopeId", "data-v-
|
|
1252
|
+
}, Ol = /* @__PURE__ */ Va(fl, [["__scopeId", "data-v-04b8bee5"]]);
|
|
1250
1253
|
export {
|
|
1251
1254
|
Ol as default
|
|
1252
1255
|
};
|