vue-data-ui 3.26.4 → 3.27.0
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-BW_Fs3gD.js → Arrow-DKO1l8oR.js} +1 -1
- package/dist/{BaseDraggableDialog-BniZj4c8.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
- package/dist/{BaseIcon-CPBlYfWq.js → BaseIcon-Cx9FD751.js} +1 -1
- package/dist/{BaseLegendToggle-CWtURpCj.js → BaseLegendToggle-CP3sddwv.js} +1 -1
- package/dist/{BaseZoomControls-jfXIQvEi.js → BaseZoomControls-vNi8YykO.js} +2 -2
- package/dist/{ColorPicker-BKndMOAm.js → ColorPicker-hmC2bvwS.js} +2 -2
- package/dist/{DataTable-DV4Plrm3.js → DataTable-CjF_An2h.js} +2 -2
- package/dist/{HillActions-B45z2DmP.js → HillActions-DqqGB33u.js} +1 -1
- package/dist/{Legend-CJzCVAWl.js → Legend-CulFgjUY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B3I_UGDm.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
- package/dist/{PackageVersion-DEAYvEjl.js → PackageVersion-D7H9nfK0.js} +1 -1
- package/dist/{PenAndPaper-Dv8WPVwA.js → PenAndPaper-CNiuGw6k.js} +3 -3
- package/dist/{Shape-BIe6C0HJ.js → Shape-DSwamtmO.js} +1 -1
- package/dist/{SlicerPreview-8atniw0P.js → SlicerPreview-k5YerMA9.js} +12 -12
- package/dist/{SparkTooltip-DsGcGbm2.js → SparkTooltip-D35KVv6N.js} +6 -6
- package/dist/{Title-B4UpMerH.js → Title-BMCuINbv.js} +1 -1
- package/dist/{Tooltip-BmfGHn1L.js → Tooltip-C4ZTwkLF.js} +1 -1
- package/dist/{UserOptions-C92R4ACT.js → UserOptions-CORYQiif.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-label.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-BL08UcHI.js → dom-to-png-CBusMkua.js} +1 -1
- package/dist/{exposedLib-CBUiJ5b-.js → exposedLib-UNxZlnAS.js} +10 -10
- package/dist/{img--C0otIB0.js → img-Bb5rHcpO.js} +1 -1
- package/dist/{labelUtils-CfQIxXGL.js → labelUtils-Ccn9kK7T.js} +1 -1
- package/dist/{lib-DTiqmM1G.js → lib-D4wK6ljP.js} +130 -136
- package/dist/{package-Dj6ohGVJ.js → package-DmQufM0G.js} +1 -1
- package/dist/{pdf-CbSwKZjC.js → pdf-BzIQHx-F.js} +1 -1
- package/dist/{render-common-vuBsglf8.js → render-common-BtfjXdkJ.js} +10 -10
- 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 +212 -60
- package/dist/types/vue-ui-stackbar.d.ts +10 -0
- package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
- package/dist/{useNestedProp-D8cRQaVo.js → useNestedProp-DR_8JPol.js} +1 -1
- package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
- package/dist/{usePrinter-R2nu9g4B.js → usePrinter-DdW2GSm0.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-CijFk00w.js → vue-data-ui-Df7WV80w.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-BxmndVBz.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
- package/dist/{vue-ui-accordion-CxMo-mXC.js → vue-ui-accordion-CaoNWreI.js} +4 -4
- package/dist/{vue-ui-age-pyramid-ysX_ySuK.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
- package/dist/{vue-ui-annotator-IAqTX-5M.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
- package/dist/{vue-ui-bullet-rO5_pB7t.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
- package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
- package/dist/{vue-ui-candlestick-BLxP54W4.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
- package/dist/{vue-ui-carousel-table-DHbt40ze.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
- package/dist/{vue-ui-chestnut-CHHZx5ek.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
- package/dist/{vue-ui-chord-WmqFMK4A.js → vue-ui-chord-MF4xF5az.js} +46 -46
- package/dist/{vue-ui-circle-pack-D2RXFToP.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
- package/dist/{vue-ui-cursor-CDf6s7AZ.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
- package/dist/{vue-ui-dag-Ba3Bkxd7.js → vue-ui-dag-D2EUqeDN.js} +65 -65
- package/dist/{vue-ui-dashboard-DKCEm56d.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
- package/dist/{vue-ui-digits-B6cSEytP.js → vue-ui-digits-zSqwYWHm.js} +4 -4
- package/dist/{vue-ui-donut-BfAlXtvS.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
- package/dist/{vue-ui-donut-evolution-C2TYUKag.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
- package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
- package/dist/{vue-ui-dumbbell-GMQ4JZf_.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
- package/dist/{vue-ui-flow-B53jXaVQ.js → vue-ui-flow-iSH6dyGw.js} +109 -109
- package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
- package/dist/{vue-ui-galaxy-CE7LYi8M.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
- package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
- package/dist/{vue-ui-geo-B4a2hwYf.js → vue-ui-geo-mwTtvIHY.js} +19 -19
- package/dist/{vue-ui-gizmo-CY4cLNcJ.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
- package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
- package/dist/{vue-ui-hill-CTPzgkCs.js → vue-ui-hill-DPfTt3UE.js} +18 -18
- package/dist/{vue-ui-history-plot-CGFijdmp.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
- package/dist/{vue-ui-kpi-Bu2OpF5d.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
- package/dist/{vue-ui-label-CWFQzKOy.js → vue-ui-label-r3-QloJL.js} +65 -65
- package/dist/{vue-ui-mini-loader-hdh8SSxW.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
- package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DN2PgxeK.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
- package/dist/{vue-ui-onion-lrDciRpg.js → vue-ui-onion-_L0uEATI.js} +209 -209
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
- package/dist/{vue-ui-quadrant-DrcflMPg.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
- package/dist/{vue-ui-quick-chart-D5ZFV0Aj.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
- package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
- package/dist/{vue-ui-rating-DxBJXbPW.js → vue-ui-rating-C_iTttXB.js} +25 -25
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
- package/dist/{vue-ui-rings-6OHcBlOC.js → vue-ui-rings-D_GPkgbD.js} +318 -318
- package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
- package/dist/{vue-ui-skeleton--HlS7ySk.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
- package/dist/{vue-ui-smiley-ZrM6-QCy.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
- package/dist/{vue-ui-spark-trend-CIfpocxI.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
- package/dist/{vue-ui-sparkbar-Db7Ntacd.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
- package/dist/{vue-ui-sparkgauge-DEuNFkU_.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
- package/dist/{vue-ui-sparkline-CSsnkXMJ.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
- package/dist/{vue-ui-sparkstackbar-BnN7KebI.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
- package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
- package/dist/{vue-ui-stackline-CqjwxpU1.js → vue-ui-stackline-CSMuUup2.js} +303 -303
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
- package/dist/{vue-ui-table-CsMozTrM.js → vue-ui-table-BCEIbg8-.js} +14 -14
- package/dist/{vue-ui-table-heatmap-DFcESbBy.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
- package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
- package/dist/{vue-ui-timer-CFxvU_q1.js → vue-ui-timer-BKr8RVnn.js} +10 -10
- package/dist/{vue-ui-tiremarks-DIjsyNwO.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
- package/dist/{vue-ui-treemap-BuvFUWJm.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
- package/dist/{vue-ui-waffle-B8Knvp7m.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
- package/dist/{vue-ui-wheel-2_4BOo6P.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
- package/dist/{vue-ui-word-cloud-BEgmAfj1.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
- package/dist/{vue-ui-world-D4WMHq7E.js → vue-ui-world-BZ09DOiF.js} +498 -498
- package/dist/{vue-ui-xy-DBLJ8Uhc.js → vue-ui-xy-C3h54loZ.js} +405 -405
- package/dist/{vue-ui-xy-canvas-Dv0pk4Wd.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
- package/dist/{vue-ui-xy-DGIz4MDV.js → vue-ui-xy-jemv5dsf.js} +288 -288
- package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
- package/package.json +1 -1
- package/dist/vue-ui-bump-BIyTRpqJ.js +0 -1242
- package/dist/vue-ui-donut-DMISY-E8.js +0 -2427
- package/dist/vue-ui-funnel-eVH871L3.js +0 -749
- package/dist/vue-ui-gauge-D_jNBHjA.js +0 -934
- package/dist/vue-ui-heatmap-DW7bo_Um.js +0 -1613
- package/dist/vue-ui-horizontal-bar-vPeWNfxO.js +0 -1723
- package/dist/vue-ui-molecule-ejjPjG63.js +0 -941
- package/dist/vue-ui-mood-radar-pqMAcUWm.js +0 -1111
- package/dist/vue-ui-parallel-coordinate-plot-McES6sLT.js +0 -1444
- package/dist/vue-ui-radar-DZPVV9cU.js +0 -1386
- package/dist/vue-ui-relation-circle-BtESVsB0.js +0 -905
- package/dist/vue-ui-ridgeline-CSLuDJWq.js +0 -1630
- package/dist/vue-ui-scatter-CKJ87fhp.js +0 -2418
- package/dist/vue-ui-sparkhistogram-CQTwLaZi.js +0 -589
- package/dist/vue-ui-stackbar-CISQXhoK.js +0 -2660
- package/dist/vue-ui-strip-plot-CRZDCNc1.js +0 -1752
- package/dist/vue-ui-table-sparkline-CwsrD7te.js +0 -738
- package/dist/vue-ui-thermometer-_zSQM0Nk.js +0 -758
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, $t as n, B as r,
|
|
3
|
-
import { n as
|
|
4
|
-
import { n as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { n as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { l as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
27
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, $t as n, B as r, D as i, Dt as a, Ft as o, Ht as s, Jt as c, M as l, Ot as u, P as d, Qt as f, S as p, U as m, X as h, _ as g, _t as _, at as ee, b as te, c as ne, dt as v, en as re, et as ie, gt as ae, i as oe, nn as se, nt as ce, pt as le, t as ue, v as de, w as fe, wt as pe, yt as me, zt as he } from "./lib-D4wK6ljP.js";
|
|
3
|
+
import { n as ge, t as _e } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { n as ve, r as ye, t as be } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
|
+
import { t as xe } from "./useConfig-D_6ZrPMD.js";
|
|
6
|
+
import { t as Se } from "./usePrinter-DdW2GSm0.js";
|
|
7
|
+
import { n as Ce, t as we } from "./BaseScanner-Dzc8VT3j.js";
|
|
8
|
+
import { t as Te } from "./useNestedProp-DR_8JPol.js";
|
|
9
|
+
import { t as Ee } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as De } from "./useChartExport-iwOqiIWX.js";
|
|
11
|
+
import { t as Oe } from "./useTransitions-g_zBREk2.js";
|
|
12
|
+
import { t as ke } from "./useStableElementSize-C7KADDKj.js";
|
|
13
|
+
import { t as Ae } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
14
|
+
import { t as je } from "./img-Bb5rHcpO.js";
|
|
15
|
+
import { n as Me } from "./Title-BMCuINbv.js";
|
|
16
|
+
import { t as Ne } from "./Shape-DSwamtmO.js";
|
|
17
|
+
import { t as Pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
18
|
+
import { l as Fe, t as Ie } from "./useResponsive-ZtArZtUf.js";
|
|
19
|
+
import { t as Le } from "./DefGrad-DVBqDjhO.js";
|
|
20
|
+
import { t as Re } from "./SlicerPreview-k5YerMA9.js";
|
|
21
|
+
import { t as ze } from "./BaseLegendToggle-CP3sddwv.js";
|
|
22
|
+
import { t as Be } from "./A11yDataTable-DdRsVULz.js";
|
|
23
|
+
import { t as Ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
24
|
+
import { t as He } from "./useChartAccessibility-DYqac8yF.js";
|
|
25
|
+
import { t as Ue } from "./Legend-CulFgjUY.js";
|
|
26
|
+
import { t as We } from "./vue_ui_stackline-Bh0RuInt.js";
|
|
27
|
+
import { Fragment as y, Teleport as Ge, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as Ke, createTextVNode as qe, createVNode as Je, defineAsyncComponent as Ye, guardReactiveProps as T, mergeProps as Xe, nextTick as Ze, normalizeClass as Qe, normalizeProps as E, normalizeStyle as $e, onBeforeUnmount as et, onMounted as tt, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as nt, shallowRef as rt, toDisplayString as it, toRefs as at, unref as j, useSlots as ot, watch as st, watchEffect as ct, withCtx as M } from "vue";
|
|
28
28
|
//#region src/components/vue-ui-stackline.vue
|
|
29
29
|
var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft = ["id"], pt = { style: { position: "relative" } }, mt = [
|
|
30
30
|
"aria-describedby",
|
|
@@ -174,7 +174,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
174
174
|
}, Kt = {
|
|
175
175
|
key: 5,
|
|
176
176
|
class: "vue-data-ui-watermark"
|
|
177
|
-
}, qt = ["onClick"], Jt = { key: 0 }, Yt = { key: 1 }, Xt = ["innerHTML"], Zt = ["id"], Qt = 280, $t = /*#__PURE__*/
|
|
177
|
+
}, qt = ["onClick"], Jt = { key: 0 }, Yt = { key: 1 }, Xt = ["innerHTML"], Zt = ["id"], Qt = 280, $t = /*#__PURE__*/ Pe({
|
|
178
178
|
__name: "vue-ui-stackline",
|
|
179
179
|
props: {
|
|
180
180
|
config: {
|
|
@@ -209,18 +209,18 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
209
209
|
"update:zoomState",
|
|
210
210
|
"copyAlt"
|
|
211
211
|
],
|
|
212
|
-
setup(e, { expose:
|
|
213
|
-
let $t =
|
|
212
|
+
setup(e, { expose: Pe, emit: lt }) {
|
|
213
|
+
let $t = Ye(() => import("./Tooltip-C4ZTwkLF.js")), en = Ye(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), tn = Ye(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), nn = Ye(() => import("./DataTable-CjF_An2h.js")), rn = Ye(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), an = Ye(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), on = Ye(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), sn = Ye(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_stackline: cn } = xe(), { isThemeValid: ln, warnInvalidTheme: un } = Ee(), dn = ot(), N = e, P = lt, fn = b({
|
|
214
214
|
get() {
|
|
215
215
|
return !!N.dataset && N.dataset.length;
|
|
216
216
|
},
|
|
217
217
|
set(e) {
|
|
218
218
|
return e;
|
|
219
219
|
}
|
|
220
|
-
}), pn = O(null), F = O(
|
|
220
|
+
}), pn = O(null), F = O(h()), mn = O(!1), I = O([]), hn = O(0), gn = O(null), _n = O(null), vn = O(null), yn = O(null), bn = O(null), xn = O(!1), Sn = O(!1), Cn = O(0), wn = O(0), Tn = O(0), En = O(!1), Dn = O(null), On = O(null), kn = O(!1), An = O(null), jn = O(null), Mn = O(null), Nn = O(null), Pn = O(null), Fn = rt(null), In = O(!1), Ln = O(0), Rn = O(0), zn = O(null), Bn = O({
|
|
221
221
|
x: 0,
|
|
222
222
|
y: 0
|
|
223
|
-
}), Vn = O("pointer"), Hn =
|
|
223
|
+
}), Vn = O("pointer"), Hn = ke({
|
|
224
224
|
elementRef: Fn,
|
|
225
225
|
minimumWidth: 2,
|
|
226
226
|
minimumHeight: 2,
|
|
@@ -242,7 +242,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
242
242
|
}
|
|
243
243
|
async function Gn() {
|
|
244
244
|
let e = ++Rn.value;
|
|
245
|
-
In.value = !1, await
|
|
245
|
+
In.value = !1, await Ze(), await Wn(), await Wn(), e === Rn.value && (Ln.value += 1, In.value = !0);
|
|
246
246
|
}
|
|
247
247
|
let Kn = O(null), qn = O(!1);
|
|
248
248
|
function Jn() {
|
|
@@ -251,13 +251,13 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
251
251
|
tt(() => {
|
|
252
252
|
Un(), Hn.start(), En.value = !0, Sr(), Gn();
|
|
253
253
|
});
|
|
254
|
-
let L = O(or()), R =
|
|
255
|
-
|
|
254
|
+
let L = O(or()), R = b(() => L.value.userOptions), z = b(() => L.value.style.chart.grid.x.timeLabels), B = b(() => L.value.style.chart.grid), V = b(() => L.value.style.chart.lines), H = b(() => L.value.style.chart.tooltip), U = b(() => L.value.style.chart);
|
|
255
|
+
ge({
|
|
256
256
|
config: () => L.value,
|
|
257
257
|
dataset: () => N.dataset,
|
|
258
258
|
component: "VueUiStackline",
|
|
259
259
|
rules: [
|
|
260
|
-
|
|
260
|
+
_e.emptyArray,
|
|
261
261
|
{
|
|
262
262
|
test: (e) => e.some((e) => e.series.length > 200),
|
|
263
263
|
message: [
|
|
@@ -280,10 +280,10 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
280
280
|
}
|
|
281
281
|
]
|
|
282
282
|
});
|
|
283
|
-
let { transitionEnabled: Yn } =
|
|
283
|
+
let { transitionEnabled: Yn } = Oe({
|
|
284
284
|
config: () => L.value.transitions,
|
|
285
285
|
dataset: () => N.dataset
|
|
286
|
-
}), Xn =
|
|
286
|
+
}), Xn = b(() => L.value.userOptions.useCursorPointer), Zn = b(() => se({
|
|
287
287
|
defaultConfig: {
|
|
288
288
|
userOptions: { show: !1 },
|
|
289
289
|
useCssAnimation: !1,
|
|
@@ -329,7 +329,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
329
329
|
} }
|
|
330
330
|
},
|
|
331
331
|
userConfig: L.value.skeletonConfig ?? {}
|
|
332
|
-
})), { loading: Qn, FINAL_DATASET: $n, manualLoading: er } =
|
|
332
|
+
})), { loading: Qn, FINAL_DATASET: $n, manualLoading: er } = Ce({
|
|
333
333
|
...at(N),
|
|
334
334
|
FINAL_CONFIG: L,
|
|
335
335
|
prepareConfig: or,
|
|
@@ -369,11 +369,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
369
369
|
],
|
|
370
370
|
color: "#CACACA"
|
|
371
371
|
}],
|
|
372
|
-
skeletonConfig:
|
|
372
|
+
skeletonConfig: se({
|
|
373
373
|
defaultConfig: L.value,
|
|
374
374
|
userConfig: Zn.value
|
|
375
375
|
})
|
|
376
|
-
}), { userOptionsVisible: tr, setUserOptionsVisibility: nr, keepUserOptionState: rr } =
|
|
376
|
+
}), { userOptionsVisible: tr, setUserOptionsVisibility: nr, keepUserOptionState: rr } = Ve({ config: L.value }), { svgRef: W } = He({ config: U.value.title });
|
|
377
377
|
function ir() {
|
|
378
378
|
kn.value = !0, nr(!0);
|
|
379
379
|
}
|
|
@@ -385,31 +385,31 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
385
385
|
});
|
|
386
386
|
}
|
|
387
387
|
function or() {
|
|
388
|
-
let e =
|
|
388
|
+
let e = Te({
|
|
389
389
|
userConfig: N.config,
|
|
390
390
|
defaultConfig: cn
|
|
391
391
|
}), t = {};
|
|
392
|
-
N.config &&
|
|
393
|
-
let
|
|
394
|
-
if (
|
|
392
|
+
N.config && pe(N.config, "style.chart.grid.x.timeLabels.showFirstAndLast") && (e.style.chart.grid.x.timeLabels.showFirstAndLast = !!N.config.style.chart.grid.x.timeLabels.showFirstAndLast);
|
|
393
|
+
let n = e.theme;
|
|
394
|
+
if (n) {
|
|
395
395
|
if (!ln.value(e)) un(e), t = e;
|
|
396
396
|
else {
|
|
397
|
-
let
|
|
398
|
-
userConfig:
|
|
397
|
+
let r = Te({
|
|
398
|
+
userConfig: We[n] || N.config,
|
|
399
399
|
defaultConfig: e
|
|
400
400
|
});
|
|
401
401
|
t = {
|
|
402
|
-
...
|
|
402
|
+
...Te({
|
|
403
403
|
userConfig: N.config,
|
|
404
|
-
defaultConfig:
|
|
404
|
+
defaultConfig: r
|
|
405
405
|
}),
|
|
406
|
-
customPalette: e.customPalette.length ? e.customPalette : n
|
|
406
|
+
customPalette: e.customPalette.length ? e.customPalette : re[n] || s
|
|
407
407
|
};
|
|
408
408
|
}
|
|
409
409
|
} else t = e;
|
|
410
410
|
return t;
|
|
411
411
|
}
|
|
412
|
-
let sr =
|
|
412
|
+
let sr = b(() => V.value.dataLabels.hideUnderValue !== null), cr = b(() => V.value.dataLabels.hideUnderPercentage !== null);
|
|
413
413
|
function lr(e) {
|
|
414
414
|
let t = ie(e);
|
|
415
415
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
@@ -444,11 +444,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
444
444
|
showTooltip: H.value.show
|
|
445
445
|
};
|
|
446
446
|
}, { immediate: !0 });
|
|
447
|
-
let { isPrinting: dr, isImaging: fr, generatePdf: pr, generateImage: mr } =
|
|
447
|
+
let { isPrinting: dr, isImaging: fr, generatePdf: pr, generateImage: mr } = Se({
|
|
448
448
|
elementId: `stackline_${F.value}`,
|
|
449
449
|
fileName: U.value.title.text || "vue-ui-stackline",
|
|
450
450
|
options: L.value.userOptions.print
|
|
451
|
-
}), hr =
|
|
451
|
+
}), hr = b(() => L.value.userOptions.show && !U.value.title.text), gr = O({
|
|
452
452
|
width: U.value.width,
|
|
453
453
|
height: U.value.height,
|
|
454
454
|
paddingRatio: {
|
|
@@ -457,18 +457,18 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
457
457
|
bottom: U.value.padding.bottom / U.value.height,
|
|
458
458
|
left: U.value.padding.left / U.value.width
|
|
459
459
|
}
|
|
460
|
-
}), _r =
|
|
460
|
+
}), _r = b(() => fe(L.value.customPalette)), vr = rt(null), yr = rt(null), br = O(null), xr = b(() => L.value.debug);
|
|
461
461
|
function Sr({ resetSlicer: e = !0 } = {}) {
|
|
462
|
-
if (
|
|
462
|
+
if (he(N.dataset) ? (ee({
|
|
463
463
|
componentName: "VueUiStackline",
|
|
464
464
|
type: "dataset",
|
|
465
465
|
debug: xr.value
|
|
466
466
|
}), er.value = !0) : N.dataset.forEach((e, t) => {
|
|
467
|
-
|
|
467
|
+
me({
|
|
468
468
|
datasetObject: e,
|
|
469
469
|
requiredAttributes: ["name", "series"]
|
|
470
470
|
}).forEach((e) => {
|
|
471
|
-
fn.value = !1,
|
|
471
|
+
fn.value = !1, ee({
|
|
472
472
|
componentName: "VueUiStackline",
|
|
473
473
|
type: "datasetSerieAttribute",
|
|
474
474
|
property: e,
|
|
@@ -476,12 +476,12 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
476
476
|
debug: xr.value
|
|
477
477
|
}), er.value = !0;
|
|
478
478
|
});
|
|
479
|
-
}),
|
|
479
|
+
}), he(N.dataset) || (er.value = L.value.loading), setTimeout(() => {
|
|
480
480
|
Sn.value = !0;
|
|
481
481
|
}, 10), L.value.responsive) {
|
|
482
|
-
let e =
|
|
482
|
+
let e = Fe(() => {
|
|
483
483
|
Sn.value = !1;
|
|
484
|
-
let { width: e, height: t } =
|
|
484
|
+
let { width: e, height: t } = Ie({
|
|
485
485
|
chart: pn.value,
|
|
486
486
|
noTitle: yn.value,
|
|
487
487
|
title: U.value.title.text ? gn.value : null,
|
|
@@ -502,7 +502,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
502
502
|
et(() => {
|
|
503
503
|
Hn.stop(), vr.value && (yr.value && vr.value.unobserve(yr.value), vr.value.disconnect());
|
|
504
504
|
});
|
|
505
|
-
let Cr =
|
|
505
|
+
let Cr = b(() => B.value.y.position === "right");
|
|
506
506
|
function wr() {
|
|
507
507
|
let e = 0;
|
|
508
508
|
Mn.value && (e = Array.from(Mn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -541,7 +541,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
541
541
|
et(() => {
|
|
542
542
|
Dr.value && cancelAnimationFrame(Dr.value), Er.value = 0, Tr.value = 0;
|
|
543
543
|
});
|
|
544
|
-
let Ar =
|
|
544
|
+
let Ar = b(() => {
|
|
545
545
|
let e = 0;
|
|
546
546
|
if (An.value) try {
|
|
547
547
|
e = An.value.getBBox().height;
|
|
@@ -550,7 +550,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
550
550
|
}
|
|
551
551
|
let t = z.value.show ? Er.value : 0;
|
|
552
552
|
return e + t;
|
|
553
|
-
}), K =
|
|
553
|
+
}), K = b(() => {
|
|
554
554
|
Ln.value;
|
|
555
555
|
let { height: e, width: t } = gr.value, { right: n } = gr.value.paddingRatio, r = V.value.totalValues.show && N.dataset && N.dataset.length > 1 ? V.value.totalValues.fontSize * 1.3 : 0, i = 0, a = 0, o = 0, s = 0;
|
|
556
556
|
if (B.value.y.axisLabels.show) {
|
|
@@ -572,7 +572,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
572
572
|
scaleLabelsWidth: o,
|
|
573
573
|
yAxisLabelWidth: s
|
|
574
574
|
};
|
|
575
|
-
}), jr =
|
|
575
|
+
}), jr = b(() => {
|
|
576
576
|
let { left: e, top: t, width: n, height: r } = K.value, i = Y.value.start, a = Y.value.end, o = Math.max(1, a - i), s = Math.max(0, Math.min(o, (Fr.value.start ?? i) - i)), c = Math.max(0, Math.min(o, (Fr.value.end ?? a) - i)), l = Math.max(0, c - s), u = {
|
|
577
577
|
fill: U.value.zoom.preview.fill,
|
|
578
578
|
stroke: U.value.zoom.preview.stroke,
|
|
@@ -593,8 +593,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
593
593
|
height: r,
|
|
594
594
|
...u
|
|
595
595
|
};
|
|
596
|
-
}), q =
|
|
597
|
-
let n =
|
|
596
|
+
}), q = b(() => $n.value.map((e, t) => {
|
|
597
|
+
let n = h(), r = p(e.color) || _r.value[t] || s[t] || s[t % s.length];
|
|
598
598
|
return {
|
|
599
599
|
...e,
|
|
600
600
|
shape: e.shape || "circle",
|
|
@@ -606,7 +606,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
606
606
|
id: n,
|
|
607
607
|
color: r
|
|
608
608
|
};
|
|
609
|
-
})), Mr =
|
|
609
|
+
})), Mr = b(() => q.value.filter((e) => !I.value.includes(e.id) && !e.standalone)), Nr = b(() => q.value.filter((e) => !I.value.includes(e.id) && e.standalone)), J = b(() => {
|
|
610
610
|
let e = Math.max(...q.value.filter((e) => !I.value.includes(e.id)).map((e) => e.series.length));
|
|
611
611
|
return isFinite(e) ? e : Math.max(...q.value.map((e) => e.series.length));
|
|
612
612
|
});
|
|
@@ -624,11 +624,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
624
624
|
x: 0,
|
|
625
625
|
y: 0,
|
|
626
626
|
pointerType: null
|
|
627
|
-
}), Xr =
|
|
627
|
+
}), Xr = b(() => U.value.zoom?.dragToZoom), Zr = b(() => Xr.value.show && fn.value && Xi.value && !Qn.value), Qr = null, $r = {};
|
|
628
628
|
function ei(e) {
|
|
629
629
|
return (Y.value.start ?? 0) + (e ?? 0);
|
|
630
630
|
}
|
|
631
|
-
let ti =
|
|
631
|
+
let ti = b(() => U.value.zoom.preview.enable && (Fr.value.start !== Y.value.start || Fr.value.end !== Y.value.end));
|
|
632
632
|
function ni(e, t) {
|
|
633
633
|
Fr.value[e] = t;
|
|
634
634
|
}
|
|
@@ -722,13 +722,13 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
722
722
|
});
|
|
723
723
|
}), !0;
|
|
724
724
|
}
|
|
725
|
-
let mi =
|
|
725
|
+
let mi = b(() => ({
|
|
726
726
|
transform: zr.value,
|
|
727
727
|
transformOrigin: "0 0",
|
|
728
728
|
transformBox: "view-box",
|
|
729
729
|
transition: Br.value ? `transform ${Qt}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none",
|
|
730
730
|
willChange: Rr.value ? "transform" : void 0
|
|
731
|
-
})), hi =
|
|
731
|
+
})), hi = b(() => Rr.value ? `url(#vue_ui_stackline_zoom_clip_${F.value})` : void 0);
|
|
732
732
|
function gi(e, { transition: t = !1 } = {}) {
|
|
733
733
|
let n = ri(e);
|
|
734
734
|
if (!n) return null;
|
|
@@ -769,20 +769,20 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
769
769
|
return;
|
|
770
770
|
}
|
|
771
771
|
let r = !e, i = n ? oi() : null, a = n ? ci() : null;
|
|
772
|
-
Qi(r), n && pi(i, a), await
|
|
772
|
+
Qi(r), n && pi(i, a), await Ze(), yi.value && cancelAnimationFrame(yi.value), yi.value = requestAnimationFrame(async () => {
|
|
773
773
|
await bi(), Qi(r), yi.value = null, t && (ii({
|
|
774
774
|
start: Number(Y.value.start),
|
|
775
775
|
end: Number(Y.value.end)
|
|
776
776
|
}), P("zoomReset"));
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
|
-
let Si =
|
|
779
|
+
let Si = b(() => Math.max(0, K.value.width / (Y.value.end - Y.value.start))), Ci = b(() => f(Mr.value.map((e) => ({
|
|
780
780
|
...e,
|
|
781
781
|
series: e.series.map((e) => e ?? 0)
|
|
782
|
-
}))).slice(Y.value.start, Y.value.end)), wi =
|
|
782
|
+
}))).slice(Y.value.start, Y.value.end)), wi = b(() => I.value.length === q.value.length), Ti = b(() => {
|
|
783
783
|
if (!U.value.zoom.minimap.show) return [];
|
|
784
784
|
let e = q.value.filter((e) => wi.value ? !0 : !I.value.includes(e.id) && !e.standalone);
|
|
785
|
-
if (e.length) return
|
|
785
|
+
if (e.length) return f(e.map((e) => ({
|
|
786
786
|
...e,
|
|
787
787
|
series: (e.series || []).map((e) => e ?? 0)
|
|
788
788
|
})));
|
|
@@ -790,7 +790,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
790
790
|
if (!t.length) return [];
|
|
791
791
|
let n = Math.max(...t.map((e) => e.series.length || 0));
|
|
792
792
|
return Array.from({ length: n }, (e, n) => t.reduce((e, t) => e + Math.abs(t.series[n] ?? 0), 0));
|
|
793
|
-
}), Ei =
|
|
793
|
+
}), Ei = b(() => {
|
|
794
794
|
if (!U.value.zoom.minimap.show) return [];
|
|
795
795
|
let e = q.value.filter((e) => wi.value ? !0 : !I.value.includes(e.id) && !e.standalone), t = Nr.value, n = e.length ? [{
|
|
796
796
|
name: "",
|
|
@@ -804,25 +804,25 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
804
804
|
isVisible: !0
|
|
805
805
|
}));
|
|
806
806
|
return n.concat(r);
|
|
807
|
-
}), Di =
|
|
807
|
+
}), Di = b(() => f(Mr.value.filter((e) => !I.value.includes(e.id)).map((e) => ({
|
|
808
808
|
...e,
|
|
809
809
|
series: e.series.map((t, n) => {
|
|
810
810
|
let r = t ?? 0;
|
|
811
811
|
return e.signedSeries[n] === -1 && r >= 0 ? -r : r;
|
|
812
812
|
})
|
|
813
|
-
}))).slice(Y.value.start, Y.value.end)), Oi =
|
|
813
|
+
}))).slice(Y.value.start, Y.value.end)), Oi = b(() => {
|
|
814
814
|
let e = Mr.value.filter((e) => !I.value.includes(e.id));
|
|
815
815
|
return {
|
|
816
|
-
positive:
|
|
816
|
+
positive: f(e.map((e) => ({
|
|
817
817
|
...e,
|
|
818
818
|
series: e.series.slice(Y.value.start, Y.value.end).map((e) => (e ?? 0) >= 0 ? e ?? 0 : 0)
|
|
819
819
|
}))),
|
|
820
|
-
negative:
|
|
820
|
+
negative: f(e.map((e) => ({
|
|
821
821
|
...e,
|
|
822
822
|
series: e.series.slice(Y.value.start, Y.value.end).map((e) => (e ?? 0) < 0 ? e ?? 0 : 0)
|
|
823
823
|
})))
|
|
824
824
|
};
|
|
825
|
-
}), ki =
|
|
825
|
+
}), ki = b(() => {
|
|
826
826
|
let e = Math.max(0, Y.value.end - Y.value.start), t = Array(e).fill(0), n = Array(e).fill(0);
|
|
827
827
|
return Nr.value.forEach((r) => {
|
|
828
828
|
for (let i = 0; i < e; i += 1) {
|
|
@@ -833,7 +833,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
833
833
|
positive: t,
|
|
834
834
|
negative: n
|
|
835
835
|
};
|
|
836
|
-
}), Ai =
|
|
836
|
+
}), Ai = b(() => Di.value.map((e, t) => ({
|
|
837
837
|
value: e,
|
|
838
838
|
sign: e >= 0 ? 1 : -1
|
|
839
839
|
})));
|
|
@@ -859,18 +859,18 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
859
859
|
return i((Number.isFinite(a) ? a : t) + r + n.fontSize * .7 + V.value.totalValues.offsetY);
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
|
-
let Ni =
|
|
862
|
+
let Ni = b(() => {
|
|
863
863
|
let e = Math.max(...Oi.value.positive, 0), t = Math.min(...Oi.value.negative, 0), n = Math.max(...ki.value.positive, 0), r = Math.min(...ki.value.negative, 0), i = Math.max(e, n), a = Math.min(t, r), o = [
|
|
864
864
|
-Infinity,
|
|
865
865
|
Infinity,
|
|
866
866
|
NaN,
|
|
867
867
|
void 0,
|
|
868
868
|
null
|
|
869
|
-
].includes(a) ? 0 : a, s = B.value.scale.scaleMin, c = B.value.scale.scaleMax, l = !V.value.distributed && (s !== null || c !== null), u = s !== null && !V.value.distributed ? s : o > 0 ? 0 : o, d = c !== null && !V.value.distributed ? c : i < 0 ? 0 : i, f = l ?
|
|
870
|
-
return
|
|
869
|
+
].includes(a) ? 0 : a, s = B.value.scale.scaleMin, c = B.value.scale.scaleMax, l = !V.value.distributed && (s !== null || c !== null), u = s !== null && !V.value.distributed ? s : o > 0 ? 0 : o, d = c !== null && !V.value.distributed ? c : i < 0 ? 0 : i, f = l ? de(u, d, B.value.scale.ticks) : g(u, d, B.value.scale.ticks), p = Math.abs(Number(f.min) || 0), m = (Number(f.max) || 0) + p, h = m === 0 || !Number.isFinite(m) ? 1 : m, _ = Array.isArray(f.ticks) && f.ticks.length ? f.ticks : [0], ee = K.value.bottom - K.value.height * (p / h);
|
|
870
|
+
return _.map((e) => {
|
|
871
871
|
let t = Number(e) || 0, n = K.value.bottom - K.value.height * ((t + p) / h);
|
|
872
872
|
return {
|
|
873
|
-
zero:
|
|
873
|
+
zero: ee,
|
|
874
874
|
y: n,
|
|
875
875
|
x: Cr.value ? Z.value.right + 8 : Z.value.left - 8,
|
|
876
876
|
value: t
|
|
@@ -880,7 +880,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
880
880
|
ct(() => {
|
|
881
881
|
let e = ++Ii;
|
|
882
882
|
(async () => {
|
|
883
|
-
let t = await
|
|
883
|
+
let t = await be({
|
|
884
884
|
values: z.value.values,
|
|
885
885
|
maxDatapoints: J.value,
|
|
886
886
|
formatter: z.value.datetimeFormatter,
|
|
@@ -894,7 +894,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
894
894
|
ct(() => {
|
|
895
895
|
let e = ++Li;
|
|
896
896
|
(async () => {
|
|
897
|
-
let t = await
|
|
897
|
+
let t = await be({
|
|
898
898
|
values: z.value.values,
|
|
899
899
|
maxDatapoints: J.value,
|
|
900
900
|
formatter: z.value.datetimeFormatter,
|
|
@@ -904,9 +904,9 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
904
904
|
e === Li && (Fi.value = t);
|
|
905
905
|
})();
|
|
906
906
|
});
|
|
907
|
-
let Ri =
|
|
907
|
+
let Ri = b(() => {
|
|
908
908
|
let e = Math.max(1, Math.floor(Number(z.value.modulo) || 1)), t = (Pi.value || []).map((e) => e?.text ?? ""), n = (Fi.value || []).map((e) => e?.text ?? ""), r = Y.value.start ?? 0, i = r > 0 || t.length < n.length;
|
|
909
|
-
return
|
|
909
|
+
return ae({
|
|
910
910
|
configuredModulo: e,
|
|
911
911
|
visibleTexts: t,
|
|
912
912
|
allTexts: n,
|
|
@@ -915,7 +915,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
915
915
|
});
|
|
916
916
|
});
|
|
917
917
|
function zi(e) {
|
|
918
|
-
let t = z.value, n = Pi.value || [], r = Fi.value || [], i = Y.value.start ?? 0, a = J.value, o = n.map((e) => e?.text ?? ""), s = r.map((e) => e?.text ?? ""), c =
|
|
918
|
+
let t = z.value, n = Pi.value || [], r = Fi.value || [], i = Y.value.start ?? 0, a = J.value, o = n.map((e) => e?.text ?? ""), s = r.map((e) => e?.text ?? ""), c = ne(!!t.showOnlyFirstAndLast, !!t.showOnlyAtModulo, Ri.value, o, s, i, e, a);
|
|
919
919
|
if (!t.showFirstAndLast || t.showOnlyFirstAndLast || !c.length) return c;
|
|
920
920
|
let l = c.length - 1;
|
|
921
921
|
return c.map((e, t) => t !== 0 && t !== l ? e : {
|
|
@@ -923,7 +923,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
923
923
|
text: o[t] ?? ""
|
|
924
924
|
});
|
|
925
925
|
}
|
|
926
|
-
let Bi =
|
|
926
|
+
let Bi = b(() => zi($.value)), Vi = b(() => zi(null));
|
|
927
927
|
ct(() => {
|
|
928
928
|
z.value.show, z.value.fontSize, z.value.rotation, z.value.offsetY, (Vi.value || []).map((e) => e?.text ?? "").join("|"), gr.value.width, gr.value.height, Nn.value, An.value, kr();
|
|
929
929
|
}, { flush: "post" });
|
|
@@ -936,12 +936,12 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
936
936
|
ct(() => {
|
|
937
937
|
let e = ++Ui, t = z.value.datetimeFormatter;
|
|
938
938
|
(async () => {
|
|
939
|
-
let n = await
|
|
939
|
+
let n = await ye(t.locale).catch(() => ye("en"));
|
|
940
940
|
e === Ui && (Hi.value = n.data);
|
|
941
941
|
})();
|
|
942
942
|
});
|
|
943
|
-
let Wi =
|
|
944
|
-
let e = z.value.datetimeFormatter, t =
|
|
943
|
+
let Wi = b(() => {
|
|
944
|
+
let e = z.value.datetimeFormatter, t = ve({
|
|
945
945
|
useUTC: e.useUTC,
|
|
946
946
|
locale: Hi.value,
|
|
947
947
|
januaryAsYear: e.januaryAsYear
|
|
@@ -950,15 +950,15 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
950
950
|
let r = z.value.values?.[e];
|
|
951
951
|
return r == null ? "" : t.formatDate(new Date(r), n);
|
|
952
952
|
};
|
|
953
|
-
}), Gi =
|
|
953
|
+
}), Gi = b(() => (z.value.values || []).map((e, t) => ({
|
|
954
954
|
text: Wi.value(t, U.value.zoom.timeFormat),
|
|
955
955
|
absoluteIndex: t
|
|
956
|
-
}))), Ki =
|
|
956
|
+
}))), Ki = b(() => (z.value.values || []).map((e, t) => ({
|
|
957
957
|
text: Wi.value(t, H.value.timeFormat),
|
|
958
958
|
absoluteIndex: t
|
|
959
|
-
}))), qi =
|
|
959
|
+
}))), qi = b(() => {
|
|
960
960
|
if (!fn.value && !Qn.value) return [];
|
|
961
|
-
let e = K.value.height, t = Ni.value[0] ? Ni.value[0].zero : K.value.bottom, n = Y.value.start ?? 0, r = Y.value.end ?? 0, i = Math.max(1, r - n), a = Math.max(...Oi.value.positive, 0), o = Math.min(...Oi.value.negative, 0), s = Math.max(...ki.value.positive, 0), c = Math.min(...ki.value.negative, 0), l = Math.max(a, s), u = Math.min(o, c), { min: d, max: f } = !V.value.distributed && (B.value.scale.scaleMax !== null || B.value.scale.scaleMin !== null) ?
|
|
961
|
+
let e = K.value.height, t = Ni.value[0] ? Ni.value[0].zero : K.value.bottom, n = Y.value.start ?? 0, r = Y.value.end ?? 0, i = Math.max(1, r - n), a = Math.max(...Oi.value.positive, 0), o = Math.min(...Oi.value.negative, 0), s = Math.max(...ki.value.positive, 0), c = Math.min(...ki.value.negative, 0), l = Math.max(a, s), u = Math.min(o, c), { min: d, max: f } = !V.value.distributed && (B.value.scale.scaleMax !== null || B.value.scale.scaleMin !== null) ? de(B.value.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.scale.scaleMin, B.value.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.scale.scaleMax, B.value.scale.ticks) : g(B.value.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.scale.scaleMin, B.value.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.scale.scaleMax, B.value.scale.ticks), p = f + (d >= 0 ? 0 : Math.abs(d)) || 1, m = Array(i).fill(0), h = Array(i).fill(0), _ = (e) => i <= 1 ? K.value.left + K.value.width / 2 : K.value.left + e / (i - 1) * K.value.width;
|
|
962
962
|
return q.value.filter((e) => !I.value.includes(e.id)).map((r) => {
|
|
963
963
|
let a = [], o = [], s = [], c = Array(i).fill(null), l = Array(i).fill(null);
|
|
964
964
|
for (let u = 0; u < i; u += 1) {
|
|
@@ -981,14 +981,14 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
981
981
|
a.push(u), o.push(g), s.push(f ?? (g >= 0 ? 1 : -1));
|
|
982
982
|
}
|
|
983
983
|
let u = a.map((e) => ({
|
|
984
|
-
x:
|
|
984
|
+
x: _(e),
|
|
985
985
|
y: l[e]
|
|
986
|
-
})), d = u.map((e) => e.x), f = o.reduce((e, t) => e + Math.abs(t || 0), 0),
|
|
986
|
+
})), d = u.map((e) => e.x), f = o.reduce((e, t) => e + Math.abs(t || 0), 0), g = f === 0 ? 1 : f, ee = o.map((e, t) => {
|
|
987
987
|
if (V.value.distributed && !r.standalone) {
|
|
988
988
|
let n = a[t], r = Ci.value[n] || 1;
|
|
989
989
|
return (e || 0) / r;
|
|
990
990
|
}
|
|
991
|
-
return (e || 0) /
|
|
991
|
+
return (e || 0) / g;
|
|
992
992
|
});
|
|
993
993
|
return {
|
|
994
994
|
...r,
|
|
@@ -1003,13 +1003,13 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1003
1003
|
fullSeries: Array.isArray(r.fullSeries) ? r.fullSeries : r.series
|
|
1004
1004
|
};
|
|
1005
1005
|
});
|
|
1006
|
-
}), X =
|
|
1007
|
-
let e = (e) => typeof e == "string" ? e.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "", t = Math.max(...Oi.value.positive, 0), n = Math.min(...Oi.value.negative, 0), r = Math.max(...ki.value.positive, 0), i = Math.min(...ki.value.negative, 0), a = Math.max(t, r), o = Math.min(n, i), s = !V.value.distributed && (B.value.scale.scaleMax !== null || B.value.scale.scaleMin !== null) ?
|
|
1006
|
+
}), X = b(() => {
|
|
1007
|
+
let e = (e) => typeof e == "string" ? e.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "", t = Math.max(...Oi.value.positive, 0), n = Math.min(...Oi.value.negative, 0), r = Math.max(...ki.value.positive, 0), i = Math.min(...ki.value.negative, 0), a = Math.max(t, r), o = Math.min(n, i), s = !V.value.distributed && (B.value.scale.scaleMax !== null || B.value.scale.scaleMin !== null) ? de(B.value.scale.scaleMin === null ? o > 0 ? 0 : o : B.value.scale.scaleMin, B.value.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.scale.scaleMax, B.value.scale.ticks) : g(B.value.scale.scaleMin === null ? o > 0 ? 0 : o : B.value.scale.scaleMin, B.value.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.scale.scaleMax, B.value.scale.ticks), c = Number(s.min) || 0, l = Number(s.max) || 0, u = Math.abs(c), f = l + u || 1, p = (e) => {
|
|
1008
1008
|
if (V.value.distributed) {
|
|
1009
1009
|
let t = Math.max(0, Math.min(1, e));
|
|
1010
1010
|
return minimapH - minimapH * t;
|
|
1011
1011
|
}
|
|
1012
|
-
return clampY(minimapH - minimapH * (((e ?? 0) +
|
|
1012
|
+
return clampY(minimapH - minimapH * (((e ?? 0) + u) / f));
|
|
1013
1013
|
};
|
|
1014
1014
|
return qi.value.map((t) => {
|
|
1015
1015
|
let n = t.x.length, r = Array.isArray(t.fullSeries) ? t.fullSeries : t.series, i = ({ left: e = 0, unitW: t }) => {
|
|
@@ -1037,10 +1037,10 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1037
1037
|
})), c = t.x.map((e, n) => ({
|
|
1038
1038
|
x: e,
|
|
1039
1039
|
y: t.baseY[n]
|
|
1040
|
-
})),
|
|
1040
|
+
})), l = n >= 2 ? d(s) : `M${s[0].x},${s[0].y}`, u = n >= 2 ? m(s) : `M${s[0].x},${s[0].y}`, f = n >= 2 ? `M${e(l)}` : l, h = n >= 2 ? `M${e(u)}` : u, g = "", _ = "";
|
|
1041
1041
|
if (V.value.useArea && n >= 2) {
|
|
1042
|
-
let t =
|
|
1043
|
-
g = `M${s[0].x},${s[0].y} ${e(
|
|
1042
|
+
let t = d([...c].reverse()), n = m([...c].reverse()), r = c[c.length - 1];
|
|
1043
|
+
g = `M${s[0].x},${s[0].y} ${e(l)} L${r.x},${r.y} ${e(t)} Z`, _ = `M${s[0].x},${s[0].y} ${e(u)} L${r.x},${r.y} ${e(n)} Z`;
|
|
1044
1044
|
}
|
|
1045
1045
|
return {
|
|
1046
1046
|
...t,
|
|
@@ -1054,7 +1054,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1054
1054
|
yMinimapBase: o
|
|
1055
1055
|
};
|
|
1056
1056
|
});
|
|
1057
|
-
}), Ji =
|
|
1057
|
+
}), Ji = b(() => $.value === null || $.value === void 0 ? null : {
|
|
1058
1058
|
timeLabel: Ma($.value),
|
|
1059
1059
|
absoluteIndex: $.value + Y.value.start,
|
|
1060
1060
|
seriesIndex: $.value,
|
|
@@ -1112,13 +1112,13 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1112
1112
|
isZoom: n !== J.value
|
|
1113
1113
|
}), (n !== Y.value.end || $r.start !== void 0) && $i({ end: n }));
|
|
1114
1114
|
}
|
|
1115
|
-
let Z =
|
|
1115
|
+
let Z = b(() => ({
|
|
1116
1116
|
left: K.value.left,
|
|
1117
1117
|
right: K.value.right,
|
|
1118
1118
|
width: K.value.width
|
|
1119
|
-
})), na =
|
|
1119
|
+
})), na = b(() => {
|
|
1120
1120
|
let e = B.value.y.axisLabels, { prefix: n, suffix: r } = V.value.dataLabels;
|
|
1121
|
-
return Ni.value.map((i) => String(
|
|
1121
|
+
return Ni.value.map((i) => String(oe(e.formatter, i.value, t({
|
|
1122
1122
|
p: n,
|
|
1123
1123
|
v: i.value,
|
|
1124
1124
|
s: r,
|
|
@@ -1141,8 +1141,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1141
1141
|
deep: !0,
|
|
1142
1142
|
immediate: !0
|
|
1143
1143
|
});
|
|
1144
|
-
let ia =
|
|
1145
|
-
|
|
1144
|
+
let ia = b(() => gr.value.width), aa = b(() => gr.value.height);
|
|
1145
|
+
Ae({
|
|
1146
1146
|
timeLabelsEls: Nn,
|
|
1147
1147
|
timeLabels: Pi,
|
|
1148
1148
|
slicer: Y,
|
|
@@ -1198,12 +1198,12 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1198
1198
|
ok: !0
|
|
1199
1199
|
};
|
|
1200
1200
|
}
|
|
1201
|
-
let ca =
|
|
1201
|
+
let ca = b(() => !Ir.value || Gr.value == null || Kr.value == null ? null : {
|
|
1202
1202
|
x: Math.min(Gr.value, Kr.value),
|
|
1203
1203
|
y: K.value.top,
|
|
1204
1204
|
width: Math.abs(Kr.value - Gr.value),
|
|
1205
1205
|
height: K.value.height
|
|
1206
|
-
}), la =
|
|
1206
|
+
}), la = b(() => Xi.value ? Number(Y.value.start) !== 0 || Number(Y.value.end) !== Number(J.value) : !1);
|
|
1207
1207
|
function ua(e) {
|
|
1208
1208
|
return Math.min(Math.max(e, K.value.left), K.value.right);
|
|
1209
1209
|
}
|
|
@@ -1302,7 +1302,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1302
1302
|
pointerType: null
|
|
1303
1303
|
}, da(), pa());
|
|
1304
1304
|
}
|
|
1305
|
-
let Ca = 0, Q =
|
|
1305
|
+
let Ca = 0, Q = b(() => Math.max(1, Y.value.end - Y.value.start)), wa = b(() => Q.value > 1 ? K.value.width / (Q.value - 1) : 0);
|
|
1306
1306
|
function Ta(e) {
|
|
1307
1307
|
return Q.value <= 1 ? K.value.left + K.value.width / 2 : K.value.left + e * wa.value;
|
|
1308
1308
|
}
|
|
@@ -1391,7 +1391,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1391
1391
|
function Aa() {
|
|
1392
1392
|
Ca &&= (cancelAnimationFrame(Ca), 0), oa.value = null, Pa(!1, null);
|
|
1393
1393
|
}
|
|
1394
|
-
let $ = O(null), ja =
|
|
1394
|
+
let $ = O(null), ja = b(() => {
|
|
1395
1395
|
let e = $.value, t = e == null ? null : ei(e);
|
|
1396
1396
|
return X.value.map((n) => ({
|
|
1397
1397
|
slotAbsoluteIndex: n.absoluteIndex,
|
|
@@ -1410,9 +1410,9 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1410
1410
|
let t = Pi.value?.[e]?.text || null, n = Ki.value?.[e]?.text || null, r = Fi.value?.[e]?.text || null;
|
|
1411
1411
|
return H.value.useDefaultTimeFormat ? t : n || r;
|
|
1412
1412
|
}
|
|
1413
|
-
let Na =
|
|
1414
|
-
let e = H.value.customFormat, n = [...ja.value].reverse(), i = n.filter((e) => !e.standalone),
|
|
1415
|
-
if (
|
|
1413
|
+
let Na = b(() => {
|
|
1414
|
+
let e = H.value.customFormat, n = [...ja.value].reverse(), i = n.filter((e) => !e.standalone), o = n.filter((e) => e.standalone), s = i.map((e) => e.value).filter((e) => u(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0);
|
|
1415
|
+
if (a(e) && le(() => e({
|
|
1416
1416
|
absoluteIndex: $.value + Y.value.start,
|
|
1417
1417
|
seriesIndex: $.value,
|
|
1418
1418
|
datapoint: ja.value,
|
|
@@ -1425,7 +1425,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1425
1425
|
series: q.value,
|
|
1426
1426
|
config: L.value
|
|
1427
1427
|
});
|
|
1428
|
-
let { showValue:
|
|
1428
|
+
let { showValue: c, showTotal: d, totalTranslation: f, showPercentage: p, borderColor: m, roundingValue: h, roundingPercentage: g } = H.value, _ = (e) => !e.shape || ![
|
|
1429
1429
|
"star",
|
|
1430
1430
|
"triangle",
|
|
1431
1431
|
"square",
|
|
@@ -1438,7 +1438,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1438
1438
|
y: 6
|
|
1439
1439
|
},
|
|
1440
1440
|
radius: 5
|
|
1441
|
-
})}" /></svg>` : e.shape === "triangle" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${
|
|
1441
|
+
})}" /></svg>` : e.shape === "triangle" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${l({
|
|
1442
1442
|
plot: {
|
|
1443
1443
|
x: 6,
|
|
1444
1444
|
y: 6
|
|
@@ -1446,7 +1446,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1446
1446
|
radius: 6,
|
|
1447
1447
|
sides: 3,
|
|
1448
1448
|
rotation: .52
|
|
1449
|
-
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "square" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
1449
|
+
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "square" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${l({
|
|
1450
1450
|
plot: {
|
|
1451
1451
|
x: 6,
|
|
1452
1452
|
y: 6
|
|
@@ -1454,7 +1454,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1454
1454
|
radius: 6,
|
|
1455
1455
|
sides: 4,
|
|
1456
1456
|
rotation: .8
|
|
1457
|
-
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "diamond" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${
|
|
1457
|
+
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "diamond" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${l({
|
|
1458
1458
|
plot: {
|
|
1459
1459
|
x: 6,
|
|
1460
1460
|
y: 6
|
|
@@ -1462,7 +1462,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1462
1462
|
radius: 5,
|
|
1463
1463
|
sides: 4,
|
|
1464
1464
|
rotation: 0
|
|
1465
|
-
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "pentagon" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${
|
|
1465
|
+
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>` : e.shape === "pentagon" ? `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${l({
|
|
1466
1466
|
plot: {
|
|
1467
1467
|
x: 6,
|
|
1468
1468
|
y: 6
|
|
@@ -1470,7 +1470,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1470
1470
|
radius: 5,
|
|
1471
1471
|
sides: 5,
|
|
1472
1472
|
rotation: .95
|
|
1473
|
-
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>` : `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${
|
|
1473
|
+
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>` : `<svg viewBox="0 0 12 12" height="14" width="14" style="overflow:visible"><path d="${l({
|
|
1474
1474
|
plot: {
|
|
1475
1475
|
x: 6,
|
|
1476
1476
|
y: 6
|
|
@@ -1480,15 +1480,15 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1480
1480
|
rotation: 0
|
|
1481
1481
|
}).path}" fill="${e.color}" stroke="${H.value.backgroundColor}" stroke-width="1" /></svg>`, ee = (e, n) => {
|
|
1482
1482
|
let r = n ? t({
|
|
1483
|
-
v: isNaN((e.value ?? 0) / (
|
|
1483
|
+
v: isNaN((e.value ?? 0) / (s || 1)) ? 0 : Math.abs(e.value ?? 0) / (s || 1) * 100,
|
|
1484
1484
|
s: "%",
|
|
1485
1485
|
r: g
|
|
1486
|
-
}) : "", i =
|
|
1486
|
+
}) : "", i = c && n ? "(" : "", a = c && n ? ")" : "";
|
|
1487
1487
|
return `
|
|
1488
1488
|
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1489
1489
|
<div style="width:20px;height:20px;display:flex;align-items:center;justify-content:center;">${_(e)}</div>
|
|
1490
|
-
${e.name}${
|
|
1491
|
-
${
|
|
1490
|
+
${e.name}${c || n ? ":" : ""}
|
|
1491
|
+
${c ? oe(V.value.dataLabels.formatter, e.sourceValue, t({
|
|
1492
1492
|
p: V.value.dataLabels.prefix,
|
|
1493
1493
|
v: e.sourceValue,
|
|
1494
1494
|
s: V.value.dataLabels.suffix,
|
|
@@ -1499,18 +1499,18 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1499
1499
|
}, te = "", ne = Ma($.value);
|
|
1500
1500
|
return ne && (te += `<div style="width:100%;text-align:center;border-bottom:1px solid ${m};padding-bottom:6px;margin-bottom:3px;">${ne}</div>`), d && i.length > 1 && (te += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1501
1501
|
<span>${f}:</span>
|
|
1502
|
-
<span>${
|
|
1502
|
+
<span>${oe(V.value.dataLabels.formatter, v(s), t({
|
|
1503
1503
|
p: V.value.dataLabels.prefix,
|
|
1504
|
-
v:
|
|
1504
|
+
v: v(s),
|
|
1505
1505
|
s: V.value.dataLabels.suffix,
|
|
1506
1506
|
r: h
|
|
1507
1507
|
}), { datapoint: {
|
|
1508
1508
|
name: f,
|
|
1509
|
-
value:
|
|
1509
|
+
value: v(s)
|
|
1510
1510
|
} })}</span>
|
|
1511
1511
|
</div>`), i.forEach((e) => {
|
|
1512
1512
|
te += ee(e, p);
|
|
1513
|
-
}),
|
|
1513
|
+
}), o.length && (te += `<div style="border-top:1px solid ${Mr.value.length ? m : "transparent"}; margin:${Mr.value.length ? "6px 0" : "0"};"></div>`, o.forEach((e) => {
|
|
1514
1514
|
te += ee(e, !1);
|
|
1515
1515
|
})), `<div>${te}</div>`;
|
|
1516
1516
|
});
|
|
@@ -1568,12 +1568,12 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1568
1568
|
}
|
|
1569
1569
|
P("selectLegend", X.value);
|
|
1570
1570
|
}
|
|
1571
|
-
let Ra =
|
|
1571
|
+
let Ra = b(() => q.value.map((e) => ({
|
|
1572
1572
|
...e,
|
|
1573
1573
|
opacity: I.value.includes(e.id) ? .5 : 1,
|
|
1574
1574
|
segregate: () => La(e),
|
|
1575
1575
|
isSegregated: I.value.includes(e.id)
|
|
1576
|
-
}))), za =
|
|
1576
|
+
}))), za = b(() => ({
|
|
1577
1577
|
cy: "stackline-legend",
|
|
1578
1578
|
backgroundColor: U.value.legend.backgroundColor,
|
|
1579
1579
|
color: U.value.legend.color,
|
|
@@ -1592,7 +1592,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1592
1592
|
let t = Ba(e);
|
|
1593
1593
|
t !== null && (I.value.includes(t.id) || La({ id: t.id }));
|
|
1594
1594
|
}
|
|
1595
|
-
let Ua =
|
|
1595
|
+
let Ua = b(() => {
|
|
1596
1596
|
if (X.value.length === 0) return {
|
|
1597
1597
|
head: [],
|
|
1598
1598
|
body: [],
|
|
@@ -1619,13 +1619,13 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1619
1619
|
[U.value.title.text],
|
|
1620
1620
|
[U.value.title.subtitle.text],
|
|
1621
1621
|
[""]
|
|
1622
|
-
], n = ["", ...Ua.value.head.map((e) => e.label)], r = Ua.value.body,
|
|
1623
|
-
e ? e(o) :
|
|
1622
|
+
], n = ["", ...Ua.value.head.map((e) => e.label)], r = Ua.value.body, a = t.concat([n]).concat(r), o = i(a);
|
|
1623
|
+
e ? e(o) : ce({
|
|
1624
1624
|
csvContent: o,
|
|
1625
1625
|
title: U.value.title.text || "vue-ui-stackline"
|
|
1626
1626
|
});
|
|
1627
1627
|
}
|
|
1628
|
-
let Ga =
|
|
1628
|
+
let Ga = b(() => {
|
|
1629
1629
|
let e = [""].concat(X.value.map((e) => e.name), "__SUM__"), t = [], n = Math.max(0, Y.value.end - Y.value.start);
|
|
1630
1630
|
for (let e = 0; e < n; e += 1) {
|
|
1631
1631
|
let n = ei(e), r = z.value.values?.[n] ? Pi.value?.[e]?.text ?? n + 1 : n + 1, i = X.value.map((t) => {
|
|
@@ -1652,7 +1652,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1652
1652
|
},
|
|
1653
1653
|
colNames: [L.value.table.columnNames.period].concat(X.value.map((e) => e.name), L.value.table.columnNames.total)
|
|
1654
1654
|
};
|
|
1655
|
-
}), Ka =
|
|
1655
|
+
}), Ka = b(() => U.value.backgroundColor), qa = b(() => U.value.legend), Ja = b(() => U.value.title), { isCallbackImaging: Ya, isCallbackSvg: Xa, generateSvg: Za, onGenerateImage: Qa } = De({
|
|
1656
1656
|
svg: W,
|
|
1657
1657
|
title: Ja,
|
|
1658
1658
|
legend: qa,
|
|
@@ -1663,7 +1663,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1663
1663
|
});
|
|
1664
1664
|
async function $a({ scale: e = 2 } = {}) {
|
|
1665
1665
|
if (!pn.value) return;
|
|
1666
|
-
let { imageUri: t, base64: n } = await
|
|
1666
|
+
let { imageUri: t, base64: n } = await je({
|
|
1667
1667
|
domElement: pn.value,
|
|
1668
1668
|
base64: !0,
|
|
1669
1669
|
img: !0,
|
|
@@ -1672,7 +1672,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1672
1672
|
width: r.width,
|
|
1673
1673
|
height: r.height,
|
|
1674
1674
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1675
|
-
}, a = await
|
|
1675
|
+
}, a = await _(t, e) ?? i;
|
|
1676
1676
|
return {
|
|
1677
1677
|
imageUri: t,
|
|
1678
1678
|
base64: n,
|
|
@@ -1680,7 +1680,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1680
1680
|
...a
|
|
1681
1681
|
};
|
|
1682
1682
|
}
|
|
1683
|
-
let eo =
|
|
1683
|
+
let eo = b(() => {
|
|
1684
1684
|
let e = L.value.table.useDialog && !L.value.table.show, t = G.value.showTable;
|
|
1685
1685
|
return {
|
|
1686
1686
|
component: e ? sn : tn,
|
|
@@ -1747,7 +1747,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1747
1747
|
};
|
|
1748
1748
|
});
|
|
1749
1749
|
}
|
|
1750
|
-
let co =
|
|
1750
|
+
let co = b(() => Array(J.value).fill(0).map((e, t) => so(t)));
|
|
1751
1751
|
st(() => N.selectedXIndex, (e) => {
|
|
1752
1752
|
if ([null, void 0].includes(N.selectedXIndex)) {
|
|
1753
1753
|
$.value = null;
|
|
@@ -1756,7 +1756,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1756
1756
|
let t = e - Y.value.start;
|
|
1757
1757
|
t < 0 || e >= Y.value.end ? $.value = null : $.value = t ?? null;
|
|
1758
1758
|
}, { immediate: !0 });
|
|
1759
|
-
let lo =
|
|
1759
|
+
let lo = b(() => {
|
|
1760
1760
|
if (V.value.distributed) return {
|
|
1761
1761
|
min: -1,
|
|
1762
1762
|
max: 1
|
|
@@ -1775,7 +1775,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1775
1775
|
n > 0 && (a[t] = Math.max(a[t], n)), n < 0 && (o[t] = Math.min(o[t], n));
|
|
1776
1776
|
}
|
|
1777
1777
|
});
|
|
1778
|
-
let s = Math.max(0, ...r, ...a), c = Math.min(0, ...i, ...o), l = B.value.scale.scaleMin, u = B.value.scale.scaleMax, d = B.value.scale.ticks, f = !V.value.distributed && (l !== null || u !== null) ?
|
|
1778
|
+
let s = Math.max(0, ...r, ...a), c = Math.min(0, ...i, ...o), l = B.value.scale.scaleMin, u = B.value.scale.scaleMax, d = B.value.scale.ticks, f = !V.value.distributed && (l !== null || u !== null) ? de(l === null ? c > 0 ? 0 : c : l, u === null ? s < 0 ? 0 : s : u, d) : g(l === null ? c > 0 ? 0 : c : l, u === null ? s < 0 ? 0 : s : u, d);
|
|
1779
1779
|
return {
|
|
1780
1780
|
min: Number(f.min) || 0,
|
|
1781
1781
|
max: Number(f.max) || 0
|
|
@@ -1794,38 +1794,38 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1794
1794
|
let r = (Array.isArray(e.fullSeries) ? e.fullSeries : e.series)?.[t];
|
|
1795
1795
|
r != null && !Number.isNaN(r) && (n += Math.abs(r));
|
|
1796
1796
|
}), n || 1;
|
|
1797
|
-
}), s = (t) => e - e * Math.max(0, Math.min(1, t || 0)), c = [],
|
|
1797
|
+
}), s = (t) => e - e * Math.max(0, Math.min(1, t || 0)), c = [], l = Array(a).fill(0);
|
|
1798
1798
|
return r.forEach((e) => {
|
|
1799
|
-
let r = Array.isArray(e.fullSeries) ? e.fullSeries : e.series, i = Array(a),
|
|
1799
|
+
let r = Array.isArray(e.fullSeries) ? e.fullSeries : e.series, i = Array(a), u = Array(a);
|
|
1800
1800
|
for (let e = 0; e < a; e += 1) {
|
|
1801
1801
|
let n = r?.[e], a = n == null || Number.isNaN(n) ? 0 : Math.abs(n) / t[e];
|
|
1802
|
-
|
|
1802
|
+
u[e] = l[e], l[e] += a, i[e] = l[e];
|
|
1803
1803
|
}
|
|
1804
|
-
let f = i.map(s), p =
|
|
1804
|
+
let f = i.map(s), p = u.map(s), h = o.map((e, t) => ({
|
|
1805
1805
|
x: e,
|
|
1806
1806
|
y: f[t]
|
|
1807
1807
|
})), g = o.map((e, t) => ({
|
|
1808
1808
|
x: e,
|
|
1809
1809
|
y: p[t]
|
|
1810
|
-
})), _ =
|
|
1810
|
+
})), _ = d(h), ee = d([...g].reverse()), te = m(h), ne = m([...g].reverse()), v = g[g.length - 1];
|
|
1811
1811
|
if (V.value.useArea) {
|
|
1812
|
-
let t = V.value.smooth ? `M${h[0].x},${h[0].y} ${n(_)} L${
|
|
1812
|
+
let t = V.value.smooth ? `M${h[0].x},${h[0].y} ${n(_)} L${v.x},${v.y} ${n(ee)} Z` : `M${h[0].x},${h[0].y} ${n(te)} L${v.x},${v.y} ${n(ne)} Z`;
|
|
1813
1813
|
c.push(`<path d="${t}"
|
|
1814
1814
|
fill="${dn.pattern ? `url(#pattern_${F.value}_${e.absoluteIndex})` : (V.value.gradient.show, e.color)}"
|
|
1815
1815
|
opacity="${V.value.areaOpacity}"
|
|
1816
1816
|
stroke="none" />`);
|
|
1817
1817
|
}
|
|
1818
|
-
let
|
|
1819
|
-
c.push(`<path d="${
|
|
1818
|
+
let re = V.value.smooth ? `M${h[0].x},${h[0].y} ${n(_)}` : `M${h[0].x},${h[0].y} ${n(te)}`;
|
|
1819
|
+
c.push(`<path d="${re}"
|
|
1820
1820
|
fill="none"
|
|
1821
1821
|
stroke="${e.color}"
|
|
1822
1822
|
stroke-width="${V.value.strokeWidth}"
|
|
1823
1823
|
stroke-linecap="round" />`);
|
|
1824
1824
|
}), i.length && i.forEach((e) => {
|
|
1825
|
-
let r = Array.isArray(e.fullSeries) ? e.fullSeries : e.series, i = Array.from({ length: a }, (e, n) => s(Math.abs(r?.[n] ?? 0) / t[n])),
|
|
1825
|
+
let r = Array.isArray(e.fullSeries) ? e.fullSeries : e.series, i = Array.from({ length: a }, (e, n) => s(Math.abs(r?.[n] ?? 0) / t[n])), l = o.map((e, t) => ({
|
|
1826
1826
|
x: e,
|
|
1827
1827
|
y: i[t]
|
|
1828
|
-
})),
|
|
1828
|
+
})), u = d(l), f = m(l), p = V.value.smooth ? `M${l[0].x},${l[0].y} ${n(u)}` : `M${l[0].x},${l[0].y} ${n(f)}`;
|
|
1829
1829
|
c.push(`<path d="${p}"
|
|
1830
1830
|
fill="none"
|
|
1831
1831
|
stroke="${e.color}"
|
|
@@ -1833,7 +1833,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1833
1833
|
stroke-linecap="round" />`);
|
|
1834
1834
|
}), c.join("");
|
|
1835
1835
|
}
|
|
1836
|
-
let s = lo.value.min, c = lo.value.max,
|
|
1836
|
+
let s = lo.value.min, c = lo.value.max, l = Math.abs(s), u = c + l || 1, f = (t) => Math.max(0, Math.min(e, t)), p = (t) => f(e - e * (((t ?? 0) + l) / u)), h = [];
|
|
1837
1837
|
if (r.length) {
|
|
1838
1838
|
let e = Array(a).fill(0), t = Array(a).fill(0);
|
|
1839
1839
|
r.forEach((r) => {
|
|
@@ -1842,22 +1842,22 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1842
1842
|
let r = i?.[n] ?? 0;
|
|
1843
1843
|
r >= 0 ? (c[n] = e[n], e[n] += r, s[n] = e[n]) : (c[n] = t[n], t[n] += r, s[n] = t[n]);
|
|
1844
1844
|
}
|
|
1845
|
-
let
|
|
1845
|
+
let l = s.map(p), u = c.map(p), f = o.map((e, t) => ({
|
|
1846
1846
|
x: e,
|
|
1847
|
-
y:
|
|
1847
|
+
y: l[t]
|
|
1848
1848
|
})), g = o.map((e, t) => ({
|
|
1849
1849
|
x: e,
|
|
1850
|
-
y:
|
|
1851
|
-
})), _ =
|
|
1850
|
+
y: u[t]
|
|
1851
|
+
})), _ = d(f), ee = d([...g].reverse()), te = m(f), ne = m([...g].reverse()), v = g[g.length - 1];
|
|
1852
1852
|
if (V.value.useArea) {
|
|
1853
|
-
let e = V.value.smooth ? `M${f[0].x},${f[0].y} ${n(_)} L${
|
|
1853
|
+
let e = V.value.smooth ? `M${f[0].x},${f[0].y} ${n(_)} L${v.x},${v.y} ${n(ee)} Z` : `M${f[0].x},${f[0].y} ${n(te)} L${v.x},${v.y} ${n(ne)} Z`;
|
|
1854
1854
|
h.push(`<path d="${e}"
|
|
1855
1855
|
fill="${dn.pattern ? `url(#pattern_${F.value}_${r.absoluteIndex})` : (V.value.gradient.show, r.color)}"
|
|
1856
1856
|
opacity="${V.value.areaOpacity}"
|
|
1857
1857
|
stroke="none" />`);
|
|
1858
1858
|
}
|
|
1859
|
-
let
|
|
1860
|
-
h.push(`<path d="${
|
|
1859
|
+
let re = V.value.smooth ? `M${f[0].x},${f[0].y} ${n(_)}` : `M${f[0].x},${f[0].y} ${n(te)}`;
|
|
1860
|
+
h.push(`<path d="${re}"
|
|
1861
1861
|
fill="none"
|
|
1862
1862
|
stroke="${r.color}"
|
|
1863
1863
|
stroke-width="${V.value.strokeWidth}"
|
|
@@ -1868,7 +1868,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1868
1868
|
let t = (Array.isArray(e.fullSeries) ? e.fullSeries : e.series).map(p), r = o.map((e, n) => ({
|
|
1869
1869
|
x: e,
|
|
1870
1870
|
y: t[n]
|
|
1871
|
-
})), i =
|
|
1871
|
+
})), i = d(r), a = m(r), s = V.value.smooth ? `M${r[0].x},${r[0].y} ${n(i)}` : `M${r[0].x},${r[0].y} ${n(a)}`;
|
|
1872
1872
|
h.push(`<path d="${s}"
|
|
1873
1873
|
fill="none"
|
|
1874
1874
|
stroke="${e.color}"
|
|
@@ -1880,10 +1880,10 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1880
1880
|
let n = V.value, r = n.dataLabels;
|
|
1881
1881
|
return n.showDistributedPercentage && n.distributed ? cr.value ? t === 0 ? !r.hideEmptyPercentages : Math.abs(t) * 100 >= r.hideUnderPercentage : !r.hideEmptyPercentages || Math.abs(t) > 0 : cr.value ? (sr.value && xr.value && console.warn("Vue Data UI - VueUiStackline - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), Math.abs(e) > po.value * r.hideUnderPercentage / 100) : sr.value ? Math.abs(e) >= r.hideUnderValue : !r.hideEmptyValues || e !== 0;
|
|
1882
1882
|
}
|
|
1883
|
-
let po =
|
|
1883
|
+
let po = b(() => Math.max(...X.value.flatMap((e) => e.series)));
|
|
1884
1884
|
function mo(e, n, r, i, a) {
|
|
1885
1885
|
let o = a === -1 && e >= 0 ? -e : e;
|
|
1886
|
-
return
|
|
1886
|
+
return oe(V.value.dataLabels.formatter, o, t({
|
|
1887
1887
|
p: V.value.dataLabels.prefix,
|
|
1888
1888
|
v: o,
|
|
1889
1889
|
s: V.value.dataLabels.suffix,
|
|
@@ -1895,7 +1895,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1895
1895
|
});
|
|
1896
1896
|
}
|
|
1897
1897
|
function ho(e, n, r, i) {
|
|
1898
|
-
return
|
|
1898
|
+
return oe(V.value.dataLabels.formatter, e, t({
|
|
1899
1899
|
v: isNaN(e) ? 0 : e,
|
|
1900
1900
|
s: "%",
|
|
1901
1901
|
r: V.value.dataLabels.rounding
|
|
@@ -1966,14 +1966,14 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1966
1966
|
}
|
|
1967
1967
|
function So(e) {
|
|
1968
1968
|
if (!Number.isFinite(e) || !W.value) return;
|
|
1969
|
-
let t = K.value.left + e * wa.value,
|
|
1970
|
-
|
|
1969
|
+
let t = K.value.left + e * wa.value, r = K.value.top + K.value.height / 2, i = n(t, r, W.value);
|
|
1970
|
+
i && (Bn.value = i);
|
|
1971
1971
|
}
|
|
1972
|
-
let Co =
|
|
1972
|
+
let Co = b(() => ({
|
|
1973
1973
|
headers: Ga.value?.colNames ?? [],
|
|
1974
1974
|
rows: Ga.value?.body ?? []
|
|
1975
1975
|
}));
|
|
1976
|
-
return
|
|
1976
|
+
return Pe({
|
|
1977
1977
|
getData: oo,
|
|
1978
1978
|
getImage: $a,
|
|
1979
1979
|
generatePdf: pr,
|
|
@@ -1993,11 +1993,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
1993
1993
|
publish: !0
|
|
1994
1994
|
}),
|
|
1995
1995
|
setZoomState: _i
|
|
1996
|
-
}), (n, r) => (D(),
|
|
1996
|
+
}), (n, r) => (D(), C("div", {
|
|
1997
1997
|
id: `stackline_${F.value}`,
|
|
1998
1998
|
ref_key: "stacklineChart",
|
|
1999
1999
|
ref: pn,
|
|
2000
|
-
class:
|
|
2000
|
+
class: Qe({
|
|
2001
2001
|
"vue-data-ui-component": !0,
|
|
2002
2002
|
"vue-ui-stackline": !0,
|
|
2003
2003
|
"vue-data-ui-wrapper-fullscreen": xn.value
|
|
@@ -2006,11 +2006,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2006
2006
|
onMouseenter: ir,
|
|
2007
2007
|
onMouseleave: ar
|
|
2008
2008
|
}, [
|
|
2009
|
-
|
|
2009
|
+
w("div", {
|
|
2010
2010
|
id: `chart-instructions-${F.value}`,
|
|
2011
2011
|
class: "sr-only"
|
|
2012
|
-
}, [
|
|
2013
|
-
Co.value?.rows?.length ? (D(),
|
|
2012
|
+
}, [w("p", null, it(L.value.a11y.translations.keyboardNavigation), 1)], 8, dt),
|
|
2013
|
+
Co.value?.rows?.length ? (D(), x(Be, {
|
|
2014
2014
|
key: 0,
|
|
2015
2015
|
uid: F.value,
|
|
2016
2016
|
head: Co.value.headers,
|
|
@@ -2023,8 +2023,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2023
2023
|
"body",
|
|
2024
2024
|
"notice",
|
|
2025
2025
|
"caption"
|
|
2026
|
-
])) :
|
|
2027
|
-
R.value.buttons.annotator ? (D(),
|
|
2026
|
+
])) : S("", !0),
|
|
2027
|
+
R.value.buttons.annotator ? (D(), x(j(rn), {
|
|
2028
2028
|
key: 1,
|
|
2029
2029
|
svgRef: j(W),
|
|
2030
2030
|
backgroundColor: U.value.backgroundColor,
|
|
@@ -2035,11 +2035,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2035
2035
|
onClose: Jn
|
|
2036
2036
|
}, {
|
|
2037
2037
|
"annotator-action-close": M(() => [A(n.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
2038
|
-
"annotator-action-color": M(({ color: e }) => [A(n.$slots, "annotator-action-color", E(
|
|
2039
|
-
"annotator-action-draw": M(({ mode: e }) => [A(n.$slots, "annotator-action-draw", E(
|
|
2040
|
-
"annotator-action-undo": M(({ disabled: e }) => [A(n.$slots, "annotator-action-undo", E(
|
|
2041
|
-
"annotator-action-redo": M(({ disabled: e }) => [A(n.$slots, "annotator-action-redo", E(
|
|
2042
|
-
"annotator-action-delete": M(({ disabled: e }) => [A(n.$slots, "annotator-action-delete", E(
|
|
2038
|
+
"annotator-action-color": M(({ color: e }) => [A(n.$slots, "annotator-action-color", E(T({ color: e })), void 0, !0)]),
|
|
2039
|
+
"annotator-action-draw": M(({ mode: e }) => [A(n.$slots, "annotator-action-draw", E(T({ mode: e })), void 0, !0)]),
|
|
2040
|
+
"annotator-action-undo": M(({ disabled: e }) => [A(n.$slots, "annotator-action-undo", E(T({ disabled: e })), void 0, !0)]),
|
|
2041
|
+
"annotator-action-redo": M(({ disabled: e }) => [A(n.$slots, "annotator-action-redo", E(T({ disabled: e })), void 0, !0)]),
|
|
2042
|
+
"annotator-action-delete": M(({ disabled: e }) => [A(n.$slots, "annotator-action-delete", E(T({ disabled: e })), void 0, !0)]),
|
|
2043
2043
|
_: 3
|
|
2044
2044
|
}, 8, [
|
|
2045
2045
|
"svgRef",
|
|
@@ -2048,21 +2048,21 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2048
2048
|
"active",
|
|
2049
2049
|
"isCursorPointer",
|
|
2050
2050
|
"palette"
|
|
2051
|
-
])) :
|
|
2051
|
+
])) : S("", !0),
|
|
2052
2052
|
A(n.$slots, "userConfig", {}, void 0, !0),
|
|
2053
|
-
hr.value ? (D(),
|
|
2053
|
+
hr.value ? (D(), C("div", {
|
|
2054
2054
|
key: 2,
|
|
2055
2055
|
ref_key: "noTitle",
|
|
2056
2056
|
ref: yn,
|
|
2057
2057
|
class: "vue-data-ui-no-title-space",
|
|
2058
2058
|
style: "height:36px; width: 100%;background:transparent"
|
|
2059
|
-
}, null, 512)) :
|
|
2060
|
-
U.value.title.text ? (D(),
|
|
2059
|
+
}, null, 512)) : S("", !0),
|
|
2060
|
+
U.value.title.text ? (D(), C("div", {
|
|
2061
2061
|
key: 3,
|
|
2062
2062
|
ref_key: "chartTitle",
|
|
2063
2063
|
ref: gn,
|
|
2064
2064
|
style: "width:100%;background:transparent;"
|
|
2065
|
-
}, [(D(),
|
|
2065
|
+
}, [(D(), x(Me, {
|
|
2066
2066
|
key: `title_${Cn.value}`,
|
|
2067
2067
|
config: {
|
|
2068
2068
|
title: {
|
|
@@ -2074,9 +2074,9 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2074
2074
|
...U.value.title.subtitle
|
|
2075
2075
|
}
|
|
2076
2076
|
}
|
|
2077
|
-
}, null, 8, ["config"]))], 512)) :
|
|
2078
|
-
|
|
2079
|
-
R.value.show && fn.value && (j(rr) || j(tr)) ? (D(),
|
|
2077
|
+
}, null, 8, ["config"]))], 512)) : S("", !0),
|
|
2078
|
+
w("div", { id: `legend-top-${F.value}` }, null, 8, ft),
|
|
2079
|
+
R.value.show && fn.value && (j(rr) || j(tr)) ? (D(), x(j(an), {
|
|
2080
2080
|
ref_key: "userOptionsRef",
|
|
2081
2081
|
ref: On,
|
|
2082
2082
|
key: `user_option_${hn.value}`,
|
|
@@ -2116,10 +2116,10 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2116
2116
|
onToggleAnnotator: Jn,
|
|
2117
2117
|
onCopyAlt: _o,
|
|
2118
2118
|
style: $e({ visibility: j(rr) ? j(tr) ? "visible" : "hidden" : "visible" })
|
|
2119
|
-
},
|
|
2119
|
+
}, Ke({ _: 2 }, [
|
|
2120
2120
|
n.$slots.menuIcon ? {
|
|
2121
2121
|
name: "menuIcon",
|
|
2122
|
-
fn: M(({ isOpen: e, color: t }) => [A(n.$slots, "menuIcon", E(
|
|
2122
|
+
fn: M(({ isOpen: e, color: t }) => [A(n.$slots, "menuIcon", E(T({
|
|
2123
2123
|
isOpen: e,
|
|
2124
2124
|
color: t
|
|
2125
2125
|
})), void 0, !0)]),
|
|
@@ -2162,7 +2162,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2162
2162
|
} : void 0,
|
|
2163
2163
|
n.$slots.optionFullscreen ? {
|
|
2164
2164
|
name: "optionFullscreen",
|
|
2165
|
-
fn: M(({ toggleFullscreen: e, isFullscreen: t }) => [A(n.$slots, "optionFullscreen", E(
|
|
2165
|
+
fn: M(({ toggleFullscreen: e, isFullscreen: t }) => [A(n.$slots, "optionFullscreen", E(T({
|
|
2166
2166
|
toggleFullscreen: e,
|
|
2167
2167
|
isFullscreen: t
|
|
2168
2168
|
})), void 0, !0)]),
|
|
@@ -2170,7 +2170,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2170
2170
|
} : void 0,
|
|
2171
2171
|
n.$slots.optionAnnotator ? {
|
|
2172
2172
|
name: "optionAnnotator",
|
|
2173
|
-
fn: M(({ toggleAnnotator: e, isAnnotator: t }) => [A(n.$slots, "optionAnnotator", E(
|
|
2173
|
+
fn: M(({ toggleAnnotator: e, isAnnotator: t }) => [A(n.$slots, "optionAnnotator", E(T({
|
|
2174
2174
|
toggleAnnotator: e,
|
|
2175
2175
|
isAnnotator: t
|
|
2176
2176
|
})), void 0, !0)]),
|
|
@@ -2178,7 +2178,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2178
2178
|
} : void 0,
|
|
2179
2179
|
n.$slots.optionAltCopy ? {
|
|
2180
2180
|
name: "optionAltCopy",
|
|
2181
|
-
fn: M(({ altCopy: e }) => [A(n.$slots, "optionAltCopy", E(
|
|
2181
|
+
fn: M(({ altCopy: e }) => [A(n.$slots, "optionAltCopy", E(T({ altCopy: e })), void 0, !0)]),
|
|
2182
2182
|
key: "10"
|
|
2183
2183
|
} : void 0,
|
|
2184
2184
|
n.$slots["custom-menu-before"] ? {
|
|
@@ -2191,14 +2191,14 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2191
2191
|
fn: M(() => [A(n.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
2192
2192
|
key: "12"
|
|
2193
2193
|
} : void 0
|
|
2194
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
2195
|
-
|
|
2194
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : S("", !0),
|
|
2195
|
+
w("div", pt, [(D(), C("svg", {
|
|
2196
2196
|
ref_key: "svgRef",
|
|
2197
2197
|
ref: W,
|
|
2198
2198
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
2199
|
-
xmlns: j(
|
|
2199
|
+
xmlns: j(ue),
|
|
2200
2200
|
viewBox: `0 0 ${K.value.chartWidth <= 0 ? 10 : K.value.chartWidth} ${K.value.chartHeight <= 0 ? 10 : K.value.chartHeight}`,
|
|
2201
|
-
class:
|
|
2201
|
+
class: Qe({
|
|
2202
2202
|
"vue-data-ui-loading": j(Qn),
|
|
2203
2203
|
"vue-data-ui-fullscreen--on": xn.value,
|
|
2204
2204
|
"vue-data-ui-fulscreen--off": !xn.value,
|
|
@@ -2229,26 +2229,26 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2229
2229
|
onBlur: bo,
|
|
2230
2230
|
onKeydown: xo
|
|
2231
2231
|
}, [
|
|
2232
|
-
|
|
2233
|
-
|
|
2232
|
+
Je(j(on)),
|
|
2233
|
+
w("defs", null, [w("clipPath", { id: `vue_ui_stackline_zoom_clip_${F.value}` }, [w("rect", {
|
|
2234
2234
|
x: K.value.left,
|
|
2235
2235
|
y: K.value.top,
|
|
2236
2236
|
width: Math.max(0, K.value.width),
|
|
2237
2237
|
height: Math.max(0, K.value.height)
|
|
2238
2238
|
}, null, 8, gt)], 8, ht)]),
|
|
2239
|
-
(D(!0),
|
|
2239
|
+
(D(!0), C(y, null, k(Mr.value, (e) => (D(), C(y, null, [n.$slots.pattern ? (D(), C("defs", _t, [A(n.$slots, "pattern", Xe({ ref_for: !0 }, {
|
|
2240
2240
|
seriesIndex: e.absoluteIndex,
|
|
2241
2241
|
patternId: `pattern_${F.value}_${e.absoluteIndex}`
|
|
2242
|
-
}), void 0, !0)])) :
|
|
2243
|
-
n.$slots["chart-background"] ? (D(),
|
|
2242
|
+
}), void 0, !0)])) : S("", !0)], 64))), 256)),
|
|
2243
|
+
n.$slots["chart-background"] ? (D(), C("foreignObject", {
|
|
2244
2244
|
key: 0,
|
|
2245
2245
|
x: Z.value.left,
|
|
2246
2246
|
y: K.value.top,
|
|
2247
2247
|
width: Z.value.width,
|
|
2248
2248
|
height: K.value.height,
|
|
2249
2249
|
style: { pointerEvents: "none" }
|
|
2250
|
-
}, [A(n.$slots, "chart-background", {}, void 0, !0)], 8, vt)) :
|
|
2251
|
-
V.value.gradient.show ? (D(),
|
|
2250
|
+
}, [A(n.$slots, "chart-background", {}, void 0, !0)], 8, vt)) : S("", !0),
|
|
2251
|
+
V.value.gradient.show ? (D(), C("defs", yt, [(D(!0), C(y, null, k(X.value, (e, t) => (D(), x(Le, {
|
|
2252
2252
|
t: "linear",
|
|
2253
2253
|
id: `gradient_${e.id}`,
|
|
2254
2254
|
key: `gradient_${e.id}_${t}`,
|
|
@@ -2262,11 +2262,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2262
2262
|
1
|
|
2263
2263
|
], [
|
|
2264
2264
|
"100%",
|
|
2265
|
-
j(
|
|
2265
|
+
j(o)(e.color, V.value.gradient.intensity / 100),
|
|
2266
2266
|
1
|
|
2267
2267
|
]]
|
|
2268
|
-
}, null, 8, ["id", "stops"]))), 128))])) :
|
|
2269
|
-
B.value.x.showHorizontalLines ? (D(!0),
|
|
2268
|
+
}, null, 8, ["id", "stops"]))), 128))])) : S("", !0),
|
|
2269
|
+
B.value.x.showHorizontalLines ? (D(!0), C(y, { key: 2 }, k(Ni.value, (e, t) => (D(), C("line", {
|
|
2270
2270
|
x1: Z.value.left,
|
|
2271
2271
|
x2: Z.value.right,
|
|
2272
2272
|
y1: e.y,
|
|
@@ -2275,8 +2275,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2275
2275
|
"stroke-width": B.value.x.linesThickness,
|
|
2276
2276
|
"stroke-dasharray": B.value.x.linesStrokeDasharray,
|
|
2277
2277
|
"stroke-linecap": "round"
|
|
2278
|
-
}, null, 8, bt))), 256)) :
|
|
2279
|
-
B.value.y.showVerticalLines ? (D(!0),
|
|
2278
|
+
}, null, 8, bt))), 256)) : S("", !0),
|
|
2279
|
+
B.value.y.showVerticalLines ? (D(!0), C(y, { key: 3 }, k(Y.value.end - Y.value.start, (e, t) => (D(), C("line", {
|
|
2280
2280
|
x1: Ta(t),
|
|
2281
2281
|
x2: Ta(t),
|
|
2282
2282
|
y1: K.value.top,
|
|
@@ -2285,8 +2285,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2285
2285
|
"stroke-width": B.value.y.linesThickness,
|
|
2286
2286
|
"stroke-dasharray": B.value.y.linesStrokeDasharray,
|
|
2287
2287
|
"stroke-linecap": "round"
|
|
2288
|
-
}, null, 8, xt))), 256)) :
|
|
2289
|
-
B.value.x.showAxis ? (D(),
|
|
2288
|
+
}, null, 8, xt))), 256)) : S("", !0),
|
|
2289
|
+
B.value.x.showAxis ? (D(), C("line", {
|
|
2290
2290
|
key: 4,
|
|
2291
2291
|
x1: Z.value.left,
|
|
2292
2292
|
x2: Z.value.right,
|
|
@@ -2296,8 +2296,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2296
2296
|
"stroke-width": B.value.x.axisThickness,
|
|
2297
2297
|
"stroke-linecap": "round",
|
|
2298
2298
|
"stroke-linejoin": "round"
|
|
2299
|
-
}, null, 8, St)) :
|
|
2300
|
-
B.value.y.showAxis && !V.value.distributed ? (D(),
|
|
2299
|
+
}, null, 8, St)) : S("", !0),
|
|
2300
|
+
B.value.y.showAxis && !V.value.distributed ? (D(), C("line", {
|
|
2301
2301
|
key: 5,
|
|
2302
2302
|
x1: Cr.value ? Z.value.right : Z.value.left,
|
|
2303
2303
|
x2: Cr.value ? Z.value.right : Z.value.left,
|
|
@@ -2307,8 +2307,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2307
2307
|
"stroke-width": B.value.y.axisThickness,
|
|
2308
2308
|
"stroke-linecap": "round",
|
|
2309
2309
|
"stroke-linejoin": "round"
|
|
2310
|
-
}, null, 8, Ct)) :
|
|
2311
|
-
B.value.x.axisName.show && B.value.x.axisName.text ? (D(),
|
|
2310
|
+
}, null, 8, Ct)) : S("", !0),
|
|
2311
|
+
B.value.x.axisName.show && B.value.x.axisName.text ? (D(), C("text", {
|
|
2312
2312
|
key: 6,
|
|
2313
2313
|
ref_key: "xAxisLabel",
|
|
2314
2314
|
ref: An,
|
|
@@ -2318,8 +2318,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2318
2318
|
fill: B.value.x.axisName.color,
|
|
2319
2319
|
"font-weight": B.value.x.axisName.bold ? "bold" : "normal",
|
|
2320
2320
|
"text-anchor": "middle"
|
|
2321
|
-
}, it(B.value.x.axisName.text), 9, wt)) :
|
|
2322
|
-
B.value.y.axisName.show && B.value.y.axisName.text ? (D(),
|
|
2321
|
+
}, it(B.value.x.axisName.text), 9, wt)) : S("", !0),
|
|
2322
|
+
B.value.y.axisName.show && B.value.y.axisName.text ? (D(), C("text", {
|
|
2323
2323
|
key: 7,
|
|
2324
2324
|
ref_key: "yAxisLabel",
|
|
2325
2325
|
ref: jn,
|
|
@@ -2328,8 +2328,8 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2328
2328
|
fill: B.value.y.axisName.color,
|
|
2329
2329
|
"font-weight": B.value.y.axisName.bold ? "bold" : "normal",
|
|
2330
2330
|
"text-anchor": "middle"
|
|
2331
|
-
}, it(B.value.y.axisName.text), 9, Tt)) :
|
|
2332
|
-
B.value.frame.show ? (D(),
|
|
2331
|
+
}, it(B.value.y.axisName.text), 9, Tt)) : S("", !0),
|
|
2332
|
+
B.value.frame.show ? (D(), C("rect", {
|
|
2333
2333
|
key: 8,
|
|
2334
2334
|
style: {
|
|
2335
2335
|
pointerEvents: "none",
|
|
@@ -2346,55 +2346,55 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2346
2346
|
"stroke-linecap": B.value.frame.strokeLinecap,
|
|
2347
2347
|
"stroke-linejoin": B.value.frame.strokeLinejoin,
|
|
2348
2348
|
"stroke-dasharray": B.value.frame.strokeDasharray
|
|
2349
|
-
}, null, 8, Et)) :
|
|
2350
|
-
|
|
2351
|
-
class:
|
|
2349
|
+
}, null, 8, Et)) : S("", !0),
|
|
2350
|
+
w("g", { "clip-path": hi.value }, [w("g", {
|
|
2351
|
+
class: Qe(["vue-ui-stackline-zoom-geometry", { "vue-ui-stackline-zoom-geometry--transitioning": Rr.value }]),
|
|
2352
2352
|
style: $e(mi.value)
|
|
2353
|
-
}, [(D(!0),
|
|
2353
|
+
}, [(D(!0), C(y, null, k(X.value, (e) => (D(), C(y, null, [V.value.useArea && !e.standalone ? (D(), C("path", {
|
|
2354
2354
|
key: 0,
|
|
2355
2355
|
d: V.value.smooth ? e.smoothArea : e.straightArea,
|
|
2356
2356
|
fill: n.$slots.pattern ? `url(#pattern_${F.value}_${e.absoluteIndex})` : V.value.gradient.show ? `url(#gradient_${e.id})` : e.color,
|
|
2357
2357
|
opacity: V.value.areaOpacity,
|
|
2358
|
-
class:
|
|
2359
|
-
}, null, 10, Ot)) :
|
|
2358
|
+
class: Qe({ "vue-data-ui-transition": j(Yn) })
|
|
2359
|
+
}, null, 10, Ot)) : S("", !0)], 64))), 256)), (D(!0), C(y, null, k(X.value, (e) => (D(), C("path", {
|
|
2360
2360
|
d: V.value.smooth ? e.smoothPath : e.straightPath,
|
|
2361
2361
|
stroke: V.value.path.useSerieColor ? e.color : V.value.path.stroke,
|
|
2362
2362
|
"stroke-width": V.value.strokeWidth,
|
|
2363
2363
|
fill: "none",
|
|
2364
2364
|
"stroke-linecap": "round",
|
|
2365
|
-
class:
|
|
2365
|
+
class: Qe({ "vue-data-ui-transition": j(Yn) })
|
|
2366
2366
|
}, null, 10, kt))), 256))], 6)], 8, Dt),
|
|
2367
|
-
B.value.y.axisLabels.show && !V.value.distributed ? (D(),
|
|
2367
|
+
B.value.y.axisLabels.show && !V.value.distributed ? (D(), C("g", {
|
|
2368
2368
|
key: 9,
|
|
2369
2369
|
ref_key: "scaleLabels",
|
|
2370
2370
|
ref: Mn
|
|
2371
|
-
}, [(D(!0),
|
|
2371
|
+
}, [(D(!0), C(y, null, k(Ni.value, (e, t) => (D(), C("line", {
|
|
2372
2372
|
key: `ytick_${t}`,
|
|
2373
|
-
class:
|
|
2373
|
+
class: Qe({ "vue-data-ui-transition": j(Yn) }),
|
|
2374
2374
|
x1: Cr.value ? Z.value.right : Z.value.left,
|
|
2375
2375
|
x2: Cr.value ? Z.value.right + 6 : Z.value.left - 6,
|
|
2376
2376
|
y1: e.y,
|
|
2377
2377
|
y2: e.y,
|
|
2378
2378
|
stroke: B.value.x.axisColor,
|
|
2379
2379
|
"stroke-width": 1
|
|
2380
|
-
}, null, 10, At))), 128)), (D(!0),
|
|
2381
|
-
class:
|
|
2380
|
+
}, null, 10, At))), 128)), (D(!0), C(y, null, k(Ni.value, (e, n) => (D(), C("text", {
|
|
2381
|
+
class: Qe({ "vue-data-ui-transition": j(Yn) }),
|
|
2382
2382
|
transform: `translate(${e.x}, ${e.y + B.value.y.axisLabels.fontSize / 3})`,
|
|
2383
2383
|
"font-size": B.value.y.axisLabels.fontSize,
|
|
2384
2384
|
"font-weight": B.value.y.axisLabels.bold ? "bold" : "normal",
|
|
2385
2385
|
fill: B.value.y.axisLabels.color,
|
|
2386
2386
|
"text-anchor": Cr.value ? "start" : "end"
|
|
2387
|
-
}, it(j(
|
|
2387
|
+
}, it(j(oe)(B.value.y.axisLabels.formatter, e.value, j(t)({
|
|
2388
2388
|
p: V.value.dataLabels.prefix,
|
|
2389
2389
|
v: e.value,
|
|
2390
2390
|
s: V.value.dataLabels.suffix,
|
|
2391
2391
|
r: B.value.y.axisLabels.rounding
|
|
2392
|
-
}), { datapoint: e })), 11, jt))), 256))], 512)) :
|
|
2393
|
-
z.value.show ? (D(),
|
|
2392
|
+
}), { datapoint: e })), 11, jt))), 256))], 512)) : S("", !0),
|
|
2393
|
+
z.value.show ? (D(), C("g", {
|
|
2394
2394
|
key: 10,
|
|
2395
2395
|
ref_key: "timeLabelsEls",
|
|
2396
2396
|
ref: Nn
|
|
2397
|
-
}, [n.$slots["time-label"] ? (D(),
|
|
2397
|
+
}, [n.$slots["time-label"] ? (D(), C("g", Mt, [(D(!0), C(y, null, k(Bi.value, (e, t) => (D(), C("g", null, [A(n.$slots, "time-label", Xe({ ref_for: !0 }, {
|
|
2398
2398
|
x: K.value.left + Si.value * t + Si.value / 2,
|
|
2399
2399
|
y: K.value.bottom + B.value.x.timeLabels.fontSize * 1.3 + B.value.x.timeLabels.offsetY,
|
|
2400
2400
|
fontSize: B.value.x.timeLabels.fontSize,
|
|
@@ -2404,7 +2404,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2404
2404
|
content: e.text,
|
|
2405
2405
|
textAnchor: B.value.x.timeLabels.rotation > 0 ? "start" : B.value.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
2406
2406
|
show: !0
|
|
2407
|
-
}), void 0, !0)]))), 256))])) : (D(),
|
|
2407
|
+
}), void 0, !0)]))), 256))])) : (D(), C("g", Nt, [(D(!0), C(y, null, k(Bi.value, (e, t) => (D(), C("g", null, [String(e.text).includes("\n") ? (D(), C("text", {
|
|
2408
2408
|
key: t + "-multi",
|
|
2409
2409
|
"text-anchor": B.value.x.timeLabels.rotation > 0 ? "start" : B.value.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
2410
2410
|
"font-size": B.value.x.timeLabels.fontSize,
|
|
@@ -2426,7 +2426,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2426
2426
|
y: 0
|
|
2427
2427
|
}),
|
|
2428
2428
|
onClick: () => Fa(e, t)
|
|
2429
|
-
}, null, 12, Ft)) : (D(),
|
|
2429
|
+
}, null, 12, Ft)) : (D(), C("text", {
|
|
2430
2430
|
class: "vue-data-ui-time-label",
|
|
2431
2431
|
key: t,
|
|
2432
2432
|
"text-anchor": B.value.x.timeLabels.rotation > 0 ? "start" : B.value.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -2441,23 +2441,23 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2441
2441
|
transform: `translate(${Ta(t)}, ${K.value.bottom + z.value.fontSize * 1.3 + z.value.offsetY}), rotate(${z.value.rotation})`,
|
|
2442
2442
|
style: $e({ cursor: Xn.value ? "pointer" : "default" }),
|
|
2443
2443
|
onClick: () => Fa(e, t)
|
|
2444
|
-
}, it(e.text), 13, Pt))]))), 256))]))], 512)) :
|
|
2445
|
-
(kn.value || ![null, void 0].includes($.value)) && !U.value.highlighter.useLine ? (D(!0),
|
|
2444
|
+
}, it(e.text), 13, Pt))]))), 256))]))], 512)) : S("", !0),
|
|
2445
|
+
(kn.value || ![null, void 0].includes($.value)) && !U.value.highlighter.useLine ? (D(!0), C(y, { key: 11 }, k(Y.value.end - Y.value.start, (e, t) => (D(), C("g", { key: `tooltip_trap_highlighter_${t}` }, [w("rect", {
|
|
2446
2446
|
x: Ea(t).x,
|
|
2447
2447
|
y: K.value.top,
|
|
2448
2448
|
height: K.value.height,
|
|
2449
2449
|
width: Ea(t).width,
|
|
2450
|
-
fill: [Kn.value, $.value].includes(t) ? j(
|
|
2450
|
+
fill: [Kn.value, $.value].includes(t) ? j(c)(U.value.highlighter.color, U.value.highlighter.opacity) : "transparent",
|
|
2451
2451
|
style: {
|
|
2452
2452
|
transition: "none !important",
|
|
2453
2453
|
animation: "none !important"
|
|
2454
2454
|
}
|
|
2455
|
-
}, null, 8, It)]))), 128)) :
|
|
2456
|
-
(kn.value || ![null, void 0].includes($.value)) && U.value.highlighter.useLine ? (D(),
|
|
2455
|
+
}, null, 8, It)]))), 128)) : S("", !0),
|
|
2456
|
+
(kn.value || ![null, void 0].includes($.value)) && U.value.highlighter.useLine ? (D(), C(y, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Kn.value) ? (D(), C("g", Lt, [w("line", {
|
|
2457
2457
|
x1: Ta(($.value ?? Kn.value) || 0),
|
|
2458
2458
|
x2: Ta(($.value ?? Kn.value) || 0),
|
|
2459
|
-
y1: j(
|
|
2460
|
-
y2: j(
|
|
2459
|
+
y1: j(v)(K.value.top),
|
|
2460
|
+
y2: j(v)(K.value.bottom),
|
|
2461
2461
|
stroke: U.value.highlighter.color,
|
|
2462
2462
|
"stroke-width": U.value.highlighter.lineWidth,
|
|
2463
2463
|
"stroke-dasharray": U.value.highlighter.lineDasharray,
|
|
@@ -2467,11 +2467,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2467
2467
|
animation: "none !important",
|
|
2468
2468
|
"pointer-events": "none"
|
|
2469
2469
|
}
|
|
2470
|
-
}, null, 8, Rt)])) :
|
|
2471
|
-
|
|
2472
|
-
class:
|
|
2470
|
+
}, null, 8, Rt)])) : S("", !0)], 64)) : S("", !0),
|
|
2471
|
+
w("g", { "clip-path": hi.value }, [w("g", {
|
|
2472
|
+
class: Qe(["vue-ui-stackline-zoom-geometry", { "vue-ui-stackline-zoom-geometry--transitioning": Rr.value }]),
|
|
2473
2473
|
style: $e(mi.value)
|
|
2474
|
-
}, [(D(!0),
|
|
2474
|
+
}, [(D(!0), C(y, null, k(X.value, (e) => (D(), C(y, { key: `shp_sel_${e.id}` }, [kn.value && Y.value.end - Y.value.start > V.value.dot.hideAboveMaxSerieLength ? (D(), C("g", Bt, [$.value == null ? S("", !0) : (D(), C(y, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[Y.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[Y.value.start + $.value]) ? (D(), x(Ne, {
|
|
2475
2475
|
key: 0,
|
|
2476
2476
|
shape: [
|
|
2477
2477
|
"triangle",
|
|
@@ -2483,14 +2483,14 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2483
2483
|
].includes(e.shape) ? e.shape : "circle",
|
|
2484
2484
|
color: V.value.dot.useSerieColor ? e.color : V.value.dot.fill,
|
|
2485
2485
|
plot: {
|
|
2486
|
-
x: j(
|
|
2487
|
-
y: j(
|
|
2486
|
+
x: j(te)(e.points[e.rel.indexOf($.value)].x),
|
|
2487
|
+
y: j(te)(e.points[e.rel.indexOf($.value)].y)
|
|
2488
2488
|
},
|
|
2489
2489
|
radius: V.value.dot.radius * 1.3,
|
|
2490
2490
|
stroke: V.value.dot.useSerieColor ? V.value.dot.stroke : e.color,
|
|
2491
2491
|
strokeWidth: V.value.dot.strokeWidth,
|
|
2492
2492
|
still: j(Qn),
|
|
2493
|
-
class:
|
|
2493
|
+
class: Qe({ "vue-data-ui-transition": j(Yn) })
|
|
2494
2494
|
}, null, 8, [
|
|
2495
2495
|
"shape",
|
|
2496
2496
|
"color",
|
|
@@ -2500,7 +2500,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2500
2500
|
"strokeWidth",
|
|
2501
2501
|
"still",
|
|
2502
2502
|
"class"
|
|
2503
|
-
])) :
|
|
2503
|
+
])) : S("", !0)], 64))])) : S("", !0)], 64))), 128)), (D(!0), C(y, null, k(X.value, (e) => (D(), C(y, { key: `shp_${e.id}` }, [Y.value.end - Y.value.start < V.value.dot.hideAboveMaxSerieLength ? (D(!0), C(y, { key: 0 }, k(e.points, (t, n) => (D(), C("g", { key: `shp_${e.id}_${Y.value.start + n}` }, [e.fullSeries?.[Y.value.start + e.rel[n]] != null && !Number.isNaN(e.fullSeries?.[Y.value.start + e.rel[n]]) ? (D(), x(Ne, {
|
|
2504
2504
|
key: 0,
|
|
2505
2505
|
shape: [
|
|
2506
2506
|
"triangle",
|
|
@@ -2519,7 +2519,7 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2519
2519
|
stroke: V.value.dot.useSerieColor ? V.value.dot.stroke : e.color,
|
|
2520
2520
|
strokeWidth: V.value.dot.strokeWidth,
|
|
2521
2521
|
still: j(Qn),
|
|
2522
|
-
class:
|
|
2522
|
+
class: Qe({ "vue-data-ui-transition": j(Yn) })
|
|
2523
2523
|
}, null, 8, [
|
|
2524
2524
|
"shape",
|
|
2525
2525
|
"color",
|
|
@@ -2529,29 +2529,29 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2529
2529
|
"strokeWidth",
|
|
2530
2530
|
"still",
|
|
2531
2531
|
"class"
|
|
2532
|
-
])) :
|
|
2533
|
-
G.value.dataLabels.show && V.value.dataLabels.hideAboveMaxSerieLength > Y.value.end - Y.value.start ? (D(),
|
|
2532
|
+
])) : S("", !0)]))), 128)) : S("", !0)], 64))), 128))], 6)], 8, zt),
|
|
2533
|
+
G.value.dataLabels.show && V.value.dataLabels.hideAboveMaxSerieLength > Y.value.end - Y.value.start ? (D(), C(y, { key: 13 }, [(D(!0), C(y, null, k(X.value, (e, t) => (D(), C("g", { key: `dl_${e.id}` }, [(D(!0), C(y, null, k(e.points, (n, r) => (D(), C(y, { key: `dp_${e.id}_${Y.value.start + r}` }, [fo(e.series[r], e.proportions[r]) ? (D(), C("text", {
|
|
2534
2534
|
key: 0,
|
|
2535
|
-
class:
|
|
2535
|
+
class: Qe({ "vue-data-ui-transition": j(Yn) }),
|
|
2536
2536
|
transform: `translate(${n.x}, ${n.y + (e.series[r] >= 0 ? -V.value.dataLabels.fontSize / 2 + V.value.dataLabels.offsetY : V.value.dataLabels.fontSize * 1.2 - V.value.dataLabels.offsetY)})`,
|
|
2537
2537
|
"font-size": V.value.dataLabels.fontSize,
|
|
2538
2538
|
fill: V.value.dataLabels.color,
|
|
2539
2539
|
"font-weight": V.value.dataLabels.bold ? "bold" : "normal",
|
|
2540
2540
|
"text-anchor": "middle"
|
|
2541
|
-
}, it(V.value.showDistributedPercentage && V.value.distributed ? ho(e.proportions[r] * 100, e, t, e.rel[r]) : mo(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 11, Vt)) :
|
|
2541
|
+
}, it(V.value.showDistributedPercentage && V.value.distributed ? ho(e.proportions[r] * 100, e, t, e.rel[r]) : mo(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 11, Vt)) : S("", !0)], 64))), 128))]))), 128)), V.value.totalValues.show && X.value.length > 1 ? (D(), C("g", {
|
|
2542
2542
|
key: 0,
|
|
2543
2543
|
ref_key: "sumTop",
|
|
2544
2544
|
ref: Pn
|
|
2545
|
-
}, [(D(!0),
|
|
2545
|
+
}, [(D(!0), C(y, null, k(Ai.value, (e, t) => (D(), C(y, { key: `total_l_${t + Y.value.start}` }, [!V.value.dataLabels.hideEmptyValues || e.value !== 0 ? (D(), C("text", {
|
|
2546
2546
|
key: 0,
|
|
2547
|
-
class:
|
|
2547
|
+
class: Qe({ "vue-data-ui-transition": j(Yn) }),
|
|
2548
2548
|
transform: `translate(${Ta(t)}, ${Mi(t)})`,
|
|
2549
2549
|
"text-anchor": "middle",
|
|
2550
2550
|
"font-size": V.value.totalValues.fontSize,
|
|
2551
2551
|
"font-weight": V.value.totalValues.bold ? "bold" : "normal",
|
|
2552
2552
|
fill: V.value.totalValues.color
|
|
2553
|
-
}, it(mo(e.value, e, t, t, e.sign)), 11, Ht)) :
|
|
2554
|
-
ca.value ? (D(),
|
|
2553
|
+
}, it(mo(e.value, e, t, t, e.sign)), 11, Ht)) : S("", !0)], 64))), 128))], 512)) : S("", !0)], 64)) : S("", !0),
|
|
2554
|
+
ca.value ? (D(), C("rect", {
|
|
2555
2555
|
key: 14,
|
|
2556
2556
|
x: ca.value.x,
|
|
2557
2557
|
y: ca.value.y,
|
|
@@ -2566,41 +2566,41 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2566
2566
|
"stroke-linecap": "round",
|
|
2567
2567
|
"stroke-linejoin": "round",
|
|
2568
2568
|
"pointer-events": "none"
|
|
2569
|
-
}, null, 8, Ut)) :
|
|
2570
|
-
ti.value ? (D(),
|
|
2569
|
+
}, null, 8, Ut)) : S("", !0),
|
|
2570
|
+
ti.value ? (D(), C("rect", Xe({ key: 15 }, jr.value, {
|
|
2571
2571
|
"data-start": Y.value.start,
|
|
2572
2572
|
"data-end": Y.value.end
|
|
2573
|
-
}), null, 16, Wt)) :
|
|
2573
|
+
}), null, 16, Wt)) : S("", !0),
|
|
2574
2574
|
A(n.$slots, "svg", { svg: {
|
|
2575
2575
|
drawingArea: K.value,
|
|
2576
2576
|
data: X.value,
|
|
2577
2577
|
isPrintingImg: j(dr) || j(fr) || j(Ya),
|
|
2578
2578
|
isPrintingSvg: j(Xa)
|
|
2579
2579
|
} }, void 0, !0)
|
|
2580
|
-
], 46, mt)), n.$slots.hint ? (D(),
|
|
2580
|
+
], 46, mt)), n.$slots.hint ? (D(), C("div", Gt, [A(n.$slots, "hint", E(T({
|
|
2581
2581
|
hint: L.value.a11y.translations.keyboardNavigation,
|
|
2582
2582
|
isVisible: vo.value
|
|
2583
|
-
})), void 0, !0)])) :
|
|
2584
|
-
n.$slots.watermark ? (D(),
|
|
2585
|
-
En.value && (U.value.legend.show || n.$slots.legend) ? (D(),
|
|
2583
|
+
})), void 0, !0)])) : S("", !0)]),
|
|
2584
|
+
n.$slots.watermark ? (D(), C("div", Kt, [A(n.$slots, "watermark", E(T({ isPrinting: j(dr) || j(fr) || j(Ya) || j(Xa) })), void 0, !0)])) : S("", !0),
|
|
2585
|
+
En.value && (U.value.legend.show || n.$slots.legend) ? (D(), x(Ge, {
|
|
2586
2586
|
key: 6,
|
|
2587
2587
|
to: U.value.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
|
|
2588
|
-
}, [
|
|
2588
|
+
}, [w("div", {
|
|
2589
2589
|
ref_key: "chartLegend",
|
|
2590
2590
|
ref: _n
|
|
2591
|
-
}, [A(n.$slots, "legend", { legend: Ra.value }, () => [U.value.legend.show ? (D(),
|
|
2591
|
+
}, [A(n.$slots, "legend", { legend: Ra.value }, () => [U.value.legend.show ? (D(), x(Ue, {
|
|
2592
2592
|
key: 0,
|
|
2593
2593
|
legendSet: Ra.value,
|
|
2594
2594
|
config: za.value,
|
|
2595
2595
|
isCursorPointer: Xn.value,
|
|
2596
2596
|
onClickMarker: r[0] ||= ({ legend: e }) => e.segregate()
|
|
2597
|
-
},
|
|
2598
|
-
item: M(({ legend: e }) => [j(Qn) ?
|
|
2597
|
+
}, Ke({
|
|
2598
|
+
item: M(({ legend: e }) => [j(Qn) ? S("", !0) : (D(), C("div", {
|
|
2599
2599
|
key: 0,
|
|
2600
2600
|
onClick: (t) => e.segregate(),
|
|
2601
2601
|
style: $e(`opacity:${I.value.includes(e.id) ? .5 : 1}`)
|
|
2602
2602
|
}, it(e.name), 13, qt))]),
|
|
2603
|
-
legendToggle: M(() => [Ra.value.length > 2 && U.value.legend.selectAllToggle.show && !j(Qn) ? (D(),
|
|
2603
|
+
legendToggle: M(() => [Ra.value.length > 2 && U.value.legend.selectAllToggle.show && !j(Qn) ? (D(), x(ze, {
|
|
2604
2604
|
key: 0,
|
|
2605
2605
|
backgroundColor: U.value.legend.selectAllToggle.backgroundColor,
|
|
2606
2606
|
color: U.value.legend.selectAllToggle.color,
|
|
@@ -2614,11 +2614,11 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2614
2614
|
"fontSize",
|
|
2615
2615
|
"checked",
|
|
2616
2616
|
"isCursorPointer"
|
|
2617
|
-
])) :
|
|
2617
|
+
])) : S("", !0)]),
|
|
2618
2618
|
_: 2
|
|
2619
2619
|
}, [n.$slots.pattern ? {
|
|
2620
2620
|
name: "legend-pattern",
|
|
2621
|
-
fn: M(({ legend: e, index: t }) => [
|
|
2621
|
+
fn: M(({ legend: e, index: t }) => [Je(Ne, {
|
|
2622
2622
|
shape: e.shape,
|
|
2623
2623
|
radius: 30,
|
|
2624
2624
|
stroke: "none",
|
|
@@ -2633,13 +2633,13 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2633
2633
|
"legendSet",
|
|
2634
2634
|
"config",
|
|
2635
2635
|
"isCursorPointer"
|
|
2636
|
-
])) :
|
|
2637
|
-
fn.value && R.value.buttons.table ? (D(),
|
|
2636
|
+
])) : S("", !0)], !0)], 512)], 8, ["to"])) : S("", !0),
|
|
2637
|
+
fn.value && R.value.buttons.table ? (D(), x(nt(eo.value.component), Xe({ key: 7 }, eo.value.props, {
|
|
2638
2638
|
ref_key: "tableUnit",
|
|
2639
2639
|
ref: Dn,
|
|
2640
2640
|
onClose: to
|
|
2641
|
-
}),
|
|
2642
|
-
content: M(() => [
|
|
2641
|
+
}), Ke({
|
|
2642
|
+
content: M(() => [Je(j(nn), {
|
|
2643
2643
|
colNames: Ga.value.colNames,
|
|
2644
2644
|
head: Ga.value.head,
|
|
2645
2645
|
body: Ga.value.body,
|
|
@@ -2649,12 +2649,12 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2649
2649
|
isCursorPointer: Xn.value,
|
|
2650
2650
|
onClose: to
|
|
2651
2651
|
}, {
|
|
2652
|
-
th: M(({ th: e }) => [e === "__SUM__" ? (D(),
|
|
2652
|
+
th: M(({ th: e }) => [e === "__SUM__" ? (D(), C("div", Jt, [Je(j(en), {
|
|
2653
2653
|
name: "sigma",
|
|
2654
2654
|
stroke: Ga.value.config.th.color,
|
|
2655
2655
|
size: 16
|
|
2656
|
-
}, null, 8, ["stroke"])])) : (D(),
|
|
2657
|
-
td: M(({ td: e }) => [
|
|
2656
|
+
}, null, 8, ["stroke"])])) : (D(), C("div", Yt, it(e), 1))]),
|
|
2657
|
+
td: M(({ td: e }) => [qe(it(isNaN(Number(e)) ? e : j(t)({
|
|
2658
2658
|
p: V.value.dataLabels.prefix,
|
|
2659
2659
|
v: e,
|
|
2660
2660
|
s: V.value.dataLabels.suffix,
|
|
@@ -2673,22 +2673,22 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2673
2673
|
_: 2
|
|
2674
2674
|
}, [L.value.table.useDialog ? {
|
|
2675
2675
|
name: "title",
|
|
2676
|
-
fn: M(() => [
|
|
2676
|
+
fn: M(() => [qe(it(eo.value.title), 1)]),
|
|
2677
2677
|
key: "0"
|
|
2678
2678
|
} : void 0, L.value.table.useDialog ? {
|
|
2679
2679
|
name: "actions",
|
|
2680
|
-
fn: M(() => [
|
|
2680
|
+
fn: M(() => [w("button", {
|
|
2681
2681
|
tabindex: "0",
|
|
2682
2682
|
class: "vue-ui-user-options-button",
|
|
2683
2683
|
onClick: r[1] ||= (e) => Wa(R.value.callbacks.csv),
|
|
2684
2684
|
style: $e({ cursor: Xn.value ? "pointer" : "default" })
|
|
2685
|
-
}, [
|
|
2685
|
+
}, [Je(j(en), {
|
|
2686
2686
|
name: "fileCsv",
|
|
2687
2687
|
stroke: eo.value.props.color
|
|
2688
2688
|
}, null, 8, ["stroke"])], 4)]),
|
|
2689
2689
|
key: "1"
|
|
2690
|
-
} : void 0]), 1040)) :
|
|
2691
|
-
U.value.zoom.show && fn.value && Xi.value && J.value > 6 ? (D(),
|
|
2690
|
+
} : void 0]), 1040)) : S("", !0),
|
|
2691
|
+
U.value.zoom.show && fn.value && Xi.value && J.value > 6 ? (D(), x(Re, {
|
|
2692
2692
|
key: 8,
|
|
2693
2693
|
ref_key: "chartSlicer",
|
|
2694
2694
|
ref: vn,
|
|
@@ -2754,16 +2754,16 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2754
2754
|
onFutureEnd: r[3] ||= (e) => ni("end", e),
|
|
2755
2755
|
onFutureStart: r[4] ||= (e) => ni("start", e)
|
|
2756
2756
|
}, {
|
|
2757
|
-
"reset-action": M(({ reset: e }) => [A(n.$slots, "reset-action", E(
|
|
2758
|
-
slotMap: M(({ width: e, height: t, unitW: n }) => [
|
|
2757
|
+
"reset-action": M(({ reset: e }) => [A(n.$slots, "reset-action", E(T({ reset: e })), void 0, !0)]),
|
|
2758
|
+
slotMap: M(({ width: e, height: t, unitW: n }) => [w("g", { innerHTML: uo({
|
|
2759
2759
|
minimapW: e,
|
|
2760
2760
|
minimapH: t,
|
|
2761
2761
|
unitW: n
|
|
2762
2762
|
}) }, null, 8, Xt)]),
|
|
2763
2763
|
_: 3
|
|
2764
|
-
}, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) :
|
|
2765
|
-
|
|
2766
|
-
|
|
2764
|
+
}, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : S("", !0),
|
|
2765
|
+
w("div", { id: `legend-bottom-${F.value}` }, null, 8, Zt),
|
|
2766
|
+
Je(j($t), {
|
|
2767
2767
|
teleportTo: H.value.teleportTo,
|
|
2768
2768
|
show: G.value.showTooltip && mn.value,
|
|
2769
2769
|
backgroundColor: H.value.backgroundColor,
|
|
@@ -2787,9 +2787,9 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2787
2787
|
isA11yMode: Vn.value === "keyboard",
|
|
2788
2788
|
a11yPosition: Bn.value
|
|
2789
2789
|
}, {
|
|
2790
|
-
"tooltip-before": M(() => [A(n.$slots, "tooltip-before", E(
|
|
2791
|
-
tooltip: M(() => [A(n.$slots, "tooltip", E(
|
|
2792
|
-
"tooltip-after": M(() => [A(n.$slots, "tooltip-after", E(
|
|
2790
|
+
"tooltip-before": M(() => [A(n.$slots, "tooltip-before", E(T({ ...Ji.value })), void 0, !0)]),
|
|
2791
|
+
tooltip: M(() => [A(n.$slots, "tooltip", E(T({ ...Ji.value })), void 0, !0)]),
|
|
2792
|
+
"tooltip-after": M(() => [A(n.$slots, "tooltip-after", E(T({ ...Ji.value })), void 0, !0)]),
|
|
2793
2793
|
_: 3
|
|
2794
2794
|
}, 8, [
|
|
2795
2795
|
"teleportTo",
|
|
@@ -2815,13 +2815,13 @@ var lt = /* @__PURE__ */ e({ default: () => $t }), ut = ["id"], dt = ["id"], ft
|
|
|
2815
2815
|
"isA11yMode",
|
|
2816
2816
|
"a11yPosition"
|
|
2817
2817
|
]),
|
|
2818
|
-
n.$slots.source ? (D(),
|
|
2818
|
+
n.$slots.source ? (D(), C("div", {
|
|
2819
2819
|
key: 9,
|
|
2820
2820
|
ref_key: "source",
|
|
2821
2821
|
ref: bn,
|
|
2822
2822
|
dir: "auto"
|
|
2823
|
-
}, [A(n.$slots, "source", {}, void 0, !0)], 512)) :
|
|
2824
|
-
A(n.$slots, "skeleton", {}, () => [j(Qn) ? (D(),
|
|
2823
|
+
}, [A(n.$slots, "source", {}, void 0, !0)], 512)) : S("", !0),
|
|
2824
|
+
A(n.$slots, "skeleton", {}, () => [j(Qn) ? (D(), x(we, { key: 0 })) : S("", !0)], !0)
|
|
2825
2825
|
], 46, ut));
|
|
2826
2826
|
}
|
|
2827
2827
|
}, [["__scopeId", "data-v-d6f07339"]]);
|