vue-data-ui 3.19.3 → 3.19.5
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/{PackageVersion-DJqQx8gF.js → PackageVersion-CGiidfDW.js} +1 -1
- package/dist/{SlicerPreview-7pKvVSTr.js → SlicerPreview-CG1jpZqZ.js} +7 -7
- package/dist/{Tooltip-B7lmdbac.js → Tooltip-CuWEYGr3.js} +11 -6
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useConfig-D3guGcrX.js → useConfig-lKgU652n.js} +2 -0
- package/dist/{useObjectBindings-CSSNFNJ7.js → useObjectBindings-C3q0I8Zm.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-D_qPSZ3r.js → vue-data-ui-DcI_rZFY.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-TFjiqbr-.js → vue-ui-3d-bar-DiV2fXyA.js} +2 -2
- package/dist/{vue-ui-accordion-Bx7pI1J7.js → vue-ui-accordion-CNtzLReQ.js} +1 -1
- package/dist/{vue-ui-age-pyramid-CB3xQvBc.js → vue-ui-age-pyramid-OeogBDSt.js} +5 -3
- package/dist/{vue-ui-annotator-Bq9IRcKI.js → vue-ui-annotator-KPkeXw8q.js} +2 -2
- package/dist/{vue-ui-bullet-BZKRrX9w.js → vue-ui-bullet-ChpUs3I8.js} +2 -2
- package/dist/{vue-ui-bump-DHXnHWkH.js → vue-ui-bump-BkAshi4j.js} +2 -2
- package/dist/{vue-ui-candlestick-BZ0p5yg7.js → vue-ui-candlestick-BwHP3icU.js} +6 -4
- package/dist/{vue-ui-carousel-table-CjoV81u6.js → vue-ui-carousel-table-Bb5y_p3g.js} +2 -2
- package/dist/{vue-ui-chestnut-B3CDEtW0.js → vue-ui-chestnut-CSHDoJzC.js} +2 -2
- package/dist/{vue-ui-chord-DHWnljQs.js → vue-ui-chord-DdwmuNQX.js} +2 -2
- package/dist/{vue-ui-circle-pack-uP3YtdaY.js → vue-ui-circle-pack-DJQmSf72.js} +6 -4
- package/dist/{vue-ui-cursor-B0IVdY0y.js → vue-ui-cursor-DFf_3h10.js} +2 -2
- package/dist/{vue-ui-dag-DoCkpyrA.js → vue-ui-dag-CkO3Ax7d.js} +2 -2
- package/dist/{vue-ui-dashboard-DlUVTiAT.js → vue-ui-dashboard--8Xk6LWT.js} +65 -65
- package/dist/{vue-ui-digits-Cifo73CT.js → vue-ui-digits-Cs5EheDs.js} +2 -2
- package/dist/{vue-ui-donut-BKUBHljz.js → vue-ui-donut-DsNo3LIX.js} +5 -3
- package/dist/{vue-ui-donut-evolution-CA00PLQa.js → vue-ui-donut-evolution-_QyGlfxI.js} +2 -2
- package/dist/{vue-ui-dumbbell-3hxQpaDc.js → vue-ui-dumbbell-ChGtAAWt.js} +2 -2
- package/dist/{vue-ui-flow-B4dtyb5h.js → vue-ui-flow-B5AzIgoc.js} +5 -3
- package/dist/{vue-ui-funnel-Bp9ii4JX.js → vue-ui-funnel-EDQSTDkg.js} +2 -2
- package/dist/{vue-ui-galaxy-BuGtNcCZ.js → vue-ui-galaxy-BD_RrBJE.js} +5 -3
- package/dist/{vue-ui-gauge-NNga_nsX.js → vue-ui-gauge-C9QMAGa9.js} +2 -2
- package/dist/{vue-ui-geo-BysBWDwm.js → vue-ui-geo-nR7niELP.js} +5 -3
- package/dist/{vue-ui-gizmo-v09prufz.js → vue-ui-gizmo-Y1enSmyC.js} +2 -2
- package/dist/{vue-ui-heatmap-DuRQ2lkx.js → vue-ui-heatmap-D2dBZY8v.js} +7 -5
- package/dist/{vue-ui-history-plot-D-7BRBtq.js → vue-ui-history-plot-DEhOa4RX.js} +5 -3
- package/dist/{vue-ui-horizontal-bar-Dn7dIzxl.js → vue-ui-horizontal-bar-EoXn4UVd.js} +7 -5
- package/dist/{vue-ui-kpi-B8WrUG_R.js → vue-ui-kpi-DUKaYWpW.js} +2 -2
- package/dist/{vue-ui-mini-loader-W-DFObCm.js → vue-ui-mini-loader-BpLz9pDO.js} +1 -1
- package/dist/{vue-ui-molecule-D27Cc-de.js → vue-ui-molecule-MlVj-IXz.js} +6 -4
- package/dist/{vue-ui-mood-radar-BFSZ2X37.js → vue-ui-mood-radar-B8ILXAqP.js} +2 -2
- package/dist/{vue-ui-nested-donuts-tsckdyg2.js → vue-ui-nested-donuts-Jw8bQEo4.js} +5 -3
- package/dist/{vue-ui-onion-DtCjXkxn.js → vue-ui-onion-D3ANYQG8.js} +5 -3
- package/dist/{vue-ui-parallel-coordinate-plot-BdlwQlsD.js → vue-ui-parallel-coordinate-plot-DBUBo1uE.js} +5 -3
- package/dist/{vue-ui-quadrant-BRQbYyFO.js → vue-ui-quadrant-CQ9eomPu.js} +5 -3
- package/dist/{vue-ui-quick-chart-CCF3mlAh.js → vue-ui-quick-chart-bAX-1W7U.js} +5 -3
- package/dist/{vue-ui-radar-BmwUTGIJ.js → vue-ui-radar-BrlQJKQ8.js} +5 -3
- package/dist/{vue-ui-rating-BDqvkknD.js → vue-ui-rating-DBxf9Vwv.js} +1 -1
- package/dist/{vue-ui-relation-circle-B3bml66o.js → vue-ui-relation-circle-53zRDuMv.js} +2 -2
- package/dist/{vue-ui-ridgeline-ohceyDWZ.js → vue-ui-ridgeline-B80Je7Dl.js} +2 -2
- package/dist/{vue-ui-rings-DDng08s2.js → vue-ui-rings-q2Z9_I_C.js} +5 -3
- package/dist/{vue-ui-scatter-C9AhWlgf.js → vue-ui-scatter-B2j49pZG.js} +5 -3
- package/dist/{vue-ui-skeleton-AIQQhBNe.js → vue-ui-skeleton-DBQVQjee.js} +2 -2
- package/dist/{vue-ui-smiley-DvcbJWHA.js → vue-ui-smiley-2xc8AwPP.js} +1 -1
- package/dist/{vue-ui-spark-trend-DwzFKtHJ.js → vue-ui-spark-trend-2A59xizI.js} +2 -2
- package/dist/{vue-ui-sparkbar-Pu0sBCFF.js → vue-ui-sparkbar-ySB5tY6a.js} +2 -2
- package/dist/{vue-ui-sparkgauge-gwD22FuC.js → vue-ui-sparkgauge-1W1qaesz.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-Cl1Kbrbo.js → vue-ui-sparkhistogram-By0How3p.js} +2 -2
- package/dist/{vue-ui-sparkline-Bv-Ox4zE.js → vue-ui-sparkline-BqJ0MXbc.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-gCLBxnhs.js → vue-ui-sparkstackbar-CMVO2Tu-.js} +5 -3
- package/dist/{vue-ui-stackbar-DIZ_XeGW.js → vue-ui-stackbar-CRbyQwVz.js} +28 -20
- package/dist/{vue-ui-stackline-BeI3bS76.js → vue-ui-stackline-CLlAhA0E.js} +195 -186
- package/dist/{vue-ui-strip-plot-D_ble-OL.js → vue-ui-strip-plot-BkcKTTC6.js} +5 -3
- package/dist/{vue-ui-table-BI-hsZtw.js → vue-ui-table-CIgdj4R-.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DZ3EQXjK.js → vue-ui-table-heatmap-CvHoeUmu.js} +1 -1
- package/dist/{vue-ui-table-sparkline-9gj_fVQa.js → vue-ui-table-sparkline-DReGOXrL.js} +2 -2
- package/dist/{vue-ui-thermometer-EykNP-ry.js → vue-ui-thermometer-Bmq8u98B.js} +2 -2
- package/dist/{vue-ui-timer-Djj46XX2.js → vue-ui-timer-cYpIWaiH.js} +2 -2
- package/dist/{vue-ui-tiremarks-CfYdhXKD.js → vue-ui-tiremarks-B01ayToa.js} +2 -2
- package/dist/{vue-ui-treemap-DHKlit2w.js → vue-ui-treemap-CbqNfpkg.js} +5 -3
- package/dist/{vue-ui-waffle-CRs6-ek9.js → vue-ui-waffle-zz_nDVZ3.js} +5 -3
- package/dist/{vue-ui-wheel-CwepBmew.js → vue-ui-wheel--8hd9-06.js} +2 -2
- package/dist/{vue-ui-word-cloud-_mzgPMiK.js → vue-ui-word-cloud-BXyP8Qzx.js} +5 -3
- package/dist/{vue-ui-world-OYgzG9oL.js → vue-ui-world-hy7P8x_O.js} +5 -3
- package/dist/{vue-ui-xy-DyYFGJ9O.js → vue-ui-xy-3LB_mNPd.js} +7 -5
- package/dist/{vue-ui-xy-canvas-s81yaESU.js → vue-ui-xy-canvas-BKUggHiV.js} +7 -5
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { D as t, Ft as n, G as r, H as i, I as a, It as o, J as s, Lt as c, P as l, S as u, St as d, Tt as f, X as p, et as m, g as h, h as g, i as _, jt as ee, k as v, mt as te, nt as ne, ot as re, pt as ie, s as ae, t as oe, v as se, x as ce, y as le, yt as ue, zt as de } from "./lib-BkiwukKO.js";
|
|
3
3
|
import { n as fe, r as pe, t as me } from "./useTimeLabels-C0x7zUXP.js";
|
|
4
|
-
import { t as he } from "./useConfig-
|
|
4
|
+
import { t as he } from "./useConfig-lKgU652n.js";
|
|
5
5
|
import { t as ge } from "./usePrinter-X0yWOynH.js";
|
|
6
6
|
import { n as _e, t as ve } from "./BaseScanner-C7dmAref.js";
|
|
7
7
|
import { t as ye } from "./useSvgExport-Dtu973wa.js";
|
|
@@ -15,25 +15,25 @@ import { t as Ee } from "./Shape-DEGOZ6GG.js";
|
|
|
15
15
|
import { t as De } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
16
16
|
import { c as Oe } from "./canvas-lib-DTaADQOK.js";
|
|
17
17
|
import { t as ke } from "./useResponsive-CrAInupd.js";
|
|
18
|
-
import { t as Ae } from "./SlicerPreview-
|
|
18
|
+
import { t as Ae } from "./SlicerPreview-CG1jpZqZ.js";
|
|
19
19
|
import { t as je } from "./BaseLegendToggle-DUIqQmwM.js";
|
|
20
20
|
import { t as Me } from "./A11yDataTable-q2-8fSlJ.js";
|
|
21
21
|
import { t as Ne } from "./useUserOptionState-CjPJPTg2.js";
|
|
22
22
|
import { t as Pe } from "./useChartAccessibility-Do37qcw2.js";
|
|
23
23
|
import { t as Fe } from "./Legend-Gg5Q4Clb.js";
|
|
24
24
|
import { t as Ie } from "./vue_ui_stackline-DXxzibUd.js";
|
|
25
|
-
import { Fragment as y, Teleport as Le, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as Ve, guardReactiveProps as T, mergeProps as He, nextTick as Ue, normalizeClass as We, normalizeProps as E, normalizeStyle as Ge, onBeforeUnmount as Ke, onMounted as qe, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as
|
|
25
|
+
import { Fragment as y, Teleport as Le, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as Ve, guardReactiveProps as T, mergeProps as He, nextTick as Ue, normalizeClass as We, normalizeProps as E, normalizeStyle as Ge, onBeforeUnmount as Ke, onMounted as qe, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as Xe, toRefs as Ze, unref as j, useSlots as Qe, watch as $e, watchEffect as et, withCtx as M } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-stackline.vue
|
|
27
|
-
var
|
|
27
|
+
var tt = /* @__PURE__ */ e({ default: () => Vt }), nt = ["id"], rt = ["id"], it = ["id"], at = { style: { position: "relative" } }, ot = [
|
|
28
28
|
"aria-describedby",
|
|
29
29
|
"xmlns",
|
|
30
30
|
"viewBox"
|
|
31
|
-
],
|
|
31
|
+
], st = { key: 0 }, ct = [
|
|
32
32
|
"x",
|
|
33
33
|
"y",
|
|
34
34
|
"width",
|
|
35
35
|
"height"
|
|
36
|
-
],
|
|
36
|
+
], lt = { key: 1 }, ut = ["id"], dt = ["stop-color"], ft = ["stop-color"], pt = [
|
|
37
37
|
"x1",
|
|
38
38
|
"x2",
|
|
39
39
|
"y1",
|
|
@@ -41,7 +41,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
41
41
|
"stroke",
|
|
42
42
|
"stroke-width",
|
|
43
43
|
"stroke-dasharray"
|
|
44
|
-
],
|
|
44
|
+
], mt = [
|
|
45
45
|
"x1",
|
|
46
46
|
"x2",
|
|
47
47
|
"y1",
|
|
@@ -49,32 +49,32 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
49
49
|
"stroke",
|
|
50
50
|
"stroke-width",
|
|
51
51
|
"stroke-dasharray"
|
|
52
|
-
],
|
|
52
|
+
], ht = [
|
|
53
53
|
"x1",
|
|
54
54
|
"x2",
|
|
55
55
|
"y1",
|
|
56
56
|
"y2",
|
|
57
57
|
"stroke",
|
|
58
58
|
"stroke-width"
|
|
59
|
-
],
|
|
59
|
+
], gt = [
|
|
60
60
|
"x1",
|
|
61
61
|
"x2",
|
|
62
62
|
"y1",
|
|
63
63
|
"y2",
|
|
64
64
|
"stroke",
|
|
65
65
|
"stroke-width"
|
|
66
|
-
],
|
|
66
|
+
], _t = [
|
|
67
67
|
"x",
|
|
68
68
|
"y",
|
|
69
69
|
"font-size",
|
|
70
70
|
"fill",
|
|
71
71
|
"font-weight"
|
|
72
|
-
],
|
|
72
|
+
], vt = [
|
|
73
73
|
"transform",
|
|
74
74
|
"font-size",
|
|
75
75
|
"fill",
|
|
76
76
|
"font-weight"
|
|
77
|
-
],
|
|
77
|
+
], yt = [
|
|
78
78
|
"x",
|
|
79
79
|
"y",
|
|
80
80
|
"width",
|
|
@@ -84,47 +84,47 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
84
84
|
"stroke-linecap",
|
|
85
85
|
"stroke-linejoin",
|
|
86
86
|
"stroke-dasharray"
|
|
87
|
-
],
|
|
87
|
+
], bt = [
|
|
88
88
|
"d",
|
|
89
89
|
"fill",
|
|
90
90
|
"opacity"
|
|
91
|
-
],
|
|
91
|
+
], xt = [
|
|
92
92
|
"d",
|
|
93
93
|
"stroke",
|
|
94
94
|
"stroke-width"
|
|
95
|
-
],
|
|
95
|
+
], St = [
|
|
96
96
|
"x1",
|
|
97
97
|
"x2",
|
|
98
98
|
"y1",
|
|
99
99
|
"y2",
|
|
100
100
|
"stroke"
|
|
101
|
-
],
|
|
101
|
+
], Ct = [
|
|
102
102
|
"x",
|
|
103
103
|
"y",
|
|
104
104
|
"font-size",
|
|
105
105
|
"font-weight",
|
|
106
106
|
"fill"
|
|
107
|
-
],
|
|
107
|
+
], wt = { key: 0 }, Tt = { key: 1 }, Et = [
|
|
108
108
|
"text-anchor",
|
|
109
109
|
"font-size",
|
|
110
110
|
"font-weight",
|
|
111
111
|
"fill",
|
|
112
112
|
"transform",
|
|
113
113
|
"onClick"
|
|
114
|
-
],
|
|
114
|
+
], Dt = [
|
|
115
115
|
"text-anchor",
|
|
116
116
|
"font-size",
|
|
117
117
|
"fill",
|
|
118
118
|
"transform",
|
|
119
119
|
"innerHTML",
|
|
120
120
|
"onClick"
|
|
121
|
-
],
|
|
121
|
+
], Ot = [
|
|
122
122
|
"x",
|
|
123
123
|
"y",
|
|
124
124
|
"height",
|
|
125
125
|
"width",
|
|
126
126
|
"fill"
|
|
127
|
-
],
|
|
127
|
+
], kt = { key: 0 }, At = [
|
|
128
128
|
"x1",
|
|
129
129
|
"x2",
|
|
130
130
|
"y1",
|
|
@@ -132,19 +132,19 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
132
132
|
"stroke",
|
|
133
133
|
"stroke-width",
|
|
134
134
|
"stroke-dasharray"
|
|
135
|
-
],
|
|
135
|
+
], jt = { key: 0 }, Mt = [
|
|
136
136
|
"x",
|
|
137
137
|
"y",
|
|
138
138
|
"font-size",
|
|
139
139
|
"fill",
|
|
140
140
|
"font-weight"
|
|
141
|
-
],
|
|
141
|
+
], Nt = [
|
|
142
142
|
"x",
|
|
143
143
|
"y",
|
|
144
144
|
"font-size",
|
|
145
145
|
"font-weight",
|
|
146
146
|
"fill"
|
|
147
|
-
],
|
|
147
|
+
], Pt = ["data-start", "data-end"], Ft = {
|
|
148
148
|
key: 0,
|
|
149
149
|
style: {
|
|
150
150
|
position: "absolute",
|
|
@@ -154,10 +154,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
154
154
|
},
|
|
155
155
|
"data-dom-to-png-ignore": "",
|
|
156
156
|
"aria-hidden": "true"
|
|
157
|
-
},
|
|
157
|
+
}, It = {
|
|
158
158
|
key: 5,
|
|
159
159
|
class: "vue-data-ui-watermark"
|
|
160
|
-
},
|
|
160
|
+
}, Lt = ["onClick"], Rt = ["innerHTML"], zt = ["innerHTML"], Bt = ["id"], Vt = /* @__PURE__ */ De({
|
|
161
161
|
__name: "vue-ui-stackline",
|
|
162
162
|
props: {
|
|
163
163
|
config: {
|
|
@@ -184,15 +184,15 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
184
184
|
"selectX",
|
|
185
185
|
"copyAlt"
|
|
186
186
|
],
|
|
187
|
-
setup(e, { expose: De, emit:
|
|
188
|
-
let
|
|
187
|
+
setup(e, { expose: De, emit: tt }) {
|
|
188
|
+
let Vt = Ve(() => import("./Tooltip-CuWEYGr3.js")), Ht = Ve(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Ut = Ve(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), Wt = Ve(() => import("./DataTable-BvDJEAma.js")), Gt = Ve(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Kt = Ve(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), qt = Ve(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), Jt = Ve(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_stackline: Yt } = he(), { isThemeValid: Xt, warnInvalidTheme: Zt } = xe(), Qt = Qe(), N = e, $t = tt, en = b({
|
|
189
189
|
get() {
|
|
190
|
-
return !!
|
|
190
|
+
return !!N.dataset && N.dataset.length;
|
|
191
191
|
},
|
|
192
192
|
set(e) {
|
|
193
193
|
return e;
|
|
194
194
|
}
|
|
195
|
-
}),
|
|
195
|
+
}), P = O(null), F = O(i()), tn = O(!1), I = O([]), nn = O(0), rn = O(null), an = O(null), on = O(null), sn = O(null), cn = O(null), ln = O(!1), un = O(!1), dn = O(0), fn = O(0), pn = O(0), mn = O(!1), hn = O(null), gn = O(null), _n = O(!1), vn = O(!1), yn = O(!1), bn = O(null), xn = O(null), Sn = O(null), Cn = O(null), wn = O(null), Tn = Ye(null), En = O(!1), Dn = O(0), On = O(0), L = O(null), kn = O({
|
|
196
196
|
x: 0,
|
|
197
197
|
y: 0
|
|
198
198
|
}), An = O("pointer"), jn = Se({
|
|
@@ -206,7 +206,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
208
|
function Mn() {
|
|
209
|
-
Tn.value =
|
|
209
|
+
Tn.value = P.value?.parentNode ?? null;
|
|
210
210
|
}
|
|
211
211
|
function Nn() {
|
|
212
212
|
return new Promise((e) => {
|
|
@@ -266,21 +266,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
266
266
|
zoom: {
|
|
267
267
|
show: !1,
|
|
268
268
|
startIndex: null,
|
|
269
|
-
endIndex: null
|
|
269
|
+
endIndex: null,
|
|
270
|
+
keepState: !1
|
|
270
271
|
}
|
|
271
272
|
} }
|
|
272
273
|
},
|
|
273
274
|
userConfig: R.value.skeletonConfig ?? {}
|
|
274
275
|
})), { loading: B, FINAL_DATASET: zn, manualLoading: Bn } = _e({
|
|
275
|
-
...
|
|
276
|
+
...Ze(N),
|
|
276
277
|
FINAL_CONFIG: R,
|
|
277
278
|
prepareConfig: Kn,
|
|
278
279
|
callback: () => {
|
|
279
280
|
Promise.resolve().then(async () => {
|
|
280
|
-
await Qr();
|
|
281
|
+
(!R.value.style.chart.zoom.keepState || !Xr.value || q.value.start === 0 && q.value.end === 0) && await Qr();
|
|
281
282
|
});
|
|
282
283
|
},
|
|
283
|
-
skeletonDataset:
|
|
284
|
+
skeletonDataset: N.config?.skeletonDataset ?? [{
|
|
284
285
|
name: "",
|
|
285
286
|
series: [
|
|
286
287
|
3,
|
|
@@ -320,25 +321,25 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
320
321
|
_n.value = !0, Hn(!0);
|
|
321
322
|
}
|
|
322
323
|
function Gn() {
|
|
323
|
-
Hn(!1), _n.value = !1, L.value = null, An.value = "pointer", tn.value = !1, $.value = null,
|
|
324
|
+
Hn(!1), _n.value = !1, L.value = null, An.value = "pointer", tn.value = !1, $.value = null, $t("selectX", {
|
|
324
325
|
seriesIndex: null,
|
|
325
326
|
datapoint: null
|
|
326
327
|
});
|
|
327
328
|
}
|
|
328
329
|
function Kn() {
|
|
329
330
|
let e = be({
|
|
330
|
-
userConfig:
|
|
331
|
-
defaultConfig:
|
|
331
|
+
userConfig: N.config,
|
|
332
|
+
defaultConfig: Yt
|
|
332
333
|
}), t = {}, n = e.theme;
|
|
333
|
-
if (n) if (!
|
|
334
|
+
if (n) if (!Xt.value(e)) Zt(e), t = e;
|
|
334
335
|
else {
|
|
335
336
|
let r = be({
|
|
336
|
-
userConfig: Ie[n] ||
|
|
337
|
+
userConfig: Ie[n] || N.config,
|
|
337
338
|
defaultConfig: e
|
|
338
339
|
});
|
|
339
340
|
t = {
|
|
340
341
|
...be({
|
|
341
|
-
userConfig:
|
|
342
|
+
userConfig: N.config,
|
|
342
343
|
defaultConfig: r
|
|
343
344
|
}),
|
|
344
345
|
customPalette: e.customPalette.length ? e.customPalette : c[n] || f
|
|
@@ -348,22 +349,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
348
349
|
return t;
|
|
349
350
|
}
|
|
350
351
|
let qn = b(() => R.value.style.chart.lines.dataLabels.hideUnderValue !== null), Jn = b(() => R.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
|
|
351
|
-
|
|
352
|
-
B.value || (R.value = Kn()), Vn.value = !R.value.userOptions.showOnChartHover, ar(), dn.value += 1, fn.value += 1, pn.value += 1, H.value.dataLabels.show = R.value.style.chart.lines.dataLabels.show, H.value.showTable = R.value.table.show, H.value.showTooltip = R.value.style.chart.tooltip.show, U.value.width = R.value.style.chart.width, U.value.height = R.value.style.chart.height, U.value.paddingRatio = {
|
|
352
|
+
$e(() => N.config, (e) => {
|
|
353
|
+
B.value || (R.value = Kn()), Vn.value = !R.value.userOptions.showOnChartHover, ar({ resetSlicer: !R.value.style.chart.zoom.keepState }), dn.value += 1, fn.value += 1, pn.value += 1, H.value.dataLabels.show = R.value.style.chart.lines.dataLabels.show, H.value.showTable = R.value.table.show, H.value.showTooltip = R.value.style.chart.tooltip.show, U.value.width = R.value.style.chart.width, U.value.height = R.value.style.chart.height, U.value.paddingRatio = {
|
|
353
354
|
top: R.value.style.chart.padding.top / R.value.style.chart.height,
|
|
354
355
|
right: R.value.style.chart.padding.right / R.value.style.chart.width,
|
|
355
356
|
bottom: R.value.style.chart.padding.bottom / R.value.style.chart.height,
|
|
356
357
|
left: R.value.style.chart.padding.left / R.value.style.chart.width
|
|
357
|
-
}, Mn(), Pn(), br();
|
|
358
|
-
}, { deep: !0 }),
|
|
359
|
-
Array.isArray(e) && e.length > 0 && (Bn.value = !1), Cr(), Mn(), Pn();
|
|
358
|
+
}, Mn(), Pn(), !R.value.style.chart.zoom.keepState || !Xr.value || q.value.start === 0 && q.value.end === 0 ? Qr() : br();
|
|
359
|
+
}, { deep: !0 }), $e(() => N.dataset, (e) => {
|
|
360
|
+
Array.isArray(e) && e.length > 0 && (Bn.value = !1), R.value.style.chart.zoom.keepState ? br() : Cr(), Mn(), Pn();
|
|
360
361
|
}, { deep: !0 });
|
|
361
362
|
let H = O({
|
|
362
363
|
dataLabels: { show: R.value.style.chart.lines.dataLabels.show },
|
|
363
364
|
showTable: R.value.table.show,
|
|
364
365
|
showTooltip: R.value.style.chart.tooltip.show
|
|
365
366
|
});
|
|
366
|
-
|
|
367
|
+
$e(R, () => {
|
|
367
368
|
H.value = {
|
|
368
369
|
dataLabels: { show: R.value.style.chart.lines.dataLabels.show },
|
|
369
370
|
showTable: R.value.table.show,
|
|
@@ -384,17 +385,17 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
384
385
|
left: R.value.style.chart.padding.left / R.value.style.chart.width
|
|
385
386
|
}
|
|
386
387
|
}), er = b(() => ce(R.value.customPalette)), tr = Ye(null), nr = Ye(null), rr = O(null), ir = b(() => !!R.value.debug);
|
|
387
|
-
function ar() {
|
|
388
|
-
if (d(
|
|
388
|
+
function ar({ resetSlicer: e = !0 } = {}) {
|
|
389
|
+
if (d(N.dataset) ? (p({
|
|
389
390
|
componentName: "VueUiStackline",
|
|
390
391
|
type: "dataset",
|
|
391
392
|
debug: ir.value
|
|
392
|
-
}), Bn.value = !0) :
|
|
393
|
+
}), Bn.value = !0) : N.dataset.forEach((e, t) => {
|
|
393
394
|
re({
|
|
394
395
|
datasetObject: e,
|
|
395
396
|
requiredAttributes: ["name", "series"]
|
|
396
397
|
}).forEach((e) => {
|
|
397
|
-
|
|
398
|
+
en.value = !1, p({
|
|
398
399
|
componentName: "VueUiStackline",
|
|
399
400
|
type: "datasetSerieAttribute",
|
|
400
401
|
property: e,
|
|
@@ -402,13 +403,13 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
402
403
|
debug: ir.value
|
|
403
404
|
}), Bn.value = !0;
|
|
404
405
|
});
|
|
405
|
-
}), d(
|
|
406
|
+
}), d(N.dataset) || (Bn.value = R.value.loading), setTimeout(() => {
|
|
406
407
|
un.value = !0;
|
|
407
408
|
}, 10), R.value.responsive) {
|
|
408
409
|
let e = Oe(() => {
|
|
409
410
|
un.value = !1;
|
|
410
411
|
let { width: e, height: t } = ke({
|
|
411
|
-
chart:
|
|
412
|
+
chart: P.value,
|
|
412
413
|
noTitle: sn.value,
|
|
413
414
|
title: R.value.style.chart.title.text ? rn.value : null,
|
|
414
415
|
legend: R.value.style.chart.legend.show ? an.value : null,
|
|
@@ -421,9 +422,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
421
422
|
}, 10);
|
|
422
423
|
});
|
|
423
424
|
});
|
|
424
|
-
tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect()), tr.value = new ResizeObserver(e), nr.value =
|
|
425
|
+
tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect()), tr.value = new ResizeObserver(e), nr.value = P.value.parentNode, tr.value.observe(nr.value);
|
|
425
426
|
}
|
|
426
|
-
Qr();
|
|
427
|
+
e && Qr();
|
|
427
428
|
}
|
|
428
429
|
Ke(() => {
|
|
429
430
|
jn.stop(), tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect());
|
|
@@ -472,7 +473,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
472
473
|
return e + t;
|
|
473
474
|
}), W = b(() => {
|
|
474
475
|
Dn.value;
|
|
475
|
-
let { height: e, width: t } = U.value, { right: n } = U.value.paddingRatio, r = R.value.style.chart.lines.totalValues.show &&
|
|
476
|
+
let { height: e, width: t } = U.value, { right: n } = U.value.paddingRatio, r = R.value.style.chart.lines.totalValues.show && N.dataset && N.dataset.length > 1 ? R.value.style.chart.lines.totalValues.fontSize * 1.3 : 0, i = 0;
|
|
476
477
|
R.value.style.chart.grid.y.axisLabels.show && (i = or());
|
|
477
478
|
let a = R.value.style.chart.padding.top + r, o = t - t * n - sr.value, s = e - R.value.style.chart.padding.bottom - fr.value - r, c = R.value.style.chart.padding.left + i, l = t - c - t * n - sr.value, u = e - a - R.value.style.chart.padding.bottom - fr.value - r;
|
|
478
479
|
return {
|
|
@@ -507,7 +508,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
507
508
|
...u
|
|
508
509
|
};
|
|
509
510
|
}), G = b(() => zn.value.map((e, t) => {
|
|
510
|
-
let n = le(e.color) || er.value[t] || f[t] || f[t % f.length];
|
|
511
|
+
let n = `stackline_serie_${t}`, r = le(e.color) || er.value[t] || f[t] || f[t % f.length];
|
|
511
512
|
return {
|
|
512
513
|
...e,
|
|
513
514
|
shape: e.shape || "circle",
|
|
@@ -516,8 +517,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
516
517
|
seriesSource: e.series,
|
|
517
518
|
signedSeries: e.series.map((e) => e >= 0 ? 1 : -1),
|
|
518
519
|
absoluteIndex: t,
|
|
519
|
-
id:
|
|
520
|
-
color:
|
|
520
|
+
id: n,
|
|
521
|
+
color: r
|
|
521
522
|
};
|
|
522
523
|
})), mr = b(() => G.value.filter((e) => !I.value.includes(e.id) && !e.standalone)), hr = b(() => G.value.filter((e) => !I.value.includes(e.id) && e.standalone)), K = b(() => {
|
|
523
524
|
let e = Math.max(...G.value.filter((e) => !I.value.includes(e.id)).map((e) => e.series.length));
|
|
@@ -551,7 +552,11 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
551
552
|
Ke(() => {
|
|
552
553
|
xr.value && cancelAnimationFrame(xr.value);
|
|
553
554
|
});
|
|
554
|
-
async function Cr() {
|
|
555
|
+
async function Cr({ force: e = !1 } = {}) {
|
|
556
|
+
if (R.value.style.chart.zoom.keepState && !e && Xr.value && !(q.value.start === 0 && q.value.end === 0)) {
|
|
557
|
+
br();
|
|
558
|
+
return;
|
|
559
|
+
}
|
|
555
560
|
Qr(), await Ue(), xr.value && cancelAnimationFrame(xr.value), xr.value = requestAnimationFrame(async () => {
|
|
556
561
|
await Sr(), Qr();
|
|
557
562
|
});
|
|
@@ -656,7 +661,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
656
661
|
};
|
|
657
662
|
});
|
|
658
663
|
}), Ir = O([]), Lr = O([]), Rr = 0;
|
|
659
|
-
|
|
664
|
+
et(() => {
|
|
660
665
|
let e = ++Rr;
|
|
661
666
|
(async () => {
|
|
662
667
|
let t = await me({
|
|
@@ -670,7 +675,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
670
675
|
})();
|
|
671
676
|
});
|
|
672
677
|
let zr = 0;
|
|
673
|
-
|
|
678
|
+
et(() => {
|
|
674
679
|
let e = ++zr;
|
|
675
680
|
(async () => {
|
|
676
681
|
let t = await me({
|
|
@@ -690,7 +695,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
690
695
|
let e = R.value.style.chart.grid.x.timeLabels, t = Ir.value || [], n = Lr.value || [], r = q.value.start ?? 0, i = $.value, a = K.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
|
|
691
696
|
return ae(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Br.value || 1), o, s, r, i, a);
|
|
692
697
|
});
|
|
693
|
-
|
|
698
|
+
et(() => {
|
|
694
699
|
R.value.style.chart.grid.x.timeLabels.show, R.value.style.chart.grid.x.timeLabels.fontSize, R.value.style.chart.grid.x.timeLabels.rotation, R.value.style.chart.grid.x.timeLabels.offsetY, (Vr.value || []).map((e) => e?.text ?? "").join("|"), U.value.width, U.value.height, Cn.value, bn.value, dr();
|
|
695
700
|
}, { flush: "post" });
|
|
696
701
|
let Hr = O({
|
|
@@ -699,7 +704,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
699
704
|
days: [],
|
|
700
705
|
shortDays: []
|
|
701
706
|
}), Ur = 0;
|
|
702
|
-
|
|
707
|
+
et(() => {
|
|
703
708
|
let e = ++Ur, t = R.value.style.chart.grid.x.timeLabels.datetimeFormatter;
|
|
704
709
|
(async () => {
|
|
705
710
|
let n = await pe(t.locale).catch(() => pe("en"));
|
|
@@ -723,7 +728,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
723
728
|
text: Wr.value(t, R.value.style.chart.tooltip.timeFormat),
|
|
724
729
|
absoluteIndex: t
|
|
725
730
|
}))), qr = b(() => {
|
|
726
|
-
if (
|
|
731
|
+
if (!en.value && !B.value) return [];
|
|
727
732
|
let e = W.value.height, t = Fr.value[0] ? Fr.value[0].zero : W.value.bottom, n = q.value.start ?? 0, r = q.value.end ?? 0, i = Math.max(1, r - n), a = Math.max(...Ar.value.positive, 0), o = Math.min(...Ar.value.negative, 0), s = Math.max(...jr.value.positive, 0), c = Math.min(...jr.value.negative, 0), l = Math.max(a, s), u = Math.min(o, c), { min: d, max: f } = !R.value.style.chart.lines.distributed && (R.value.style.chart.grid.scale.scaleMax !== null || R.value.style.chart.grid.scale.scaleMin !== null) ? h(R.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : R.value.style.chart.grid.scale.scaleMin, R.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : R.value.style.chart.grid.scale.scaleMax, R.value.style.chart.grid.scale.ticks) : g(R.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : R.value.style.chart.grid.scale.scaleMin, R.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : R.value.style.chart.grid.scale.scaleMax, R.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 ? W.value.left + W.value.width / 2 : W.value.left + e / (i - 1) * W.value.width;
|
|
728
733
|
return G.value.filter((e) => !I.value.includes(e.id)).map((r) => {
|
|
729
734
|
let a = [], o = [], s = [], c = Array(i).fill(null), l = Array(i).fill(null);
|
|
@@ -836,8 +841,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
836
841
|
if (!Yr.value) {
|
|
837
842
|
Yr.value = !0;
|
|
838
843
|
try {
|
|
839
|
-
let { startIndex: e, endIndex: t } = R.value.style.chart.zoom,
|
|
840
|
-
|
|
844
|
+
let { startIndex: e, endIndex: t, keepState: n } = R.value.style.chart.zoom, r = n ? Math.max(0, K.value) : K.value;
|
|
845
|
+
if (n && r <= 0) return;
|
|
846
|
+
let i = e ?? 0, a = t == null ? r : Math.min(Zr(t + 1), r);
|
|
847
|
+
ti.value = !0, q.value.start = i, q.value.end = a, J.value.start = i, J.value.end = a, br(), Xr.value = !0;
|
|
841
848
|
} finally {
|
|
842
849
|
queueMicrotask(() => {
|
|
843
850
|
ti.value = !1;
|
|
@@ -976,12 +983,12 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
976
983
|
R.value.events.datapointClick && R.value.events.datapointClick({
|
|
977
984
|
datapoint: t,
|
|
978
985
|
seriesIndex: e + q.value.start
|
|
979
|
-
}),
|
|
986
|
+
}), $t("selectDatapoint", {
|
|
980
987
|
datapoint: t,
|
|
981
988
|
period: Ir.value[e]
|
|
982
989
|
});
|
|
983
990
|
}
|
|
984
|
-
|
|
991
|
+
$e(() => [
|
|
985
992
|
q.value.start,
|
|
986
993
|
q.value.end,
|
|
987
994
|
Y.value.length
|
|
@@ -1139,7 +1146,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1139
1146
|
}), R.value.events.datapointEnter && R.value.events.datapointEnter({
|
|
1140
1147
|
datapoint: r,
|
|
1141
1148
|
seriesIndex: t + q.value.start
|
|
1142
|
-
})) : (L.value = null, $.value = null,
|
|
1149
|
+
})) : (L.value = null, $.value = null, $t("selectX", {
|
|
1143
1150
|
seriesIndex: null,
|
|
1144
1151
|
dataset: null,
|
|
1145
1152
|
indexLabel: null
|
|
@@ -1149,7 +1156,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1149
1156
|
}));
|
|
1150
1157
|
}
|
|
1151
1158
|
function hi(e, t) {
|
|
1152
|
-
|
|
1159
|
+
$t("selectTimeLabel", {
|
|
1153
1160
|
datapoint: JSON.parse(JSON.stringify(Y.value)).map((e) => ({
|
|
1154
1161
|
name: e.name,
|
|
1155
1162
|
value: e.series[t] === 0 ? 0 : (e.signedSeries[t] === -1 && e.series[t] >= 0 ? -e.series[t] : e.series[t]) || null,
|
|
@@ -1172,7 +1179,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1172
1179
|
if (I.value.length === G.value.length - 1) return;
|
|
1173
1180
|
I.value.push(e.id);
|
|
1174
1181
|
}
|
|
1175
|
-
|
|
1182
|
+
$t("selectLegend", Y.value);
|
|
1176
1183
|
}
|
|
1177
1184
|
let vi = b(() => G.value.map((e) => ({
|
|
1178
1185
|
...e,
|
|
@@ -1282,9 +1289,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1282
1289
|
}
|
|
1283
1290
|
}
|
|
1284
1291
|
async function ji({ scale: e = 2 } = {}) {
|
|
1285
|
-
if (!
|
|
1286
|
-
let { width: t, height: n } =
|
|
1287
|
-
domElement:
|
|
1292
|
+
if (!P.value) return;
|
|
1293
|
+
let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
|
|
1294
|
+
domElement: P.value,
|
|
1288
1295
|
base64: !0,
|
|
1289
1296
|
img: !0,
|
|
1290
1297
|
scale: e
|
|
@@ -1301,7 +1308,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1301
1308
|
let Mi = b(() => {
|
|
1302
1309
|
let e = R.value.table.useDialog && !R.value.table.show, t = H.value.showTable;
|
|
1303
1310
|
return {
|
|
1304
|
-
component: e ?
|
|
1311
|
+
component: e ? Jt : Ut,
|
|
1305
1312
|
title: `${R.value.style.chart.title.text}${R.value.style.chart.title.subtitle.text ? `: ${R.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1306
1313
|
props: e ? {
|
|
1307
1314
|
backgroundColor: R.value.table.th.backgroundColor,
|
|
@@ -1309,7 +1316,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1309
1316
|
headerColor: R.value.table.th.color,
|
|
1310
1317
|
headerBg: R.value.table.th.backgroundColor,
|
|
1311
1318
|
isFullscreen: ln.value,
|
|
1312
|
-
fullscreenParent:
|
|
1319
|
+
fullscreenParent: P.value,
|
|
1313
1320
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1314
1321
|
isCursorPointer: z.value
|
|
1315
1322
|
} : {
|
|
@@ -1329,7 +1336,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1329
1336
|
}
|
|
1330
1337
|
};
|
|
1331
1338
|
});
|
|
1332
|
-
|
|
1339
|
+
$e(() => H.value.showTable, (e) => {
|
|
1333
1340
|
R.value.table.show || (e && R.value.table.useDialog && hn.value ? hn.value.open() : "close" in hn.value && hn.value.close());
|
|
1334
1341
|
});
|
|
1335
1342
|
function Ni() {
|
|
@@ -1366,8 +1373,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1366
1373
|
});
|
|
1367
1374
|
}
|
|
1368
1375
|
let Bi = b(() => Array(K.value).fill(0).map((e, t) => zi(t)));
|
|
1369
|
-
|
|
1370
|
-
if ([null, void 0].includes(
|
|
1376
|
+
$e(() => N.selectedXIndex, (e) => {
|
|
1377
|
+
if ([null, void 0].includes(N.selectedXIndex)) {
|
|
1371
1378
|
$.value = null;
|
|
1372
1379
|
return;
|
|
1373
1380
|
}
|
|
@@ -1429,7 +1436,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1429
1436
|
if (R.value.style.chart.lines.useArea) {
|
|
1430
1437
|
let t = R.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`;
|
|
1431
1438
|
l.push(`<path d="${t}"
|
|
1432
|
-
fill="${
|
|
1439
|
+
fill="${Qt.pattern ? `url(#pattern_${F.value}_${e.absoluteIndex})` : (R.value.style.chart.lines.gradient.show, e.color)}"
|
|
1433
1440
|
opacity="${R.value.style.chart.lines.areaOpacity}"
|
|
1434
1441
|
stroke="none" />`);
|
|
1435
1442
|
}
|
|
@@ -1470,7 +1477,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1470
1477
|
if (R.value.style.chart.lines.useArea) {
|
|
1471
1478
|
let e = R.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`;
|
|
1472
1479
|
m.push(`<path d="${e}"
|
|
1473
|
-
fill="${
|
|
1480
|
+
fill="${Qt.pattern ? `url(#pattern_${F.value}_${r.absoluteIndex})` : (R.value.style.chart.lines.gradient.show, r.color)}"
|
|
1474
1481
|
opacity="${R.value.style.chart.lines.areaOpacity}"
|
|
1475
1482
|
stroke="none" />`);
|
|
1476
1483
|
}
|
|
@@ -1525,7 +1532,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1525
1532
|
}
|
|
1526
1533
|
function qi({ seriesIndex: e, datapoint: t }) {
|
|
1527
1534
|
let n = q.value.start + e;
|
|
1528
|
-
|
|
1535
|
+
$t("selectX", {
|
|
1529
1536
|
dataset: t,
|
|
1530
1537
|
index: n,
|
|
1531
1538
|
indexLabel: R.value.style.chart.grid.x.timeLabels.values[n]
|
|
@@ -1543,7 +1550,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1543
1550
|
Qn();
|
|
1544
1551
|
}
|
|
1545
1552
|
async function Yi() {
|
|
1546
|
-
if (
|
|
1553
|
+
if ($t("copyAlt", {
|
|
1547
1554
|
config: R.value,
|
|
1548
1555
|
dataset: Y.value
|
|
1549
1556
|
}), !R.value.userOptions.callbacks.altCopy) {
|
|
@@ -1560,7 +1567,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1560
1567
|
L.value = null, Xi.value = !0;
|
|
1561
1568
|
}
|
|
1562
1569
|
function Qi() {
|
|
1563
|
-
L.value = null, An.value = "pointer", tn.value = !1, $.value = null,
|
|
1570
|
+
L.value = null, An.value = "pointer", tn.value = !1, $.value = null, $t("selectX", {
|
|
1564
1571
|
seriesIndex: null,
|
|
1565
1572
|
datapoint: null
|
|
1566
1573
|
}), Xi.value = !1;
|
|
@@ -1570,7 +1577,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1570
1577
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1571
1578
|
if (!t && !n && !r && !i) return;
|
|
1572
1579
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1573
|
-
L.value = null, An.value = "pointer", tn.value = !1, $.value = null,
|
|
1580
|
+
L.value = null, An.value = "pointer", tn.value = !1, $.value = null, $t("selectX", {
|
|
1574
1581
|
seriesIndex: null,
|
|
1575
1582
|
datapoint: null
|
|
1576
1583
|
});
|
|
@@ -1611,7 +1618,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1611
1618
|
}), (t, n) => (D(), C("div", {
|
|
1612
1619
|
id: `stackline_${F.value}`,
|
|
1613
1620
|
ref_key: "stacklineChart",
|
|
1614
|
-
ref:
|
|
1621
|
+
ref: P,
|
|
1615
1622
|
class: We({
|
|
1616
1623
|
"vue-data-ui-component": !0,
|
|
1617
1624
|
"vue-ui-stackline": !0,
|
|
@@ -1624,7 +1631,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1624
1631
|
w("div", {
|
|
1625
1632
|
id: `chart-instructions-${F.value}`,
|
|
1626
1633
|
class: "sr-only"
|
|
1627
|
-
}, [w("p", null,
|
|
1634
|
+
}, [w("p", null, Xe(R.value.a11y.translations.keyboardNavigation), 1)], 8, rt),
|
|
1628
1635
|
ta.value?.rows?.length ? (D(), x(Me, {
|
|
1629
1636
|
key: 0,
|
|
1630
1637
|
uid: F.value,
|
|
@@ -1639,21 +1646,21 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1639
1646
|
"notice",
|
|
1640
1647
|
"caption"
|
|
1641
1648
|
])) : S("", !0),
|
|
1642
|
-
R.value.userOptions.buttons.annotator ? (D(), x(
|
|
1649
|
+
R.value.userOptions.buttons.annotator ? (D(), x(j(Gt), {
|
|
1643
1650
|
key: 1,
|
|
1644
|
-
svgRef:
|
|
1651
|
+
svgRef: j(V),
|
|
1645
1652
|
backgroundColor: R.value.style.chart.backgroundColor,
|
|
1646
1653
|
color: R.value.style.chart.color,
|
|
1647
1654
|
active: In.value,
|
|
1648
1655
|
isCursorPointer: z.value,
|
|
1649
1656
|
onClose: Ln
|
|
1650
1657
|
}, {
|
|
1651
|
-
"annotator-action-close":
|
|
1652
|
-
"annotator-action-color":
|
|
1653
|
-
"annotator-action-draw":
|
|
1654
|
-
"annotator-action-undo":
|
|
1655
|
-
"annotator-action-redo":
|
|
1656
|
-
"annotator-action-delete":
|
|
1658
|
+
"annotator-action-close": M(() => [A(t.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1659
|
+
"annotator-action-color": M(({ color: e }) => [A(t.$slots, "annotator-action-color", E(T({ color: e })), void 0, !0)]),
|
|
1660
|
+
"annotator-action-draw": M(({ mode: e }) => [A(t.$slots, "annotator-action-draw", E(T({ mode: e })), void 0, !0)]),
|
|
1661
|
+
"annotator-action-undo": M(({ disabled: e }) => [A(t.$slots, "annotator-action-undo", E(T({ disabled: e })), void 0, !0)]),
|
|
1662
|
+
"annotator-action-redo": M(({ disabled: e }) => [A(t.$slots, "annotator-action-redo", E(T({ disabled: e })), void 0, !0)]),
|
|
1663
|
+
"annotator-action-delete": M(({ disabled: e }) => [A(t.$slots, "annotator-action-delete", E(T({ disabled: e })), void 0, !0)]),
|
|
1657
1664
|
_: 3
|
|
1658
1665
|
}, 8, [
|
|
1659
1666
|
"svgRef",
|
|
@@ -1688,15 +1695,15 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1688
1695
|
}
|
|
1689
1696
|
}
|
|
1690
1697
|
}, null, 8, ["config"]))], 512)) : S("", !0),
|
|
1691
|
-
w("div", { id: `legend-top-${F.value}` }, null, 8,
|
|
1692
|
-
R.value.userOptions.show &&
|
|
1698
|
+
w("div", { id: `legend-top-${F.value}` }, null, 8, it),
|
|
1699
|
+
R.value.userOptions.show && en.value && (j(Un) || j(Vn)) ? (D(), x(j(Kt), {
|
|
1693
1700
|
ref_key: "userOptionsRef",
|
|
1694
1701
|
ref: gn,
|
|
1695
1702
|
key: `user_option_${nn.value}`,
|
|
1696
1703
|
backgroundColor: R.value.style.chart.backgroundColor,
|
|
1697
1704
|
color: R.value.style.chart.color,
|
|
1698
|
-
isPrinting:
|
|
1699
|
-
isImaging:
|
|
1705
|
+
isPrinting: j(Yn),
|
|
1706
|
+
isImaging: j(Xn),
|
|
1700
1707
|
uid: F.value,
|
|
1701
1708
|
hasTooltip: R.value.style.chart.tooltip.show && R.value.userOptions.buttons.tooltip,
|
|
1702
1709
|
hasPdf: R.value.userOptions.buttons.pdf,
|
|
@@ -1708,7 +1715,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1708
1715
|
hasFullscreen: R.value.userOptions.buttons.fullscreen,
|
|
1709
1716
|
hasAltCopy: R.value.userOptions.buttons.altCopy,
|
|
1710
1717
|
isFullscreen: ln.value,
|
|
1711
|
-
chartElement:
|
|
1718
|
+
chartElement: P.value,
|
|
1712
1719
|
position: R.value.userOptions.position,
|
|
1713
1720
|
isTooltip: H.value.showTooltip,
|
|
1714
1721
|
titles: { ...R.value.userOptions.buttonTitles },
|
|
@@ -1719,7 +1726,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1719
1726
|
tableDialog: R.value.table.useDialog,
|
|
1720
1727
|
isCursorPointer: z.value,
|
|
1721
1728
|
onToggleFullscreen: Pi,
|
|
1722
|
-
onGeneratePdf:
|
|
1729
|
+
onGeneratePdf: j(Zn),
|
|
1723
1730
|
onGenerateCsv: wi,
|
|
1724
1731
|
onGenerateImage: Ji,
|
|
1725
1732
|
onGenerateSvg: Ai,
|
|
@@ -1728,11 +1735,11 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1728
1735
|
onToggleTooltip: Li,
|
|
1729
1736
|
onToggleAnnotator: Ln,
|
|
1730
1737
|
onCopyAlt: Yi,
|
|
1731
|
-
style: Ge({ visibility:
|
|
1738
|
+
style: Ge({ visibility: j(Un) ? j(Vn) ? "visible" : "hidden" : "visible" })
|
|
1732
1739
|
}, Re({ _: 2 }, [
|
|
1733
1740
|
t.$slots.menuIcon ? {
|
|
1734
1741
|
name: "menuIcon",
|
|
1735
|
-
fn:
|
|
1742
|
+
fn: M(({ isOpen: e, color: n }) => [A(t.$slots, "menuIcon", E(T({
|
|
1736
1743
|
isOpen: e,
|
|
1737
1744
|
color: n
|
|
1738
1745
|
})), void 0, !0)]),
|
|
@@ -1740,42 +1747,42 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1740
1747
|
} : void 0,
|
|
1741
1748
|
t.$slots.optionTooltip ? {
|
|
1742
1749
|
name: "optionTooltip",
|
|
1743
|
-
fn:
|
|
1750
|
+
fn: M(() => [A(t.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1744
1751
|
key: "1"
|
|
1745
1752
|
} : void 0,
|
|
1746
1753
|
t.$slots.optionPdf ? {
|
|
1747
1754
|
name: "optionPdf",
|
|
1748
|
-
fn:
|
|
1755
|
+
fn: M(() => [A(t.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1749
1756
|
key: "2"
|
|
1750
1757
|
} : void 0,
|
|
1751
1758
|
t.$slots.optionCsv ? {
|
|
1752
1759
|
name: "optionCsv",
|
|
1753
|
-
fn:
|
|
1760
|
+
fn: M(() => [A(t.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1754
1761
|
key: "3"
|
|
1755
1762
|
} : void 0,
|
|
1756
1763
|
t.$slots.optionImg ? {
|
|
1757
1764
|
name: "optionImg",
|
|
1758
|
-
fn:
|
|
1765
|
+
fn: M(() => [A(t.$slots, "optionImg", {}, void 0, !0)]),
|
|
1759
1766
|
key: "4"
|
|
1760
1767
|
} : void 0,
|
|
1761
1768
|
t.$slots.optionSvg ? {
|
|
1762
1769
|
name: "optionSvg",
|
|
1763
|
-
fn:
|
|
1770
|
+
fn: M(() => [A(t.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1764
1771
|
key: "5"
|
|
1765
1772
|
} : void 0,
|
|
1766
1773
|
t.$slots.optionTable ? {
|
|
1767
1774
|
name: "optionTable",
|
|
1768
|
-
fn:
|
|
1775
|
+
fn: M(() => [A(t.$slots, "optionTable", {}, void 0, !0)]),
|
|
1769
1776
|
key: "6"
|
|
1770
1777
|
} : void 0,
|
|
1771
1778
|
t.$slots.optionLabels ? {
|
|
1772
1779
|
name: "optionLabels",
|
|
1773
|
-
fn:
|
|
1780
|
+
fn: M(() => [A(t.$slots, "optionLabels", {}, void 0, !0)]),
|
|
1774
1781
|
key: "7"
|
|
1775
1782
|
} : void 0,
|
|
1776
1783
|
t.$slots.optionFullscreen ? {
|
|
1777
1784
|
name: "optionFullscreen",
|
|
1778
|
-
fn:
|
|
1785
|
+
fn: M(({ toggleFullscreen: e, isFullscreen: n }) => [A(t.$slots, "optionFullscreen", E(T({
|
|
1779
1786
|
toggleFullscreen: e,
|
|
1780
1787
|
isFullscreen: n
|
|
1781
1788
|
})), void 0, !0)]),
|
|
@@ -1783,7 +1790,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1783
1790
|
} : void 0,
|
|
1784
1791
|
t.$slots.optionAnnotator ? {
|
|
1785
1792
|
name: "optionAnnotator",
|
|
1786
|
-
fn:
|
|
1793
|
+
fn: M(({ toggleAnnotator: e, isAnnotator: n }) => [A(t.$slots, "optionAnnotator", E(T({
|
|
1787
1794
|
toggleAnnotator: e,
|
|
1788
1795
|
isAnnotator: n
|
|
1789
1796
|
})), void 0, !0)]),
|
|
@@ -1791,18 +1798,18 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1791
1798
|
} : void 0,
|
|
1792
1799
|
t.$slots.optionAltCopy ? {
|
|
1793
1800
|
name: "optionAltCopy",
|
|
1794
|
-
fn:
|
|
1801
|
+
fn: M(({ altCopy: e }) => [A(t.$slots, "optionAltCopy", E(T({ altCopy: e })), void 0, !0)]),
|
|
1795
1802
|
key: "10"
|
|
1796
1803
|
} : void 0
|
|
1797
1804
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : S("", !0),
|
|
1798
|
-
w("div",
|
|
1805
|
+
w("div", at, [(D(), C("svg", {
|
|
1799
1806
|
ref_key: "svgRef",
|
|
1800
1807
|
ref: V,
|
|
1801
1808
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
1802
|
-
xmlns:
|
|
1809
|
+
xmlns: j(oe),
|
|
1803
1810
|
viewBox: `0 0 ${W.value.chartWidth <= 0 ? 10 : W.value.chartWidth} ${W.value.chartHeight <= 0 ? 10 : W.value.chartHeight}`,
|
|
1804
1811
|
class: We({
|
|
1805
|
-
"vue-data-ui-loading":
|
|
1812
|
+
"vue-data-ui-loading": j(B),
|
|
1806
1813
|
"no-transition": !R.value.useCssAnimation
|
|
1807
1814
|
}),
|
|
1808
1815
|
style: Ge(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.chart.color}`),
|
|
@@ -1817,8 +1824,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1817
1824
|
onBlur: Qi,
|
|
1818
1825
|
onKeydown: $i
|
|
1819
1826
|
}, [
|
|
1820
|
-
Be(
|
|
1821
|
-
(D(!0), C(y, null, k(mr.value, (e) => (D(), C(y, null, [t.$slots.pattern ? (D(), C("defs",
|
|
1827
|
+
Be(j(qt)),
|
|
1828
|
+
(D(!0), C(y, null, k(mr.value, (e) => (D(), C(y, null, [t.$slots.pattern ? (D(), C("defs", st, [A(t.$slots, "pattern", He({ ref_for: !0 }, {
|
|
1822
1829
|
seriesIndex: e.absoluteIndex,
|
|
1823
1830
|
patternId: `pattern_${F.value}_${e.absoluteIndex}`
|
|
1824
1831
|
}), void 0, !0)])) : S("", !0)], 64))), 256)),
|
|
@@ -1829,8 +1836,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1829
1836
|
width: X.value.width,
|
|
1830
1837
|
height: W.value.height,
|
|
1831
1838
|
style: { pointerEvents: "none" }
|
|
1832
|
-
}, [A(t.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1833
|
-
R.value.style.chart.lines.gradient.show ? (D(), C("defs",
|
|
1839
|
+
}, [A(t.$slots, "chart-background", {}, void 0, !0)], 8, ct)) : S("", !0),
|
|
1840
|
+
R.value.style.chart.lines.gradient.show ? (D(), C("defs", lt, [(D(!0), C(y, null, k(Y.value, (e, t) => (D(), C("linearGradient", {
|
|
1834
1841
|
id: `gradient_${e.id}`,
|
|
1835
1842
|
x1: "0%",
|
|
1836
1843
|
y1: "0%",
|
|
@@ -1839,10 +1846,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1839
1846
|
}, [w("stop", {
|
|
1840
1847
|
offset: "0%",
|
|
1841
1848
|
"stop-color": e.color
|
|
1842
|
-
}, null, 8,
|
|
1849
|
+
}, null, 8, dt), w("stop", {
|
|
1843
1850
|
offset: "100%",
|
|
1844
|
-
"stop-color":
|
|
1845
|
-
}, null, 8,
|
|
1851
|
+
"stop-color": j(ue)(e.color, R.value.style.chart.lines.gradient.intensity / 100)
|
|
1852
|
+
}, null, 8, ft)], 8, ut))), 256))])) : S("", !0),
|
|
1846
1853
|
R.value.style.chart.grid.x.showHorizontalLines ? (D(!0), C(y, { key: 2 }, k(Fr.value, (e, t) => (D(), C("line", {
|
|
1847
1854
|
x1: X.value.left,
|
|
1848
1855
|
x2: X.value.right,
|
|
@@ -1852,7 +1859,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1852
1859
|
"stroke-width": R.value.style.chart.grid.x.linesThickness,
|
|
1853
1860
|
"stroke-dasharray": R.value.style.chart.grid.x.linesStrokeDasharray,
|
|
1854
1861
|
"stroke-linecap": "round"
|
|
1855
|
-
}, null, 8,
|
|
1862
|
+
}, null, 8, pt))), 256)) : S("", !0),
|
|
1856
1863
|
R.value.style.chart.grid.y.showVerticalLines ? (D(!0), C(y, { key: 3 }, k(q.value.end - q.value.start, (e, t) => (D(), C("line", {
|
|
1857
1864
|
x1: Q(t),
|
|
1858
1865
|
x2: Q(t),
|
|
@@ -1862,7 +1869,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1862
1869
|
"stroke-width": R.value.style.chart.grid.y.linesThickness,
|
|
1863
1870
|
"stroke-dasharray": R.value.style.chart.grid.y.linesStrokeDasharray,
|
|
1864
1871
|
"stroke-linecap": "round"
|
|
1865
|
-
}, null, 8,
|
|
1872
|
+
}, null, 8, mt))), 256)) : S("", !0),
|
|
1866
1873
|
R.value.style.chart.grid.x.showAxis ? (D(), C("line", {
|
|
1867
1874
|
key: 4,
|
|
1868
1875
|
x1: X.value.left,
|
|
@@ -1873,7 +1880,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1873
1880
|
"stroke-width": R.value.style.chart.grid.x.axisThickness,
|
|
1874
1881
|
"stroke-linecap": "round",
|
|
1875
1882
|
"stroke-linejoin": "round"
|
|
1876
|
-
}, null, 8,
|
|
1883
|
+
}, null, 8, ht)) : S("", !0),
|
|
1877
1884
|
R.value.style.chart.grid.y.showAxis && !R.value.style.chart.lines.distributed ? (D(), C("line", {
|
|
1878
1885
|
key: 5,
|
|
1879
1886
|
x1: X.value.left,
|
|
@@ -1884,7 +1891,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1884
1891
|
"stroke-width": R.value.style.chart.grid.y.axisThickness,
|
|
1885
1892
|
"stroke-linecap": "round",
|
|
1886
1893
|
"stroke-linejoin": "round"
|
|
1887
|
-
}, null, 8,
|
|
1894
|
+
}, null, 8, gt)) : S("", !0),
|
|
1888
1895
|
R.value.style.chart.grid.x.axisName.show && R.value.style.chart.grid.x.axisName.text ? (D(), C("text", {
|
|
1889
1896
|
key: 6,
|
|
1890
1897
|
ref_key: "xAxisLabel",
|
|
@@ -1895,7 +1902,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1895
1902
|
fill: R.value.style.chart.grid.x.axisName.color,
|
|
1896
1903
|
"font-weight": R.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
|
|
1897
1904
|
"text-anchor": "middle"
|
|
1898
|
-
},
|
|
1905
|
+
}, Xe(R.value.style.chart.grid.x.axisName.text), 9, _t)) : S("", !0),
|
|
1899
1906
|
R.value.style.chart.grid.y.axisName.show && R.value.style.chart.grid.y.axisName.text ? (D(), C("text", {
|
|
1900
1907
|
key: 7,
|
|
1901
1908
|
ref_key: "yAxisLabel",
|
|
@@ -1905,7 +1912,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1905
1912
|
fill: R.value.style.chart.grid.y.axisName.color,
|
|
1906
1913
|
"font-weight": R.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
|
|
1907
1914
|
"text-anchor": "middle"
|
|
1908
|
-
},
|
|
1915
|
+
}, Xe(R.value.style.chart.grid.y.axisName.text), 9, vt)) : S("", !0),
|
|
1909
1916
|
R.value.style.chart.grid.frame.show ? (D(), C("rect", {
|
|
1910
1917
|
key: 8,
|
|
1911
1918
|
style: {
|
|
@@ -1923,22 +1930,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1923
1930
|
"stroke-linecap": R.value.style.chart.grid.frame.strokeLinecap,
|
|
1924
1931
|
"stroke-linejoin": R.value.style.chart.grid.frame.strokeLinejoin,
|
|
1925
1932
|
"stroke-dasharray": R.value.style.chart.grid.frame.strokeDasharray
|
|
1926
|
-
}, null, 8,
|
|
1933
|
+
}, null, 8, yt)) : S("", !0),
|
|
1927
1934
|
(D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [R.value.style.chart.lines.useArea && !e.standalone ? (D(), C("path", {
|
|
1928
1935
|
key: 0,
|
|
1929
1936
|
d: R.value.style.chart.lines.smooth ? e.smoothArea : e.straightArea,
|
|
1930
1937
|
fill: t.$slots.pattern ? `url(#pattern_${F.value}_${e.absoluteIndex})` : R.value.style.chart.lines.gradient.show ? `url(#gradient_${e.id})` : e.color,
|
|
1931
1938
|
opacity: R.value.style.chart.lines.areaOpacity,
|
|
1932
|
-
style: Ge({ transition:
|
|
1933
|
-
}, null, 12,
|
|
1939
|
+
style: Ge({ transition: j(B) || !R.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
|
|
1940
|
+
}, null, 12, bt)) : S("", !0)], 64))), 256)),
|
|
1934
1941
|
(D(!0), C(y, null, k(Y.value, (e) => (D(), C("path", {
|
|
1935
1942
|
d: R.value.style.chart.lines.smooth ? e.smoothPath : e.straightPath,
|
|
1936
1943
|
stroke: R.value.style.chart.lines.path.useSerieColor ? e.color : R.value.style.chart.lines.path.stroke,
|
|
1937
1944
|
"stroke-width": R.value.style.chart.lines.strokeWidth,
|
|
1938
1945
|
fill: "none",
|
|
1939
1946
|
"stroke-linecap": "round",
|
|
1940
|
-
style: Ge({ transition:
|
|
1941
|
-
}, null, 12,
|
|
1947
|
+
style: Ge({ transition: j(B) || !R.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
|
|
1948
|
+
}, null, 12, xt))), 256)),
|
|
1942
1949
|
R.value.style.chart.grid.y.axisLabels.show && !R.value.style.chart.lines.distributed ? (D(), C("g", {
|
|
1943
1950
|
key: 9,
|
|
1944
1951
|
ref_key: "scaleLabels",
|
|
@@ -1950,24 +1957,24 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1950
1957
|
y2: e.y,
|
|
1951
1958
|
stroke: R.value.style.chart.grid.x.axisColor,
|
|
1952
1959
|
"stroke-width": 1
|
|
1953
|
-
}, null, 8,
|
|
1960
|
+
}, null, 8, St))), 256)), (D(!0), C(y, null, k(Fr.value, (e, t) => (D(), C("text", {
|
|
1954
1961
|
x: e.x,
|
|
1955
1962
|
y: e.y + R.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
1956
1963
|
"font-size": R.value.style.chart.grid.y.axisLabels.fontSize,
|
|
1957
1964
|
"font-weight": R.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1958
1965
|
fill: R.value.style.chart.grid.y.axisLabels.color,
|
|
1959
1966
|
"text-anchor": "end"
|
|
1960
|
-
}, j(
|
|
1967
|
+
}, Xe(j(_)(R.value.style.chart.grid.y.axisLabels.formatter, e.value, j(r)({
|
|
1961
1968
|
p: R.value.style.chart.lines.dataLabels.prefix,
|
|
1962
1969
|
v: e.value,
|
|
1963
1970
|
s: R.value.style.chart.lines.dataLabels.suffix,
|
|
1964
1971
|
r: R.value.style.chart.grid.y.axisLabels.rounding
|
|
1965
|
-
}), { datapoint: e })), 9,
|
|
1972
|
+
}), { datapoint: e })), 9, Ct))), 256))], 512)) : S("", !0),
|
|
1966
1973
|
R.value.style.chart.grid.x.timeLabels.show ? (D(), C("g", {
|
|
1967
1974
|
key: 10,
|
|
1968
1975
|
ref_key: "timeLabelsEls",
|
|
1969
1976
|
ref: Cn
|
|
1970
|
-
}, [t.$slots["time-label"] ? (D(), C("g",
|
|
1977
|
+
}, [t.$slots["time-label"] ? (D(), C("g", wt, [(D(!0), C(y, null, k(Vr.value, (e, n) => (D(), C("g", null, [A(t.$slots, "time-label", He({ ref_for: !0 }, {
|
|
1971
1978
|
x: W.value.left + wr.value * n + wr.value / 2,
|
|
1972
1979
|
y: W.value.bottom + R.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + R.value.style.chart.grid.x.timeLabels.offsetY,
|
|
1973
1980
|
fontSize: R.value.style.chart.grid.x.timeLabels.fontSize,
|
|
@@ -1977,7 +1984,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1977
1984
|
content: e.text,
|
|
1978
1985
|
textAnchor: R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1979
1986
|
show: !0
|
|
1980
|
-
}), void 0, !0)]))), 256))])) : (D(), C("g",
|
|
1987
|
+
}), void 0, !0)]))), 256))])) : (D(), C("g", Tt, [(D(!0), C(y, null, k(Vr.value, (e, n) => (D(), C("g", null, [String(e.text).includes("\n") ? (D(), C("text", {
|
|
1981
1988
|
key: n + "-multi",
|
|
1982
1989
|
"text-anchor": R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1983
1990
|
"font-size": R.value.style.chart.grid.x.timeLabels.fontSize,
|
|
@@ -1998,7 +2005,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
1998
2005
|
y: 0
|
|
1999
2006
|
}),
|
|
2000
2007
|
onClick: () => hi(e, n)
|
|
2001
|
-
}, null, 12,
|
|
2008
|
+
}, null, 12, Dt)) : (D(), C("text", {
|
|
2002
2009
|
class: "vue-data-ui-time-label",
|
|
2003
2010
|
key: n,
|
|
2004
2011
|
"text-anchor": R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -2008,23 +2015,23 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2008
2015
|
transform: `translate(${Q(n)}, ${W.value.bottom + R.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + R.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${R.value.style.chart.grid.x.timeLabels.rotation})`,
|
|
2009
2016
|
style: Ge({ cursor: z.value ? "pointer" : "default" }),
|
|
2010
2017
|
onClick: () => hi(e, n)
|
|
2011
|
-
},
|
|
2018
|
+
}, Xe(e.text), 13, Et))]))), 256))]))], 512)) : S("", !0),
|
|
2012
2019
|
(_n.value || ![null, void 0].includes($.value)) && !R.value.style.chart.highlighter.useLine ? (D(!0), C(y, { key: 11 }, k(q.value.end - q.value.start, (e, t) => (D(), C("g", { key: `tooltip_trap_highlighter_${t}` }, [w("rect", {
|
|
2013
2020
|
x: oi(t).x,
|
|
2014
2021
|
y: W.value.top,
|
|
2015
2022
|
height: W.value.height,
|
|
2016
2023
|
width: oi(t).width,
|
|
2017
|
-
fill: [Fn.value, $.value].includes(t) ?
|
|
2024
|
+
fill: [Fn.value, $.value].includes(t) ? j(ee)(R.value.style.chart.highlighter.color, R.value.style.chart.highlighter.opacity) : "transparent",
|
|
2018
2025
|
style: {
|
|
2019
2026
|
transition: "none !important",
|
|
2020
2027
|
animation: "none !important"
|
|
2021
2028
|
}
|
|
2022
|
-
}, null, 8,
|
|
2023
|
-
(_n.value || ![null, void 0].includes($.value)) && R.value.style.chart.highlighter.useLine ? (D(), C(y, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Fn.value) ? (D(), C("g",
|
|
2029
|
+
}, null, 8, Ot)]))), 128)) : S("", !0),
|
|
2030
|
+
(_n.value || ![null, void 0].includes($.value)) && R.value.style.chart.highlighter.useLine ? (D(), C(y, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Fn.value) ? (D(), C("g", kt, [w("line", {
|
|
2024
2031
|
x1: Q(($.value ?? Fn.value) || 0),
|
|
2025
2032
|
x2: Q(($.value ?? Fn.value) || 0),
|
|
2026
|
-
y1:
|
|
2027
|
-
y2:
|
|
2033
|
+
y1: j(m)(W.value.top),
|
|
2034
|
+
y2: j(m)(W.value.bottom),
|
|
2028
2035
|
stroke: R.value.style.chart.highlighter.color,
|
|
2029
2036
|
"stroke-width": R.value.style.chart.highlighter.lineWidth,
|
|
2030
2037
|
"stroke-dasharray": R.value.style.chart.highlighter.lineDasharray,
|
|
@@ -2034,8 +2041,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2034
2041
|
animation: "none !important",
|
|
2035
2042
|
"pointer-events": "none"
|
|
2036
2043
|
}
|
|
2037
|
-
}, null, 8,
|
|
2038
|
-
(D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [_n.value && q.value.end - q.value.start > R.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (D(), C("g",
|
|
2044
|
+
}, null, 8, At)])) : S("", !0)], 64)) : S("", !0),
|
|
2045
|
+
(D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [_n.value && q.value.end - q.value.start > R.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (D(), C("g", jt, [$.value == null ? S("", !0) : (D(), C(y, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[q.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[q.value.start + $.value]) ? (D(), x(Ee, {
|
|
2039
2046
|
key: 0,
|
|
2040
2047
|
shape: [
|
|
2041
2048
|
"triangle",
|
|
@@ -2047,13 +2054,13 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2047
2054
|
].includes(e.shape) ? e.shape : "circle",
|
|
2048
2055
|
color: R.value.style.chart.lines.dot.useSerieColor ? e.color : R.value.style.chart.lines.dot.fill,
|
|
2049
2056
|
plot: {
|
|
2050
|
-
x:
|
|
2051
|
-
y:
|
|
2057
|
+
x: j(se)(e.points[e.rel.indexOf($.value)].x),
|
|
2058
|
+
y: j(se)(e.points[e.rel.indexOf($.value)].y)
|
|
2052
2059
|
},
|
|
2053
2060
|
radius: R.value.style.chart.lines.dot.radius * 1.3,
|
|
2054
2061
|
stroke: R.value.style.chart.lines.dot.useSerieColor ? R.value.style.chart.lines.dot.stroke : e.color,
|
|
2055
2062
|
strokeWidth: R.value.style.chart.lines.dot.strokeWidth,
|
|
2056
|
-
transition:
|
|
2063
|
+
transition: j(B) ? void 0 : `all ${R.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
|
|
2057
2064
|
}, null, 8, [
|
|
2058
2065
|
"shape",
|
|
2059
2066
|
"color",
|
|
@@ -2081,7 +2088,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2081
2088
|
radius: _n.value && $.value === e.rel[n] ? R.value.style.chart.lines.dot.radius * 1.3 : R.value.style.chart.lines.dot.radius,
|
|
2082
2089
|
stroke: R.value.style.chart.lines.dot.useSerieColor ? R.value.style.chart.lines.dot.stroke : e.color,
|
|
2083
2090
|
strokeWidth: R.value.style.chart.lines.dot.strokeWidth,
|
|
2084
|
-
transition:
|
|
2091
|
+
transition: j(B) ? void 0 : `all ${R.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
|
|
2085
2092
|
}, null, 8, [
|
|
2086
2093
|
"shape",
|
|
2087
2094
|
"color",
|
|
@@ -2099,7 +2106,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2099
2106
|
fill: R.value.style.chart.lines.dataLabels.color,
|
|
2100
2107
|
"font-weight": R.value.style.chart.lines.dataLabels.bold ? "bold" : "normal",
|
|
2101
2108
|
"text-anchor": "middle"
|
|
2102
|
-
},
|
|
2109
|
+
}, Xe(R.value.style.chart.lines.showDistributedPercentage && R.value.style.chart.lines.distributed ? Ki(e.proportions[r] * 100, e, t, e.rel[r]) : Gi(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 9, Mt)) : S("", !0)], 64))), 128))]))), 128)), R.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (D(), C("g", {
|
|
2103
2110
|
key: 0,
|
|
2104
2111
|
ref_key: "sumTop",
|
|
2105
2112
|
ref: wn
|
|
@@ -2111,22 +2118,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2111
2118
|
"font-size": R.value.style.chart.lines.totalValues.fontSize,
|
|
2112
2119
|
"font-weight": R.value.style.chart.lines.totalValues.bold ? "bold" : "normal",
|
|
2113
2120
|
fill: R.value.style.chart.lines.totalValues.color
|
|
2114
|
-
},
|
|
2121
|
+
}, Xe(Gi(e.value, e, t, t, e.sign)), 9, Nt)) : S("", !0)], 64))), 256))], 512)) : S("", !0)], 64)) : S("", !0),
|
|
2115
2122
|
vr.value ? (D(), C("rect", He({ key: 14 }, pr.value, {
|
|
2116
2123
|
"data-start": q.value.start,
|
|
2117
2124
|
"data-end": q.value.end
|
|
2118
|
-
}), null, 16,
|
|
2125
|
+
}), null, 16, Pt)) : S("", !0),
|
|
2119
2126
|
A(t.$slots, "svg", { svg: {
|
|
2120
2127
|
drawingArea: W.value,
|
|
2121
2128
|
data: Y.value,
|
|
2122
|
-
isPrintingImg:
|
|
2129
|
+
isPrintingImg: j(Yn) || j(Xn) || vn.value,
|
|
2123
2130
|
isPrintingSvg: yn.value
|
|
2124
2131
|
} }, void 0, !0)
|
|
2125
|
-
], 46,
|
|
2132
|
+
], 46, ot)), t.$slots.hint ? (D(), C("div", Ft, [A(t.$slots, "hint", E(T({
|
|
2126
2133
|
hint: R.value.a11y.translations.keyboardNavigation,
|
|
2127
2134
|
isVisible: Xi.value
|
|
2128
2135
|
})), void 0, !0)])) : S("", !0)]),
|
|
2129
|
-
t.$slots.watermark ? (D(), C("div",
|
|
2136
|
+
t.$slots.watermark ? (D(), C("div", It, [A(t.$slots, "watermark", E(T({ isPrinting: j(Yn) || j(Xn) || vn.value || yn.value })), void 0, !0)])) : S("", !0),
|
|
2130
2137
|
mn.value && (R.value.style.chart.legend.show || t.$slots.legend) ? (D(), x(Le, {
|
|
2131
2138
|
key: 6,
|
|
2132
2139
|
to: R.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
|
|
@@ -2140,12 +2147,12 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2140
2147
|
isCursorPointer: z.value,
|
|
2141
2148
|
onClickMarker: n[0] ||= ({ legend: e }) => e.segregate()
|
|
2142
2149
|
}, Re({
|
|
2143
|
-
item:
|
|
2150
|
+
item: M(({ legend: e }) => [j(B) ? S("", !0) : (D(), C("div", {
|
|
2144
2151
|
key: 0,
|
|
2145
2152
|
onClick: (t) => e.segregate(),
|
|
2146
2153
|
style: Ge(`opacity:${I.value.includes(e.id) ? .5 : 1}`)
|
|
2147
|
-
},
|
|
2148
|
-
legendToggle:
|
|
2154
|
+
}, Xe(e.name), 13, Lt))]),
|
|
2155
|
+
legendToggle: M(() => [vi.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !j(B) ? (D(), x(je, {
|
|
2149
2156
|
key: 0,
|
|
2150
2157
|
backgroundColor: R.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2151
2158
|
color: R.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -2163,7 +2170,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2163
2170
|
_: 2
|
|
2164
2171
|
}, [t.$slots.pattern ? {
|
|
2165
2172
|
name: "legend-pattern",
|
|
2166
|
-
fn:
|
|
2173
|
+
fn: M(({ legend: e, index: t }) => [Be(Ee, {
|
|
2167
2174
|
shape: e.shape,
|
|
2168
2175
|
radius: 30,
|
|
2169
2176
|
stroke: "none",
|
|
@@ -2179,12 +2186,12 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2179
2186
|
"config",
|
|
2180
2187
|
"isCursorPointer"
|
|
2181
2188
|
])) : S("", !0)], !0)], 512)], 8, ["to"])) : S("", !0),
|
|
2182
|
-
|
|
2189
|
+
en.value && R.value.userOptions.buttons.table ? (D(), x(Je(Mi.value.component), He({ key: 7 }, Mi.value.props, {
|
|
2183
2190
|
ref_key: "tableUnit",
|
|
2184
2191
|
ref: hn,
|
|
2185
2192
|
onClose: Ni
|
|
2186
2193
|
}), Re({
|
|
2187
|
-
content:
|
|
2194
|
+
content: M(() => [Be(j(Wt), {
|
|
2188
2195
|
colNames: Ti.value.colNames,
|
|
2189
2196
|
head: Ti.value.head,
|
|
2190
2197
|
body: Ti.value.body,
|
|
@@ -2194,8 +2201,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2194
2201
|
isCursorPointer: z.value,
|
|
2195
2202
|
onClose: Ni
|
|
2196
2203
|
}, {
|
|
2197
|
-
th:
|
|
2198
|
-
td:
|
|
2204
|
+
th: M(({ th: e }) => [w("div", { innerHTML: e }, null, 8, Rt)]),
|
|
2205
|
+
td: M(({ td: e }) => [ze(Xe(isNaN(Number(e)) ? e : j(r)({
|
|
2199
2206
|
p: R.value.style.chart.lines.dataLabels.prefix,
|
|
2200
2207
|
v: e,
|
|
2201
2208
|
s: R.value.style.chart.lines.dataLabels.suffix,
|
|
@@ -2214,22 +2221,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2214
2221
|
_: 2
|
|
2215
2222
|
}, [R.value.table.useDialog ? {
|
|
2216
2223
|
name: "title",
|
|
2217
|
-
fn:
|
|
2224
|
+
fn: M(() => [ze(Xe(Mi.value.title), 1)]),
|
|
2218
2225
|
key: "0"
|
|
2219
2226
|
} : void 0, R.value.table.useDialog ? {
|
|
2220
2227
|
name: "actions",
|
|
2221
|
-
fn:
|
|
2228
|
+
fn: M(() => [w("button", {
|
|
2222
2229
|
tabindex: "0",
|
|
2223
2230
|
class: "vue-ui-user-options-button",
|
|
2224
2231
|
onClick: n[1] ||= (e) => wi(R.value.userOptions.callbacks.csv),
|
|
2225
2232
|
style: Ge({ cursor: z.value ? "pointer" : "default" })
|
|
2226
|
-
}, [Be(
|
|
2233
|
+
}, [Be(j(Ht), {
|
|
2227
2234
|
name: "fileCsv",
|
|
2228
2235
|
stroke: Mi.value.props.color
|
|
2229
2236
|
}, null, 8, ["stroke"])], 4)]),
|
|
2230
2237
|
key: "1"
|
|
2231
2238
|
} : void 0]), 1040)) : S("", !0),
|
|
2232
|
-
R.value.style.chart.zoom.show &&
|
|
2239
|
+
R.value.style.chart.zoom.show && en.value && Xr.value && K.value > 6 ? (D(), x(Ae, {
|
|
2233
2240
|
key: 8,
|
|
2234
2241
|
ref_key: "chartSlicer",
|
|
2235
2242
|
ref: on,
|
|
@@ -2285,20 +2292,20 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2285
2292
|
"onUpdate:end": ei,
|
|
2286
2293
|
"onUpdate:start": $r,
|
|
2287
2294
|
onTrapMouse: gr,
|
|
2288
|
-
onReset: Cr,
|
|
2289
|
-
onFutureEnd: n[
|
|
2290
|
-
onFutureStart: n[
|
|
2295
|
+
onReset: n[2] ||= () => Cr({ force: !0 }),
|
|
2296
|
+
onFutureEnd: n[3] ||= (e) => yr("end", e),
|
|
2297
|
+
onFutureStart: n[4] ||= (e) => yr("start", e)
|
|
2291
2298
|
}, {
|
|
2292
|
-
"reset-action":
|
|
2293
|
-
slotMap:
|
|
2299
|
+
"reset-action": M(({ reset: e }) => [A(t.$slots, "reset-action", E(T({ reset: e })), void 0, !0)]),
|
|
2300
|
+
slotMap: M(({ width: e, height: t, unitW: n }) => [w("g", { innerHTML: Hi({
|
|
2294
2301
|
minimapW: e,
|
|
2295
2302
|
minimapH: t,
|
|
2296
2303
|
unitW: n
|
|
2297
|
-
}) }, null, 8,
|
|
2304
|
+
}) }, null, 8, zt)]),
|
|
2298
2305
|
_: 3
|
|
2299
2306
|
}, 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),
|
|
2300
|
-
w("div", { id: `legend-bottom-${F.value}` }, null, 8,
|
|
2301
|
-
Be(
|
|
2307
|
+
w("div", { id: `legend-bottom-${F.value}` }, null, 8, Bt),
|
|
2308
|
+
Be(j(Vt), {
|
|
2302
2309
|
teleportTo: R.value.style.chart.tooltip.teleportTo,
|
|
2303
2310
|
show: H.value.showTooltip && tn.value,
|
|
2304
2311
|
backgroundColor: R.value.style.chart.tooltip.backgroundColor,
|
|
@@ -2309,8 +2316,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2309
2316
|
borderWidth: R.value.style.chart.tooltip.borderWidth,
|
|
2310
2317
|
backgroundOpacity: R.value.style.chart.tooltip.backgroundOpacity,
|
|
2311
2318
|
position: R.value.style.chart.tooltip.position,
|
|
2319
|
+
offsetX: R.value.style.chart.tooltip.offsetX,
|
|
2312
2320
|
offsetY: R.value.style.chart.tooltip.offsetY,
|
|
2313
|
-
parent:
|
|
2321
|
+
parent: P.value,
|
|
2314
2322
|
content: pi.value,
|
|
2315
2323
|
isFullscreen: ln.value,
|
|
2316
2324
|
isCustom: R.value.style.chart.tooltip.customFormat && typeof R.value.style.chart.tooltip.customFormat == "function",
|
|
@@ -2321,9 +2329,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2321
2329
|
isA11yMode: An.value === "keyboard",
|
|
2322
2330
|
a11yPosition: kn.value
|
|
2323
2331
|
}, {
|
|
2324
|
-
"tooltip-before":
|
|
2325
|
-
tooltip:
|
|
2326
|
-
"tooltip-after":
|
|
2332
|
+
"tooltip-before": M(() => [A(t.$slots, "tooltip-before", E(T({ ...Jr.value })), void 0, !0)]),
|
|
2333
|
+
tooltip: M(() => [A(t.$slots, "tooltip", E(T({ ...Jr.value })), void 0, !0)]),
|
|
2334
|
+
"tooltip-after": M(() => [A(t.$slots, "tooltip-after", E(T({ ...Jr.value })), void 0, !0)]),
|
|
2327
2335
|
_: 3
|
|
2328
2336
|
}, 8, [
|
|
2329
2337
|
"teleportTo",
|
|
@@ -2336,6 +2344,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2336
2344
|
"borderWidth",
|
|
2337
2345
|
"backgroundOpacity",
|
|
2338
2346
|
"position",
|
|
2347
|
+
"offsetX",
|
|
2339
2348
|
"offsetY",
|
|
2340
2349
|
"parent",
|
|
2341
2350
|
"content",
|
|
@@ -2354,9 +2363,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
|
|
|
2354
2363
|
ref: cn,
|
|
2355
2364
|
dir: "auto"
|
|
2356
2365
|
}, [A(t.$slots, "source", {}, void 0, !0)], 512)) : S("", !0),
|
|
2357
|
-
A(t.$slots, "skeleton", {}, () => [
|
|
2358
|
-
], 46,
|
|
2366
|
+
A(t.$slots, "skeleton", {}, () => [j(B) ? (D(), x(ve, { key: 0 })) : S("", !0)], !0)
|
|
2367
|
+
], 46, nt));
|
|
2359
2368
|
}
|
|
2360
|
-
}, [["__scopeId", "data-v-
|
|
2369
|
+
}, [["__scopeId", "data-v-dd9ec788"]]);
|
|
2361
2370
|
//#endregion
|
|
2362
|
-
export {
|
|
2371
|
+
export { tt as n, Vt as t };
|