vue-data-ui 2.6.30 → 2.6.31
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-P-MV7QP4.cjs → Arrow-DlzoZbyy.cjs} +1 -1
- package/dist/{Arrow-BRX5QREB.js → Arrow-P8JQ180M.js} +1 -1
- package/dist/{BaseIcon-C4DFWCPQ.js → BaseIcon-AmoKryXo.js} +1 -1
- package/dist/{BaseIcon-D6N5NtS_.cjs → BaseIcon-q0bEOOzl.cjs} +1 -1
- package/dist/{DataTable-CtmSPqq3.js → DataTable-B4YF6guk.js} +2 -2
- package/dist/{DataTable-BQev_mkM.cjs → DataTable-DL8_xKlk.cjs} +1 -1
- package/dist/{Legend-CnjPrxu7.js → Legend-BMXzxIhA.js} +2 -2
- package/dist/{Legend-BWGGSzzL.cjs → Legend-tU5gqFrZ.cjs} +1 -1
- package/dist/{PackageVersion-nCHRrr8B.cjs → PackageVersion-DHtx9fnE.cjs} +1 -1
- package/dist/{PackageVersion-BqivyRli.js → PackageVersion-DcMafJMi.js} +1 -1
- package/dist/{PenAndPaper-DnAMv6UG.cjs → PenAndPaper-DPoMEHE6.cjs} +1 -1
- package/dist/{PenAndPaper-CkSxK8EU.js → PenAndPaper-ljJaW1FE.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-Ct4MZLWW.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-B-psJjxF.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-CvYiOyf0.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-CF1vjG1v.js} +3 -3
- package/dist/{Shape-cqkzw4S8.js → Shape-Bs9E3f4-.js} +1 -1
- package/dist/{Shape-B6FwaN9w.cjs → Shape-C_rBdSHr.cjs} +1 -1
- package/dist/{Slicer-DNdHNpQI.cjs → Slicer-9-SDSvre.cjs} +1 -1
- package/dist/{Slicer-DKa09VYX.js → Slicer-qokIr-TL.js} +2 -2
- package/dist/{Title-B2U8Vwbr.js → Title-BwZtefYd.js} +1 -1
- package/dist/{Title-BTVFor-3.cjs → Title-CsERtJKI.cjs} +1 -1
- package/dist/{Tooltip-BAREkrGW.cjs → Tooltip-C06-4zGf.cjs} +1 -1
- package/dist/{Tooltip-BoEfXPUr.js → Tooltip-eCCz9HFo.js} +1 -1
- package/dist/{index-DE2bSxF0.js → index-CHWA6Lnw.js} +3 -1
- package/dist/index-_gyicZFE.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -0
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useNestedProp-CO_r2Hl_.cjs → useNestedProp-BJQoarHp.cjs} +1 -1
- package/dist/{useNestedProp-BHQyCZVK.js → useNestedProp-ByBiJC9_.js} +1 -1
- package/dist/{usePrinter-CgDYkKfY.cjs → usePrinter-BRTNfg7r.cjs} +1 -1
- package/dist/{usePrinter-I_7yI4nF.js → usePrinter-DibtVl2x.js} +1 -1
- package/dist/{vue-data-ui-B7ugrnFy.js → vue-data-ui-JGaDyjOa.js} +61 -61
- package/dist/{vue-data-ui-iYl-xVMm.cjs → vue-data-ui-NwBkWKwf.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DR6Ja85o.cjs → vue-ui-3d-bar-DbmbJ68T.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-DMUqZWxd.js → vue-ui-3d-bar-nYsGYklC.js} +9 -9
- package/dist/{vue-ui-accordion-DSWAoyYy.cjs → vue-ui-accordion-8mzPx86h.cjs} +1 -1
- package/dist/{vue-ui-accordion-CAYrK0AD.js → vue-ui-accordion-gHGrRoVr.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DNzvCd0F.js → vue-ui-age-pyramid-BpGOmhzz.js} +10 -10
- package/dist/{vue-ui-age-pyramid-DeP3lyDF.cjs → vue-ui-age-pyramid-DLRaoIRm.cjs} +1 -1
- package/dist/{vue-ui-annotator-BAdmhVtS.js → vue-ui-annotator-CjM5ctaG.js} +1 -1
- package/dist/{vue-ui-annotator-BmOIg-Ft.cjs → vue-ui-annotator-DhJ0ivNn.cjs} +1 -1
- package/dist/{vue-ui-bullet-DMYIXQFC.js → vue-ui-bullet-DJvBVKjg.js} +8 -8
- package/dist/{vue-ui-bullet-CA8DrZNY.cjs → vue-ui-bullet-R702Xv5R.cjs} +1 -1
- package/dist/{vue-ui-candlestick-ChL6Hz8x.js → vue-ui-candlestick-5cmDQiwo.js} +11 -11
- package/dist/{vue-ui-candlestick-mMCn6J9b.cjs → vue-ui-candlestick-DCBBy4C8.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BpjBdxQg.cjs → vue-ui-carousel-table-CkGU0B6s.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CoYO6jw3.js → vue-ui-carousel-table-meUcOS-A.js} +4 -4
- package/dist/{vue-ui-chestnut-DWz1CQ42.cjs → vue-ui-chestnut-C-GeGI6H.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CsvNioev.js → vue-ui-chestnut-C6DlvXs9.js} +8 -8
- package/dist/{vue-ui-circle-pack-C6xn7Wea.js → vue-ui-circle-pack-3zIDTUNF.js} +9 -9
- package/dist/{vue-ui-circle-pack-okahjhJZ.cjs → vue-ui-circle-pack-mZPZZ3IN.cjs} +1 -1
- package/dist/{vue-ui-cursor-BBBQuZ4O.js → vue-ui-cursor-B-mv_xEC.js} +2 -2
- package/dist/{vue-ui-cursor-Cc_ltPTZ.cjs → vue-ui-cursor-DOTfG9P-.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Cbg-Nrjo.cjs → vue-ui-dashboard-BLKM20n8.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DQwLolfb.js → vue-ui-dashboard-i5ysWN1s.js} +2 -2
- package/dist/{vue-ui-digits--alL40K7.cjs → vue-ui-digits-B-LNRFDc.cjs} +1 -1
- package/dist/{vue-ui-digits-Cz26Uc8Y.js → vue-ui-digits-B8crXGKw.js} +2 -2
- package/dist/{vue-ui-donut-D2GpXD47.cjs → vue-ui-donut-CdhiYoyd.cjs} +1 -1
- package/dist/{vue-ui-donut-DnWEzuwO.js → vue-ui-donut-_RwrFzJe.js} +12 -12
- package/dist/{vue-ui-donut-evolution-DyIF2r5a.cjs → vue-ui-donut-evolution-Byaufydi.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CQNZ5_sE.js → vue-ui-donut-evolution-BynR7yrN.js} +11 -11
- package/dist/{vue-ui-dumbbell-CqAV79yJ.cjs → vue-ui-dumbbell-B5z4t3b-.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DlzCrhkR.js → vue-ui-dumbbell-o86706ds.js} +10 -10
- package/dist/{vue-ui-flow-q4-5ZIPV.js → vue-ui-flow-BkjQ5DxV.js} +9 -9
- package/dist/{vue-ui-flow-Crh83Qsy.cjs → vue-ui-flow-DepnWmwK.cjs} +1 -1
- package/dist/{vue-ui-funnel-DbPvFn75.cjs → vue-ui-funnel-CoyfIA1Y.cjs} +1 -1
- package/dist/{vue-ui-funnel-sa_ic8K7.js → vue-ui-funnel-Dj7-Wzf2.js} +9 -9
- package/dist/{vue-ui-galaxy-BEWvtIRO.cjs → vue-ui-galaxy-DOzFYtp0.cjs} +1 -1
- package/dist/{vue-ui-galaxy-e4vLdstV.js → vue-ui-galaxy-n9zXvOd-.js} +11 -11
- package/dist/{vue-ui-gauge-KSkSXPcl.js → vue-ui-gauge-BPpaze3S.js} +7 -7
- package/dist/{vue-ui-gauge-B3pGxgCP.cjs → vue-ui-gauge-DrTs5UqB.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DPz1e1Pn.js → vue-ui-gizmo-CTmN8V32.js} +3 -3
- package/dist/{vue-ui-gizmo-dPb1eIC_.cjs → vue-ui-gizmo-DJxRFhVW.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BCdMmkey.cjs → vue-ui-heatmap-JYG2Pn3A.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BylnOSx4.js → vue-ui-heatmap-ljQkIdZn.js} +10 -10
- package/dist/{vue-ui-history-plot-B-8xlbH5.js → vue-ui-history-plot-CQx5XlN1.js} +11 -11
- package/dist/{vue-ui-history-plot-BpA-FDre.cjs → vue-ui-history-plot-Ul0TT4Wf.cjs} +1 -1
- package/dist/{vue-ui-kpi-EDKBcrjT.cjs → vue-ui-kpi--LMVG67F.cjs} +1 -1
- package/dist/{vue-ui-kpi-B5JI7-k3.js → vue-ui-kpi-BfCuGNby.js} +3 -3
- package/dist/{vue-ui-mini-loader-CRgvvMRU.js → vue-ui-mini-loader-BqpELr7O.js} +2 -2
- package/dist/{vue-ui-mini-loader-DXQwFL4h.cjs → vue-ui-mini-loader-cJg8IvUw.cjs} +1 -1
- package/dist/{vue-ui-molecule-Hpk9kuI6.js → vue-ui-molecule-Bv_Pe_8Q.js} +10 -10
- package/dist/{vue-ui-molecule-CytuHtHf.cjs → vue-ui-molecule-YDA7UdtF.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-N37metQ4.js → vue-ui-mood-radar-CcykgM0n.js} +11 -11
- package/dist/{vue-ui-mood-radar-DxID-zjc.cjs → vue-ui-mood-radar-hKh_tnq2.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CHCGjXVS.js → vue-ui-nested-donuts-BWcLao-y.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BRjDOd7g.cjs → vue-ui-nested-donuts-Cix5WlV9.cjs} +1 -1
- package/dist/{vue-ui-onion-CKKTTslN.cjs → vue-ui-onion-Cgo2ZVwO.cjs} +1 -1
- package/dist/{vue-ui-onion-CoGjkMfb.js → vue-ui-onion-D6iR8PW6.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-Bsj1hG9n.cjs → vue-ui-parallel-coordinate-plot-Bm-oID-Y.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CZ1tXiBt.js → vue-ui-parallel-coordinate-plot-DEE9ou_Q.js} +12 -12
- package/dist/{vue-ui-quadrant-B4hgp2L3.js → vue-ui-quadrant-CZQJGEbA.js} +12 -12
- package/dist/{vue-ui-quadrant-KdLhXJ3m.cjs → vue-ui-quadrant-DhSD6jGf.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-N_eJnDW6.js → vue-ui-quick-chart-BX3hOGEG.js} +383 -379
- package/dist/vue-ui-quick-chart-GTYfOv6C.cjs +15 -0
- package/dist/{vue-ui-radar-ZXIMhCkZ.js → vue-ui-radar-BIGFuJe_.js} +12 -12
- package/dist/{vue-ui-radar-twbtmUQD.cjs → vue-ui-radar-CRhU6BWh.cjs} +1 -1
- package/dist/{vue-ui-rating-C6jmzGUv.cjs → vue-ui-rating-BSGT8Rew.cjs} +1 -1
- package/dist/{vue-ui-rating-C7umC2uJ.js → vue-ui-rating-CSR7_gV-.js} +2 -2
- package/dist/{vue-ui-relation-circle-D7ZGLDM8.js → vue-ui-relation-circle-JEjpgv8I.js} +7 -7
- package/dist/{vue-ui-relation-circle-CfLFpg-g.cjs → vue-ui-relation-circle-tZFvSMa1.cjs} +1 -1
- package/dist/{vue-ui-rings-jG4HLDJP.cjs → vue-ui-rings-C-i8ANyb.cjs} +1 -1
- package/dist/{vue-ui-rings-JoztQMIx.js → vue-ui-rings-DoNQjBvE.js} +12 -12
- package/dist/{vue-ui-scatter-DdqfEkrJ.js → vue-ui-scatter-CW2fwwda.js} +12 -12
- package/dist/{vue-ui-scatter-CqN7H-oc.cjs → vue-ui-scatter-_WWbvZen.cjs} +1 -1
- package/dist/{vue-ui-screenshot-_es5a1Ip.js → vue-ui-screenshot-B95FU-Gc.js} +1 -1
- package/dist/{vue-ui-screenshot-66ruM9o7.cjs → vue-ui-screenshot-DfIuMlBS.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B_hsPdj7.js → vue-ui-skeleton-BSUFPx4a.js} +3 -3
- package/dist/{vue-ui-skeleton-HPhNvL89.cjs → vue-ui-skeleton-KlT3Rmkn.cjs} +1 -1
- package/dist/{vue-ui-smiley-9la7pNZe.cjs → vue-ui-smiley-CfLGqmi5.cjs} +1 -1
- package/dist/{vue-ui-smiley-lGPkS7Pk.js → vue-ui-smiley-qDBRPyDQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-9AUVAX8V.js → vue-ui-spark-trend-BSpnjX1o.js} +5 -5
- package/dist/{vue-ui-spark-trend-Dgf1z038.cjs → vue-ui-spark-trend-S4a2SDhB.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-edNM1lrk.cjs → vue-ui-sparkbar-CTLSRwph.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C3HFtQ64.js → vue-ui-sparkbar-CrTC1o2D.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B3zteFe-.cjs → vue-ui-sparkgauge-CEOGh__Q.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-_vAX9ilP.js → vue-ui-sparkgauge-CXN-HNq2.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-fvO1g3HF.js → vue-ui-sparkhistogram-B_lhpWvH.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CrYI72qk.cjs → vue-ui-sparkhistogram-p7VmC6Jh.cjs} +1 -1
- package/dist/{vue-ui-sparkline-pYxMgfR1.js → vue-ui-sparkline-D9ETPDKl.js} +4 -4
- package/dist/{vue-ui-sparkline-Clmiz5UH.cjs → vue-ui-sparkline-FWL-fTwQ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CPCVqziv.cjs → vue-ui-sparkstackbar-DtWHuAGZ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-Dk8T_zu4.js → vue-ui-sparkstackbar-QxbvlLet.js} +5 -5
- package/dist/{vue-ui-stackbar-Pot5g_fX.cjs → vue-ui-stackbar-CnXEfFH0.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DfL5KJhM.js → vue-ui-stackbar-lsjnigfJ.js} +13 -13
- package/dist/{vue-ui-strip-plot-B1xJcSIQ.cjs → vue-ui-strip-plot-D-wDSHF4.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-yRx1AVSK.js → vue-ui-strip-plot-D39kSpeQ.js} +11 -11
- package/dist/{vue-ui-table-D4-uugt1.cjs → vue-ui-table-C4ViP9oJ.cjs} +1 -1
- package/dist/{vue-ui-table-u-DH9XHp.js → vue-ui-table-h-SNgy2Q.js} +1 -1
- package/dist/{vue-ui-table-heatmap-C49jQMKn.cjs → vue-ui-table-heatmap-CeEQjHdT.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DAlMrdv8.js → vue-ui-table-heatmap-ClhJSmyw.js} +4 -4
- package/dist/{vue-ui-table-sparkline-B8zhGjPZ.cjs → vue-ui-table-sparkline-DLt4efL6.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DchPkw-Y.js → vue-ui-table-sparkline-RFOlGtum.js} +5 -5
- package/dist/{vue-ui-thermometer-D7NbjsPR.cjs → vue-ui-thermometer-C9H37a-g.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DlQvn5wd.js → vue-ui-thermometer-CE6mLojO.js} +7 -7
- package/dist/{vue-ui-timer-BRKYn8pW.cjs → vue-ui-timer-BCnbpogm.cjs} +1 -1
- package/dist/{vue-ui-timer-D-SOK3Pe.js → vue-ui-timer-Bdq6_32v.js} +5 -5
- package/dist/{vue-ui-tiremarks-CpxW1Gkn.js → vue-ui-tiremarks-CaqziySq.js} +7 -7
- package/dist/{vue-ui-tiremarks-BJFHrHRq.cjs → vue-ui-tiremarks-CdOzGAzN.cjs} +1 -1
- package/dist/{vue-ui-treemap-6Eapt8sp.cjs → vue-ui-treemap-BH7r2blb.cjs} +1 -1
- package/dist/{vue-ui-treemap-BDEHEI-i.js → vue-ui-treemap-fuhipZma.js} +11 -11
- package/dist/{vue-ui-vertical-bar-CQ8w4eMb.js → vue-ui-vertical-bar-ByHpElpA.js} +12 -12
- package/dist/{vue-ui-vertical-bar-CDQDRIPf.cjs → vue-ui-vertical-bar-DnUrxS2t.cjs} +1 -1
- package/dist/{vue-ui-waffle-DLrrEJd7.cjs → vue-ui-waffle-CURVbAVs.cjs} +1 -1
- package/dist/{vue-ui-waffle-wJu-mO9q.js → vue-ui-waffle-D7Y55F5z.js} +12 -12
- package/dist/{vue-ui-wheel-COmmZvTx.js → vue-ui-wheel-DjGKyAh5.js} +7 -7
- package/dist/{vue-ui-wheel-BC0uDg6d.cjs → vue-ui-wheel-KCxiG6Xt.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CUMT9ZEB.js → vue-ui-word-cloud-CVTb20DJ.js} +10 -10
- package/dist/{vue-ui-word-cloud-96YYNdwX.cjs → vue-ui-word-cloud-H0hw5gjm.cjs} +1 -1
- package/dist/{vue-ui-xy-6mSAgv8G.js → vue-ui-xy-C80BPN7E.js} +14 -14
- package/dist/{vue-ui-xy-BQKH0C34.cjs → vue-ui-xy-DnsJUjcc.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-CZgVdBJ8.js → vue-ui-xy-canvas-BEx7_7h7.js} +12 -12
- package/dist/{vue-ui-xy-canvas-4_7tSROk.cjs → vue-ui-xy-canvas-BcUjj3X8.cjs} +1 -1
- package/package.json +2 -2
- package/dist/index-rvnEQA3z.cjs +0 -9
- package/dist/vue-ui-quick-chart-D3nP3bLw.cjs +0 -15
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ref as L, computed as B, watch as
|
|
2
|
-
import { u as zt, c as Lt, t as $t, p as q, a as Ct, C as
|
|
3
|
-
import { t as
|
|
4
|
-
import
|
|
5
|
-
import { _ as
|
|
6
|
-
import { u as Ut, U as Bt } from "./usePrinter-
|
|
7
|
-
import { S as Dt } from "./Slicer-
|
|
8
|
-
import Vt from "./vue-ui-skeleton-
|
|
9
|
-
import { u as rt } from "./useNestedProp-
|
|
10
|
-
import { _ as qt } from "./PackageVersion-
|
|
11
|
-
import { P as Wt } from "./PenAndPaper-
|
|
1
|
+
import { ref as L, computed as B, watch as Ne, onMounted as wt, onBeforeUnmount as At, nextTick as Ie, createElementBlock as l, openBlock as a, normalizeStyle as M, normalizeClass as ve, createBlock as Ee, createCommentVNode as f, createVNode as de, unref as g, createSlots as _t, withCtx as X, renderSlot as N, normalizeProps as ae, guardReactiveProps as le, toDisplayString as O, createElementVNode as _, Fragment as m, renderList as $, mergeProps as Fe } from "vue";
|
|
2
|
+
import { u as zt, c as Lt, t as $t, p as q, a as Ct, C as nt, b as It, J as Et, e as Pt, d as Ue, m as Ot, D as it, X as Tt, j as Rt, k as Be, n as ke, i as Z, f as D, S as ut, v as Y, x as Pe, y as De } from "./index-CHWA6Lnw.js";
|
|
3
|
+
import { t as Mt, u as Nt } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
+
import Oe from "./BaseIcon-AmoKryXo.js";
|
|
5
|
+
import { _ as Ft } from "./Tooltip-eCCz9HFo.js";
|
|
6
|
+
import { u as Ut, U as Bt } from "./usePrinter-DibtVl2x.js";
|
|
7
|
+
import { S as Dt } from "./Slicer-qokIr-TL.js";
|
|
8
|
+
import Vt from "./vue-ui-skeleton-BSUFPx4a.js";
|
|
9
|
+
import { u as rt } from "./useNestedProp-ByBiJC9_.js";
|
|
10
|
+
import { _ as qt } from "./PackageVersion-DcMafJMi.js";
|
|
11
|
+
import { P as Wt } from "./PenAndPaper-ljJaW1FE.js";
|
|
12
12
|
import { u as Ht } from "./useChartAccessibility-BWojgys7.js";
|
|
13
13
|
import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const A = {
|
|
@@ -17,23 +17,23 @@ const A = {
|
|
|
17
17
|
DONUT: "DONUT"
|
|
18
18
|
}, Gt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
19
19
|
function Xt({ dataset: c, barLineSwitch: C = 6 }) {
|
|
20
|
-
let
|
|
21
|
-
if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), be(c) && (
|
|
20
|
+
let y = null, F = null, T = 0;
|
|
21
|
+
if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), be(c) && (J(c) && (c.length < C ? y = A.BAR : y = A.LINE, F = c, T = c.length), Te(c))) {
|
|
22
22
|
if (!Yt(c))
|
|
23
23
|
return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
24
|
-
const
|
|
25
|
-
if (!
|
|
24
|
+
const ne = Object.keys(c[0]), ce = Object.values(c[0]);
|
|
25
|
+
if (!ne.some((E) => Jt(E)))
|
|
26
26
|
return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
|
|
27
|
-
st(ce, (E) => typeof E == "number") && (
|
|
27
|
+
st(ce, (E) => typeof E == "number") && (y = A.DONUT, F = c), st(ce, (E) => Array.isArray(E) && J(E)) && (vt(c) > C ? y = A.LINE : y = A.BAR, T = vt(c), F = c.map((E) => ({
|
|
28
28
|
...E,
|
|
29
|
-
data: Qt(E, (j) =>
|
|
30
|
-
}))), c = c.map((E) => dt(E)),
|
|
29
|
+
data: Qt(E, (j) => J(j))
|
|
30
|
+
}))), c = c.map((E) => dt(E)), F = F.map((E) => dt(E));
|
|
31
31
|
}
|
|
32
|
-
return be(c) && [...new Set(c.flatMap((
|
|
32
|
+
return be(c) && [...new Set(c.flatMap((ne) => Array.isArray(ne)))][0], {
|
|
33
33
|
dataset: c,
|
|
34
|
-
type:
|
|
35
|
-
usableDataset:
|
|
36
|
-
maxSeriesLength:
|
|
34
|
+
type: y,
|
|
35
|
+
usableDataset: F,
|
|
36
|
+
maxSeriesLength: T
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
function ct(c) {
|
|
@@ -42,20 +42,20 @@ function ct(c) {
|
|
|
42
42
|
function be(c) {
|
|
43
43
|
return Array.isArray(c);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function J(c) {
|
|
46
46
|
if (!be(c) || ct(c)) return !1;
|
|
47
|
-
const C = c.map((
|
|
48
|
-
return ![...new Set(C.flatMap((
|
|
47
|
+
const C = c.map((y) => Number(y));
|
|
48
|
+
return ![...new Set(C.flatMap((y) => typeof y == "number" && !isNaN(y)))].includes(!1);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return !be(c) || ct(c) || !![...new Set(c.flatMap((
|
|
50
|
+
function Te(c) {
|
|
51
|
+
return !be(c) || ct(c) || !![...new Set(c.flatMap((y) => typeof y == "object" && !Array.isArray(y)))].includes(!1) ? !1 : !c.map((y) => Object.keys(y).length > 0).includes(!1);
|
|
52
52
|
}
|
|
53
53
|
function Zt(c, C) {
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
54
|
+
const y = Object.keys(c).sort(), F = Object.keys(C).sort();
|
|
55
|
+
if (y.length !== F.length)
|
|
56
56
|
return !1;
|
|
57
|
-
for (let
|
|
58
|
-
const H =
|
|
57
|
+
for (let T = 0; T < y.length; T += 1) {
|
|
58
|
+
const H = y[T], oe = F[T];
|
|
59
59
|
if (H !== oe || typeof c[H] != typeof C[oe])
|
|
60
60
|
return !1;
|
|
61
61
|
}
|
|
@@ -64,8 +64,8 @@ function Zt(c, C) {
|
|
|
64
64
|
function Yt(c) {
|
|
65
65
|
if (c.length <= 1) return !0;
|
|
66
66
|
for (let C = 0; C < c.length; C += 1)
|
|
67
|
-
for (let
|
|
68
|
-
if (!Zt(c[C], c[
|
|
67
|
+
for (let y = C + 1; y < c.length; y += 1)
|
|
68
|
+
if (!Zt(c[C], c[y]))
|
|
69
69
|
return !1;
|
|
70
70
|
return !0;
|
|
71
71
|
}
|
|
@@ -73,24 +73,24 @@ function Jt(c) {
|
|
|
73
73
|
return Gt.includes(c.toUpperCase());
|
|
74
74
|
}
|
|
75
75
|
function st(c, C) {
|
|
76
|
-
let
|
|
77
|
-
for (let
|
|
78
|
-
|
|
79
|
-
return
|
|
76
|
+
let y = [];
|
|
77
|
+
for (let F = 0; F < c.length; F += 1)
|
|
78
|
+
y.push(C(c[F]));
|
|
79
|
+
return y.includes(!0);
|
|
80
80
|
}
|
|
81
81
|
function vt(c) {
|
|
82
|
-
return Math.max(...[...c].flatMap((C) => Object.values(C).filter((
|
|
82
|
+
return Math.max(...[...c].flatMap((C) => Object.values(C).filter((y) => J(y)).map((y) => y.length)));
|
|
83
83
|
}
|
|
84
84
|
function Qt(c, C) {
|
|
85
|
-
return Object.values(c).filter((
|
|
85
|
+
return Object.values(c).filter((y) => C(y))[0];
|
|
86
86
|
}
|
|
87
87
|
function dt(c) {
|
|
88
88
|
const C = {};
|
|
89
|
-
for (let
|
|
90
|
-
c.hasOwnProperty(
|
|
89
|
+
for (let y in c)
|
|
90
|
+
c.hasOwnProperty(y) && (C[y.toUpperCase()] = c[y]);
|
|
91
91
|
return C;
|
|
92
92
|
}
|
|
93
|
-
const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"], aa = ["x", "y", "width", "height"], la = ["width", "height"], oa = ["id"],
|
|
93
|
+
const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"], aa = ["x", "y", "width", "height"], la = ["width", "height"], oa = ["id"], na = ["id"], ia = ["id"], ua = ["flood-color"], ra = {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: "donut-label-connectors"
|
|
96
96
|
}, sa = ["d", "stroke", "stroke-width", "filter"], va = ["cx", "cy", "r", "fill", "filter"], da = { class: "donut" }, ca = ["d", "fill", "stroke", "stroke-width", "filter"], ha = ["d", "onMouseenter", "onClick"], fa = {
|
|
@@ -111,7 +111,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
111
111
|
}, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x", "y", "font-size", "fill"], Ia = {
|
|
112
112
|
key: 3,
|
|
113
113
|
class: "periodLabels"
|
|
114
|
-
}, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"],
|
|
114
|
+
}, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["font-size", "text-anchor", "fill", "transform"], Oa = { class: "plots" }, Ta = { class: "line-plot-series" }, Ra = ["d", "stroke", "stroke-width"], Ma = ["d", "stroke", "stroke-width"], Na = ["d", "stroke", "stroke-width"], Fa = ["d", "stroke", "stroke-width"], Ua = ["cx", "cy", "fill", "stroke"], Ba = {
|
|
115
115
|
key: 4,
|
|
116
116
|
class: "dataLabels"
|
|
117
117
|
}, Da = ["font-size", "fill", "x", "y"], Va = { class: "tooltip-traps" }, qa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Wa = {
|
|
@@ -126,7 +126,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
126
126
|
}, Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = ["x", "y", "font-size", "fill"], Ka = {
|
|
127
127
|
key: 3,
|
|
128
128
|
class: "periodLabels"
|
|
129
|
-
}, el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["font-size", "text-anchor", "transform", "fill"], al = { class: "plots" }, ll = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], ol = ["to"],
|
|
129
|
+
}, el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["font-size", "text-anchor", "transform", "fill"], al = { class: "plots" }, ll = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], ol = ["to"], nl = ["from", "to"], il = {
|
|
130
130
|
key: 4,
|
|
131
131
|
class: "dataLabels"
|
|
132
132
|
}, ul = ["x", "y", "font-size", "fill"], rl = { class: "tooltip-traps" }, sl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], vl = {
|
|
@@ -155,8 +155,8 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
emits: ["selectDatapoint", "selectLegend"],
|
|
158
|
-
setup(c, { expose: C, emit:
|
|
159
|
-
const { vue_ui_quick_chart:
|
|
158
|
+
setup(c, { expose: C, emit: y }) {
|
|
159
|
+
const { vue_ui_quick_chart: F } = zt(), T = c, H = L(null), oe = L(null), ne = L(null), ce = L(null), E = L(Lt()), j = L(!1), he = L(null), Q = L(""), W = L(null), Ve = L(null), qe = L(null), w = L([]), We = L(0), Se = L(0), e = B({
|
|
160
160
|
get: () => Xe(),
|
|
161
161
|
set: (o) => o
|
|
162
162
|
}), { svgRef: He } = Ht({ config: { text: e.value.title } }), ht = B(() => e.value.showUserOptionsOnChartHover), je = B(() => e.value.keepUserOptionsStateOnChartLeave), we = L(!e.value.showUserOptionsOnChartHover);
|
|
@@ -165,25 +165,25 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
165
165
|
}
|
|
166
166
|
function Xe() {
|
|
167
167
|
const o = rt({
|
|
168
|
-
userConfig:
|
|
169
|
-
defaultConfig:
|
|
168
|
+
userConfig: T.config,
|
|
169
|
+
defaultConfig: F
|
|
170
170
|
});
|
|
171
171
|
let s = {};
|
|
172
172
|
return o.theme ? s = {
|
|
173
173
|
...rt({
|
|
174
|
-
userConfig: Ct.vue_ui_quick_chart[o.theme] ||
|
|
174
|
+
userConfig: Ct.vue_ui_quick_chart[o.theme] || T.config,
|
|
175
175
|
defaultConfig: o
|
|
176
176
|
}),
|
|
177
177
|
customPalette: $t[o.theme] || q
|
|
178
|
-
} : s = o,
|
|
178
|
+
} : s = o, T.config && nt(T.config, "zoomStartIndex") ? s.zoomStartIndex = T.config.zoomStartIndex : s.zoomStartIndex = null, T.config && nt(T.config, "zoomEndIndex") ? s.zoomEndIndex = T.config.zoomEndIndex : s.zoomEndIndex = null, s;
|
|
179
179
|
}
|
|
180
|
-
|
|
181
|
-
e.value = Xe(),
|
|
182
|
-
}, { deep: !0 }),
|
|
183
|
-
|
|
180
|
+
Ne(() => T.config, (o) => {
|
|
181
|
+
e.value = Xe(), b.value.width = e.value.width, b.value.height = e.value.height, we.value = !e.value.showUserOptionsOnChartHover, Je(), me.value.showTooltip = e.value.showTooltip;
|
|
182
|
+
}, { deep: !0 }), Ne(() => T.dataset, (o) => {
|
|
183
|
+
x.value = ge.value, p.value.start = 0, p.value.end = x.value.maxSeriesLength, Se.value += 1;
|
|
184
184
|
}, { deep: !0 });
|
|
185
|
-
const fe = B(() => It(e.value.customPalette)),
|
|
186
|
-
const o = Xt({ dataset: Et(
|
|
185
|
+
const fe = B(() => It(e.value.customPalette)), ie = y, ge = B(() => {
|
|
186
|
+
const o = Xt({ dataset: Et(T.dataset, [
|
|
187
187
|
"serie",
|
|
188
188
|
"series",
|
|
189
189
|
"data",
|
|
@@ -192,9 +192,9 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
192
192
|
"num"
|
|
193
193
|
]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
|
|
194
194
|
return o || console.error("VueUiQuickChart : Dataset is not processable"), o;
|
|
195
|
-
}),
|
|
196
|
-
|
|
197
|
-
o ||
|
|
195
|
+
}), x = L(ge.value), ft = B(() => !!x.value), z = B(() => x.value ? x.value.type : null);
|
|
196
|
+
Ne(() => z.value, (o) => {
|
|
197
|
+
o || Pt({
|
|
198
198
|
componentName: "VueUiQuickChart",
|
|
199
199
|
type: "dataset"
|
|
200
200
|
});
|
|
@@ -202,7 +202,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
202
202
|
const { isPrinting: Ae, isImaging: _e, generatePdf: Ze, generateImage: Ye } = Ut({
|
|
203
203
|
elementId: `${z.value}_${E.value}`,
|
|
204
204
|
fileName: e.value.title || z.value
|
|
205
|
-
}), gt = B(() => e.value.showUserOptions && !e.value.title),
|
|
205
|
+
}), gt = B(() => e.value.showUserOptions && !e.value.title), b = L({
|
|
206
206
|
width: e.value.width,
|
|
207
207
|
height: e.value.height
|
|
208
208
|
}), me = L({
|
|
@@ -213,17 +213,17 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
213
213
|
});
|
|
214
214
|
function Je() {
|
|
215
215
|
if (e.value.responsive) {
|
|
216
|
-
const o =
|
|
217
|
-
const { width: s, height: t } =
|
|
216
|
+
const o = Mt(() => {
|
|
217
|
+
const { width: s, height: t } = Nt({
|
|
218
218
|
chart: H.value,
|
|
219
219
|
title: e.value.title ? oe.value : null,
|
|
220
|
-
legend: e.value.showLegend ?
|
|
221
|
-
slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy &&
|
|
220
|
+
legend: e.value.showLegend ? ne.value : null,
|
|
221
|
+
slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? ce.value : null,
|
|
222
222
|
source: Ve.value,
|
|
223
223
|
noTitle: qe.value
|
|
224
224
|
});
|
|
225
225
|
requestAnimationFrame(() => {
|
|
226
|
-
|
|
226
|
+
b.value.width = s, b.value.height = t;
|
|
227
227
|
});
|
|
228
228
|
});
|
|
229
229
|
ze.value = new ResizeObserver(o), ze.value.observe(H.value.parentNode);
|
|
@@ -236,13 +236,13 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
236
236
|
const mt = B(() => {
|
|
237
237
|
switch (z.value) {
|
|
238
238
|
case A.LINE:
|
|
239
|
-
return `0 0 ${
|
|
239
|
+
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
240
240
|
case A.BAR:
|
|
241
|
-
return `0 0 ${
|
|
241
|
+
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
242
242
|
case A.DONUT:
|
|
243
|
-
return `0 0 ${
|
|
243
|
+
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
244
244
|
default:
|
|
245
|
-
return `0 0 ${
|
|
245
|
+
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
248
|
function Qe(o) {
|
|
@@ -261,16 +261,16 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
261
261
|
const u = ge.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
|
|
262
262
|
if (w.value.includes(o.id)) {
|
|
263
263
|
let r = function() {
|
|
264
|
-
t > u ? (Le.value = !1, cancelAnimationFrame(tt.value),
|
|
265
|
-
...
|
|
266
|
-
dataset:
|
|
264
|
+
t > u ? (Le.value = !1, cancelAnimationFrame(tt.value), x.value = {
|
|
265
|
+
...x.value,
|
|
266
|
+
dataset: x.value.dataset.map((h, R) => o.id === `donut_${R}` ? {
|
|
267
267
|
...h,
|
|
268
268
|
value: u,
|
|
269
269
|
VALUE: u
|
|
270
270
|
} : h)
|
|
271
|
-
}) : (t += u * 0.025,
|
|
272
|
-
...
|
|
273
|
-
dataset:
|
|
271
|
+
}) : (t += u * 0.025, x.value = {
|
|
272
|
+
...x.value,
|
|
273
|
+
dataset: x.value.dataset.map((h, R) => o.id === `donut_${R}` ? {
|
|
274
274
|
...h,
|
|
275
275
|
value: t,
|
|
276
276
|
VALUE: t
|
|
@@ -280,16 +280,16 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
280
280
|
w.value = w.value.filter((h) => h !== o.id), r();
|
|
281
281
|
} else if (s.length > 1) {
|
|
282
282
|
let r = function() {
|
|
283
|
-
t < u / 100 ? (Le.value = !1, cancelAnimationFrame(et.value), w.value.push(o.id),
|
|
284
|
-
...
|
|
285
|
-
dataset:
|
|
283
|
+
t < u / 100 ? (Le.value = !1, cancelAnimationFrame(et.value), w.value.push(o.id), x.value = {
|
|
284
|
+
...x.value,
|
|
285
|
+
dataset: x.value.dataset.map((h, R) => o.id === `donut_${R}` ? {
|
|
286
286
|
...h,
|
|
287
287
|
value: 0,
|
|
288
288
|
VALUE: 0
|
|
289
289
|
} : h)
|
|
290
|
-
}) : (t /= 1.1,
|
|
291
|
-
...
|
|
292
|
-
dataset:
|
|
290
|
+
}) : (t /= 1.1, x.value = {
|
|
291
|
+
...x.value,
|
|
292
|
+
dataset: x.value.dataset.map((h, R) => o.id === `donut_${R}` ? {
|
|
293
293
|
...h,
|
|
294
294
|
value: t,
|
|
295
295
|
VALUE: t
|
|
@@ -299,81 +299,81 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
299
299
|
r();
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
const
|
|
302
|
+
const G = L(null);
|
|
303
303
|
function yt(o) {
|
|
304
|
-
|
|
304
|
+
G.value = o;
|
|
305
305
|
}
|
|
306
306
|
const at = B(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = B(() => {
|
|
307
307
|
if (z.value !== A.DONUT) return null;
|
|
308
|
-
const o =
|
|
309
|
-
...
|
|
310
|
-
value:
|
|
311
|
-
name:
|
|
312
|
-
id: `donut_${
|
|
313
|
-
})).map((
|
|
314
|
-
...
|
|
315
|
-
color:
|
|
316
|
-
immutableValue:
|
|
308
|
+
const o = x.value.dataset.map((n, i) => ({
|
|
309
|
+
...n,
|
|
310
|
+
value: n.VALUE || n.DATA || n.SERIE || n.VALUES || n.NUM || 0,
|
|
311
|
+
name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${i}`,
|
|
312
|
+
id: `donut_${i}`
|
|
313
|
+
})).map((n, i) => ({
|
|
314
|
+
...n,
|
|
315
|
+
color: n.COLOR ? Ue(n.COLOR) : fe.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
|
|
316
|
+
immutableValue: n.value
|
|
317
317
|
}));
|
|
318
|
-
function s(
|
|
318
|
+
function s(n, i) {
|
|
319
319
|
return D({
|
|
320
|
-
v: isNaN(
|
|
320
|
+
v: isNaN(n.value / Qe(i)) ? 0 : n.value / Qe(i) * 100,
|
|
321
321
|
s: "%",
|
|
322
322
|
r: e.value.dataLabelRoundingPercentage
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
function t(
|
|
326
|
-
return
|
|
325
|
+
function t(n) {
|
|
326
|
+
return n.proportion * 100 > e.value.donutHideLabelUnderPercentage;
|
|
327
327
|
}
|
|
328
|
-
function u(
|
|
329
|
-
const S = ge.value.dataset.find((
|
|
330
|
-
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(
|
|
328
|
+
function u(n, i) {
|
|
329
|
+
const S = ge.value.dataset.find((P, U) => `donut_${U}` === n).VALUE;
|
|
330
|
+
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(i.toFixed(0))).length);
|
|
331
331
|
}
|
|
332
|
-
function r({ datapoint:
|
|
333
|
-
he.value = { datapoint:
|
|
332
|
+
function r({ datapoint: n, seriesIndex: i }) {
|
|
333
|
+
he.value = { datapoint: n, seriesIndex: i, config: e.value, dataset: o }, W.value = n.id;
|
|
334
334
|
const S = e.value.tooltipCustomFormat;
|
|
335
|
-
if (
|
|
336
|
-
datapoint:
|
|
337
|
-
seriesIndex:
|
|
335
|
+
if (Pe(S) && De(() => S({
|
|
336
|
+
datapoint: n,
|
|
337
|
+
seriesIndex: i,
|
|
338
338
|
series: o,
|
|
339
339
|
config: e.value
|
|
340
340
|
})))
|
|
341
341
|
Q.value = S({
|
|
342
|
-
datapoint:
|
|
343
|
-
seriesIndex:
|
|
342
|
+
datapoint: n,
|
|
343
|
+
seriesIndex: i,
|
|
344
344
|
series: o,
|
|
345
345
|
config: e.value
|
|
346
346
|
});
|
|
347
347
|
else {
|
|
348
|
-
let
|
|
349
|
-
|
|
348
|
+
let k = "";
|
|
349
|
+
k += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${n.name}</div>`, k += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${n.color}"/></svg>`, k += `<b>${Z(
|
|
350
350
|
e.value.formatter,
|
|
351
|
-
|
|
351
|
+
n.value,
|
|
352
352
|
D({
|
|
353
353
|
p: e.value.valuePrefix,
|
|
354
|
-
v:
|
|
354
|
+
v: n.value,
|
|
355
355
|
s: e.value.valueSuffix,
|
|
356
356
|
r: e.value.dataLabelRoundingValue
|
|
357
357
|
}),
|
|
358
|
-
{ datapoint:
|
|
359
|
-
)}</b>`,
|
|
358
|
+
{ datapoint: n, seriesIndex: i }
|
|
359
|
+
)}</b>`, k += `<span>(${D({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, Q.value = `<div>${k}</div>`;
|
|
360
360
|
}
|
|
361
361
|
j.value = !0;
|
|
362
362
|
}
|
|
363
363
|
function h() {
|
|
364
|
-
j.value = !1, W.value = null,
|
|
364
|
+
j.value = !1, W.value = null, G.value = null;
|
|
365
365
|
}
|
|
366
366
|
const R = {
|
|
367
|
-
centerX:
|
|
368
|
-
centerY:
|
|
369
|
-
}, V = o.filter((
|
|
370
|
-
...
|
|
371
|
-
proportion: (
|
|
372
|
-
value:
|
|
373
|
-
absoluteValue: ge.value.dataset.find((S,
|
|
374
|
-
})), K =
|
|
367
|
+
centerX: b.value.width / 2,
|
|
368
|
+
centerY: b.value.height / 2
|
|
369
|
+
}, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, i) => n + i, 0), re = o.map((n, i) => ({
|
|
370
|
+
...n,
|
|
371
|
+
proportion: (n.value || 0) / V,
|
|
372
|
+
value: n.value || 0,
|
|
373
|
+
absoluteValue: ge.value.dataset.find((S, k) => `donut_${k}` === n.id).VALUE
|
|
374
|
+
})), K = b.value.width / 2, se = b.value.height / 2, ee = b.value.height * e.value.donutRadiusRatio;
|
|
375
375
|
return {
|
|
376
|
-
dataset: re.filter((
|
|
376
|
+
dataset: re.filter((n) => !w.value.includes(n.id)),
|
|
377
377
|
legend: re,
|
|
378
378
|
drawingArea: R,
|
|
379
379
|
displayArcPercentage: s,
|
|
@@ -385,8 +385,8 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
385
385
|
cx: K,
|
|
386
386
|
cy: se,
|
|
387
387
|
radius: ee,
|
|
388
|
-
chart:
|
|
389
|
-
{ series: o.filter((
|
|
388
|
+
chart: Ot(
|
|
389
|
+
{ series: o.filter((n) => !w.value.includes(n.id)) },
|
|
390
390
|
K,
|
|
391
391
|
se,
|
|
392
392
|
ee,
|
|
@@ -396,37 +396,37 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
396
396
|
1,
|
|
397
397
|
360,
|
|
398
398
|
105.25,
|
|
399
|
-
|
|
399
|
+
b.value.height * at.value
|
|
400
400
|
)
|
|
401
401
|
};
|
|
402
|
-
}),
|
|
402
|
+
}), p = L({
|
|
403
403
|
start: 0,
|
|
404
|
-
end:
|
|
404
|
+
end: x.value.maxSeriesLength
|
|
405
405
|
});
|
|
406
406
|
function xt() {
|
|
407
407
|
lt();
|
|
408
408
|
}
|
|
409
409
|
const ue = L(null);
|
|
410
410
|
async function lt() {
|
|
411
|
-
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ue.value ? (e.value.zoomStartIndex !== null && (await Ie(), await Ie(), ue.value && ue.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Ie(), await Ie(), ue.value && ue.value.setEndValue(kt(e.value.zoomEndIndex + 1)))) : (
|
|
411
|
+
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ue.value ? (e.value.zoomStartIndex !== null && (await Ie(), await Ie(), ue.value && ue.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Ie(), await Ie(), ue.value && ue.value.setEndValue(kt(e.value.zoomEndIndex + 1)))) : (p.value = {
|
|
412
412
|
start: 0,
|
|
413
|
-
end:
|
|
413
|
+
end: x.value.maxSeriesLength
|
|
414
414
|
}, Se.value += 1);
|
|
415
415
|
}
|
|
416
416
|
function kt(o) {
|
|
417
|
-
const s =
|
|
417
|
+
const s = x.value.maxSeriesLength;
|
|
418
418
|
return o > s ? s : o < 0 || e.value.zoomStartIndex !== null && o < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : o;
|
|
419
419
|
}
|
|
420
420
|
const bt = B(() => {
|
|
421
421
|
if (!e.value.zoomMinimap.show || z.value === A.DONUT) return [];
|
|
422
422
|
let o = [];
|
|
423
|
-
|
|
423
|
+
J(x.value.dataset) && (o = x.value.dataset), Te(x.value.dataset) && (o = x.value.dataset.map((r, h) => ({
|
|
424
424
|
values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
|
|
425
425
|
id: z.value === A.LINE ? `line_${h}` : `bar_${h}`
|
|
426
426
|
})).filter((r) => !w.value.includes(r.id)));
|
|
427
|
-
const s =
|
|
427
|
+
const s = J(o) ? o.length : Math.max(...o.map((r) => r.values.length));
|
|
428
428
|
let t = [];
|
|
429
|
-
if (
|
|
429
|
+
if (J(o))
|
|
430
430
|
t = o;
|
|
431
431
|
else
|
|
432
432
|
for (let r = 0; r < s; r += 1)
|
|
@@ -436,8 +436,8 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
436
436
|
}), d = B(() => {
|
|
437
437
|
if (z.value !== A.LINE) return null;
|
|
438
438
|
const o = {
|
|
439
|
-
height:
|
|
440
|
-
width:
|
|
439
|
+
height: b.value.height,
|
|
440
|
+
width: b.value.width
|
|
441
441
|
}, s = {
|
|
442
442
|
left: e.value.xyPaddingLeft,
|
|
443
443
|
top: e.value.xyPaddingTop,
|
|
@@ -447,101 +447,101 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
447
447
|
height: o.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
|
|
448
448
|
};
|
|
449
449
|
let t = [];
|
|
450
|
-
|
|
450
|
+
J(x.value.dataset) && (t = [
|
|
451
451
|
{
|
|
452
|
-
values:
|
|
453
|
-
absoluteIndices:
|
|
452
|
+
values: x.value.dataset.slice(p.value.start, p.value.end),
|
|
453
|
+
absoluteIndices: x.value.dataset.map((n, i) => i).slice(p.value.start, p.value.end),
|
|
454
454
|
name: e.value.title,
|
|
455
455
|
color: fe.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
|
|
456
456
|
id: "line_0"
|
|
457
457
|
}
|
|
458
|
-
]),
|
|
459
|
-
...
|
|
460
|
-
values:
|
|
461
|
-
name:
|
|
462
|
-
id: `line_${
|
|
463
|
-
})).map((
|
|
464
|
-
...
|
|
465
|
-
color:
|
|
466
|
-
values:
|
|
467
|
-
absoluteIndices:
|
|
458
|
+
]), Te(x.value.dataset) && (t = x.value.dataset.map((n, i) => ({
|
|
459
|
+
...n,
|
|
460
|
+
values: n.VALUE || n.DATA || n.SERIE || n.SERIES || n.VALUES || n.NUM || 0,
|
|
461
|
+
name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${i}`,
|
|
462
|
+
id: `line_${i}`
|
|
463
|
+
})).map((n, i) => ({
|
|
464
|
+
...n,
|
|
465
|
+
color: n.COLOR ? Ue(n.COLOR) : fe.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
|
|
466
|
+
values: n.values.slice(p.value.start, p.value.end),
|
|
467
|
+
absoluteIndices: n.values.map((S, k) => k).slice(p.value.start, p.value.end)
|
|
468
468
|
})));
|
|
469
469
|
const u = {
|
|
470
|
-
max: Math.max(...t.filter((
|
|
471
|
-
min: Math.min(...t.filter((
|
|
472
|
-
maxSeries: Math.max(...t.map((
|
|
473
|
-
}, r =
|
|
474
|
-
y: s.bottom - s.height * ((
|
|
470
|
+
max: Math.max(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
|
|
471
|
+
min: Math.min(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
|
|
472
|
+
maxSeries: Math.max(...t.map((n) => n.values.length))
|
|
473
|
+
}, r = it(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), h = u.min < 0 ? Math.abs(u.min) : 0, R = u.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, V = s.width / u.maxSeries, re = r.ticks.map((n) => ({
|
|
474
|
+
y: s.bottom - s.height * ((n + h) / (r.max + h)),
|
|
475
475
|
x: s.left - 8,
|
|
476
|
-
value:
|
|
477
|
-
})), K = t.map((
|
|
478
|
-
...
|
|
479
|
-
coordinates:
|
|
480
|
-
x: s.left + V * (
|
|
476
|
+
value: n
|
|
477
|
+
})), K = t.map((n, i) => ({
|
|
478
|
+
...n,
|
|
479
|
+
coordinates: n.values.map((S, k) => ({
|
|
480
|
+
x: s.left + V * (k + 1) - V / 2,
|
|
481
481
|
y: s.bottom - (S + h) / (r.max + h) * s.height,
|
|
482
482
|
value: S
|
|
483
483
|
}))
|
|
484
|
-
})).map((
|
|
485
|
-
let
|
|
486
|
-
return
|
|
487
|
-
|
|
484
|
+
})).map((n) => {
|
|
485
|
+
let i = [];
|
|
486
|
+
return n.coordinates.forEach((S) => {
|
|
487
|
+
i.push(`${S.x},${S.y} `);
|
|
488
488
|
}), {
|
|
489
|
-
...
|
|
490
|
-
linePath:
|
|
489
|
+
...n,
|
|
490
|
+
linePath: i.join(" ")
|
|
491
491
|
};
|
|
492
492
|
});
|
|
493
|
-
function se(
|
|
494
|
-
W.value =
|
|
495
|
-
const
|
|
496
|
-
...
|
|
497
|
-
value:
|
|
498
|
-
absoluteIndex:
|
|
499
|
-
})).filter((
|
|
500
|
-
he.value = { datapoint:
|
|
493
|
+
function se(n) {
|
|
494
|
+
W.value = n, G.value = n;
|
|
495
|
+
const i = t.map((k) => ({
|
|
496
|
+
...k,
|
|
497
|
+
value: k.values[n],
|
|
498
|
+
absoluteIndex: k.absoluteIndices[n]
|
|
499
|
+
})).filter((k) => !w.value.includes(k.id));
|
|
500
|
+
he.value = { datapoint: i, seriesIndex: n, config: e.value, dataset: t };
|
|
501
501
|
const S = e.value.tooltipCustomFormat;
|
|
502
|
-
if (
|
|
503
|
-
datapoint:
|
|
504
|
-
seriesIndex:
|
|
502
|
+
if (Pe(S) && De(() => S({
|
|
503
|
+
datapoint: i,
|
|
504
|
+
seriesIndex: n,
|
|
505
505
|
series: t,
|
|
506
506
|
config: e.value
|
|
507
507
|
})))
|
|
508
508
|
Q.value = S({
|
|
509
|
-
datapoint:
|
|
510
|
-
seriesIndex:
|
|
509
|
+
datapoint: i,
|
|
510
|
+
seriesIndex: n,
|
|
511
511
|
series: t,
|
|
512
512
|
config: e.value
|
|
513
513
|
});
|
|
514
514
|
else {
|
|
515
|
-
let
|
|
516
|
-
e.value.xyPeriods[
|
|
517
|
-
|
|
515
|
+
let k = "";
|
|
516
|
+
e.value.xyPeriods[i[0].absoluteIndex] && (k += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[i[0].absoluteIndex]}</div>`), i.forEach((P, U) => {
|
|
517
|
+
k += `
|
|
518
518
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
519
|
-
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${
|
|
520
|
-
<span>${
|
|
521
|
-
<b>${
|
|
519
|
+
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${P.color}"/></svg>
|
|
520
|
+
<span>${P.name}:</span>
|
|
521
|
+
<b>${Z(
|
|
522
522
|
e.value.formatter,
|
|
523
|
-
|
|
523
|
+
P.value,
|
|
524
524
|
D({
|
|
525
525
|
p: e.value.valuePrefix,
|
|
526
|
-
v:
|
|
526
|
+
v: P.value,
|
|
527
527
|
s: e.value.valueSuffix,
|
|
528
528
|
r: e.value.dataLabelRoundingValue
|
|
529
529
|
}),
|
|
530
|
-
{ datapoint:
|
|
530
|
+
{ datapoint: P, seriesIndex: U }
|
|
531
531
|
)}
|
|
532
532
|
</b>
|
|
533
533
|
</div>
|
|
534
534
|
`;
|
|
535
|
-
}), Q.value =
|
|
535
|
+
}), Q.value = k;
|
|
536
536
|
}
|
|
537
537
|
j.value = !0;
|
|
538
538
|
}
|
|
539
539
|
function ee() {
|
|
540
|
-
W.value = null, j.value = !1;
|
|
540
|
+
W.value = null, G.value = null, j.value = !1;
|
|
541
541
|
}
|
|
542
542
|
return {
|
|
543
543
|
absoluteZero: R,
|
|
544
|
-
dataset: K.filter((
|
|
544
|
+
dataset: K.filter((n) => !w.value.includes(n.id)),
|
|
545
545
|
legend: K,
|
|
546
546
|
drawingArea: s,
|
|
547
547
|
extremes: u,
|
|
@@ -553,8 +553,8 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
553
553
|
}), v = B(() => {
|
|
554
554
|
if (z.value !== A.BAR) return null;
|
|
555
555
|
const o = {
|
|
556
|
-
height:
|
|
557
|
-
width:
|
|
556
|
+
height: b.value.height,
|
|
557
|
+
width: b.value.width
|
|
558
558
|
}, s = {
|
|
559
559
|
left: e.value.xyPaddingLeft,
|
|
560
560
|
top: e.value.xyPaddingTop,
|
|
@@ -564,87 +564,87 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
564
564
|
height: o.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
|
|
565
565
|
};
|
|
566
566
|
let t = [];
|
|
567
|
-
|
|
567
|
+
J(x.value.dataset) && (t = [
|
|
568
568
|
{
|
|
569
|
-
values:
|
|
570
|
-
absoluteIndices:
|
|
569
|
+
values: x.value.dataset.slice(p.value.start, p.value.end),
|
|
570
|
+
absoluteIndices: x.value.dataset.map((i, S) => S).slice(p.value.start, p.value.end),
|
|
571
571
|
name: e.value.title,
|
|
572
572
|
color: fe.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
|
|
573
573
|
id: "bar_0"
|
|
574
574
|
}
|
|
575
|
-
]),
|
|
576
|
-
...
|
|
577
|
-
values:
|
|
578
|
-
name:
|
|
575
|
+
]), Te(x.value.dataset) && (t = x.value.dataset.map((i, S) => ({
|
|
576
|
+
...i,
|
|
577
|
+
values: i.VALUE || i.DATA || i.SERIE || i.SERIES || i.VALUES || i.NUM || 0,
|
|
578
|
+
name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${S}`,
|
|
579
579
|
id: `bar_${S}`
|
|
580
|
-
})).map((
|
|
581
|
-
...
|
|
582
|
-
color:
|
|
583
|
-
values:
|
|
584
|
-
absoluteIndices:
|
|
580
|
+
})).map((i, S) => ({
|
|
581
|
+
...i,
|
|
582
|
+
color: i.COLOR ? Ue(i.COLOR) : fe.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
|
|
583
|
+
values: i.values.slice(p.value.start, p.value.end),
|
|
584
|
+
absoluteIndices: i.values.map((k, P) => P).slice(p.value.start, p.value.end)
|
|
585
585
|
})));
|
|
586
586
|
const u = {
|
|
587
|
-
max: Math.max(...t.filter((
|
|
588
|
-
min: Math.min(...t.filter((
|
|
589
|
-
maxSeries: Math.max(...t.filter((
|
|
590
|
-
}, r =
|
|
591
|
-
y: s.bottom - s.height * ((
|
|
587
|
+
max: Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)) < 0 ? 0 : Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
|
|
588
|
+
min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
|
|
589
|
+
maxSeries: Math.max(...t.filter((i) => !w.value.includes(i.id)).map((i) => i.values.length))
|
|
590
|
+
}, r = it(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, R = s.bottom - h / (r.max + h) * s.height, V = s.width / u.maxSeries, re = r.ticks.map((i) => ({
|
|
591
|
+
y: s.bottom - s.height * ((i + h) / (r.max + h)),
|
|
592
592
|
x: s.left - 8,
|
|
593
|
-
value:
|
|
594
|
-
})), K = t.map((
|
|
595
|
-
...
|
|
596
|
-
coordinates:
|
|
597
|
-
const U = (
|
|
593
|
+
value: i
|
|
594
|
+
})), K = t.map((i, S) => ({
|
|
595
|
+
...i,
|
|
596
|
+
coordinates: i.values.map((k, P) => {
|
|
597
|
+
const U = (k + h) / (u.max + h) * s.height, ye = Math.abs(k) / Math.abs(u.min) * (s.height - R), Me = h / (u.max + h) * s.height, xe = V / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
|
|
598
598
|
return {
|
|
599
|
-
x: s.left + V *
|
|
600
|
-
y:
|
|
601
|
-
height:
|
|
602
|
-
value:
|
|
599
|
+
x: s.left + V * P + xe * S + e.value.barGap / 2,
|
|
600
|
+
y: k > 0 ? s.bottom - U : R,
|
|
601
|
+
height: k > 0 ? U - Me : ye,
|
|
602
|
+
value: k,
|
|
603
603
|
width: xe
|
|
604
604
|
};
|
|
605
605
|
})
|
|
606
|
-
})), se = t.filter((
|
|
607
|
-
...
|
|
608
|
-
coordinates:
|
|
609
|
-
const U = (
|
|
606
|
+
})), se = t.filter((i) => !w.value.includes(i.id)).map((i, S) => ({
|
|
607
|
+
...i,
|
|
608
|
+
coordinates: i.values.map((k, P) => {
|
|
609
|
+
const U = (k + h) / (u.max + h) * s.height, ye = Math.abs(k) / (u.max + h) * s.height, Me = h / (u.max + h) * s.height, xe = V / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
|
|
610
610
|
return {
|
|
611
|
-
x: s.left + V *
|
|
612
|
-
y:
|
|
613
|
-
height:
|
|
614
|
-
value:
|
|
611
|
+
x: s.left + V * P + xe * S + e.value.barGap / 2,
|
|
612
|
+
y: k > 0 ? s.bottom - U : R,
|
|
613
|
+
height: k > 0 ? U - Me : ye,
|
|
614
|
+
value: k,
|
|
615
615
|
width: xe
|
|
616
616
|
};
|
|
617
617
|
})
|
|
618
618
|
}));
|
|
619
|
-
function ee(
|
|
620
|
-
W.value =
|
|
621
|
-
const S = t.map((
|
|
622
|
-
...
|
|
623
|
-
value:
|
|
624
|
-
absoluteIndex:
|
|
625
|
-
})).filter((
|
|
626
|
-
he.value = { datapoint: S, seriesIndex:
|
|
627
|
-
const
|
|
628
|
-
if (
|
|
619
|
+
function ee(i) {
|
|
620
|
+
W.value = i, G.value = i;
|
|
621
|
+
const S = t.map((P) => ({
|
|
622
|
+
...P,
|
|
623
|
+
value: P.values[i],
|
|
624
|
+
absoluteIndex: P.absoluteIndices[i]
|
|
625
|
+
})).filter((P) => !w.value.includes(P.id));
|
|
626
|
+
he.value = { datapoint: S, seriesIndex: i, config: e.value, dataset: t };
|
|
627
|
+
const k = e.value.tooltipCustomFormat;
|
|
628
|
+
if (Pe(k) && De(() => k({
|
|
629
629
|
datapoint: S,
|
|
630
|
-
seriesIndex:
|
|
630
|
+
seriesIndex: i,
|
|
631
631
|
series: t,
|
|
632
632
|
config: e.value
|
|
633
633
|
})))
|
|
634
|
-
Q.value =
|
|
634
|
+
Q.value = k({
|
|
635
635
|
point: S,
|
|
636
|
-
seriesIndex:
|
|
636
|
+
seriesIndex: i,
|
|
637
637
|
series: t,
|
|
638
638
|
config: e.value
|
|
639
639
|
});
|
|
640
640
|
else {
|
|
641
|
-
let
|
|
642
|
-
e.value.xyPeriods[S[0].absoluteIndex] && (
|
|
643
|
-
|
|
641
|
+
let P = "";
|
|
642
|
+
e.value.xyPeriods[S[0].absoluteIndex] && (P += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[S[0].absoluteIndex]}</div>`), S.forEach((U, ye) => {
|
|
643
|
+
P += `
|
|
644
644
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
645
645
|
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${U.color}"/></svg>
|
|
646
646
|
<span>${U.name}:</span>
|
|
647
|
-
<b>${
|
|
647
|
+
<b>${Z(
|
|
648
648
|
e.value.formatter,
|
|
649
649
|
U.value,
|
|
650
650
|
D({
|
|
@@ -658,23 +658,23 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
658
658
|
</b>
|
|
659
659
|
</div>
|
|
660
660
|
`;
|
|
661
|
-
}), Q.value =
|
|
661
|
+
}), Q.value = P;
|
|
662
662
|
}
|
|
663
663
|
j.value = !0;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
666
|
-
j.value = !1, W.value = null,
|
|
665
|
+
function n() {
|
|
666
|
+
j.value = !1, W.value = null, G.value = null;
|
|
667
667
|
}
|
|
668
668
|
return {
|
|
669
669
|
absoluteZero: R,
|
|
670
|
-
dataset: se.filter((
|
|
670
|
+
dataset: se.filter((i) => !w.value.includes(i.id)),
|
|
671
671
|
legend: K,
|
|
672
672
|
drawingArea: s,
|
|
673
673
|
extremes: u,
|
|
674
674
|
slotSize: V,
|
|
675
675
|
yLabels: re,
|
|
676
676
|
useTooltip: ee,
|
|
677
|
-
killTooltip:
|
|
677
|
+
killTooltip: n
|
|
678
678
|
};
|
|
679
679
|
}), $e = L(!1);
|
|
680
680
|
function St(o) {
|
|
@@ -698,7 +698,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
698
698
|
ref_key: "quickChart",
|
|
699
699
|
ref: H,
|
|
700
700
|
class: ve({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": $e.value }),
|
|
701
|
-
style:
|
|
701
|
+
style: M(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
702
702
|
onMouseenter: s[5] || (s[5] = () => Ge(!0)),
|
|
703
703
|
onMouseleave: s[6] || (s[6] = () => Ge(!1))
|
|
704
704
|
}, [
|
|
@@ -742,49 +742,49 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
742
742
|
onGenerateImage: g(Ye),
|
|
743
743
|
onToggleTooltip: ot,
|
|
744
744
|
onToggleAnnotator: Re,
|
|
745
|
-
style:
|
|
745
|
+
style: M({
|
|
746
746
|
visibility: je.value ? we.value ? "visible" : "hidden" : "visible"
|
|
747
747
|
})
|
|
748
748
|
}, _t({ _: 2 }, [
|
|
749
749
|
o.$slots.menuIcon ? {
|
|
750
750
|
name: "menuIcon",
|
|
751
|
-
fn:
|
|
752
|
-
|
|
751
|
+
fn: X(({ isOpen: t, color: u }) => [
|
|
752
|
+
N(o.$slots, "menuIcon", ae(le({ isOpen: t, color: u })), void 0, !0)
|
|
753
753
|
]),
|
|
754
754
|
key: "0"
|
|
755
755
|
} : void 0,
|
|
756
756
|
o.$slots.optionTooltip ? {
|
|
757
757
|
name: "optionTooltip",
|
|
758
|
-
fn:
|
|
759
|
-
|
|
758
|
+
fn: X(() => [
|
|
759
|
+
N(o.$slots, "optionTooltip", {}, void 0, !0)
|
|
760
760
|
]),
|
|
761
761
|
key: "1"
|
|
762
762
|
} : void 0,
|
|
763
763
|
o.$slots.optionPdf ? {
|
|
764
764
|
name: "optionPdf",
|
|
765
|
-
fn:
|
|
766
|
-
|
|
765
|
+
fn: X(() => [
|
|
766
|
+
N(o.$slots, "optionPdf", {}, void 0, !0)
|
|
767
767
|
]),
|
|
768
768
|
key: "2"
|
|
769
769
|
} : void 0,
|
|
770
770
|
o.$slots.optionImg ? {
|
|
771
771
|
name: "optionImg",
|
|
772
|
-
fn:
|
|
773
|
-
|
|
772
|
+
fn: X(() => [
|
|
773
|
+
N(o.$slots, "optionImg", {}, void 0, !0)
|
|
774
774
|
]),
|
|
775
775
|
key: "3"
|
|
776
776
|
} : void 0,
|
|
777
777
|
o.$slots.optionFullscreen ? {
|
|
778
778
|
name: "optionFullscreen",
|
|
779
|
-
fn:
|
|
780
|
-
|
|
779
|
+
fn: X(({ toggleFullscreen: t, isFullscreen: u }) => [
|
|
780
|
+
N(o.$slots, "optionFullscreen", ae(le({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
|
|
781
781
|
]),
|
|
782
782
|
key: "4"
|
|
783
783
|
} : void 0,
|
|
784
784
|
o.$slots.optionAnnotator ? {
|
|
785
785
|
name: "optionAnnotator",
|
|
786
|
-
fn:
|
|
787
|
-
|
|
786
|
+
fn: X(({ toggleAnnotator: t, isAnnotator: u }) => [
|
|
787
|
+
N(o.$slots, "optionAnnotator", ae(le({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
|
|
788
788
|
]),
|
|
789
789
|
key: "5"
|
|
790
790
|
} : void 0
|
|
@@ -794,15 +794,15 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
794
794
|
ref_key: "quickChartTitle",
|
|
795
795
|
ref: oe,
|
|
796
796
|
class: "vue-ui-quick-chart-title",
|
|
797
|
-
style:
|
|
798
|
-
},
|
|
797
|
+
style: M(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
|
|
798
|
+
}, O(e.value.title), 5)) : f("", !0),
|
|
799
799
|
z.value ? (a(), l("svg", {
|
|
800
800
|
key: 4,
|
|
801
801
|
ref_key: "svgRef",
|
|
802
802
|
ref: He,
|
|
803
|
-
xmlns: g(
|
|
803
|
+
xmlns: g(Tt),
|
|
804
804
|
viewBox: mt.value,
|
|
805
|
-
style:
|
|
805
|
+
style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
|
|
806
806
|
}, [
|
|
807
807
|
de(qt),
|
|
808
808
|
o.$slots["chart-background"] && z.value === A.BAR ? (a(), l("foreignObject", {
|
|
@@ -815,7 +815,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
815
815
|
pointerEvents: "none"
|
|
816
816
|
}
|
|
817
817
|
}, [
|
|
818
|
-
|
|
818
|
+
N(o.$slots, "chart-background", {}, void 0, !0)
|
|
819
819
|
], 8, ta)) : f("", !0),
|
|
820
820
|
o.$slots["chart-background"] && z.value === A.LINE ? (a(), l("foreignObject", {
|
|
821
821
|
key: 1,
|
|
@@ -827,19 +827,19 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
827
827
|
pointerEvents: "none"
|
|
828
828
|
}
|
|
829
829
|
}, [
|
|
830
|
-
|
|
830
|
+
N(o.$slots, "chart-background", {}, void 0, !0)
|
|
831
831
|
], 8, aa)) : f("", !0),
|
|
832
832
|
o.$slots["chart-background"] && z.value === A.DONUT ? (a(), l("foreignObject", {
|
|
833
833
|
key: 2,
|
|
834
834
|
x: 0,
|
|
835
835
|
y: 0,
|
|
836
|
-
width:
|
|
837
|
-
height:
|
|
836
|
+
width: b.value.width,
|
|
837
|
+
height: b.value.height,
|
|
838
838
|
style: {
|
|
839
839
|
pointerEvents: "none"
|
|
840
840
|
}
|
|
841
841
|
}, [
|
|
842
|
-
|
|
842
|
+
N(o.$slots, "chart-background", {}, void 0, !0)
|
|
843
843
|
], 8, la)) : f("", !0),
|
|
844
844
|
_("defs", null, [
|
|
845
845
|
_("filter", {
|
|
@@ -853,7 +853,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
853
853
|
in: "SourceGraphic",
|
|
854
854
|
stdDeviation: 2,
|
|
855
855
|
id: `blur_std_${E.value}`
|
|
856
|
-
}, null, 8,
|
|
856
|
+
}, null, 8, na),
|
|
857
857
|
s[7] || (s[7] = _("feColorMatrix", {
|
|
858
858
|
type: "saturate",
|
|
859
859
|
values: "0"
|
|
@@ -870,14 +870,14 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
870
870
|
"flood-opacity": "0.5",
|
|
871
871
|
"flood-color": e.value.donutShadowColor
|
|
872
872
|
}, null, 8, ua)
|
|
873
|
-
], 8,
|
|
873
|
+
], 8, ia)
|
|
874
874
|
]),
|
|
875
875
|
z.value === A.DONUT ? (a(), l(m, { key: 3 }, [
|
|
876
876
|
e.value.showDataLabels ? (a(), l("g", ra, [
|
|
877
877
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
|
|
878
878
|
I.value.isArcBigEnough(t) ? (a(), l("path", {
|
|
879
879
|
key: 0,
|
|
880
|
-
d: g(Rt)(t, { x:
|
|
880
|
+
d: g(Rt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * at.value),
|
|
881
881
|
stroke: t.color,
|
|
882
882
|
"stroke-width": e.value.donutLabelMarkerStrokeWidth,
|
|
883
883
|
"stroke-linecap": "round",
|
|
@@ -907,7 +907,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
907
907
|
fill: "transparent",
|
|
908
908
|
onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex: u }),
|
|
909
909
|
onMouseout: s[0] || (s[0] = (r) => I.value.killTooltip()),
|
|
910
|
-
onClick: (r) =>
|
|
910
|
+
onClick: (r) => ie("selectDatapoint", t)
|
|
911
911
|
}, null, 40, ha))), 256))
|
|
912
912
|
]),
|
|
913
913
|
e.value.showDataLabels ? (a(), l("g", fa, [
|
|
@@ -930,7 +930,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
930
930
|
fill: e.value.color,
|
|
931
931
|
"font-size": e.value.dataLabelFontSize,
|
|
932
932
|
filter: pe(t.id)
|
|
933
|
-
},
|
|
933
|
+
}, O(I.value.displayArcPercentage(t, I.value.chart)) + " (" + O(g(Z)(
|
|
934
934
|
e.value.formatter,
|
|
935
935
|
t.value,
|
|
936
936
|
g(D)({
|
|
@@ -949,7 +949,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
949
949
|
fill: e.value.color,
|
|
950
950
|
"font-size": e.value.dataLabelFontSize,
|
|
951
951
|
filter: pe(t.id)
|
|
952
|
-
},
|
|
952
|
+
}, O(t.name), 9, pa)) : f("", !0)
|
|
953
953
|
], 64))), 256))
|
|
954
954
|
])) : f("", !0),
|
|
955
955
|
e.value.donutShowTotal ? (a(), l("g", ya, [
|
|
@@ -959,14 +959,14 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
959
959
|
y: I.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
960
960
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
961
961
|
fill: e.value.color
|
|
962
|
-
},
|
|
962
|
+
}, O(e.value.donutTotalLabelText), 9, xa),
|
|
963
963
|
_("text", {
|
|
964
964
|
"text-anchor": "middle",
|
|
965
965
|
x: I.value.drawingArea.centerX,
|
|
966
966
|
y: I.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
|
|
967
967
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
968
968
|
fill: e.value.color
|
|
969
|
-
},
|
|
969
|
+
}, O(g(D)({
|
|
970
970
|
p: e.value.valuePrefix,
|
|
971
971
|
v: I.value.total,
|
|
972
972
|
s: e.value.valueSuffix,
|
|
@@ -1037,7 +1037,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1037
1037
|
"text-anchor": "end",
|
|
1038
1038
|
"font-size": e.value.xyLabelsYFontSize,
|
|
1039
1039
|
fill: e.value.color
|
|
1040
|
-
},
|
|
1040
|
+
}, O(g(Z)(
|
|
1041
1041
|
e.value.formatter,
|
|
1042
1042
|
t.value,
|
|
1043
1043
|
g(D)({
|
|
@@ -1051,24 +1051,28 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1051
1051
|
], 64))), 256))
|
|
1052
1052
|
])) : f("", !0),
|
|
1053
1053
|
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ia, [
|
|
1054
|
-
(a(!0), l(m, null, $(e.value.xyPeriods.slice(
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
"
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1054
|
+
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, u) => (a(), l(m, null, [
|
|
1055
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && u % Math.floor((p.value.end - p.value.start) / e.value.xyPeriodsModulo) === 0 || p.value.end - p.value.start <= e.value.xyPeriodsModulo ? (a(), l("line", {
|
|
1056
|
+
key: 0,
|
|
1057
|
+
x1: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
|
|
1058
|
+
x2: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
|
|
1059
|
+
y1: d.value.drawingArea.bottom,
|
|
1060
|
+
y2: d.value.drawingArea.bottom + 4,
|
|
1061
|
+
stroke: e.value.xyAxisStroke,
|
|
1062
|
+
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1063
|
+
"stroke-linecap": "round"
|
|
1064
|
+
}, null, 8, Ea)) : f("", !0),
|
|
1065
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && u % Math.floor((p.value.end - p.value.start) / e.value.xyPeriodsModulo) === 0 || p.value.end - p.value.start <= e.value.xyPeriodsModulo ? (a(), l("text", {
|
|
1066
|
+
key: 1,
|
|
1067
|
+
"font-size": e.value.xyLabelsXFontSize,
|
|
1068
|
+
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1069
|
+
fill: e.value.color,
|
|
1070
|
+
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1071
|
+
}, O(t), 9, Pa)) : f("", !0)
|
|
1072
|
+
], 64))), 256))
|
|
1069
1073
|
])) : f("", !0),
|
|
1070
|
-
_("g",
|
|
1071
|
-
(a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l("g",
|
|
1074
|
+
_("g", Oa, [
|
|
1075
|
+
(a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l("g", Ta, [
|
|
1072
1076
|
e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
|
|
1073
1077
|
_("path", {
|
|
1074
1078
|
d: `M ${g(ut)(t.coordinates)}`,
|
|
@@ -1087,7 +1091,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1087
1091
|
fill: "none",
|
|
1088
1092
|
class: ve({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1089
1093
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1090
|
-
}, null, 10,
|
|
1094
|
+
}, null, 10, Ma)
|
|
1091
1095
|
], 64)) : (a(), l(m, { key: 1 }, [
|
|
1092
1096
|
_("path", {
|
|
1093
1097
|
d: `M ${t.linePath}`,
|
|
@@ -1097,7 +1101,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1097
1101
|
fill: "none",
|
|
1098
1102
|
class: ve({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1099
1103
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1100
|
-
}, null, 10,
|
|
1104
|
+
}, null, 10, Na),
|
|
1101
1105
|
_("path", {
|
|
1102
1106
|
d: `M ${t.linePath}`,
|
|
1103
1107
|
stroke: t.color,
|
|
@@ -1106,11 +1110,11 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1106
1110
|
fill: "none",
|
|
1107
1111
|
class: ve({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1108
1112
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1109
|
-
}, null, 10,
|
|
1113
|
+
}, null, 10, Fa)
|
|
1110
1114
|
], 64)),
|
|
1111
1115
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("circle", {
|
|
1112
1116
|
cx: r.x,
|
|
1113
|
-
cy: g(
|
|
1117
|
+
cy: g(Y)(r.y),
|
|
1114
1118
|
r: 3,
|
|
1115
1119
|
fill: t.color,
|
|
1116
1120
|
stroke: e.value.backgroundColor,
|
|
@@ -1127,15 +1131,15 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1127
1131
|
"font-size": e.value.dataLabelFontSize,
|
|
1128
1132
|
fill: t.color,
|
|
1129
1133
|
x: r.x,
|
|
1130
|
-
y: g(
|
|
1134
|
+
y: g(Y)(r.y) - e.value.dataLabelFontSize / 2,
|
|
1131
1135
|
class: "quick-animation",
|
|
1132
1136
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1133
|
-
},
|
|
1137
|
+
}, O(g(Z)(
|
|
1134
1138
|
e.value.formatter,
|
|
1135
|
-
g(
|
|
1139
|
+
g(Y)(r.value),
|
|
1136
1140
|
g(D)({
|
|
1137
1141
|
p: e.value.valuePrefix,
|
|
1138
|
-
v: g(
|
|
1142
|
+
v: g(Y)(r.value),
|
|
1139
1143
|
s: e.value.valueSuffix,
|
|
1140
1144
|
r: e.value.dataLabelRoundingValue
|
|
1141
1145
|
}),
|
|
@@ -1149,11 +1153,11 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1149
1153
|
y: d.value.drawingArea.top,
|
|
1150
1154
|
height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
|
|
1151
1155
|
width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
|
|
1152
|
-
fill: [W.value,
|
|
1153
|
-
style:
|
|
1156
|
+
fill: [W.value, G.value].includes(u) ? e.value.xyHighlighterColor : "transparent",
|
|
1157
|
+
style: M(`opacity:${e.value.xyHighlighterOpacity}`),
|
|
1154
1158
|
onMouseenter: (r) => d.value.useTooltip(u),
|
|
1155
1159
|
onMouseleave: s[1] || (s[1] = (r) => d.value.killTooltip()),
|
|
1156
|
-
onClick: (r) =>
|
|
1160
|
+
onClick: (r) => ie("selectDatapoint", d.value.dataset.map((h) => ({
|
|
1157
1161
|
...h,
|
|
1158
1162
|
value: h.values[u]
|
|
1159
1163
|
})))
|
|
@@ -1223,7 +1227,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1223
1227
|
"text-anchor": "end",
|
|
1224
1228
|
"font-size": e.value.xyLabelsYFontSize,
|
|
1225
1229
|
fill: e.value.color
|
|
1226
|
-
},
|
|
1230
|
+
}, O(g(Z)(
|
|
1227
1231
|
e.value.formatter,
|
|
1228
1232
|
t.value,
|
|
1229
1233
|
g(D)({
|
|
@@ -1237,7 +1241,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1237
1241
|
], 64))), 256))
|
|
1238
1242
|
])) : f("", !0),
|
|
1239
1243
|
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ka, [
|
|
1240
|
-
(a(!0), l(m, null, $(e.value.xyPeriods.slice(
|
|
1244
|
+
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, u) => (a(), l("line", {
|
|
1241
1245
|
x1: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
|
|
1242
1246
|
x2: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
|
|
1243
1247
|
y1: v.value.drawingArea.bottom,
|
|
@@ -1246,20 +1250,20 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1246
1250
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1247
1251
|
"stroke-linecap": "round"
|
|
1248
1252
|
}, null, 8, el))), 256)),
|
|
1249
|
-
(a(!0), l(m, null, $(e.value.xyPeriods.slice(
|
|
1253
|
+
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, u) => (a(), l("text", {
|
|
1250
1254
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1251
1255
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1252
1256
|
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1253
1257
|
fill: e.value.color
|
|
1254
|
-
},
|
|
1258
|
+
}, O(t), 9, tl))), 256))
|
|
1255
1259
|
])) : f("", !0),
|
|
1256
1260
|
_("g", al, [
|
|
1257
1261
|
(a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l(m, null, [
|
|
1258
1262
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("rect", {
|
|
1259
1263
|
x: r.x,
|
|
1260
1264
|
width: r.width <= 0 ? 1e-5 : r.width,
|
|
1261
|
-
height: g(
|
|
1262
|
-
y: g(
|
|
1265
|
+
height: g(Y)(r.height <= 0 ? 1e-5 : r.height),
|
|
1266
|
+
y: g(Y)(r.y),
|
|
1263
1267
|
fill: t.color,
|
|
1264
1268
|
stroke: e.value.backgroundColor,
|
|
1265
1269
|
"stroke-width": e.value.barStrokeWidth,
|
|
@@ -1279,25 +1283,25 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1279
1283
|
from: v.value.absoluteZero,
|
|
1280
1284
|
to: v.value.absoluteZero - r.height,
|
|
1281
1285
|
dur: "0.5s"
|
|
1282
|
-
}, null, 8,
|
|
1286
|
+
}, null, 8, nl)) : f("", !0)
|
|
1283
1287
|
], 10, ll))), 256))
|
|
1284
1288
|
], 64))), 256))
|
|
1285
1289
|
]),
|
|
1286
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1290
|
+
e.value.showDataLabels ? (a(), l("g", il, [
|
|
1287
1291
|
(a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l(m, null, [
|
|
1288
1292
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
|
|
1289
1293
|
x: r.x + r.width / 2,
|
|
1290
|
-
y: g(
|
|
1294
|
+
y: g(Y)(r.y) - e.value.dataLabelFontSize / 2,
|
|
1291
1295
|
"text-anchor": "middle",
|
|
1292
1296
|
"font-size": e.value.dataLabelFontSize,
|
|
1293
1297
|
fill: t.color,
|
|
1294
1298
|
class: "quick-animation"
|
|
1295
|
-
},
|
|
1299
|
+
}, O(g(Z)(
|
|
1296
1300
|
e.value.formatter,
|
|
1297
|
-
g(
|
|
1301
|
+
g(Y)(r.value),
|
|
1298
1302
|
g(D)({
|
|
1299
1303
|
p: e.value.valuePrefix,
|
|
1300
|
-
v: g(
|
|
1304
|
+
v: g(Y)(r.value),
|
|
1301
1305
|
s: e.value.valueSuffix,
|
|
1302
1306
|
r: e.value.dataLabelRoundingValue
|
|
1303
1307
|
}),
|
|
@@ -1311,11 +1315,11 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1311
1315
|
y: v.value.drawingArea.top,
|
|
1312
1316
|
height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
|
|
1313
1317
|
width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
|
|
1314
|
-
fill: [W.value,
|
|
1315
|
-
style:
|
|
1318
|
+
fill: [W.value, G.value].includes(u) ? e.value.xyHighlighterColor : "transparent",
|
|
1319
|
+
style: M(`opacity:${e.value.xyHighlighterOpacity}`),
|
|
1316
1320
|
onMouseenter: (r) => v.value.useTooltip(u),
|
|
1317
1321
|
onMouseleave: s[2] || (s[2] = (r) => v.value.killTooltip()),
|
|
1318
|
-
onClick: (r) =>
|
|
1322
|
+
onClick: (r) => ie("selectDatapoint", v.value.dataset.map((h) => ({
|
|
1319
1323
|
...h,
|
|
1320
1324
|
value: h.values[u]
|
|
1321
1325
|
})))
|
|
@@ -1329,8 +1333,8 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1329
1333
|
fill: e.value.color,
|
|
1330
1334
|
"text-anchor": "middle",
|
|
1331
1335
|
x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
|
|
1332
|
-
y:
|
|
1333
|
-
},
|
|
1336
|
+
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1337
|
+
}, O(e.value.xAxisLabel), 9, cl)
|
|
1334
1338
|
])) : f("", !0),
|
|
1335
1339
|
e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", hl, [
|
|
1336
1340
|
_("text", {
|
|
@@ -1338,8 +1342,8 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1338
1342
|
fill: e.value.color,
|
|
1339
1343
|
"text-anchor": "middle",
|
|
1340
1344
|
x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
|
|
1341
|
-
y:
|
|
1342
|
-
},
|
|
1345
|
+
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1346
|
+
}, O(e.value.xAxisLabel), 9, fl)
|
|
1343
1347
|
])) : f("", !0),
|
|
1344
1348
|
e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", gl, [
|
|
1345
1349
|
_("text", {
|
|
@@ -1347,7 +1351,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1347
1351
|
fill: e.value.color,
|
|
1348
1352
|
transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1349
1353
|
"text-anchor": "middle"
|
|
1350
|
-
},
|
|
1354
|
+
}, O(e.value.yAxisLabel), 9, ml)
|
|
1351
1355
|
])) : f("", !0),
|
|
1352
1356
|
e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", pl, [
|
|
1353
1357
|
_("text", {
|
|
@@ -1355,7 +1359,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1355
1359
|
fill: e.value.color,
|
|
1356
1360
|
transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1357
1361
|
"text-anchor": "middle"
|
|
1358
|
-
},
|
|
1362
|
+
}, O(e.value.yAxisLabel), 9, yl)
|
|
1359
1363
|
])) : f("", !0)
|
|
1360
1364
|
])) : f("", !0)
|
|
1361
1365
|
], 12, ea)) : f("", !0),
|
|
@@ -1378,9 +1382,9 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1378
1382
|
}
|
|
1379
1383
|
}, null, 8, ["config"])),
|
|
1380
1384
|
o.$slots.watermark ? (a(), l("div", xl, [
|
|
1381
|
-
|
|
1385
|
+
N(o.$slots, "watermark", ae(le({ isPrinting: g(Ae) || g(_e) })), void 0, !0)
|
|
1382
1386
|
])) : f("", !0),
|
|
1383
|
-
[A.BAR, A.LINE].includes(z.value) && e.value.zoomXy &&
|
|
1387
|
+
[A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
|
|
1384
1388
|
key: `slicer_${Se.value}`,
|
|
1385
1389
|
ref_key: "quickChartSlicer",
|
|
1386
1390
|
ref: ce
|
|
@@ -1393,15 +1397,15 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1393
1397
|
borderColor: e.value.backgroundColor,
|
|
1394
1398
|
fontSize: e.value.zoomFontSize,
|
|
1395
1399
|
useResetSlot: e.value.zoomUseResetSlot,
|
|
1396
|
-
labelLeft: e.value.xyPeriods[
|
|
1397
|
-
labelRight: e.value.xyPeriods[
|
|
1400
|
+
labelLeft: e.value.xyPeriods[p.value.start] ? e.value.xyPeriods[p.value.start] : "",
|
|
1401
|
+
labelRight: e.value.xyPeriods[p.value.end - 1] ? e.value.xyPeriods[p.value.end - 1] : "",
|
|
1398
1402
|
textColor: e.value.color,
|
|
1399
1403
|
inputColor: e.value.zoomColor,
|
|
1400
1404
|
selectColor: e.value.zoomHighlightColor,
|
|
1401
|
-
max:
|
|
1405
|
+
max: x.value.maxSeriesLength,
|
|
1402
1406
|
min: 0,
|
|
1403
|
-
valueStart:
|
|
1404
|
-
valueEnd:
|
|
1407
|
+
valueStart: p.value.start,
|
|
1408
|
+
valueEnd: p.value.end,
|
|
1405
1409
|
smoothMinimap: e.value.zoomMinimap.smooth,
|
|
1406
1410
|
minimapSelectedColor: e.value.zoomMinimap.selectedColor,
|
|
1407
1411
|
minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
|
|
@@ -1410,20 +1414,20 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1410
1414
|
minimap: bt.value,
|
|
1411
1415
|
minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
|
|
1412
1416
|
verticalHandles: e.value.zoomMinimap.verticalHandles,
|
|
1413
|
-
minimapSelectedIndex:
|
|
1414
|
-
start:
|
|
1415
|
-
"onUpdate:start": s[3] || (s[3] = (t) =>
|
|
1416
|
-
end:
|
|
1417
|
-
"onUpdate:end": s[4] || (s[4] = (t) =>
|
|
1417
|
+
minimapSelectedIndex: G.value,
|
|
1418
|
+
start: p.value.start,
|
|
1419
|
+
"onUpdate:start": s[3] || (s[3] = (t) => p.value.start = t),
|
|
1420
|
+
end: p.value.end,
|
|
1421
|
+
"onUpdate:end": s[4] || (s[4] = (t) => p.value.end = t),
|
|
1418
1422
|
refreshStartPoint: e.value.zoomStartIndex !== null ? e.value.zoomStartIndex : 0,
|
|
1419
|
-
refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 :
|
|
1423
|
+
refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : x.value.maxSeriesLength,
|
|
1420
1424
|
enableRangeHandles: e.value.zoomEnableRangeHandles,
|
|
1421
1425
|
enableSelectionDrag: e.value.zoomEnableSelectionDrag,
|
|
1422
1426
|
onReset: xt,
|
|
1423
1427
|
onTrapMouse: yt
|
|
1424
1428
|
}, {
|
|
1425
|
-
"reset-action":
|
|
1426
|
-
|
|
1429
|
+
"reset-action": X(({ reset: t }) => [
|
|
1430
|
+
N(o.$slots, "reset-action", ae(le({ reset: t })), void 0, !0)
|
|
1427
1431
|
]),
|
|
1428
1432
|
_: 3
|
|
1429
1433
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "verticalHandles", "minimapSelectedIndex", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
|
|
@@ -1431,32 +1435,32 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1431
1435
|
e.value.showLegend ? (a(), l("div", {
|
|
1432
1436
|
key: 8,
|
|
1433
1437
|
ref_key: "quickChartLegend",
|
|
1434
|
-
ref:
|
|
1438
|
+
ref: ne,
|
|
1435
1439
|
class: "vue-ui-quick-chart-legend",
|
|
1436
|
-
style:
|
|
1440
|
+
style: M(`background:transparent;color:${e.value.color}`)
|
|
1437
1441
|
}, [
|
|
1438
1442
|
z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, u) => (a(), l("div", {
|
|
1439
1443
|
class: "vue-ui-quick-chart-legend-item",
|
|
1440
1444
|
onClick: (r) => {
|
|
1441
|
-
pt(t, I.value.dataset),
|
|
1445
|
+
pt(t, I.value.dataset), ie("selectLegend", t);
|
|
1442
1446
|
},
|
|
1443
|
-
style:
|
|
1447
|
+
style: M(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1444
1448
|
}, [
|
|
1445
|
-
e.value.useCustomLegend ?
|
|
1449
|
+
e.value.useCustomLegend ? N(o.$slots, "legend", Fe({
|
|
1446
1450
|
key: 0,
|
|
1447
1451
|
ref_for: !0
|
|
1448
1452
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1449
|
-
de(
|
|
1453
|
+
de(Oe, {
|
|
1450
1454
|
name: e.value.legendIcon,
|
|
1451
1455
|
stroke: t.color,
|
|
1452
1456
|
size: e.value.legendIconSize
|
|
1453
1457
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1454
1458
|
_("span", {
|
|
1455
|
-
style:
|
|
1456
|
-
},
|
|
1459
|
+
style: M(`font-size:${e.value.legendFontSize}px`)
|
|
1460
|
+
}, O(t.name), 5),
|
|
1457
1461
|
_("span", {
|
|
1458
|
-
style:
|
|
1459
|
-
},
|
|
1462
|
+
style: M(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
|
|
1463
|
+
}, O(w.value.includes(t.id) ? "-" : g(Z)(
|
|
1460
1464
|
e.value.formatter,
|
|
1461
1465
|
t.absoluteValue,
|
|
1462
1466
|
g(D)({
|
|
@@ -1469,14 +1473,14 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1469
1473
|
)), 5),
|
|
1470
1474
|
w.value.includes(t.id) ? (a(), l("span", {
|
|
1471
1475
|
key: 0,
|
|
1472
|
-
style:
|
|
1476
|
+
style: M(`font-size:${e.value.legendFontSize}px`)
|
|
1473
1477
|
}, " ( - % ) ", 4)) : Le.value ? (a(), l("span", {
|
|
1474
1478
|
key: 1,
|
|
1475
|
-
style:
|
|
1479
|
+
style: M(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1476
1480
|
}, " ( - % ) ", 4)) : (a(), l("span", {
|
|
1477
1481
|
key: 2,
|
|
1478
|
-
style:
|
|
1479
|
-
}, " (" +
|
|
1482
|
+
style: M(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1483
|
+
}, " (" + O(g(D)({
|
|
1480
1484
|
v: t.value / I.value.total * 100,
|
|
1481
1485
|
s: "%",
|
|
1482
1486
|
r: e.value.dataLabelRoundingPercentage
|
|
@@ -1486,43 +1490,43 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1486
1490
|
z.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(d.value.legend, (t, u) => (a(), l("div", {
|
|
1487
1491
|
class: "vue-ui-quick-chart-legend-item",
|
|
1488
1492
|
onClick: (r) => {
|
|
1489
|
-
Ke(t.id, d.value.legend.length - 1),
|
|
1493
|
+
Ke(t.id, d.value.legend.length - 1), ie("selectLegend", t);
|
|
1490
1494
|
},
|
|
1491
|
-
style:
|
|
1495
|
+
style: M(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1492
1496
|
}, [
|
|
1493
|
-
e.value.useCustomLegend ?
|
|
1497
|
+
e.value.useCustomLegend ? N(o.$slots, "legend", Fe({
|
|
1494
1498
|
key: 0,
|
|
1495
1499
|
ref_for: !0
|
|
1496
1500
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1497
|
-
de(
|
|
1501
|
+
de(Oe, {
|
|
1498
1502
|
name: e.value.legendIcon,
|
|
1499
1503
|
stroke: t.color,
|
|
1500
1504
|
size: e.value.legendIconSize
|
|
1501
1505
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1502
1506
|
_("span", {
|
|
1503
|
-
style:
|
|
1504
|
-
},
|
|
1507
|
+
style: M(`font-size:${e.value.legendFontSize}px`)
|
|
1508
|
+
}, O(t.name), 5)
|
|
1505
1509
|
], 64))
|
|
1506
1510
|
], 12, bl))), 256)) : f("", !0),
|
|
1507
1511
|
z.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(v.value.legend, (t, u) => (a(), l("div", {
|
|
1508
1512
|
class: "vue-ui-quick-chart-legend-item",
|
|
1509
1513
|
onClick: (r) => {
|
|
1510
|
-
Ke(t.id, v.value.legend.length - 1),
|
|
1514
|
+
Ke(t.id, v.value.legend.length - 1), ie("selectLegend", t);
|
|
1511
1515
|
},
|
|
1512
|
-
style:
|
|
1516
|
+
style: M(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1513
1517
|
}, [
|
|
1514
|
-
e.value.useCustomLegend ?
|
|
1518
|
+
e.value.useCustomLegend ? N(o.$slots, "legend", Fe({
|
|
1515
1519
|
key: 0,
|
|
1516
1520
|
ref_for: !0
|
|
1517
1521
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1518
|
-
de(
|
|
1522
|
+
de(Oe, {
|
|
1519
1523
|
name: e.value.legendIcon,
|
|
1520
1524
|
stroke: t.color,
|
|
1521
1525
|
size: e.value.legendIconSize
|
|
1522
1526
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1523
1527
|
_("span", {
|
|
1524
|
-
style:
|
|
1525
|
-
},
|
|
1528
|
+
style: M(`font-size:${e.value.legendFontSize}px`)
|
|
1529
|
+
}, O(t.name), 5)
|
|
1526
1530
|
], 64))
|
|
1527
1531
|
], 12, Sl))), 256)) : f("", !0)
|
|
1528
1532
|
], 4)) : f("", !0),
|
|
@@ -1532,9 +1536,9 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1532
1536
|
ref: Ve,
|
|
1533
1537
|
dir: "auto"
|
|
1534
1538
|
}, [
|
|
1535
|
-
|
|
1539
|
+
N(o.$slots, "source", {}, void 0, !0)
|
|
1536
1540
|
], 512)) : f("", !0),
|
|
1537
|
-
de(
|
|
1541
|
+
de(Ft, {
|
|
1538
1542
|
show: me.value.showTooltip && j.value,
|
|
1539
1543
|
backgroundColor: e.value.backgroundColor,
|
|
1540
1544
|
color: e.value.color,
|
|
@@ -1548,25 +1552,25 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1548
1552
|
parent: H.value,
|
|
1549
1553
|
content: Q.value,
|
|
1550
1554
|
isFullscreen: $e.value,
|
|
1551
|
-
isCustom: g(
|
|
1555
|
+
isCustom: g(Pe)(e.value.tooltipCustomFormat)
|
|
1552
1556
|
}, {
|
|
1553
|
-
"tooltip-before":
|
|
1554
|
-
|
|
1557
|
+
"tooltip-before": X(() => [
|
|
1558
|
+
N(o.$slots, "tooltip-before", ae(le({ ...he.value })), void 0, !0)
|
|
1555
1559
|
]),
|
|
1556
|
-
"tooltip-after":
|
|
1557
|
-
|
|
1560
|
+
"tooltip-after": X(() => [
|
|
1561
|
+
N(o.$slots, "tooltip-after", ae(le({ ...he.value })), void 0, !0)
|
|
1558
1562
|
]),
|
|
1559
1563
|
_: 3
|
|
1560
1564
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
|
|
1561
1565
|
], 46, Kt)) : (a(), l("div", wl, [
|
|
1562
|
-
de(
|
|
1566
|
+
de(Oe, {
|
|
1563
1567
|
name: "circleCancel",
|
|
1564
1568
|
stroke: "red"
|
|
1565
1569
|
}),
|
|
1566
1570
|
s[8] || (s[8] = _("span", null, "Dataset is not processable", -1))
|
|
1567
1571
|
]));
|
|
1568
1572
|
}
|
|
1569
|
-
},
|
|
1573
|
+
}, Fl = /* @__PURE__ */ jt(Al, [["__scopeId", "data-v-4444f63f"]]);
|
|
1570
1574
|
export {
|
|
1571
|
-
|
|
1575
|
+
Fl as default
|
|
1572
1576
|
};
|