vue-data-ui 3.10.0 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-D6MO5wwI.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
- package/dist/components/arrow.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-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-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/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-BzP8Tvow.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-CHeF8XHm.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-CJSA_Lp7.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-BGO-5x4w.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-Ds8aQyR-.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-Chk1Rxwa.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-BX4wS5vL.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-DRGQVzIZ.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-CzS4uqvo.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CTo8Eihw.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-DQ1eQR4G.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-Vw67oxw7.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-CBX0gXdp.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-8T6Nmsxq.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-C2QW-9s6.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-Bn9pd4ij.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-LxJoqDKq.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-Dijfg4TW.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-J7ABN21x.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DAUj4HG5.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-DZIQ7n5z.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-iP8kliCe.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-BzJ9NhwA.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CiKEQ6JR.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-HXGUUZ4g.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-BOOgtokk.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-DZzGx5Dp.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-BA1-O-gB.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-thpUoiBE.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-DR3Ipc9q.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CmCVv7Io.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-D7CQqjbb.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-C5BYiNeE.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-BkWUI7cy.js} +185 -181
- package/dist/vue-ui-ridgeline-CokXNDQ5.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-COs-uwPW.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-od9j3nbg.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-199nlzz-.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CCh-2vX7.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-TotwU9iC.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ma4q7p0M.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-DkkFMKuS.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-B9SwcngG.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-DYz-Vson.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-C_Tl2URC.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CXpElu5C.js} +347 -343
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-DzcjpnIg.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-D_TQyQhl.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-CF5BnI-6.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-BmmwTeyy.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-Bffy4n-P.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-pMFoFCHr.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-DSaqUKWM.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-BavDRJin.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-toELK-fC.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DCTGuXdW.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-7QFSvpGk.js} +6 -6
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-CTJtVYBG.js} +697 -693
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, ref as v, shallowRef as Ue, computed as d, onMounted as
|
|
2
|
-
import { c as Ge, o as qe, g as Ze, l as
|
|
3
|
-
import { t as Ke, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
16
|
-
const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, grid: { xAxis: { stroke: "#5A5A5A" }, horizontalLines: { stroke: "#4A4A4A" }, yAxis: { stroke: "#5A5A5A" }, verticalLines: { stroke: "#4A4A4A" } }, axes: { x: { labels: { color: "#CCCCCC" }, name: { color: "#CCCCCC" } }, y: { labels: { color: "#CCCCCC" }, name: { color: "#CCCCCC" } } }, plots: { stroke: "#1A1A1A", labels: { color: "#CCCCCC" } } } } },
|
|
1
|
+
import { defineAsyncComponent as O, ref as v, shallowRef as Ue, computed as d, onMounted as Zt, onBeforeUnmount as Jt, toRefs as Kt, watch as Q, watchEffect as Qt, createElementBlock as r, openBlock as s, unref as u, normalizeStyle as T, normalizeClass as I, renderSlot as f, createBlock as N, createCommentVNode as h, createElementVNode as L, createVNode as be, withCtx as b, normalizeProps as S, guardReactiveProps as _, createSlots as We, Fragment as m, renderList as C, toDisplayString as z, Teleport as el, resolveDynamicComponent as tl, mergeProps as ll, createTextVNode as Ve, nextTick as al } from "vue";
|
|
2
|
+
import { c as Ge, o as qe, g as Ze, l as ol, t as sl, k as rl, m as nl, j as ee, N as Je, a as R, d as Y, X as il, q as ul, u as cl, $ as vl, x as dl, a2 as P, i as hl, a1 as te, v as yl, r as fl, y as bl } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as Ke, u as xl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as gl, a as xe } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as pl, B as ml } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as Cl } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as kl } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as Al } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as wl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as Ll } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import { u as Sl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
+
import _l from "./img-6fNF_rG0.js";
|
|
13
|
+
import $l from "./Title-NgeRXqRA.js";
|
|
14
|
+
import Tl from "./Legend-DN5UJOBH.js";
|
|
15
|
+
import { _ as Fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Qe = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 }, grid: { horizontalLines: { show: !1 }, verticalLines: { show: !1 } } } } }, et = { userOptions: { show: !1 }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, grid: { xAxis: { stroke: "#5A5A5A" }, horizontalLines: { show: !1, stroke: "#4A4A4A" }, yAxis: { stroke: "#5A5A5A" }, verticalLines: { show: !1, stroke: "#4A4A4A" } }, axes: { x: { labels: { color: "#CCCCCC" }, name: { color: "#CCCCCC" } }, y: { labels: { color: "#CCCCCC" }, name: { color: "#CCCCCC" } } }, plots: { stroke: "#1A1A1A", labels: { color: "#CCCCCC" } } } } }, tt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, grid: { xAxis: { stroke: "#5A5A5A" }, horizontalLines: { stroke: "#4A4A4A" }, yAxis: { stroke: "#5A5A5A" }, verticalLines: { stroke: "#4A4A4A" } }, axes: { x: { labels: { color: "#CCCCCC" }, name: { color: "#CCCCCC" } }, y: { labels: { color: "#CCCCCC" }, name: { color: "#CCCCCC" } } }, plots: { stroke: "#1A1A1A", labels: { color: "#CCCCCC" } } } } }, lt = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, grid: { xAxis: { stroke: "#5D403740" }, horizontalLines: { stroke: "#5D403740" }, yAxis: { stroke: "#5D403740" }, verticalLines: { stroke: "#5D403740" } }, axes: { x: { labels: { color: "#424242" }, name: { color: "#424242" } }, y: { labels: { color: "#424242" }, name: { color: "#424242" } } }, plots: { stroke: "#FFF8E1", gradient: { intensity: 20 }, labels: { color: "#424242" } } } } }, at = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, grid: { xAxis: { stroke: "#5D403780" }, horizontalLines: { stroke: "#5D403780" }, yAxis: { stroke: "#5D403780" }, verticalLines: { stroke: "#5D403780" } }, axes: { x: { labels: { color: "#BDBDBD" }, name: { color: "#BDBDBD" } }, y: { labels: { color: "#BDBDBD" }, name: { color: "#BDBDBD" } } }, plots: { stroke: "#1E1E1E", gradient: { intensity: 20 }, labels: { color: "#BDBDBD" } } } } }, ot = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, grid: { xAxis: { stroke: "#5F6A5F" }, horizontalLines: { stroke: "#3A3A3A" }, yAxis: { stroke: "#5F6A5F" }, verticalLines: { stroke: "#3A3A3A" } }, axes: { x: { labels: { color: "#5F6A5F" }, name: { color: "#5F6A5F" } }, y: { labels: { color: "#5F6A5F" }, name: { color: "#5F6A5F" } } }, plots: { stroke: "#1A1A1A", gradient: { intensity: 20 }, labels: { color: "#5F6A5F" } } } } }, st = { table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, grid: { xAxis: { stroke: "#8F837A" }, horizontalLines: { show: !1 }, yAxis: { stroke: "#8F837A" }, verticalLines: { show: !1 } }, axes: { x: { labels: { color: "#8F837A" }, name: { color: "#8F837A" } }, y: { labels: { color: "#8F837A" }, name: { color: "#8F837A" } } }, plots: { stroke: "#fbfafa", gradient: { intensity: 20 }, labels: { color: "#8F837A" } } } } }, rt = { table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, grid: { xAxis: { stroke: "#829C98" }, horizontalLines: { stroke: "#92B0AB" }, yAxis: { stroke: "#829C98" }, verticalLines: { stroke: "#92B0AB" } }, axes: { x: { labels: { color: "#50606C" }, name: { color: "#50606C" } }, y: { labels: { color: "#50606C" }, name: { color: "#50606C" } } }, plots: { stroke: "#50606C", gradient: { intensity: 20 }, labels: { color: "#50606C" } } } } }, nt = {
|
|
17
17
|
default: {},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
minimal: Qe,
|
|
19
|
+
minimalDark: et,
|
|
20
|
+
dark: tt,
|
|
21
|
+
celebration: lt,
|
|
22
|
+
celebrationNight: at,
|
|
23
|
+
hack: ot,
|
|
24
|
+
zen: st,
|
|
25
|
+
concrete: rt
|
|
26
|
+
}, Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
27
|
__proto__: null,
|
|
26
|
-
celebration:
|
|
27
|
-
celebrationNight:
|
|
28
|
-
concrete:
|
|
29
|
-
dark:
|
|
30
|
-
default:
|
|
31
|
-
hack:
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
celebration: lt,
|
|
29
|
+
celebrationNight: at,
|
|
30
|
+
concrete: rt,
|
|
31
|
+
dark: tt,
|
|
32
|
+
default: nt,
|
|
33
|
+
hack: ot,
|
|
34
|
+
minimal: Qe,
|
|
35
|
+
minimalDark: et,
|
|
36
|
+
zen: st
|
|
37
|
+
}, Symbol.toStringTag, { value: "Module" })), Dl = ["id"], zl = ["id"], Ml = ["xmlns", "viewBox"], Bl = ["x", "y", "width", "height"], Ol = { key: 1 }, Nl = ["id"], El = ["stop-color"], Il = ["stop-color"], Pl = ["stop-color"], Xl = { key: 2 }, Rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yl = { key: 3 }, Hl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], jl = ["x", "y", "fill", "font-size"], Ul = ["transform", "font-size", "fill", "font-weight"], Wl = { key: 6 }, Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gl = { key: 7 }, ql = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Zl = ["transform", "fill", "font-size", "text-anchor"], Jl = ["x", "y", "font-size", "fill", "font-weight"], Kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ql = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ea = ["d", "stroke", "stroke-width"], ta = ["d", "stroke", "stroke-width"], la = ["cx", "cy", "fill", "r"], aa = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], oa = { key: 1 }, sa = ["x", "y", "font-size", "fill", "font-weight"], ra = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], na = { key: 2 }, ia = ["x", "y", "font-size", "font-weight", "fill"], ua = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], ca = {
|
|
34
38
|
key: 4,
|
|
35
39
|
class: "vue-data-ui-watermark"
|
|
36
|
-
},
|
|
40
|
+
}, va = ["id"], da = ["onClick"], ha = ["innerHTML"], ya = {
|
|
37
41
|
__name: "vue-ui-history-plot",
|
|
38
42
|
props: {
|
|
39
43
|
config: {
|
|
@@ -50,13 +54,13 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
50
54
|
}
|
|
51
55
|
},
|
|
52
56
|
emits: ["selectLegend", "selectDatapoint"],
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
57
|
+
setup(it, { expose: ut, emit: ct }) {
|
|
58
|
+
const vt = O(() => import("./Tooltip-B6qvABDL.js")), dt = O(() => import("./BaseIcon-4uOct8re.js")), ht = O(() => import("./vue-ui-accordion-DFKaB_05.js")), yt = O(() => import("./DataTable-DyoDzNNY.js")), ft = O(() => import("./PenAndPaper-LTuSTmWE.js")), bt = O(() => import("./UserOptions-CX7Xsusk.js")), xt = O(() => import("./PackageVersion-D6MO5wwI.js")), gt = O(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_history_plot: pt } = gl(), { isThemeValid: mt, warnInvalidTheme: Ct } = Al(), y = it, F = v(null), ge = v(null), pe = v(0), me = v(null), Ce = v(0), ke = v(0), Ae = v(0), M = Ue(null), X = Ue(null), we = v(null), D = v(Ge()), le = v(!1), ae = v(""), p = v([]), H = v(!1), w = v(null), j = v(!1), Le = v(null), Se = v(!1), U = v(null), oe = v(null), se = v(null), re = v(null), V = v(null), ne = v(null), G = d({
|
|
55
59
|
get: () => !!y.dataset && y.dataset.length,
|
|
56
60
|
set: (t) => t
|
|
57
|
-
}),
|
|
58
|
-
|
|
59
|
-
|
|
61
|
+
}), _e = ct;
|
|
62
|
+
Zt(() => {
|
|
63
|
+
Se.value = !0, Te();
|
|
60
64
|
});
|
|
61
65
|
const $e = d(() => !!e.value.debug);
|
|
62
66
|
function Te() {
|
|
@@ -65,7 +69,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
65
69
|
type: "dataset",
|
|
66
70
|
debug: $e.value
|
|
67
71
|
}), ue.value = !0) : y.dataset.forEach((t, a) => {
|
|
68
|
-
|
|
72
|
+
ol({
|
|
69
73
|
datasetObject: t,
|
|
70
74
|
requiredAttributes: ["name", "values"]
|
|
71
75
|
}).forEach((l) => {
|
|
@@ -79,15 +83,15 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
79
83
|
});
|
|
80
84
|
}), qe(y.dataset) || (ue.value = e.value.loading), e.value.responsive) {
|
|
81
85
|
const t = Ke(() => {
|
|
82
|
-
const { width: a, height: l } =
|
|
86
|
+
const { width: a, height: l } = xl({
|
|
83
87
|
chart: F.value,
|
|
84
88
|
title: e.value.style.chart.title.text ? ge.value : null,
|
|
85
89
|
noTitle: we.value,
|
|
86
90
|
legend: e.value.style.chart.legend.show ? me.value : null,
|
|
87
|
-
source:
|
|
91
|
+
source: Le.value
|
|
88
92
|
});
|
|
89
93
|
requestAnimationFrame(() => {
|
|
90
|
-
|
|
94
|
+
x.value.width = a, x.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = P({
|
|
91
95
|
relator: Math.min(a, l),
|
|
92
96
|
adjuster: 600,
|
|
93
97
|
source: e.value.style.chart.plots.radius,
|
|
@@ -135,38 +139,38 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
135
139
|
M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect()), M.value = new ResizeObserver(t), X.value = F.value.parentNode, M.value.observe(X.value);
|
|
136
140
|
}
|
|
137
141
|
}
|
|
138
|
-
|
|
142
|
+
Jt(() => {
|
|
139
143
|
M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect());
|
|
140
144
|
});
|
|
141
145
|
function ie() {
|
|
142
|
-
const t =
|
|
146
|
+
const t = xe({
|
|
143
147
|
userConfig: y.config,
|
|
144
|
-
defaultConfig:
|
|
148
|
+
defaultConfig: pt
|
|
145
149
|
});
|
|
146
150
|
let a = {};
|
|
147
151
|
const l = t.theme;
|
|
148
152
|
if (l)
|
|
149
|
-
if (!
|
|
150
|
-
|
|
153
|
+
if (!mt.value(t))
|
|
154
|
+
Ct(t), a = t;
|
|
151
155
|
else {
|
|
152
|
-
const i =
|
|
153
|
-
userConfig:
|
|
156
|
+
const i = xe({
|
|
157
|
+
userConfig: nt[l] || y.config,
|
|
154
158
|
defaultConfig: t
|
|
155
159
|
});
|
|
156
160
|
a = {
|
|
157
|
-
...
|
|
161
|
+
...xe({
|
|
158
162
|
userConfig: y.config,
|
|
159
163
|
defaultConfig: i
|
|
160
164
|
}),
|
|
161
|
-
customPalette: t.customPalette.length ? t.customPalette :
|
|
165
|
+
customPalette: t.customPalette.length ? t.customPalette : hl[l] || ee
|
|
162
166
|
};
|
|
163
167
|
}
|
|
164
168
|
else
|
|
165
169
|
a = t;
|
|
166
170
|
return y.config && te(y.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = y.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, y.config && te(y.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = y.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, y.config && te(y.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = y.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, y.config && te(y.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = y.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
|
|
167
171
|
}
|
|
168
|
-
const e = v(ie()), { loading: B, FINAL_DATASET:
|
|
169
|
-
...
|
|
172
|
+
const e = v(ie()), { loading: B, FINAL_DATASET: kt, manualLoading: ue } = pl({
|
|
173
|
+
...Kt(y),
|
|
170
174
|
FINAL_CONFIG: e,
|
|
171
175
|
prepareConfig: ie,
|
|
172
176
|
skeletonDataset: [
|
|
@@ -181,7 +185,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
181
185
|
]
|
|
182
186
|
}
|
|
183
187
|
],
|
|
184
|
-
skeletonConfig:
|
|
188
|
+
skeletonConfig: sl({
|
|
185
189
|
defaultConfig: e.value,
|
|
186
190
|
userConfig: {
|
|
187
191
|
userOptions: { show: !1 },
|
|
@@ -233,17 +237,17 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
233
237
|
}
|
|
234
238
|
}
|
|
235
239
|
})
|
|
236
|
-
}), { userOptionsVisible: ce, setUserOptionsVisibility: Fe, keepUserOptionState: De } =
|
|
240
|
+
}), { userOptionsVisible: ce, setUserOptionsVisibility: Fe, keepUserOptionState: De } = wl({ config: e.value }), { svgRef: ve } = Ll({ config: e.value.style.chart.title });
|
|
237
241
|
Q(() => y.config, (t) => {
|
|
238
|
-
B.value || (e.value = ie()), ce.value = !e.value.userOptions.showOnChartHover, Te(), pe.value += 1,
|
|
242
|
+
B.value || (e.value = ie()), ce.value = !e.value.userOptions.showOnChartHover, Te(), pe.value += 1, ke.value += 1, Ce.value += 1, x.value.height = e.value.style.chart.height, x.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, A.value.showTable = e.value.table.show, A.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
239
243
|
}, { deep: !0 }), Q(() => y.dataset, (t) => {
|
|
240
244
|
Array.isArray(t) && t.length > 0 && (ue.value = !1);
|
|
241
245
|
}, { deep: !0 });
|
|
242
|
-
const { isPrinting: ze, isImaging: Me, generatePdf: Be, generateImage: Oe } =
|
|
246
|
+
const { isPrinting: ze, isImaging: Me, generatePdf: Be, generateImage: Oe } = Cl({
|
|
243
247
|
elementId: `history_plot_${D.value}`,
|
|
244
248
|
fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
|
|
245
249
|
options: e.value.userOptions.print
|
|
246
|
-
}),
|
|
250
|
+
}), At = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), wt = d(() => rl(e.value.customPalette)), A = v({
|
|
247
251
|
showTable: e.value.table.show,
|
|
248
252
|
showTooltip: e.value.style.chart.tooltip.show
|
|
249
253
|
});
|
|
@@ -253,27 +257,27 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
253
257
|
showTooltip: e.value.style.chart.tooltip.show
|
|
254
258
|
};
|
|
255
259
|
}, { immediate: !0 });
|
|
256
|
-
const
|
|
260
|
+
const x = v({
|
|
257
261
|
height: e.value.style.chart.height,
|
|
258
262
|
width: e.value.style.chart.width
|
|
259
|
-
}),
|
|
260
|
-
function
|
|
263
|
+
}), Lt = d(() => x.value.width), St = d(() => x.value.height);
|
|
264
|
+
function _t() {
|
|
261
265
|
let t = 0;
|
|
262
266
|
ne.value && (t = Array.from(ne.value.querySelectorAll("text")).reduce((i, o) => {
|
|
263
|
-
const
|
|
264
|
-
return
|
|
267
|
+
const k = o.getComputedTextLength();
|
|
268
|
+
return k > i ? k : i;
|
|
265
269
|
}, 0));
|
|
266
270
|
const a = re.value ? re.value.getBoundingClientRect().width : 0;
|
|
267
271
|
return t + a + (a ? 24 : 0);
|
|
268
272
|
}
|
|
269
|
-
const Ne = v(0),
|
|
273
|
+
const Ne = v(0), $t = Ke((t) => {
|
|
270
274
|
Ne.value = t;
|
|
271
275
|
});
|
|
272
|
-
|
|
276
|
+
Qt((t) => {
|
|
273
277
|
const a = V.value;
|
|
274
278
|
if (!a) return;
|
|
275
279
|
const l = new ResizeObserver((i) => {
|
|
276
|
-
|
|
280
|
+
$t(i[0].contentRect.height);
|
|
277
281
|
});
|
|
278
282
|
l.observe(a), t(() => l.disconnect());
|
|
279
283
|
});
|
|
@@ -283,14 +287,14 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
283
287
|
let a = 0;
|
|
284
288
|
return V.value && (a = Ne.value), t + a;
|
|
285
289
|
}), c = d(() => {
|
|
286
|
-
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l =
|
|
290
|
+
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = _t(), i = e.value.style.chart.plots.radius;
|
|
287
291
|
return {
|
|
288
292
|
left: t + l + e.value.style.chart.axes.y.name.offsetX,
|
|
289
293
|
top: a + i,
|
|
290
|
-
right:
|
|
291
|
-
bottom:
|
|
292
|
-
width:
|
|
293
|
-
height:
|
|
294
|
+
right: x.value.width - e.value.style.chart.padding.right - i - e.value.style.chart.axes.y.name.offsetX,
|
|
295
|
+
bottom: x.value.height - e.value.style.chart.padding.bottom - Ee.value - i - e.value.style.chart.axes.x.name.offsetY,
|
|
296
|
+
width: x.value.width - t - e.value.style.chart.padding.right - l - i - e.value.style.chart.axes.y.name.offsetX,
|
|
297
|
+
height: x.value.height - a - e.value.style.chart.padding.bottom - Ee.value - i * 2 - e.value.style.chart.axes.x.name.offsetY
|
|
294
298
|
};
|
|
295
299
|
}), n = v({
|
|
296
300
|
plots: e.value.style.chart.plots.radius,
|
|
@@ -300,24 +304,24 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
300
304
|
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
301
305
|
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
302
306
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
303
|
-
}), $ = d(() =>
|
|
307
|
+
}), $ = d(() => kt.value.map((t, a) => ({
|
|
304
308
|
...t,
|
|
305
|
-
color: t.color ?
|
|
309
|
+
color: t.color ? nl(t.color) : wt.value[a] || ee[a] || ee[a % ee.length],
|
|
306
310
|
seriesIndex: a
|
|
307
|
-
}))),
|
|
311
|
+
}))), Tt = d(() => Math.max(...$.value.filter((t) => !p.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), Ft = d(() => {
|
|
308
312
|
const t = Math.min(...$.value.filter((a) => !p.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
309
313
|
return t < 0 ? t : 0;
|
|
310
|
-
}),
|
|
314
|
+
}), Dt = d(() => Math.max(...$.value.filter((t) => !p.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), zt = d(() => {
|
|
311
315
|
const t = Math.min(...$.value.filter((a) => !p.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
|
|
312
316
|
return t < 0 ? t : 0;
|
|
313
317
|
}), g = d(() => {
|
|
314
318
|
const t = Je(
|
|
315
|
-
e.value.style.chart.axes.x.scaleMin === null ?
|
|
316
|
-
e.value.style.chart.axes.x.scaleMax === null ?
|
|
319
|
+
e.value.style.chart.axes.x.scaleMin === null ? Ft.value : e.value.style.chart.axes.x.scaleMin,
|
|
320
|
+
e.value.style.chart.axes.x.scaleMax === null ? Tt.value : e.value.style.chart.axes.x.scaleMax,
|
|
317
321
|
e.value.style.chart.axes.x.ticks
|
|
318
322
|
), a = Je(
|
|
319
|
-
e.value.style.chart.axes.y.scaleMin === null ?
|
|
320
|
-
e.value.style.chart.axes.y.scaleMax === null ?
|
|
323
|
+
e.value.style.chart.axes.y.scaleMin === null ? zt.value : e.value.style.chart.axes.y.scaleMin,
|
|
324
|
+
e.value.style.chart.axes.y.scaleMax === null ? Dt.value : e.value.style.chart.axes.y.scaleMax,
|
|
321
325
|
e.value.style.chart.axes.y.ticks
|
|
322
326
|
);
|
|
323
327
|
return {
|
|
@@ -337,21 +341,21 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
337
341
|
}))
|
|
338
342
|
};
|
|
339
343
|
});
|
|
340
|
-
function
|
|
344
|
+
function Mt(t) {
|
|
341
345
|
const a = g.value.x.min < 0 ? Math.abs(g.value.x.min) : g.value.x.min > 0 ? -g.value.x.min : 0;
|
|
342
346
|
return c.value.left + ((t || 0) + a) / (g.value.x.max + a) * c.value.width;
|
|
343
347
|
}
|
|
344
|
-
function
|
|
348
|
+
function Bt(t) {
|
|
345
349
|
const a = g.value.y.min < 0 ? Math.abs(g.value.y.min) : g.value.y.min > 0 ? -g.value.y.min : 0;
|
|
346
350
|
return c.value.bottom - ((t || 0) + a) / (g.value.y.max + a) * c.value.height;
|
|
347
351
|
}
|
|
348
352
|
const E = d(() => $.value.filter((t) => !p.value.includes(t.seriesIndex)).map((t, a) => {
|
|
349
|
-
const l = t.values.map((o,
|
|
353
|
+
const l = t.values.map((o, k) => ({
|
|
350
354
|
valueX: o.x,
|
|
351
355
|
valueY: o.y,
|
|
352
356
|
label: o.label,
|
|
353
|
-
x:
|
|
354
|
-
y:
|
|
357
|
+
x: Mt(o.x),
|
|
358
|
+
y: Bt(o.y),
|
|
355
359
|
color: t.color,
|
|
356
360
|
seriesName: t.name,
|
|
357
361
|
id: Ge()
|
|
@@ -371,11 +375,11 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
371
375
|
const a = $.value.find((l) => l.name === t);
|
|
372
376
|
return a || (e.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${t}"`), null);
|
|
373
377
|
}
|
|
374
|
-
function
|
|
378
|
+
function Ot(t) {
|
|
375
379
|
const a = Ie(t);
|
|
376
380
|
a !== null && p.value.includes(a.seriesIndex) && q(a.seriesIndex);
|
|
377
381
|
}
|
|
378
|
-
function
|
|
382
|
+
function Nt(t) {
|
|
379
383
|
const a = Ie(t);
|
|
380
384
|
a !== null && (p.value.includes(a.seriesIndex) || q(a.seriesIndex));
|
|
381
385
|
}
|
|
@@ -385,7 +389,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
385
389
|
segregate: () => q(t.seriesIndex),
|
|
386
390
|
isSegregated: p.value.includes(t.seriesIndex),
|
|
387
391
|
shape: "circle"
|
|
388
|
-
}))),
|
|
392
|
+
}))), Et = d(() => ({
|
|
389
393
|
cy: "history-plot-div-legend",
|
|
390
394
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
391
395
|
color: e.value.style.chart.legend.color,
|
|
@@ -393,11 +397,11 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
393
397
|
paddingBottom: 12,
|
|
394
398
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
395
399
|
}));
|
|
396
|
-
function
|
|
397
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }),
|
|
400
|
+
function It({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
401
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), _e("selectDatapoint", t);
|
|
398
402
|
}
|
|
399
403
|
function Pe(t) {
|
|
400
|
-
|
|
404
|
+
_e("selectLegend", {
|
|
401
405
|
...t,
|
|
402
406
|
isSegregated: !t.isSegregated,
|
|
403
407
|
opacity: t.isSegregated ? 1 : 0.5
|
|
@@ -407,13 +411,13 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
407
411
|
H.value = t, Ae.value += 1;
|
|
408
412
|
}
|
|
409
413
|
const he = v(null);
|
|
410
|
-
function
|
|
414
|
+
function Pt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
411
415
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), le.value = !1, w.value = null;
|
|
412
416
|
}
|
|
413
|
-
function
|
|
417
|
+
function Xt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
414
418
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), he.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: $.value }, w.value = t;
|
|
415
419
|
const i = e.value.style.chart.tooltip.customFormat;
|
|
416
|
-
if (j.value = !1,
|
|
420
|
+
if (j.value = !1, bl(i))
|
|
417
421
|
try {
|
|
418
422
|
const o = i({
|
|
419
423
|
seriesIndex: l,
|
|
@@ -507,13 +511,13 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
507
511
|
};
|
|
508
512
|
});
|
|
509
513
|
function ye(t = null) {
|
|
510
|
-
|
|
514
|
+
al(() => {
|
|
511
515
|
const a = [
|
|
512
516
|
[e.value.table.columnNames.series],
|
|
513
517
|
[e.value.table.columnNames.datapoint],
|
|
514
518
|
[e.value.table.columnNames.x],
|
|
515
519
|
[e.value.table.columnNames.y]
|
|
516
|
-
], l = E.value.flatMap((
|
|
520
|
+
], l = E.value.flatMap((k) => k.plots.map((K) => [
|
|
517
521
|
[K.seriesName],
|
|
518
522
|
[K.label],
|
|
519
523
|
[K.valueX],
|
|
@@ -522,8 +526,8 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
522
526
|
[e.value.style.chart.title.text],
|
|
523
527
|
[e.value.style.chart.title.subtitle.text],
|
|
524
528
|
a
|
|
525
|
-
].concat(l), o =
|
|
526
|
-
t ? t(o) :
|
|
529
|
+
].concat(l), o = yl(i);
|
|
530
|
+
t ? t(o) : fl({
|
|
527
531
|
csvContent: o,
|
|
528
532
|
title: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
529
533
|
});
|
|
@@ -539,39 +543,39 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
539
543
|
function Ye() {
|
|
540
544
|
A.value.showTooltip = !A.value.showTooltip;
|
|
541
545
|
}
|
|
542
|
-
function
|
|
546
|
+
function Rt() {
|
|
543
547
|
return E.value;
|
|
544
548
|
}
|
|
545
|
-
async function
|
|
549
|
+
async function Yt({ scale: t = 2 } = {}) {
|
|
546
550
|
if (!F.value) return;
|
|
547
|
-
const { width: a, height: l } = F.value.getBoundingClientRect(), i = a / l, { imageUri: o, base64:
|
|
551
|
+
const { width: a, height: l } = F.value.getBoundingClientRect(), i = a / l, { imageUri: o, base64: k } = await _l({ domElement: F.value, base64: !0, img: !0, scale: t });
|
|
548
552
|
return {
|
|
549
553
|
imageUri: o,
|
|
550
|
-
base64:
|
|
554
|
+
base64: k,
|
|
551
555
|
title: e.value.style.chart.title.text,
|
|
552
556
|
width: a,
|
|
553
557
|
height: l,
|
|
554
558
|
aspectRatio: i
|
|
555
559
|
};
|
|
556
560
|
}
|
|
557
|
-
const
|
|
558
|
-
|
|
561
|
+
const Ht = d(() => g.value.tickX), jt = d(() => ({ start: 0, end: g.value.tickX.length }));
|
|
562
|
+
Sl({
|
|
559
563
|
timeLabelsEls: V,
|
|
560
|
-
timeLabels:
|
|
561
|
-
slicer:
|
|
564
|
+
timeLabels: Ht,
|
|
565
|
+
slicer: jt,
|
|
562
566
|
configRef: e,
|
|
563
567
|
rotationPath: ["style", "chart", "axes", "x", "labels", "rotation"],
|
|
564
568
|
autoRotatePath: ["style", "chart", "axes", "x", "labels", "autoRotate", "enable"],
|
|
565
569
|
isAutoSize: !1,
|
|
566
|
-
width:
|
|
567
|
-
height:
|
|
570
|
+
width: Lt,
|
|
571
|
+
height: St,
|
|
568
572
|
targetClass: ".vue-ui-history-plot-x-axis-scale",
|
|
569
573
|
rotation: e.value.style.chart.axes.x.labels.autoRotate.angle
|
|
570
574
|
});
|
|
571
575
|
const W = d(() => {
|
|
572
576
|
const t = e.value.table.useDialog && !e.value.table.show, a = A.value.showTable;
|
|
573
577
|
return {
|
|
574
|
-
component: t ?
|
|
578
|
+
component: t ? gt : ht,
|
|
575
579
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
576
580
|
props: t ? {
|
|
577
581
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -604,29 +608,29 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
604
608
|
function He() {
|
|
605
609
|
A.value.showTable = !1, oe.value && oe.value.setTableIconState(!1);
|
|
606
610
|
}
|
|
607
|
-
const
|
|
611
|
+
const Ut = d(() => e.value.style.chart.backgroundColor), Wt = d(() => e.value.style.chart.legend), Vt = d(() => e.value.style.chart.title), { exportSvg: Gt, getSvg: qt } = kl({
|
|
608
612
|
svg: ve,
|
|
609
|
-
title:
|
|
610
|
-
legend:
|
|
613
|
+
title: Vt,
|
|
614
|
+
legend: Wt,
|
|
611
615
|
legendItems: de,
|
|
612
|
-
backgroundColor:
|
|
616
|
+
backgroundColor: Ut
|
|
613
617
|
});
|
|
614
618
|
async function je({ isCb: t }) {
|
|
615
619
|
if (t) {
|
|
616
|
-
const { blob: a, url: l, text: i, dataUrl: o } = await
|
|
620
|
+
const { blob: a, url: l, text: i, dataUrl: o } = await qt();
|
|
617
621
|
e.value.userOptions.callbacks.svg({ blob: a, url: l, text: i, dataUrl: o });
|
|
618
622
|
} else
|
|
619
|
-
|
|
623
|
+
Gt();
|
|
620
624
|
}
|
|
621
|
-
return
|
|
622
|
-
getData:
|
|
623
|
-
getImage:
|
|
625
|
+
return ut({
|
|
626
|
+
getData: Rt,
|
|
627
|
+
getImage: Yt,
|
|
624
628
|
generatePdf: Be,
|
|
625
629
|
generateCsv: ye,
|
|
626
630
|
generateImage: Oe,
|
|
627
631
|
generateSvg: je,
|
|
628
|
-
hideSeries:
|
|
629
|
-
showSeries:
|
|
632
|
+
hideSeries: Nt,
|
|
633
|
+
showSeries: Ot,
|
|
630
634
|
toggleTable: Re,
|
|
631
635
|
toggleTooltip: Ye,
|
|
632
636
|
toggleAnnotator: fe,
|
|
@@ -641,7 +645,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
641
645
|
onMouseleave: a[3] || (a[3] = () => u(Fe)(!1))
|
|
642
646
|
}, [
|
|
643
647
|
f(t.$slots, "userConfig", {}, void 0, !0),
|
|
644
|
-
e.value.userOptions.buttons.annotator ? (s(), N(u(
|
|
648
|
+
e.value.userOptions.buttons.annotator ? (s(), N(u(ft), {
|
|
645
649
|
key: 0,
|
|
646
650
|
svgRef: u(ve),
|
|
647
651
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -649,27 +653,27 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
649
653
|
active: J.value,
|
|
650
654
|
onClose: fe
|
|
651
655
|
}, {
|
|
652
|
-
"annotator-action-close":
|
|
656
|
+
"annotator-action-close": b(() => [
|
|
653
657
|
f(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
654
658
|
]),
|
|
655
|
-
"annotator-action-color":
|
|
656
|
-
f(t.$slots, "annotator-action-color", _(
|
|
659
|
+
"annotator-action-color": b(({ color: l }) => [
|
|
660
|
+
f(t.$slots, "annotator-action-color", S(_({ color: l })), void 0, !0)
|
|
657
661
|
]),
|
|
658
|
-
"annotator-action-draw":
|
|
659
|
-
f(t.$slots, "annotator-action-draw", _(
|
|
662
|
+
"annotator-action-draw": b(({ mode: l }) => [
|
|
663
|
+
f(t.$slots, "annotator-action-draw", S(_({ mode: l })), void 0, !0)
|
|
660
664
|
]),
|
|
661
|
-
"annotator-action-undo":
|
|
662
|
-
f(t.$slots, "annotator-action-undo", _(
|
|
665
|
+
"annotator-action-undo": b(({ disabled: l }) => [
|
|
666
|
+
f(t.$slots, "annotator-action-undo", S(_({ disabled: l })), void 0, !0)
|
|
663
667
|
]),
|
|
664
|
-
"annotator-action-redo":
|
|
665
|
-
f(t.$slots, "annotator-action-redo", _(
|
|
668
|
+
"annotator-action-redo": b(({ disabled: l }) => [
|
|
669
|
+
f(t.$slots, "annotator-action-redo", S(_({ disabled: l })), void 0, !0)
|
|
666
670
|
]),
|
|
667
|
-
"annotator-action-delete":
|
|
668
|
-
f(t.$slots, "annotator-action-delete", _(
|
|
671
|
+
"annotator-action-delete": b(({ disabled: l }) => [
|
|
672
|
+
f(t.$slots, "annotator-action-delete", S(_({ disabled: l })), void 0, !0)
|
|
669
673
|
]),
|
|
670
674
|
_: 3
|
|
671
675
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
672
|
-
|
|
676
|
+
At.value ? (s(), r("div", {
|
|
673
677
|
key: 1,
|
|
674
678
|
ref_key: "noTitle",
|
|
675
679
|
ref: we,
|
|
@@ -683,7 +687,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
683
687
|
class: "vue-ui-xy-title",
|
|
684
688
|
style: T(`font-family:${e.value.style.fontFamily}`)
|
|
685
689
|
}, [
|
|
686
|
-
(s(), N(
|
|
690
|
+
(s(), N($l, {
|
|
687
691
|
key: `title_${pe.value}`,
|
|
688
692
|
config: {
|
|
689
693
|
title: {
|
|
@@ -697,10 +701,10 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
697
701
|
}
|
|
698
702
|
}, null, 8, ["config"]))
|
|
699
703
|
], 4)) : h("", !0),
|
|
700
|
-
|
|
704
|
+
L("div", {
|
|
701
705
|
id: `legend-top-${D.value}`
|
|
702
|
-
}, null, 8,
|
|
703
|
-
e.value.userOptions.show && G.value && (u(De) || u(ce)) ? (s(), N(u(
|
|
706
|
+
}, null, 8, zl),
|
|
707
|
+
e.value.userOptions.show && G.value && (u(De) || u(ce)) ? (s(), N(u(bt), {
|
|
704
708
|
ref_key: "userOptionsRef",
|
|
705
709
|
ref: oe,
|
|
706
710
|
key: `user_option_${Ae.value}`,
|
|
@@ -741,64 +745,64 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
741
745
|
}, We({ _: 2 }, [
|
|
742
746
|
t.$slots.menuIcon ? {
|
|
743
747
|
name: "menuIcon",
|
|
744
|
-
fn:
|
|
745
|
-
f(t.$slots, "menuIcon", _(
|
|
748
|
+
fn: b(({ isOpen: l, color: i }) => [
|
|
749
|
+
f(t.$slots, "menuIcon", S(_({ isOpen: l, color: i })), void 0, !0)
|
|
746
750
|
]),
|
|
747
751
|
key: "0"
|
|
748
752
|
} : void 0,
|
|
749
753
|
t.$slots.optionTooltip ? {
|
|
750
754
|
name: "optionTooltip",
|
|
751
|
-
fn:
|
|
755
|
+
fn: b(() => [
|
|
752
756
|
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
753
757
|
]),
|
|
754
758
|
key: "1"
|
|
755
759
|
} : void 0,
|
|
756
760
|
t.$slots.optionPdf ? {
|
|
757
761
|
name: "optionPdf",
|
|
758
|
-
fn:
|
|
762
|
+
fn: b(() => [
|
|
759
763
|
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
760
764
|
]),
|
|
761
765
|
key: "2"
|
|
762
766
|
} : void 0,
|
|
763
767
|
t.$slots.optionCsv ? {
|
|
764
768
|
name: "optionCsv",
|
|
765
|
-
fn:
|
|
769
|
+
fn: b(() => [
|
|
766
770
|
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
767
771
|
]),
|
|
768
772
|
key: "3"
|
|
769
773
|
} : void 0,
|
|
770
774
|
t.$slots.optionImg ? {
|
|
771
775
|
name: "optionImg",
|
|
772
|
-
fn:
|
|
776
|
+
fn: b(() => [
|
|
773
777
|
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
774
778
|
]),
|
|
775
779
|
key: "4"
|
|
776
780
|
} : void 0,
|
|
777
781
|
t.$slots.optionSvg ? {
|
|
778
782
|
name: "optionSvg",
|
|
779
|
-
fn:
|
|
783
|
+
fn: b(() => [
|
|
780
784
|
f(t.$slots, "optionSvg", {}, void 0, !0)
|
|
781
785
|
]),
|
|
782
786
|
key: "5"
|
|
783
787
|
} : void 0,
|
|
784
788
|
t.$slots.optionTable ? {
|
|
785
789
|
name: "optionTable",
|
|
786
|
-
fn:
|
|
790
|
+
fn: b(() => [
|
|
787
791
|
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
788
792
|
]),
|
|
789
793
|
key: "6"
|
|
790
794
|
} : void 0,
|
|
791
795
|
t.$slots.optionFullscreen ? {
|
|
792
796
|
name: "optionFullscreen",
|
|
793
|
-
fn:
|
|
794
|
-
f(t.$slots, "optionFullscreen", _(
|
|
797
|
+
fn: b(({ toggleFullscreen: l, isFullscreen: i }) => [
|
|
798
|
+
f(t.$slots, "optionFullscreen", S(_({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
|
|
795
799
|
]),
|
|
796
800
|
key: "7"
|
|
797
801
|
} : void 0,
|
|
798
802
|
t.$slots.optionAnnotator ? {
|
|
799
803
|
name: "optionAnnotator",
|
|
800
|
-
fn:
|
|
801
|
-
f(t.$slots, "optionAnnotator", _(
|
|
804
|
+
fn: b(({ toggleAnnotator: l, isAnnotator: i }) => [
|
|
805
|
+
f(t.$slots, "optionAnnotator", S(_({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
|
|
802
806
|
]),
|
|
803
807
|
key: "8"
|
|
804
808
|
} : void 0
|
|
@@ -806,11 +810,11 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
806
810
|
(s(), r("svg", {
|
|
807
811
|
ref_key: "svgRef",
|
|
808
812
|
ref: ve,
|
|
809
|
-
xmlns: u(
|
|
810
|
-
viewBox: `0 0 ${
|
|
813
|
+
xmlns: u(il),
|
|
814
|
+
viewBox: `0 0 ${x.value.width < 0 ? 0.1 : x.value.width} ${x.value.height < 0 ? 0.1 : x.value.height}`,
|
|
811
815
|
style: T(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
812
816
|
}, [
|
|
813
|
-
|
|
817
|
+
be(u(xt)),
|
|
814
818
|
t.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
815
819
|
key: 0,
|
|
816
820
|
x: c.value.left,
|
|
@@ -822,28 +826,28 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
822
826
|
}
|
|
823
827
|
}, [
|
|
824
828
|
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
825
|
-
], 8,
|
|
826
|
-
e.value.style.chart.plots.gradient.show ? (s(), r("defs",
|
|
827
|
-
(s(!0), r(m, null,
|
|
829
|
+
], 8, Bl)) : h("", !0),
|
|
830
|
+
e.value.style.chart.plots.gradient.show ? (s(), r("defs", Ol, [
|
|
831
|
+
(s(!0), r(m, null, C(E.value, (l, i) => (s(), r("radialGradient", {
|
|
828
832
|
id: `gradient_${i}_${D.value}`,
|
|
829
833
|
fy: "30%"
|
|
830
834
|
}, [
|
|
831
|
-
|
|
835
|
+
L("stop", {
|
|
832
836
|
offset: "10%",
|
|
833
|
-
"stop-color": u(
|
|
834
|
-
}, null, 8,
|
|
835
|
-
|
|
837
|
+
"stop-color": u(ul)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
838
|
+
}, null, 8, El),
|
|
839
|
+
L("stop", {
|
|
836
840
|
offset: "90%",
|
|
837
|
-
"stop-color": u(
|
|
838
|
-
}, null, 8,
|
|
839
|
-
|
|
841
|
+
"stop-color": u(cl)(l.color, 0.1)
|
|
842
|
+
}, null, 8, Il),
|
|
843
|
+
L("stop", {
|
|
840
844
|
offset: "100%",
|
|
841
845
|
"stop-color": l.color
|
|
842
|
-
}, null, 8,
|
|
843
|
-
], 8,
|
|
846
|
+
}, null, 8, Pl)
|
|
847
|
+
], 8, Nl))), 256))
|
|
844
848
|
])) : h("", !0),
|
|
845
|
-
e.value.style.chart.grid.verticalLines.show ? (s(), r("g",
|
|
846
|
-
(s(!0), r(m, null,
|
|
849
|
+
e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Xl, [
|
|
850
|
+
(s(!0), r(m, null, C(g.value.tickX, (l) => (s(), r("line", {
|
|
847
851
|
x1: l.x,
|
|
848
852
|
x2: l.x,
|
|
849
853
|
y1: l.y1,
|
|
@@ -851,10 +855,10 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
851
855
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
852
856
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
853
857
|
"stroke-linecap": "round"
|
|
854
|
-
}, null, 8,
|
|
858
|
+
}, null, 8, Rl))), 256))
|
|
855
859
|
])) : h("", !0),
|
|
856
|
-
e.value.style.chart.axes.y.labels.show ? (s(), r("g",
|
|
857
|
-
(s(!0), r(m, null,
|
|
860
|
+
e.value.style.chart.axes.y.labels.show ? (s(), r("g", Yl, [
|
|
861
|
+
(s(!0), r(m, null, C(g.value.tickY, (l) => (s(), r("line", {
|
|
858
862
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
859
863
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
860
864
|
"stroke-linecap": "round",
|
|
@@ -862,14 +866,14 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
862
866
|
x2: c.value.left,
|
|
863
867
|
y1: l.y,
|
|
864
868
|
y2: l.y
|
|
865
|
-
}, null, 8,
|
|
869
|
+
}, null, 8, Hl))), 256))
|
|
866
870
|
])) : h("", !0),
|
|
867
871
|
e.value.style.chart.axes.y.labels.show ? (s(), r("g", {
|
|
868
872
|
key: 4,
|
|
869
873
|
ref_key: "yAxisScales",
|
|
870
874
|
ref: ne
|
|
871
875
|
}, [
|
|
872
|
-
(s(!0), r(m, null,
|
|
876
|
+
(s(!0), r(m, null, C(g.value.tickY, (l) => (s(), r("text", {
|
|
873
877
|
x: c.value.left + e.value.style.chart.axes.y.labels.offsetX - 4 - e.value.style.chart.plots.radius,
|
|
874
878
|
y: l.y + n.value.yAxisLabels / 3,
|
|
875
879
|
fill: e.value.style.chart.axes.y.labels.color,
|
|
@@ -884,20 +888,20 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
884
888
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
885
889
|
r: e.value.style.chart.axes.y.labels.rounding
|
|
886
890
|
})
|
|
887
|
-
)), 9,
|
|
891
|
+
)), 9, jl))), 256))
|
|
888
892
|
], 512)) : h("", !0),
|
|
889
893
|
e.value.style.chart.axes.y.name.text ? (s(), r("text", {
|
|
890
894
|
key: 5,
|
|
891
895
|
ref_key: "yAxisLabel",
|
|
892
896
|
ref: re,
|
|
893
|
-
transform: `translate(${n.value.yAxisName}, ${
|
|
897
|
+
transform: `translate(${n.value.yAxisName}, ${x.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
|
|
894
898
|
"font-size": n.value.yAxisName,
|
|
895
899
|
fill: e.value.style.chart.axes.y.name.color,
|
|
896
900
|
"font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
|
|
897
901
|
"text-anchor": "middle"
|
|
898
|
-
}, z(e.value.style.chart.axes.y.name.text), 9,
|
|
899
|
-
e.value.style.chart.grid.horizontalLines.show ? (s(), r("g",
|
|
900
|
-
(s(!0), r(m, null,
|
|
902
|
+
}, z(e.value.style.chart.axes.y.name.text), 9, Ul)) : h("", !0),
|
|
903
|
+
e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", Wl, [
|
|
904
|
+
(s(!0), r(m, null, C(g.value.tickY, (l) => (s(), r("line", {
|
|
901
905
|
x1: l.x1,
|
|
902
906
|
x2: l.x2,
|
|
903
907
|
y1: l.y,
|
|
@@ -905,10 +909,10 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
905
909
|
stroke: e.value.style.chart.grid.horizontalLines.stroke,
|
|
906
910
|
"stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
|
|
907
911
|
"stroke-linecap": "round"
|
|
908
|
-
}, null, 8,
|
|
912
|
+
}, null, 8, Vl))), 256))
|
|
909
913
|
])) : h("", !0),
|
|
910
|
-
e.value.style.chart.axes.x.labels.show ? (s(), r("g",
|
|
911
|
-
(s(!0), r(m, null,
|
|
914
|
+
e.value.style.chart.axes.x.labels.show ? (s(), r("g", Gl, [
|
|
915
|
+
(s(!0), r(m, null, C(g.value.tickX, (l) => (s(), r("line", {
|
|
912
916
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
913
917
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
914
918
|
"stroke-linecap": "round",
|
|
@@ -916,14 +920,14 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
916
920
|
x2: l.x,
|
|
917
921
|
y1: c.value.bottom,
|
|
918
922
|
y2: c.value.bottom + 5
|
|
919
|
-
}, null, 8,
|
|
923
|
+
}, null, 8, ql))), 256))
|
|
920
924
|
])) : h("", !0),
|
|
921
925
|
e.value.style.chart.axes.x.labels.show ? (s(), r("g", {
|
|
922
926
|
key: 8,
|
|
923
927
|
ref_key: "xAxisScales",
|
|
924
928
|
ref: V
|
|
925
929
|
}, [
|
|
926
|
-
(s(!0), r(m, null,
|
|
930
|
+
(s(!0), r(m, null, C(g.value.tickX, (l) => (s(), r("text", {
|
|
927
931
|
class: "vue-ui-history-plot-x-axis-scale",
|
|
928
932
|
transform: `translate(${l.x}, ${c.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels + e.value.style.chart.plots.radius}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
|
|
929
933
|
fill: e.value.style.chart.axes.x.labels.color,
|
|
@@ -938,19 +942,19 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
938
942
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
939
943
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
940
944
|
})
|
|
941
|
-
)), 9,
|
|
945
|
+
)), 9, Zl))), 256))
|
|
942
946
|
], 512)) : h("", !0),
|
|
943
947
|
e.value.style.chart.axes.x.name.text ? (s(), r("text", {
|
|
944
948
|
key: 9,
|
|
945
949
|
ref_key: "xAxisLabel",
|
|
946
950
|
ref: se,
|
|
947
|
-
x:
|
|
948
|
-
y:
|
|
951
|
+
x: x.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
|
|
952
|
+
y: x.value.height,
|
|
949
953
|
"font-size": n.value.xAxisName,
|
|
950
954
|
fill: e.value.style.chart.axes.x.name.color,
|
|
951
955
|
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
952
956
|
"text-anchor": "middle"
|
|
953
|
-
}, z(e.value.style.chart.axes.x.name.text), 9,
|
|
957
|
+
}, z(e.value.style.chart.axes.x.name.text), 9, Jl)) : h("", !0),
|
|
954
958
|
e.value.style.chart.grid.xAxis.show ? (s(), r("line", {
|
|
955
959
|
key: 10,
|
|
956
960
|
x1: c.value.left,
|
|
@@ -960,7 +964,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
960
964
|
stroke: e.value.style.chart.grid.xAxis.stroke,
|
|
961
965
|
"stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
|
|
962
966
|
"stroke-linecap": "round"
|
|
963
|
-
}, null, 8,
|
|
967
|
+
}, null, 8, Kl)) : h("", !0),
|
|
964
968
|
e.value.style.chart.grid.yAxis.show ? (s(), r("line", {
|
|
965
969
|
key: 11,
|
|
966
970
|
x1: c.value.left,
|
|
@@ -970,15 +974,15 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
970
974
|
stroke: e.value.style.chart.grid.yAxis.stroke,
|
|
971
975
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
972
976
|
"stroke-linecap": "round"
|
|
973
|
-
}, null, 8,
|
|
974
|
-
(s(!0), r(m, null,
|
|
977
|
+
}, null, 8, Ql)) : h("", !0),
|
|
978
|
+
(s(!0), r(m, null, C(E.value, (l, i) => (s(), r("g", null, [
|
|
975
979
|
e.value.style.chart.paths.show ? (s(), r("g", {
|
|
976
980
|
key: 0,
|
|
977
981
|
style: T({
|
|
978
982
|
opacity: w.value === null ? 1 : 0.3
|
|
979
983
|
})
|
|
980
984
|
}, [
|
|
981
|
-
|
|
985
|
+
L("path", {
|
|
982
986
|
d: l.path,
|
|
983
987
|
stroke: e.value.style.chart.backgroundColor,
|
|
984
988
|
"stroke-width": e.value.style.chart.paths.strokeWidth + 4,
|
|
@@ -986,8 +990,8 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
986
990
|
"stroke-linecap": "round",
|
|
987
991
|
"stroke-linejoin": "round",
|
|
988
992
|
class: I({ animated: e.value.useCssAnimation && !u(B) })
|
|
989
|
-
}, null, 10,
|
|
990
|
-
|
|
993
|
+
}, null, 10, ea),
|
|
994
|
+
L("path", {
|
|
991
995
|
d: l.path,
|
|
992
996
|
stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
|
|
993
997
|
"stroke-width": e.value.style.chart.paths.strokeWidth,
|
|
@@ -995,16 +999,16 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
995
999
|
"stroke-linecap": "round",
|
|
996
1000
|
"stroke-linejoin": "round",
|
|
997
1001
|
class: I({ animated: e.value.useCssAnimation && !u(B) })
|
|
998
|
-
}, null, 10,
|
|
1002
|
+
}, null, 10, ta)
|
|
999
1003
|
], 4)) : h("", !0),
|
|
1000
|
-
(s(!0), r(m, null,
|
|
1004
|
+
(s(!0), r(m, null, C(l.plots, (o) => (s(), r("circle", {
|
|
1001
1005
|
cx: o.x,
|
|
1002
1006
|
cy: o.y,
|
|
1003
1007
|
fill: e.value.style.chart.backgroundColor,
|
|
1004
1008
|
r: n.value.plots,
|
|
1005
1009
|
stroke: "none"
|
|
1006
|
-
}, null, 8,
|
|
1007
|
-
(s(!0), r(m, null,
|
|
1010
|
+
}, null, 8, la))), 256)),
|
|
1011
|
+
(s(!0), r(m, null, C(l.plots, (o) => (s(), r("circle", {
|
|
1008
1012
|
cx: o.x,
|
|
1009
1013
|
cy: o.y,
|
|
1010
1014
|
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${D.value})` : o.color,
|
|
@@ -1016,9 +1020,9 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1016
1020
|
opacity: w.value === null || w.value.id === o.id ? 1 : 0.3,
|
|
1017
1021
|
transition: "opacity 0.2s ease-in-out"
|
|
1018
1022
|
})
|
|
1019
|
-
}, null, 14,
|
|
1020
|
-
e.value.style.chart.plots.labels.show ? (s(), r("g",
|
|
1021
|
-
(s(!0), r(m, null,
|
|
1023
|
+
}, null, 14, aa))), 256)),
|
|
1024
|
+
e.value.style.chart.plots.labels.show ? (s(), r("g", oa, [
|
|
1025
|
+
(s(!0), r(m, null, C(l.plots, (o) => (s(), r("g", null, [
|
|
1022
1026
|
String(o.label).includes(`
|
|
1023
1027
|
`) ? (s(), r("text", {
|
|
1024
1028
|
key: 1,
|
|
@@ -1033,14 +1037,14 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1033
1037
|
opacity: w.value === null || w.value.id === o.id ? 1 : 0.3,
|
|
1034
1038
|
transition: "opacity 0.2s ease-in-out"
|
|
1035
1039
|
}),
|
|
1036
|
-
innerHTML: u(
|
|
1040
|
+
innerHTML: u(vl)({
|
|
1037
1041
|
content: String(o.label),
|
|
1038
1042
|
fontSize: n.value.labels,
|
|
1039
1043
|
fill: e.value.style.chart.plots.labels.color,
|
|
1040
1044
|
x: o.x + e.value.style.chart.plots.labels.offsetX,
|
|
1041
1045
|
y: o.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
|
|
1042
1046
|
})
|
|
1043
|
-
}, null, 14,
|
|
1047
|
+
}, null, 14, ra)) : (s(), r("text", {
|
|
1044
1048
|
key: 0,
|
|
1045
1049
|
x: o.x + e.value.style.chart.plots.labels.offsetX,
|
|
1046
1050
|
y: o.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
|
|
@@ -1053,80 +1057,80 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1053
1057
|
opacity: w.value === null || w.value.id === o.id ? 1 : 0.3,
|
|
1054
1058
|
transition: "opacity 0.2s ease-in-out"
|
|
1055
1059
|
})
|
|
1056
|
-
}, z(o.label), 15,
|
|
1060
|
+
}, z(o.label), 15, sa))
|
|
1057
1061
|
]))), 256))
|
|
1058
1062
|
])) : h("", !0),
|
|
1059
|
-
e.value.style.chart.plots.indexLabels.show ? (s(), r("g",
|
|
1060
|
-
(s(!0), r(m, null,
|
|
1063
|
+
e.value.style.chart.plots.indexLabels.show ? (s(), r("g", na, [
|
|
1064
|
+
(s(!0), r(m, null, C(l.plots, (o, k) => (s(), r("text", {
|
|
1061
1065
|
x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
|
|
1062
1066
|
y: o.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
|
|
1063
1067
|
"font-size": n.value.indexLabels,
|
|
1064
1068
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
1065
|
-
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(
|
|
1069
|
+
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(dl)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
1066
1070
|
"text-anchor": "middle",
|
|
1067
1071
|
class: I({ animated: e.value.useCssAnimation && !u(B) }),
|
|
1068
1072
|
style: T({
|
|
1069
1073
|
opacity: w.value === null || w.value.id === o.id ? 1 : 0.3,
|
|
1070
1074
|
transition: "opacity 0.2s ease-in-out"
|
|
1071
1075
|
})
|
|
1072
|
-
}, z(e.value.style.chart.plots.indexLabels.startAtZero ?
|
|
1076
|
+
}, z(e.value.style.chart.plots.indexLabels.startAtZero ? k : k + 1), 15, ia))), 256))
|
|
1073
1077
|
])) : h("", !0)
|
|
1074
1078
|
]))), 256)),
|
|
1075
|
-
(s(!0), r(m, null,
|
|
1076
|
-
(s(!0), r(m, null,
|
|
1079
|
+
(s(!0), r(m, null, C(E.value, (l) => (s(), r("g", null, [
|
|
1080
|
+
(s(!0), r(m, null, C(l.plots, (i, o) => (s(), r("circle", {
|
|
1077
1081
|
cx: i.x,
|
|
1078
1082
|
cy: i.y,
|
|
1079
1083
|
fill: "transparent",
|
|
1080
1084
|
r: n.value.plots,
|
|
1081
1085
|
stroke: "none",
|
|
1082
|
-
onMouseenter: (
|
|
1086
|
+
onMouseenter: (k) => Xt({
|
|
1083
1087
|
datapoint: i,
|
|
1084
1088
|
plotIndex: o,
|
|
1085
1089
|
seriesIndex: l.seriesIndex
|
|
1086
1090
|
}),
|
|
1087
|
-
onMouseleave: (
|
|
1091
|
+
onMouseleave: (k) => Pt({
|
|
1088
1092
|
datapoint: i,
|
|
1089
1093
|
plotIndex: o,
|
|
1090
1094
|
seriesIndex: l.seriesIndex
|
|
1091
1095
|
}),
|
|
1092
|
-
onClick: (
|
|
1096
|
+
onClick: (k) => It({
|
|
1093
1097
|
datapoint: i,
|
|
1094
1098
|
plotIndex: o,
|
|
1095
1099
|
seriesIndex: l.seriesIndex
|
|
1096
1100
|
})
|
|
1097
|
-
}, null, 40,
|
|
1101
|
+
}, null, 40, ua))), 256))
|
|
1098
1102
|
]))), 256)),
|
|
1099
|
-
f(t.$slots, "svg", { svg:
|
|
1100
|
-
], 12,
|
|
1101
|
-
t.$slots.watermark ? (s(), r("div",
|
|
1102
|
-
f(t.$slots, "watermark", _(
|
|
1103
|
+
f(t.$slots, "svg", { svg: x.value }, void 0, !0)
|
|
1104
|
+
], 12, Ml)),
|
|
1105
|
+
t.$slots.watermark ? (s(), r("div", ca, [
|
|
1106
|
+
f(t.$slots, "watermark", S(_({ isPrinting: u(ze) || u(Me) })), void 0, !0)
|
|
1103
1107
|
])) : h("", !0),
|
|
1104
|
-
|
|
1108
|
+
L("div", {
|
|
1105
1109
|
id: `legend-bottom-${D.value}`
|
|
1106
|
-
}, null, 8,
|
|
1107
|
-
|
|
1110
|
+
}, null, 8, va),
|
|
1111
|
+
Se.value ? (s(), N(el, {
|
|
1108
1112
|
key: 5,
|
|
1109
1113
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1110
1114
|
}, [
|
|
1111
|
-
|
|
1115
|
+
L("div", {
|
|
1112
1116
|
ref_key: "chartLegend",
|
|
1113
1117
|
ref: me
|
|
1114
1118
|
}, [
|
|
1115
|
-
e.value.style.chart.legend.show && G.value ? (s(), N(
|
|
1116
|
-
key: `legend_${
|
|
1119
|
+
e.value.style.chart.legend.show && G.value ? (s(), N(Tl, {
|
|
1120
|
+
key: `legend_${Ce.value}`,
|
|
1117
1121
|
legendSet: de.value,
|
|
1118
|
-
config:
|
|
1122
|
+
config: Et.value,
|
|
1119
1123
|
onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
|
|
1120
1124
|
q(l.seriesIndex), Pe(l);
|
|
1121
1125
|
})
|
|
1122
1126
|
}, {
|
|
1123
|
-
item:
|
|
1124
|
-
|
|
1127
|
+
item: b(({ legend: l, index: i }) => [
|
|
1128
|
+
L("div", {
|
|
1125
1129
|
onClick: (o) => {
|
|
1126
1130
|
l.segregate(), Pe(l);
|
|
1127
1131
|
},
|
|
1128
1132
|
style: T(`opacity:${p.value.includes(l.seriesIndex) ? 0.5 : 1}`)
|
|
1129
|
-
}, z(l.name), 13,
|
|
1133
|
+
}, z(l.name), 13, da)
|
|
1130
1134
|
]),
|
|
1131
1135
|
_: 1
|
|
1132
1136
|
}, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
|
|
@@ -1138,12 +1142,12 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1138
1142
|
t.$slots.source ? (s(), r("div", {
|
|
1139
1143
|
key: 6,
|
|
1140
1144
|
ref_key: "source",
|
|
1141
|
-
ref:
|
|
1145
|
+
ref: Le,
|
|
1142
1146
|
dir: "auto"
|
|
1143
1147
|
}, [
|
|
1144
1148
|
f(t.$slots, "source", {}, void 0, !0)
|
|
1145
1149
|
], 512)) : h("", !0),
|
|
1146
|
-
|
|
1150
|
+
be(u(vt), {
|
|
1147
1151
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1148
1152
|
show: A.value.showTooltip && le.value,
|
|
1149
1153
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1164,22 +1168,22 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1164
1168
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1165
1169
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1166
1170
|
}, {
|
|
1167
|
-
"tooltip-before":
|
|
1168
|
-
f(t.$slots, "tooltip-before", _(
|
|
1171
|
+
"tooltip-before": b(() => [
|
|
1172
|
+
f(t.$slots, "tooltip-before", S(_({ ...he.value })), void 0, !0)
|
|
1169
1173
|
]),
|
|
1170
|
-
"tooltip-after":
|
|
1171
|
-
f(t.$slots, "tooltip-after", _(
|
|
1174
|
+
"tooltip-after": b(() => [
|
|
1175
|
+
f(t.$slots, "tooltip-after", S(_({ ...he.value })), void 0, !0)
|
|
1172
1176
|
]),
|
|
1173
1177
|
_: 3
|
|
1174
1178
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1175
|
-
G.value && e.value.userOptions.buttons.table ? (s(), N(
|
|
1179
|
+
G.value && e.value.userOptions.buttons.table ? (s(), N(tl(W.value.component), ll({ key: 7 }, W.value.props, {
|
|
1176
1180
|
ref_key: "tableUnit",
|
|
1177
1181
|
ref: U,
|
|
1178
1182
|
onClose: He
|
|
1179
1183
|
}), We({
|
|
1180
|
-
content:
|
|
1181
|
-
(s(), N(u(
|
|
1182
|
-
key: `table_${
|
|
1184
|
+
content: b(() => [
|
|
1185
|
+
(s(), N(u(yt), {
|
|
1186
|
+
key: `table_${ke.value}`,
|
|
1183
1187
|
colNames: Z.value.colNames,
|
|
1184
1188
|
head: Z.value.head,
|
|
1185
1189
|
body: Z.value.body,
|
|
@@ -1188,13 +1192,13 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1188
1192
|
withCloseButton: !e.value.table.useDialog,
|
|
1189
1193
|
onClose: He
|
|
1190
1194
|
}, {
|
|
1191
|
-
th:
|
|
1192
|
-
|
|
1195
|
+
th: b(({ th: l }) => [
|
|
1196
|
+
L("div", {
|
|
1193
1197
|
innerHTML: l,
|
|
1194
1198
|
style: { display: "flex", "align-items": "center" }
|
|
1195
|
-
}, null, 8,
|
|
1199
|
+
}, null, 8, ha)
|
|
1196
1200
|
]),
|
|
1197
|
-
td:
|
|
1201
|
+
td: b(({ td: l }) => [
|
|
1198
1202
|
Ve(z(l.name || l), 1)
|
|
1199
1203
|
]),
|
|
1200
1204
|
_: 1
|
|
@@ -1204,20 +1208,20 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1204
1208
|
}, [
|
|
1205
1209
|
e.value.table.useDialog ? {
|
|
1206
1210
|
name: "title",
|
|
1207
|
-
fn:
|
|
1211
|
+
fn: b(() => [
|
|
1208
1212
|
Ve(z(W.value.title), 1)
|
|
1209
1213
|
]),
|
|
1210
1214
|
key: "0"
|
|
1211
1215
|
} : void 0,
|
|
1212
1216
|
e.value.table.useDialog ? {
|
|
1213
1217
|
name: "actions",
|
|
1214
|
-
fn:
|
|
1215
|
-
|
|
1218
|
+
fn: b(() => [
|
|
1219
|
+
L("button", {
|
|
1216
1220
|
tabindex: "0",
|
|
1217
1221
|
class: "vue-ui-user-options-button",
|
|
1218
1222
|
onClick: a[1] || (a[1] = (l) => ye(e.value.userOptions.callbacks.csv))
|
|
1219
1223
|
}, [
|
|
1220
|
-
|
|
1224
|
+
be(u(dt), {
|
|
1221
1225
|
name: "excel",
|
|
1222
1226
|
stroke: W.value.props.color
|
|
1223
1227
|
}, null, 8, ["stroke"])
|
|
@@ -1226,15 +1230,15 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1226
1230
|
key: "1"
|
|
1227
1231
|
} : void 0
|
|
1228
1232
|
]), 1040)) : h("", !0),
|
|
1229
|
-
u(B) ? (s(), N(
|
|
1230
|
-
], 46,
|
|
1233
|
+
u(B) ? (s(), N(ml, { key: 8 })) : h("", !0)
|
|
1234
|
+
], 46, Dl));
|
|
1231
1235
|
}
|
|
1232
|
-
},
|
|
1236
|
+
}, fa = /* @__PURE__ */ Fl(ya, [["__scopeId", "data-v-154279e0"]]), za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1233
1237
|
__proto__: null,
|
|
1234
|
-
default:
|
|
1238
|
+
default: fa
|
|
1235
1239
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1236
1240
|
export {
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1241
|
+
Da as a,
|
|
1242
|
+
za as b,
|
|
1243
|
+
fa as v
|
|
1240
1244
|
};
|