vue-data-ui 3.9.19 → 3.9.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseDraggableDialog-BFDTrOH0.js → BaseDraggableDialog-LQz9Nmbj.js} +1 -1
- package/dist/{BaseIcon-BrCxEtJt.js → BaseIcon-rQpZbUMg.js} +59 -34
- package/dist/{BaseZoomControls-BQ2emGam.js → BaseZoomControls-8e6l8HWf.js} +1 -1
- package/dist/{ColorPicker-BYn8PF2Z.js → ColorPicker-C-M_3O5E.js} +1 -1
- package/dist/{DataTable-BfEbVwm4.js → DataTable-CRLvcC19.js} +1 -1
- package/dist/{NonSvgPenAndPaper-dUUA975O.js → NonSvgPenAndPaper-DHu-zNDR.js} +2 -2
- package/dist/{PackageVersion-By5ZZJ0U.js → PackageVersion-BiGAIrqC.js} +1 -1
- package/dist/{PenAndPaper--ADXtx65.js → PenAndPaper-D6dHXPfu.js} +2 -2
- package/dist/{Slicer-DMWpR3hr.js → Slicer-iEpMHxAy.js} +1 -1
- package/dist/{SlicerPreview-BF9QuD7E.js → SlicerPreview-Dfih1r3H.js} +1 -1
- package/dist/{Title-D0nD-PMs.js → Title-B7pkWzTi.js} +1 -1
- package/dist/Tooltip-DpfUZbt7.js +272 -0
- package/dist/{UserOptions-Cy-iNhZU.js → UserOptions-BlWCqtbi.js} +1 -1
- 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-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-icon.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 +25 -0
- package/dist/{useNestedProp-DaR1dBmj.js → useNestedProp-gqRzbKJy.js} +4 -1
- package/dist/{vue-data-ui-zfOGDrsy.js → vue-data-ui-C0zyzSI7.js} +67 -67
- package/dist/vue-data-ui.js +70 -70
- package/dist/{vue-ui-3d-bar-nXiSkl4R.js → vue-ui-3d-bar-DlUrsPdB.js} +3 -3
- package/dist/{vue-ui-accordion-DNRtKVZI.js → vue-ui-accordion-Cy3d_0_S.js} +2 -2
- package/dist/{vue-ui-age-pyramid-CaorE7sG.js → vue-ui-age-pyramid-CW2CmApD.js} +6 -5
- package/dist/{vue-ui-annotator-_fLzC18u.js → vue-ui-annotator-DgDMYDKr.js} +4 -4
- package/dist/{vue-ui-bullet-BqTU385w.js → vue-ui-bullet-Dfz8VKqe.js} +3 -3
- package/dist/{vue-ui-candlestick-DUQA8C7N.js → vue-ui-candlestick-xyQGCkr8.js} +89 -88
- package/dist/{vue-ui-carousel-table-DML9r769.js → vue-ui-carousel-table-eqx_-juF.js} +2 -2
- package/dist/{vue-ui-chestnut-lrvwK3sr.js → vue-ui-chestnut-DQM73VJP.js} +2 -2
- package/dist/{vue-ui-chord-C6tMQhyt.js → vue-ui-chord-ij0fy_Vk.js} +3 -3
- package/dist/{vue-ui-circle-pack-CD_RbedP.js → vue-ui-circle-pack-iL6dfKsl.js} +37 -36
- package/dist/{vue-ui-cursor-BbenSTLn.js → vue-ui-cursor-BwtAgyzA.js} +2 -2
- package/dist/{vue-ui-dag-BTSH-AAF.js → vue-ui-dag-DyVpGUMm.js} +4 -4
- package/dist/{vue-ui-dashboard-CRH0nCEI.js → vue-ui-dashboard-Dp8tt7UQ.js} +66 -66
- package/dist/{vue-ui-digits-DXXegZ9T.js → vue-ui-digits-bUDar5q1.js} +1 -1
- package/dist/{vue-ui-donut-BhcFj-OA.js → vue-ui-donut-XhYkW3YB.js} +6 -5
- package/dist/{vue-ui-donut-evolution-CPYvsQDZ.js → vue-ui-donut-evolution-BtSDnqw5.js} +4 -4
- package/dist/{vue-ui-dumbbell-CuOkKbif.js → vue-ui-dumbbell-Dk9GEs9q.js} +3 -3
- package/dist/{vue-ui-flow-Cx1_sP-g.js → vue-ui-flow-Dmadpe5T.js} +6 -5
- package/dist/{vue-ui-funnel-QzmhEBuw.js → vue-ui-funnel-BGZmzIxy.js} +3 -3
- package/dist/{vue-ui-galaxy-r_VxJL-4.js → vue-ui-galaxy-btCfKlLt.js} +36 -35
- package/dist/{vue-ui-gauge-DiTbeHVA.js → vue-ui-gauge-CIq10clu.js} +3 -3
- package/dist/{vue-ui-geo-BmzhC-ya.js → vue-ui-geo-C72smrB2.js} +7 -6
- package/dist/{vue-ui-gizmo-BsUEwsBG.js → vue-ui-gizmo-BCy3dErL.js} +2 -2
- package/dist/{vue-ui-heatmap-CqSh6TWR.js → vue-ui-heatmap-DX1asUT7.js} +46 -45
- package/dist/{vue-ui-history-plot-DhwdZ0Th.js → vue-ui-history-plot-DFtOy7CE.js} +40 -39
- package/dist/{vue-ui-horizontal-bar-DGKL132E.js → vue-ui-horizontal-bar-BpN0u8hd.js} +80 -79
- package/dist/{vue-ui-kpi-Ct5HZzxS.js → vue-ui-kpi-CnmyYRvK.js} +2 -2
- package/dist/{vue-ui-mini-loader-DdzurIs7.js → vue-ui-mini-loader-DVEVYQd5.js} +1 -1
- package/dist/{vue-ui-molecule-BWcZ0BUf.js → vue-ui-molecule-CETOdJ0z.js} +30 -29
- package/dist/{vue-ui-mood-radar-BIUKJ5NK.js → vue-ui-mood-radar-BOq7hUtX.js} +3 -3
- package/dist/{vue-ui-nested-donuts-5qpHwRLA.js → vue-ui-nested-donuts-C6Popcf-.js} +6 -5
- package/dist/{vue-ui-onion-PUQM7BbQ.js → vue-ui-onion-BHIySmN4.js} +6 -5
- package/dist/{vue-ui-parallel-coordinate-plot-DGIMK3-E.js → vue-ui-parallel-coordinate-plot-BAAEnWGD.js} +6 -5
- package/dist/{vue-ui-quadrant-vlnDHF5h.js → vue-ui-quadrant-JvGjWc7P.js} +6 -5
- package/dist/{vue-ui-quick-chart-BHEAUXLc.js → vue-ui-quick-chart-Nffw66GY.js} +6 -5
- package/dist/{vue-ui-radar-BmuyOPnz.js → vue-ui-radar-CdjuAdeB.js} +6 -5
- package/dist/{vue-ui-rating-CDkXzEGU.js → vue-ui-rating-CTN4-Xx3.js} +1 -1
- package/dist/{vue-ui-relation-circle-B9oe4iNu.js → vue-ui-relation-circle-Cb3uKDYx.js} +3 -3
- package/dist/{vue-ui-ridgeline-C7M6j-UK.js → vue-ui-ridgeline-Dgr0nyh1.js} +3 -3
- package/dist/{vue-ui-rings-DQ_clr4X.js → vue-ui-rings-Ctkw20nS.js} +6 -5
- package/dist/{vue-ui-scatter-JrhHtvmt.js → vue-ui-scatter-BpeJpMqR.js} +6 -5
- package/dist/{vue-ui-skeleton-B-Xjf23P.js → vue-ui-skeleton-C8-nUbeq.js} +2 -2
- package/dist/{vue-ui-smiley-BckMTu5I.js → vue-ui-smiley-CxVaJpm8.js} +1 -1
- package/dist/{vue-ui-spark-trend-CdVffvYK.js → vue-ui-spark-trend-BRayrIQ5.js} +2 -2
- package/dist/{vue-ui-sparkbar-Cc54OO-G.js → vue-ui-sparkbar-D5UO6Yae.js} +2 -2
- package/dist/{vue-ui-sparkgauge-CmjkXvRF.js → vue-ui-sparkgauge-DMvYS_KK.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DAcxFd2j.js → vue-ui-sparkhistogram-CNwDggdT.js} +2 -2
- package/dist/{vue-ui-sparkline-BoXHVulh.js → vue-ui-sparkline-Dh6mAGol.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-oZPlMIio.js → vue-ui-sparkstackbar-CFhUgaiz.js} +24 -23
- package/dist/{vue-ui-stackbar-B4gbEKCS.js → vue-ui-stackbar-g5Sq_ZTb.js} +7 -6
- package/dist/{vue-ui-stackline-B6jTG-zS.js → vue-ui-stackline-CKwIVvUs.js} +7 -6
- package/dist/{vue-ui-strip-plot-CUENJge4.js → vue-ui-strip-plot-CvCBxxNn.js} +27 -26
- package/dist/{vue-ui-table-BpBi54KF.js → vue-ui-table-DswHIBiJ.js} +4 -4
- package/dist/{vue-ui-table-heatmap-CG-w53Bu.js → vue-ui-table-heatmap-Crgh4Fiz.js} +2 -2
- package/dist/{vue-ui-table-sparkline-CLbkFzSK.js → vue-ui-table-sparkline-BJGYRzNL.js} +2 -2
- package/dist/{vue-ui-thermometer-CJ63agpn.js → vue-ui-thermometer-46TB3agk.js} +3 -3
- package/dist/{vue-ui-timer-CrYgTXLa.js → vue-ui-timer-CgEPlDmY.js} +4 -4
- package/dist/{vue-ui-tiremarks-CJMVuTzb.js → vue-ui-tiremarks-DZHVry9u.js} +3 -3
- package/dist/{vue-ui-treemap-Bk5CSaWm.js → vue-ui-treemap-3_8JQzd0.js} +7 -6
- package/dist/{vue-ui-waffle-CwYUPidK.js → vue-ui-waffle-Ck_wiBzc.js} +90 -89
- package/dist/{vue-ui-wheel-CK5obtTV.js → vue-ui-wheel-4ZZLizdv.js} +3 -3
- package/dist/{vue-ui-word-cloud-x2Y6KCQB.js → vue-ui-word-cloud-BPA2fseE.js} +137 -136
- package/dist/{vue-ui-world-DNLYVCse.js → vue-ui-world-K4hMlU7V.js} +27 -26
- package/dist/{vue-ui-xy-bviQN7-m.js → vue-ui-xy-cHQ3KQCE.js} +8 -7
- package/dist/{vue-ui-xy-canvas-q7SUETRs.js → vue-ui-xy-canvas-Qeg6DtP0.js} +52 -51
- package/package.json +1 -1
- package/dist/Tooltip-D0pGX8qz.js +0 -205
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as Xe, useSlots as er, getCurrentInstance as lr, ref as x, computed as b, onMounted as Zl, toRefs as ar, watch as Ll, watchEffect as Lt, onBeforeUnmount as ka, nextTick as Mt, createElementBlock as n, openBlock as u, normalizeStyle as C, normalizeClass as ll, createBlock as Te, createCommentVNode as h, createElementVNode as p, createVNode as vl, unref as v, withCtx as G, renderSlot as P, normalizeProps as ke, guardReactiveProps as _e, createSlots as Tt, Fragment as d, renderList as w, mergeProps as al, toDisplayString as ae, Teleport as tr, resolveDynamicComponent as or, withDirectives as rr, vModelCheckbox as sr, createTextVNode as zt } from "vue";
|
|
2
2
|
import { c as _a, g as wa, t as ir, k as ur, N as Ml, O as tl, m as It, j as Sa, P as Jl, Q as Y, R as Ca, S as nr, T as cr, U as N, z as Ft, A as Ot, B as Bt, C as Nt, V as vr, W as Vt, Y as Dt, a as re, Z as dr, y as Pt, _ as hr, b as Et, e as Ne, d as Ve, h as ol, s as ze, G as fr, x as Ge, H as Ql, n as Ce, $ as gr, a0 as Ue, a1 as fe, i as mr, o as Rt, v as br, r as xr, a2 as dl } from "./lib-2iaAPQ_c.js";
|
|
3
3
|
import { t as pr } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as yr, a as Tl } from "./useNestedProp-
|
|
4
|
+
import { u as yr, a as Tl } from "./useNestedProp-gqRzbKJy.js";
|
|
5
5
|
import { u as kr } from "./usePrinter-ChVMpU2f.js";
|
|
6
6
|
import { u as _r, B as wr } from "./BaseScanner-BMpwQAfz.js";
|
|
7
7
|
import { u as Ht, a as Sr, l as Cr } from "./useTimeLabels-DKoynYae.js";
|
|
@@ -9,10 +9,10 @@ import { u as $r } from "./useSvgExport-ByUukOZt.js";
|
|
|
9
9
|
import { u as Ar } from "./useThemeCheck-DGJ31Vi5.js";
|
|
10
10
|
import { u as Lr } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
11
|
import Mr from "./img-CqYIrJ8I.js";
|
|
12
|
-
import Tr from "./Title-
|
|
12
|
+
import Tr from "./Title-B7pkWzTi.js";
|
|
13
13
|
import { _ as Kl } from "./Shape-12_eh8zD.js";
|
|
14
|
-
import { S as zr } from "./SlicerPreview-
|
|
15
|
-
import Ir from "./vue-ui-accordion-
|
|
14
|
+
import { S as zr } from "./SlicerPreview-Dfih1r3H.js";
|
|
15
|
+
import Ir from "./vue-ui-accordion-Cy3d_0_S.js";
|
|
16
16
|
import { _ as Fr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, bar: { border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { labels: { color: "#CCCCCC" } }, plot: { labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Wt = { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#424242", indicatorColor: "#FF8A65" } }, highlighter: { color: "#424242" }, timeTag: { backgroundColor: "#424242", color: "#FFF8E1", circleMarker: { color: "#424242" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#424242", xAxisLabels: { color: "#424242" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#FFF8E1" }, labels: { color: "#424242" }, serieName: { color: "#424242" } }, line: { labels: { color: "#424242" } }, plot: { labels: { color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Xt = { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#FF6B6B", indicatorColor: "#FF8A65" } }, highlighter: { color: "#FFF8E1" }, timeTag: { backgroundColor: "#5D4037", color: "#FFF8E1", circleMarker: { color: "#5D4037" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#BDBDBD", xAxisLabels: { color: "#BDBDBD" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#1E1E1E" }, labels: { color: "#BDBDBD" }, serieName: { color: "#BDBDBD" } }, line: { labels: { color: "#BDBDBD" } }, plot: { labels: { color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Gt = { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, timeTag: { backgroundColor: "#1A1A1A", color: "#66CC66", circleMarker: { color: "#66CC66" } }, grid: { stroke: "#5F6A5F", showVerticalLines: !1, labels: { color: "#99AA99", xAxisLabels: { color: "#99AA99" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, bar: { borderRadius: 0, border: { stroke: "#66CC66" }, labels: { color: "#AACCAA" }, serieName: { color: "#99CC99" } }, line: { labels: { color: "#AACCAA" } }, plot: { labels: { color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ut = { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, timeTag: { backgroundColor: "#fbfafa", color: "#8A9892", circleMarker: { color: "#8A9892" } }, grid: { stroke: "transparent", labels: { show: !1, color: "#99AA99", xAxisLabels: { show: !1, color: "#99AA99" }, zeroLine: { show: !1 }, yAxis: { showBaseline: !1 } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, bar: { borderRadius: 4, border: { stroke: "#D7E0D2" }, labels: { color: "#8F837A" }, serieName: { color: "#858480" } }, line: { labels: { color: "#8F837A" } }, plot: { labels: { color: "#8F837A" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, qt = { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, timeTag: { backgroundColor: "#f6f6fb", color: "#50606C", circleMarker: { color: "#50606C" } }, grid: { stroke: "#829C98", showVerticalLines: !0, showHorizontalLines: !0, labels: { color: "#50606C", xAxisLabels: { color: "#50606C" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, bar: { borderRadius: 2, border: { stroke: "#404C4D" }, labels: { color: "#50606C" }, serieName: { color: "#61747E" } }, line: { labels: { color: "#50606C" } }, plot: { labels: { color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Zt = {
|
|
18
18
|
default: {},
|
|
@@ -97,7 +97,7 @@ const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { colo
|
|
|
97
97
|
},
|
|
98
98
|
emits: ["selectTimeLabel", "selectX", "selectLegend"],
|
|
99
99
|
setup(jl, { expose: Jt, emit: Qt }) {
|
|
100
|
-
const g = jl, Kt = Xe(() => import("./DataTable-
|
|
100
|
+
const g = jl, Kt = Xe(() => import("./DataTable-CRLvcC19.js")), jt = Xe(() => import("./Tooltip-DpfUZbt7.js")), eo = Xe(() => import("./UserOptions-BlWCqtbi.js")), $a = Xe(() => import("./BaseIcon-rQpZbUMg.js")), lo = Xe(() => import("./vue-ui-table-sparkline-BJGYRzNL.js").then((a) => a.b)), ao = Xe(() => import("./PackageVersion-BiGAIrqC.js")), to = Xe(() => import("./PenAndPaper-D6dHXPfu.js")), oo = Xe(() => import("./BaseDraggableDialog-LQz9Nmbj.js")), ea = Qt, Aa = er(), ro = lr(), { vue_ui_xy: hl } = yr(), { isThemeValid: so, warnInvalidTheme: io } = Ar(), Ie = x(null), fl = x(null), Fe = x(null), rl = x(null), gl = x(null), ml = x(null), uo = x(null), la = x(null), aa = x(null), sl = x(null), ta = x(null), oa = x(null), Ee = x(null), ra = x(null), no = x(0), I = x(null), La = x(!0), ve = x(600), ee = x(1e3), zl = x("0 0 1000 600"), co = x({ x: 0, y: 0 }), bl = x({ line: "line", bar: "bar", plot: "plot" }), xl = x(!1), qe = x(!1), Ma = x(!1), Ze = x(null), J = x([]), H = x(_a()), Ta = x(0), za = x(0), Ia = x(0), pl = x(!0), sa = x(0), B = x(null), Fa = x(!1), ia = x(!0), Il = x(!0), se = x(null), De = x({}), Fl = x(null), Oa = x(!1), il = x(null), _ = x(null), vo = b(() => ({
|
|
101
101
|
height: ve.value,
|
|
102
102
|
width: ee.value
|
|
103
103
|
}));
|
|
@@ -3332,6 +3332,7 @@ const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { colo
|
|
|
3332
3332
|
P(a.$slots, "source", {}, void 0, !0)
|
|
3333
3333
|
], 512)) : h("", !0),
|
|
3334
3334
|
vl(v(jt), {
|
|
3335
|
+
teleportTo: l.value.chart.tooltip.teleportTo,
|
|
3335
3336
|
show: f.value.showTooltip && Ma.value,
|
|
3336
3337
|
backgroundColor: l.value.chart.tooltip.backgroundColor,
|
|
3337
3338
|
color: l.value.chart.tooltip.color,
|
|
@@ -3358,7 +3359,7 @@ const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { colo
|
|
|
3358
3359
|
P(a.$slots, "tooltip-after", ke(_e({ ...ht.value })), void 0, !0)
|
|
3359
3360
|
]),
|
|
3360
3361
|
_: 3
|
|
3361
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
3362
|
+
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
3362
3363
|
ca.value && l.value.chart.userOptions.buttons.table ? (u(), Te(or(Cl.value.component), al({ key: 8 }, Cl.value.props, {
|
|
3363
3364
|
ref_key: "tableUnit",
|
|
3364
3365
|
ref: il,
|
|
@@ -3444,7 +3445,7 @@ const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { colo
|
|
|
3444
3445
|
v(ie) ? (u(), Te(wr, { key: 9 })) : h("", !0)
|
|
3445
3446
|
], 46, Or));
|
|
3446
3447
|
}
|
|
3447
|
-
}, nu = /* @__PURE__ */ Fr(uu, [["__scopeId", "data-v-
|
|
3448
|
+
}, nu = /* @__PURE__ */ Fr(uu, [["__scopeId", "data-v-2a5d889f"]]), Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3448
3449
|
__proto__: null,
|
|
3449
3450
|
default: nu
|
|
3450
3451
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineAsyncComponent as pe, ref as d, computed as p, useSlots as Na, onMounted as
|
|
1
|
+
import { defineAsyncComponent as pe, ref as d, computed as p, useSlots as Na, onMounted as Tl, toRefs as _a, watch as R, nextTick as be, onBeforeUnmount as $l, shallowRef as je, createElementBlock as $e, openBlock as I, normalizeClass as Ha, normalizeStyle as xe, createCommentVNode as V, createElementVNode as J, createBlock as W, unref as C, createSlots as Il, withCtx as b, renderSlot as S, normalizeProps as Q, guardReactiveProps as ee, createVNode as El, Teleport as Xa, toDisplayString as qe, resolveDynamicComponent as Ua, mergeProps as Va, createTextVNode as Rl } from "vue";
|
|
2
2
|
import { c as Wa, t as Ya, i as ja, j as le, a1 as Ce, k as qa, N as Ge, a as se, d as ue, m as Ol, R as Ga, a7 as Za, T as Ja, o as Ka, g as Qa, y as Pl, s as Le, q as et, v as lt, r as at, _ as tt } from "./lib-2iaAPQ_c.js";
|
|
3
3
|
import { c as ot, a as Ze, d as rt, t as st, u as ut, l as k, r as Ie, b as Y, p as Bl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as nt, a as Ee } from "./useNestedProp-
|
|
4
|
+
import { u as nt, a as Ee } from "./useNestedProp-gqRzbKJy.js";
|
|
5
5
|
import { u as it, B as ct } from "./BaseScanner-BMpwQAfz.js";
|
|
6
6
|
import { u as vt } from "./usePrinter-ChVMpU2f.js";
|
|
7
7
|
import { u as dt, a as ht, l as ft } from "./useTimeLabels-DKoynYae.js";
|
|
@@ -10,10 +10,10 @@ import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
|
10
10
|
import { u as gt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import pt from "./img-CqYIrJ8I.js";
|
|
12
12
|
import bt from "./Legend-D2xmnFPH.js";
|
|
13
|
-
import xt from "./Title-
|
|
14
|
-
import Ct from "./BaseIcon-
|
|
15
|
-
import Lt from "./vue-ui-accordion-
|
|
16
|
-
import { S as kt } from "./SlicerPreview-
|
|
13
|
+
import xt from "./Title-B7pkWzTi.js";
|
|
14
|
+
import Ct from "./BaseIcon-rQpZbUMg.js";
|
|
15
|
+
import Lt from "./vue-ui-accordion-Cy3d_0_S.js";
|
|
16
|
+
import { S as kt } from "./SlicerPreview-Dfih1r3H.js";
|
|
17
17
|
import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, selector: { color: "#CCCCCC" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, grid: { y: { axisColor: "#5A5A5A", axisLabels: { color: "#CCCCCC" }, verticalLines: { color: "#4A4A4A" } }, x: { axisColor: "#5A5A5A", horizontalLines: { color: "#4A4A4A" }, timeLabels: { color: "#CCCCCC" } }, zeroLine: { color: "#5A5A5A" } }, dataLabels: { color: "#CCCCCC" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, _l = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#5D4037" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#424242" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#9A9A9A" }, timeLabels: { color: "#424242" } }, zeroLine: { color: "#424242" } }, dataLabels: { color: "#424242" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Hl = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#BDBDBD" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#BDBDBD" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#BDBDBD" } }, zeroLine: { color: "#5D4037" } }, dataLabels: { color: "#BDBDBD" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Xl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, selector: { color: "#66CC66" }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66", borderRadius: 0 }, grid: { y: { axisColor: "#5F6A5F", axisLabels: { color: "#99AA99" }, verticalLines: { show: !1 } }, x: { axisColor: "#5F6A5F", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#99AA99" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#99AA99" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ul = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, selector: { color: "#8F837A" }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, grid: { y: { axisColor: "#8F837A", axisLabels: { color: "#8F837A" }, verticalLines: { show: !1 } }, x: { axisColor: "#8F837A", horizontalLines: { show: !1, alternate: !1 }, timeLabels: { color: "#8F837A" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#8F837A" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Vl = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, selector: { color: "#7DA9B5" }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, grid: { y: { axisColor: "#829C98", axisLabels: { color: "#50606C" }, verticalLines: { show: !1 } }, x: { axisColor: "#829C98", timeLabels: { color: "#50606C" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Wl = {
|
|
19
19
|
default: {},
|
|
@@ -35,7 +35,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
35
35
|
}, Symbol.toStringTag, { value: "Module" })), wt = ["id"], zt = ["id"], St = ["id"], Ft = ["onClick"], Dt = {
|
|
36
36
|
key: 4,
|
|
37
37
|
class: "vue-data-ui-watermark"
|
|
38
|
-
}, Mt = ["innerHTML"],
|
|
38
|
+
}, Mt = ["innerHTML"], Tt = {
|
|
39
39
|
__name: "vue-ui-xy-canvas",
|
|
40
40
|
props: {
|
|
41
41
|
dataset: {
|
|
@@ -57,8 +57,8 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
57
57
|
},
|
|
58
58
|
emits: ["selectLegend", "selectX"],
|
|
59
59
|
setup(Je, { expose: Yl, emit: jl }) {
|
|
60
|
-
const ql = pe(() => import("./Tooltip-
|
|
61
|
-
|
|
60
|
+
const ql = pe(() => import("./Tooltip-DpfUZbt7.js")), Gl = pe(() => import("./DataTable-CRLvcC19.js")), Zl = pe(() => import("./UserOptions-BlWCqtbi.js")), Jl = pe(() => import("./NonSvgPenAndPaper-DHu-zNDR.js")), Kl = pe(() => import("./BaseDraggableDialog-LQz9Nmbj.js")), { vue_ui_xy_canvas: Ql } = nt(), { isThemeValid: ea, warnInvalidTheme: la } = yt(), g = Je, K = d(Wa()), _ = d(null), ae = d(null), c = d(null), m = d(1), j = d(1), ne = d(!1), h = d(null), ke = d(""), Ke = d(null), F = d([]), te = d(1), O = d(!0), H = d(!0), Ae = d(null), Qe = d(0), ie = d(!1), el = d(null), ll = d(null), q = d(null), al = d(null), Re = d(0), Oe = d(0), Pe = d(0), P = d(null), tl = d(!1), ce = d(null), Be = d(null), ve = d(!1), ol = d(!1), we = d(!1), A = d(null), X = p(() => Array.isArray(He.value) && He.value.length > 0), Ne = jl, aa = Na();
|
|
61
|
+
Tl(() => {
|
|
62
62
|
aa["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
63
63
|
});
|
|
64
64
|
const l = d(Ue()), ta = p(() => !!l.value.debug), { loading: _e, FINAL_DATASET: He } = it({
|
|
@@ -174,7 +174,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
174
174
|
function dl(e) {
|
|
175
175
|
ie.value = e, Qe.value += 1;
|
|
176
176
|
}
|
|
177
|
-
const hl = p(() => qa(l.value.customPalette)), E = p(() =>
|
|
177
|
+
const hl = p(() => qa(l.value.customPalette)), E = p(() => $.value ? Math.max(...$.value.filter((e, a) => !F.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
|
|
178
178
|
function sa(e) {
|
|
179
179
|
A.value = e, G();
|
|
180
180
|
}
|
|
@@ -196,20 +196,20 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
196
196
|
return e / a;
|
|
197
197
|
}
|
|
198
198
|
function ua({ hasAutoScale: e, series: a, min: t, max: s, scale: u, yOffset: i, individualHeight: n, stackIndex: f = null }) {
|
|
199
|
-
return a.map((x,
|
|
199
|
+
return a.map((x, T) => {
|
|
200
200
|
const L = u.min < 0 ? Math.abs(u.min) : 0, N = fl(x + L, L + u.max);
|
|
201
201
|
let me, ge;
|
|
202
202
|
e && (me = u.min, ge = fl(x - me, u.max - me));
|
|
203
203
|
let U = 0;
|
|
204
204
|
return f === null ? U = o.value.bottom - o.value.height * (e ? ge : N) : U = o.value.bottom - i - n * (e ? ge : N), {
|
|
205
|
-
x: o.value.left + o.value.slot *
|
|
205
|
+
x: o.value.left + o.value.slot * T + o.value.slot / 2,
|
|
206
206
|
y: U,
|
|
207
207
|
value: x
|
|
208
208
|
};
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
const z = p(() => {
|
|
212
|
-
const e = l.value.style.chart.scale.min !== null ? l.value.style.chart.scale.min : Math.min(
|
|
212
|
+
const e = l.value.style.chart.scale.min !== null ? l.value.style.chart.scale.min : Math.min(...$.value.filter((n, f) => !F.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), a = l.value.style.chart.scale.max !== null ? l.value.style.chart.scale.max : Math.max(...$.value.filter((n, f) => !F.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), t = Ge(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, l.value.style.chart.scale.ticks), s = t.min < 0 ? Math.abs(t.min) : 0, u = o.value.bottom - o.value.height * (s / (t.max + s)), i = t.ticks.map((n) => ({
|
|
213
213
|
y: o.value.bottom - o.value.height * ((n + s) / (t.max + s)),
|
|
214
214
|
x: o.value.left - 8,
|
|
215
215
|
value: n
|
|
@@ -240,7 +240,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
240
240
|
{ datapoint: e, seriesIndex: h.value }
|
|
241
241
|
)}</span>
|
|
242
242
|
</div>
|
|
243
|
-
`)), ze = p(() => l.value.style.chart.line.cutNullValues),
|
|
243
|
+
`)), ze = p(() => l.value.style.chart.line.cutNullValues), $ = p(() => He.value.map((e, a) => ({
|
|
244
244
|
...e,
|
|
245
245
|
series: Ga({
|
|
246
246
|
data: Za(e.series, [], ze.value),
|
|
@@ -250,19 +250,19 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
250
250
|
color: Ol(e.color || hl.value[a] || le[a] || le[a % le.length])
|
|
251
251
|
}))), ia = p(() => {
|
|
252
252
|
if (!l.value.style.chart.zoom.minimap.show) return [];
|
|
253
|
-
const e =
|
|
253
|
+
const e = $.value.filter((u) => !F.value.includes(u.absoluteIndex)), a = Math.max(...e.map((u) => u.series.length)), t = [];
|
|
254
254
|
for (let u = 0; u < a; u += 1)
|
|
255
255
|
t.push(e.map((i) => i.series[u] || 0).reduce((i, n) => (i || 0) + (n || 0), 0));
|
|
256
256
|
const s = Math.min(...t);
|
|
257
257
|
return t.map((u) => u + (s < 0 ? Math.abs(s) : 0));
|
|
258
|
-
}), ca = p(() => l.value.style.chart.zoom.minimap.show ?
|
|
258
|
+
}), ca = p(() => l.value.style.chart.zoom.minimap.show ? $.value.map((a) => ({
|
|
259
259
|
...a,
|
|
260
260
|
isVisible: !F.value.includes(a.absoluteIndex)
|
|
261
261
|
})) : []);
|
|
262
262
|
R(E, (e) => {
|
|
263
263
|
e && he();
|
|
264
264
|
});
|
|
265
|
-
const y = p(() => Ja(
|
|
265
|
+
const y = p(() => Ja($.value.filter((e, a) => !F.value.includes(e.absoluteIndex))).map((e, a) => ({
|
|
266
266
|
...e,
|
|
267
267
|
series: e.series.slice(r.value.start, r.value.end)
|
|
268
268
|
})).map((e, a) => {
|
|
@@ -274,11 +274,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
274
274
|
}, i = e.scaleSteps || l.value.style.chart.scale.ticks;
|
|
275
275
|
let n;
|
|
276
276
|
e.autoScaling ? n = Ge(u.valueMin, u.valueMax, i) : n = Ge(u.valueMin < 0 ? u.valueMin : 0, u.valueMax <= 0 ? 0 : u.valueMax, i);
|
|
277
|
-
const f = v.value.stacked ? o.value.height * (1 - e.cumulatedStackRatio) : 0, x = v.value.stacked ? o.value.height / l.value.style.chart.stackGap : 0,
|
|
277
|
+
const f = v.value.stacked ? o.value.height * (1 - e.cumulatedStackRatio) : 0, x = v.value.stacked ? o.value.height / l.value.style.chart.stackGap : 0, T = v.value.stacked ? o.value.height * e.stackRatio - x : o.value.height, L = n.min < 0 ? Math.abs(n.min) : 0;
|
|
278
278
|
let N;
|
|
279
|
-
e.autoScaling && v.value.stacked && s <= 0 ? N = o.value.bottom - f -
|
|
279
|
+
e.autoScaling && v.value.stacked && s <= 0 ? N = o.value.bottom - f - T : N = o.value.bottom - f - T * (L / (n.max + L));
|
|
280
280
|
const me = n.ticks.map((U, Ba) => ({
|
|
281
|
-
y: o.value.bottom - f -
|
|
281
|
+
y: o.value.bottom - f - T * (Ba / (n.ticks.length - 1)),
|
|
282
282
|
x: o.value.left - 8,
|
|
283
283
|
value: U
|
|
284
284
|
})), ge = ua({
|
|
@@ -288,7 +288,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
288
288
|
max: v.value.stacked ? s : z.value.max,
|
|
289
289
|
scale: v.value.stacked ? n : z.value.scale,
|
|
290
290
|
yOffset: f,
|
|
291
|
-
individualHeight:
|
|
291
|
+
individualHeight: T,
|
|
292
292
|
stackIndex: v.value.stacked ? a : null
|
|
293
293
|
});
|
|
294
294
|
return {
|
|
@@ -301,7 +301,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
301
301
|
localMin: L,
|
|
302
302
|
localYLabels: me,
|
|
303
303
|
yOffset: f,
|
|
304
|
-
individualHeight:
|
|
304
|
+
individualHeight: T
|
|
305
305
|
};
|
|
306
306
|
})), r = d({
|
|
307
307
|
start: 0,
|
|
@@ -312,7 +312,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
312
312
|
() => requestAnimationFrame(() => e())
|
|
313
313
|
));
|
|
314
314
|
}
|
|
315
|
-
|
|
315
|
+
$l(() => {
|
|
316
316
|
de.value && cancelAnimationFrame(de.value);
|
|
317
317
|
});
|
|
318
318
|
async function he() {
|
|
@@ -328,7 +328,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
328
328
|
if (!ve.value) {
|
|
329
329
|
ve.value = !0;
|
|
330
330
|
try {
|
|
331
|
-
const { startIndex: e, endIndex: a } = l.value.style.chart.zoom, t = Math.max(
|
|
331
|
+
const { startIndex: e, endIndex: a } = l.value.style.chart.zoom, t = Math.max(...$.value.map((i) => i.series.length)), s = e ?? 0, u = a != null ? Math.min(gl(a + 1), t) : t;
|
|
332
332
|
we.value = !0, r.value.start = s, r.value.end = u, D.value.start = s, D.value.end = u, Ve(), ol.value = !0, await be(), q.value && (q.value.setStartValue(r.value.start), q.value.setEndValue(r.value.end));
|
|
333
333
|
} finally {
|
|
334
334
|
queueMicrotask(() => {
|
|
@@ -352,7 +352,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
352
352
|
function Ve() {
|
|
353
353
|
const e = Math.max(
|
|
354
354
|
1,
|
|
355
|
-
Math.max(
|
|
355
|
+
Math.max(...$.value.map((s) => s.series.length))
|
|
356
356
|
);
|
|
357
357
|
let a = Math.max(0, Math.min(r.value.start ?? 0, e - 1)), t = Math.max(a + 1, Math.min(r.value.end ?? e, e));
|
|
358
358
|
(!Number.isFinite(a) || !Number.isFinite(t) || t <= a) && (a = 0, t = e), r.value = { start: a, end: t }, D.value.start = a, D.value.end = t, q.value && (q.value.setStartValue(a), q.value.setEndValue(t));
|
|
@@ -850,11 +850,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
850
850
|
i.push(f);
|
|
851
851
|
else {
|
|
852
852
|
if (i.length >= 2) {
|
|
853
|
-
const x = i[0],
|
|
853
|
+
const x = i[0], T = i[i.length - 1];
|
|
854
854
|
s.push([
|
|
855
855
|
{ x: x.x, y: a },
|
|
856
856
|
...i,
|
|
857
|
-
{ x:
|
|
857
|
+
{ x: T.x, y: a }
|
|
858
858
|
]);
|
|
859
859
|
} else i.length === 1 && u.push(i[0]);
|
|
860
860
|
i = [];
|
|
@@ -950,7 +950,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
952
|
function Da() {
|
|
953
|
-
const { left: e, top: a, width: t, height: s } = o.value, u = r.value.start, n = r.value.end - u, f = t / n, x = D.value.start - u,
|
|
953
|
+
const { left: e, top: a, width: t, height: s } = o.value, u = r.value.start, n = r.value.end - u, f = t / n, x = D.value.start - u, T = D.value.end - u, L = Math.max(0, Math.min(n, x)), N = Math.max(0, Math.min(n, T));
|
|
954
954
|
Ie(
|
|
955
955
|
c.value,
|
|
956
956
|
[
|
|
@@ -1006,9 +1006,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1006
1006
|
name: x.name,
|
|
1007
1007
|
color: x.color,
|
|
1008
1008
|
type: x.type || "line",
|
|
1009
|
-
value: x.series.find((
|
|
1009
|
+
value: x.series.find((T, L) => L === h.value)
|
|
1010
1010
|
}));
|
|
1011
|
-
|
|
1011
|
+
Ta({ seriesIndex: h.value, datapoint: f }), Pl(n) && tt(() => n({
|
|
1012
1012
|
seriesIndex: h.value,
|
|
1013
1013
|
datapoint: f,
|
|
1014
1014
|
series: y.value,
|
|
@@ -1020,7 +1020,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1020
1020
|
config: l.value
|
|
1021
1021
|
}) : (l.value.style.chart.grid.x.timeLabels.values.slice(r.value.start, r.value.end)[h.value] ? i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${l.value.style.chart.tooltip.useDefaultTimeFormat ? B.value.slice(r.value.start, r.value.end)[h.value]?.text : Ca.value[h.value]?.text}</div>` : i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${B.value[h.value + r.value.start]?.text ?? ""}</div>`, i += na.value.join(""), ke.value = i), H.value = !1;
|
|
1022
1022
|
}
|
|
1023
|
-
function
|
|
1023
|
+
function Ta({ seriesIndex: e, datapoint: a }) {
|
|
1024
1024
|
const t = r.value.start + e;
|
|
1025
1025
|
Ne("selectX", {
|
|
1026
1026
|
dataset: a,
|
|
@@ -1050,11 +1050,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1050
1050
|
}), R(() => v.value.stacked, (e) => {
|
|
1051
1051
|
O.value = !0, H.value = !0, Fe();
|
|
1052
1052
|
});
|
|
1053
|
-
function
|
|
1053
|
+
function $a() {
|
|
1054
1054
|
ne.value = !1, h.value = null, ke.value = "", P.value = null, G();
|
|
1055
1055
|
}
|
|
1056
1056
|
const Z = je(null), oe = je(null), re = je(null);
|
|
1057
|
-
|
|
1057
|
+
Tl(() => {
|
|
1058
1058
|
tl.value = !0, Ll();
|
|
1059
1059
|
});
|
|
1060
1060
|
function Ll() {
|
|
@@ -1080,16 +1080,16 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1080
1080
|
a.contentBoxSize && ae.value && (O.value = !0, Fe());
|
|
1081
1081
|
}), re.value.observe(ae.value), he();
|
|
1082
1082
|
}
|
|
1083
|
-
|
|
1083
|
+
$l(() => {
|
|
1084
1084
|
re.value && re.value.disconnect(), Z.value && (oe.value && Z.value.unobserve(oe.value), Z.value.disconnect());
|
|
1085
1085
|
});
|
|
1086
1086
|
function De(e) {
|
|
1087
1087
|
Ne("selectLegend", y.value.find((a) => a.absoluteIndex === e)), F.value.includes(e) ? F.value = F.value.filter((a) => a !== e) : F.value.push(e), O.value = !0, Fe();
|
|
1088
1088
|
}
|
|
1089
1089
|
function kl(e) {
|
|
1090
|
-
if (
|
|
1090
|
+
if (!$.value.length)
|
|
1091
1091
|
return l.value.debug && console.warn("VueUiXyCanvas - There are no series to show."), null;
|
|
1092
|
-
const a =
|
|
1092
|
+
const a = $.value.find((t) => t.name === e);
|
|
1093
1093
|
return a || (l.value.debug && console.warn(`VueUiXyCanvas - Series name not found "${e}"`), null);
|
|
1094
1094
|
}
|
|
1095
1095
|
function Ia(e) {
|
|
@@ -1100,7 +1100,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1100
1100
|
const a = kl(e);
|
|
1101
1101
|
a !== null && (F.value.includes(a.absoluteIndex) || De(a.absoluteIndex));
|
|
1102
1102
|
}
|
|
1103
|
-
const Al = p(() =>
|
|
1103
|
+
const Al = p(() => $.value.map((e, a) => ({
|
|
1104
1104
|
...e,
|
|
1105
1105
|
name: e.name,
|
|
1106
1106
|
color: Ol(e.color) || hl.value[a] || le[a] || le[a % le.length],
|
|
@@ -1175,9 +1175,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1175
1175
|
function Dl() {
|
|
1176
1176
|
v.value.showTooltip = !v.value.showTooltip;
|
|
1177
1177
|
}
|
|
1178
|
-
const
|
|
1178
|
+
const Te = d(!1);
|
|
1179
1179
|
function Ye() {
|
|
1180
|
-
|
|
1180
|
+
Te.value = !Te.value;
|
|
1181
1181
|
}
|
|
1182
1182
|
async function Pa({ scale: e = 2 } = {}) {
|
|
1183
1183
|
if (!_.value) return;
|
|
@@ -1241,7 +1241,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1241
1241
|
toggleTooltip: Dl,
|
|
1242
1242
|
toggleAnnotator: Ye,
|
|
1243
1243
|
toggleFullscreen: dl
|
|
1244
|
-
}), (e, a) => (I(),
|
|
1244
|
+
}), (e, a) => (I(), $e("div", {
|
|
1245
1245
|
style: xe(`width:100%; position:relative; ${l.value.responsive ? "height: 100%" : ""}; background:${l.value.style.chart.backgroundColor};`),
|
|
1246
1246
|
ref_key: "xy",
|
|
1247
1247
|
ref: _,
|
|
@@ -1250,7 +1250,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1250
1250
|
onMouseenter: oa,
|
|
1251
1251
|
onMouseleave: ra
|
|
1252
1252
|
}, [
|
|
1253
|
-
l.value.style.chart.title.text ? (I(),
|
|
1253
|
+
l.value.style.chart.title.text ? (I(), $e("div", {
|
|
1254
1254
|
key: 0,
|
|
1255
1255
|
ref_key: "chartTitle",
|
|
1256
1256
|
ref: el,
|
|
@@ -1297,7 +1297,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1297
1297
|
chartElement: _.value,
|
|
1298
1298
|
position: l.value.userOptions.position,
|
|
1299
1299
|
hasAnnotator: l.value.userOptions.buttons.annotator,
|
|
1300
|
-
isAnnotation:
|
|
1300
|
+
isAnnotation: Te.value,
|
|
1301
1301
|
callbacks: l.value.userOptions.callbacks,
|
|
1302
1302
|
printScale: l.value.userOptions.print.scale,
|
|
1303
1303
|
tableDialog: l.value.table.useDialog,
|
|
@@ -1396,10 +1396,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1396
1396
|
ref: w,
|
|
1397
1397
|
style: { width: "100%", height: "100%" },
|
|
1398
1398
|
onMousemove: a[0] || (a[0] = (t) => Ma(t)),
|
|
1399
|
-
onMouseleave:
|
|
1399
|
+
onMouseleave: $a
|
|
1400
1400
|
}, null, 544),
|
|
1401
1401
|
C(_e) ? (I(), W(ct, { key: 0 })) : V("", !0),
|
|
1402
1402
|
El(C(ql), {
|
|
1403
|
+
teleportTo: l.value.style.chart.tooltip.teleportTo,
|
|
1403
1404
|
show: v.value.showTooltip && ne.value,
|
|
1404
1405
|
backgroundColor: l.value.style.chart.tooltip.backgroundColor,
|
|
1405
1406
|
color: l.value.style.chart.tooltip.color,
|
|
@@ -1426,7 +1427,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1426
1427
|
S(e.$slots, "tooltip-after", Q(ee({ ...Ke.value })), void 0, !0)
|
|
1427
1428
|
]),
|
|
1428
1429
|
_: 3
|
|
1429
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"])
|
|
1430
|
+
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"])
|
|
1430
1431
|
], 4),
|
|
1431
1432
|
l.value.style.chart.zoom.show && E.value > 6 && X.value && ol.value && !C(_e) ? (I(), W(kt, {
|
|
1432
1433
|
key: 2,
|
|
@@ -1464,7 +1465,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1464
1465
|
refreshEndPoint: l.value.style.chart.zoom.endIndex !== null ? l.value.style.chart.zoom.endIndex + 1 : E.value,
|
|
1465
1466
|
refreshStartPoint: l.value.style.chart.zoom.startIndex !== null ? l.value.style.chart.zoom.startIndex : 0,
|
|
1466
1467
|
selectColor: l.value.style.chart.zoom.highlightColor,
|
|
1467
|
-
selectedSeries:
|
|
1468
|
+
selectedSeries: $.value,
|
|
1468
1469
|
smoothMinimap: l.value.style.chart.zoom.minimap.smooth,
|
|
1469
1470
|
start: r.value.start,
|
|
1470
1471
|
timeLabels: B.value,
|
|
@@ -1516,10 +1517,10 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1516
1517
|
}, void 0, !0)
|
|
1517
1518
|
], 512)
|
|
1518
1519
|
], 8, ["to"])) : V("", !0),
|
|
1519
|
-
e.$slots.watermark ? (I(),
|
|
1520
|
+
e.$slots.watermark ? (I(), $e("div", Dt, [
|
|
1520
1521
|
S(e.$slots, "watermark", Q(ee({ isPrinting: C(nl) || C(il) })), void 0, !0)
|
|
1521
1522
|
])) : V("", !0),
|
|
1522
|
-
e.$slots.source ? (I(),
|
|
1523
|
+
e.$slots.source ? (I(), $e("div", {
|
|
1523
1524
|
key: 5,
|
|
1524
1525
|
ref_key: "source",
|
|
1525
1526
|
ref: al,
|
|
@@ -1583,17 +1584,17 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1583
1584
|
parent: _.value,
|
|
1584
1585
|
backgroundColor: l.value.style.chart.backgroundColor,
|
|
1585
1586
|
color: l.value.style.chart.color,
|
|
1586
|
-
active:
|
|
1587
|
+
active: Te.value,
|
|
1587
1588
|
onClose: Ye
|
|
1588
1589
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : V("", !0)
|
|
1589
1590
|
], 46, wt));
|
|
1590
1591
|
}
|
|
1591
|
-
},
|
|
1592
|
+
}, $t = /* @__PURE__ */ At(Tt, [["__scopeId", "data-v-3293aa2d"]]), Jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1592
1593
|
__proto__: null,
|
|
1593
|
-
default:
|
|
1594
|
+
default: $t
|
|
1594
1595
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1595
1596
|
export {
|
|
1596
1597
|
Zt as a,
|
|
1597
1598
|
Jt as b,
|
|
1598
|
-
|
|
1599
|
+
$t as v
|
|
1599
1600
|
};
|
package/package.json
CHANGED