vue-data-ui 3.23.0 → 3.23.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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-D6d8SCp9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/Slicer-CIk57nL4.js +1163 -0
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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-hill.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/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-KvlL5CqE.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.js} +2 -2
- 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/vue-data-ui.d.ts +3 -0
- package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-DGWDPCwC.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
- package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
- package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
- package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
- package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
- package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
- package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
- package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
- package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
- package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
- package/dist/vue-ui-hill-BT183G-_.js +1768 -0
- package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
- package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
- package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
- package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
- package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
- package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
- package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
- package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
- package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
- package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
- package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
- package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, G as r, Gt as i, Jt as a, Kt as o, Ot as s, Pt as c, S as ee, T as te, X as l, Y as ne, _ as re, bt as ie, i as u, jt as ae, pt as oe, q as se, qt as d, r as ce, t as le, tt as ue, w as de, xt as fe, zt as pe } from "./lib-
|
|
2
|
+
import { $ as t, D as n, G as r, Gt as i, Jt as a, Kt as o, Ot as s, Pt as c, S as ee, T as te, X as l, Y as ne, _ as re, bt as ie, i as u, jt as ae, pt as oe, q as se, qt as d, r as ce, t as le, tt as ue, w as de, xt as fe, zt as pe } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ge } from "./useConfig-
|
|
5
|
-
import { t as _e } from "./usePrinter-
|
|
4
|
+
import { t as ge } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as _e } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as be } from "./useSvgExport-
|
|
8
|
-
import { t as xe } from "./useNestedProp
|
|
7
|
+
import { t as be } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as xe } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Ce } from "./useTransitions-g_zBREk2.js";
|
|
11
11
|
import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as Te } from "./img-
|
|
13
|
-
import { n as Ee } from "./Title-
|
|
12
|
+
import { t as Te } from "./img-Bnokohej.js";
|
|
13
|
+
import { n as Ee } from "./Title-BE3qg9xl.js";
|
|
14
14
|
import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
|
|
16
16
|
import { t as Ae } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as je } from "./BaseLegendToggle-
|
|
17
|
+
import { t as je } from "./BaseLegendToggle-DZVucLnv.js";
|
|
18
18
|
import { t as Me } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as Fe } from "./Legend-
|
|
21
|
+
import { t as Fe } from "./Legend-CQxUgOd-.js";
|
|
22
22
|
import { t as Ie } from "./vue_ui_history_plot-CuN63VEc.js";
|
|
23
23
|
import { Fragment as f, Teleport as Le, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Ve, nextTick as He, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Ue, onMounted as We, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as D, toRefs as qe, unref as O, watch as Je, watchEffect as Ye, withCtx as k } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-history-plot.vue
|
|
@@ -178,88 +178,88 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
178
178
|
"copyAlt"
|
|
179
179
|
],
|
|
180
180
|
setup(e, { expose: De, emit: Xe }) {
|
|
181
|
-
let Ft = v(() => import("./Tooltip-
|
|
181
|
+
let Ft = v(() => import("./Tooltip-DhjyfHwz.js")), It = v(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Lt = v(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), Rt = v(() => import("./DataTable-BbKgJ5UI.js")), zt = v(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Bt = v(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Vt = v(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ht = v(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_history_plot: Ut } = ge(), { isThemeValid: Wt, warnInvalidTheme: Gt } = Se(), A = e, j = w(null), Kt = w(null), qt = w(0), Jt = w(null), Yt = w(0), Xt = w(0), Zt = w(0), M = Ke(null), N = Ke(null), Qt = w(null), P = w(se()), $t = w(!1), en = w(""), F = w([]), I = w(!1), L = w(null), tn = w(!1), nn = w(null), rn = w(!1), R = w(null), an = w(null), on = w(!1), sn = w(!1), cn = w(null), ln = w(null), un = w(null), dn = w(null), z = w(null), B = w(null), fn = w({
|
|
182
182
|
x: 0,
|
|
183
183
|
y: 0
|
|
184
|
-
}),
|
|
184
|
+
}), pn = w("pointer"), mn = w(!1), hn = p({
|
|
185
185
|
get: () => !!A.dataset && A.dataset.length,
|
|
186
186
|
set: (e) => e
|
|
187
|
-
}),
|
|
187
|
+
}), gn = Xe;
|
|
188
188
|
We(() => {
|
|
189
|
-
rn.value = !0,
|
|
189
|
+
rn.value = !0, vn();
|
|
190
190
|
});
|
|
191
|
-
let
|
|
192
|
-
function
|
|
191
|
+
let _n = p(() => !!V.value.debug);
|
|
192
|
+
function vn() {
|
|
193
193
|
if (ae(A.dataset) ? (ue({
|
|
194
194
|
componentName: "VueUiHistoryPlot",
|
|
195
195
|
type: "dataset",
|
|
196
|
-
debug:
|
|
197
|
-
}),
|
|
196
|
+
debug: _n.value
|
|
197
|
+
}), Cn.value = !0) : A.dataset.forEach((e, t) => {
|
|
198
198
|
oe({
|
|
199
199
|
datasetObject: e,
|
|
200
200
|
requiredAttributes: ["name", "values"]
|
|
201
201
|
}).forEach((e) => {
|
|
202
|
-
|
|
202
|
+
hn.value = !1, ue({
|
|
203
203
|
componentName: "VueUiHistoryPlot",
|
|
204
204
|
type: "datasetSerieAttribute",
|
|
205
205
|
property: e,
|
|
206
206
|
index: t,
|
|
207
|
-
debug:
|
|
207
|
+
debug: _n.value
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
}), ae(A.dataset) || (
|
|
210
|
+
}), ae(A.dataset) || (Cn.value = V.value.loading), V.value.responsive) {
|
|
211
211
|
let e = Oe(() => {
|
|
212
212
|
let { width: e, height: t } = ke({
|
|
213
213
|
chart: j.value,
|
|
214
|
-
title:
|
|
214
|
+
title: V.value.style.chart.title.text ? Kt.value : null,
|
|
215
215
|
noTitle: Qt.value,
|
|
216
|
-
legend:
|
|
216
|
+
legend: V.value.style.chart.legend.show ? Jt.value : null,
|
|
217
217
|
source: nn.value
|
|
218
218
|
});
|
|
219
219
|
requestAnimationFrame(() => {
|
|
220
|
-
|
|
220
|
+
K.value.width = e, K.value.height = t, V.value.responsiveProportionalSizing ? (J.value.plots = d({
|
|
221
221
|
relator: Math.min(e, t),
|
|
222
222
|
adjuster: 600,
|
|
223
|
-
source:
|
|
223
|
+
source: V.value.style.chart.plots.radius,
|
|
224
224
|
threshold: 3,
|
|
225
225
|
fallback: 3
|
|
226
|
-
}),
|
|
226
|
+
}), J.value.indexLabels = d({
|
|
227
227
|
relator: Math.min(e, t),
|
|
228
228
|
adjuster: 600,
|
|
229
|
-
source:
|
|
229
|
+
source: V.value.style.chart.plots.indexLabels.fontSize,
|
|
230
230
|
threshold: 6,
|
|
231
231
|
fallback: 6
|
|
232
|
-
}),
|
|
232
|
+
}), J.value.labels = d({
|
|
233
233
|
relator: Math.min(e, t),
|
|
234
234
|
adjuster: 600,
|
|
235
|
-
source:
|
|
235
|
+
source: V.value.style.chart.plots.labels.fontSize,
|
|
236
236
|
threshold: 6,
|
|
237
237
|
fallback: 6
|
|
238
|
-
}),
|
|
238
|
+
}), J.value.xAxisLabels = d({
|
|
239
239
|
relator: Math.min(e, t),
|
|
240
240
|
adjuster: 600,
|
|
241
|
-
source:
|
|
241
|
+
source: V.value.style.chart.axes.x.labels.fontSize,
|
|
242
242
|
threshold: 6,
|
|
243
243
|
fallback: 6
|
|
244
|
-
}),
|
|
244
|
+
}), J.value.xAxisName = d({
|
|
245
245
|
relator: Math.min(e, t),
|
|
246
246
|
adjuster: 600,
|
|
247
|
-
source:
|
|
247
|
+
source: V.value.style.chart.axes.x.name.fontSize,
|
|
248
248
|
threshold: 6,
|
|
249
249
|
fallback: 6
|
|
250
|
-
}),
|
|
250
|
+
}), J.value.yAxisLabels = d({
|
|
251
251
|
relator: Math.min(e, t),
|
|
252
252
|
adjuster: 600,
|
|
253
|
-
source:
|
|
253
|
+
source: V.value.style.chart.axes.y.labels.fontSize,
|
|
254
254
|
threshold: 6,
|
|
255
255
|
fallback: 6
|
|
256
|
-
}),
|
|
256
|
+
}), J.value.yAxisName = d({
|
|
257
257
|
relator: Math.min(e, t),
|
|
258
258
|
adjuster: 600,
|
|
259
|
-
source:
|
|
259
|
+
source: V.value.style.chart.axes.y.name.fontSize,
|
|
260
260
|
threshold: 6,
|
|
261
261
|
fallback: 6
|
|
262
|
-
})) : (
|
|
262
|
+
})) : (J.value.plots = V.value.style.chart.plots.radius, J.value.indexLabels = V.value.style.chart.plots.indexLabels.fontSize, J.value.labels = V.value.style.chart.plots.labels.fontSize, J.value.xAxisLabels = V.value.style.chart.axes.x.labels.fontSize, J.value.xAxisName = V.value.style.chart.axes.x.name.fontSize, J.value.yAxisLabels = V.value.style.chart.axes.y.labels.fontSize, J.value.yAxisName = V.value.style.chart.axes.y.name.fontSize);
|
|
263
263
|
});
|
|
264
264
|
});
|
|
265
265
|
M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect()), M.value = new ResizeObserver(e), N.value = j.value.parentNode, M.value.observe(N.value);
|
|
@@ -268,7 +268,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
268
268
|
Ue(() => {
|
|
269
269
|
M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
|
|
270
270
|
});
|
|
271
|
-
function
|
|
271
|
+
function yn() {
|
|
272
272
|
let e = xe({
|
|
273
273
|
userConfig: A.config,
|
|
274
274
|
defaultConfig: Ut
|
|
@@ -290,9 +290,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
290
290
|
else t = e;
|
|
291
291
|
return t;
|
|
292
292
|
}
|
|
293
|
-
let
|
|
293
|
+
let V = w(yn());
|
|
294
294
|
me({
|
|
295
|
-
config: () =>
|
|
295
|
+
config: () => V.value,
|
|
296
296
|
dataset: () => A.dataset,
|
|
297
297
|
component: "VueUiHistoryPlot",
|
|
298
298
|
rules: [he.emptyArray, {
|
|
@@ -304,10 +304,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
304
304
|
]
|
|
305
305
|
}]
|
|
306
306
|
});
|
|
307
|
-
let { transitionEnabled:
|
|
308
|
-
config: () =>
|
|
307
|
+
let { transitionEnabled: H } = Ce({
|
|
308
|
+
config: () => V.value.transitions,
|
|
309
309
|
dataset: () => A.dataset
|
|
310
|
-
}),
|
|
310
|
+
}), U = p(() => V.value.userOptions.useCursorPointer), bn = p(() => a({
|
|
311
311
|
defaultConfig: {
|
|
312
312
|
userOptions: { show: !1 },
|
|
313
313
|
table: { show: !1 },
|
|
@@ -345,11 +345,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
345
345
|
}
|
|
346
346
|
} }
|
|
347
347
|
},
|
|
348
|
-
userConfig:
|
|
349
|
-
})), { loading:
|
|
348
|
+
userConfig: V.value.skeletonConfig ?? {}
|
|
349
|
+
})), { loading: xn, FINAL_DATASET: Sn, manualLoading: Cn } = ve({
|
|
350
350
|
...qe(A),
|
|
351
|
-
FINAL_CONFIG:
|
|
352
|
-
prepareConfig:
|
|
351
|
+
FINAL_CONFIG: V,
|
|
352
|
+
prepareConfig: yn,
|
|
353
353
|
skeletonDataset: A.config?.skeletonDataset ?? [{
|
|
354
354
|
name: "",
|
|
355
355
|
color: "#CACACA",
|
|
@@ -377,132 +377,132 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
377
377
|
]
|
|
378
378
|
}],
|
|
379
379
|
skeletonConfig: a({
|
|
380
|
-
defaultConfig:
|
|
381
|
-
userConfig:
|
|
380
|
+
defaultConfig: V.value,
|
|
381
|
+
userConfig: bn.value
|
|
382
382
|
})
|
|
383
|
-
}), { userOptionsVisible:
|
|
383
|
+
}), { userOptionsVisible: wn, setUserOptionsVisibility: Tn, keepUserOptionState: En } = Ne({ config: V.value }), { svgRef: W } = Pe({ config: V.value.style.chart.title });
|
|
384
384
|
Je(() => A.config, (e) => {
|
|
385
|
-
|
|
385
|
+
xn.value || (V.value = yn()), wn.value = !V.value.userOptions.showOnChartHover, vn(), qt.value += 1, Xt.value += 1, Yt.value += 1, K.value.height = V.value.style.chart.height, K.value.width = V.value.style.chart.width, J.value.plots = V.value.style.chart.plots.radius, J.value.indexLabels = V.value.style.chart.plots.indexLabels.fontSize, J.value.labels = V.value.style.chart.plots.labels.fontSize, J.value.xAxisLabels = V.value.style.chart.axes.x.labels.fontSize, J.value.xAxisName = V.value.style.chart.axes.x.name.fontSize, J.value.yAxisLabels = V.value.style.chart.axes.y.labels.fontSize, J.value.yAxisName = V.value.style.chart.axes.y.name.fontSize, G.value.showTable = V.value.table.show, G.value.showTooltip = V.value.style.chart.tooltip.show;
|
|
386
386
|
}, { deep: !0 }), Je(() => A.dataset, (e) => {
|
|
387
|
-
Array.isArray(e) && e.length > 0 && (
|
|
387
|
+
Array.isArray(e) && e.length > 0 && (Cn.value = !1);
|
|
388
388
|
}, { deep: !0 });
|
|
389
|
-
let { isPrinting:
|
|
389
|
+
let { isPrinting: Dn, isImaging: On, generatePdf: kn, generateImage: An } = _e({
|
|
390
390
|
elementId: `history_plot_${P.value}`,
|
|
391
|
-
fileName:
|
|
392
|
-
options:
|
|
393
|
-
}),
|
|
394
|
-
showTable:
|
|
395
|
-
showTooltip:
|
|
391
|
+
fileName: V.value.style.chart.title.text || "vue-ui-history-plot",
|
|
392
|
+
options: V.value.userOptions.print
|
|
393
|
+
}), jn = p(() => V.value.userOptions.show && !V.value.style.chart.title.text), Mn = p(() => de(V.value.customPalette)), G = w({
|
|
394
|
+
showTable: V.value.table.show,
|
|
395
|
+
showTooltip: V.value.style.chart.tooltip.show
|
|
396
396
|
});
|
|
397
|
-
Je(
|
|
398
|
-
|
|
399
|
-
showTable:
|
|
400
|
-
showTooltip:
|
|
397
|
+
Je(V, () => {
|
|
398
|
+
G.value = {
|
|
399
|
+
showTable: V.value.table.show,
|
|
400
|
+
showTooltip: V.value.style.chart.tooltip.show
|
|
401
401
|
};
|
|
402
402
|
}, { immediate: !0 });
|
|
403
|
-
let
|
|
404
|
-
height:
|
|
405
|
-
width:
|
|
406
|
-
}),
|
|
407
|
-
function
|
|
403
|
+
let K = w({
|
|
404
|
+
height: V.value.style.chart.height,
|
|
405
|
+
width: V.value.style.chart.width
|
|
406
|
+
}), Nn = p(() => K.value.width), Pn = p(() => K.value.height);
|
|
407
|
+
function Fn() {
|
|
408
408
|
let e = 0;
|
|
409
|
-
|
|
409
|
+
dn.value && (e = Array.from(dn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
410
410
|
let n = t.getComputedTextLength();
|
|
411
411
|
return n > e ? n : e;
|
|
412
412
|
}, 0));
|
|
413
|
-
let t =
|
|
413
|
+
let t = ln.value ? ln.value.getBoundingClientRect().width : 0;
|
|
414
414
|
return e + t + (t ? 24 : 0);
|
|
415
415
|
}
|
|
416
|
-
let
|
|
417
|
-
|
|
416
|
+
let In = w(0), Ln = Oe((e) => {
|
|
417
|
+
In.value = e;
|
|
418
418
|
});
|
|
419
419
|
Ye((e) => {
|
|
420
|
-
let t =
|
|
420
|
+
let t = un.value;
|
|
421
421
|
if (!t) return;
|
|
422
422
|
let n = new ResizeObserver((e) => {
|
|
423
|
-
|
|
423
|
+
Ln(e[0].contentRect.height);
|
|
424
424
|
});
|
|
425
425
|
n.observe(t), e(() => n.disconnect());
|
|
426
426
|
});
|
|
427
|
-
let
|
|
427
|
+
let Rn = p(() => {
|
|
428
428
|
let e = 0;
|
|
429
|
-
|
|
429
|
+
cn.value && (e = cn.value.getBBox().height + J.value.xAxisName / 2);
|
|
430
430
|
let t = 0;
|
|
431
|
-
return
|
|
432
|
-
}),
|
|
433
|
-
let e =
|
|
431
|
+
return un.value && (t = In.value), e + t;
|
|
432
|
+
}), q = p(() => {
|
|
433
|
+
let e = V.value.style.chart.padding.left, t = V.value.style.chart.padding.top, n = Fn(), r = V.value.style.chart.plots.radius;
|
|
434
434
|
return {
|
|
435
|
-
left: e + n +
|
|
435
|
+
left: e + n + V.value.style.chart.axes.y.name.offsetX,
|
|
436
436
|
top: t + r,
|
|
437
|
-
right:
|
|
438
|
-
bottom:
|
|
439
|
-
width:
|
|
440
|
-
height:
|
|
437
|
+
right: K.value.width - V.value.style.chart.padding.right - r - V.value.style.chart.axes.y.name.offsetX,
|
|
438
|
+
bottom: K.value.height - V.value.style.chart.padding.bottom - Rn.value - r - V.value.style.chart.axes.x.name.offsetY,
|
|
439
|
+
width: K.value.width - e - V.value.style.chart.padding.right - n - r - V.value.style.chart.axes.y.name.offsetX,
|
|
440
|
+
height: K.value.height - t - V.value.style.chart.padding.bottom - Rn.value - r * 2 - V.value.style.chart.axes.x.name.offsetY
|
|
441
441
|
};
|
|
442
|
-
}),
|
|
443
|
-
plots:
|
|
444
|
-
indexLabels:
|
|
445
|
-
labels:
|
|
446
|
-
xAxisLabels:
|
|
447
|
-
xAxisName:
|
|
448
|
-
yAxisLabels:
|
|
449
|
-
yAxisName:
|
|
450
|
-
}),
|
|
442
|
+
}), J = w({
|
|
443
|
+
plots: V.value.style.chart.plots.radius,
|
|
444
|
+
indexLabels: V.value.style.chart.plots.indexLabels.fontSize,
|
|
445
|
+
labels: V.value.style.chart.plots.labels.fontSize,
|
|
446
|
+
xAxisLabels: V.value.style.chart.axes.x.labels.fontSize,
|
|
447
|
+
xAxisName: V.value.style.chart.axes.x.name.fontSize,
|
|
448
|
+
yAxisLabels: V.value.style.chart.axes.y.labels.fontSize,
|
|
449
|
+
yAxisName: V.value.style.chart.axes.y.name.fontSize
|
|
450
|
+
}), Y = p(() => Sn.value.map((e, t) => {
|
|
451
451
|
let n = Array.isArray(e.temperatureColors) && e.temperatureColors.length ? e.temperatureColors.map((e) => ee(e)) : void 0;
|
|
452
452
|
return {
|
|
453
453
|
...e,
|
|
454
|
-
color: e.color ? ee(e.color) :
|
|
454
|
+
color: e.color ? ee(e.color) : Mn.value[t] || c[t] || c[t % c.length],
|
|
455
455
|
temperatureColors: n,
|
|
456
|
-
temperatureAngle:
|
|
456
|
+
temperatureAngle: zn(e.temperatureAngle),
|
|
457
457
|
temperatureIndependant: e.temperatureIndependant === !0,
|
|
458
458
|
usePlotTemperatureColors: e.usePlotTemperatureColors !== !1,
|
|
459
459
|
seriesIndex: t
|
|
460
460
|
};
|
|
461
461
|
}));
|
|
462
|
-
function
|
|
462
|
+
function zn(e = 0) {
|
|
463
463
|
let t = Number(e);
|
|
464
464
|
return Number.isFinite(t) ? (t % 360 + 360) % 360 : 0;
|
|
465
465
|
}
|
|
466
|
-
let
|
|
467
|
-
let e = Math.min(...
|
|
466
|
+
let Bn = p(() => Math.max(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)))), Vn = p(() => {
|
|
467
|
+
let e = Math.min(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)));
|
|
468
468
|
return e < 0 ? e : 0;
|
|
469
|
-
}),
|
|
470
|
-
let e = Math.min(...
|
|
469
|
+
}), Hn = p(() => Math.max(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)))), Un = p(() => {
|
|
470
|
+
let e = Math.min(...Y.value.filter((e) => !F.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)));
|
|
471
471
|
return e < 0 ? e : 0;
|
|
472
|
-
}),
|
|
473
|
-
let e = re(
|
|
472
|
+
}), X = p(() => {
|
|
473
|
+
let e = re(V.value.style.chart.axes.x.scaleMin ?? Vn.value, V.value.style.chart.axes.x.scaleMax ?? Bn.value, V.value.style.chart.axes.x.ticks), t = re(V.value.style.chart.axes.y.scaleMin ?? Un.value, V.value.style.chart.axes.y.scaleMax ?? Hn.value, V.value.style.chart.axes.y.ticks);
|
|
474
474
|
return {
|
|
475
475
|
x: e,
|
|
476
476
|
y: t,
|
|
477
477
|
tickX: e.ticks.map((t) => ({
|
|
478
|
-
x:
|
|
479
|
-
y1:
|
|
480
|
-
y2:
|
|
478
|
+
x: q.value.left + (t - e.min) / (e.max - e.min) * q.value.width,
|
|
479
|
+
y1: q.value.top,
|
|
480
|
+
y2: q.value.bottom,
|
|
481
481
|
value: t
|
|
482
482
|
})),
|
|
483
483
|
tickY: t.ticks.map((e) => ({
|
|
484
|
-
y:
|
|
485
|
-
x1:
|
|
486
|
-
x2:
|
|
484
|
+
y: q.value.bottom - (e - t.min) / (t.max - t.min) * q.value.height,
|
|
485
|
+
x1: q.value.left,
|
|
486
|
+
x2: q.value.right,
|
|
487
487
|
value: e
|
|
488
488
|
}))
|
|
489
489
|
};
|
|
490
490
|
});
|
|
491
|
-
function
|
|
492
|
-
let t =
|
|
493
|
-
return
|
|
491
|
+
function Wn(e) {
|
|
492
|
+
let t = X.value.x.min < 0 ? Math.abs(X.value.x.min) : X.value.x.min > 0 ? -X.value.x.min : 0;
|
|
493
|
+
return q.value.left + ((e || 0) + t) / (X.value.x.max + t) * q.value.width;
|
|
494
494
|
}
|
|
495
|
-
function
|
|
496
|
-
let t =
|
|
497
|
-
return
|
|
495
|
+
function Gn(e) {
|
|
496
|
+
let t = X.value.y.min < 0 ? Math.abs(X.value.y.min) : X.value.y.min > 0 ? -X.value.y.min : 0;
|
|
497
|
+
return q.value.bottom - ((e || 0) + t) / (X.value.y.max + t) * q.value.height;
|
|
498
498
|
}
|
|
499
|
-
let
|
|
499
|
+
let Z = p(() => Y.value.filter((e) => !F.value.includes(e.seriesIndex)).map((e, t) => {
|
|
500
500
|
let n = e.values.map((t, n) => ({
|
|
501
501
|
valueX: t.x,
|
|
502
502
|
valueY: t.y,
|
|
503
503
|
label: t.label,
|
|
504
|
-
x:
|
|
505
|
-
y:
|
|
504
|
+
x: Wn(t.x),
|
|
505
|
+
y: Gn(t.y),
|
|
506
506
|
color: e.color,
|
|
507
507
|
seriesName: e.name,
|
|
508
508
|
id: se()
|
|
@@ -513,22 +513,22 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
513
513
|
plots: n,
|
|
514
514
|
path: `M${r}`
|
|
515
515
|
};
|
|
516
|
-
})),
|
|
517
|
-
if (L.value === null ||
|
|
518
|
-
let e =
|
|
519
|
-
if (e === -1) return
|
|
520
|
-
let t =
|
|
516
|
+
})), Kn = p(() => {
|
|
517
|
+
if (L.value === null || z.value === null) return Z.value;
|
|
518
|
+
let e = Z.value.findIndex((e) => e.seriesIndex === z.value);
|
|
519
|
+
if (e === -1) return Z.value;
|
|
520
|
+
let t = Z.value[e];
|
|
521
521
|
return [
|
|
522
|
-
...
|
|
523
|
-
...
|
|
522
|
+
...Z.value.slice(0, e),
|
|
523
|
+
...Z.value.slice(e + 1),
|
|
524
524
|
t
|
|
525
525
|
];
|
|
526
|
-
}),
|
|
527
|
-
function
|
|
526
|
+
}), qn = p(() => Z.value.some((e) => Jn(e)));
|
|
527
|
+
function Jn(e) {
|
|
528
528
|
return Array.isArray(e?.temperatureColors) && e.temperatureColors.length;
|
|
529
529
|
}
|
|
530
530
|
function Yn(e) {
|
|
531
|
-
return
|
|
531
|
+
return Jn(e) && e.usePlotTemperatureColors;
|
|
532
532
|
}
|
|
533
533
|
function Xn(e) {
|
|
534
534
|
let t = Array.isArray(e?.plots) ? e.plots : [];
|
|
@@ -551,7 +551,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
551
551
|
};
|
|
552
552
|
}
|
|
553
553
|
function Zn() {
|
|
554
|
-
let e =
|
|
554
|
+
let e = q.value;
|
|
555
555
|
return {
|
|
556
556
|
minX: e.left,
|
|
557
557
|
maxX: e.right,
|
|
@@ -565,7 +565,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
565
565
|
return e?.temperatureIndependant ? Xn(e) : Zn();
|
|
566
566
|
}
|
|
567
567
|
function $n(e) {
|
|
568
|
-
let t =
|
|
568
|
+
let t = zn(e?.temperatureAngle) * Math.PI / 180, n = Math.sin(t), r = Math.cos(t), i = Qn(e), a = i.minX + i.width / 2, o = i.minY + i.height / 2, s = (Math.abs(n) * i.width + Math.abs(r) * i.height) / 2 || 1;
|
|
569
569
|
return {
|
|
570
570
|
x1: a - n * s,
|
|
571
571
|
y1: o - r * s,
|
|
@@ -589,36 +589,36 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
589
589
|
return `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${P.value}`;
|
|
590
590
|
}
|
|
591
591
|
function nr(e, t, n) {
|
|
592
|
-
return Yn(e) ?
|
|
592
|
+
return Yn(e) ? V.value.style.chart.plots.gradient.show ? `url(#${tr(e, t)})` : Q(e, t) : V.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${P.value})` : t.color;
|
|
593
593
|
}
|
|
594
594
|
function rr(e, t) {
|
|
595
595
|
return Yn(e) ? Q(e, t) : e.color;
|
|
596
596
|
}
|
|
597
597
|
function ir(e, t) {
|
|
598
|
-
return
|
|
598
|
+
return V.value.style.chart.plots.indexLabels.adaptColorToBackground ? ce(rr(e, t)) : V.value.style.chart.plots.indexLabels.color;
|
|
599
599
|
}
|
|
600
600
|
function ar(e, t) {
|
|
601
|
-
let n =
|
|
601
|
+
let n = Z.value.find((t) => t.seriesIndex === e);
|
|
602
602
|
return n && Yn(n) ? Q(n, t) : t.color;
|
|
603
603
|
}
|
|
604
604
|
function or(e) {
|
|
605
|
-
return
|
|
605
|
+
return Jn(e) ? `url(#temperature_grad_history_${e.seriesIndex}_${P.value})` : V.value.style.chart.paths.useSerieColor ? e.color : V.value.style.chart.paths.stroke;
|
|
606
606
|
}
|
|
607
607
|
function sr(e) {
|
|
608
|
-
return L.value === null ||
|
|
608
|
+
return L.value === null || z.value === e ? 1 : Math.min(1, V.value.style.chart.plots.unselectedOpacity);
|
|
609
609
|
}
|
|
610
|
-
p(() => L.value !== null &&
|
|
610
|
+
p(() => L.value !== null && z.value !== null);
|
|
611
611
|
let cr = w(!1);
|
|
612
612
|
function lr() {
|
|
613
613
|
F.value.length ? F.value = [] : mr.value.forEach((e) => {
|
|
614
614
|
F.value.push(e.seriesIndex);
|
|
615
|
-
}),
|
|
615
|
+
}), gn("selectLegend", Z.value);
|
|
616
616
|
}
|
|
617
617
|
function ur(e) {
|
|
618
|
-
F.value.includes(e) ? F.value = F.value.filter((t) => t !== e) : F.value.push(e),
|
|
618
|
+
F.value.includes(e) ? F.value = F.value.filter((t) => t !== e) : F.value.push(e), gn("selectLegend", Z.value);
|
|
619
619
|
}
|
|
620
620
|
function dr(e) {
|
|
621
|
-
return
|
|
621
|
+
return Y.value.length ? Y.value.find((t) => t.name === e) || (V.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${e}"`), null) : (V.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null);
|
|
622
622
|
}
|
|
623
623
|
function fr(e) {
|
|
624
624
|
let t = dr(e);
|
|
@@ -628,8 +628,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
628
628
|
let t = dr(e);
|
|
629
629
|
t !== null && (F.value.includes(t.seriesIndex) || ur(t.seriesIndex));
|
|
630
630
|
}
|
|
631
|
-
let mr = p(() =>
|
|
632
|
-
let t =
|
|
631
|
+
let mr = p(() => Y.value.map((e) => {
|
|
632
|
+
let t = Jn(e) ? e.temperatureColors : null;
|
|
633
633
|
return {
|
|
634
634
|
...e,
|
|
635
635
|
gradientColors: t,
|
|
@@ -640,54 +640,54 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
640
640
|
};
|
|
641
641
|
})), hr = p(() => ({
|
|
642
642
|
cy: "history-plot-div-legend",
|
|
643
|
-
backgroundColor:
|
|
644
|
-
color:
|
|
645
|
-
fontSize:
|
|
643
|
+
backgroundColor: V.value.style.chart.legend.backgroundColor,
|
|
644
|
+
color: V.value.style.chart.legend.color,
|
|
645
|
+
fontSize: V.value.style.chart.legend.fontSize,
|
|
646
646
|
paddingBottom: 12,
|
|
647
|
-
fontWeight:
|
|
647
|
+
fontWeight: V.value.style.chart.legend.bold ? "bold" : ""
|
|
648
648
|
}));
|
|
649
649
|
function gr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
|
|
650
|
-
|
|
650
|
+
V.value.events.datapointClick && V.value.events.datapointClick({
|
|
651
651
|
datapoint: {
|
|
652
652
|
...e,
|
|
653
653
|
plotIndex: t,
|
|
654
654
|
seriesIndex: n
|
|
655
655
|
},
|
|
656
656
|
seriesIndex: n
|
|
657
|
-
}),
|
|
657
|
+
}), gn("selectDatapoint", e);
|
|
658
658
|
}
|
|
659
659
|
function _r(e) {
|
|
660
660
|
I.value = e, Zt.value += 1;
|
|
661
661
|
}
|
|
662
662
|
let vr = w(null);
|
|
663
663
|
function yr({ datapoint: e, plotIndex: t, seriesIndex: n }) {
|
|
664
|
-
|
|
664
|
+
V.value.events.datapointLeave && V.value.events.datapointLeave({
|
|
665
665
|
datapoint: {
|
|
666
666
|
...e,
|
|
667
667
|
plotIndex: t,
|
|
668
668
|
seriesIndex: n
|
|
669
669
|
},
|
|
670
670
|
seriesIndex: n
|
|
671
|
-
}),
|
|
671
|
+
}), (pn.value !== "keyboard" || z.value !== n || B.value !== t) && ($t.value = !1, L.value = null);
|
|
672
672
|
}
|
|
673
673
|
function br(e, t) {
|
|
674
|
-
if (!
|
|
675
|
-
let n =
|
|
674
|
+
if (!W.value) return;
|
|
675
|
+
let n = Z.value.find((t) => t.seriesIndex === e);
|
|
676
676
|
if (!n) return;
|
|
677
677
|
let r = n.plots[t];
|
|
678
678
|
if (!r) return;
|
|
679
|
-
let a = i(r.x, r.y,
|
|
680
|
-
a && (
|
|
679
|
+
let a = i(r.x, r.y, W.value);
|
|
680
|
+
a && (fn.value = a);
|
|
681
681
|
}
|
|
682
682
|
function xr({ datapoint: e, plotIndex: t, seriesIndex: n, triggerMode: r = "pointer" }) {
|
|
683
|
-
|
|
683
|
+
V.value.events.datapointEnter && V.value.events.datapointEnter({
|
|
684
684
|
datapoint: {
|
|
685
685
|
...e,
|
|
686
686
|
plotIndex: t,
|
|
687
687
|
seriesIndex: n
|
|
688
688
|
},
|
|
689
689
|
seriesIndex: n
|
|
690
|
-
}),
|
|
690
|
+
}), z.value = n, B.value = t, pn.value = r, cr.value = !0;
|
|
691
691
|
let i = ar(n, e), a = {
|
|
692
692
|
...e,
|
|
693
693
|
color: i
|
|
@@ -697,18 +697,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
697
697
|
color: i,
|
|
698
698
|
seriesIndex: n,
|
|
699
699
|
plotIndex: t,
|
|
700
|
-
config:
|
|
701
|
-
series:
|
|
700
|
+
config: V.value,
|
|
701
|
+
series: Y.value
|
|
702
702
|
}, L.value = e;
|
|
703
|
-
let o =
|
|
703
|
+
let o = V.value.style.chart.tooltip.customFormat;
|
|
704
704
|
if (tn.value = !1, fe(o)) try {
|
|
705
705
|
let e = o({
|
|
706
706
|
seriesIndex: n,
|
|
707
707
|
datapoint: a,
|
|
708
708
|
color: i,
|
|
709
709
|
plotIndex: t,
|
|
710
|
-
series:
|
|
711
|
-
config:
|
|
710
|
+
series: Y.value,
|
|
711
|
+
config: V.value
|
|
712
712
|
});
|
|
713
713
|
typeof e == "string" && (en.value = e, tn.value = !0);
|
|
714
714
|
} catch {
|
|
@@ -716,66 +716,66 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
716
716
|
}
|
|
717
717
|
if (!tn.value) {
|
|
718
718
|
let t = "";
|
|
719
|
-
t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${
|
|
720
|
-
p:
|
|
719
|
+
t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${V.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>${V.value.style.chart.axes.x.name.text || "x"}: ${u(V.value.style.chart.axes.x.labels.formatter, e.valueX, l({
|
|
720
|
+
p: V.value.style.chart.axes.x.labels.prefix,
|
|
721
721
|
v: e.valueX,
|
|
722
|
-
s:
|
|
723
|
-
r:
|
|
724
|
-
}))}</div>`, t += `<div>${
|
|
725
|
-
p:
|
|
722
|
+
s: V.value.style.chart.axes.x.labels.suffix,
|
|
723
|
+
r: V.value.style.chart.axes.x.labels.rounding
|
|
724
|
+
}))}</div>`, t += `<div>${V.value.style.chart.axes.y.name.text || "y"}: ${u(V.value.style.chart.axes.y.labels.formatter, e.valueY, l({
|
|
725
|
+
p: V.value.style.chart.axes.y.labels.prefix,
|
|
726
726
|
v: e.valueY,
|
|
727
|
-
s:
|
|
728
|
-
r:
|
|
727
|
+
s: V.value.style.chart.axes.y.labels.suffix,
|
|
728
|
+
r: V.value.style.chart.axes.y.labels.rounding
|
|
729
729
|
}))}</div>`, en.value = `<div>${t}</div>`;
|
|
730
730
|
}
|
|
731
731
|
$t.value = !0, r === "keyboard" && He(() => {
|
|
732
732
|
br(n, t);
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
|
-
p(() => ({ head:
|
|
735
|
+
p(() => ({ head: Z.value.map((e) => ({
|
|
736
736
|
name: e.name,
|
|
737
737
|
color: e.color
|
|
738
738
|
})) }));
|
|
739
739
|
let $ = p(() => {
|
|
740
740
|
let e = [
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
741
|
+
V.value.table.columnNames.series,
|
|
742
|
+
V.value.table.columnNames.datapoint,
|
|
743
|
+
V.value.table.columnNames.x,
|
|
744
|
+
V.value.table.columnNames.y
|
|
745
745
|
];
|
|
746
746
|
return {
|
|
747
747
|
head: e,
|
|
748
|
-
body:
|
|
748
|
+
body: Z.value.flatMap((e) => e.plots.map((e) => [
|
|
749
749
|
{
|
|
750
750
|
color: e.color,
|
|
751
751
|
name: e.seriesName
|
|
752
752
|
},
|
|
753
753
|
e.label,
|
|
754
|
-
u(
|
|
755
|
-
p:
|
|
754
|
+
u(V.value.style.chart.axes.x.labels.formatter, e.valueX, l({
|
|
755
|
+
p: V.value.style.chart.axes.x.labels.prefix,
|
|
756
756
|
v: e.valueX,
|
|
757
|
-
s:
|
|
758
|
-
r:
|
|
757
|
+
s: V.value.style.chart.axes.x.labels.suffix,
|
|
758
|
+
r: V.value.style.chart.axes.x.labels.rounding
|
|
759
759
|
})),
|
|
760
|
-
u(
|
|
761
|
-
p:
|
|
760
|
+
u(V.value.style.chart.axes.y.labels.formatter, e.valueY, l({
|
|
761
|
+
p: V.value.style.chart.axes.y.labels.prefix,
|
|
762
762
|
v: e.valueY,
|
|
763
|
-
s:
|
|
764
|
-
r:
|
|
763
|
+
s: V.value.style.chart.axes.y.labels.suffix,
|
|
764
|
+
r: V.value.style.chart.axes.y.labels.rounding
|
|
765
765
|
}))
|
|
766
766
|
])),
|
|
767
767
|
config: {
|
|
768
768
|
th: {
|
|
769
|
-
backgroundColor:
|
|
770
|
-
color:
|
|
771
|
-
outline:
|
|
769
|
+
backgroundColor: V.value.table.th.backgroundColor,
|
|
770
|
+
color: V.value.table.th.color,
|
|
771
|
+
outline: V.value.table.th.outline
|
|
772
772
|
},
|
|
773
773
|
td: {
|
|
774
|
-
backgroundColor:
|
|
775
|
-
color:
|
|
776
|
-
outline:
|
|
774
|
+
backgroundColor: V.value.table.td.backgroundColor,
|
|
775
|
+
color: V.value.table.td.color,
|
|
776
|
+
outline: V.value.table.td.outline
|
|
777
777
|
},
|
|
778
|
-
breakpoint:
|
|
778
|
+
breakpoint: V.value.table.responsiveBreakpoint
|
|
779
779
|
},
|
|
780
780
|
colNames: e
|
|
781
781
|
};
|
|
@@ -783,23 +783,23 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
783
783
|
function Sr(e = null) {
|
|
784
784
|
He(() => {
|
|
785
785
|
let r = [
|
|
786
|
-
[
|
|
787
|
-
[
|
|
788
|
-
[
|
|
789
|
-
[
|
|
790
|
-
], i =
|
|
786
|
+
[V.value.table.columnNames.series],
|
|
787
|
+
[V.value.table.columnNames.datapoint],
|
|
788
|
+
[V.value.table.columnNames.x],
|
|
789
|
+
[V.value.table.columnNames.y]
|
|
790
|
+
], i = Z.value.flatMap((e) => e.plots.map((e) => [
|
|
791
791
|
[e.seriesName],
|
|
792
792
|
[e.label],
|
|
793
793
|
[e.valueX],
|
|
794
794
|
[e.valueY]
|
|
795
|
-
])), a =
|
|
796
|
-
[
|
|
797
|
-
[
|
|
795
|
+
])), a = [
|
|
796
|
+
[V.value.style.chart.title.text],
|
|
797
|
+
[V.value.style.chart.title.subtitle.text],
|
|
798
798
|
r
|
|
799
|
-
].concat(i));
|
|
800
|
-
e ? e(
|
|
801
|
-
csvContent:
|
|
802
|
-
title:
|
|
799
|
+
].concat(i), o = n(a);
|
|
800
|
+
e ? e(o) : t({
|
|
801
|
+
csvContent: o,
|
|
802
|
+
title: V.value.style.chart.title.text || "vue-ui-history-plot"
|
|
803
803
|
});
|
|
804
804
|
});
|
|
805
805
|
}
|
|
@@ -808,13 +808,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
808
808
|
Cr.value = !Cr.value;
|
|
809
809
|
}
|
|
810
810
|
function Tr() {
|
|
811
|
-
|
|
811
|
+
G.value.showTable = !G.value.showTable;
|
|
812
812
|
}
|
|
813
813
|
function Er() {
|
|
814
|
-
|
|
814
|
+
G.value.showTooltip = !G.value.showTooltip;
|
|
815
815
|
}
|
|
816
816
|
function Dr() {
|
|
817
|
-
return
|
|
817
|
+
return Z.value;
|
|
818
818
|
}
|
|
819
819
|
async function Or({ scale: e = 2 } = {}) {
|
|
820
820
|
if (!j.value) return;
|
|
@@ -827,20 +827,21 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
827
827
|
return {
|
|
828
828
|
imageUri: i,
|
|
829
829
|
base64: a,
|
|
830
|
-
title:
|
|
830
|
+
title: V.value.style.chart.title.text,
|
|
831
831
|
width: t,
|
|
832
832
|
height: n,
|
|
833
833
|
aspectRatio: r
|
|
834
834
|
};
|
|
835
835
|
}
|
|
836
|
+
let kr = p(() => X.value.tickX), Ar = p(() => ({
|
|
837
|
+
start: 0,
|
|
838
|
+
end: X.value.tickX.length
|
|
839
|
+
}));
|
|
836
840
|
we({
|
|
837
|
-
timeLabelsEls:
|
|
838
|
-
timeLabels:
|
|
839
|
-
slicer:
|
|
840
|
-
|
|
841
|
-
end: Y.value.tickX.length
|
|
842
|
-
})),
|
|
843
|
-
configRef: B,
|
|
841
|
+
timeLabelsEls: un,
|
|
842
|
+
timeLabels: kr,
|
|
843
|
+
slicer: Ar,
|
|
844
|
+
configRef: V,
|
|
844
845
|
rotationPath: [
|
|
845
846
|
"style",
|
|
846
847
|
"chart",
|
|
@@ -859,21 +860,21 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
859
860
|
"enable"
|
|
860
861
|
],
|
|
861
862
|
isAutoSize: !1,
|
|
862
|
-
width:
|
|
863
|
-
height:
|
|
863
|
+
width: Nn,
|
|
864
|
+
height: Pn,
|
|
864
865
|
targetClass: ".vue-ui-history-plot-x-axis-scale",
|
|
865
|
-
rotation:
|
|
866
|
+
rotation: V.value.style.chart.axes.x.labels.autoRotate.angle
|
|
866
867
|
});
|
|
867
|
-
let
|
|
868
|
-
let e =
|
|
868
|
+
let jr = p(() => {
|
|
869
|
+
let e = V.value.table.useDialog && !V.value.table.show, t = G.value.showTable;
|
|
869
870
|
return {
|
|
870
871
|
component: e ? Ht : Lt,
|
|
871
|
-
title: `${
|
|
872
|
+
title: `${V.value.style.chart.title.text}${V.value.style.chart.title.subtitle.text ? `: ${V.value.style.chart.title.subtitle.text}` : ""}`,
|
|
872
873
|
props: e ? {
|
|
873
|
-
backgroundColor:
|
|
874
|
-
color:
|
|
875
|
-
headerColor:
|
|
876
|
-
headerBg:
|
|
874
|
+
backgroundColor: V.value.table.th.backgroundColor,
|
|
875
|
+
color: V.value.table.th.color,
|
|
876
|
+
headerColor: V.value.table.th.color,
|
|
877
|
+
headerBg: V.value.table.th.backgroundColor,
|
|
877
878
|
isFullscreen: I.value,
|
|
878
879
|
fullscreenParent: j.value,
|
|
879
880
|
forcedWidth: Math.min(800, window.innerWidth * .8)
|
|
@@ -883,71 +884,71 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
883
884
|
open: t,
|
|
884
885
|
maxHeight: 1e4,
|
|
885
886
|
body: {
|
|
886
|
-
backgroundColor:
|
|
887
|
-
color:
|
|
887
|
+
backgroundColor: V.value.style.chart.backgroundColor,
|
|
888
|
+
color: V.value.style.chart.color
|
|
888
889
|
},
|
|
889
890
|
head: {
|
|
890
|
-
backgroundColor:
|
|
891
|
-
color:
|
|
891
|
+
backgroundColor: V.value.style.chart.backgroundColor,
|
|
892
|
+
color: V.value.style.chart.color
|
|
892
893
|
}
|
|
893
894
|
}
|
|
894
895
|
}
|
|
895
896
|
};
|
|
896
897
|
});
|
|
897
|
-
Je(() =>
|
|
898
|
-
|
|
898
|
+
Je(() => G.value.showTable, (e) => {
|
|
899
|
+
V.value.table.show || (e && V.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
|
|
899
900
|
});
|
|
900
|
-
function
|
|
901
|
-
|
|
901
|
+
function Mr() {
|
|
902
|
+
G.value.showTable = !1, an.value && an.value.setTableIconState(!1);
|
|
902
903
|
}
|
|
903
|
-
let
|
|
904
|
-
svg:
|
|
905
|
-
title:
|
|
906
|
-
legend:
|
|
904
|
+
let Nr = p(() => V.value.style.chart.backgroundColor), Pr = p(() => V.value.style.chart.legend), Fr = p(() => V.value.style.chart.title), { exportSvg: Ir, getSvg: Lr } = be({
|
|
905
|
+
svg: W,
|
|
906
|
+
title: Fr,
|
|
907
|
+
legend: Pr,
|
|
907
908
|
legendItems: mr,
|
|
908
|
-
backgroundColor:
|
|
909
|
+
backgroundColor: Nr
|
|
909
910
|
});
|
|
910
|
-
async function
|
|
911
|
-
|
|
911
|
+
async function Rr({ isCb: e }) {
|
|
912
|
+
sn.value = !0, await He();
|
|
912
913
|
try {
|
|
913
914
|
if (e) {
|
|
914
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
915
|
-
await Promise.resolve(
|
|
915
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Lr();
|
|
916
|
+
await Promise.resolve(V.value.userOptions.callbacks.svg({
|
|
916
917
|
blob: e,
|
|
917
918
|
url: t,
|
|
918
919
|
text: n,
|
|
919
920
|
dataUrl: r
|
|
920
921
|
}));
|
|
921
|
-
} else await Promise.resolve(
|
|
922
|
+
} else await Promise.resolve(Ir());
|
|
922
923
|
} finally {
|
|
923
|
-
|
|
924
|
+
sn.value = !1;
|
|
924
925
|
}
|
|
925
926
|
}
|
|
926
|
-
function
|
|
927
|
+
function zr(e) {
|
|
927
928
|
if (e?.stage === "start") {
|
|
928
|
-
|
|
929
|
+
on.value = !0;
|
|
929
930
|
return;
|
|
930
931
|
}
|
|
931
932
|
if (e?.stage === "end") {
|
|
932
|
-
|
|
933
|
+
on.value = !1;
|
|
933
934
|
return;
|
|
934
935
|
}
|
|
935
|
-
|
|
936
|
+
An();
|
|
936
937
|
}
|
|
937
|
-
async function
|
|
938
|
-
if (
|
|
939
|
-
config:
|
|
940
|
-
dataset:
|
|
941
|
-
}), !
|
|
938
|
+
async function Br() {
|
|
939
|
+
if (gn("copyAlt", {
|
|
940
|
+
config: V.value,
|
|
941
|
+
dataset: Z.value
|
|
942
|
+
}), !V.value.userOptions.callbacks.altCopy) {
|
|
942
943
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
943
944
|
return;
|
|
944
945
|
}
|
|
945
|
-
await Promise.resolve(
|
|
946
|
-
config:
|
|
947
|
-
dataset:
|
|
946
|
+
await Promise.resolve(V.value.userOptions.callbacks.altCopy({
|
|
947
|
+
config: V.value,
|
|
948
|
+
dataset: Z.value
|
|
948
949
|
}));
|
|
949
950
|
}
|
|
950
|
-
let
|
|
951
|
+
let Vr = p(() => ({
|
|
951
952
|
head: $.value.head,
|
|
952
953
|
body: $.value.body.map((e) => [
|
|
953
954
|
e[0]?.name || "",
|
|
@@ -955,49 +956,49 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
955
956
|
e[2],
|
|
956
957
|
e[3]
|
|
957
958
|
]),
|
|
958
|
-
caption:
|
|
959
|
-
notice:
|
|
959
|
+
caption: V.value.a11y.translations.tableCaption,
|
|
960
|
+
notice: V.value.a11y.translations.tableAvailable
|
|
960
961
|
}));
|
|
961
|
-
function
|
|
962
|
-
return
|
|
962
|
+
function Hr(e) {
|
|
963
|
+
return Z.value.findIndex((t) => t.seriesIndex === e);
|
|
963
964
|
}
|
|
964
|
-
function
|
|
965
|
-
if (
|
|
966
|
-
let e =
|
|
965
|
+
function Ur() {
|
|
966
|
+
if (z.value !== null && B.value !== null) {
|
|
967
|
+
let e = Z.value.find((e) => e.seriesIndex === z.value)?.plots?.[B.value];
|
|
967
968
|
e && yr({
|
|
968
969
|
datapoint: e,
|
|
969
|
-
plotIndex:
|
|
970
|
-
seriesIndex:
|
|
970
|
+
plotIndex: B.value,
|
|
971
|
+
seriesIndex: z.value
|
|
971
972
|
});
|
|
972
973
|
}
|
|
973
|
-
|
|
974
|
+
z.value = null, B.value = null, pn.value = "pointer", $t.value = !1, L.value = null;
|
|
974
975
|
}
|
|
975
|
-
function
|
|
976
|
-
|
|
976
|
+
function Wr() {
|
|
977
|
+
z.value = null, B.value = null, mn.value = !0;
|
|
977
978
|
}
|
|
978
|
-
function
|
|
979
|
-
|
|
979
|
+
function Gr() {
|
|
980
|
+
Ur(), mn.value = !1;
|
|
980
981
|
}
|
|
981
|
-
function
|
|
982
|
+
function Kr(e, t) {
|
|
982
983
|
if (!e?.plots?.length) return null;
|
|
983
984
|
let n = e.plots.length;
|
|
984
985
|
return (t % n + n) % n;
|
|
985
986
|
}
|
|
986
|
-
function
|
|
987
|
-
if (!
|
|
988
|
-
let r =
|
|
987
|
+
function qr({ seriesIndex: e, plotIndex: t, direction: n }) {
|
|
988
|
+
if (!Z.value.length) return null;
|
|
989
|
+
let r = Hr(e);
|
|
989
990
|
if (r === -1) return null;
|
|
990
991
|
if (n === "up" || n === "down") {
|
|
991
|
-
let e =
|
|
992
|
+
let e = Z.value[r];
|
|
992
993
|
if (!e?.plots?.length) return null;
|
|
993
|
-
let i =
|
|
994
|
+
let i = Kr(e, t + (n === "up" ? -1 : 1));
|
|
994
995
|
return {
|
|
995
996
|
seriesIndex: e.seriesIndex,
|
|
996
997
|
plotIndex: i
|
|
997
998
|
};
|
|
998
999
|
}
|
|
999
1000
|
if (n === "left" || n === "right") {
|
|
1000
|
-
let e = ((r + (n === "left" ? -1 : 1)) %
|
|
1001
|
+
let e = ((r + (n === "left" ? -1 : 1)) % Z.value.length + Z.value.length) % Z.value.length, i = Z.value[e];
|
|
1001
1002
|
if (!i?.plots?.length) return null;
|
|
1002
1003
|
let a = Math.min(t, i.plots.length - 1);
|
|
1003
1004
|
return {
|
|
@@ -1007,52 +1008,52 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1007
1008
|
}
|
|
1008
1009
|
return null;
|
|
1009
1010
|
}
|
|
1010
|
-
function
|
|
1011
|
-
if (!
|
|
1011
|
+
function Jr(e) {
|
|
1012
|
+
if (!W.value || Cr.value || document.activeElement !== W.value || !Z.value.length) return;
|
|
1012
1013
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
1013
1014
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
1014
1015
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
1015
|
-
|
|
1016
|
+
Ur();
|
|
1016
1017
|
return;
|
|
1017
1018
|
}
|
|
1018
1019
|
if (a) {
|
|
1019
|
-
if (
|
|
1020
|
-
let e =
|
|
1020
|
+
if (z.value === null || B.value === null) return;
|
|
1021
|
+
let e = Z.value.find((e) => e.seriesIndex === z.value)?.plots?.[B.value];
|
|
1021
1022
|
if (!e) return;
|
|
1022
1023
|
gr({
|
|
1023
1024
|
datapoint: e,
|
|
1024
|
-
plotIndex:
|
|
1025
|
-
seriesIndex:
|
|
1025
|
+
plotIndex: B.value,
|
|
1026
|
+
seriesIndex: z.value
|
|
1026
1027
|
});
|
|
1027
1028
|
return;
|
|
1028
1029
|
}
|
|
1029
1030
|
let s = null;
|
|
1030
|
-
if (
|
|
1031
|
-
let e =
|
|
1031
|
+
if (z.value === null || B.value === null) {
|
|
1032
|
+
let e = Z.value[0];
|
|
1032
1033
|
if (!e?.plots?.length) return;
|
|
1033
1034
|
s = {
|
|
1034
1035
|
seriesIndex: e.seriesIndex,
|
|
1035
1036
|
plotIndex: 0
|
|
1036
1037
|
};
|
|
1037
|
-
} else r ? s =
|
|
1038
|
-
seriesIndex:
|
|
1039
|
-
plotIndex:
|
|
1038
|
+
} else r ? s = qr({
|
|
1039
|
+
seriesIndex: z.value,
|
|
1040
|
+
plotIndex: B.value,
|
|
1040
1041
|
direction: "up"
|
|
1041
|
-
}) : i ? s =
|
|
1042
|
-
seriesIndex:
|
|
1043
|
-
plotIndex:
|
|
1042
|
+
}) : i ? s = qr({
|
|
1043
|
+
seriesIndex: z.value,
|
|
1044
|
+
plotIndex: B.value,
|
|
1044
1045
|
direction: "down"
|
|
1045
|
-
}) : t ? s =
|
|
1046
|
-
seriesIndex:
|
|
1047
|
-
plotIndex:
|
|
1046
|
+
}) : t ? s = qr({
|
|
1047
|
+
seriesIndex: z.value,
|
|
1048
|
+
plotIndex: B.value,
|
|
1048
1049
|
direction: "left"
|
|
1049
|
-
}) : n && (s =
|
|
1050
|
-
seriesIndex:
|
|
1051
|
-
plotIndex:
|
|
1050
|
+
}) : n && (s = qr({
|
|
1051
|
+
seriesIndex: z.value,
|
|
1052
|
+
plotIndex: B.value,
|
|
1052
1053
|
direction: "right"
|
|
1053
1054
|
}));
|
|
1054
1055
|
if (!s) return;
|
|
1055
|
-
let c =
|
|
1056
|
+
let c = Z.value.find((e) => e.seriesIndex === s.seriesIndex)?.plots?.[s.plotIndex];
|
|
1056
1057
|
c && xr({
|
|
1057
1058
|
datapoint: c,
|
|
1058
1059
|
plotIndex: s.plotIndex,
|
|
@@ -1063,17 +1064,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1063
1064
|
return De({
|
|
1064
1065
|
getData: Dr,
|
|
1065
1066
|
getImage: Or,
|
|
1066
|
-
generatePdf:
|
|
1067
|
+
generatePdf: kn,
|
|
1067
1068
|
generateCsv: Sr,
|
|
1068
|
-
generateImage:
|
|
1069
|
-
generateSvg:
|
|
1069
|
+
generateImage: An,
|
|
1070
|
+
generateSvg: Rr,
|
|
1070
1071
|
hideSeries: pr,
|
|
1071
1072
|
showSeries: fr,
|
|
1072
1073
|
toggleTable: Tr,
|
|
1073
1074
|
toggleTooltip: Er,
|
|
1074
1075
|
toggleAnnotator: wr,
|
|
1075
1076
|
toggleFullscreen: _r,
|
|
1076
|
-
copyAlt:
|
|
1077
|
+
copyAlt: Br
|
|
1077
1078
|
}), (e, t) => (C(), g("div", {
|
|
1078
1079
|
id: `history_plot_${P.value}`,
|
|
1079
1080
|
ref_key: "historyPlotChart",
|
|
@@ -1083,21 +1084,21 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1083
1084
|
"vue-ui-history-plot": !0,
|
|
1084
1085
|
"vue-data-ui-wrapper-fullscreen": I.value
|
|
1085
1086
|
}),
|
|
1086
|
-
style: S(`background:${
|
|
1087
|
-
onMouseenter: t[2] ||= () => O(
|
|
1088
|
-
onMouseleave: t[3] ||= () => O(
|
|
1087
|
+
style: S(`background:${V.value.style.chart.backgroundColor};color:${V.value.style.chart.color};font-family:${V.value.style.fontFamily}; position: relative; ${V.value.responsive ? "height: 100%" : ""}`),
|
|
1088
|
+
onMouseenter: t[2] ||= () => O(Tn)(!0),
|
|
1089
|
+
onMouseleave: t[3] ||= () => O(Tn)(!1)
|
|
1089
1090
|
}, [
|
|
1090
1091
|
_("div", {
|
|
1091
1092
|
id: `chart-instructions-${P.value}`,
|
|
1092
1093
|
class: "sr-only"
|
|
1093
|
-
}, [_("p", null, D(
|
|
1094
|
-
|
|
1094
|
+
}, [_("p", null, D(V.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
|
|
1095
|
+
Vr.value.body.length ? (C(), m(Me, {
|
|
1095
1096
|
key: 0,
|
|
1096
1097
|
uid: P.value,
|
|
1097
|
-
head:
|
|
1098
|
-
body:
|
|
1099
|
-
caption:
|
|
1100
|
-
notice:
|
|
1098
|
+
head: Vr.value.head,
|
|
1099
|
+
body: Vr.value.body,
|
|
1100
|
+
caption: Vr.value.caption,
|
|
1101
|
+
notice: Vr.value.notice
|
|
1101
1102
|
}, null, 8, [
|
|
1102
1103
|
"uid",
|
|
1103
1104
|
"head",
|
|
@@ -1106,13 +1107,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1106
1107
|
"notice"
|
|
1107
1108
|
])) : h("", !0),
|
|
1108
1109
|
E(e.$slots, "userConfig", {}, void 0, !0),
|
|
1109
|
-
|
|
1110
|
+
V.value.userOptions.buttons.annotator ? (C(), m(O(zt), {
|
|
1110
1111
|
key: 1,
|
|
1111
|
-
svgRef: O(
|
|
1112
|
-
backgroundColor:
|
|
1113
|
-
color:
|
|
1112
|
+
svgRef: O(W),
|
|
1113
|
+
backgroundColor: V.value.style.chart.backgroundColor,
|
|
1114
|
+
color: V.value.style.chart.color,
|
|
1114
1115
|
active: Cr.value,
|
|
1115
|
-
isCursorPointer:
|
|
1116
|
+
isCursorPointer: U.value,
|
|
1116
1117
|
onClose: wr
|
|
1117
1118
|
}, {
|
|
1118
1119
|
"annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -1129,72 +1130,72 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1129
1130
|
"active",
|
|
1130
1131
|
"isCursorPointer"
|
|
1131
1132
|
])) : h("", !0),
|
|
1132
|
-
|
|
1133
|
+
jn.value ? (C(), g("div", {
|
|
1133
1134
|
key: 2,
|
|
1134
1135
|
ref_key: "noTitle",
|
|
1135
1136
|
ref: Qt,
|
|
1136
1137
|
class: "vue-data-ui-no-title-space",
|
|
1137
1138
|
style: "height:36px; width: 100%;background:transparent"
|
|
1138
1139
|
}, null, 512)) : h("", !0),
|
|
1139
|
-
|
|
1140
|
+
V.value.style.chart.title.text ? (C(), g("div", {
|
|
1140
1141
|
key: 3,
|
|
1141
1142
|
ref_key: "chartTitle",
|
|
1142
1143
|
ref: Kt,
|
|
1143
1144
|
class: "vue-ui-xy-title",
|
|
1144
|
-
style: S(`font-family:${
|
|
1145
|
+
style: S(`font-family:${V.value.style.fontFamily}`)
|
|
1145
1146
|
}, [(C(), m(Ee, {
|
|
1146
1147
|
key: `title_${qt.value}`,
|
|
1147
1148
|
config: {
|
|
1148
1149
|
title: {
|
|
1149
1150
|
cy: "history-plot-div-title",
|
|
1150
|
-
...
|
|
1151
|
+
...V.value.style.chart.title
|
|
1151
1152
|
},
|
|
1152
1153
|
subtitle: {
|
|
1153
1154
|
cy: "history-plot-div-subtitle",
|
|
1154
|
-
...
|
|
1155
|
+
...V.value.style.chart.title.subtitle
|
|
1155
1156
|
}
|
|
1156
1157
|
}
|
|
1157
1158
|
}, null, 8, ["config"]))], 4)) : h("", !0),
|
|
1158
1159
|
_("div", { id: `legend-top-${P.value}` }, null, 8, $e),
|
|
1159
|
-
|
|
1160
|
+
V.value.userOptions.show && hn.value && (O(En) || O(wn)) ? (C(), m(O(Bt), {
|
|
1160
1161
|
ref_key: "userOptionsRef",
|
|
1161
|
-
ref:
|
|
1162
|
+
ref: an,
|
|
1162
1163
|
key: `user_option_${Zt.value}`,
|
|
1163
|
-
backgroundColor:
|
|
1164
|
-
color:
|
|
1165
|
-
isPrinting: O(
|
|
1166
|
-
isImaging: O(
|
|
1164
|
+
backgroundColor: V.value.style.chart.backgroundColor,
|
|
1165
|
+
color: V.value.style.chart.color,
|
|
1166
|
+
isPrinting: O(Dn),
|
|
1167
|
+
isImaging: O(On),
|
|
1167
1168
|
uid: P.value,
|
|
1168
|
-
hasTooltip:
|
|
1169
|
-
hasPdf:
|
|
1170
|
-
hasImg:
|
|
1171
|
-
hasSvg:
|
|
1172
|
-
hasXls:
|
|
1173
|
-
hasTable:
|
|
1169
|
+
hasTooltip: V.value.style.chart.tooltip.show && V.value.userOptions.buttons.tooltip,
|
|
1170
|
+
hasPdf: V.value.userOptions.buttons.pdf,
|
|
1171
|
+
hasImg: V.value.userOptions.buttons.img,
|
|
1172
|
+
hasSvg: V.value.userOptions.buttons.svg,
|
|
1173
|
+
hasXls: V.value.userOptions.buttons.csv,
|
|
1174
|
+
hasTable: V.value.userOptions.buttons.table,
|
|
1174
1175
|
hasLabel: !1,
|
|
1175
|
-
hasFullscreen:
|
|
1176
|
-
hasAltCopy:
|
|
1176
|
+
hasFullscreen: V.value.userOptions.buttons.fullscreen,
|
|
1177
|
+
hasAltCopy: V.value.userOptions.buttons.altCopy,
|
|
1177
1178
|
isFullscreen: I.value,
|
|
1178
1179
|
chartElement: j.value,
|
|
1179
|
-
position:
|
|
1180
|
-
isTooltip:
|
|
1181
|
-
titles: { ...
|
|
1182
|
-
hasAnnotator:
|
|
1180
|
+
position: V.value.userOptions.position,
|
|
1181
|
+
isTooltip: G.value.showTooltip,
|
|
1182
|
+
titles: { ...V.value.userOptions.buttonTitles },
|
|
1183
|
+
hasAnnotator: V.value.userOptions.buttons.annotator,
|
|
1183
1184
|
isAnnotation: Cr.value,
|
|
1184
|
-
callbacks:
|
|
1185
|
-
printScale:
|
|
1186
|
-
tableDialog:
|
|
1187
|
-
isCursorPointer:
|
|
1185
|
+
callbacks: V.value.userOptions.callbacks,
|
|
1186
|
+
printScale: V.value.userOptions.print.scale,
|
|
1187
|
+
tableDialog: V.value.table.useDialog,
|
|
1188
|
+
isCursorPointer: U.value,
|
|
1188
1189
|
onToggleFullscreen: _r,
|
|
1189
|
-
onGeneratePdf: O(
|
|
1190
|
+
onGeneratePdf: O(kn),
|
|
1190
1191
|
onGenerateCsv: Sr,
|
|
1191
|
-
onGenerateImage:
|
|
1192
|
-
onGenerateSvg:
|
|
1192
|
+
onGenerateImage: zr,
|
|
1193
|
+
onGenerateSvg: Rr,
|
|
1193
1194
|
onToggleTable: Tr,
|
|
1194
1195
|
onToggleTooltip: Er,
|
|
1195
1196
|
onToggleAnnotator: wr,
|
|
1196
|
-
onCopyAlt:
|
|
1197
|
-
style: S({ visibility: O(
|
|
1197
|
+
onCopyAlt: Br,
|
|
1198
|
+
style: S({ visibility: O(En) ? O(wn) ? "visible" : "hidden" : "visible" })
|
|
1198
1199
|
}, Re({ _: 2 }, [
|
|
1199
1200
|
e.$slots.menuIcon ? {
|
|
1200
1201
|
name: "menuIcon",
|
|
@@ -1268,26 +1269,26 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1268
1269
|
]), 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("."))) : h("", !0),
|
|
1269
1270
|
_("div", et, [(C(), g("svg", {
|
|
1270
1271
|
ref_key: "svgRef",
|
|
1271
|
-
ref:
|
|
1272
|
+
ref: W,
|
|
1272
1273
|
xmlns: O(le),
|
|
1273
|
-
viewBox: `0 0 ${
|
|
1274
|
-
style: S(`max-width:100%;overflow:visible;background:transparent;color:${
|
|
1274
|
+
viewBox: `0 0 ${K.value.width < 0 ? .1 : K.value.width} ${K.value.height < 0 ? .1 : K.value.height}`,
|
|
1275
|
+
style: S(`max-width:100%;overflow:visible;background:transparent;color:${V.value.style.chart.color}`),
|
|
1275
1276
|
"aria-describedby": `chart-instructions-${P.value}`,
|
|
1276
1277
|
tabindex: "0",
|
|
1277
|
-
onFocus:
|
|
1278
|
-
onBlur:
|
|
1279
|
-
onKeydown:
|
|
1278
|
+
onFocus: Wr,
|
|
1279
|
+
onBlur: Gr,
|
|
1280
|
+
onKeydown: Jr
|
|
1280
1281
|
}, [
|
|
1281
1282
|
Be(O(Vt)),
|
|
1282
1283
|
e.$slots["chart-background"] ? (C(), g("foreignObject", {
|
|
1283
1284
|
key: 0,
|
|
1284
|
-
x:
|
|
1285
|
-
y:
|
|
1286
|
-
width:
|
|
1287
|
-
height:
|
|
1285
|
+
x: q.value.left,
|
|
1286
|
+
y: q.value.top,
|
|
1287
|
+
width: q.value.width <= 0 ? 10 : q.value.width,
|
|
1288
|
+
height: q.value.height <= 0 ? 10 : q.value.height,
|
|
1288
1289
|
style: { pointerEvents: "none" }
|
|
1289
1290
|
}, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : h("", !0),
|
|
1290
|
-
|
|
1291
|
+
V.value.style.chart.plots.gradient.show || qn.value ? (C(), g("defs", rt, [V.value.style.chart.plots.gradient.show ? (C(!0), g(f, { key: 0 }, T(Z.value, (e, t) => (C(), m(Ae, {
|
|
1291
1292
|
t: "radial",
|
|
1292
1293
|
key: `gradient_${t}_${P.value}`,
|
|
1293
1294
|
id: `gradient_${t}_${P.value}`,
|
|
@@ -1295,7 +1296,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1295
1296
|
stops: [
|
|
1296
1297
|
[
|
|
1297
1298
|
"10%",
|
|
1298
|
-
O(s)(e.color,
|
|
1299
|
+
O(s)(e.color, V.value.style.chart.plots.gradient.intensity / 100),
|
|
1299
1300
|
1
|
|
1300
1301
|
],
|
|
1301
1302
|
[
|
|
@@ -1309,7 +1310,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1309
1310
|
1
|
|
1310
1311
|
]
|
|
1311
1312
|
]
|
|
1312
|
-
}, null, 8, ["id", "stops"]))), 128)) : h("", !0), (C(!0), g(f, null, T(
|
|
1313
|
+
}, null, 8, ["id", "stops"]))), 128)) : h("", !0), (C(!0), g(f, null, T(Z.value, (e) => (C(), g(f, { key: `temperature_grad_history_template_${e.seriesIndex}_${P.value}` }, [V.value.style.chart.plots.gradient.show && Yn(e) ? (C(!0), g(f, { key: 0 }, T(e.plots, (t) => (C(), m(Ae, {
|
|
1313
1314
|
t: "radial",
|
|
1314
1315
|
key: `temperature_plot_grad_history_${e.seriesIndex}_${t.id}_${P.value}`,
|
|
1315
1316
|
id: tr(e, t),
|
|
@@ -1317,7 +1318,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1317
1318
|
stops: [
|
|
1318
1319
|
[
|
|
1319
1320
|
"10%",
|
|
1320
|
-
O(s)(Q(e, t),
|
|
1321
|
+
O(s)(Q(e, t), V.value.style.chart.plots.gradient.intensity / 100),
|
|
1321
1322
|
1
|
|
1322
1323
|
],
|
|
1323
1324
|
[
|
|
@@ -1331,7 +1332,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1331
1332
|
1
|
|
1332
1333
|
]
|
|
1333
1334
|
]
|
|
1334
|
-
}, null, 8, ["id", "stops"]))), 128)) : h("", !0),
|
|
1335
|
+
}, null, 8, ["id", "stops"]))), 128)) : h("", !0), Jn(e) ? (C(), g("linearGradient", {
|
|
1335
1336
|
key: 1,
|
|
1336
1337
|
id: `temperature_grad_history_${e.seriesIndex}_${P.value}`,
|
|
1337
1338
|
gradientUnits: "userSpaceOnUse",
|
|
@@ -1344,132 +1345,132 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1344
1345
|
"stop-color": t,
|
|
1345
1346
|
offset: e.temperatureColors.length === 1 ? "0%" : O(pe)(n, e.temperatureColors.length)
|
|
1346
1347
|
}, null, 8, at))), 128))], 8, it)) : h("", !0)], 64))), 128))])) : h("", !0),
|
|
1347
|
-
|
|
1348
|
+
V.value.style.chart.grid.verticalLines.show ? (C(), g("g", ot, [(C(!0), g(f, null, T(X.value.tickX, (e) => (C(), g("line", {
|
|
1348
1349
|
x1: e.x,
|
|
1349
1350
|
x2: e.x,
|
|
1350
1351
|
y1: e.y1,
|
|
1351
1352
|
y2: e.y2,
|
|
1352
|
-
stroke:
|
|
1353
|
-
"stroke-width":
|
|
1353
|
+
stroke: V.value.style.chart.grid.verticalLines.stroke,
|
|
1354
|
+
"stroke-width": V.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1354
1355
|
"stroke-linecap": "round"
|
|
1355
1356
|
}, null, 8, st))), 256))])) : h("", !0),
|
|
1356
|
-
|
|
1357
|
-
stroke:
|
|
1358
|
-
"stroke-width":
|
|
1357
|
+
V.value.style.chart.axes.y.labels.show ? (C(), g("g", ct, [(C(!0), g(f, null, T(X.value.tickY, (e) => (C(), g("line", {
|
|
1358
|
+
stroke: V.value.style.chart.grid.verticalLines.stroke,
|
|
1359
|
+
"stroke-width": V.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1359
1360
|
"stroke-linecap": "round",
|
|
1360
|
-
x1:
|
|
1361
|
-
x2:
|
|
1361
|
+
x1: q.value.left - 5,
|
|
1362
|
+
x2: q.value.left,
|
|
1362
1363
|
y1: e.y,
|
|
1363
1364
|
y2: e.y
|
|
1364
1365
|
}, null, 8, lt))), 256))])) : h("", !0),
|
|
1365
|
-
|
|
1366
|
+
V.value.style.chart.axes.y.labels.show ? (C(), g("g", {
|
|
1366
1367
|
key: 4,
|
|
1367
1368
|
ref_key: "yAxisScales",
|
|
1368
|
-
ref:
|
|
1369
|
-
}, [(C(!0), g(f, null, T(
|
|
1370
|
-
x:
|
|
1371
|
-
y: e.y +
|
|
1372
|
-
fill:
|
|
1373
|
-
"font-size":
|
|
1369
|
+
ref: dn
|
|
1370
|
+
}, [(C(!0), g(f, null, T(X.value.tickY, (e) => (C(), g("text", {
|
|
1371
|
+
x: q.value.left + V.value.style.chart.axes.y.labels.offsetX - 4 - V.value.style.chart.plots.radius,
|
|
1372
|
+
y: e.y + J.value.yAxisLabels / 3,
|
|
1373
|
+
fill: V.value.style.chart.axes.y.labels.color,
|
|
1374
|
+
"font-size": J.value.yAxisLabels,
|
|
1374
1375
|
"text-anchor": "end"
|
|
1375
|
-
}, D(O(u)(
|
|
1376
|
-
p:
|
|
1376
|
+
}, D(O(u)(V.value.style.chart.axes.y.labels.formatter, e.value, O(l)({
|
|
1377
|
+
p: V.value.style.chart.axes.y.labels.prefix,
|
|
1377
1378
|
v: e.value,
|
|
1378
|
-
s:
|
|
1379
|
-
r:
|
|
1379
|
+
s: V.value.style.chart.axes.y.labels.suffix,
|
|
1380
|
+
r: V.value.style.chart.axes.y.labels.rounding
|
|
1380
1381
|
}))), 9, ut))), 256))], 512)) : h("", !0),
|
|
1381
|
-
|
|
1382
|
+
V.value.style.chart.axes.y.name.text ? (C(), g("text", {
|
|
1382
1383
|
key: 5,
|
|
1383
1384
|
ref_key: "yAxisLabel",
|
|
1384
|
-
ref:
|
|
1385
|
-
transform: `translate(${
|
|
1386
|
-
"font-size":
|
|
1387
|
-
fill:
|
|
1388
|
-
"font-weight":
|
|
1385
|
+
ref: ln,
|
|
1386
|
+
transform: `translate(${J.value.yAxisName}, ${K.value.height / 2 + V.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
|
|
1387
|
+
"font-size": J.value.yAxisName,
|
|
1388
|
+
fill: V.value.style.chart.axes.y.name.color,
|
|
1389
|
+
"font-weight": V.value.style.chart.axes.y.name.bold ? "bold" : "normal",
|
|
1389
1390
|
"text-anchor": "middle"
|
|
1390
|
-
}, D(
|
|
1391
|
-
|
|
1391
|
+
}, D(V.value.style.chart.axes.y.name.text), 9, dt)) : h("", !0),
|
|
1392
|
+
V.value.style.chart.grid.horizontalLines.show ? (C(), g("g", ft, [(C(!0), g(f, null, T(X.value.tickY, (e) => (C(), g("line", {
|
|
1392
1393
|
x1: e.x1,
|
|
1393
1394
|
x2: e.x2,
|
|
1394
1395
|
y1: e.y,
|
|
1395
1396
|
y2: e.y,
|
|
1396
|
-
stroke:
|
|
1397
|
-
"stroke-width":
|
|
1397
|
+
stroke: V.value.style.chart.grid.horizontalLines.stroke,
|
|
1398
|
+
"stroke-width": V.value.style.chart.grid.horizontalLines.strokeWidth,
|
|
1398
1399
|
"stroke-linecap": "round"
|
|
1399
1400
|
}, null, 8, pt))), 256))])) : h("", !0),
|
|
1400
|
-
|
|
1401
|
-
stroke:
|
|
1402
|
-
"stroke-width":
|
|
1401
|
+
V.value.style.chart.axes.x.labels.show ? (C(), g("g", mt, [(C(!0), g(f, null, T(X.value.tickX, (e) => (C(), g("line", {
|
|
1402
|
+
stroke: V.value.style.chart.grid.verticalLines.stroke,
|
|
1403
|
+
"stroke-width": V.value.style.chart.grid.verticalLines.strokeWidth,
|
|
1403
1404
|
"stroke-linecap": "round",
|
|
1404
1405
|
x1: e.x,
|
|
1405
1406
|
x2: e.x,
|
|
1406
|
-
y1:
|
|
1407
|
-
y2:
|
|
1407
|
+
y1: q.value.bottom,
|
|
1408
|
+
y2: q.value.bottom + 5
|
|
1408
1409
|
}, null, 8, ht))), 256))])) : h("", !0),
|
|
1409
|
-
|
|
1410
|
+
V.value.style.chart.axes.x.labels.show ? (C(), g("g", {
|
|
1410
1411
|
key: 8,
|
|
1411
1412
|
ref_key: "xAxisScales",
|
|
1412
|
-
ref:
|
|
1413
|
-
}, [(C(!0), g(f, null, T(
|
|
1413
|
+
ref: un
|
|
1414
|
+
}, [(C(!0), g(f, null, T(X.value.tickX, (e) => (C(), g("text", {
|
|
1414
1415
|
class: "vue-ui-history-plot-x-axis-scale",
|
|
1415
|
-
transform: `translate(${e.x}, ${
|
|
1416
|
-
fill:
|
|
1417
|
-
"font-size":
|
|
1418
|
-
"text-anchor":
|
|
1419
|
-
}, D(O(u)(
|
|
1420
|
-
p:
|
|
1416
|
+
transform: `translate(${e.x}, ${q.value.bottom + V.value.style.chart.axes.x.labels.offsetY + J.value.xAxisLabels + V.value.style.chart.plots.radius}), rotate(${V.value.style.chart.axes.x.labels.rotation})`,
|
|
1417
|
+
fill: V.value.style.chart.axes.x.labels.color,
|
|
1418
|
+
"font-size": J.value.xAxisLabels,
|
|
1419
|
+
"text-anchor": V.value.style.chart.axes.x.labels.rotation > 0 ? "start" : V.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
|
|
1420
|
+
}, D(O(u)(V.value.style.chart.axes.x.labels.formatter, e.value, O(l)({
|
|
1421
|
+
p: V.value.style.chart.axes.x.labels.prefix,
|
|
1421
1422
|
v: e.value,
|
|
1422
|
-
s:
|
|
1423
|
-
r:
|
|
1423
|
+
s: V.value.style.chart.axes.x.labels.suffix,
|
|
1424
|
+
r: V.value.style.chart.axes.x.labels.rounding
|
|
1424
1425
|
}))), 9, gt))), 256))], 512)) : h("", !0),
|
|
1425
|
-
|
|
1426
|
+
V.value.style.chart.axes.x.name.text ? (C(), g("text", {
|
|
1426
1427
|
key: 9,
|
|
1427
1428
|
ref_key: "xAxisLabel",
|
|
1428
|
-
ref:
|
|
1429
|
-
x:
|
|
1430
|
-
y:
|
|
1431
|
-
"font-size":
|
|
1432
|
-
fill:
|
|
1433
|
-
"font-weight":
|
|
1429
|
+
ref: cn,
|
|
1430
|
+
x: K.value.width / 2 + V.value.style.chart.axes.x.name.offsetX,
|
|
1431
|
+
y: K.value.height,
|
|
1432
|
+
"font-size": J.value.xAxisName,
|
|
1433
|
+
fill: V.value.style.chart.axes.x.name.color,
|
|
1434
|
+
"font-weight": V.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
1434
1435
|
"text-anchor": "middle"
|
|
1435
|
-
}, D(
|
|
1436
|
-
|
|
1436
|
+
}, D(V.value.style.chart.axes.x.name.text), 9, _t)) : h("", !0),
|
|
1437
|
+
V.value.style.chart.grid.xAxis.show ? (C(), g("line", {
|
|
1437
1438
|
key: 10,
|
|
1438
|
-
x1:
|
|
1439
|
-
x2:
|
|
1440
|
-
y1:
|
|
1441
|
-
y2:
|
|
1442
|
-
stroke:
|
|
1443
|
-
"stroke-width":
|
|
1439
|
+
x1: q.value.left,
|
|
1440
|
+
x2: q.value.left + q.value.width,
|
|
1441
|
+
y1: q.value.bottom,
|
|
1442
|
+
y2: q.value.bottom,
|
|
1443
|
+
stroke: V.value.style.chart.grid.xAxis.stroke,
|
|
1444
|
+
"stroke-width": V.value.style.chart.grid.xAxis.strokeWidth,
|
|
1444
1445
|
"stroke-linecap": "round"
|
|
1445
1446
|
}, null, 8, vt)) : h("", !0),
|
|
1446
|
-
|
|
1447
|
+
V.value.style.chart.grid.yAxis.show ? (C(), g("line", {
|
|
1447
1448
|
key: 11,
|
|
1448
|
-
x1:
|
|
1449
|
-
x2:
|
|
1450
|
-
y1:
|
|
1451
|
-
y2:
|
|
1452
|
-
stroke:
|
|
1453
|
-
"stroke-width":
|
|
1449
|
+
x1: q.value.left,
|
|
1450
|
+
x2: q.value.left,
|
|
1451
|
+
y1: q.value.top,
|
|
1452
|
+
y2: q.value.bottom,
|
|
1453
|
+
stroke: V.value.style.chart.grid.yAxis.stroke,
|
|
1454
|
+
"stroke-width": V.value.style.chart.grid.yAxis.strokeWidth,
|
|
1454
1455
|
"stroke-linecap": "round"
|
|
1455
1456
|
}, null, 8, yt)) : h("", !0),
|
|
1456
|
-
(C(!0), g(f, null, T(
|
|
1457
|
-
|
|
1457
|
+
(C(!0), g(f, null, T(Kn.value, (e) => (C(), g("g", { key: `history_plot_serie_${e.seriesIndex}_${P.value}` }, [
|
|
1458
|
+
V.value.style.chart.paths.show ? (C(), g("g", {
|
|
1458
1459
|
key: 0,
|
|
1459
1460
|
style: S({ opacity: sr(e.seriesIndex) })
|
|
1460
1461
|
}, [_("path", {
|
|
1461
|
-
class: b({ "vue-data-ui-transition": O(
|
|
1462
|
+
class: b({ "vue-data-ui-transition": O(H) }),
|
|
1462
1463
|
d: e.path,
|
|
1463
|
-
stroke:
|
|
1464
|
-
"stroke-width":
|
|
1464
|
+
stroke: V.value.style.chart.backgroundColor,
|
|
1465
|
+
"stroke-width": V.value.style.chart.paths.strokeWidth + 4,
|
|
1465
1466
|
fill: "none",
|
|
1466
1467
|
"stroke-linecap": "round",
|
|
1467
1468
|
"stroke-linejoin": "round"
|
|
1468
1469
|
}, null, 10, bt), _("path", {
|
|
1469
|
-
class: b({ "vue-data-ui-transition": O(
|
|
1470
|
+
class: b({ "vue-data-ui-transition": O(H) }),
|
|
1470
1471
|
d: e.path,
|
|
1471
1472
|
stroke: or(e),
|
|
1472
|
-
"stroke-width":
|
|
1473
|
+
"stroke-width": V.value.style.chart.paths.strokeWidth,
|
|
1473
1474
|
fill: "none",
|
|
1474
1475
|
"stroke-linecap": "round",
|
|
1475
1476
|
"stroke-linejoin": "round"
|
|
@@ -1477,63 +1478,63 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1477
1478
|
(C(!0), g(f, null, T(e.plots, (e) => (C(), g("circle", {
|
|
1478
1479
|
cx: e.x,
|
|
1479
1480
|
cy: e.y,
|
|
1480
|
-
fill:
|
|
1481
|
-
r:
|
|
1481
|
+
fill: V.value.style.chart.backgroundColor,
|
|
1482
|
+
r: J.value.plots,
|
|
1482
1483
|
stroke: "none",
|
|
1483
|
-
class: b({ "vue-data-ui-transition": O(
|
|
1484
|
+
class: b({ "vue-data-ui-transition": O(H) })
|
|
1484
1485
|
}, null, 10, St))), 256)),
|
|
1485
1486
|
(C(!0), g(f, null, T(e.plots, (t) => (C(), g("circle", {
|
|
1486
1487
|
cx: t.x,
|
|
1487
1488
|
cy: t.y,
|
|
1488
1489
|
fill: nr(e, t, e.gradientIndex),
|
|
1489
|
-
r:
|
|
1490
|
-
stroke:
|
|
1491
|
-
"stroke-width":
|
|
1492
|
-
class: b({ "vue-data-ui-transition": O(
|
|
1490
|
+
r: J.value.plots,
|
|
1491
|
+
stroke: V.value.style.chart.plots.stroke,
|
|
1492
|
+
"stroke-width": V.value.style.chart.plots.strokeWidth,
|
|
1493
|
+
class: b({ "vue-data-ui-transition": O(H) }),
|
|
1493
1494
|
style: S({ opacity: sr(e.seriesIndex) })
|
|
1494
1495
|
}, null, 14, Ct))), 256)),
|
|
1495
|
-
|
|
1496
|
+
V.value.style.chart.plots.labels.show ? (C(), g("g", wt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("g", { key: `plab_${n}` }, [String(t.label).includes("\n") ? (C(), g("text", {
|
|
1496
1497
|
key: 1,
|
|
1497
|
-
class: b({ "vue-data-ui-transition": O(
|
|
1498
|
-
transform: `translate(${t.x +
|
|
1499
|
-
"font-size":
|
|
1500
|
-
fill:
|
|
1501
|
-
"font-weight":
|
|
1498
|
+
class: b({ "vue-data-ui-transition": O(H) }),
|
|
1499
|
+
transform: `translate(${t.x + V.value.style.chart.plots.labels.offsetX}, ${t.y + V.value.style.chart.plots.labels.offsetY + J.value.plots + J.value.labels})`,
|
|
1500
|
+
"font-size": J.value.labels,
|
|
1501
|
+
fill: V.value.style.chart.plots.labels.color,
|
|
1502
|
+
"font-weight": V.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1502
1503
|
"text-anchor": "middle",
|
|
1503
1504
|
style: S({ opacity: sr(e.seriesIndex) }),
|
|
1504
1505
|
innerHTML: O(r)({
|
|
1505
1506
|
content: String(t.label),
|
|
1506
|
-
fontSize:
|
|
1507
|
-
fill:
|
|
1507
|
+
fontSize: J.value.labels,
|
|
1508
|
+
fill: V.value.style.chart.plots.labels.color,
|
|
1508
1509
|
x: 0,
|
|
1509
1510
|
y: 0
|
|
1510
1511
|
})
|
|
1511
1512
|
}, null, 14, Et)) : (C(), g("text", {
|
|
1512
1513
|
key: 0,
|
|
1513
|
-
class: b({ "vue-data-ui-transition": O(
|
|
1514
|
-
transform: `translate(${t.x +
|
|
1515
|
-
"font-size":
|
|
1516
|
-
fill:
|
|
1517
|
-
"font-weight":
|
|
1514
|
+
class: b({ "vue-data-ui-transition": O(H) }),
|
|
1515
|
+
transform: `translate(${t.x + V.value.style.chart.plots.labels.offsetX}, ${t.y + V.value.style.chart.plots.labels.offsetY + J.value.plots + J.value.labels})`,
|
|
1516
|
+
"font-size": J.value.labels,
|
|
1517
|
+
fill: V.value.style.chart.plots.labels.color,
|
|
1518
|
+
"font-weight": V.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1518
1519
|
"text-anchor": "middle",
|
|
1519
1520
|
style: S({ opacity: sr(e.seriesIndex) })
|
|
1520
1521
|
}, D(t.label), 15, Tt))]))), 128))])) : h("", !0),
|
|
1521
|
-
|
|
1522
|
+
V.value.style.chart.plots.indexLabels.show ? (C(), g("g", Dt, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("text", {
|
|
1522
1523
|
key: `lab_${n}`,
|
|
1523
|
-
class: b({ "vue-data-ui-transition": O(
|
|
1524
|
-
transform: `translate(${t.x +
|
|
1525
|
-
"font-size":
|
|
1526
|
-
"font-weight":
|
|
1524
|
+
class: b({ "vue-data-ui-transition": O(H) }),
|
|
1525
|
+
transform: `translate(${t.x + V.value.style.chart.plots.indexLabels.offsetX}, ${t.y + V.value.style.chart.plots.indexLabels.offsetY + J.value.indexLabels / 3})`,
|
|
1526
|
+
"font-size": J.value.indexLabels,
|
|
1527
|
+
"font-weight": V.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
1527
1528
|
fill: ir(e, t),
|
|
1528
1529
|
"text-anchor": "middle",
|
|
1529
1530
|
style: S({ opacity: sr(e.seriesIndex) })
|
|
1530
|
-
}, D(
|
|
1531
|
+
}, D(V.value.style.chart.plots.indexLabels.startAtZero ? n : n + 1), 15, Ot))), 128))])) : h("", !0)
|
|
1531
1532
|
]))), 128)),
|
|
1532
|
-
(C(!0), g(f, null, T(
|
|
1533
|
+
(C(!0), g(f, null, T(Kn.value, (e) => (C(), g("g", { key: `history_plot_trap_serie_${e.seriesIndex}_${P.value}` }, [(C(!0), g(f, null, T(e.plots, (t, n) => (C(), g("circle", {
|
|
1533
1534
|
cx: t.x,
|
|
1534
1535
|
cy: t.y,
|
|
1535
1536
|
fill: "transparent",
|
|
1536
|
-
r:
|
|
1537
|
+
r: J.value.plots,
|
|
1537
1538
|
stroke: "none",
|
|
1538
1539
|
onMouseenter: (r) => xr({
|
|
1539
1540
|
datapoint: t,
|
|
@@ -1553,28 +1554,28 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1553
1554
|
})
|
|
1554
1555
|
}, null, 40, kt))), 256))]))), 128)),
|
|
1555
1556
|
E(e.$slots, "svg", { svg: {
|
|
1556
|
-
...
|
|
1557
|
-
drawingArea:
|
|
1558
|
-
isPrintingImg: O(
|
|
1559
|
-
isPrintingSvg:
|
|
1557
|
+
...K.value,
|
|
1558
|
+
drawingArea: q.value,
|
|
1559
|
+
isPrintingImg: O(Dn) || O(On) || on.value,
|
|
1560
|
+
isPrintingSvg: sn.value
|
|
1560
1561
|
} }, void 0, !0)
|
|
1561
1562
|
], 44, tt)), e.$slots.hint ? (C(), g("div", At, [E(e.$slots, "hint", x(y({
|
|
1562
|
-
hint:
|
|
1563
|
-
isVisible:
|
|
1563
|
+
hint: V.value.a11y.translations.keyboardNavigation,
|
|
1564
|
+
isVisible: mn.value
|
|
1564
1565
|
})), void 0, !0)])) : h("", !0)]),
|
|
1565
|
-
e.$slots.watermark ? (C(), g("div", jt, [E(e.$slots, "watermark", x(y({ isPrinting: O(
|
|
1566
|
+
e.$slots.watermark ? (C(), g("div", jt, [E(e.$slots, "watermark", x(y({ isPrinting: O(Dn) || O(On) || on.value || sn.value })), void 0, !0)])) : h("", !0),
|
|
1566
1567
|
_("div", { id: `legend-bottom-${P.value}` }, null, 8, Mt),
|
|
1567
|
-
rn.value && (
|
|
1568
|
+
rn.value && (V.value.style.chart.legend.show || e.$slots.legend) ? (C(), m(Le, {
|
|
1568
1569
|
key: 6,
|
|
1569
|
-
to:
|
|
1570
|
+
to: V.value.style.chart.legend.position === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
|
|
1570
1571
|
}, [_("div", {
|
|
1571
1572
|
ref_key: "chartLegend",
|
|
1572
1573
|
ref: Jt
|
|
1573
|
-
}, [E(e.$slots, "legend", { legend: mr.value }, () => [
|
|
1574
|
+
}, [E(e.$slots, "legend", { legend: mr.value }, () => [V.value.style.chart.legend.show && hn.value ? (C(), m(Fe, {
|
|
1574
1575
|
key: `legend_${Yt.value}`,
|
|
1575
1576
|
legendSet: mr.value,
|
|
1576
1577
|
config: hr.value,
|
|
1577
|
-
isCursorPointer:
|
|
1578
|
+
isCursorPointer: U.value,
|
|
1578
1579
|
onClickMarker: t[0] ||= ({ legend: e }) => {
|
|
1579
1580
|
ur(e.seriesIndex);
|
|
1580
1581
|
}
|
|
@@ -1583,13 +1584,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1583
1584
|
onClick: (t) => e.segregate(),
|
|
1584
1585
|
style: S(`opacity:${F.value.includes(e.seriesIndex) ? .5 : 1}`)
|
|
1585
1586
|
}, D(e.name), 13, Nt)]),
|
|
1586
|
-
legendToggle: k(() => [mr.value.length > 2 &&
|
|
1587
|
+
legendToggle: k(() => [mr.value.length > 2 && V.value.style.chart.legend.selectAllToggle.show && !O(xn) ? (C(), m(je, {
|
|
1587
1588
|
key: 0,
|
|
1588
|
-
backgroundColor:
|
|
1589
|
-
color:
|
|
1590
|
-
fontSize:
|
|
1589
|
+
backgroundColor: V.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1590
|
+
color: V.value.style.chart.legend.selectAllToggle.color,
|
|
1591
|
+
fontSize: V.value.style.chart.legend.fontSize,
|
|
1591
1592
|
checked: F.value.length > 0,
|
|
1592
|
-
isCursorPointer:
|
|
1593
|
+
isCursorPointer: U.value,
|
|
1593
1594
|
onToggle: lr
|
|
1594
1595
|
}, null, 8, [
|
|
1595
1596
|
"backgroundColor",
|
|
@@ -1611,28 +1612,28 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1611
1612
|
dir: "auto"
|
|
1612
1613
|
}, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
|
|
1613
1614
|
Be(O(Ft), {
|
|
1614
|
-
teleportTo:
|
|
1615
|
-
show:
|
|
1616
|
-
backgroundColor:
|
|
1617
|
-
color:
|
|
1618
|
-
fontSize:
|
|
1619
|
-
borderRadius:
|
|
1620
|
-
borderColor:
|
|
1621
|
-
borderWidth:
|
|
1622
|
-
backgroundOpacity:
|
|
1623
|
-
position:
|
|
1624
|
-
offsetX:
|
|
1625
|
-
offsetY:
|
|
1615
|
+
teleportTo: V.value.style.chart.tooltip.teleportTo,
|
|
1616
|
+
show: G.value.showTooltip && $t.value,
|
|
1617
|
+
backgroundColor: V.value.style.chart.tooltip.backgroundColor,
|
|
1618
|
+
color: V.value.style.chart.tooltip.color,
|
|
1619
|
+
fontSize: V.value.style.chart.tooltip.fontSize,
|
|
1620
|
+
borderRadius: V.value.style.chart.tooltip.borderRadius,
|
|
1621
|
+
borderColor: V.value.style.chart.tooltip.borderColor,
|
|
1622
|
+
borderWidth: V.value.style.chart.tooltip.borderWidth,
|
|
1623
|
+
backgroundOpacity: V.value.style.chart.tooltip.backgroundOpacity,
|
|
1624
|
+
position: V.value.style.chart.tooltip.position,
|
|
1625
|
+
offsetX: V.value.style.chart.tooltip.offsetX,
|
|
1626
|
+
offsetY: V.value.style.chart.tooltip.offsetY,
|
|
1626
1627
|
parent: j.value,
|
|
1627
1628
|
content: en.value,
|
|
1628
1629
|
isCustom: tn.value,
|
|
1629
1630
|
isFullscreen: I.value,
|
|
1630
|
-
smooth:
|
|
1631
|
-
backdropFilter:
|
|
1632
|
-
smoothForce:
|
|
1633
|
-
smoothSnapThreshold:
|
|
1634
|
-
isA11yMode:
|
|
1635
|
-
a11yPosition:
|
|
1631
|
+
smooth: V.value.style.chart.tooltip.smooth,
|
|
1632
|
+
backdropFilter: V.value.style.chart.tooltip.backdropFilter,
|
|
1633
|
+
smoothForce: V.value.style.chart.tooltip.smoothForce,
|
|
1634
|
+
smoothSnapThreshold: V.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1635
|
+
isA11yMode: pn.value === "keyboard",
|
|
1636
|
+
a11yPosition: fn.value
|
|
1636
1637
|
}, {
|
|
1637
1638
|
"tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...vr.value })), void 0, !0)]),
|
|
1638
1639
|
tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...vr.value })), void 0, !0)]),
|
|
@@ -1662,10 +1663,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1662
1663
|
"isA11yMode",
|
|
1663
1664
|
"a11yPosition"
|
|
1664
1665
|
]),
|
|
1665
|
-
|
|
1666
|
+
hn.value && V.value.userOptions.buttons.table ? (C(), m(Ge(jr.value.component), Ve({ key: 8 }, jr.value.props, {
|
|
1666
1667
|
ref_key: "tableUnit",
|
|
1667
|
-
ref:
|
|
1668
|
-
onClose:
|
|
1668
|
+
ref: R,
|
|
1669
|
+
onClose: Mr
|
|
1669
1670
|
}), Re({
|
|
1670
1671
|
content: k(() => [(C(), m(O(Rt), {
|
|
1671
1672
|
key: `table_${Xt.value}`,
|
|
@@ -1673,10 +1674,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1673
1674
|
head: $.value.head,
|
|
1674
1675
|
body: $.value.body,
|
|
1675
1676
|
config: $.value.config,
|
|
1676
|
-
title:
|
|
1677
|
-
withCloseButton: !
|
|
1678
|
-
isCursorPointer:
|
|
1679
|
-
onClose:
|
|
1677
|
+
title: V.value.table.useDialog ? "" : jr.value.title,
|
|
1678
|
+
withCloseButton: !V.value.table.useDialog,
|
|
1679
|
+
isCursorPointer: U.value,
|
|
1680
|
+
onClose: Mr
|
|
1680
1681
|
}, {
|
|
1681
1682
|
th: k(({ th: e }) => [_("div", {
|
|
1682
1683
|
innerHTML: e,
|
|
@@ -1697,24 +1698,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Ft }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1697
1698
|
"isCursorPointer"
|
|
1698
1699
|
]))]),
|
|
1699
1700
|
_: 2
|
|
1700
|
-
}, [
|
|
1701
|
+
}, [V.value.table.useDialog ? {
|
|
1701
1702
|
name: "title",
|
|
1702
|
-
fn: k(() => [ze(D(
|
|
1703
|
+
fn: k(() => [ze(D(jr.value.title), 1)]),
|
|
1703
1704
|
key: "0"
|
|
1704
|
-
} : void 0,
|
|
1705
|
+
} : void 0, V.value.table.useDialog ? {
|
|
1705
1706
|
name: "actions",
|
|
1706
1707
|
fn: k(() => [_("button", {
|
|
1707
1708
|
tabindex: "0",
|
|
1708
1709
|
class: "vue-ui-user-options-button",
|
|
1709
|
-
onClick: t[1] ||= (e) => Sr(
|
|
1710
|
-
style: S({ cursor:
|
|
1710
|
+
onClick: t[1] ||= (e) => Sr(V.value.userOptions.callbacks.csv),
|
|
1711
|
+
style: S({ cursor: U.value ? "pointer" : "default" })
|
|
1711
1712
|
}, [Be(O(It), {
|
|
1712
1713
|
name: "fileCsv",
|
|
1713
|
-
stroke:
|
|
1714
|
+
stroke: jr.value.props.color
|
|
1714
1715
|
}, null, 8, ["stroke"])], 4)]),
|
|
1715
1716
|
key: "1"
|
|
1716
1717
|
} : void 0]), 1040)) : h("", !0),
|
|
1717
|
-
E(e.$slots, "skeleton", {}, () => [O(
|
|
1718
|
+
E(e.$slots, "skeleton", {}, () => [O(xn) ? (C(), m(ye, { key: 0 })) : h("", !0)], !0)
|
|
1718
1719
|
], 46, Ze));
|
|
1719
1720
|
}
|
|
1720
1721
|
}, [["__scopeId", "data-v-ec22280b"]]);
|