vue-data-ui 3.19.8 → 3.19.9
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 +1 -1
- package/dist/{PackageVersion-zJAUEmyB.js → PackageVersion-Dl9W5zJD.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.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-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-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-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-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-ui-dag.d.ts +2 -0
- package/dist/{vue-data-ui-Dv8MNDbS.js → vue-data-ui-nsosW-n5.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-DVsF4qGd.js → vue-ui-3d-bar-CTvvvgBE.js} +1 -1
- package/dist/{vue-ui-age-pyramid-Bu3bocZx.js → vue-ui-age-pyramid-ckZtLlmH.js} +1 -1
- package/dist/{vue-ui-bullet-COSSZ7RU.js → vue-ui-bullet-3CkhGOSb.js} +1 -1
- package/dist/{vue-ui-bump-C1w-a4ad.js → vue-ui-bump-LQuPTOlm.js} +1 -1
- package/dist/{vue-ui-candlestick-zO0Jmsen.js → vue-ui-candlestick-BeO06tlH.js} +1 -1
- package/dist/{vue-ui-carousel-table-Q2uTIELA.js → vue-ui-carousel-table-nZJ1k6se.js} +1 -1
- package/dist/{vue-ui-chestnut-DdNKhXkN.js → vue-ui-chestnut-BWItE1hg.js} +1 -1
- package/dist/{vue-ui-chord-CYzGIRtA.js → vue-ui-chord-YflKRyWK.js} +1 -1
- package/dist/{vue-ui-circle-pack-Dp5_ugXW.js → vue-ui-circle-pack-DyTYvEg3.js} +1 -1
- package/dist/{vue-ui-cursor-DBViygOD.js → vue-ui-cursor-C5_wkWul.js} +1 -1
- package/dist/{vue-ui-dag-BA2vr2Ub.js → vue-ui-dag-mH0baWM3.js} +1 -1
- package/dist/{vue-ui-dashboard-D11FCHnp.js → vue-ui-dashboard-F7pEuJDh.js} +58 -58
- package/dist/{vue-ui-digits-CIXbRR97.js → vue-ui-digits-BYBtwXy_.js} +1 -1
- package/dist/{vue-ui-donut-BSanYbqb.js → vue-ui-donut-B3L7jeHL.js} +434 -432
- package/dist/{vue-ui-donut-evolution-BVttNIzH.js → vue-ui-donut-evolution-C46h0gLy.js} +356 -356
- package/dist/{vue-ui-dumbbell-D-KcBLOF.js → vue-ui-dumbbell-xekp1obI.js} +1 -1
- package/dist/{vue-ui-flow-Dly7N0Nb.js → vue-ui-flow-BYYyk5KL.js} +1 -1
- package/dist/{vue-ui-funnel-COwXzAbB.js → vue-ui-funnel-BfY509t-.js} +1 -1
- package/dist/{vue-ui-galaxy-Cg9VStNF.js → vue-ui-galaxy-D061gTYS.js} +260 -257
- package/dist/{vue-ui-gauge-DHWCS6jR.js → vue-ui-gauge-BRxZNBBS.js} +1 -1
- package/dist/{vue-ui-geo-CV0FBeuB.js → vue-ui-geo-BwOMFUVr.js} +1 -1
- package/dist/{vue-ui-gizmo-5rdIvscj.js → vue-ui-gizmo-CQsP8Nd3.js} +1 -1
- package/dist/{vue-ui-heatmap-kiQ6q3q4.js → vue-ui-heatmap-DOsulVoP.js} +1 -1
- package/dist/{vue-ui-history-plot-CgPjudHv.js → vue-ui-history-plot-CXW6lF42.js} +4 -8
- package/dist/{vue-ui-horizontal-bar-CpQCmBQD.js → vue-ui-horizontal-bar-CideXtlg.js} +4 -4
- package/dist/{vue-ui-kpi-Bz7QeCTV.js → vue-ui-kpi-CE-JFZ1o.js} +1 -1
- package/dist/{vue-ui-molecule-CvfwMxYY.js → vue-ui-molecule-B1Prm5Lk.js} +1 -1
- package/dist/{vue-ui-mood-radar-D0lanJ__.js → vue-ui-mood-radar-B29gVcTN.js} +1 -1
- package/dist/{vue-ui-nested-donuts-C-LWBXmg.js → vue-ui-nested-donuts-Bsx5f9Gv.js} +97 -94
- package/dist/{vue-ui-onion-u9hGe4VA.js → vue-ui-onion-MN-PjNJq.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-BJ5OjYTH.js → vue-ui-parallel-coordinate-plot-C9zU7MP5.js} +91 -95
- package/dist/{vue-ui-quadrant-BVFJ5Vur.js → vue-ui-quadrant-h-QFG9O4.js} +3 -3
- package/dist/vue-ui-quick-chart-PAVz4c9z.js +2469 -0
- package/dist/{vue-ui-radar-BsRGxgXN.js → vue-ui-radar-D2pVd53z.js} +115 -112
- package/dist/{vue-ui-relation-circle-MxYh6hSt.js → vue-ui-relation-circle-BjB0J53V.js} +1 -1
- package/dist/{vue-ui-ridgeline-BtNEP6ba.js → vue-ui-ridgeline-DamvqiyJ.js} +3 -3
- package/dist/{vue-ui-rings-Pj7yMeOV.js → vue-ui-rings-DkHS5dwd.js} +105 -102
- package/dist/{vue-ui-scatter-DrS1nrwL.js → vue-ui-scatter-dFDowCVQ.js} +5 -5
- package/dist/{vue-ui-skeleton-Cqv1KG4y.js → vue-ui-skeleton-zhkS1cmh.js} +1 -1
- package/dist/{vue-ui-spark-trend-eHleRq-z.js → vue-ui-spark-trend-fQ10-UvM.js} +1 -1
- package/dist/{vue-ui-sparkbar-BHJTG_on.js → vue-ui-sparkbar-D5toou8V.js} +1 -1
- package/dist/{vue-ui-sparkgauge-DpAEwvLX.js → vue-ui-sparkgauge-DRZcIPYf.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-BlMH_NJk.js → vue-ui-sparkhistogram-YizEqFdN.js} +1 -1
- package/dist/{vue-ui-sparkline-BAWc3ROJ.js → vue-ui-sparkline-w2nclIW0.js} +1 -1
- package/dist/vue-ui-sparkstackbar-CTShNXhW.js +662 -0
- package/dist/{vue-ui-stackbar-28FVVqVu.js → vue-ui-stackbar-BFLCEsRk.js} +404 -404
- package/dist/{vue-ui-stackline-DwtlEdOE.js → vue-ui-stackline-CU6s-hhv.js} +125 -125
- package/dist/{vue-ui-strip-plot-DX36qFKk.js → vue-ui-strip-plot-ByaDLFSL.js} +1 -1
- package/dist/{vue-ui-table-DdZ_DkqT.js → vue-ui-table-DuA_CfGn.js} +2 -2
- package/dist/{vue-ui-table-sparkline-BSV1jn7r.js → vue-ui-table-sparkline-Dfei_QrJ.js} +1 -1
- package/dist/{vue-ui-thermometer-Io8LdW1o.js → vue-ui-thermometer-biw3ivMI.js} +1 -1
- package/dist/{vue-ui-timer-BkdpZ-lw.js → vue-ui-timer-9LNNDl4q.js} +1 -1
- package/dist/{vue-ui-tiremarks-GC773Hw1.js → vue-ui-tiremarks-kF0Baqia.js} +1 -1
- package/dist/{vue-ui-treemap-C0dtbfbZ.js → vue-ui-treemap-BexKMBhz.js} +373 -373
- package/dist/{vue-ui-waffle-BvzfNmJC.js → vue-ui-waffle-Dq50j_uw.js} +1 -1
- package/dist/{vue-ui-wheel-Dm9V8TAH.js → vue-ui-wheel-BETHlWsO.js} +1 -1
- package/dist/{vue-ui-word-cloud-Ne_B9Elc.js → vue-ui-word-cloud-D1AQtzmT.js} +1 -1
- package/dist/{vue-ui-world-Bp38MZij.js → vue-ui-world-CcgbuSp_.js} +1 -1
- package/dist/{vue-ui-xy-BCeOqJYR.js → vue-ui-xy-BQ1YONCq.js} +280 -277
- package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-4ABYnasj.js} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-quick-chart-Cd5lGyph.js +0 -2471
- package/dist/vue-ui-sparkstackbar-BI8zG-DG.js +0 -662
|
@@ -186,18 +186,18 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
186
186
|
"copyAlt"
|
|
187
187
|
],
|
|
188
188
|
setup(e, { expose: De, emit: et }) {
|
|
189
|
-
let Bt = Ve(() => import("./Tooltip-CuWEYGr3.js")), Vt = Ve(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Ht = Ve(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), Ut = Ve(() => import("./DataTable-DmE8Oo4i.js")), Wt = Ve(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Gt = Ve(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Kt = Ve(() => import("./PackageVersion-
|
|
189
|
+
let Bt = Ve(() => import("./Tooltip-CuWEYGr3.js")), Vt = Ve(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Ht = Ve(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), Ut = Ve(() => import("./DataTable-DmE8Oo4i.js")), Wt = Ve(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Gt = Ve(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Kt = Ve(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), qt = Ve(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_stackline: Jt } = he(), { isThemeValid: Yt, warnInvalidTheme: Xt } = xe(), Zt = Ze(), P = e, F = et, Qt = b({
|
|
190
190
|
get() {
|
|
191
191
|
return !!P.dataset && P.dataset.length;
|
|
192
192
|
},
|
|
193
193
|
set(e) {
|
|
194
194
|
return e;
|
|
195
195
|
}
|
|
196
|
-
}),
|
|
196
|
+
}), I = O(null), L = O(i()), $t = O(!1), R = O([]), en = O(0), tn = O(null), nn = O(null), rn = O(null), an = O(null), on = O(null), sn = O(!1), cn = O(!1), ln = O(0), un = O(0), dn = O(0), fn = O(!1), pn = O(null), mn = O(null), hn = O(!1), gn = O(!1), _n = O(!1), vn = O(null), yn = O(null), bn = O(null), xn = O(null), Sn = O(null), Cn = Ye(null), wn = O(!1), Tn = O(0), En = O(0), Dn = O(null), On = O({
|
|
197
197
|
x: 0,
|
|
198
198
|
y: 0
|
|
199
199
|
}), kn = O("pointer"), An = Se({
|
|
200
|
-
elementRef:
|
|
200
|
+
elementRef: Cn,
|
|
201
201
|
minimumWidth: 2,
|
|
202
202
|
minimumHeight: 2,
|
|
203
203
|
stableFramesRequired: 2,
|
|
@@ -207,7 +207,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
function jn() {
|
|
210
|
-
|
|
210
|
+
Cn.value = I.value?.parentNode ?? null;
|
|
211
211
|
}
|
|
212
212
|
function Mn() {
|
|
213
213
|
return new Promise((e) => {
|
|
@@ -217,15 +217,15 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
async function Nn() {
|
|
220
|
-
let e = ++
|
|
221
|
-
|
|
220
|
+
let e = ++En.value;
|
|
221
|
+
wn.value = !1, await Ue(), await Mn(), await Mn(), e === En.value && (Tn.value += 1, wn.value = !0);
|
|
222
222
|
}
|
|
223
223
|
let Pn = O(null), Fn = O(!1);
|
|
224
224
|
function In() {
|
|
225
225
|
Fn.value = !Fn.value;
|
|
226
226
|
}
|
|
227
227
|
qe(() => {
|
|
228
|
-
jn(), An.start(),
|
|
228
|
+
jn(), An.start(), fn.value = !0, or(), Nn();
|
|
229
229
|
});
|
|
230
230
|
let z = O(qn()), Ln = b(() => z.value.userOptions.useCursorPointer), Rn = b(() => de({
|
|
231
231
|
defaultConfig: {
|
|
@@ -319,10 +319,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
319
319
|
})
|
|
320
320
|
}), { userOptionsVisible: Hn, setUserOptionsVisibility: Un, keepUserOptionState: Wn } = Ne({ config: z.value }), { svgRef: B } = Pe({ config: z.value.style.chart.title });
|
|
321
321
|
function Gn() {
|
|
322
|
-
|
|
322
|
+
hn.value = !0, Un(!0);
|
|
323
323
|
}
|
|
324
324
|
function Kn() {
|
|
325
|
-
Un(!1),
|
|
325
|
+
Un(!1), hn.value = !1, Dn.value = null, kn.value = "pointer", $t.value = !1, $.value = null, F("selectX", {
|
|
326
326
|
seriesIndex: null,
|
|
327
327
|
datapoint: null
|
|
328
328
|
});
|
|
@@ -351,7 +351,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
351
351
|
}
|
|
352
352
|
let Jn = b(() => z.value.style.chart.lines.dataLabels.hideUnderValue !== null), Yn = b(() => z.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
|
|
353
353
|
Qe(() => P.config, (e) => {
|
|
354
|
-
zn.value || (z.value = qn()), Hn.value = !z.value.userOptions.showOnChartHover, or({ resetSlicer: !z.value.style.chart.zoom.keepState }),
|
|
354
|
+
zn.value || (z.value = qn()), Hn.value = !z.value.userOptions.showOnChartHover, or({ resetSlicer: !z.value.style.chart.zoom.keepState }), ln.value += 1, un.value += 1, dn.value += 1, V.value.dataLabels.show = z.value.style.chart.lines.dataLabels.show, V.value.showTable = z.value.table.show, V.value.showTooltip = z.value.style.chart.tooltip.show, H.value.width = z.value.style.chart.width, H.value.height = z.value.style.chart.height, H.value.paddingRatio = {
|
|
355
355
|
top: z.value.style.chart.padding.top / z.value.style.chart.height,
|
|
356
356
|
right: z.value.style.chart.padding.right / z.value.style.chart.width,
|
|
357
357
|
bottom: z.value.style.chart.padding.bottom / z.value.style.chart.height,
|
|
@@ -373,7 +373,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
373
373
|
};
|
|
374
374
|
}, { immediate: !0 });
|
|
375
375
|
let { isPrinting: Xn, isImaging: Zn, generatePdf: Qn, generateImage: $n } = ge({
|
|
376
|
-
elementId: `stackline_${
|
|
376
|
+
elementId: `stackline_${L.value}`,
|
|
377
377
|
fileName: z.value.style.chart.title.text || "vue-ui-stackline",
|
|
378
378
|
options: z.value.userOptions.print
|
|
379
379
|
}), er = b(() => z.value.userOptions.show && !z.value.style.chart.title.text), H = O({
|
|
@@ -396,7 +396,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
396
396
|
datasetObject: e,
|
|
397
397
|
requiredAttributes: ["name", "series"]
|
|
398
398
|
}).forEach((e) => {
|
|
399
|
-
|
|
399
|
+
Qt.value = !1, p({
|
|
400
400
|
componentName: "VueUiStackline",
|
|
401
401
|
type: "datasetSerieAttribute",
|
|
402
402
|
property: e,
|
|
@@ -405,25 +405,25 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
405
405
|
}), Vn.value = !0;
|
|
406
406
|
});
|
|
407
407
|
}), d(P.dataset) || (Vn.value = z.value.loading), setTimeout(() => {
|
|
408
|
-
|
|
408
|
+
cn.value = !0;
|
|
409
409
|
}, 10), z.value.responsive) {
|
|
410
410
|
let e = Oe(() => {
|
|
411
|
-
|
|
411
|
+
cn.value = !1;
|
|
412
412
|
let { width: e, height: t } = ke({
|
|
413
|
-
chart:
|
|
414
|
-
noTitle:
|
|
415
|
-
title: z.value.style.chart.title.text ?
|
|
416
|
-
legend: z.value.style.chart.legend.show ?
|
|
417
|
-
slicer: z.value.style.chart.zoom.show && G.value > 6 ?
|
|
418
|
-
source:
|
|
413
|
+
chart: I.value,
|
|
414
|
+
noTitle: an.value,
|
|
415
|
+
title: z.value.style.chart.title.text ? tn.value : null,
|
|
416
|
+
legend: z.value.style.chart.legend.show ? nn.value : null,
|
|
417
|
+
slicer: z.value.style.chart.zoom.show && G.value > 6 ? rn.value.$el : null,
|
|
418
|
+
source: on.value
|
|
419
419
|
});
|
|
420
420
|
requestAnimationFrame(() => {
|
|
421
421
|
H.value.width = e, H.value.height = t - 12, clearTimeout(ir.value), ir.value = setTimeout(() => {
|
|
422
|
-
|
|
422
|
+
cn.value = !0;
|
|
423
423
|
}, 10);
|
|
424
424
|
});
|
|
425
425
|
});
|
|
426
|
-
nr.value && (rr.value && nr.value.unobserve(rr.value), nr.value.disconnect()), nr.value = new ResizeObserver(e), rr.value =
|
|
426
|
+
nr.value && (rr.value && nr.value.unobserve(rr.value), nr.value.disconnect()), nr.value = new ResizeObserver(e), rr.value = I.value.parentNode, nr.value.observe(rr.value);
|
|
427
427
|
}
|
|
428
428
|
e && $r();
|
|
429
429
|
}
|
|
@@ -433,11 +433,11 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
433
433
|
let sr = b(() => z.value.style.chart.grid.y.position === "right");
|
|
434
434
|
function cr() {
|
|
435
435
|
let e = 0;
|
|
436
|
-
|
|
436
|
+
bn.value && (e = Array.from(bn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
437
437
|
let n = t.getComputedTextLength();
|
|
438
438
|
return n > e ? n : e;
|
|
439
439
|
}, 0));
|
|
440
|
-
let t =
|
|
440
|
+
let t = yn.value ? yn.value.getBoundingClientRect().width + z.value.style.chart.grid.y.axisName.fontSize + z.value.style.chart.grid.y.axisName.offsetX : 0;
|
|
441
441
|
return {
|
|
442
442
|
left: sr.value ? 0 : e + t,
|
|
443
443
|
right: sr.value ? e + t : 0,
|
|
@@ -447,7 +447,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
447
447
|
}
|
|
448
448
|
let lr = O(0), ur = O(0), dr = O(0);
|
|
449
449
|
function fr() {
|
|
450
|
-
let e =
|
|
450
|
+
let e = xn.value;
|
|
451
451
|
if (!e) {
|
|
452
452
|
ur.value = 0;
|
|
453
453
|
return;
|
|
@@ -471,15 +471,15 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
471
471
|
});
|
|
472
472
|
let mr = b(() => {
|
|
473
473
|
let e = 0;
|
|
474
|
-
if (
|
|
475
|
-
e =
|
|
474
|
+
if (vn.value) try {
|
|
475
|
+
e = vn.value.getBBox().height;
|
|
476
476
|
} catch {
|
|
477
477
|
e = 0;
|
|
478
478
|
}
|
|
479
479
|
let t = z.value.style.chart.grid.x.timeLabels.show ? ur.value : 0;
|
|
480
480
|
return e + t;
|
|
481
481
|
}), U = b(() => {
|
|
482
|
-
|
|
482
|
+
Tn.value;
|
|
483
483
|
let { height: e, width: t } = H.value, { right: n } = H.value.paddingRatio, r = z.value.style.chart.lines.totalValues.show && P.dataset && P.dataset.length > 1 ? z.value.style.chart.lines.totalValues.fontSize * 1.3 : 0, i = 0, a = 0, o = 0, s = 0;
|
|
484
484
|
if (z.value.style.chart.grid.y.axisLabels.show) {
|
|
485
485
|
let e = cr();
|
|
@@ -534,8 +534,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
534
534
|
id: n,
|
|
535
535
|
color: r
|
|
536
536
|
};
|
|
537
|
-
})), gr = b(() => W.value.filter((e) => !
|
|
538
|
-
let e = Math.max(...W.value.filter((e) => !
|
|
537
|
+
})), gr = b(() => W.value.filter((e) => !R.value.includes(e.id) && !e.standalone)), _r = b(() => W.value.filter((e) => !R.value.includes(e.id) && e.standalone)), G = b(() => {
|
|
538
|
+
let e = Math.max(...W.value.filter((e) => !R.value.includes(e.id)).map((e) => e.series.length));
|
|
539
539
|
return isFinite(e) ? e : Math.max(...W.value.map((e) => e.series.length));
|
|
540
540
|
});
|
|
541
541
|
function vr(e) {
|
|
@@ -557,7 +557,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
557
557
|
}
|
|
558
558
|
function Sr() {
|
|
559
559
|
let e = G.value, t = Math.max(0, Math.min(K.value.start ?? 0, e - 1)), n = Math.max(t + 1, Math.min(K.value.end ?? e, e));
|
|
560
|
-
(!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), K.value.start = t, K.value.end = n, q.value.start = t, q.value.end = n,
|
|
560
|
+
(!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), K.value.start = t, K.value.end = n, q.value.start = t, q.value.end = n, rn.value && (rn.value.setStartValue(t), rn.value.setEndValue(n));
|
|
561
561
|
}
|
|
562
562
|
let Cr = O(null);
|
|
563
563
|
function wr() {
|
|
@@ -578,9 +578,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
578
578
|
let Er = b(() => Math.max(0, U.value.width / (K.value.end - K.value.start))), Dr = b(() => n(gr.value.map((e) => ({
|
|
579
579
|
...e,
|
|
580
580
|
series: e.series.map((e) => e ?? 0)
|
|
581
|
-
}))).slice(K.value.start, K.value.end)), Or = b(() =>
|
|
581
|
+
}))).slice(K.value.start, K.value.end)), Or = b(() => R.value.length === W.value.length), kr = b(() => {
|
|
582
582
|
if (!z.value.style.chart.zoom.minimap.show) return [];
|
|
583
|
-
let e = W.value.filter((e) => Or.value ? !0 : !
|
|
583
|
+
let e = W.value.filter((e) => Or.value ? !0 : !R.value.includes(e.id) && !e.standalone);
|
|
584
584
|
if (e.length) return n(e.map((e) => ({
|
|
585
585
|
...e,
|
|
586
586
|
series: (e.series || []).map((e) => e ?? 0)
|
|
@@ -591,7 +591,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
591
591
|
return Array.from({ length: r }, (e, n) => t.reduce((e, t) => e + Math.abs(t.series[n] ?? 0), 0));
|
|
592
592
|
}), Ar = b(() => {
|
|
593
593
|
if (!z.value.style.chart.zoom.minimap.show) return [];
|
|
594
|
-
let e = W.value.filter((e) => Or.value ? !0 : !
|
|
594
|
+
let e = W.value.filter((e) => Or.value ? !0 : !R.value.includes(e.id) && !e.standalone), t = _r.value, n = e.length ? [{
|
|
595
595
|
name: "",
|
|
596
596
|
series: kr.value,
|
|
597
597
|
color: "#000000",
|
|
@@ -603,14 +603,14 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
603
603
|
isVisible: !0
|
|
604
604
|
}));
|
|
605
605
|
return n.concat(r);
|
|
606
|
-
}), jr = b(() => n(gr.value.filter((e) => !
|
|
606
|
+
}), jr = b(() => n(gr.value.filter((e) => !R.value.includes(e.id)).map((e) => ({
|
|
607
607
|
...e,
|
|
608
608
|
series: e.series.map((t, n) => {
|
|
609
609
|
let r = t ?? 0;
|
|
610
610
|
return e.signedSeries[n] === -1 && r >= 0 ? -r : r;
|
|
611
611
|
})
|
|
612
612
|
}))).slice(K.value.start, K.value.end)), Mr = b(() => {
|
|
613
|
-
let e = gr.value.filter((e) => !
|
|
613
|
+
let e = gr.value.filter((e) => !R.value.includes(e.id));
|
|
614
614
|
return {
|
|
615
615
|
positive: n(e.map((e) => ({
|
|
616
616
|
...e,
|
|
@@ -710,7 +710,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
710
710
|
return ae(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Vr.value || 1), o, s, r, i, a);
|
|
711
711
|
});
|
|
712
712
|
$e(() => {
|
|
713
|
-
z.value.style.chart.grid.x.timeLabels.show, z.value.style.chart.grid.x.timeLabels.fontSize, z.value.style.chart.grid.x.timeLabels.rotation, z.value.style.chart.grid.x.timeLabels.offsetY, (Hr.value || []).map((e) => e?.text ?? "").join("|"), H.value.width, H.value.height,
|
|
713
|
+
z.value.style.chart.grid.x.timeLabels.show, z.value.style.chart.grid.x.timeLabels.fontSize, z.value.style.chart.grid.x.timeLabels.rotation, z.value.style.chart.grid.x.timeLabels.offsetY, (Hr.value || []).map((e) => e?.text ?? "").join("|"), H.value.width, H.value.height, xn.value, vn.value, pr();
|
|
714
714
|
}, { flush: "post" });
|
|
715
715
|
let Ur = O({
|
|
716
716
|
months: [],
|
|
@@ -742,9 +742,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
742
742
|
text: Gr.value(t, z.value.style.chart.tooltip.timeFormat),
|
|
743
743
|
absoluteIndex: t
|
|
744
744
|
}))), Jr = b(() => {
|
|
745
|
-
if (
|
|
745
|
+
if (!Qt.value && !zn.value) return [];
|
|
746
746
|
let e = U.value.height, t = Lr.value[0] ? Lr.value[0].zero : U.value.bottom, n = K.value.start ?? 0, r = K.value.end ?? 0, i = Math.max(1, r - n), a = Math.max(...Mr.value.positive, 0), o = Math.min(...Mr.value.negative, 0), s = Math.max(...Nr.value.positive, 0), c = Math.min(...Nr.value.negative, 0), l = Math.max(a, s), u = Math.min(o, c), { min: d, max: f } = !z.value.style.chart.lines.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? h(z.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : g(z.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks), p = f + (d >= 0 ? 0 : Math.abs(d)) || 1, m = Array(i).fill(0), _ = Array(i).fill(0), ee = (e) => i <= 1 ? U.value.left + U.value.width / 2 : U.value.left + e / (i - 1) * U.value.width;
|
|
747
|
-
return W.value.filter((e) => !
|
|
747
|
+
return W.value.filter((e) => !R.value.includes(e.id)).map((r) => {
|
|
748
748
|
let a = [], o = [], s = [], c = Array(i).fill(null), l = Array(i).fill(null);
|
|
749
749
|
for (let u = 0; u < i; u += 1) {
|
|
750
750
|
let i = n + u, d = r.series?.[i], f = r.signedSeries?.[i], h = d == null || Number.isNaN(d) ? 0 : d, g = r.standalone ? h / p : z.value.style.chart.lines.distributed ? h / (Dr.value[u] || 1) : h / p;
|
|
@@ -880,7 +880,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
880
880
|
width: U.value.width
|
|
881
881
|
})), ni = O(!1);
|
|
882
882
|
Ce({
|
|
883
|
-
timeLabelsEls:
|
|
883
|
+
timeLabelsEls: xn,
|
|
884
884
|
timeLabels: J,
|
|
885
885
|
slicer: K,
|
|
886
886
|
configRef: z,
|
|
@@ -997,7 +997,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
997
997
|
z.value.events.datapointClick && z.value.events.datapointClick({
|
|
998
998
|
datapoint: t,
|
|
999
999
|
seriesIndex: e + K.value.start
|
|
1000
|
-
}),
|
|
1000
|
+
}), F("selectDatapoint", {
|
|
1001
1001
|
datapoint: t,
|
|
1002
1002
|
period: J.value[e]
|
|
1003
1003
|
});
|
|
@@ -1144,7 +1144,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1144
1144
|
});
|
|
1145
1145
|
function hi(e, t = null, n = "pointer") {
|
|
1146
1146
|
if (Or.value) return;
|
|
1147
|
-
kn.value = n,
|
|
1147
|
+
kn.value = n, $t.value = e;
|
|
1148
1148
|
let r = Y.value.map((e) => ({
|
|
1149
1149
|
name: e.name,
|
|
1150
1150
|
value: [
|
|
@@ -1154,13 +1154,13 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1154
1154
|
].includes(e.series[t]) ? null : e.series[t],
|
|
1155
1155
|
color: e.color
|
|
1156
1156
|
}));
|
|
1157
|
-
e ? (
|
|
1157
|
+
e ? (Dn.value = t, $.value = t, Ji({
|
|
1158
1158
|
seriesIndex: t,
|
|
1159
1159
|
datapoint: r
|
|
1160
1160
|
}), z.value.events.datapointEnter && z.value.events.datapointEnter({
|
|
1161
1161
|
datapoint: r,
|
|
1162
1162
|
seriesIndex: t + K.value.start
|
|
1163
|
-
})) : (
|
|
1163
|
+
})) : (Dn.value = null, $.value = null, F("selectX", {
|
|
1164
1164
|
seriesIndex: null,
|
|
1165
1165
|
dataset: null,
|
|
1166
1166
|
indexLabel: null
|
|
@@ -1170,7 +1170,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1170
1170
|
}));
|
|
1171
1171
|
}
|
|
1172
1172
|
function gi(e, t) {
|
|
1173
|
-
|
|
1173
|
+
F("selectTimeLabel", {
|
|
1174
1174
|
datapoint: JSON.parse(JSON.stringify(Y.value)).map((e) => ({
|
|
1175
1175
|
name: e.name,
|
|
1176
1176
|
value: e.series[t] === 0 ? 0 : (e.signedSeries[t] === -1 && e.series[t] >= 0 ? -e.series[t] : e.series[t]) || null,
|
|
@@ -1183,23 +1183,23 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1183
1183
|
});
|
|
1184
1184
|
}
|
|
1185
1185
|
function _i() {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
});
|
|
1186
|
+
R.value.length ? R.value = [] : yi.value.forEach((e) => {
|
|
1187
|
+
R.value.push(e.id);
|
|
1188
|
+
}), F("selectLegend", Y.value);
|
|
1189
1189
|
}
|
|
1190
1190
|
function vi(e) {
|
|
1191
|
-
if (
|
|
1191
|
+
if (R.value.includes(e.id)) R.value = R.value.filter((t) => t !== e.id);
|
|
1192
1192
|
else {
|
|
1193
|
-
if (
|
|
1194
|
-
|
|
1193
|
+
if (R.value.length === W.value.length - 1) return;
|
|
1194
|
+
R.value.push(e.id);
|
|
1195
1195
|
}
|
|
1196
|
-
|
|
1196
|
+
F("selectLegend", Y.value);
|
|
1197
1197
|
}
|
|
1198
1198
|
let yi = b(() => W.value.map((e) => ({
|
|
1199
1199
|
...e,
|
|
1200
|
-
opacity:
|
|
1200
|
+
opacity: R.value.includes(e.id) ? .5 : 1,
|
|
1201
1201
|
segregate: () => vi(e),
|
|
1202
|
-
isSegregated:
|
|
1202
|
+
isSegregated: R.value.includes(e.id)
|
|
1203
1203
|
}))), bi = b(() => ({
|
|
1204
1204
|
cy: "stackline-legend",
|
|
1205
1205
|
backgroundColor: z.value.style.chart.legend.backgroundColor,
|
|
@@ -1213,11 +1213,11 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1213
1213
|
}
|
|
1214
1214
|
function Si(e) {
|
|
1215
1215
|
let t = xi(e);
|
|
1216
|
-
t !== null &&
|
|
1216
|
+
t !== null && R.value.includes(t.id) && vi({ id: t.id });
|
|
1217
1217
|
}
|
|
1218
1218
|
function Ci(e) {
|
|
1219
1219
|
let t = xi(e);
|
|
1220
|
-
t !== null && (
|
|
1220
|
+
t !== null && (R.value.includes(t.id) || vi({ id: t.id }));
|
|
1221
1221
|
}
|
|
1222
1222
|
let wi = b(() => {
|
|
1223
1223
|
if (Y.value.length === 0) return {
|
|
@@ -1287,7 +1287,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1287
1287
|
backgroundColor: Di
|
|
1288
1288
|
});
|
|
1289
1289
|
async function ji({ isCb: e }) {
|
|
1290
|
-
|
|
1290
|
+
_n.value = !0, await Ue();
|
|
1291
1291
|
try {
|
|
1292
1292
|
if (e) {
|
|
1293
1293
|
let { blob: e, url: t, text: n, dataUrl: r } = await Ai();
|
|
@@ -1299,13 +1299,13 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1299
1299
|
}));
|
|
1300
1300
|
} else await Promise.resolve(ki());
|
|
1301
1301
|
} finally {
|
|
1302
|
-
|
|
1302
|
+
_n.value = !1;
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
async function Mi({ scale: e = 2 } = {}) {
|
|
1306
|
-
if (!
|
|
1307
|
-
let { width: t, height: n } =
|
|
1308
|
-
domElement:
|
|
1306
|
+
if (!I.value) return;
|
|
1307
|
+
let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
|
|
1308
|
+
domElement: I.value,
|
|
1309
1309
|
base64: !0,
|
|
1310
1310
|
img: !0,
|
|
1311
1311
|
scale: e
|
|
@@ -1329,8 +1329,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1329
1329
|
color: z.value.table.th.color,
|
|
1330
1330
|
headerColor: z.value.table.th.color,
|
|
1331
1331
|
headerBg: z.value.table.th.backgroundColor,
|
|
1332
|
-
isFullscreen:
|
|
1333
|
-
fullscreenParent:
|
|
1332
|
+
isFullscreen: sn.value,
|
|
1333
|
+
fullscreenParent: I.value,
|
|
1334
1334
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1335
1335
|
isCursorPointer: Ln.value
|
|
1336
1336
|
} : {
|
|
@@ -1351,13 +1351,13 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1351
1351
|
};
|
|
1352
1352
|
});
|
|
1353
1353
|
Qe(() => V.value.showTable, (e) => {
|
|
1354
|
-
z.value.table.show || (e && z.value.table.useDialog &&
|
|
1354
|
+
z.value.table.show || (e && z.value.table.useDialog && pn.value ? pn.value.open() : "close" in pn.value && pn.value.close());
|
|
1355
1355
|
});
|
|
1356
1356
|
function Pi() {
|
|
1357
|
-
V.value.showTable = !1,
|
|
1357
|
+
V.value.showTable = !1, mn.value && mn.value.setTableIconState(!1);
|
|
1358
1358
|
}
|
|
1359
1359
|
function Fi(e) {
|
|
1360
|
-
|
|
1360
|
+
sn.value = e, en.value += 1;
|
|
1361
1361
|
}
|
|
1362
1362
|
function Ii() {
|
|
1363
1363
|
V.value.showTable = !V.value.showTable;
|
|
@@ -1450,7 +1450,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1450
1450
|
if (z.value.style.chart.lines.useArea) {
|
|
1451
1451
|
let t = z.value.style.chart.lines.smooth ? `M${m[0].x},${m[0].y} ${n(g)} L${ne.x},${ne.y} ${n(_)} Z` : `M${m[0].x},${m[0].y} ${n(ee)} L${ne.x},${ne.y} ${n(te)} Z`;
|
|
1452
1452
|
l.push(`<path d="${t}"
|
|
1453
|
-
fill="${Zt.pattern ? `url(#pattern_${
|
|
1453
|
+
fill="${Zt.pattern ? `url(#pattern_${L.value}_${e.absoluteIndex})` : (z.value.style.chart.lines.gradient.show, e.color)}"
|
|
1454
1454
|
opacity="${z.value.style.chart.lines.areaOpacity}"
|
|
1455
1455
|
stroke="none" />`);
|
|
1456
1456
|
}
|
|
@@ -1491,7 +1491,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1491
1491
|
if (z.value.style.chart.lines.useArea) {
|
|
1492
1492
|
let e = z.value.style.chart.lines.smooth ? `M${f[0].x},${f[0].y} ${n(g)} L${ne.x},${ne.y} ${n(_)} Z` : `M${f[0].x},${f[0].y} ${n(ee)} L${ne.x},${ne.y} ${n(te)} Z`;
|
|
1493
1493
|
m.push(`<path d="${e}"
|
|
1494
|
-
fill="${Zt.pattern ? `url(#pattern_${
|
|
1494
|
+
fill="${Zt.pattern ? `url(#pattern_${L.value}_${r.absoluteIndex})` : (z.value.style.chart.lines.gradient.show, r.color)}"
|
|
1495
1495
|
opacity="${z.value.style.chart.lines.areaOpacity}"
|
|
1496
1496
|
stroke="none" />`);
|
|
1497
1497
|
}
|
|
@@ -1546,7 +1546,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1546
1546
|
}
|
|
1547
1547
|
function Ji({ seriesIndex: e, datapoint: t }) {
|
|
1548
1548
|
let n = K.value.start + e;
|
|
1549
|
-
|
|
1549
|
+
F("selectX", {
|
|
1550
1550
|
dataset: t,
|
|
1551
1551
|
index: n,
|
|
1552
1552
|
indexLabel: z.value.style.chart.grid.x.timeLabels.values[n]
|
|
@@ -1554,17 +1554,17 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1554
1554
|
}
|
|
1555
1555
|
function Yi(e) {
|
|
1556
1556
|
if (e?.stage === "start") {
|
|
1557
|
-
|
|
1557
|
+
gn.value = !0;
|
|
1558
1558
|
return;
|
|
1559
1559
|
}
|
|
1560
1560
|
if (e?.stage === "end") {
|
|
1561
|
-
|
|
1561
|
+
gn.value = !1;
|
|
1562
1562
|
return;
|
|
1563
1563
|
}
|
|
1564
1564
|
$n();
|
|
1565
1565
|
}
|
|
1566
1566
|
async function Xi() {
|
|
1567
|
-
if (
|
|
1567
|
+
if (F("copyAlt", {
|
|
1568
1568
|
config: z.value,
|
|
1569
1569
|
dataset: Y.value
|
|
1570
1570
|
}), !z.value.userOptions.callbacks.altCopy) {
|
|
@@ -1578,10 +1578,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1578
1578
|
}
|
|
1579
1579
|
let Zi = O(!1);
|
|
1580
1580
|
function Qi() {
|
|
1581
|
-
|
|
1581
|
+
Dn.value = null, Zi.value = !0;
|
|
1582
1582
|
}
|
|
1583
1583
|
function $i() {
|
|
1584
|
-
|
|
1584
|
+
Dn.value = null, kn.value = "pointer", $t.value = !1, $.value = null, F("selectX", {
|
|
1585
1585
|
seriesIndex: null,
|
|
1586
1586
|
datapoint: null
|
|
1587
1587
|
}), Zi.value = !1;
|
|
@@ -1591,19 +1591,19 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1591
1591
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1592
1592
|
if (!t && !n && !r && !i) return;
|
|
1593
1593
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1594
|
-
|
|
1594
|
+
Dn.value = null, kn.value = "pointer", $t.value = !1, $.value = null, F("selectX", {
|
|
1595
1595
|
seriesIndex: null,
|
|
1596
1596
|
datapoint: null
|
|
1597
1597
|
});
|
|
1598
1598
|
return;
|
|
1599
1599
|
}
|
|
1600
1600
|
if (r) {
|
|
1601
|
-
if (
|
|
1602
|
-
ui(
|
|
1601
|
+
if (Dn.value === null) return;
|
|
1602
|
+
ui(Dn.value);
|
|
1603
1603
|
return;
|
|
1604
1604
|
}
|
|
1605
|
-
let a =
|
|
1606
|
-
s ? n ? (a += 1, a >= Z.value && (a = 0)) : t && (--a, a < 0 && (a = Z.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value && (a = 0), a < 0 && (a = Z.value - 1)) : a = n ? 0 : Z.value - 1,
|
|
1605
|
+
let a = Dn.value, o = ri.value, s = a !== null && a >= 0 && a < Z.value, c = o !== null && o >= 0 && o < Z.value;
|
|
1606
|
+
s ? n ? (a += 1, a >= Z.value && (a = 0)) : t && (--a, a < 0 && (a = Z.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value && (a = 0), a < 0 && (a = Z.value - 1)) : a = n ? 0 : Z.value - 1, Dn.value = a, ta(a), hi(!0, a, "keyboard");
|
|
1607
1607
|
}
|
|
1608
1608
|
function ta(e) {
|
|
1609
1609
|
if (!Number.isFinite(e) || !B.value) return;
|
|
@@ -1630,25 +1630,25 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1630
1630
|
toggleFullscreen: Fi,
|
|
1631
1631
|
copyAlt: Xi
|
|
1632
1632
|
}), (t, n) => (D(), C("div", {
|
|
1633
|
-
id: `stackline_${
|
|
1633
|
+
id: `stackline_${L.value}`,
|
|
1634
1634
|
ref_key: "stacklineChart",
|
|
1635
|
-
ref:
|
|
1635
|
+
ref: I,
|
|
1636
1636
|
class: We({
|
|
1637
1637
|
"vue-data-ui-component": !0,
|
|
1638
1638
|
"vue-ui-stackline": !0,
|
|
1639
|
-
"vue-data-ui-wrapper-fullscreen":
|
|
1639
|
+
"vue-data-ui-wrapper-fullscreen": sn.value
|
|
1640
1640
|
}),
|
|
1641
1641
|
style: Ge(`background:${z.value.style.chart.backgroundColor};color:${z.value.style.chart.color};font-family:${z.value.style.fontFamily}; position: relative; ${z.value.responsive ? "height: 100%" : ""}`),
|
|
1642
1642
|
onMouseenter: Gn,
|
|
1643
1643
|
onMouseleave: Kn
|
|
1644
1644
|
}, [
|
|
1645
1645
|
w("div", {
|
|
1646
|
-
id: `chart-instructions-${
|
|
1646
|
+
id: `chart-instructions-${L.value}`,
|
|
1647
1647
|
class: "sr-only"
|
|
1648
1648
|
}, [w("p", null, j(z.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
|
|
1649
1649
|
na.value?.rows?.length ? (D(), x(Me, {
|
|
1650
1650
|
key: 0,
|
|
1651
|
-
uid:
|
|
1651
|
+
uid: L.value,
|
|
1652
1652
|
head: na.value.headers,
|
|
1653
1653
|
body: na.value.rows,
|
|
1654
1654
|
notice: z.value.a11y.translations.tableAvailable,
|
|
@@ -1687,17 +1687,17 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1687
1687
|
er.value ? (D(), C("div", {
|
|
1688
1688
|
key: 2,
|
|
1689
1689
|
ref_key: "noTitle",
|
|
1690
|
-
ref:
|
|
1690
|
+
ref: an,
|
|
1691
1691
|
class: "vue-data-ui-no-title-space",
|
|
1692
1692
|
style: "height:36px; width: 100%;background:transparent"
|
|
1693
1693
|
}, null, 512)) : S("", !0),
|
|
1694
1694
|
z.value.style.chart.title.text ? (D(), C("div", {
|
|
1695
1695
|
key: 3,
|
|
1696
1696
|
ref_key: "chartTitle",
|
|
1697
|
-
ref:
|
|
1697
|
+
ref: tn,
|
|
1698
1698
|
style: "width:100%;background:transparent;"
|
|
1699
1699
|
}, [(D(), x(Te, {
|
|
1700
|
-
key: `title_${
|
|
1700
|
+
key: `title_${ln.value}`,
|
|
1701
1701
|
config: {
|
|
1702
1702
|
title: {
|
|
1703
1703
|
cy: "stackline-title",
|
|
@@ -1709,16 +1709,16 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
1711
|
}, null, 8, ["config"]))], 512)) : S("", !0),
|
|
1712
|
-
w("div", { id: `legend-top-${
|
|
1713
|
-
z.value.userOptions.show &&
|
|
1712
|
+
w("div", { id: `legend-top-${L.value}` }, null, 8, rt),
|
|
1713
|
+
z.value.userOptions.show && Qt.value && (M(Wn) || M(Hn)) ? (D(), x(M(Gt), {
|
|
1714
1714
|
ref_key: "userOptionsRef",
|
|
1715
|
-
ref:
|
|
1716
|
-
key: `user_option_${
|
|
1715
|
+
ref: mn,
|
|
1716
|
+
key: `user_option_${en.value}`,
|
|
1717
1717
|
backgroundColor: z.value.style.chart.backgroundColor,
|
|
1718
1718
|
color: z.value.style.chart.color,
|
|
1719
1719
|
isPrinting: M(Xn),
|
|
1720
1720
|
isImaging: M(Zn),
|
|
1721
|
-
uid:
|
|
1721
|
+
uid: L.value,
|
|
1722
1722
|
hasTooltip: z.value.style.chart.tooltip.show && z.value.userOptions.buttons.tooltip,
|
|
1723
1723
|
hasPdf: z.value.userOptions.buttons.pdf,
|
|
1724
1724
|
hasImg: z.value.userOptions.buttons.img,
|
|
@@ -1728,8 +1728,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1728
1728
|
hasLabel: z.value.userOptions.buttons.labels,
|
|
1729
1729
|
hasFullscreen: z.value.userOptions.buttons.fullscreen,
|
|
1730
1730
|
hasAltCopy: z.value.userOptions.buttons.altCopy,
|
|
1731
|
-
isFullscreen:
|
|
1732
|
-
chartElement:
|
|
1731
|
+
isFullscreen: sn.value,
|
|
1732
|
+
chartElement: I.value,
|
|
1733
1733
|
position: z.value.userOptions.position,
|
|
1734
1734
|
isTooltip: V.value.showTooltip,
|
|
1735
1735
|
titles: { ...z.value.userOptions.buttonTitles },
|
|
@@ -1829,7 +1829,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1829
1829
|
w("div", it, [(D(), C("svg", {
|
|
1830
1830
|
ref_key: "svgRef",
|
|
1831
1831
|
ref: B,
|
|
1832
|
-
"aria-describedby": `chart-instructions-${
|
|
1832
|
+
"aria-describedby": `chart-instructions-${L.value}`,
|
|
1833
1833
|
xmlns: M(oe),
|
|
1834
1834
|
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.chartHeight <= 0 ? 10 : U.value.chartHeight}`,
|
|
1835
1835
|
class: We({
|
|
@@ -1851,7 +1851,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1851
1851
|
Be(M(Kt)),
|
|
1852
1852
|
(D(!0), C(y, null, k(gr.value, (e) => (D(), C(y, null, [t.$slots.pattern ? (D(), C("defs", ot, [A(t.$slots, "pattern", He({ ref_for: !0 }, {
|
|
1853
1853
|
seriesIndex: e.absoluteIndex,
|
|
1854
|
-
patternId: `pattern_${
|
|
1854
|
+
patternId: `pattern_${L.value}_${e.absoluteIndex}`
|
|
1855
1855
|
}), void 0, !0)])) : S("", !0)], 64))), 256)),
|
|
1856
1856
|
t.$slots["chart-background"] ? (D(), C("foreignObject", {
|
|
1857
1857
|
key: 0,
|
|
@@ -1919,7 +1919,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1919
1919
|
z.value.style.chart.grid.x.axisName.show && z.value.style.chart.grid.x.axisName.text ? (D(), C("text", {
|
|
1920
1920
|
key: 6,
|
|
1921
1921
|
ref_key: "xAxisLabel",
|
|
1922
|
-
ref:
|
|
1922
|
+
ref: vn,
|
|
1923
1923
|
x: U.value.left + U.value.width / 2,
|
|
1924
1924
|
y: U.value.chartHeight - 3,
|
|
1925
1925
|
"font-size": z.value.style.chart.grid.x.axisName.fontSize,
|
|
@@ -1930,7 +1930,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1930
1930
|
z.value.style.chart.grid.y.axisName.show && z.value.style.chart.grid.y.axisName.text ? (D(), C("text", {
|
|
1931
1931
|
key: 7,
|
|
1932
1932
|
ref_key: "yAxisLabel",
|
|
1933
|
-
ref:
|
|
1933
|
+
ref: yn,
|
|
1934
1934
|
transform: `translate(${sr.value ? U.value.chartWidth - z.value.style.chart.grid.y.axisName.fontSize / 2 - z.value.style.chart.grid.y.axisName.offsetX : z.value.style.chart.grid.y.axisName.fontSize + z.value.style.chart.grid.y.axisName.offsetX}, ${U.value.top + U.value.height / 2}) rotate(-90)`,
|
|
1935
1935
|
"font-size": z.value.style.chart.grid.y.axisName.fontSize,
|
|
1936
1936
|
fill: z.value.style.chart.grid.y.axisName.color,
|
|
@@ -1958,7 +1958,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1958
1958
|
(D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [z.value.style.chart.lines.useArea && !e.standalone ? (D(), C("path", {
|
|
1959
1959
|
key: 0,
|
|
1960
1960
|
d: z.value.style.chart.lines.smooth ? e.smoothArea : e.straightArea,
|
|
1961
|
-
fill: t.$slots.pattern ? `url(#pattern_${
|
|
1961
|
+
fill: t.$slots.pattern ? `url(#pattern_${L.value}_${e.absoluteIndex})` : z.value.style.chart.lines.gradient.show ? `url(#gradient_${e.id})` : e.color,
|
|
1962
1962
|
opacity: z.value.style.chart.lines.areaOpacity,
|
|
1963
1963
|
style: Ge({ transition: M(zn) || !z.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
|
|
1964
1964
|
}, null, 12, yt)) : S("", !0)], 64))), 256)),
|
|
@@ -1973,7 +1973,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1973
1973
|
z.value.style.chart.grid.y.axisLabels.show && !z.value.style.chart.lines.distributed ? (D(), C("g", {
|
|
1974
1974
|
key: 9,
|
|
1975
1975
|
ref_key: "scaleLabels",
|
|
1976
|
-
ref:
|
|
1976
|
+
ref: bn
|
|
1977
1977
|
}, [(D(!0), C(y, null, k(Lr.value, (e, t) => (D(), C("line", {
|
|
1978
1978
|
x1: sr.value ? X.value.right : X.value.left,
|
|
1979
1979
|
x2: sr.value ? X.value.right + 6 : X.value.left - 6,
|
|
@@ -1997,7 +1997,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1997
1997
|
z.value.style.chart.grid.x.timeLabels.show ? (D(), C("g", {
|
|
1998
1998
|
key: 10,
|
|
1999
1999
|
ref_key: "timeLabelsEls",
|
|
2000
|
-
ref:
|
|
2000
|
+
ref: xn
|
|
2001
2001
|
}, [t.$slots["time-label"] ? (D(), C("g", Ct, [(D(!0), C(y, null, k(Hr.value, (e, n) => (D(), C("g", null, [A(t.$slots, "time-label", He({ ref_for: !0 }, {
|
|
2002
2002
|
x: U.value.left + Er.value * n + Er.value / 2,
|
|
2003
2003
|
y: U.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY,
|
|
@@ -2040,7 +2040,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2040
2040
|
style: Ge({ cursor: Ln.value ? "pointer" : "default" }),
|
|
2041
2041
|
onClick: () => gi(e, n)
|
|
2042
2042
|
}, j(e.text), 13, Tt))]))), 256))]))], 512)) : S("", !0),
|
|
2043
|
-
(
|
|
2043
|
+
(hn.value || ![null, void 0].includes($.value)) && !z.value.style.chart.highlighter.useLine ? (D(!0), C(y, { key: 11 }, k(K.value.end - K.value.start, (e, t) => (D(), C("g", { key: `tooltip_trap_highlighter_${t}` }, [w("rect", {
|
|
2044
2044
|
x: si(t).x,
|
|
2045
2045
|
y: U.value.top,
|
|
2046
2046
|
height: U.value.height,
|
|
@@ -2051,7 +2051,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2051
2051
|
animation: "none !important"
|
|
2052
2052
|
}
|
|
2053
2053
|
}, null, 8, Dt)]))), 128)) : S("", !0),
|
|
2054
|
-
(
|
|
2054
|
+
(hn.value || ![null, void 0].includes($.value)) && z.value.style.chart.highlighter.useLine ? (D(), C(y, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Pn.value) ? (D(), C("g", Ot, [w("line", {
|
|
2055
2055
|
x1: Q(($.value ?? Pn.value) || 0),
|
|
2056
2056
|
x2: Q(($.value ?? Pn.value) || 0),
|
|
2057
2057
|
y1: M(m)(U.value.top),
|
|
@@ -2066,7 +2066,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2066
2066
|
"pointer-events": "none"
|
|
2067
2067
|
}
|
|
2068
2068
|
}, null, 8, kt)])) : S("", !0)], 64)) : S("", !0),
|
|
2069
|
-
(D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [
|
|
2069
|
+
(D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [hn.value && K.value.end - K.value.start > z.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (D(), C("g", At, [$.value == null ? S("", !0) : (D(), C(y, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[K.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[K.value.start + $.value]) ? (D(), x(Ee, {
|
|
2070
2070
|
key: 0,
|
|
2071
2071
|
shape: [
|
|
2072
2072
|
"triangle",
|
|
@@ -2109,7 +2109,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2109
2109
|
x: t.x,
|
|
2110
2110
|
y: t.y
|
|
2111
2111
|
},
|
|
2112
|
-
radius:
|
|
2112
|
+
radius: hn.value && $.value === e.rel[n] ? z.value.style.chart.lines.dot.radius * 1.3 : z.value.style.chart.lines.dot.radius,
|
|
2113
2113
|
stroke: z.value.style.chart.lines.dot.useSerieColor ? z.value.style.chart.lines.dot.stroke : e.color,
|
|
2114
2114
|
strokeWidth: z.value.style.chart.lines.dot.strokeWidth,
|
|
2115
2115
|
transition: M(zn) ? void 0 : `all ${z.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
|
|
@@ -2133,7 +2133,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2133
2133
|
}, j(z.value.style.chart.lines.showDistributedPercentage && z.value.style.chart.lines.distributed ? qi(e.proportions[r] * 100, e, t, e.rel[r]) : Ki(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 9, jt)) : S("", !0)], 64))), 128))]))), 128)), z.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (D(), C("g", {
|
|
2134
2134
|
key: 0,
|
|
2135
2135
|
ref_key: "sumTop",
|
|
2136
|
-
ref:
|
|
2136
|
+
ref: Sn
|
|
2137
2137
|
}, [(D(!0), C(y, null, k(Pr.value, (e, t) => (D(), C(y, null, [!z.value.style.chart.lines.dataLabels.hideEmptyValues || e.value !== 0 ? (D(), C("text", {
|
|
2138
2138
|
key: 0,
|
|
2139
2139
|
x: Q(t),
|
|
@@ -2150,20 +2150,20 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2150
2150
|
A(t.$slots, "svg", { svg: {
|
|
2151
2151
|
drawingArea: U.value,
|
|
2152
2152
|
data: Y.value,
|
|
2153
|
-
isPrintingImg: M(Xn) || M(Zn) ||
|
|
2154
|
-
isPrintingSvg:
|
|
2153
|
+
isPrintingImg: M(Xn) || M(Zn) || gn.value,
|
|
2154
|
+
isPrintingSvg: _n.value
|
|
2155
2155
|
} }, void 0, !0)
|
|
2156
2156
|
], 46, at)), t.$slots.hint ? (D(), C("div", Pt, [A(t.$slots, "hint", E(T({
|
|
2157
2157
|
hint: z.value.a11y.translations.keyboardNavigation,
|
|
2158
2158
|
isVisible: Zi.value
|
|
2159
2159
|
})), void 0, !0)])) : S("", !0)]),
|
|
2160
|
-
t.$slots.watermark ? (D(), C("div", Ft, [A(t.$slots, "watermark", E(T({ isPrinting: M(Xn) || M(Zn) ||
|
|
2161
|
-
|
|
2160
|
+
t.$slots.watermark ? (D(), C("div", Ft, [A(t.$slots, "watermark", E(T({ isPrinting: M(Xn) || M(Zn) || gn.value || _n.value })), void 0, !0)])) : S("", !0),
|
|
2161
|
+
fn.value && (z.value.style.chart.legend.show || t.$slots.legend) ? (D(), x(Le, {
|
|
2162
2162
|
key: 6,
|
|
2163
|
-
to: z.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
2163
|
+
to: z.value.style.chart.legend.position === "top" ? `#legend-top-${L.value}` : `#legend-bottom-${L.value}`
|
|
2164
2164
|
}, [w("div", {
|
|
2165
2165
|
ref_key: "chartLegend",
|
|
2166
|
-
ref:
|
|
2166
|
+
ref: nn
|
|
2167
2167
|
}, [A(t.$slots, "legend", { legend: yi.value }, () => [z.value.style.chart.legend.show ? (D(), x(Fe, {
|
|
2168
2168
|
key: 0,
|
|
2169
2169
|
legendSet: yi.value,
|
|
@@ -2174,14 +2174,14 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2174
2174
|
item: N(({ legend: e }) => [M(zn) ? S("", !0) : (D(), C("div", {
|
|
2175
2175
|
key: 0,
|
|
2176
2176
|
onClick: (t) => e.segregate(),
|
|
2177
|
-
style: Ge(`opacity:${
|
|
2177
|
+
style: Ge(`opacity:${R.value.includes(e.id) ? .5 : 1}`)
|
|
2178
2178
|
}, j(e.name), 13, It))]),
|
|
2179
2179
|
legendToggle: N(() => [yi.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !M(zn) ? (D(), x(je, {
|
|
2180
2180
|
key: 0,
|
|
2181
2181
|
backgroundColor: z.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2182
2182
|
color: z.value.style.chart.legend.selectAllToggle.color,
|
|
2183
2183
|
fontSize: z.value.style.chart.legend.fontSize,
|
|
2184
|
-
checked:
|
|
2184
|
+
checked: R.value.length > 0,
|
|
2185
2185
|
isCursorPointer: Ln.value,
|
|
2186
2186
|
onToggle: _i
|
|
2187
2187
|
}, null, 8, [
|
|
@@ -2202,7 +2202,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2202
2202
|
x: 30,
|
|
2203
2203
|
y: 30
|
|
2204
2204
|
},
|
|
2205
|
-
fill: `url(#pattern_${
|
|
2205
|
+
fill: `url(#pattern_${L.value}_${t})`
|
|
2206
2206
|
}, null, 8, ["shape", "fill"])]),
|
|
2207
2207
|
key: "0"
|
|
2208
2208
|
} : void 0]), 1032, [
|
|
@@ -2210,9 +2210,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2210
2210
|
"config",
|
|
2211
2211
|
"isCursorPointer"
|
|
2212
2212
|
])) : S("", !0)], !0)], 512)], 8, ["to"])) : S("", !0),
|
|
2213
|
-
|
|
2213
|
+
Qt.value && z.value.userOptions.buttons.table ? (D(), x(Je(Ni.value.component), He({ key: 7 }, Ni.value.props, {
|
|
2214
2214
|
ref_key: "tableUnit",
|
|
2215
|
-
ref:
|
|
2215
|
+
ref: pn,
|
|
2216
2216
|
onClose: Pi
|
|
2217
2217
|
}), Re({
|
|
2218
2218
|
content: N(() => [Be(M(Ut), {
|
|
@@ -2260,10 +2260,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2260
2260
|
}, null, 8, ["stroke"])], 4)]),
|
|
2261
2261
|
key: "1"
|
|
2262
2262
|
} : void 0]), 1040)) : S("", !0),
|
|
2263
|
-
z.value.style.chart.zoom.show &&
|
|
2263
|
+
z.value.style.chart.zoom.show && Qt.value && Zr.value && G.value > 6 ? (D(), x(Ae, {
|
|
2264
2264
|
key: 8,
|
|
2265
2265
|
ref_key: "chartSlicer",
|
|
2266
|
-
ref:
|
|
2266
|
+
ref: rn,
|
|
2267
2267
|
allMinimaps: Ar.value,
|
|
2268
2268
|
background: z.value.style.chart.zoom.color,
|
|
2269
2269
|
borderColor: z.value.style.chart.backgroundColor,
|
|
@@ -2328,10 +2328,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2328
2328
|
}) }, null, 8, Rt)]),
|
|
2329
2329
|
_: 3
|
|
2330
2330
|
}, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : S("", !0),
|
|
2331
|
-
w("div", { id: `legend-bottom-${
|
|
2331
|
+
w("div", { id: `legend-bottom-${L.value}` }, null, 8, zt),
|
|
2332
2332
|
Be(M(Bt), {
|
|
2333
2333
|
teleportTo: z.value.style.chart.tooltip.teleportTo,
|
|
2334
|
-
show: V.value.showTooltip &&
|
|
2334
|
+
show: V.value.showTooltip && $t.value,
|
|
2335
2335
|
backgroundColor: z.value.style.chart.tooltip.backgroundColor,
|
|
2336
2336
|
color: z.value.style.chart.tooltip.color,
|
|
2337
2337
|
fontSize: z.value.style.chart.tooltip.fontSize,
|
|
@@ -2342,9 +2342,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2342
2342
|
position: z.value.style.chart.tooltip.position,
|
|
2343
2343
|
offsetX: z.value.style.chart.tooltip.offsetX,
|
|
2344
2344
|
offsetY: z.value.style.chart.tooltip.offsetY,
|
|
2345
|
-
parent:
|
|
2345
|
+
parent: I.value,
|
|
2346
2346
|
content: mi.value,
|
|
2347
|
-
isFullscreen:
|
|
2347
|
+
isFullscreen: sn.value,
|
|
2348
2348
|
isCustom: z.value.style.chart.tooltip.customFormat && typeof z.value.style.chart.tooltip.customFormat == "function",
|
|
2349
2349
|
smooth: z.value.style.chart.tooltip.smooth,
|
|
2350
2350
|
backdropFilter: z.value.style.chart.tooltip.backdropFilter,
|
|
@@ -2384,12 +2384,12 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2384
2384
|
t.$slots.source ? (D(), C("div", {
|
|
2385
2385
|
key: 9,
|
|
2386
2386
|
ref_key: "source",
|
|
2387
|
-
ref:
|
|
2387
|
+
ref: on,
|
|
2388
2388
|
dir: "auto"
|
|
2389
2389
|
}, [A(t.$slots, "source", {}, void 0, !0)], 512)) : S("", !0),
|
|
2390
2390
|
A(t.$slots, "skeleton", {}, () => [M(zn) ? (D(), x(ve, { key: 0 })) : S("", !0)], !0)
|
|
2391
2391
|
], 46, tt));
|
|
2392
2392
|
}
|
|
2393
|
-
}, [["__scopeId", "data-v-
|
|
2393
|
+
}, [["__scopeId", "data-v-2f0f9812"]]);
|
|
2394
2394
|
//#endregion
|
|
2395
2395
|
export { et as n, Bt as t };
|