vue-data-ui 3.22.7 → 3.22.8
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-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.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-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,150 +1,150 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as
|
|
12
|
-
import { t as
|
|
13
|
-
import { c as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, C as n, Et as r, G as i, Gt as a, J as o, Kt as s, Lt as c, Mt as l, S as ee, T as te, U as ne, Ut as re, Wt as ie, Z as ae, b as oe, dt as se, h as ce, i as u, kt as le, q as ue, r as de, t as fe, vt as pe, yt as me } from "./lib-JqW18y5I.js";
|
|
3
|
+
import { t as he } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as ge } from "./usePrinter-CqqHmnBI.js";
|
|
5
|
+
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as be } from "./useNestedProp-DIuuzG1r.js";
|
|
8
|
+
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
+
import { t as Ce } from "./img-DnP3eXuv.js";
|
|
11
|
+
import { n as we } from "./Title-CcNiYzEo.js";
|
|
12
|
+
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
14
|
+
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
+
import { t as Oe } from "./BaseLegendToggle-DtQ8vyfr.js";
|
|
16
|
+
import { t as ke } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
+
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as Me } from "./Legend-ROt6ugzW.js";
|
|
20
|
+
import { t as Ne } from "./vue_ui_history_plot-CuN63VEc.js";
|
|
21
|
+
import { Fragment as d, Teleport as Pe, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Re, nextTick as ze, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Be, onMounted as Ve, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as E, toRefs as We, unref as D, watch as Ge, watchEffect as Ke, withCtx as O } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-history-plot.vue
|
|
23
|
-
var
|
|
23
|
+
var qe = /* @__PURE__ */ e({ default: () => Bt }), Je = ["id"], Ye = ["id"], Xe = ["id"], Ze = { style: { position: "relative" } }, Qe = [
|
|
24
24
|
"xmlns",
|
|
25
25
|
"viewBox",
|
|
26
26
|
"aria-describedby"
|
|
27
|
-
],
|
|
27
|
+
], $e = [
|
|
28
28
|
"x",
|
|
29
29
|
"y",
|
|
30
30
|
"width",
|
|
31
31
|
"height"
|
|
32
|
-
],
|
|
32
|
+
], et = { key: 1 }, tt = ["id"], nt = ["stop-color"], rt = ["stop-color"], it = ["stop-color"], at = ["id"], ot = ["stop-color"], st = ["stop-color"], ct = ["stop-color"], lt = [
|
|
33
33
|
"id",
|
|
34
34
|
"x1",
|
|
35
35
|
"y1",
|
|
36
36
|
"x2",
|
|
37
37
|
"y2"
|
|
38
|
-
],
|
|
38
|
+
], ut = ["stop-color", "offset"], dt = { key: 2 }, ft = [
|
|
39
39
|
"x1",
|
|
40
40
|
"x2",
|
|
41
41
|
"y1",
|
|
42
42
|
"y2",
|
|
43
43
|
"stroke",
|
|
44
44
|
"stroke-width"
|
|
45
|
-
],
|
|
45
|
+
], pt = { key: 3 }, mt = [
|
|
46
46
|
"stroke",
|
|
47
47
|
"stroke-width",
|
|
48
48
|
"x1",
|
|
49
49
|
"x2",
|
|
50
50
|
"y1",
|
|
51
51
|
"y2"
|
|
52
|
-
],
|
|
52
|
+
], ht = [
|
|
53
53
|
"x",
|
|
54
54
|
"y",
|
|
55
55
|
"fill",
|
|
56
56
|
"font-size"
|
|
57
|
-
],
|
|
57
|
+
], gt = [
|
|
58
58
|
"transform",
|
|
59
59
|
"font-size",
|
|
60
60
|
"fill",
|
|
61
61
|
"font-weight"
|
|
62
|
-
],
|
|
62
|
+
], _t = { key: 6 }, vt = [
|
|
63
63
|
"x1",
|
|
64
64
|
"x2",
|
|
65
65
|
"y1",
|
|
66
66
|
"y2",
|
|
67
67
|
"stroke",
|
|
68
68
|
"stroke-width"
|
|
69
|
-
],
|
|
69
|
+
], yt = { key: 7 }, bt = [
|
|
70
70
|
"stroke",
|
|
71
71
|
"stroke-width",
|
|
72
72
|
"x1",
|
|
73
73
|
"x2",
|
|
74
74
|
"y1",
|
|
75
75
|
"y2"
|
|
76
|
-
],
|
|
76
|
+
], xt = [
|
|
77
77
|
"transform",
|
|
78
78
|
"fill",
|
|
79
79
|
"font-size",
|
|
80
80
|
"text-anchor"
|
|
81
|
-
],
|
|
81
|
+
], St = [
|
|
82
82
|
"x",
|
|
83
83
|
"y",
|
|
84
84
|
"font-size",
|
|
85
85
|
"fill",
|
|
86
86
|
"font-weight"
|
|
87
|
-
],
|
|
87
|
+
], Ct = [
|
|
88
88
|
"x1",
|
|
89
89
|
"x2",
|
|
90
90
|
"y1",
|
|
91
91
|
"y2",
|
|
92
92
|
"stroke",
|
|
93
93
|
"stroke-width"
|
|
94
|
-
],
|
|
94
|
+
], wt = [
|
|
95
95
|
"x1",
|
|
96
96
|
"x2",
|
|
97
97
|
"y1",
|
|
98
98
|
"y2",
|
|
99
99
|
"stroke",
|
|
100
100
|
"stroke-width"
|
|
101
|
-
],
|
|
101
|
+
], Tt = [
|
|
102
102
|
"d",
|
|
103
103
|
"stroke",
|
|
104
104
|
"stroke-width"
|
|
105
|
-
],
|
|
105
|
+
], Et = [
|
|
106
106
|
"d",
|
|
107
107
|
"stroke",
|
|
108
108
|
"stroke-width"
|
|
109
|
-
],
|
|
109
|
+
], Dt = [
|
|
110
110
|
"cx",
|
|
111
111
|
"cy",
|
|
112
112
|
"fill",
|
|
113
113
|
"r"
|
|
114
|
-
],
|
|
114
|
+
], Ot = [
|
|
115
115
|
"cx",
|
|
116
116
|
"cy",
|
|
117
117
|
"fill",
|
|
118
118
|
"r",
|
|
119
119
|
"stroke",
|
|
120
120
|
"stroke-width"
|
|
121
|
-
],
|
|
121
|
+
], kt = { key: 1 }, At = [
|
|
122
122
|
"x",
|
|
123
123
|
"y",
|
|
124
124
|
"font-size",
|
|
125
125
|
"fill",
|
|
126
126
|
"font-weight"
|
|
127
|
-
],
|
|
127
|
+
], jt = [
|
|
128
128
|
"x",
|
|
129
129
|
"y",
|
|
130
130
|
"font-size",
|
|
131
131
|
"fill",
|
|
132
132
|
"font-weight",
|
|
133
133
|
"innerHTML"
|
|
134
|
-
],
|
|
134
|
+
], Mt = { key: 2 }, Nt = [
|
|
135
135
|
"x",
|
|
136
136
|
"y",
|
|
137
137
|
"font-size",
|
|
138
138
|
"font-weight",
|
|
139
139
|
"fill"
|
|
140
|
-
],
|
|
140
|
+
], Pt = [
|
|
141
141
|
"cx",
|
|
142
142
|
"cy",
|
|
143
143
|
"r",
|
|
144
144
|
"onMouseenter",
|
|
145
145
|
"onMouseleave",
|
|
146
146
|
"onClick"
|
|
147
|
-
],
|
|
147
|
+
], Ft = {
|
|
148
148
|
key: 0,
|
|
149
149
|
style: {
|
|
150
150
|
position: "absolute",
|
|
@@ -154,10 +154,10 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
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 = ["id"], Rt = ["onClick"], zt = ["innerHTML"], Bt = /*#__PURE__*/ Te({
|
|
161
161
|
__name: "vue-ui-history-plot",
|
|
162
162
|
props: {
|
|
163
163
|
config: {
|
|
@@ -178,83 +178,83 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
178
178
|
"selectDatapoint",
|
|
179
179
|
"copyAlt"
|
|
180
180
|
],
|
|
181
|
-
setup(e, { expose:
|
|
182
|
-
let
|
|
181
|
+
setup(e, { expose: Te, emit: qe }) {
|
|
182
|
+
let Bt = _(() => import("./Tooltip-CxOrWlFy.js")), Vt = _(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), Ht = _(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Ut = _(() => import("./DataTable-D9NvewTT.js")), Wt = _(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Gt = _(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Kt = _(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), qt = _(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_history_plot: Jt } = he(), { isThemeValid: Yt, warnInvalidTheme: Xt } = xe(), k = e, A = C(null), Zt = C(null), Qt = C(0), $t = C(null), en = C(0), tn = C(0), nn = C(0), j = Ue(null), M = Ue(null), rn = C(null), N = C(i()), an = C(!1), on = C(""), P = C([]), sn = C(!1), F = C(null), I = C(!1), cn = C(null), ln = C(!1), L = C(null), un = C(null), dn = C(!1), fn = C(!1), pn = C(null), mn = C(null), hn = C(null), gn = C(null), R = C(null), z = C(null), _n = C({
|
|
183
183
|
x: 0,
|
|
184
184
|
y: 0
|
|
185
|
-
}), vn =
|
|
186
|
-
get: () => !!
|
|
185
|
+
}), vn = C("pointer"), yn = C(!1), bn = f({
|
|
186
|
+
get: () => !!k.dataset && k.dataset.length,
|
|
187
187
|
set: (e) => e
|
|
188
|
-
}), xn =
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
}), xn = qe;
|
|
189
|
+
Ve(() => {
|
|
190
|
+
ln.value = !0, Cn();
|
|
191
191
|
});
|
|
192
|
-
let Sn =
|
|
192
|
+
let Sn = f(() => !!B.value.debug);
|
|
193
193
|
function Cn() {
|
|
194
|
-
if (
|
|
194
|
+
if (le(k.dataset) ? (t({
|
|
195
195
|
componentName: "VueUiHistoryPlot",
|
|
196
196
|
type: "dataset",
|
|
197
197
|
debug: Sn.value
|
|
198
|
-
}), On.value = !0) :
|
|
199
|
-
|
|
198
|
+
}), On.value = !0) : k.dataset.forEach((e, n) => {
|
|
199
|
+
se({
|
|
200
200
|
datasetObject: e,
|
|
201
201
|
requiredAttributes: ["name", "values"]
|
|
202
202
|
}).forEach((e) => {
|
|
203
|
-
bn.value = !1,
|
|
203
|
+
bn.value = !1, t({
|
|
204
204
|
componentName: "VueUiHistoryPlot",
|
|
205
205
|
type: "datasetSerieAttribute",
|
|
206
206
|
property: e,
|
|
207
|
-
index:
|
|
207
|
+
index: n,
|
|
208
208
|
debug: Sn.value
|
|
209
209
|
});
|
|
210
210
|
});
|
|
211
|
-
}),
|
|
212
|
-
let e =
|
|
213
|
-
let { width: e, height: t } =
|
|
214
|
-
chart:
|
|
215
|
-
title: B.value.style.chart.title.text ?
|
|
216
|
-
noTitle:
|
|
217
|
-
legend: B.value.style.chart.legend.show ?
|
|
218
|
-
source:
|
|
211
|
+
}), le(k.dataset) || (On.value = B.value.loading), B.value.responsive) {
|
|
212
|
+
let e = Ee(() => {
|
|
213
|
+
let { width: e, height: t } = De({
|
|
214
|
+
chart: A.value,
|
|
215
|
+
title: B.value.style.chart.title.text ? Zt.value : null,
|
|
216
|
+
noTitle: rn.value,
|
|
217
|
+
legend: B.value.style.chart.legend.show ? $t.value : null,
|
|
218
|
+
source: cn.value
|
|
219
219
|
});
|
|
220
220
|
requestAnimationFrame(() => {
|
|
221
|
-
W.value.width = e, W.value.height = t, B.value.responsiveProportionalSizing ? (K.value.plots =
|
|
221
|
+
W.value.width = e, W.value.height = t, B.value.responsiveProportionalSizing ? (K.value.plots = a({
|
|
222
222
|
relator: Math.min(e, t),
|
|
223
223
|
adjuster: 600,
|
|
224
224
|
source: B.value.style.chart.plots.radius,
|
|
225
225
|
threshold: 3,
|
|
226
226
|
fallback: 3
|
|
227
|
-
}), K.value.indexLabels =
|
|
227
|
+
}), K.value.indexLabels = a({
|
|
228
228
|
relator: Math.min(e, t),
|
|
229
229
|
adjuster: 600,
|
|
230
230
|
source: B.value.style.chart.plots.indexLabels.fontSize,
|
|
231
231
|
threshold: 6,
|
|
232
232
|
fallback: 6
|
|
233
|
-
}), K.value.labels =
|
|
233
|
+
}), K.value.labels = a({
|
|
234
234
|
relator: Math.min(e, t),
|
|
235
235
|
adjuster: 600,
|
|
236
236
|
source: B.value.style.chart.plots.labels.fontSize,
|
|
237
237
|
threshold: 6,
|
|
238
238
|
fallback: 6
|
|
239
|
-
}), K.value.xAxisLabels =
|
|
239
|
+
}), K.value.xAxisLabels = a({
|
|
240
240
|
relator: Math.min(e, t),
|
|
241
241
|
adjuster: 600,
|
|
242
242
|
source: B.value.style.chart.axes.x.labels.fontSize,
|
|
243
243
|
threshold: 6,
|
|
244
244
|
fallback: 6
|
|
245
|
-
}), K.value.xAxisName =
|
|
245
|
+
}), K.value.xAxisName = a({
|
|
246
246
|
relator: Math.min(e, t),
|
|
247
247
|
adjuster: 600,
|
|
248
248
|
source: B.value.style.chart.axes.x.name.fontSize,
|
|
249
249
|
threshold: 6,
|
|
250
250
|
fallback: 6
|
|
251
|
-
}), K.value.yAxisLabels =
|
|
251
|
+
}), K.value.yAxisLabels = a({
|
|
252
252
|
relator: Math.min(e, t),
|
|
253
253
|
adjuster: 600,
|
|
254
254
|
source: B.value.style.chart.axes.y.labels.fontSize,
|
|
255
255
|
threshold: 6,
|
|
256
256
|
fallback: 6
|
|
257
|
-
}), K.value.yAxisName =
|
|
257
|
+
}), K.value.yAxisName = a({
|
|
258
258
|
relator: Math.min(e, t),
|
|
259
259
|
adjuster: 600,
|
|
260
260
|
source: B.value.style.chart.axes.y.name.fontSize,
|
|
@@ -263,35 +263,35 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
263
263
|
})) : (K.value.plots = B.value.style.chart.plots.radius, K.value.indexLabels = B.value.style.chart.plots.indexLabels.fontSize, K.value.labels = B.value.style.chart.plots.labels.fontSize, K.value.xAxisLabels = B.value.style.chart.axes.x.labels.fontSize, K.value.xAxisName = B.value.style.chart.axes.x.name.fontSize, K.value.yAxisLabels = B.value.style.chart.axes.y.labels.fontSize, K.value.yAxisName = B.value.style.chart.axes.y.name.fontSize);
|
|
264
264
|
});
|
|
265
265
|
});
|
|
266
|
-
|
|
266
|
+
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect()), j.value = new ResizeObserver(e), M.value = A.value.parentNode, j.value.observe(M.value);
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
Be(() => {
|
|
270
|
+
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect());
|
|
271
271
|
});
|
|
272
272
|
function wn() {
|
|
273
|
-
let e =
|
|
274
|
-
userConfig:
|
|
275
|
-
defaultConfig:
|
|
273
|
+
let e = be({
|
|
274
|
+
userConfig: k.config,
|
|
275
|
+
defaultConfig: Jt
|
|
276
276
|
}), t = {}, n = e.theme;
|
|
277
|
-
if (n) if (!
|
|
277
|
+
if (n) if (!Yt.value(e)) Xt(e), t = e;
|
|
278
278
|
else {
|
|
279
|
-
let r =
|
|
280
|
-
userConfig:
|
|
279
|
+
let r = be({
|
|
280
|
+
userConfig: Ne[n] || k.config,
|
|
281
281
|
defaultConfig: e
|
|
282
282
|
});
|
|
283
283
|
t = {
|
|
284
|
-
...
|
|
285
|
-
userConfig:
|
|
284
|
+
...be({
|
|
285
|
+
userConfig: k.config,
|
|
286
286
|
defaultConfig: r
|
|
287
287
|
}),
|
|
288
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
288
|
+
customPalette: e.customPalette.length ? e.customPalette : ie[n] || l
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
291
|
else t = e;
|
|
292
292
|
return t;
|
|
293
293
|
}
|
|
294
|
-
let B =
|
|
294
|
+
let B = C(wn()), V = f(() => B.value.userOptions.useCursorPointer), Tn = f(() => s({
|
|
295
295
|
defaultConfig: {
|
|
296
296
|
userOptions: { show: !1 },
|
|
297
297
|
table: { show: !1 },
|
|
@@ -330,11 +330,11 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
330
330
|
} }
|
|
331
331
|
},
|
|
332
332
|
userConfig: B.value.skeletonConfig ?? {}
|
|
333
|
-
})), { loading: En, FINAL_DATASET: Dn, manualLoading: On } =
|
|
334
|
-
...
|
|
333
|
+
})), { loading: En, FINAL_DATASET: Dn, manualLoading: On } = _e({
|
|
334
|
+
...We(k),
|
|
335
335
|
FINAL_CONFIG: B,
|
|
336
336
|
prepareConfig: wn,
|
|
337
|
-
skeletonDataset:
|
|
337
|
+
skeletonDataset: k.config?.skeletonDataset ?? [{
|
|
338
338
|
name: "",
|
|
339
339
|
color: "#CACACA",
|
|
340
340
|
values: [
|
|
@@ -360,34 +360,34 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
360
360
|
}
|
|
361
361
|
]
|
|
362
362
|
}],
|
|
363
|
-
skeletonConfig:
|
|
363
|
+
skeletonConfig: s({
|
|
364
364
|
defaultConfig: B.value,
|
|
365
365
|
userConfig: Tn.value
|
|
366
366
|
})
|
|
367
|
-
}), { userOptionsVisible: kn, setUserOptionsVisibility: An, keepUserOptionState: jn } =
|
|
368
|
-
|
|
369
|
-
En.value || (B.value = wn()), kn.value = !B.value.userOptions.showOnChartHover, Cn(),
|
|
370
|
-
}, { deep: !0 }),
|
|
367
|
+
}), { userOptionsVisible: kn, setUserOptionsVisibility: An, keepUserOptionState: jn } = Ae({ config: B.value }), { svgRef: H } = je({ config: B.value.style.chart.title });
|
|
368
|
+
Ge(() => k.config, (e) => {
|
|
369
|
+
En.value || (B.value = wn()), kn.value = !B.value.userOptions.showOnChartHover, Cn(), Qt.value += 1, tn.value += 1, en.value += 1, W.value.height = B.value.style.chart.height, W.value.width = B.value.style.chart.width, K.value.plots = B.value.style.chart.plots.radius, K.value.indexLabels = B.value.style.chart.plots.indexLabels.fontSize, K.value.labels = B.value.style.chart.plots.labels.fontSize, K.value.xAxisLabels = B.value.style.chart.axes.x.labels.fontSize, K.value.xAxisName = B.value.style.chart.axes.x.name.fontSize, K.value.yAxisLabels = B.value.style.chart.axes.y.labels.fontSize, K.value.yAxisName = B.value.style.chart.axes.y.name.fontSize, U.value.showTable = B.value.table.show, U.value.showTooltip = B.value.style.chart.tooltip.show;
|
|
370
|
+
}, { deep: !0 }), Ge(() => k.dataset, (e) => {
|
|
371
371
|
Array.isArray(e) && e.length > 0 && (On.value = !1);
|
|
372
372
|
}, { deep: !0 });
|
|
373
|
-
let { isPrinting: Mn, isImaging: Nn, generatePdf: Pn, generateImage: Fn } =
|
|
374
|
-
elementId: `history_plot_${
|
|
373
|
+
let { isPrinting: Mn, isImaging: Nn, generatePdf: Pn, generateImage: Fn } = ge({
|
|
374
|
+
elementId: `history_plot_${N.value}`,
|
|
375
375
|
fileName: B.value.style.chart.title.text || "vue-ui-history-plot",
|
|
376
376
|
options: B.value.userOptions.print
|
|
377
|
-
}), In =
|
|
377
|
+
}), In = f(() => B.value.userOptions.show && !B.value.style.chart.title.text), Ln = f(() => ee(B.value.customPalette)), U = C({
|
|
378
378
|
showTable: B.value.table.show,
|
|
379
379
|
showTooltip: B.value.style.chart.tooltip.show
|
|
380
380
|
});
|
|
381
|
-
|
|
381
|
+
Ge(B, () => {
|
|
382
382
|
U.value = {
|
|
383
383
|
showTable: B.value.table.show,
|
|
384
384
|
showTooltip: B.value.style.chart.tooltip.show
|
|
385
385
|
};
|
|
386
386
|
}, { immediate: !0 });
|
|
387
|
-
let W =
|
|
387
|
+
let W = C({
|
|
388
388
|
height: B.value.style.chart.height,
|
|
389
389
|
width: B.value.style.chart.width
|
|
390
|
-
}), Rn =
|
|
390
|
+
}), Rn = f(() => W.value.width), zn = f(() => W.value.height);
|
|
391
391
|
function Bn() {
|
|
392
392
|
let e = 0;
|
|
393
393
|
gn.value && (e = Array.from(gn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -397,10 +397,10 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
397
397
|
let t = mn.value ? mn.value.getBoundingClientRect().width : 0;
|
|
398
398
|
return e + t + (t ? 24 : 0);
|
|
399
399
|
}
|
|
400
|
-
let Vn =
|
|
400
|
+
let Vn = C(0), Hn = Ee((e) => {
|
|
401
401
|
Vn.value = e;
|
|
402
402
|
});
|
|
403
|
-
|
|
403
|
+
Ke((e) => {
|
|
404
404
|
let t = hn.value;
|
|
405
405
|
if (!t) return;
|
|
406
406
|
let n = new ResizeObserver((e) => {
|
|
@@ -408,12 +408,12 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
408
408
|
});
|
|
409
409
|
n.observe(t), e(() => n.disconnect());
|
|
410
410
|
});
|
|
411
|
-
let Un =
|
|
411
|
+
let Un = f(() => {
|
|
412
412
|
let e = 0;
|
|
413
413
|
pn.value && (e = pn.value.getBBox().height + K.value.xAxisName / 2);
|
|
414
414
|
let t = 0;
|
|
415
415
|
return hn.value && (t = Vn.value), e + t;
|
|
416
|
-
}), G =
|
|
416
|
+
}), G = f(() => {
|
|
417
417
|
let e = B.value.style.chart.padding.left, t = B.value.style.chart.padding.top, n = Bn(), r = B.value.style.chart.plots.radius;
|
|
418
418
|
return {
|
|
419
419
|
left: e + n + B.value.style.chart.axes.y.name.offsetX,
|
|
@@ -423,7 +423,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
423
423
|
width: W.value.width - e - B.value.style.chart.padding.right - n - r - B.value.style.chart.axes.y.name.offsetX,
|
|
424
424
|
height: W.value.height - t - B.value.style.chart.padding.bottom - Un.value - r * 2 - B.value.style.chart.axes.x.name.offsetY
|
|
425
425
|
};
|
|
426
|
-
}), K =
|
|
426
|
+
}), K = C({
|
|
427
427
|
plots: B.value.style.chart.plots.radius,
|
|
428
428
|
indexLabels: B.value.style.chart.plots.indexLabels.fontSize,
|
|
429
429
|
labels: B.value.style.chart.plots.labels.fontSize,
|
|
@@ -431,11 +431,11 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
431
431
|
xAxisName: B.value.style.chart.axes.x.name.fontSize,
|
|
432
432
|
yAxisLabels: B.value.style.chart.axes.y.labels.fontSize,
|
|
433
433
|
yAxisName: B.value.style.chart.axes.y.name.fontSize
|
|
434
|
-
}), q =
|
|
434
|
+
}), q = f(() => Dn.value.map((e, t) => {
|
|
435
435
|
let n = Array.isArray(e.temperatureColors) && e.temperatureColors.length ? e.temperatureColors.map((e) => oe(e)) : void 0;
|
|
436
436
|
return {
|
|
437
437
|
...e,
|
|
438
|
-
color: e.color ? oe(e.color) : Ln.value[t] ||
|
|
438
|
+
color: e.color ? oe(e.color) : Ln.value[t] || l[t] || l[t % l.length],
|
|
439
439
|
temperatureColors: n,
|
|
440
440
|
temperatureAngle: Wn(e.temperatureAngle),
|
|
441
441
|
temperatureIndependant: e.temperatureIndependant === !0,
|
|
@@ -447,14 +447,14 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
447
447
|
let t = Number(e);
|
|
448
448
|
return Number.isFinite(t) ? (t % 360 + 360) % 360 : 0;
|
|
449
449
|
}
|
|
450
|
-
let Gn =
|
|
451
|
-
let e = Math.min(...q.value.filter((e) => !
|
|
450
|
+
let Gn = f(() => Math.max(...q.value.filter((e) => !P.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)))), Kn = f(() => {
|
|
451
|
+
let e = Math.min(...q.value.filter((e) => !P.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)));
|
|
452
452
|
return e < 0 ? e : 0;
|
|
453
|
-
}), qn =
|
|
454
|
-
let e = Math.min(...q.value.filter((e) => !
|
|
453
|
+
}), qn = f(() => Math.max(...q.value.filter((e) => !P.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)))), Jn = f(() => {
|
|
454
|
+
let e = Math.min(...q.value.filter((e) => !P.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)));
|
|
455
455
|
return e < 0 ? e : 0;
|
|
456
|
-
}), J =
|
|
457
|
-
let e =
|
|
456
|
+
}), J = f(() => {
|
|
457
|
+
let e = ce(B.value.style.chart.axes.x.scaleMin ?? Kn.value, B.value.style.chart.axes.x.scaleMax ?? Gn.value, B.value.style.chart.axes.x.ticks), t = ce(B.value.style.chart.axes.y.scaleMin ?? Jn.value, B.value.style.chart.axes.y.scaleMax ?? qn.value, B.value.style.chart.axes.y.ticks);
|
|
458
458
|
return {
|
|
459
459
|
x: e,
|
|
460
460
|
y: t,
|
|
@@ -480,7 +480,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
480
480
|
let t = J.value.y.min < 0 ? Math.abs(J.value.y.min) : J.value.y.min > 0 ? -J.value.y.min : 0;
|
|
481
481
|
return G.value.bottom - ((e || 0) + t) / (J.value.y.max + t) * G.value.height;
|
|
482
482
|
}
|
|
483
|
-
let Y =
|
|
483
|
+
let Y = f(() => q.value.filter((e) => !P.value.includes(e.seriesIndex)).map((e, t) => {
|
|
484
484
|
let r = e.values.map((t, n) => ({
|
|
485
485
|
valueX: t.x,
|
|
486
486
|
valueY: t.y,
|
|
@@ -489,16 +489,16 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
489
489
|
y: Xn(t.y),
|
|
490
490
|
color: e.color,
|
|
491
491
|
seriesName: e.name,
|
|
492
|
-
id:
|
|
493
|
-
})),
|
|
492
|
+
id: i()
|
|
493
|
+
})), a = e.smooth ? n(r) : r.map((e) => `${e.x},${e.y} `).join("").trim();
|
|
494
494
|
return {
|
|
495
495
|
...e,
|
|
496
|
-
gradientIndex:
|
|
496
|
+
gradientIndex: t,
|
|
497
497
|
plots: r,
|
|
498
|
-
path: `M${
|
|
498
|
+
path: `M${a}`
|
|
499
499
|
};
|
|
500
|
-
})), Zn =
|
|
501
|
-
if (
|
|
500
|
+
})), Zn = f(() => {
|
|
501
|
+
if (F.value === null || R.value === null) return Y.value;
|
|
502
502
|
let e = Y.value.findIndex((e) => e.seriesIndex === R.value);
|
|
503
503
|
if (e === -1) return Y.value;
|
|
504
504
|
let t = Y.value[e];
|
|
@@ -507,7 +507,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
507
507
|
...Y.value.slice(e + 1),
|
|
508
508
|
t
|
|
509
509
|
];
|
|
510
|
-
}), Qn =
|
|
510
|
+
}), Qn = f(() => Y.value.some((e) => X(e)));
|
|
511
511
|
function X(e) {
|
|
512
512
|
return Array.isArray(e?.temperatureColors) && e.temperatureColors.length;
|
|
513
513
|
}
|
|
@@ -560,39 +560,39 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
560
560
|
function ir(e, t) {
|
|
561
561
|
let { x1: n, y1: r, x2: i, y2: a } = rr(e), o = i - n, s = a - r, c = o * o + s * s;
|
|
562
562
|
if (!c) return 0;
|
|
563
|
-
let
|
|
564
|
-
return Math.min(1, Math.max(0,
|
|
563
|
+
let l = ((t.x - n) * o + (t.y - r) * s) / c;
|
|
564
|
+
return Math.min(1, Math.max(0, l));
|
|
565
565
|
}
|
|
566
566
|
function Z(e, t) {
|
|
567
|
-
return
|
|
567
|
+
return pe({
|
|
568
568
|
colors: e.temperatureColors,
|
|
569
569
|
ratio: ir(e, t)
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
572
|
function ar(e, t) {
|
|
573
|
-
return `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${
|
|
573
|
+
return `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${N.value}`;
|
|
574
574
|
}
|
|
575
575
|
function or(e, t, n) {
|
|
576
|
-
return $n(e) ? B.value.style.chart.plots.gradient.show ? `url(#${ar(e, t)})` : Z(e, t) : B.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${
|
|
576
|
+
return $n(e) ? B.value.style.chart.plots.gradient.show ? `url(#${ar(e, t)})` : Z(e, t) : B.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${N.value})` : t.color;
|
|
577
577
|
}
|
|
578
578
|
function sr(e, t) {
|
|
579
579
|
return $n(e) ? Z(e, t) : e.color;
|
|
580
580
|
}
|
|
581
581
|
function cr(e, t) {
|
|
582
|
-
return B.value.style.chart.plots.indexLabels.adaptColorToBackground ?
|
|
582
|
+
return B.value.style.chart.plots.indexLabels.adaptColorToBackground ? de(sr(e, t)) : B.value.style.chart.plots.indexLabels.color;
|
|
583
583
|
}
|
|
584
584
|
function lr(e, t) {
|
|
585
585
|
let n = Y.value.find((t) => t.seriesIndex === e);
|
|
586
586
|
return n && $n(n) ? Z(n, t) : t.color;
|
|
587
587
|
}
|
|
588
588
|
function ur(e) {
|
|
589
|
-
return X(e) ? `url(#temperature_grad_history_${e.seriesIndex}_${
|
|
589
|
+
return X(e) ? `url(#temperature_grad_history_${e.seriesIndex}_${N.value})` : B.value.style.chart.paths.useSerieColor ? e.color : B.value.style.chart.paths.stroke;
|
|
590
590
|
}
|
|
591
591
|
function dr(e) {
|
|
592
|
-
return
|
|
592
|
+
return F.value === null || R.value === e ? 1 : Math.min(1, B.value.style.chart.plots.unselectedOpacity);
|
|
593
593
|
}
|
|
594
|
-
|
|
595
|
-
let fr =
|
|
594
|
+
f(() => F.value !== null && R.value !== null);
|
|
595
|
+
let fr = C(!1);
|
|
596
596
|
function Q() {
|
|
597
597
|
return B.value.useCssAnimation && !En.value && !fr.value;
|
|
598
598
|
}
|
|
@@ -600,35 +600,35 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
600
600
|
return "opacity 0.2s ease-in-out";
|
|
601
601
|
}
|
|
602
602
|
function mr() {
|
|
603
|
-
|
|
604
|
-
|
|
603
|
+
P.value.length ? P.value = [] : yr.value.forEach((e) => {
|
|
604
|
+
P.value.push(e.seriesIndex);
|
|
605
605
|
}), xn("selectLegend", Y.value);
|
|
606
606
|
}
|
|
607
607
|
function hr(e) {
|
|
608
|
-
|
|
608
|
+
P.value.includes(e) ? P.value = P.value.filter((t) => t !== e) : P.value.push(e), xn("selectLegend", Y.value);
|
|
609
609
|
}
|
|
610
610
|
function gr(e) {
|
|
611
611
|
return q.value.length ? q.value.find((t) => t.name === e) || (B.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${e}"`), null) : (B.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null);
|
|
612
612
|
}
|
|
613
613
|
function _r(e) {
|
|
614
614
|
let t = gr(e);
|
|
615
|
-
t !== null &&
|
|
615
|
+
t !== null && P.value.includes(t.seriesIndex) && hr(t.seriesIndex);
|
|
616
616
|
}
|
|
617
617
|
function vr(e) {
|
|
618
618
|
let t = gr(e);
|
|
619
|
-
t !== null && (
|
|
619
|
+
t !== null && (P.value.includes(t.seriesIndex) || hr(t.seriesIndex));
|
|
620
620
|
}
|
|
621
|
-
let yr =
|
|
621
|
+
let yr = f(() => q.value.map((e) => {
|
|
622
622
|
let t = X(e) ? e.temperatureColors : null;
|
|
623
623
|
return {
|
|
624
624
|
...e,
|
|
625
625
|
gradientColors: t,
|
|
626
|
-
opacity:
|
|
626
|
+
opacity: P.value.includes(e.seriesIndex) ? .5 : 1,
|
|
627
627
|
segregate: () => hr(e.seriesIndex),
|
|
628
|
-
isSegregated:
|
|
628
|
+
isSegregated: P.value.includes(e.seriesIndex),
|
|
629
629
|
shape: t ? "gradient" : "circle"
|
|
630
630
|
};
|
|
631
|
-
})), br =
|
|
631
|
+
})), br = f(() => ({
|
|
632
632
|
cy: "history-plot-div-legend",
|
|
633
633
|
backgroundColor: B.value.style.chart.legend.backgroundColor,
|
|
634
634
|
color: B.value.style.chart.legend.color,
|
|
@@ -647,9 +647,9 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
647
647
|
}), xn("selectDatapoint", e);
|
|
648
648
|
}
|
|
649
649
|
function Sr(e) {
|
|
650
|
-
|
|
650
|
+
sn.value = e, nn.value += 1;
|
|
651
651
|
}
|
|
652
|
-
let Cr =
|
|
652
|
+
let Cr = C(null);
|
|
653
653
|
function wr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
|
|
654
654
|
B.value.events.datapointLeave && B.value.events.datapointLeave({
|
|
655
655
|
datapoint: {
|
|
@@ -658,7 +658,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
658
658
|
seriesIndex: n
|
|
659
659
|
},
|
|
660
660
|
seriesIndex: n
|
|
661
|
-
}), !(vn.value === "keyboard" && R.value === n && z.value === t) && (
|
|
661
|
+
}), !(vn.value === "keyboard" && R.value === n && z.value === t) && (an.value = !1, F.value = null);
|
|
662
662
|
}
|
|
663
663
|
function Tr(e, t) {
|
|
664
664
|
if (!H.value) return;
|
|
@@ -666,8 +666,8 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
666
666
|
if (!n) return;
|
|
667
667
|
let r = n.plots[t];
|
|
668
668
|
if (!r) return;
|
|
669
|
-
let
|
|
670
|
-
|
|
669
|
+
let i = re(r.x, r.y, H.value);
|
|
670
|
+
i && (_n.value = i);
|
|
671
671
|
}
|
|
672
672
|
function Er({ datapoint: e, plotIndex: t, seriesIndex: n, triggerMode: r = "pointer" }) {
|
|
673
673
|
B.value.events.datapointEnter && B.value.events.datapointEnter({
|
|
@@ -689,10 +689,10 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
689
689
|
plotIndex: t,
|
|
690
690
|
config: B.value,
|
|
691
691
|
series: q.value
|
|
692
|
-
},
|
|
693
|
-
let
|
|
694
|
-
if (
|
|
695
|
-
let e =
|
|
692
|
+
}, F.value = e;
|
|
693
|
+
let s = B.value.style.chart.tooltip.customFormat;
|
|
694
|
+
if (I.value = !1, me(s)) try {
|
|
695
|
+
let e = s({
|
|
696
696
|
seriesIndex: n,
|
|
697
697
|
datapoint: a,
|
|
698
698
|
color: i,
|
|
@@ -700,33 +700,33 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
700
700
|
series: q.value,
|
|
701
701
|
config: B.value
|
|
702
702
|
});
|
|
703
|
-
typeof e == "string" && (
|
|
703
|
+
typeof e == "string" && (on.value = e, I.value = !0);
|
|
704
704
|
} catch {
|
|
705
|
-
console.warn("Custom format cannot be applied."),
|
|
705
|
+
console.warn("Custom format cannot be applied."), I.value = !1;
|
|
706
706
|
}
|
|
707
|
-
if (!
|
|
707
|
+
if (!I.value) {
|
|
708
708
|
let t = "";
|
|
709
|
-
t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${B.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${i}"/></svg><span>${e.seriesName}</span></div>`, t += `<div>${e.label}</div>`, t += `<div>${B.value.style.chart.axes.x.name.text || "x"}: ${u(B.value.style.chart.axes.x.labels.formatter, e.valueX,
|
|
709
|
+
t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${B.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${i}"/></svg><span>${e.seriesName}</span></div>`, t += `<div>${e.label}</div>`, t += `<div>${B.value.style.chart.axes.x.name.text || "x"}: ${u(B.value.style.chart.axes.x.labels.formatter, e.valueX, o({
|
|
710
710
|
p: B.value.style.chart.axes.x.labels.prefix,
|
|
711
711
|
v: e.valueX,
|
|
712
712
|
s: B.value.style.chart.axes.x.labels.suffix,
|
|
713
713
|
r: B.value.style.chart.axes.x.labels.rounding
|
|
714
|
-
}))}</div>`, t += `<div>${B.value.style.chart.axes.y.name.text || "y"}: ${u(B.value.style.chart.axes.y.labels.formatter, e.valueY,
|
|
714
|
+
}))}</div>`, t += `<div>${B.value.style.chart.axes.y.name.text || "y"}: ${u(B.value.style.chart.axes.y.labels.formatter, e.valueY, o({
|
|
715
715
|
p: B.value.style.chart.axes.y.labels.prefix,
|
|
716
716
|
v: e.valueY,
|
|
717
717
|
s: B.value.style.chart.axes.y.labels.suffix,
|
|
718
718
|
r: B.value.style.chart.axes.y.labels.rounding
|
|
719
|
-
}))}</div>`,
|
|
719
|
+
}))}</div>`, on.value = `<div>${t}</div>`;
|
|
720
720
|
}
|
|
721
|
-
|
|
721
|
+
an.value = !0, r === "keyboard" && ze(() => {
|
|
722
722
|
Tr(n, t);
|
|
723
723
|
});
|
|
724
724
|
}
|
|
725
|
-
|
|
725
|
+
f(() => ({ head: Y.value.map((e) => ({
|
|
726
726
|
name: e.name,
|
|
727
727
|
color: e.color
|
|
728
728
|
})) }));
|
|
729
|
-
let $ =
|
|
729
|
+
let $ = f(() => {
|
|
730
730
|
let e = [
|
|
731
731
|
B.value.table.columnNames.series,
|
|
732
732
|
B.value.table.columnNames.datapoint,
|
|
@@ -741,13 +741,13 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
741
741
|
name: e.seriesName
|
|
742
742
|
},
|
|
743
743
|
e.label,
|
|
744
|
-
u(B.value.style.chart.axes.x.labels.formatter, e.valueX,
|
|
744
|
+
u(B.value.style.chart.axes.x.labels.formatter, e.valueX, o({
|
|
745
745
|
p: B.value.style.chart.axes.x.labels.prefix,
|
|
746
746
|
v: e.valueX,
|
|
747
747
|
s: B.value.style.chart.axes.x.labels.suffix,
|
|
748
748
|
r: B.value.style.chart.axes.x.labels.rounding
|
|
749
749
|
})),
|
|
750
|
-
u(B.value.style.chart.axes.y.labels.formatter, e.valueY,
|
|
750
|
+
u(B.value.style.chart.axes.y.labels.formatter, e.valueY, o({
|
|
751
751
|
p: B.value.style.chart.axes.y.labels.prefix,
|
|
752
752
|
v: e.valueY,
|
|
753
753
|
s: B.value.style.chart.axes.y.labels.suffix,
|
|
@@ -771,7 +771,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
771
771
|
};
|
|
772
772
|
});
|
|
773
773
|
function Dr(e = null) {
|
|
774
|
-
|
|
774
|
+
ze(() => {
|
|
775
775
|
let t = [
|
|
776
776
|
[B.value.table.columnNames.series],
|
|
777
777
|
[B.value.table.columnNames.datapoint],
|
|
@@ -782,18 +782,18 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
782
782
|
[e.label],
|
|
783
783
|
[e.valueX],
|
|
784
784
|
[e.valueY]
|
|
785
|
-
])), r =
|
|
785
|
+
])), r = te([
|
|
786
786
|
[B.value.style.chart.title.text],
|
|
787
787
|
[B.value.style.chart.title.subtitle.text],
|
|
788
788
|
t
|
|
789
789
|
].concat(n));
|
|
790
|
-
e ? e(r) :
|
|
790
|
+
e ? e(r) : ae({
|
|
791
791
|
csvContent: r,
|
|
792
792
|
title: B.value.style.chart.title.text || "vue-ui-history-plot"
|
|
793
793
|
});
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
|
-
let Or =
|
|
796
|
+
let Or = C(!1);
|
|
797
797
|
function kr() {
|
|
798
798
|
Or.value = !Or.value;
|
|
799
799
|
}
|
|
@@ -807,9 +807,9 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
807
807
|
return Y.value;
|
|
808
808
|
}
|
|
809
809
|
async function Nr({ scale: e = 2 } = {}) {
|
|
810
|
-
if (!
|
|
811
|
-
let { width: t, height: n } =
|
|
812
|
-
domElement:
|
|
810
|
+
if (!A.value) return;
|
|
811
|
+
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
|
|
812
|
+
domElement: A.value,
|
|
813
813
|
base64: !0,
|
|
814
814
|
img: !0,
|
|
815
815
|
scale: e
|
|
@@ -823,10 +823,10 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
823
823
|
aspectRatio: r
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
|
-
|
|
826
|
+
Se({
|
|
827
827
|
timeLabelsEls: hn,
|
|
828
|
-
timeLabels:
|
|
829
|
-
slicer:
|
|
828
|
+
timeLabels: f(() => J.value.tickX),
|
|
829
|
+
slicer: f(() => ({
|
|
830
830
|
start: 0,
|
|
831
831
|
end: J.value.tickX.length
|
|
832
832
|
})),
|
|
@@ -854,18 +854,18 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
854
854
|
targetClass: ".vue-ui-history-plot-x-axis-scale",
|
|
855
855
|
rotation: B.value.style.chart.axes.x.labels.autoRotate.angle
|
|
856
856
|
});
|
|
857
|
-
let Pr =
|
|
857
|
+
let Pr = f(() => {
|
|
858
858
|
let e = B.value.table.useDialog && !B.value.table.show, t = U.value.showTable;
|
|
859
859
|
return {
|
|
860
|
-
component: e ?
|
|
860
|
+
component: e ? qt : Ht,
|
|
861
861
|
title: `${B.value.style.chart.title.text}${B.value.style.chart.title.subtitle.text ? `: ${B.value.style.chart.title.subtitle.text}` : ""}`,
|
|
862
862
|
props: e ? {
|
|
863
863
|
backgroundColor: B.value.table.th.backgroundColor,
|
|
864
864
|
color: B.value.table.th.color,
|
|
865
865
|
headerColor: B.value.table.th.color,
|
|
866
866
|
headerBg: B.value.table.th.backgroundColor,
|
|
867
|
-
isFullscreen:
|
|
868
|
-
fullscreenParent:
|
|
867
|
+
isFullscreen: sn.value,
|
|
868
|
+
fullscreenParent: A.value,
|
|
869
869
|
forcedWidth: Math.min(800, window.innerWidth * .8)
|
|
870
870
|
} : {
|
|
871
871
|
hideDetails: !0,
|
|
@@ -884,21 +884,21 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
884
884
|
}
|
|
885
885
|
};
|
|
886
886
|
});
|
|
887
|
-
|
|
888
|
-
B.value.table.show || (e && B.value.table.useDialog &&
|
|
887
|
+
Ge(() => U.value.showTable, (e) => {
|
|
888
|
+
B.value.table.show || (e && B.value.table.useDialog && L.value ? L.value.open() : "close" in L.value && L.value.close());
|
|
889
889
|
});
|
|
890
890
|
function Fr() {
|
|
891
891
|
U.value.showTable = !1, un.value && un.value.setTableIconState(!1);
|
|
892
892
|
}
|
|
893
|
-
let Ir =
|
|
893
|
+
let Ir = f(() => B.value.style.chart.backgroundColor), Lr = f(() => B.value.style.chart.legend), { exportSvg: Rr, getSvg: zr } = ye({
|
|
894
894
|
svg: H,
|
|
895
|
-
title:
|
|
895
|
+
title: f(() => B.value.style.chart.title),
|
|
896
896
|
legend: Lr,
|
|
897
897
|
legendItems: yr,
|
|
898
898
|
backgroundColor: Ir
|
|
899
899
|
});
|
|
900
900
|
async function Br({ isCb: e }) {
|
|
901
|
-
fn.value = !0, await
|
|
901
|
+
fn.value = !0, await ze();
|
|
902
902
|
try {
|
|
903
903
|
if (e) {
|
|
904
904
|
let { blob: e, url: t, text: n, dataUrl: r } = await zr();
|
|
@@ -937,7 +937,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
937
937
|
dataset: Y.value
|
|
938
938
|
}));
|
|
939
939
|
}
|
|
940
|
-
let Ur =
|
|
940
|
+
let Ur = f(() => ({
|
|
941
941
|
head: $.value.head,
|
|
942
942
|
body: $.value.body.map((e) => [
|
|
943
943
|
e[0]?.name || "",
|
|
@@ -960,7 +960,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
960
960
|
seriesIndex: R.value
|
|
961
961
|
});
|
|
962
962
|
}
|
|
963
|
-
R.value = null, z.value = null, vn.value = "pointer",
|
|
963
|
+
R.value = null, z.value = null, vn.value = "pointer", an.value = !1, F.value = null;
|
|
964
964
|
}
|
|
965
965
|
function Kr() {
|
|
966
966
|
R.value = null, z.value = null, yn.value = !0;
|
|
@@ -1050,7 +1050,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1050
1050
|
triggerMode: "keyboard"
|
|
1051
1051
|
});
|
|
1052
1052
|
}
|
|
1053
|
-
return
|
|
1053
|
+
return Te({
|
|
1054
1054
|
getData: Mr,
|
|
1055
1055
|
getImage: Nr,
|
|
1056
1056
|
generatePdf: Pn,
|
|
@@ -1064,26 +1064,26 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1064
1064
|
toggleAnnotator: kr,
|
|
1065
1065
|
toggleFullscreen: Sr,
|
|
1066
1066
|
copyAlt: Hr
|
|
1067
|
-
}), (e, t) => (
|
|
1068
|
-
id: `history_plot_${
|
|
1067
|
+
}), (e, t) => (S(), h("div", {
|
|
1068
|
+
id: `history_plot_${N.value}`,
|
|
1069
1069
|
ref_key: "historyPlotChart",
|
|
1070
|
-
ref:
|
|
1071
|
-
class:
|
|
1070
|
+
ref: A,
|
|
1071
|
+
class: y({
|
|
1072
1072
|
"vue-data-ui-component": !0,
|
|
1073
1073
|
"vue-ui-history-plot": !0,
|
|
1074
|
-
"vue-data-ui-wrapper-fullscreen":
|
|
1074
|
+
"vue-data-ui-wrapper-fullscreen": sn.value
|
|
1075
1075
|
}),
|
|
1076
|
-
style:
|
|
1077
|
-
onMouseenter: t[2] ||= () =>
|
|
1078
|
-
onMouseleave: t[3] ||= () =>
|
|
1076
|
+
style: x(`background:${B.value.style.chart.backgroundColor};color:${B.value.style.chart.color};font-family:${B.value.style.fontFamily}; position: relative; ${B.value.responsive ? "height: 100%" : ""}`),
|
|
1077
|
+
onMouseenter: t[2] ||= () => D(An)(!0),
|
|
1078
|
+
onMouseleave: t[3] ||= () => D(An)(!1)
|
|
1079
1079
|
}, [
|
|
1080
|
-
|
|
1081
|
-
id: `chart-instructions-${
|
|
1080
|
+
g("div", {
|
|
1081
|
+
id: `chart-instructions-${N.value}`,
|
|
1082
1082
|
class: "sr-only"
|
|
1083
|
-
}, [
|
|
1084
|
-
Ur.value.body.length ? (
|
|
1083
|
+
}, [g("p", null, E(B.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
|
|
1084
|
+
Ur.value.body.length ? (S(), p(ke, {
|
|
1085
1085
|
key: 0,
|
|
1086
|
-
uid:
|
|
1086
|
+
uid: N.value,
|
|
1087
1087
|
head: Ur.value.head,
|
|
1088
1088
|
body: Ur.value.body,
|
|
1089
1089
|
caption: Ur.value.caption,
|
|
@@ -1094,23 +1094,23 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1094
1094
|
"body",
|
|
1095
1095
|
"caption",
|
|
1096
1096
|
"notice"
|
|
1097
|
-
])) :
|
|
1098
|
-
|
|
1099
|
-
B.value.userOptions.buttons.annotator ? (
|
|
1097
|
+
])) : m("", !0),
|
|
1098
|
+
T(e.$slots, "userConfig", {}, void 0, !0),
|
|
1099
|
+
B.value.userOptions.buttons.annotator ? (S(), p(D(Wt), {
|
|
1100
1100
|
key: 1,
|
|
1101
|
-
svgRef:
|
|
1101
|
+
svgRef: D(H),
|
|
1102
1102
|
backgroundColor: B.value.style.chart.backgroundColor,
|
|
1103
1103
|
color: B.value.style.chart.color,
|
|
1104
1104
|
active: Or.value,
|
|
1105
1105
|
isCursorPointer: V.value,
|
|
1106
1106
|
onClose: kr
|
|
1107
1107
|
}, {
|
|
1108
|
-
"annotator-action-close":
|
|
1109
|
-
"annotator-action-color":
|
|
1110
|
-
"annotator-action-draw":
|
|
1111
|
-
"annotator-action-undo":
|
|
1112
|
-
"annotator-action-redo":
|
|
1113
|
-
"annotator-action-delete":
|
|
1108
|
+
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1109
|
+
"annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
|
|
1110
|
+
"annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
|
|
1111
|
+
"annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
|
|
1112
|
+
"annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
|
|
1113
|
+
"annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
|
|
1114
1114
|
_: 3
|
|
1115
1115
|
}, 8, [
|
|
1116
1116
|
"svgRef",
|
|
@@ -1118,22 +1118,22 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1118
1118
|
"color",
|
|
1119
1119
|
"active",
|
|
1120
1120
|
"isCursorPointer"
|
|
1121
|
-
])) :
|
|
1122
|
-
In.value ? (
|
|
1121
|
+
])) : m("", !0),
|
|
1122
|
+
In.value ? (S(), h("div", {
|
|
1123
1123
|
key: 2,
|
|
1124
1124
|
ref_key: "noTitle",
|
|
1125
|
-
ref:
|
|
1125
|
+
ref: rn,
|
|
1126
1126
|
class: "vue-data-ui-no-title-space",
|
|
1127
1127
|
style: "height:36px; width: 100%;background:transparent"
|
|
1128
|
-
}, null, 512)) :
|
|
1129
|
-
B.value.style.chart.title.text ? (
|
|
1128
|
+
}, null, 512)) : m("", !0),
|
|
1129
|
+
B.value.style.chart.title.text ? (S(), h("div", {
|
|
1130
1130
|
key: 3,
|
|
1131
1131
|
ref_key: "chartTitle",
|
|
1132
|
-
ref:
|
|
1132
|
+
ref: Zt,
|
|
1133
1133
|
class: "vue-ui-xy-title",
|
|
1134
|
-
style:
|
|
1135
|
-
}, [(
|
|
1136
|
-
key: `title_${
|
|
1134
|
+
style: x(`font-family:${B.value.style.fontFamily}`)
|
|
1135
|
+
}, [(S(), p(we, {
|
|
1136
|
+
key: `title_${Qt.value}`,
|
|
1137
1137
|
config: {
|
|
1138
1138
|
title: {
|
|
1139
1139
|
cy: "history-plot-div-title",
|
|
@@ -1144,17 +1144,17 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1144
1144
|
...B.value.style.chart.title.subtitle
|
|
1145
1145
|
}
|
|
1146
1146
|
}
|
|
1147
|
-
}, null, 8, ["config"]))], 4)) :
|
|
1148
|
-
|
|
1149
|
-
B.value.userOptions.show && bn.value && (
|
|
1147
|
+
}, null, 8, ["config"]))], 4)) : m("", !0),
|
|
1148
|
+
g("div", { id: `legend-top-${N.value}` }, null, 8, Xe),
|
|
1149
|
+
B.value.userOptions.show && bn.value && (D(jn) || D(kn)) ? (S(), p(D(Gt), {
|
|
1150
1150
|
ref_key: "userOptionsRef",
|
|
1151
1151
|
ref: un,
|
|
1152
|
-
key: `user_option_${
|
|
1152
|
+
key: `user_option_${nn.value}`,
|
|
1153
1153
|
backgroundColor: B.value.style.chart.backgroundColor,
|
|
1154
1154
|
color: B.value.style.chart.color,
|
|
1155
|
-
isPrinting:
|
|
1156
|
-
isImaging:
|
|
1157
|
-
uid:
|
|
1155
|
+
isPrinting: D(Mn),
|
|
1156
|
+
isImaging: D(Nn),
|
|
1157
|
+
uid: N.value,
|
|
1158
1158
|
hasTooltip: B.value.style.chart.tooltip.show && B.value.userOptions.buttons.tooltip,
|
|
1159
1159
|
hasPdf: B.value.userOptions.buttons.pdf,
|
|
1160
1160
|
hasImg: B.value.userOptions.buttons.img,
|
|
@@ -1164,8 +1164,8 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1164
1164
|
hasLabel: !1,
|
|
1165
1165
|
hasFullscreen: B.value.userOptions.buttons.fullscreen,
|
|
1166
1166
|
hasAltCopy: B.value.userOptions.buttons.altCopy,
|
|
1167
|
-
isFullscreen:
|
|
1168
|
-
chartElement:
|
|
1167
|
+
isFullscreen: sn.value,
|
|
1168
|
+
chartElement: A.value,
|
|
1169
1169
|
position: B.value.userOptions.position,
|
|
1170
1170
|
isTooltip: U.value.showTooltip,
|
|
1171
1171
|
titles: { ...B.value.userOptions.buttonTitles },
|
|
@@ -1176,7 +1176,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1176
1176
|
tableDialog: B.value.table.useDialog,
|
|
1177
1177
|
isCursorPointer: V.value,
|
|
1178
1178
|
onToggleFullscreen: Sr,
|
|
1179
|
-
onGeneratePdf:
|
|
1179
|
+
onGeneratePdf: D(Pn),
|
|
1180
1180
|
onGenerateCsv: Dr,
|
|
1181
1181
|
onGenerateImage: Vr,
|
|
1182
1182
|
onGenerateSvg: Br,
|
|
@@ -1184,11 +1184,11 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1184
1184
|
onToggleTooltip: jr,
|
|
1185
1185
|
onToggleAnnotator: kr,
|
|
1186
1186
|
onCopyAlt: Hr,
|
|
1187
|
-
style:
|
|
1188
|
-
},
|
|
1187
|
+
style: x({ visibility: D(jn) ? D(kn) ? "visible" : "hidden" : "visible" })
|
|
1188
|
+
}, Fe({ _: 2 }, [
|
|
1189
1189
|
e.$slots.menuIcon ? {
|
|
1190
1190
|
name: "menuIcon",
|
|
1191
|
-
fn:
|
|
1191
|
+
fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", b(v({
|
|
1192
1192
|
isOpen: t,
|
|
1193
1193
|
color: n
|
|
1194
1194
|
})), void 0, !0)]),
|
|
@@ -1196,37 +1196,37 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1196
1196
|
} : void 0,
|
|
1197
1197
|
e.$slots.optionTooltip ? {
|
|
1198
1198
|
name: "optionTooltip",
|
|
1199
|
-
fn:
|
|
1199
|
+
fn: O(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1200
1200
|
key: "1"
|
|
1201
1201
|
} : void 0,
|
|
1202
1202
|
e.$slots.optionPdf ? {
|
|
1203
1203
|
name: "optionPdf",
|
|
1204
|
-
fn:
|
|
1204
|
+
fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1205
1205
|
key: "2"
|
|
1206
1206
|
} : void 0,
|
|
1207
1207
|
e.$slots.optionCsv ? {
|
|
1208
1208
|
name: "optionCsv",
|
|
1209
|
-
fn:
|
|
1209
|
+
fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1210
1210
|
key: "3"
|
|
1211
1211
|
} : void 0,
|
|
1212
1212
|
e.$slots.optionImg ? {
|
|
1213
1213
|
name: "optionImg",
|
|
1214
|
-
fn:
|
|
1214
|
+
fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1215
1215
|
key: "4"
|
|
1216
1216
|
} : void 0,
|
|
1217
1217
|
e.$slots.optionSvg ? {
|
|
1218
1218
|
name: "optionSvg",
|
|
1219
|
-
fn:
|
|
1219
|
+
fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1220
1220
|
key: "5"
|
|
1221
1221
|
} : void 0,
|
|
1222
1222
|
e.$slots.optionTable ? {
|
|
1223
1223
|
name: "optionTable",
|
|
1224
|
-
fn:
|
|
1224
|
+
fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1225
1225
|
key: "6"
|
|
1226
1226
|
} : void 0,
|
|
1227
1227
|
e.$slots.optionFullscreen ? {
|
|
1228
1228
|
name: "optionFullscreen",
|
|
1229
|
-
fn:
|
|
1229
|
+
fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", b(v({
|
|
1230
1230
|
toggleFullscreen: t,
|
|
1231
1231
|
isFullscreen: n
|
|
1232
1232
|
})), void 0, !0)]),
|
|
@@ -1234,7 +1234,7 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1234
1234
|
} : void 0,
|
|
1235
1235
|
e.$slots.optionAnnotator ? {
|
|
1236
1236
|
name: "optionAnnotator",
|
|
1237
|
-
fn:
|
|
1237
|
+
fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", b(v({
|
|
1238
1238
|
toggleAnnotator: t,
|
|
1239
1239
|
isAnnotator: n
|
|
1240
1240
|
})), void 0, !0)]),
|
|
@@ -1242,89 +1242,89 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1242
1242
|
} : void 0,
|
|
1243
1243
|
e.$slots.optionAltCopy ? {
|
|
1244
1244
|
name: "optionAltCopy",
|
|
1245
|
-
fn:
|
|
1245
|
+
fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
|
|
1246
1246
|
key: "9"
|
|
1247
1247
|
} : void 0,
|
|
1248
1248
|
e.$slots["custom-menu-before"] ? {
|
|
1249
1249
|
name: "custom-menu-before",
|
|
1250
|
-
fn:
|
|
1250
|
+
fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1251
1251
|
key: "10"
|
|
1252
1252
|
} : void 0,
|
|
1253
1253
|
e.$slots["custom-menu-after"] ? {
|
|
1254
1254
|
name: "custom-menu-after",
|
|
1255
|
-
fn:
|
|
1255
|
+
fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1256
1256
|
key: "11"
|
|
1257
1257
|
} : void 0
|
|
1258
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1259
|
-
|
|
1258
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : m("", !0),
|
|
1259
|
+
g("div", Ze, [(S(), h("svg", {
|
|
1260
1260
|
ref_key: "svgRef",
|
|
1261
1261
|
ref: H,
|
|
1262
|
-
xmlns:
|
|
1262
|
+
xmlns: D(fe),
|
|
1263
1263
|
viewBox: `0 0 ${W.value.width < 0 ? .1 : W.value.width} ${W.value.height < 0 ? .1 : W.value.height}`,
|
|
1264
|
-
style:
|
|
1265
|
-
"aria-describedby": `chart-instructions-${
|
|
1264
|
+
style: x(`max-width:100%;overflow:visible;background:transparent;color:${B.value.style.chart.color}`),
|
|
1265
|
+
"aria-describedby": `chart-instructions-${N.value}`,
|
|
1266
1266
|
tabindex: "0",
|
|
1267
1267
|
onFocus: Kr,
|
|
1268
1268
|
onBlur: qr,
|
|
1269
1269
|
onKeydown: Xr
|
|
1270
1270
|
}, [
|
|
1271
|
-
|
|
1272
|
-
e.$slots["chart-background"] ? (
|
|
1271
|
+
Le(D(Kt)),
|
|
1272
|
+
e.$slots["chart-background"] ? (S(), h("foreignObject", {
|
|
1273
1273
|
key: 0,
|
|
1274
1274
|
x: G.value.left,
|
|
1275
1275
|
y: G.value.top,
|
|
1276
1276
|
width: G.value.width <= 0 ? 10 : G.value.width,
|
|
1277
1277
|
height: G.value.height <= 0 ? 10 : G.value.height,
|
|
1278
1278
|
style: { pointerEvents: "none" }
|
|
1279
|
-
}, [
|
|
1280
|
-
B.value.style.chart.plots.gradient.show || Qn.value ? (
|
|
1281
|
-
key: `gradient_${t}_${
|
|
1282
|
-
id: `gradient_${t}_${
|
|
1279
|
+
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, $e)) : m("", !0),
|
|
1280
|
+
B.value.style.chart.plots.gradient.show || Qn.value ? (S(), h("defs", et, [B.value.style.chart.plots.gradient.show ? (S(!0), h(d, { key: 0 }, w(Y.value, (e, t) => (S(), h("radialGradient", {
|
|
1281
|
+
key: `gradient_${t}_${N.value}`,
|
|
1282
|
+
id: `gradient_${t}_${N.value}`,
|
|
1283
1283
|
fy: "30%"
|
|
1284
1284
|
}, [
|
|
1285
|
-
|
|
1285
|
+
g("stop", {
|
|
1286
1286
|
offset: "10%",
|
|
1287
|
-
"stop-color":
|
|
1288
|
-
}, null, 8, tt),
|
|
1289
|
-
_("stop", {
|
|
1290
|
-
offset: "90%",
|
|
1291
|
-
"stop-color": O(o)(e.color, .1)
|
|
1287
|
+
"stop-color": D(r)(e.color, B.value.style.chart.plots.gradient.intensity / 100)
|
|
1292
1288
|
}, null, 8, nt),
|
|
1293
|
-
|
|
1289
|
+
g("stop", {
|
|
1290
|
+
offset: "90%",
|
|
1291
|
+
"stop-color": D(ue)(e.color, .1)
|
|
1292
|
+
}, null, 8, rt),
|
|
1293
|
+
g("stop", {
|
|
1294
1294
|
offset: "100%",
|
|
1295
1295
|
"stop-color": e.color
|
|
1296
|
-
}, null, 8,
|
|
1297
|
-
], 8,
|
|
1298
|
-
key: `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${
|
|
1296
|
+
}, null, 8, it)
|
|
1297
|
+
], 8, tt))), 128)) : m("", !0), (S(!0), h(d, null, w(Y.value, (e) => (S(), h(d, { key: `temperature_grad_history_template_${e.seriesIndex}_${N.value}` }, [B.value.style.chart.plots.gradient.show && $n(e) ? (S(!0), h(d, { key: 0 }, w(e.plots, (t) => (S(), h("radialGradient", {
|
|
1298
|
+
key: `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${N.value}`,
|
|
1299
1299
|
id: ar(e, t),
|
|
1300
1300
|
fy: "30%"
|
|
1301
1301
|
}, [
|
|
1302
|
-
|
|
1302
|
+
g("stop", {
|
|
1303
1303
|
offset: "10%",
|
|
1304
|
-
"stop-color":
|
|
1305
|
-
}, null, 8, at),
|
|
1306
|
-
_("stop", {
|
|
1307
|
-
offset: "90%",
|
|
1308
|
-
"stop-color": O(o)(Z(e, t), .1)
|
|
1304
|
+
"stop-color": D(r)(Z(e, t), B.value.style.chart.plots.gradient.intensity / 100)
|
|
1309
1305
|
}, null, 8, ot),
|
|
1310
|
-
|
|
1306
|
+
g("stop", {
|
|
1307
|
+
offset: "90%",
|
|
1308
|
+
"stop-color": D(ue)(Z(e, t), .1)
|
|
1309
|
+
}, null, 8, st),
|
|
1310
|
+
g("stop", {
|
|
1311
1311
|
offset: "100%",
|
|
1312
1312
|
"stop-color": Z(e, t)
|
|
1313
|
-
}, null, 8,
|
|
1314
|
-
], 8,
|
|
1313
|
+
}, null, 8, ct)
|
|
1314
|
+
], 8, at))), 128)) : m("", !0), X(e) ? (S(), h("linearGradient", {
|
|
1315
1315
|
key: 1,
|
|
1316
|
-
id: `temperature_grad_history_${e.seriesIndex}_${
|
|
1316
|
+
id: `temperature_grad_history_${e.seriesIndex}_${N.value}`,
|
|
1317
1317
|
gradientUnits: "userSpaceOnUse",
|
|
1318
1318
|
x1: rr(e).x1,
|
|
1319
1319
|
y1: rr(e).y1,
|
|
1320
1320
|
x2: rr(e).x2,
|
|
1321
1321
|
y2: rr(e).y2
|
|
1322
|
-
}, [(
|
|
1323
|
-
key: `temperature_grad_history_stop_${e.seriesIndex}_${n}_${
|
|
1322
|
+
}, [(S(!0), h(d, null, w(e.temperatureColors, (t, n) => (S(), h("stop", {
|
|
1323
|
+
key: `temperature_grad_history_stop_${e.seriesIndex}_${n}_${N.value}`,
|
|
1324
1324
|
"stop-color": t,
|
|
1325
|
-
offset: e.temperatureColors.length === 1 ? "0%" :
|
|
1326
|
-
}, null, 8,
|
|
1327
|
-
B.value.style.chart.grid.verticalLines.show ? (
|
|
1325
|
+
offset: e.temperatureColors.length === 1 ? "0%" : D(c)(n, e.temperatureColors.length)
|
|
1326
|
+
}, null, 8, ut))), 128))], 8, lt)) : m("", !0)], 64))), 128))])) : m("", !0),
|
|
1327
|
+
B.value.style.chart.grid.verticalLines.show ? (S(), h("g", dt, [(S(!0), h(d, null, w(J.value.tickX, (e) => (S(), h("line", {
|
|
1328
1328
|
x1: e.x,
|
|
1329
1329
|
x2: e.x,
|
|
1330
1330
|
y1: e.y1,
|
|
@@ -1332,8 +1332,8 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1332
1332
|
stroke: B.value.style.chart.grid.verticalLines.stroke,
|
|
1333
1333
|
"stroke-width": B.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1334
1334
|
"stroke-linecap": "round"
|
|
1335
|
-
}, null, 8,
|
|
1336
|
-
B.value.style.chart.axes.y.labels.show ? (
|
|
1335
|
+
}, null, 8, ft))), 256))])) : m("", !0),
|
|
1336
|
+
B.value.style.chart.axes.y.labels.show ? (S(), h("g", pt, [(S(!0), h(d, null, w(J.value.tickY, (e) => (S(), h("line", {
|
|
1337
1337
|
stroke: B.value.style.chart.grid.verticalLines.stroke,
|
|
1338
1338
|
"stroke-width": B.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1339
1339
|
"stroke-linecap": "round",
|
|
@@ -1341,24 +1341,24 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1341
1341
|
x2: G.value.left,
|
|
1342
1342
|
y1: e.y,
|
|
1343
1343
|
y2: e.y
|
|
1344
|
-
}, null, 8,
|
|
1345
|
-
B.value.style.chart.axes.y.labels.show ? (
|
|
1344
|
+
}, null, 8, mt))), 256))])) : m("", !0),
|
|
1345
|
+
B.value.style.chart.axes.y.labels.show ? (S(), h("g", {
|
|
1346
1346
|
key: 4,
|
|
1347
1347
|
ref_key: "yAxisScales",
|
|
1348
1348
|
ref: gn
|
|
1349
|
-
}, [(
|
|
1349
|
+
}, [(S(!0), h(d, null, w(J.value.tickY, (e) => (S(), h("text", {
|
|
1350
1350
|
x: G.value.left + B.value.style.chart.axes.y.labels.offsetX - 4 - B.value.style.chart.plots.radius,
|
|
1351
1351
|
y: e.y + K.value.yAxisLabels / 3,
|
|
1352
1352
|
fill: B.value.style.chart.axes.y.labels.color,
|
|
1353
1353
|
"font-size": K.value.yAxisLabels,
|
|
1354
1354
|
"text-anchor": "end"
|
|
1355
|
-
}, D(
|
|
1355
|
+
}, E(D(u)(B.value.style.chart.axes.y.labels.formatter, e.value, D(o)({
|
|
1356
1356
|
p: B.value.style.chart.axes.y.labels.prefix,
|
|
1357
1357
|
v: e.value,
|
|
1358
1358
|
s: B.value.style.chart.axes.y.labels.suffix,
|
|
1359
1359
|
r: B.value.style.chart.axes.y.labels.rounding
|
|
1360
|
-
}))), 9,
|
|
1361
|
-
B.value.style.chart.axes.y.name.text ? (
|
|
1360
|
+
}))), 9, ht))), 256))], 512)) : m("", !0),
|
|
1361
|
+
B.value.style.chart.axes.y.name.text ? (S(), h("text", {
|
|
1362
1362
|
key: 5,
|
|
1363
1363
|
ref_key: "yAxisLabel",
|
|
1364
1364
|
ref: mn,
|
|
@@ -1367,8 +1367,8 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1367
1367
|
fill: B.value.style.chart.axes.y.name.color,
|
|
1368
1368
|
"font-weight": B.value.style.chart.axes.y.name.bold ? "bold" : "normal",
|
|
1369
1369
|
"text-anchor": "middle"
|
|
1370
|
-
},
|
|
1371
|
-
B.value.style.chart.grid.horizontalLines.show ? (
|
|
1370
|
+
}, E(B.value.style.chart.axes.y.name.text), 9, gt)) : m("", !0),
|
|
1371
|
+
B.value.style.chart.grid.horizontalLines.show ? (S(), h("g", _t, [(S(!0), h(d, null, w(J.value.tickY, (e) => (S(), h("line", {
|
|
1372
1372
|
x1: e.x1,
|
|
1373
1373
|
x2: e.x2,
|
|
1374
1374
|
y1: e.y,
|
|
@@ -1376,8 +1376,8 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1376
1376
|
stroke: B.value.style.chart.grid.horizontalLines.stroke,
|
|
1377
1377
|
"stroke-width": B.value.style.chart.grid.horizontalLines.strokeWidth,
|
|
1378
1378
|
"stroke-linecap": "round"
|
|
1379
|
-
}, null, 8,
|
|
1380
|
-
B.value.style.chart.axes.x.labels.show ? (
|
|
1379
|
+
}, null, 8, vt))), 256))])) : m("", !0),
|
|
1380
|
+
B.value.style.chart.axes.x.labels.show ? (S(), h("g", yt, [(S(!0), h(d, null, w(J.value.tickX, (e) => (S(), h("line", {
|
|
1381
1381
|
stroke: B.value.style.chart.grid.verticalLines.stroke,
|
|
1382
1382
|
"stroke-width": B.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1383
1383
|
"stroke-linecap": "round",
|
|
@@ -1385,24 +1385,24 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1385
1385
|
x2: e.x,
|
|
1386
1386
|
y1: G.value.bottom,
|
|
1387
1387
|
y2: G.value.bottom + 5
|
|
1388
|
-
}, null, 8,
|
|
1389
|
-
B.value.style.chart.axes.x.labels.show ? (
|
|
1388
|
+
}, null, 8, bt))), 256))])) : m("", !0),
|
|
1389
|
+
B.value.style.chart.axes.x.labels.show ? (S(), h("g", {
|
|
1390
1390
|
key: 8,
|
|
1391
1391
|
ref_key: "xAxisScales",
|
|
1392
1392
|
ref: hn
|
|
1393
|
-
}, [(
|
|
1393
|
+
}, [(S(!0), h(d, null, w(J.value.tickX, (e) => (S(), h("text", {
|
|
1394
1394
|
class: "vue-ui-history-plot-x-axis-scale",
|
|
1395
1395
|
transform: `translate(${e.x}, ${G.value.bottom + B.value.style.chart.axes.x.labels.offsetY + K.value.xAxisLabels + B.value.style.chart.plots.radius}), rotate(${B.value.style.chart.axes.x.labels.rotation})`,
|
|
1396
1396
|
fill: B.value.style.chart.axes.x.labels.color,
|
|
1397
1397
|
"font-size": K.value.xAxisLabels,
|
|
1398
1398
|
"text-anchor": B.value.style.chart.axes.x.labels.rotation > 0 ? "start" : B.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
|
|
1399
|
-
}, D(
|
|
1399
|
+
}, E(D(u)(B.value.style.chart.axes.x.labels.formatter, e.value, D(o)({
|
|
1400
1400
|
p: B.value.style.chart.axes.x.labels.prefix,
|
|
1401
1401
|
v: e.value,
|
|
1402
1402
|
s: B.value.style.chart.axes.x.labels.suffix,
|
|
1403
1403
|
r: B.value.style.chart.axes.x.labels.rounding
|
|
1404
|
-
}))), 9,
|
|
1405
|
-
B.value.style.chart.axes.x.name.text ? (
|
|
1404
|
+
}))), 9, xt))), 256))], 512)) : m("", !0),
|
|
1405
|
+
B.value.style.chart.axes.x.name.text ? (S(), h("text", {
|
|
1406
1406
|
key: 9,
|
|
1407
1407
|
ref_key: "xAxisLabel",
|
|
1408
1408
|
ref: pn,
|
|
@@ -1412,8 +1412,8 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1412
1412
|
fill: B.value.style.chart.axes.x.name.color,
|
|
1413
1413
|
"font-weight": B.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
1414
1414
|
"text-anchor": "middle"
|
|
1415
|
-
},
|
|
1416
|
-
B.value.style.chart.grid.xAxis.show ? (
|
|
1415
|
+
}, E(B.value.style.chart.axes.x.name.text), 9, St)) : m("", !0),
|
|
1416
|
+
B.value.style.chart.grid.xAxis.show ? (S(), h("line", {
|
|
1417
1417
|
key: 10,
|
|
1418
1418
|
x1: G.value.left,
|
|
1419
1419
|
x2: G.value.left + G.value.width,
|
|
@@ -1422,8 +1422,8 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1422
1422
|
stroke: B.value.style.chart.grid.xAxis.stroke,
|
|
1423
1423
|
"stroke-width": B.value.style.chart.grid.xAxis.strokeWidth,
|
|
1424
1424
|
"stroke-linecap": "round"
|
|
1425
|
-
}, null, 8,
|
|
1426
|
-
B.value.style.chart.grid.yAxis.show ? (
|
|
1425
|
+
}, null, 8, Ct)) : m("", !0),
|
|
1426
|
+
B.value.style.chart.grid.yAxis.show ? (S(), h("line", {
|
|
1427
1427
|
key: 11,
|
|
1428
1428
|
x1: G.value.left,
|
|
1429
1429
|
x2: G.value.left,
|
|
@@ -1432,49 +1432,49 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1432
1432
|
stroke: B.value.style.chart.grid.yAxis.stroke,
|
|
1433
1433
|
"stroke-width": B.value.style.chart.grid.yAxis.strokeWidth,
|
|
1434
1434
|
"stroke-linecap": "round"
|
|
1435
|
-
}, null, 8,
|
|
1436
|
-
(
|
|
1437
|
-
B.value.style.chart.paths.show ? (
|
|
1435
|
+
}, null, 8, wt)) : m("", !0),
|
|
1436
|
+
(S(!0), h(d, null, w(Zn.value, (e) => (S(), h("g", { key: `history_plot_serie_${e.seriesIndex}_${N.value}` }, [
|
|
1437
|
+
B.value.style.chart.paths.show ? (S(), h("g", {
|
|
1438
1438
|
key: 0,
|
|
1439
|
-
style:
|
|
1440
|
-
}, [
|
|
1439
|
+
style: x({ opacity: dr(e.seriesIndex) })
|
|
1440
|
+
}, [g("path", {
|
|
1441
1441
|
d: e.path,
|
|
1442
1442
|
stroke: B.value.style.chart.backgroundColor,
|
|
1443
1443
|
"stroke-width": B.value.style.chart.paths.strokeWidth + 4,
|
|
1444
1444
|
fill: "none",
|
|
1445
1445
|
"stroke-linecap": "round",
|
|
1446
1446
|
"stroke-linejoin": "round",
|
|
1447
|
-
class:
|
|
1448
|
-
}, null, 10,
|
|
1447
|
+
class: y({ animated: Q() })
|
|
1448
|
+
}, null, 10, Tt), g("path", {
|
|
1449
1449
|
d: e.path,
|
|
1450
1450
|
stroke: ur(e),
|
|
1451
1451
|
"stroke-width": B.value.style.chart.paths.strokeWidth,
|
|
1452
1452
|
fill: "none",
|
|
1453
1453
|
"stroke-linecap": "round",
|
|
1454
1454
|
"stroke-linejoin": "round",
|
|
1455
|
-
class:
|
|
1456
|
-
}, null, 10,
|
|
1457
|
-
(
|
|
1455
|
+
class: y({ animated: Q() })
|
|
1456
|
+
}, null, 10, Et)], 4)) : m("", !0),
|
|
1457
|
+
(S(!0), h(d, null, w(e.plots, (e) => (S(), h("circle", {
|
|
1458
1458
|
cx: e.x,
|
|
1459
1459
|
cy: e.y,
|
|
1460
1460
|
fill: B.value.style.chart.backgroundColor,
|
|
1461
1461
|
r: K.value.plots,
|
|
1462
1462
|
stroke: "none"
|
|
1463
|
-
}, null, 8,
|
|
1464
|
-
(
|
|
1463
|
+
}, null, 8, Dt))), 256)),
|
|
1464
|
+
(S(!0), h(d, null, w(e.plots, (t) => (S(), h("circle", {
|
|
1465
1465
|
cx: t.x,
|
|
1466
1466
|
cy: t.y,
|
|
1467
1467
|
fill: or(e, t, e.gradientIndex),
|
|
1468
1468
|
r: K.value.plots,
|
|
1469
1469
|
stroke: B.value.style.chart.plots.stroke,
|
|
1470
1470
|
"stroke-width": B.value.style.chart.plots.strokeWidth,
|
|
1471
|
-
class:
|
|
1472
|
-
style:
|
|
1471
|
+
class: y({ animated: Q() }),
|
|
1472
|
+
style: x({
|
|
1473
1473
|
opacity: dr(e.seriesIndex),
|
|
1474
1474
|
transition: pr()
|
|
1475
1475
|
})
|
|
1476
|
-
}, null, 14,
|
|
1477
|
-
B.value.style.chart.plots.labels.show ? (
|
|
1476
|
+
}, null, 14, Ot))), 256)),
|
|
1477
|
+
B.value.style.chart.plots.labels.show ? (S(), h("g", kt, [(S(!0), h(d, null, w(e.plots, (t) => (S(), h("g", null, [String(t.label).includes("\n") ? (S(), h("text", {
|
|
1478
1478
|
key: 1,
|
|
1479
1479
|
x: t.x + B.value.style.chart.plots.labels.offsetX,
|
|
1480
1480
|
y: t.y + B.value.style.chart.plots.labels.offsetY + K.value.plots + K.value.labels,
|
|
@@ -1482,19 +1482,19 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1482
1482
|
fill: B.value.style.chart.plots.labels.color,
|
|
1483
1483
|
"font-weight": B.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1484
1484
|
"text-anchor": "middle",
|
|
1485
|
-
class:
|
|
1486
|
-
style:
|
|
1485
|
+
class: y({ animated: Q() }),
|
|
1486
|
+
style: x({
|
|
1487
1487
|
opacity: dr(e.seriesIndex),
|
|
1488
1488
|
transition: pr()
|
|
1489
1489
|
}),
|
|
1490
|
-
innerHTML:
|
|
1490
|
+
innerHTML: D(ne)({
|
|
1491
1491
|
content: String(t.label),
|
|
1492
1492
|
fontSize: K.value.labels,
|
|
1493
1493
|
fill: B.value.style.chart.plots.labels.color,
|
|
1494
1494
|
x: t.x + B.value.style.chart.plots.labels.offsetX,
|
|
1495
1495
|
y: t.y + B.value.style.chart.plots.labels.offsetY + K.value.plots + K.value.labels
|
|
1496
1496
|
})
|
|
1497
|
-
}, null, 14,
|
|
1497
|
+
}, null, 14, jt)) : (S(), h("text", {
|
|
1498
1498
|
key: 0,
|
|
1499
1499
|
x: t.x + B.value.style.chart.plots.labels.offsetX,
|
|
1500
1500
|
y: t.y + B.value.style.chart.plots.labels.offsetY + K.value.plots + K.value.labels,
|
|
@@ -1502,27 +1502,27 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1502
1502
|
fill: B.value.style.chart.plots.labels.color,
|
|
1503
1503
|
"font-weight": B.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1504
1504
|
"text-anchor": "middle",
|
|
1505
|
-
class:
|
|
1506
|
-
style:
|
|
1505
|
+
class: y({ animated: Q() }),
|
|
1506
|
+
style: x({
|
|
1507
1507
|
opacity: dr(e.seriesIndex),
|
|
1508
1508
|
transition: pr()
|
|
1509
1509
|
})
|
|
1510
|
-
},
|
|
1511
|
-
B.value.style.chart.plots.indexLabels.show ? (
|
|
1510
|
+
}, E(t.label), 15, At))]))), 256))])) : m("", !0),
|
|
1511
|
+
B.value.style.chart.plots.indexLabels.show ? (S(), h("g", Mt, [(S(!0), h(d, null, w(e.plots, (t, n) => (S(), h("text", {
|
|
1512
1512
|
x: t.x + B.value.style.chart.plots.indexLabels.offsetX,
|
|
1513
1513
|
y: t.y + B.value.style.chart.plots.indexLabels.offsetY + K.value.indexLabels / 3,
|
|
1514
1514
|
"font-size": K.value.indexLabels,
|
|
1515
1515
|
"font-weight": B.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
1516
1516
|
fill: cr(e, t),
|
|
1517
1517
|
"text-anchor": "middle",
|
|
1518
|
-
class:
|
|
1519
|
-
style:
|
|
1518
|
+
class: y({ animated: Q() }),
|
|
1519
|
+
style: x({
|
|
1520
1520
|
opacity: dr(e.seriesIndex),
|
|
1521
1521
|
transition: pr()
|
|
1522
1522
|
})
|
|
1523
|
-
},
|
|
1523
|
+
}, E(B.value.style.chart.plots.indexLabels.startAtZero ? n : n + 1), 15, Nt))), 256))])) : m("", !0)
|
|
1524
1524
|
]))), 128)),
|
|
1525
|
-
(
|
|
1525
|
+
(S(!0), h(d, null, w(Zn.value, (e) => (S(), h("g", { key: `history_plot_trap_serie_${e.seriesIndex}_${N.value}` }, [(S(!0), h(d, null, w(e.plots, (t, n) => (S(), h("circle", {
|
|
1526
1526
|
cx: t.x,
|
|
1527
1527
|
cy: t.y,
|
|
1528
1528
|
fill: "transparent",
|
|
@@ -1544,27 +1544,27 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1544
1544
|
plotIndex: n,
|
|
1545
1545
|
seriesIndex: e.seriesIndex
|
|
1546
1546
|
})
|
|
1547
|
-
}, null, 40,
|
|
1548
|
-
|
|
1547
|
+
}, null, 40, Pt))), 256))]))), 128)),
|
|
1548
|
+
T(e.$slots, "svg", { svg: {
|
|
1549
1549
|
...W.value,
|
|
1550
1550
|
drawingArea: G.value,
|
|
1551
|
-
isPrintingImg:
|
|
1551
|
+
isPrintingImg: D(Mn) || D(Nn) || dn.value,
|
|
1552
1552
|
isPrintingSvg: fn.value
|
|
1553
1553
|
} }, void 0, !0)
|
|
1554
|
-
], 44,
|
|
1554
|
+
], 44, Qe)), e.$slots.hint ? (S(), h("div", Ft, [T(e.$slots, "hint", b(v({
|
|
1555
1555
|
hint: B.value.a11y.translations.keyboardNavigation,
|
|
1556
1556
|
isVisible: yn.value
|
|
1557
|
-
})), void 0, !0)])) :
|
|
1558
|
-
e.$slots.watermark ? (
|
|
1559
|
-
|
|
1560
|
-
|
|
1557
|
+
})), void 0, !0)])) : m("", !0)]),
|
|
1558
|
+
e.$slots.watermark ? (S(), h("div", It, [T(e.$slots, "watermark", b(v({ isPrinting: D(Mn) || D(Nn) || dn.value || fn.value })), void 0, !0)])) : m("", !0),
|
|
1559
|
+
g("div", { id: `legend-bottom-${N.value}` }, null, 8, Lt),
|
|
1560
|
+
ln.value && (B.value.style.chart.legend.show || e.$slots.legend) ? (S(), p(Pe, {
|
|
1561
1561
|
key: 6,
|
|
1562
|
-
to: B.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1563
|
-
}, [
|
|
1562
|
+
to: B.value.style.chart.legend.position === "top" ? `#legend-top-${N.value}` : `#legend-bottom-${N.value}`
|
|
1563
|
+
}, [g("div", {
|
|
1564
1564
|
ref_key: "chartLegend",
|
|
1565
|
-
ref:
|
|
1566
|
-
}, [
|
|
1567
|
-
key: `legend_${
|
|
1565
|
+
ref: $t
|
|
1566
|
+
}, [T(e.$slots, "legend", { legend: yr.value }, () => [B.value.style.chart.legend.show && bn.value ? (S(), p(Me, {
|
|
1567
|
+
key: `legend_${en.value}`,
|
|
1568
1568
|
legendSet: yr.value,
|
|
1569
1569
|
config: br.value,
|
|
1570
1570
|
isCursorPointer: V.value,
|
|
@@ -1572,16 +1572,16 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1572
1572
|
hr(e.seriesIndex);
|
|
1573
1573
|
}
|
|
1574
1574
|
}, {
|
|
1575
|
-
item:
|
|
1575
|
+
item: O(({ legend: e, index: t }) => [g("div", {
|
|
1576
1576
|
onClick: (t) => e.segregate(),
|
|
1577
|
-
style:
|
|
1578
|
-
},
|
|
1579
|
-
legendToggle:
|
|
1577
|
+
style: x(`opacity:${P.value.includes(e.seriesIndex) ? .5 : 1}`)
|
|
1578
|
+
}, E(e.name), 13, Rt)]),
|
|
1579
|
+
legendToggle: O(() => [yr.value.length > 2 && B.value.style.chart.legend.selectAllToggle.show && !D(En) ? (S(), p(Oe, {
|
|
1580
1580
|
key: 0,
|
|
1581
1581
|
backgroundColor: B.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1582
1582
|
color: B.value.style.chart.legend.selectAllToggle.color,
|
|
1583
1583
|
fontSize: B.value.style.chart.legend.fontSize,
|
|
1584
|
-
checked:
|
|
1584
|
+
checked: P.value.length > 0,
|
|
1585
1585
|
isCursorPointer: V.value,
|
|
1586
1586
|
onToggle: mr
|
|
1587
1587
|
}, null, 8, [
|
|
@@ -1590,22 +1590,22 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1590
1590
|
"fontSize",
|
|
1591
1591
|
"checked",
|
|
1592
1592
|
"isCursorPointer"
|
|
1593
|
-
])) :
|
|
1593
|
+
])) : m("", !0)]),
|
|
1594
1594
|
_: 1
|
|
1595
1595
|
}, 8, [
|
|
1596
1596
|
"legendSet",
|
|
1597
1597
|
"config",
|
|
1598
1598
|
"isCursorPointer"
|
|
1599
|
-
])) :
|
|
1600
|
-
e.$slots.source ? (
|
|
1599
|
+
])) : m("", !0)], !0)], 512)], 8, ["to"])) : m("", !0),
|
|
1600
|
+
e.$slots.source ? (S(), h("div", {
|
|
1601
1601
|
key: 7,
|
|
1602
1602
|
ref_key: "source",
|
|
1603
|
-
ref:
|
|
1603
|
+
ref: cn,
|
|
1604
1604
|
dir: "auto"
|
|
1605
|
-
}, [
|
|
1606
|
-
|
|
1605
|
+
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1606
|
+
Le(D(Bt), {
|
|
1607
1607
|
teleportTo: B.value.style.chart.tooltip.teleportTo,
|
|
1608
|
-
show: U.value.showTooltip &&
|
|
1608
|
+
show: U.value.showTooltip && an.value,
|
|
1609
1609
|
backgroundColor: B.value.style.chart.tooltip.backgroundColor,
|
|
1610
1610
|
color: B.value.style.chart.tooltip.color,
|
|
1611
1611
|
fontSize: B.value.style.chart.tooltip.fontSize,
|
|
@@ -1616,10 +1616,10 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1616
1616
|
position: B.value.style.chart.tooltip.position,
|
|
1617
1617
|
offsetX: B.value.style.chart.tooltip.offsetX,
|
|
1618
1618
|
offsetY: B.value.style.chart.tooltip.offsetY,
|
|
1619
|
-
parent:
|
|
1620
|
-
content:
|
|
1621
|
-
isCustom:
|
|
1622
|
-
isFullscreen:
|
|
1619
|
+
parent: A.value,
|
|
1620
|
+
content: on.value,
|
|
1621
|
+
isCustom: I.value,
|
|
1622
|
+
isFullscreen: sn.value,
|
|
1623
1623
|
smooth: B.value.style.chart.tooltip.smooth,
|
|
1624
1624
|
backdropFilter: B.value.style.chart.tooltip.backdropFilter,
|
|
1625
1625
|
smoothForce: B.value.style.chart.tooltip.smoothForce,
|
|
@@ -1627,9 +1627,9 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1627
1627
|
isA11yMode: vn.value === "keyboard",
|
|
1628
1628
|
a11yPosition: _n.value
|
|
1629
1629
|
}, {
|
|
1630
|
-
"tooltip-before":
|
|
1631
|
-
tooltip:
|
|
1632
|
-
"tooltip-after":
|
|
1630
|
+
"tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...Cr.value })), void 0, !0)]),
|
|
1631
|
+
tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...Cr.value })), void 0, !0)]),
|
|
1632
|
+
"tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...Cr.value })), void 0, !0)]),
|
|
1633
1633
|
_: 3
|
|
1634
1634
|
}, 8, [
|
|
1635
1635
|
"teleportTo",
|
|
@@ -1655,13 +1655,13 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1655
1655
|
"isA11yMode",
|
|
1656
1656
|
"a11yPosition"
|
|
1657
1657
|
]),
|
|
1658
|
-
bn.value && B.value.userOptions.buttons.table ? (
|
|
1658
|
+
bn.value && B.value.userOptions.buttons.table ? (S(), p(He(Pr.value.component), Re({ key: 8 }, Pr.value.props, {
|
|
1659
1659
|
ref_key: "tableUnit",
|
|
1660
|
-
ref:
|
|
1660
|
+
ref: L,
|
|
1661
1661
|
onClose: Fr
|
|
1662
|
-
}),
|
|
1663
|
-
content:
|
|
1664
|
-
key: `table_${
|
|
1662
|
+
}), Fe({
|
|
1663
|
+
content: O(() => [(S(), p(D(Ut), {
|
|
1664
|
+
key: `table_${tn.value}`,
|
|
1665
1665
|
colNames: $.value.colNames,
|
|
1666
1666
|
head: $.value.head,
|
|
1667
1667
|
body: $.value.body,
|
|
@@ -1671,14 +1671,14 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1671
1671
|
isCursorPointer: V.value,
|
|
1672
1672
|
onClose: Fr
|
|
1673
1673
|
}, {
|
|
1674
|
-
th:
|
|
1674
|
+
th: O(({ th: e }) => [g("div", {
|
|
1675
1675
|
innerHTML: e,
|
|
1676
1676
|
style: {
|
|
1677
1677
|
display: "flex",
|
|
1678
1678
|
"align-items": "center"
|
|
1679
1679
|
}
|
|
1680
|
-
}, null, 8,
|
|
1681
|
-
td:
|
|
1680
|
+
}, null, 8, zt)]),
|
|
1681
|
+
td: O(({ td: e }) => [Ie(E(e.name || e), 1)]),
|
|
1682
1682
|
_: 1
|
|
1683
1683
|
}, 8, [
|
|
1684
1684
|
"colNames",
|
|
@@ -1692,24 +1692,24 @@ var Ke = /* @__PURE__ */ e({ default: () => zt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1692
1692
|
_: 2
|
|
1693
1693
|
}, [B.value.table.useDialog ? {
|
|
1694
1694
|
name: "title",
|
|
1695
|
-
fn:
|
|
1695
|
+
fn: O(() => [Ie(E(Pr.value.title), 1)]),
|
|
1696
1696
|
key: "0"
|
|
1697
1697
|
} : void 0, B.value.table.useDialog ? {
|
|
1698
1698
|
name: "actions",
|
|
1699
|
-
fn:
|
|
1699
|
+
fn: O(() => [g("button", {
|
|
1700
1700
|
tabindex: "0",
|
|
1701
1701
|
class: "vue-ui-user-options-button",
|
|
1702
1702
|
onClick: t[1] ||= (e) => Dr(B.value.userOptions.callbacks.csv),
|
|
1703
|
-
style:
|
|
1704
|
-
}, [
|
|
1703
|
+
style: x({ cursor: V.value ? "pointer" : "default" })
|
|
1704
|
+
}, [Le(D(Vt), {
|
|
1705
1705
|
name: "fileCsv",
|
|
1706
1706
|
stroke: Pr.value.props.color
|
|
1707
1707
|
}, null, 8, ["stroke"])], 4)]),
|
|
1708
1708
|
key: "1"
|
|
1709
|
-
} : void 0]), 1040)) :
|
|
1710
|
-
|
|
1711
|
-
], 46,
|
|
1709
|
+
} : void 0]), 1040)) : m("", !0),
|
|
1710
|
+
T(e.$slots, "skeleton", {}, () => [D(En) ? (S(), p(ve, { key: 0 })) : m("", !0)], !0)
|
|
1711
|
+
], 46, Je));
|
|
1712
1712
|
}
|
|
1713
1713
|
}, [["__scopeId", "data-v-76063362"]]);
|
|
1714
1714
|
//#endregion
|
|
1715
|
-
export {
|
|
1715
|
+
export { qe as n, Bt as t };
|