vue-data-ui 2.4.86 → 2.4.88
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-DpgbndsU.js → Arrow-D79KA6Cu.js} +1 -1
- package/dist/{Arrow-Bh7Ezbzf.cjs → Arrow-DMSM0MM1.cjs} +1 -1
- package/dist/{BaseIcon-CdPe2CAc.js → BaseIcon-B9BZgZsa.js} +1 -1
- package/dist/{BaseIcon-CaKclr1e.cjs → BaseIcon-CehmAXJH.cjs} +1 -1
- package/dist/{DataTable-BfiPjHpN.js → DataTable-Cnr3w23K.js} +2 -2
- package/dist/{DataTable-DuosyZ6d.cjs → DataTable-DVKGDaCB.cjs} +1 -1
- package/dist/{Legend-DiFDWEo2.js → Legend-Di7FMl12.js} +2 -2
- package/dist/{Legend-BnKYc6ZY.cjs → Legend-Uv0t6PIz.cjs} +1 -1
- package/dist/{PackageVersion-qom4AEUr.js → PackageVersion-BAKTtSRE.js} +1 -1
- package/dist/{PackageVersion-B5rBHZEb.cjs → PackageVersion-BgKxrHv-.cjs} +1 -1
- package/dist/{PenAndPaper-C-1AU46J.js → PenAndPaper-BUzmu0vi.js} +3 -3
- package/dist/{PenAndPaper-5OV7IAca.cjs → PenAndPaper-BYVZ33fz.cjs} +1 -1
- package/dist/{Shape-CmsIulaS.cjs → Shape-CNuTafzS.cjs} +1 -1
- package/dist/{Shape-Dmv7nCLC.js → Shape-DZz__S1P.js} +1 -1
- package/dist/{Slicer-CmBt4xoj.cjs → Slicer-BSQa-Zel.cjs} +1 -1
- package/dist/{Slicer-D4ugcR39.js → Slicer-Clpv-EOL.js} +2 -2
- package/dist/{Title-D3kX1BVl.cjs → Title-DcTKT_WK.cjs} +1 -1
- package/dist/{Title-ClQ27HaB.js → Title-Dt5mC-vb.js} +1 -1
- package/dist/{Tooltip-CGYgJoPR.js → Tooltip-CmKYX0H1.js} +1 -1
- package/dist/{Tooltip-CARCyQNT.cjs → Tooltip-y6Z9yhlE.cjs} +1 -1
- package/dist/{index-CXx0JV8R.js → index-DCHLGNvJ.js} +1 -1
- package/dist/{index-DqxDpUy0.cjs → index-xEXHnOtJ.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useNestedProp-B-WAbP7E.js → useNestedProp-BPR7xHxr.js} +1 -1
- package/dist/{useNestedProp-DNWKDmdP.cjs → useNestedProp-LNEDZsGq.cjs} +1 -1
- package/dist/{usePrinter-Ctor1UK0.js → usePrinter-BvounINk.js} +1 -1
- package/dist/{usePrinter-BC7U4s0U.cjs → usePrinter-CjQvMB0_.cjs} +1 -1
- package/dist/{vue-data-ui-BpAZx3Va.js → vue-data-ui-BCZFdeNf.js} +60 -60
- package/dist/{vue-data-ui-DkgWwqtw.cjs → vue-data-ui-eNIOCbja.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-1A6t1biQ.js → vue-ui-3d-bar-B0ZLxzL-.js} +38 -38
- package/dist/{vue-ui-3d-bar-ngD35pLb.cjs → vue-ui-3d-bar-DEZhX6d1.cjs} +11 -11
- package/dist/{vue-ui-accordion-XAEm2rxj.cjs → vue-ui-accordion-2c1jq56U.cjs} +1 -1
- package/dist/{vue-ui-accordion-BljYKOXR.js → vue-ui-accordion-DEpeQHhr.js} +3 -3
- package/dist/vue-ui-age-pyramid-DlE41fIs.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-qfVpUr52.js → vue-ui-age-pyramid-dewoEG3y.js} +29 -29
- package/dist/{vue-ui-annotator-pFybuGix.cjs → vue-ui-annotator-CG6CV-7_.cjs} +1 -1
- package/dist/{vue-ui-annotator-CH9QWqAv.js → vue-ui-annotator-D9op3RMK.js} +1 -1
- package/dist/{vue-ui-bullet-BH7zmX0E.js → vue-ui-bullet-B6tijZFI.js} +8 -8
- package/dist/{vue-ui-bullet-C6y7Ddg-.cjs → vue-ui-bullet-Bt_2KhaH.cjs} +1 -1
- package/dist/{vue-ui-candlestick-RCtFAjEU.js → vue-ui-candlestick-B4DkRibE.js} +48 -48
- package/dist/{vue-ui-candlestick-DtCmxeo5.cjs → vue-ui-candlestick-DWDz2nFA.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BUL063mi.js → vue-ui-carousel-table-COAPDtuP.js} +4 -4
- package/dist/{vue-ui-carousel-table-BeDenKJo.cjs → vue-ui-carousel-table-DZlh-CRi.cjs} +1 -1
- package/dist/{vue-ui-chestnut-xDD_4bz2.js → vue-ui-chestnut-DCk2Zbcz.js} +29 -29
- package/dist/{vue-ui-chestnut-B6EalNLT.cjs → vue-ui-chestnut-EyoKonrW.cjs} +2 -2
- package/dist/{vue-ui-cursor-DbV0HXHB.cjs → vue-ui-cursor-DR8hHWf7.cjs} +1 -1
- package/dist/{vue-ui-cursor-D6Qndjnn.js → vue-ui-cursor-DSP_sXww.js} +2 -2
- package/dist/{vue-ui-dashboard-B_kj8L_A.cjs → vue-ui-dashboard-BJsyMU6X.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_4ot4bz.js → vue-ui-dashboard-BizVZE7w.js} +2 -2
- package/dist/{vue-ui-digits-BLI4lCZC.js → vue-ui-digits-BvVZ7uDf.js} +2 -2
- package/dist/{vue-ui-digits-DKs2fTGz.cjs → vue-ui-digits-vspu86yU.cjs} +1 -1
- package/dist/vue-ui-donut-BHJF4z2B.cjs +1 -0
- package/dist/{vue-ui-donut-wBZoPkru.js → vue-ui-donut-aFsq1d8c.js} +76 -76
- package/dist/{vue-ui-donut-evolution-ClOGDHiK.js → vue-ui-donut-evolution-BfS2WdBU.js} +66 -66
- package/dist/vue-ui-donut-evolution-DwVP-Zjn.cjs +1 -0
- package/dist/{vue-ui-dumbbell-PR9tHMvD.js → vue-ui-dumbbell-Bb5wHbQL.js} +28 -28
- package/dist/vue-ui-dumbbell-Bi-2LGtG.cjs +9 -0
- package/dist/{vue-ui-flow-CxW8g0NW.js → vue-ui-flow-DxNNh-WO.js} +31 -31
- package/dist/vue-ui-flow-RQWHqn22.cjs +1 -0
- package/dist/vue-ui-funnel-D-892HTK.cjs +1 -0
- package/dist/{vue-ui-funnel-BJNlWIq5.js → vue-ui-funnel-IVTzcHVm.js} +32 -32
- package/dist/{vue-ui-galaxy-DuGLDGzf.js → vue-ui-galaxy-039pCZpW.js} +81 -81
- package/dist/vue-ui-galaxy-BR-8c9Hn.cjs +1 -0
- package/dist/{vue-ui-gauge-Dpcxdegh.cjs → vue-ui-gauge-B4k-bq9l.cjs} +1 -1
- package/dist/{vue-ui-gauge-CBx84KCt.js → vue-ui-gauge-ZEMVvV-t.js} +7 -7
- package/dist/{vue-ui-gizmo-Djw5T_Vr.cjs → vue-ui-gizmo--XG8-JLk.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BPIyNNkI.js → vue-ui-gizmo-DKzAWnI0.js} +3 -3
- package/dist/vue-ui-heatmap-Bia0Ekaw.cjs +1 -0
- package/dist/{vue-ui-heatmap-DI8gVwfM.js → vue-ui-heatmap-DXDpQL6T.js} +63 -63
- package/dist/vue-ui-history-plot-Cq9ZWdDn.cjs +1 -0
- package/dist/{vue-ui-history-plot-CWfWMwqw.js → vue-ui-history-plot-o1WosOjA.js} +69 -69
- package/dist/{vue-ui-kpi-CBJZp-nE.js → vue-ui-kpi-B01FpRQ0.js} +3 -3
- package/dist/{vue-ui-kpi-BjGIj-IQ.cjs → vue-ui-kpi-lWq7fZr1.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DfeNWsJk.js → vue-ui-mini-loader-DLUYnvwS.js} +2 -2
- package/dist/{vue-ui-mini-loader-Cafts_cp.cjs → vue-ui-mini-loader-jkxJpHFv.cjs} +1 -1
- package/dist/vue-ui-molecule-BBK9ofPv.cjs +1 -0
- package/dist/{vue-ui-molecule-BTO5WRuL.js → vue-ui-molecule-DyiuRZQM.js} +155 -155
- package/dist/vue-ui-mood-radar-Bx32tbYB.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CKGwiCsd.js → vue-ui-mood-radar-DJI_fbFv.js} +33 -33
- package/dist/{vue-ui-nested-donuts-BvkJoiOT.cjs → vue-ui-nested-donuts-B6ZLkoIS.cjs} +5 -5
- package/dist/{vue-ui-nested-donuts-JGie_log.js → vue-ui-nested-donuts-B9gUqMTf.js} +147 -147
- package/dist/{vue-ui-onion-BWoVr0FT.cjs → vue-ui-onion-BnLW3as9.cjs} +2 -2
- package/dist/{vue-ui-onion-BXauNEVz.js → vue-ui-onion-D-OxG00N.js} +44 -44
- package/dist/{vue-ui-parallel-coordinate-plot-njogPtYo.js → vue-ui-parallel-coordinate-plot-DXc-b6rP.js} +79 -79
- package/dist/{vue-ui-parallel-coordinate-plot-BrvB0jer.cjs → vue-ui-parallel-coordinate-plot-wx4e_yuu.cjs} +3 -3
- package/dist/vue-ui-quadrant-BqaLRYQp.cjs +1 -0
- package/dist/{vue-ui-quadrant-DnaOzxMc.js → vue-ui-quadrant-bakb0497.js} +108 -108
- package/dist/vue-ui-quick-chart-BZdsiGCz.cjs +15 -0
- package/dist/{vue-ui-quick-chart-kAG9Eaxb.js → vue-ui-quick-chart-BnH7-lmq.js} +212 -212
- package/dist/vue-ui-radar-D5IDgzwd.cjs +1 -0
- package/dist/{vue-ui-radar-DRmP5yb4.js → vue-ui-radar-DadvgLtC.js} +107 -107
- package/dist/{vue-ui-rating-BtLDJSwm.cjs → vue-ui-rating-B4yxkddt.cjs} +1 -1
- package/dist/{vue-ui-rating-De5IfgHJ.js → vue-ui-rating-CGojWinU.js} +2 -2
- package/dist/{vue-ui-relation-circle-DKQl7eWX.js → vue-ui-relation-circle-COC07h_K.js} +7 -7
- package/dist/{vue-ui-relation-circle-B2l-2KnH.cjs → vue-ui-relation-circle-rmWirv-5.cjs} +1 -1
- package/dist/{vue-ui-rings-Dwyz2fEm.js → vue-ui-rings-CMk-sVvK.js} +66 -66
- package/dist/{vue-ui-rings-KQoMkv4v.cjs → vue-ui-rings-DO1cN4ly.cjs} +2 -2
- package/dist/vue-ui-scatter-C4QmHmq2.cjs +1 -0
- package/dist/{vue-ui-scatter-DeOrkD2Y.js → vue-ui-scatter-CPkly4JA.js} +85 -85
- package/dist/{vue-ui-screenshot-BLp1_Q6K.cjs → vue-ui-screenshot-BxFOMLiy.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D1Ekbb27.js → vue-ui-screenshot-CzFhpFE4.js} +1 -1
- package/dist/{vue-ui-skeleton-qIxxRRaX.cjs → vue-ui-skeleton-Tse1D8cv.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Cw0-Ac_0.js → vue-ui-skeleton-nTL-u4Yd.js} +3 -3
- package/dist/{vue-ui-smiley-D3oqt6Rg.js → vue-ui-smiley-Bu3bOukI.js} +2 -2
- package/dist/{vue-ui-smiley-D3WgXFhb.cjs → vue-ui-smiley-D-sS-77y.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DyhcWMWz.js → vue-ui-spark-trend-Bh5gFFQf.js} +5 -5
- package/dist/{vue-ui-spark-trend-CVyPm6ms.cjs → vue-ui-spark-trend-CF36oite.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CRMMOv0T.cjs → vue-ui-sparkbar-CGIYeFjB.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C0av7SAn.js → vue-ui-sparkbar-DX2xrwR9.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B3K4si6u.js → vue-ui-sparkgauge-CZ837K-0.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BQnxP_8u.cjs → vue-ui-sparkgauge-D2NJVKww.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Bo3pkA-I.js → vue-ui-sparkhistogram-2NcpXt-_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DVAas7L7.cjs → vue-ui-sparkhistogram-DIYvXyIB.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CDqFBaPU.cjs → vue-ui-sparkline-BIj5WMUM.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DIHKGu0H.js → vue-ui-sparkline-CuBFi324.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CC-OaMTb.cjs → vue-ui-sparkstackbar-BvcGQqmi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DG87wFd5.js → vue-ui-sparkstackbar-bqD9-qmQ.js} +5 -5
- package/dist/{vue-ui-stackbar-fZKaRitE.js → vue-ui-stackbar-BG0olJr0.js} +51 -51
- package/dist/{vue-ui-stackbar-CVHKHNom.cjs → vue-ui-stackbar-Cbk-PfOC.cjs} +3 -3
- package/dist/vue-ui-strip-plot-Dm2ctnIx.cjs +1 -0
- package/dist/{vue-ui-strip-plot-WOMaN28I.js → vue-ui-strip-plot-mNsmytzE.js} +118 -118
- package/dist/{vue-ui-table-CTtYDZPd.cjs → vue-ui-table-BwuSG-oE.cjs} +1 -1
- package/dist/{vue-ui-table-a4m3lpRq.js → vue-ui-table-C8_8TJ2H.js} +1 -1
- package/dist/{vue-ui-table-heatmap-0vDMKYpV.js → vue-ui-table-heatmap-Bakns13v.js} +4 -4
- package/dist/{vue-ui-table-heatmap-i00aBLPq.cjs → vue-ui-table-heatmap-ZfohVD71.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DW7t3xfB.cjs → vue-ui-table-sparkline-CC5hpyGe.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D5lngzCM.js → vue-ui-table-sparkline-Du93NBKM.js} +5 -5
- package/dist/{vue-ui-thermometer-QtlVD4-S.cjs → vue-ui-thermometer-Cbe7bVeq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-3aeRI-SM.js → vue-ui-thermometer-DZeTxVGM.js} +7 -7
- package/dist/{vue-ui-timer-B1nkj0WG.cjs → vue-ui-timer-B-guKc3A.cjs} +1 -1
- package/dist/{vue-ui-timer-mRaLpRHZ.js → vue-ui-timer-BwNbaMti.js} +5 -5
- package/dist/{vue-ui-tiremarks-xMuvEsN7.cjs → vue-ui-tiremarks-DNtBCjbs.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-Dv2O6FpS.js → vue-ui-tiremarks-sCXXGXiN.js} +7 -7
- package/dist/{vue-ui-treemap-D89aQanB.js → vue-ui-treemap-BQoajav9.js} +108 -108
- package/dist/vue-ui-treemap-CH_qGgmb.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-BpLIp4qR.js → vue-ui-vertical-bar-LWxKcXEf.js} +54 -54
- package/dist/{vue-ui-vertical-bar-CwHag6jq.cjs → vue-ui-vertical-bar-ytpJJBqm.cjs} +3 -3
- package/dist/vue-ui-waffle-CvHppO8v.cjs +1 -0
- package/dist/{vue-ui-waffle-sr2mWvpN.js → vue-ui-waffle-q-CgTerF.js} +99 -99
- package/dist/{vue-ui-wheel-C0KYRHGC.cjs → vue-ui-wheel-BoXkxGeh.cjs} +1 -1
- package/dist/{vue-ui-wheel-B7DOHXW8.js → vue-ui-wheel-CPHOwOzy.js} +7 -7
- package/dist/{vue-ui-word-cloud-BxMb7oCr.js → vue-ui-word-cloud-BargS03s.js} +81 -81
- package/dist/vue-ui-word-cloud-DFL3e0A2.cjs +1 -0
- package/dist/{vue-ui-xy-D5ROTNHD.cjs → vue-ui-xy-CgIp7caN.cjs} +2 -2
- package/dist/{vue-ui-xy-DlyUTKB5.js → vue-ui-xy-DC5y2PjZ.js} +24 -16
- package/dist/{vue-ui-xy-canvas-DHvkJKQH.js → vue-ui-xy-canvas-B4mqwnlS.js} +35 -35
- package/dist/{vue-ui-xy-canvas-BDMk6XVE.cjs → vue-ui-xy-canvas-D1jemBXQ.cjs} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-BgsDYe37.cjs +0 -1
- package/dist/vue-ui-donut-B1Cg4vpI.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CgB_aexh.cjs +0 -1
- package/dist/vue-ui-dumbbell-Cm5O6D4x.cjs +0 -9
- package/dist/vue-ui-flow-CIkXePxd.cjs +0 -1
- package/dist/vue-ui-funnel-BLXk1z5r.cjs +0 -1
- package/dist/vue-ui-galaxy-C01Apc4E.cjs +0 -1
- package/dist/vue-ui-heatmap-DYPE1Efx.cjs +0 -1
- package/dist/vue-ui-history-plot-BeYYrq5_.cjs +0 -1
- package/dist/vue-ui-molecule-Ckh2JsOJ.cjs +0 -1
- package/dist/vue-ui-mood-radar-WHFk1KC1.cjs +0 -1
- package/dist/vue-ui-quadrant-D8krEYWV.cjs +0 -1
- package/dist/vue-ui-quick-chart-DTiell5S.cjs +0 -15
- package/dist/vue-ui-radar-DKB9rVav.cjs +0 -1
- package/dist/vue-ui-scatter-CDT3zyXP.cjs +0 -1
- package/dist/vue-ui-strip-plot-C1pjZ1AT.cjs +0 -1
- package/dist/vue-ui-treemap-BupfwSFa.cjs +0 -1
- package/dist/vue-ui-waffle-DuPI0NV4.cjs +0 -1
- package/dist/vue-ui-word-cloud-BCPMmXhU.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ref as L, computed as U, watch as Ne, onMounted as St, onBeforeUnmount as wt, nextTick as Ce, openBlock as a, createElementBlock as l, normalizeClass as re, normalizeStyle as N, createBlock as Ie, createCommentVNode as f, unref as g, createSlots as At, withCtx as Q, renderSlot as F, normalizeProps as G, guardReactiveProps as se, toDisplayString as O, createVNode as ve, createElementVNode as _, Fragment as p, renderList as $, mergeProps as Fe, pushScopeId as _t, popScopeId as zt } from "vue";
|
|
2
|
-
import { u as Lt, c as $t, t as Ct, a as It, p as V, C as lt, b as Et, J as
|
|
2
|
+
import { u as Lt, c as $t, t as Ct, a as It, p as V, C as lt, b as Et, J as Tt, e as Pt, d as Me, m as Ot, D as ot, X as Rt, j as Nt, k as ye, n as Ue, i as X, f as B, R as it, v as Z, x as Ee, y as Be } from "./index-DCHLGNvJ.js";
|
|
3
3
|
import { t as Ft, u as Mt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import
|
|
5
|
-
import { _ as Ut } from "./Tooltip-
|
|
6
|
-
import { u as Bt, U as Dt } from "./usePrinter-
|
|
7
|
-
import { S as Vt } from "./Slicer-
|
|
8
|
-
import qt from "./vue-ui-skeleton-
|
|
9
|
-
import { u as
|
|
10
|
-
import { _ as Wt } from "./PackageVersion-
|
|
11
|
-
import { P as Ht } from "./PenAndPaper-
|
|
4
|
+
import Te from "./BaseIcon-B9BZgZsa.js";
|
|
5
|
+
import { _ as Ut } from "./Tooltip-CmKYX0H1.js";
|
|
6
|
+
import { u as Bt, U as Dt } from "./usePrinter-BvounINk.js";
|
|
7
|
+
import { S as Vt } from "./Slicer-Clpv-EOL.js";
|
|
8
|
+
import qt from "./vue-ui-skeleton-nTL-u4Yd.js";
|
|
9
|
+
import { u as nt } from "./useNestedProp-BPR7xHxr.js";
|
|
10
|
+
import { _ as Wt } from "./PackageVersion-BAKTtSRE.js";
|
|
11
|
+
import { P as Ht } from "./PenAndPaper-BUzmu0vi.js";
|
|
12
12
|
import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const A = {
|
|
14
14
|
LINE: "LINE",
|
|
@@ -17,18 +17,18 @@ const A = {
|
|
|
17
17
|
}, Gt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
18
18
|
function Xt({ dataset: d, barLineSwitch: I = 6 }) {
|
|
19
19
|
let m = null, C = null, q = 0;
|
|
20
|
-
if ((typeof d == "number" || typeof d == "string") && console.warn(`The provided dataset (${d}) is not sufficient to build a chart`),
|
|
20
|
+
if ((typeof d == "number" || typeof d == "string") && console.warn(`The provided dataset (${d}) is not sufficient to build a chart`), ke(d) && (Y(d) && (d.length < I ? m = A.BAR : m = A.LINE, C = d, q = d.length), Pe(d))) {
|
|
21
21
|
if (!Yt(d))
|
|
22
22
|
return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
23
23
|
const oe = Object.keys(d[0]), de = Object.values(d[0]);
|
|
24
|
-
if (!oe.some((
|
|
24
|
+
if (!oe.some((T) => Jt(T)))
|
|
25
25
|
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;
|
|
26
|
-
ut(de, (
|
|
27
|
-
...
|
|
28
|
-
data: Qt(
|
|
29
|
-
}))), d = d.map((
|
|
26
|
+
ut(de, (T) => typeof T == "number") && (m = A.DONUT, C = d), ut(de, (T) => Array.isArray(T) && Y(T)) && (rt(d) > I ? m = A.LINE : m = A.BAR, q = rt(d), C = d.map((T) => ({
|
|
27
|
+
...T,
|
|
28
|
+
data: Qt(T, (j) => Y(j))
|
|
29
|
+
}))), d = d.map((T) => st(T)), C = C.map((T) => st(T));
|
|
30
30
|
}
|
|
31
|
-
return
|
|
31
|
+
return ke(d) && [...new Set(d.flatMap((oe) => Array.isArray(oe)))][0], {
|
|
32
32
|
dataset: d,
|
|
33
33
|
type: m,
|
|
34
34
|
usableDataset: C,
|
|
@@ -36,18 +36,18 @@ function Xt({ dataset: d, barLineSwitch: I = 6 }) {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
function vt(d) {
|
|
39
|
-
return !d ||
|
|
39
|
+
return !d || ke(d) && !d.length;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ke(d) {
|
|
42
42
|
return Array.isArray(d);
|
|
43
43
|
}
|
|
44
44
|
function Y(d) {
|
|
45
|
-
if (!
|
|
45
|
+
if (!ke(d) || vt(d)) return !1;
|
|
46
46
|
const I = d.map((m) => Number(m));
|
|
47
47
|
return ![...new Set(I.flatMap((m) => typeof m == "number" && !isNaN(m)))].includes(!1);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return !
|
|
49
|
+
function Pe(d) {
|
|
50
|
+
return !ke(d) || vt(d) || !![...new Set(d.flatMap((m) => typeof m == "object" && !Array.isArray(m)))].includes(!1) ? !1 : !d.map((m) => Object.keys(m).length > 0).includes(!1);
|
|
51
51
|
}
|
|
52
52
|
function Zt(d, I) {
|
|
53
53
|
const m = Object.keys(d).sort(), C = Object.keys(I).sort();
|
|
@@ -89,7 +89,7 @@ function st(d) {
|
|
|
89
89
|
d.hasOwnProperty(m) && (I[m.toUpperCase()] = d[m]);
|
|
90
90
|
return I;
|
|
91
91
|
}
|
|
92
|
-
const dt = (d) => (_t("data-v-
|
|
92
|
+
const dt = (d) => (_t("data-v-e9d5ef87"), d = d(), zt(), d), Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"], aa = ["x", "y", "width", "height"], la = ["width", "height"], oa = ["id"], ia = ["id"], na = /* @__PURE__ */ dt(() => /* @__PURE__ */ _("feColorMatrix", {
|
|
93
93
|
type: "saturate",
|
|
94
94
|
values: "0"
|
|
95
95
|
}, null, -1)), ua = ["id"], ra = ["flood-color"], sa = {
|
|
@@ -113,7 +113,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
113
113
|
}, Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = ["x", "y", "font-size", "fill"], Ea = {
|
|
114
114
|
key: 3,
|
|
115
115
|
class: "periodLabels"
|
|
116
|
-
},
|
|
116
|
+
}, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["font-size", "text-anchor", "fill", "transform"], Oa = { class: "plots" }, Ra = { class: "line-plot-series" }, Na = ["d", "stroke", "stroke-width"], Fa = ["d", "stroke", "stroke-width"], Ma = ["d", "stroke", "stroke-width"], Ua = ["d", "stroke", "stroke-width"], Ba = ["cx", "cy", "fill", "stroke"], Da = {
|
|
117
117
|
key: 4,
|
|
118
118
|
class: "dataLabels"
|
|
119
119
|
}, Va = ["font-size", "fill", "x", "y"], qa = { class: "tooltip-traps" }, Wa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ha = {
|
|
@@ -128,7 +128,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
128
128
|
}, Qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ka = ["x", "y", "font-size", "fill"], el = {
|
|
129
129
|
key: 3,
|
|
130
130
|
class: "periodLabels"
|
|
131
|
-
}, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = ["font-size", "text-anchor", "transform", "fill"], ll = { class: "plots" }, ol = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"],
|
|
131
|
+
}, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = ["font-size", "text-anchor", "transform", "fill"], ll = { class: "plots" }, ol = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], il = ["to"], nl = ["from", "to"], ul = {
|
|
132
132
|
key: 4,
|
|
133
133
|
class: "dataLabels"
|
|
134
134
|
}, rl = ["x", "y", "font-size", "fill"], sl = { class: "tooltip-traps" }, vl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], dl = {
|
|
@@ -158,21 +158,21 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
158
158
|
},
|
|
159
159
|
emits: ["selectDatapoint", "selectLegend"],
|
|
160
160
|
setup(d, { expose: I, emit: m }) {
|
|
161
|
-
const C = d, { vue_ui_quick_chart: q } = Lt(), W = L(null), le = L(null), oe = L(null), de = L(null),
|
|
161
|
+
const C = d, { vue_ui_quick_chart: q } = Lt(), W = L(null), le = L(null), oe = L(null), de = L(null), T = L($t()), j = L(!1), ce = L(null), K = L(""), H = L(null), De = L(null), Ve = L(null), w = L([]), qe = L(0), be = L(0), e = U({
|
|
162
162
|
get: () => je(),
|
|
163
163
|
set: (o) => o
|
|
164
|
-
}), ct = U(() => e.value.showUserOptionsOnChartHover), We = U(() => e.value.keepUserOptionsStateOnChartLeave),
|
|
164
|
+
}), ct = U(() => e.value.showUserOptionsOnChartHover), We = U(() => e.value.keepUserOptionsStateOnChartLeave), Se = L(!e.value.showUserOptionsOnChartHover);
|
|
165
165
|
function He(o = !1) {
|
|
166
|
-
ct.value && (
|
|
166
|
+
ct.value && (Se.value = o);
|
|
167
167
|
}
|
|
168
168
|
function je() {
|
|
169
|
-
const o =
|
|
169
|
+
const o = nt({
|
|
170
170
|
userConfig: C.config,
|
|
171
171
|
defaultConfig: q
|
|
172
172
|
});
|
|
173
173
|
let s = {};
|
|
174
174
|
return o.theme ? s = {
|
|
175
|
-
...
|
|
175
|
+
...nt({
|
|
176
176
|
userConfig: Ct.vue_ui_quick_chart[o.theme] || C.config,
|
|
177
177
|
defaultConfig: o
|
|
178
178
|
}),
|
|
@@ -180,12 +180,12 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
180
180
|
} : s = o, C.config && lt(C.config, "zoomStartIndex") ? s.zoomStartIndex = C.config.zoomStartIndex : s.zoomStartIndex = null, C.config && lt(C.config, "zoomEndIndex") ? s.zoomEndIndex = C.config.zoomEndIndex : s.zoomEndIndex = null, s;
|
|
181
181
|
}
|
|
182
182
|
Ne(() => C.config, (o) => {
|
|
183
|
-
e.value = je(), k.value.width = e.value.width, k.value.height = e.value.height,
|
|
183
|
+
e.value = je(), k.value.width = e.value.width, k.value.height = e.value.height, Se.value = !e.value.showUserOptionsOnChartHover, Ze(), ge.value.showTooltip = e.value.showTooltip;
|
|
184
184
|
}, { deep: !0 }), Ne(() => C.dataset, (o) => {
|
|
185
|
-
x.value = fe.value, b.value.start = 0, b.value.end = x.value.maxSeriesLength,
|
|
185
|
+
x.value = fe.value, b.value.start = 0, b.value.end = x.value.maxSeriesLength, be.value += 1;
|
|
186
186
|
}, { deep: !0 });
|
|
187
187
|
const he = U(() => Et(e.value.customPalette)), fe = U(() => {
|
|
188
|
-
const o = Xt({ dataset:
|
|
188
|
+
const o = Xt({ dataset: Tt(C.dataset, [
|
|
189
189
|
"serie",
|
|
190
190
|
"series",
|
|
191
191
|
"data",
|
|
@@ -196,18 +196,18 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
196
196
|
return o || console.error("VueUiQuickChart : Dataset is not processable"), o;
|
|
197
197
|
}), x = L(fe.value), ht = U(() => !!x.value), z = U(() => x.value ? x.value.type : null);
|
|
198
198
|
Ne(() => z.value, (o) => {
|
|
199
|
-
o ||
|
|
199
|
+
o || Pt({
|
|
200
200
|
componentName: "VueUiQuickChart",
|
|
201
201
|
type: "dataset"
|
|
202
202
|
});
|
|
203
203
|
}, { immediate: !0 });
|
|
204
|
-
const { isPrinting:
|
|
205
|
-
elementId: `${z.value}_${
|
|
204
|
+
const { isPrinting: we, isImaging: Ae, generatePdf: Ge, generateImage: Xe } = Bt({
|
|
205
|
+
elementId: `${z.value}_${T.value}`,
|
|
206
206
|
fileName: e.value.title || z.value
|
|
207
207
|
}), ft = U(() => e.value.showUserOptions && !e.value.title), k = L({
|
|
208
208
|
width: e.value.width,
|
|
209
209
|
height: e.value.height
|
|
210
|
-
}),
|
|
210
|
+
}), ge = L({
|
|
211
211
|
showTooltip: e.value.showTooltip
|
|
212
212
|
}), _e = L(null);
|
|
213
213
|
St(() => {
|
|
@@ -250,8 +250,8 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
250
250
|
function Ye(o) {
|
|
251
251
|
return [...o].map((s) => s.value).reduce((s, t) => s + t, 0);
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
return e.value.blurOnHover && ![null, void 0].includes(H.value) && H.value !== o ? `url(#blur_${
|
|
253
|
+
function me(o) {
|
|
254
|
+
return e.value.blurOnHover && ![null, void 0].includes(H.value) && H.value !== o ? `url(#blur_${T.value})` : "";
|
|
255
255
|
}
|
|
256
256
|
function Je(o, s) {
|
|
257
257
|
w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < s && w.value.push(o);
|
|
@@ -307,58 +307,58 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
307
307
|
}
|
|
308
308
|
const et = U(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), E = U(() => {
|
|
309
309
|
if (z.value !== A.DONUT) return null;
|
|
310
|
-
const o = x.value.dataset.map((
|
|
311
|
-
...
|
|
312
|
-
value:
|
|
313
|
-
name:
|
|
314
|
-
id: `donut_${
|
|
315
|
-
})).map((
|
|
316
|
-
...
|
|
317
|
-
color:
|
|
318
|
-
immutableValue:
|
|
310
|
+
const o = x.value.dataset.map((i, n) => ({
|
|
311
|
+
...i,
|
|
312
|
+
value: i.VALUE || i.DATA || i.SERIE || i.VALUES || i.NUM || 0,
|
|
313
|
+
name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${n}`,
|
|
314
|
+
id: `donut_${n}`
|
|
315
|
+
})).map((i, n) => ({
|
|
316
|
+
...i,
|
|
317
|
+
color: i.COLOR ? Me(i.COLOR) : he.value[n + e.value.paletteStartIndex] || V[n + e.value.paletteStartIndex] || V[(n + e.value.paletteStartIndex) % V.length],
|
|
318
|
+
immutableValue: i.value
|
|
319
319
|
}));
|
|
320
|
-
function s(
|
|
320
|
+
function s(i, n) {
|
|
321
321
|
return B({
|
|
322
|
-
v: isNaN(
|
|
322
|
+
v: isNaN(i.value / Ye(n)) ? 0 : i.value / Ye(n) * 100,
|
|
323
323
|
s: "%",
|
|
324
324
|
r: e.value.dataLabelRoundingPercentage
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
|
-
function t(
|
|
328
|
-
return
|
|
327
|
+
function t(i) {
|
|
328
|
+
return i.proportion * 100 > e.value.donutHideLabelUnderPercentage;
|
|
329
329
|
}
|
|
330
|
-
function u(
|
|
331
|
-
const S = fe.value.dataset.find((
|
|
332
|
-
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(
|
|
330
|
+
function u(i, n) {
|
|
331
|
+
const S = fe.value.dataset.find((P, M) => `donut_${M}` === i).VALUE;
|
|
332
|
+
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(n.toFixed(0))).length);
|
|
333
333
|
}
|
|
334
|
-
function r({ datapoint:
|
|
335
|
-
ce.value = { datapoint:
|
|
334
|
+
function r({ datapoint: i, seriesIndex: n }) {
|
|
335
|
+
ce.value = { datapoint: i, seriesIndex: n, config: e.value, dataset: o }, H.value = i.id;
|
|
336
336
|
const S = e.value.tooltipCustomFormat;
|
|
337
337
|
if (Ee(S) && Be(() => S({
|
|
338
|
-
datapoint:
|
|
339
|
-
seriesIndex:
|
|
338
|
+
datapoint: i,
|
|
339
|
+
seriesIndex: n,
|
|
340
340
|
series: o,
|
|
341
341
|
config: e.value
|
|
342
342
|
})))
|
|
343
343
|
K.value = S({
|
|
344
|
-
datapoint:
|
|
345
|
-
seriesIndex:
|
|
344
|
+
datapoint: i,
|
|
345
|
+
seriesIndex: n,
|
|
346
346
|
series: o,
|
|
347
347
|
config: e.value
|
|
348
348
|
});
|
|
349
349
|
else {
|
|
350
350
|
let y = "";
|
|
351
|
-
y += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${
|
|
351
|
+
y += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${i.name}</div>`, y += `<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="${i.color}"/></svg>`, y += `<b>${X(
|
|
352
352
|
e.value.formatter,
|
|
353
|
-
|
|
353
|
+
i.value,
|
|
354
354
|
B({
|
|
355
355
|
p: e.value.valuePrefix,
|
|
356
|
-
v:
|
|
356
|
+
v: i.value,
|
|
357
357
|
s: e.value.valueSuffix,
|
|
358
358
|
r: e.value.dataLabelRoundingValue
|
|
359
359
|
}),
|
|
360
|
-
{ datapoint:
|
|
361
|
-
)}</b>`, y += `<span>(${B({ v:
|
|
360
|
+
{ datapoint: i, seriesIndex: n }
|
|
361
|
+
)}</b>`, y += `<span>(${B({ v: i.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, K.value = `<div>${y}</div>`;
|
|
362
362
|
}
|
|
363
363
|
j.value = !0;
|
|
364
364
|
}
|
|
@@ -368,15 +368,15 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
368
368
|
const R = {
|
|
369
369
|
centerX: k.value.width / 2,
|
|
370
370
|
centerY: k.value.height / 2
|
|
371
|
-
}, D = o.filter((
|
|
372
|
-
...
|
|
373
|
-
proportion: (
|
|
374
|
-
value:
|
|
375
|
-
absoluteValue: fe.value.dataset.find((S, y) => `donut_${y}` ===
|
|
371
|
+
}, D = o.filter((i) => !w.value.includes(i.id)).map((i) => i.value || 0).reduce((i, n) => i + n, 0), ne = o.map((i, n) => ({
|
|
372
|
+
...i,
|
|
373
|
+
proportion: (i.value || 0) / D,
|
|
374
|
+
value: i.value || 0,
|
|
375
|
+
absoluteValue: fe.value.dataset.find((S, y) => `donut_${y}` === i.id).VALUE
|
|
376
376
|
})), ee = k.value.width / 2, ue = k.value.height / 2, te = k.value.height * e.value.donutRadiusRatio;
|
|
377
377
|
return {
|
|
378
|
-
dataset:
|
|
379
|
-
legend:
|
|
378
|
+
dataset: ne.filter((i) => !w.value.includes(i.id)),
|
|
379
|
+
legend: ne,
|
|
380
380
|
drawingArea: R,
|
|
381
381
|
displayArcPercentage: s,
|
|
382
382
|
isArcBigEnough: t,
|
|
@@ -388,7 +388,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
388
388
|
cy: ue,
|
|
389
389
|
radius: te,
|
|
390
390
|
chart: Ot(
|
|
391
|
-
{ series: o.filter((
|
|
391
|
+
{ series: o.filter((i) => !w.value.includes(i.id)) },
|
|
392
392
|
ee,
|
|
393
393
|
ue,
|
|
394
394
|
te,
|
|
@@ -408,12 +408,12 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
408
408
|
function xt() {
|
|
409
409
|
tt();
|
|
410
410
|
}
|
|
411
|
-
const
|
|
411
|
+
const ie = L(null);
|
|
412
412
|
async function tt() {
|
|
413
|
-
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) &&
|
|
413
|
+
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ie.value ? (e.value.zoomStartIndex !== null && (await Ce(), await Ce(), ie.value && ie.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Ce(), await Ce(), ie.value && ie.value.setEndValue(yt(e.value.zoomEndIndex + 1)))) : (b.value = {
|
|
414
414
|
start: 0,
|
|
415
415
|
end: x.value.maxSeriesLength
|
|
416
|
-
},
|
|
416
|
+
}, be.value += 1);
|
|
417
417
|
}
|
|
418
418
|
function yt(o) {
|
|
419
419
|
const s = x.value.maxSeriesLength;
|
|
@@ -422,7 +422,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
422
422
|
const kt = U(() => {
|
|
423
423
|
if (!e.value.zoomMinimap.show || z.value === A.DONUT) return [];
|
|
424
424
|
let o = [];
|
|
425
|
-
Y(x.value.dataset) && (o = x.value.dataset),
|
|
425
|
+
Y(x.value.dataset) && (o = x.value.dataset), Pe(x.value.dataset) && (o = x.value.dataset.map((r, h) => ({
|
|
426
426
|
values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
|
|
427
427
|
id: z.value === A.LINE ? `line_${h}` : `bar_${h}`
|
|
428
428
|
})).filter((r) => !w.value.includes(r.id)));
|
|
@@ -452,84 +452,84 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
452
452
|
Y(x.value.dataset) && (t = [
|
|
453
453
|
{
|
|
454
454
|
values: x.value.dataset.slice(b.value.start, b.value.end),
|
|
455
|
-
absoluteIndices: x.value.dataset.map((
|
|
455
|
+
absoluteIndices: x.value.dataset.map((i, n) => n).slice(b.value.start, b.value.end),
|
|
456
456
|
name: e.value.title,
|
|
457
457
|
color: he.value[e.value.paletteStartIndex] || V[e.value.paletteStartIndex],
|
|
458
458
|
id: "line_0"
|
|
459
459
|
}
|
|
460
|
-
]),
|
|
461
|
-
...
|
|
462
|
-
values:
|
|
463
|
-
name:
|
|
464
|
-
id: `line_${
|
|
465
|
-
})).map((
|
|
466
|
-
...
|
|
467
|
-
color:
|
|
468
|
-
values:
|
|
469
|
-
absoluteIndices:
|
|
460
|
+
]), Pe(x.value.dataset) && (t = x.value.dataset.map((i, n) => ({
|
|
461
|
+
...i,
|
|
462
|
+
values: i.VALUE || i.DATA || i.SERIE || i.SERIES || i.VALUES || i.NUM || 0,
|
|
463
|
+
name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${n}`,
|
|
464
|
+
id: `line_${n}`
|
|
465
|
+
})).map((i, n) => ({
|
|
466
|
+
...i,
|
|
467
|
+
color: i.COLOR ? Me(i.COLOR) : he.value[n + e.value.paletteStartIndex] || V[n + e.value.paletteStartIndex] || V[(n + e.value.paletteStartIndex) % V.length],
|
|
468
|
+
values: i.values.slice(b.value.start, b.value.end),
|
|
469
|
+
absoluteIndices: i.values.map((S, y) => y).slice(b.value.start, b.value.end)
|
|
470
470
|
})));
|
|
471
471
|
const u = {
|
|
472
|
-
max: Math.max(...t.filter((
|
|
473
|
-
min: Math.min(...t.filter((
|
|
474
|
-
maxSeries: Math.max(...t.map((
|
|
475
|
-
}, r = ot(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, D = s.width / u.maxSeries,
|
|
476
|
-
y: s.bottom - s.height * ((
|
|
472
|
+
max: Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
|
|
473
|
+
min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
|
|
474
|
+
maxSeries: Math.max(...t.map((i) => i.values.length))
|
|
475
|
+
}, r = ot(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, D = s.width / u.maxSeries, ne = r.ticks.map((i) => ({
|
|
476
|
+
y: s.bottom - s.height * ((i + h) / (r.max + h)),
|
|
477
477
|
x: s.left - 8,
|
|
478
|
-
value:
|
|
479
|
-
})), ee = t.map((
|
|
480
|
-
...
|
|
481
|
-
coordinates:
|
|
478
|
+
value: i
|
|
479
|
+
})), ee = t.map((i, n) => ({
|
|
480
|
+
...i,
|
|
481
|
+
coordinates: i.values.map((S, y) => ({
|
|
482
482
|
x: s.left + D * (y + 1) - D / 2,
|
|
483
483
|
y: s.bottom - (S + h) / (r.max + h) * s.height,
|
|
484
484
|
value: S
|
|
485
485
|
}))
|
|
486
|
-
})).map((
|
|
487
|
-
let
|
|
488
|
-
return
|
|
489
|
-
|
|
486
|
+
})).map((i) => {
|
|
487
|
+
let n = [];
|
|
488
|
+
return i.coordinates.forEach((S) => {
|
|
489
|
+
n.push(`${S.x},${S.y} `);
|
|
490
490
|
}), {
|
|
491
|
-
...
|
|
492
|
-
linePath:
|
|
491
|
+
...i,
|
|
492
|
+
linePath: n.join(" ")
|
|
493
493
|
};
|
|
494
494
|
});
|
|
495
|
-
function ue(
|
|
496
|
-
H.value =
|
|
497
|
-
const
|
|
495
|
+
function ue(i) {
|
|
496
|
+
H.value = i, J.value = i;
|
|
497
|
+
const n = t.map((y) => ({
|
|
498
498
|
...y,
|
|
499
|
-
value: y.values[
|
|
500
|
-
absoluteIndex: y.absoluteIndices[
|
|
499
|
+
value: y.values[i],
|
|
500
|
+
absoluteIndex: y.absoluteIndices[i]
|
|
501
501
|
})).filter((y) => !w.value.includes(y.id));
|
|
502
|
-
ce.value = { datapoint:
|
|
502
|
+
ce.value = { datapoint: n, seriesIndex: i, config: e.value, dataset: t };
|
|
503
503
|
const S = e.value.tooltipCustomFormat;
|
|
504
504
|
if (Ee(S) && Be(() => S({
|
|
505
|
-
datapoint:
|
|
506
|
-
seriesIndex:
|
|
505
|
+
datapoint: n,
|
|
506
|
+
seriesIndex: i,
|
|
507
507
|
series: t,
|
|
508
508
|
config: e.value
|
|
509
509
|
})))
|
|
510
510
|
K.value = S({
|
|
511
|
-
datapoint:
|
|
512
|
-
seriesIndex:
|
|
511
|
+
datapoint: n,
|
|
512
|
+
seriesIndex: i,
|
|
513
513
|
series: t,
|
|
514
514
|
config: e.value
|
|
515
515
|
});
|
|
516
516
|
else {
|
|
517
517
|
let y = "";
|
|
518
|
-
e.value.xyPeriods[
|
|
518
|
+
e.value.xyPeriods[n[0].absoluteIndex] && (y += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[n[0].absoluteIndex]}</div>`), n.forEach((P, M) => {
|
|
519
519
|
y += `
|
|
520
520
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
521
|
-
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${
|
|
522
|
-
<span>${
|
|
521
|
+
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${P.color}"/></svg>
|
|
522
|
+
<span>${P.name}:</span>
|
|
523
523
|
<b>${X(
|
|
524
524
|
e.value.formatter,
|
|
525
|
-
|
|
525
|
+
P.value,
|
|
526
526
|
B({
|
|
527
527
|
p: e.value.valuePrefix,
|
|
528
|
-
v:
|
|
528
|
+
v: P.value,
|
|
529
529
|
s: e.value.valueSuffix,
|
|
530
530
|
r: e.value.dataLabelRoundingValue
|
|
531
531
|
}),
|
|
532
|
-
{ datapoint:
|
|
532
|
+
{ datapoint: P, seriesIndex: M }
|
|
533
533
|
)}
|
|
534
534
|
</b>
|
|
535
535
|
</div>
|
|
@@ -543,12 +543,12 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
543
543
|
}
|
|
544
544
|
return {
|
|
545
545
|
absoluteZero: R,
|
|
546
|
-
dataset: ee.filter((
|
|
546
|
+
dataset: ee.filter((i) => !w.value.includes(i.id)),
|
|
547
547
|
legend: ee,
|
|
548
548
|
drawingArea: s,
|
|
549
549
|
extremes: u,
|
|
550
550
|
slotSize: D,
|
|
551
|
-
yLabels:
|
|
551
|
+
yLabels: ne,
|
|
552
552
|
useTooltip: ue,
|
|
553
553
|
killTooltip: te
|
|
554
554
|
};
|
|
@@ -569,80 +569,80 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
569
569
|
Y(x.value.dataset) && (t = [
|
|
570
570
|
{
|
|
571
571
|
values: x.value.dataset.slice(b.value.start, b.value.end),
|
|
572
|
-
absoluteIndices: x.value.dataset.map((
|
|
572
|
+
absoluteIndices: x.value.dataset.map((n, S) => S).slice(b.value.start, b.value.end),
|
|
573
573
|
name: e.value.title,
|
|
574
574
|
color: he.value[e.value.paletteStartIndex] || V[e.value.paletteStartIndex],
|
|
575
575
|
id: "bar_0"
|
|
576
576
|
}
|
|
577
|
-
]),
|
|
578
|
-
...
|
|
579
|
-
values:
|
|
580
|
-
name:
|
|
577
|
+
]), Pe(x.value.dataset) && (t = x.value.dataset.map((n, S) => ({
|
|
578
|
+
...n,
|
|
579
|
+
values: n.VALUE || n.DATA || n.SERIE || n.SERIES || n.VALUES || n.NUM || 0,
|
|
580
|
+
name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${S}`,
|
|
581
581
|
id: `bar_${S}`
|
|
582
|
-
})).map((
|
|
583
|
-
...
|
|
584
|
-
color:
|
|
585
|
-
values:
|
|
586
|
-
absoluteIndices:
|
|
582
|
+
})).map((n, S) => ({
|
|
583
|
+
...n,
|
|
584
|
+
color: n.COLOR ? Me(n.COLOR) : he.value[S + e.value.paletteStartIndex] || V[S + e.value.paletteStartIndex] || V[(S + e.value.paletteStartIndex) % V.length],
|
|
585
|
+
values: n.values.slice(b.value.start, b.value.end),
|
|
586
|
+
absoluteIndices: n.values.map((y, P) => P).slice(b.value.start, b.value.end)
|
|
587
587
|
})));
|
|
588
588
|
const u = {
|
|
589
|
-
max: Math.max(...t.filter((
|
|
590
|
-
min: Math.min(...t.filter((
|
|
591
|
-
maxSeries: Math.max(...t.filter((
|
|
592
|
-
}, r = ot(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, D = s.width / u.maxSeries,
|
|
593
|
-
y: s.bottom - s.height * ((
|
|
589
|
+
max: Math.max(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)) < 0 ? 0 : Math.max(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
|
|
590
|
+
min: Math.min(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
|
|
591
|
+
maxSeries: Math.max(...t.filter((n) => !w.value.includes(n.id)).map((n) => n.values.length))
|
|
592
|
+
}, r = ot(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, D = s.width / u.maxSeries, ne = r.ticks.map((n) => ({
|
|
593
|
+
y: s.bottom - s.height * ((n + h) / (r.max + h)),
|
|
594
594
|
x: s.left - 8,
|
|
595
|
-
value:
|
|
596
|
-
})), ee = t.map((
|
|
597
|
-
...
|
|
598
|
-
coordinates:
|
|
599
|
-
const M = (y + h) / (u.max + h) * s.height,
|
|
595
|
+
value: n
|
|
596
|
+
})), ee = t.map((n, S) => ({
|
|
597
|
+
...n,
|
|
598
|
+
coordinates: n.values.map((y, P) => {
|
|
599
|
+
const M = (y + h) / (u.max + h) * s.height, pe = Math.abs(y) / Math.abs(u.min) * (s.height - R), Re = h / (u.max + h) * s.height, xe = D / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
|
|
600
600
|
return {
|
|
601
|
-
x: s.left + D *
|
|
601
|
+
x: s.left + D * P + xe * S + e.value.barGap / 2,
|
|
602
602
|
y: y > 0 ? s.bottom - M : R,
|
|
603
|
-
height: y > 0 ? M - Re :
|
|
603
|
+
height: y > 0 ? M - Re : pe,
|
|
604
604
|
value: y,
|
|
605
|
-
width:
|
|
605
|
+
width: xe
|
|
606
606
|
};
|
|
607
607
|
})
|
|
608
|
-
})), ue = t.filter((
|
|
609
|
-
...
|
|
610
|
-
coordinates:
|
|
611
|
-
const M = (y + h) / (u.max + h) * s.height,
|
|
608
|
+
})), ue = t.filter((n) => !w.value.includes(n.id)).map((n, S) => ({
|
|
609
|
+
...n,
|
|
610
|
+
coordinates: n.values.map((y, P) => {
|
|
611
|
+
const M = (y + h) / (u.max + h) * s.height, pe = Math.abs(y) / (u.max + h) * s.height, Re = h / (u.max + h) * s.height, xe = D / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
|
|
612
612
|
return {
|
|
613
|
-
x: s.left + D *
|
|
613
|
+
x: s.left + D * P + xe * S + e.value.barGap / 2,
|
|
614
614
|
y: y > 0 ? s.bottom - M : R,
|
|
615
|
-
height: y > 0 ? M - Re :
|
|
615
|
+
height: y > 0 ? M - Re : pe,
|
|
616
616
|
value: y,
|
|
617
|
-
width:
|
|
617
|
+
width: xe
|
|
618
618
|
};
|
|
619
619
|
})
|
|
620
620
|
}));
|
|
621
|
-
function te(
|
|
622
|
-
H.value =
|
|
623
|
-
const S = t.map((
|
|
624
|
-
...
|
|
625
|
-
value:
|
|
626
|
-
absoluteIndex:
|
|
627
|
-
})).filter((
|
|
628
|
-
ce.value = { datapoint: S, seriesIndex:
|
|
621
|
+
function te(n) {
|
|
622
|
+
H.value = n, J.value = n;
|
|
623
|
+
const S = t.map((P) => ({
|
|
624
|
+
...P,
|
|
625
|
+
value: P.values[n],
|
|
626
|
+
absoluteIndex: P.absoluteIndices[n]
|
|
627
|
+
})).filter((P) => !w.value.includes(P.id));
|
|
628
|
+
ce.value = { datapoint: S, seriesIndex: n, config: e.value, dataset: t };
|
|
629
629
|
const y = e.value.tooltipCustomFormat;
|
|
630
630
|
if (Ee(y) && Be(() => y({
|
|
631
631
|
datapoint: S,
|
|
632
|
-
seriesIndex:
|
|
632
|
+
seriesIndex: n,
|
|
633
633
|
series: t,
|
|
634
634
|
config: e.value
|
|
635
635
|
})))
|
|
636
636
|
K.value = y({
|
|
637
637
|
point: S,
|
|
638
|
-
seriesIndex:
|
|
638
|
+
seriesIndex: n,
|
|
639
639
|
series: t,
|
|
640
640
|
config: e.value
|
|
641
641
|
});
|
|
642
642
|
else {
|
|
643
|
-
let
|
|
644
|
-
e.value.xyPeriods[S[0].absoluteIndex] && (
|
|
645
|
-
|
|
643
|
+
let P = "";
|
|
644
|
+
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((M, pe) => {
|
|
645
|
+
P += `
|
|
646
646
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
647
647
|
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${M.color}"/></svg>
|
|
648
648
|
<span>${M.name}:</span>
|
|
@@ -655,35 +655,35 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
655
655
|
s: e.value.valueSuffix,
|
|
656
656
|
r: e.value.dataLabelRoundingValue
|
|
657
657
|
}),
|
|
658
|
-
{ datapoint: M, seriesIndex:
|
|
658
|
+
{ datapoint: M, seriesIndex: pe }
|
|
659
659
|
)}
|
|
660
660
|
</b>
|
|
661
661
|
</div>
|
|
662
662
|
`;
|
|
663
|
-
}), K.value =
|
|
663
|
+
}), K.value = P;
|
|
664
664
|
}
|
|
665
665
|
j.value = !0;
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function i() {
|
|
668
668
|
j.value = !1, H.value = null, J.value = null;
|
|
669
669
|
}
|
|
670
670
|
return {
|
|
671
671
|
absoluteZero: R,
|
|
672
|
-
dataset: ue.filter((
|
|
672
|
+
dataset: ue.filter((n) => !w.value.includes(n.id)),
|
|
673
673
|
legend: ee,
|
|
674
674
|
drawingArea: s,
|
|
675
675
|
extremes: u,
|
|
676
676
|
slotSize: D,
|
|
677
|
-
yLabels:
|
|
677
|
+
yLabels: ne,
|
|
678
678
|
useTooltip: te,
|
|
679
|
-
killTooltip:
|
|
679
|
+
killTooltip: i
|
|
680
680
|
};
|
|
681
681
|
}), Le = L(!1);
|
|
682
682
|
function bt(o) {
|
|
683
683
|
Le.value = o, qe.value += 1;
|
|
684
684
|
}
|
|
685
685
|
function at() {
|
|
686
|
-
|
|
686
|
+
ge.value.showTooltip = !ge.value.showTooltip;
|
|
687
687
|
}
|
|
688
688
|
const $e = L(!1);
|
|
689
689
|
function Oe() {
|
|
@@ -696,7 +696,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
696
696
|
toggleAnnotator: Oe
|
|
697
697
|
}), (o, s) => ht.value ? (a(), l("div", {
|
|
698
698
|
key: 0,
|
|
699
|
-
id: `${z.value}_${
|
|
699
|
+
id: `${z.value}_${T.value}`,
|
|
700
700
|
ref_key: "quickChart",
|
|
701
701
|
ref: W,
|
|
702
702
|
class: re({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Le.value }),
|
|
@@ -719,20 +719,20 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
719
719
|
class: "vue-data-ui-no-title-space",
|
|
720
720
|
style: "height:36px; width: 100%;background:transparent"
|
|
721
721
|
}, null, 512)) : f("", !0),
|
|
722
|
-
e.value.showUserOptions && (We.value ||
|
|
722
|
+
e.value.showUserOptions && (We.value || Se.value) ? (a(), Ie(Dt, {
|
|
723
723
|
ref: "details",
|
|
724
724
|
key: `user_option_${qe.value}`,
|
|
725
725
|
backgroundColor: e.value.backgroundColor,
|
|
726
726
|
color: e.value.color,
|
|
727
|
-
isPrinting: g(
|
|
728
|
-
isImaging: g(
|
|
729
|
-
uid:
|
|
727
|
+
isPrinting: g(we),
|
|
728
|
+
isImaging: g(Ae),
|
|
729
|
+
uid: T.value,
|
|
730
730
|
hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
|
|
731
731
|
hasPdf: e.value.userOptionsButtons.pdf,
|
|
732
732
|
hasImg: e.value.userOptionsButtons.img,
|
|
733
733
|
hasFullscreen: e.value.userOptionsButtons.fullscreen,
|
|
734
734
|
hasXls: !1,
|
|
735
|
-
isTooltip:
|
|
735
|
+
isTooltip: ge.value.showTooltip,
|
|
736
736
|
isFullscreen: Le.value,
|
|
737
737
|
titles: { ...e.value.userOptionsButtonTitles },
|
|
738
738
|
chartElement: W.value,
|
|
@@ -745,7 +745,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
745
745
|
onToggleTooltip: at,
|
|
746
746
|
onToggleAnnotator: Oe,
|
|
747
747
|
style: N({
|
|
748
|
-
visibility: We.value ?
|
|
748
|
+
visibility: We.value ? Se.value ? "visible" : "hidden" : "visible"
|
|
749
749
|
})
|
|
750
750
|
}, At({ _: 2 }, [
|
|
751
751
|
o.$slots.optionTooltip ? {
|
|
@@ -836,7 +836,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
836
836
|
], 8, la)) : f("", !0),
|
|
837
837
|
_("defs", null, [
|
|
838
838
|
_("filter", {
|
|
839
|
-
id: `blur_${
|
|
839
|
+
id: `blur_${T.value}`,
|
|
840
840
|
x: "-50%",
|
|
841
841
|
y: "-50%",
|
|
842
842
|
width: "200%",
|
|
@@ -845,12 +845,12 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
845
845
|
_("feGaussianBlur", {
|
|
846
846
|
in: "SourceGraphic",
|
|
847
847
|
stdDeviation: 2,
|
|
848
|
-
id: `blur_std_${
|
|
849
|
-
}, null, 8,
|
|
850
|
-
|
|
848
|
+
id: `blur_std_${T.value}`
|
|
849
|
+
}, null, 8, ia),
|
|
850
|
+
na
|
|
851
851
|
], 8, oa),
|
|
852
852
|
_("filter", {
|
|
853
|
-
id: `shadow_${
|
|
853
|
+
id: `shadow_${T.value}`,
|
|
854
854
|
"color-interpolation-filters": "sRGB"
|
|
855
855
|
}, [
|
|
856
856
|
_("feDropShadow", {
|
|
@@ -873,7 +873,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
873
873
|
"stroke-linecap": "round",
|
|
874
874
|
"stroke-linejoin": "round",
|
|
875
875
|
fill: "none",
|
|
876
|
-
filter:
|
|
876
|
+
filter: me(t.id)
|
|
877
877
|
}, null, 8, va)) : f("", !0)
|
|
878
878
|
], 64))), 256))
|
|
879
879
|
])) : f("", !0),
|
|
@@ -882,7 +882,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
882
882
|
cy: E.value.cy,
|
|
883
883
|
r: E.value.radius,
|
|
884
884
|
fill: e.value.backgroundColor,
|
|
885
|
-
filter: e.value.donutUseShadow ? `url(#shadow_${
|
|
885
|
+
filter: e.value.donutUseShadow ? `url(#shadow_${T.value})` : ""
|
|
886
886
|
}, null, 8, da),
|
|
887
887
|
_("g", ca, [
|
|
888
888
|
(a(!0), l(p, null, $(E.value.chart, (t, u) => (a(), l("path", {
|
|
@@ -890,7 +890,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
890
890
|
fill: t.color,
|
|
891
891
|
stroke: e.value.backgroundColor,
|
|
892
892
|
"stroke-width": e.value.donutStrokeWidth,
|
|
893
|
-
filter:
|
|
893
|
+
filter: me(t.id)
|
|
894
894
|
}, null, 8, ha))), 256)),
|
|
895
895
|
(a(!0), l(p, null, $(E.value.chart, (t, u) => (a(), l("path", {
|
|
896
896
|
d: t.arcSlice,
|
|
@@ -904,22 +904,22 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
904
904
|
(a(!0), l(p, null, $(E.value.chart, (t, u) => (a(), l(p, null, [
|
|
905
905
|
E.value.isArcBigEnough(t) ? (a(), l("circle", {
|
|
906
906
|
key: 0,
|
|
907
|
-
cx: g(
|
|
907
|
+
cx: g(ye)(t).x,
|
|
908
908
|
cy: g(Ue)(t) - 3.7,
|
|
909
909
|
fill: t.color,
|
|
910
910
|
stroke: e.value.backgroundColor,
|
|
911
911
|
"stroke-width": 1,
|
|
912
912
|
r: 3,
|
|
913
|
-
filter:
|
|
913
|
+
filter: me(t.id)
|
|
914
914
|
}, null, 8, ma)) : f("", !0),
|
|
915
915
|
E.value.isArcBigEnough(t) ? (a(), l("text", {
|
|
916
916
|
key: 1,
|
|
917
|
-
"text-anchor": g(
|
|
918
|
-
x: g(
|
|
917
|
+
"text-anchor": g(ye)(t, !0, 20).anchor,
|
|
918
|
+
x: g(ye)(t, !0).x,
|
|
919
919
|
y: g(Ue)(t),
|
|
920
920
|
fill: e.value.color,
|
|
921
921
|
"font-size": e.value.dataLabelFontSize,
|
|
922
|
-
filter:
|
|
922
|
+
filter: me(t.id)
|
|
923
923
|
}, O(E.value.displayArcPercentage(t, E.value.chart)) + " (" + O(g(X)(
|
|
924
924
|
e.value.formatter,
|
|
925
925
|
t.value,
|
|
@@ -933,12 +933,12 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
933
933
|
)) + ") ", 9, pa)) : f("", !0),
|
|
934
934
|
E.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
|
|
935
935
|
key: 2,
|
|
936
|
-
"text-anchor": g(
|
|
937
|
-
x: g(
|
|
936
|
+
"text-anchor": g(ye)(t).anchor,
|
|
937
|
+
x: g(ye)(t, !0).x,
|
|
938
938
|
y: g(Ue)(t) + e.value.dataLabelFontSize,
|
|
939
939
|
fill: e.value.color,
|
|
940
940
|
"font-size": e.value.dataLabelFontSize,
|
|
941
|
-
filter:
|
|
941
|
+
filter: me(t.id)
|
|
942
942
|
}, O(t.name), 9, xa)) : f("", !0)
|
|
943
943
|
], 64))), 256))
|
|
944
944
|
])) : f("", !0),
|
|
@@ -1049,19 +1049,19 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1049
1049
|
stroke: e.value.xyAxisStroke,
|
|
1050
1050
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1051
1051
|
"stroke-linecap": "round"
|
|
1052
|
-
}, null, 8,
|
|
1052
|
+
}, null, 8, Ta))), 256)),
|
|
1053
1053
|
(a(!0), l(p, null, $(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, u) => (a(), l("text", {
|
|
1054
1054
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1055
1055
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1056
1056
|
fill: e.value.color,
|
|
1057
1057
|
transform: `translate(${c.value.drawingArea.left + c.value.slotSize * (u + 1) - c.value.slotSize / 2}, ${c.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1058
|
-
}, O(t), 9,
|
|
1058
|
+
}, O(t), 9, Pa))), 256))
|
|
1059
1059
|
])) : f("", !0),
|
|
1060
1060
|
_("g", Oa, [
|
|
1061
1061
|
(a(!0), l(p, null, $(c.value.dataset, (t, u) => (a(), l("g", Ra, [
|
|
1062
1062
|
e.value.lineSmooth ? (a(), l(p, { key: 0 }, [
|
|
1063
1063
|
_("path", {
|
|
1064
|
-
d: `M ${g(
|
|
1064
|
+
d: `M ${g(it)(t.coordinates)}`,
|
|
1065
1065
|
stroke: e.value.backgroundColor,
|
|
1066
1066
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1067
1067
|
"stroke-linecap": "round",
|
|
@@ -1070,7 +1070,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1070
1070
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1071
1071
|
}, null, 10, Na),
|
|
1072
1072
|
_("path", {
|
|
1073
|
-
d: `M ${g(
|
|
1073
|
+
d: `M ${g(it)(t.coordinates)}`,
|
|
1074
1074
|
stroke: t.color,
|
|
1075
1075
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1076
1076
|
"stroke-linecap": "round",
|
|
@@ -1256,20 +1256,20 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1256
1256
|
"stroke-linecap": "round",
|
|
1257
1257
|
class: re({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
|
|
1258
1258
|
}, [
|
|
1259
|
-
e.value.barAnimated && r.value > 0 && !g(
|
|
1259
|
+
e.value.barAnimated && r.value > 0 && !g(we) && !g(Ae) ? (a(), l("animate", {
|
|
1260
1260
|
key: 0,
|
|
1261
1261
|
attributeName: "height",
|
|
1262
1262
|
from: 0,
|
|
1263
1263
|
to: r.height,
|
|
1264
1264
|
dur: "0.5s"
|
|
1265
|
-
}, null, 8,
|
|
1266
|
-
e.value.barAnimated && r.value > 0 && !g(
|
|
1265
|
+
}, null, 8, il)) : f("", !0),
|
|
1266
|
+
e.value.barAnimated && r.value > 0 && !g(we) && !g(Ae) ? (a(), l("animate", {
|
|
1267
1267
|
key: 1,
|
|
1268
1268
|
attributeName: "y",
|
|
1269
1269
|
from: v.value.absoluteZero,
|
|
1270
1270
|
to: v.value.absoluteZero - r.height,
|
|
1271
1271
|
dur: "0.5s"
|
|
1272
|
-
}, null, 8,
|
|
1272
|
+
}, null, 8, nl)) : f("", !0)
|
|
1273
1273
|
], 10, ol))), 256))
|
|
1274
1274
|
], 64))), 256))
|
|
1275
1275
|
]),
|
|
@@ -1368,17 +1368,17 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1368
1368
|
}
|
|
1369
1369
|
}, null, 8, ["config"])),
|
|
1370
1370
|
o.$slots.watermark ? (a(), l("div", kl, [
|
|
1371
|
-
F(o.$slots, "watermark", G(se({ isPrinting: g(
|
|
1371
|
+
F(o.$slots, "watermark", G(se({ isPrinting: g(we) || g(Ae) })), void 0, !0)
|
|
1372
1372
|
])) : f("", !0),
|
|
1373
1373
|
[A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
|
|
1374
|
-
key: `slicer_${
|
|
1374
|
+
key: `slicer_${be.value}`,
|
|
1375
1375
|
ref_key: "quickChartSlicer",
|
|
1376
1376
|
ref: de
|
|
1377
1377
|
}, [
|
|
1378
1378
|
(a(), Ie(Vt, {
|
|
1379
1379
|
ref_key: "slicerComponent",
|
|
1380
|
-
ref:
|
|
1381
|
-
key: `slicer_${
|
|
1380
|
+
ref: ie,
|
|
1381
|
+
key: `slicer_${be.value}`,
|
|
1382
1382
|
background: e.value.zoomColor,
|
|
1383
1383
|
borderColor: e.value.backgroundColor,
|
|
1384
1384
|
fontSize: e.value.zoomFontSize,
|
|
@@ -1433,7 +1433,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1433
1433
|
style: N(`cursor: ${E.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1434
1434
|
}, [
|
|
1435
1435
|
e.value.useCustomLegend ? F(o.$slots, "legend", G(Fe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
|
|
1436
|
-
ve(
|
|
1436
|
+
ve(Te, {
|
|
1437
1437
|
name: e.value.legendIcon,
|
|
1438
1438
|
stroke: t.color,
|
|
1439
1439
|
size: e.value.legendIconSize
|
|
@@ -1478,7 +1478,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1478
1478
|
style: N(`cursor: ${c.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1479
1479
|
}, [
|
|
1480
1480
|
e.value.useCustomLegend ? F(o.$slots, "legend", G(Fe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
|
|
1481
|
-
ve(
|
|
1481
|
+
ve(Te, {
|
|
1482
1482
|
name: e.value.legendIcon,
|
|
1483
1483
|
stroke: t.color,
|
|
1484
1484
|
size: e.value.legendIconSize
|
|
@@ -1496,7 +1496,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1496
1496
|
style: N(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1497
1497
|
}, [
|
|
1498
1498
|
e.value.useCustomLegend ? F(o.$slots, "legend", G(Fe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
|
|
1499
|
-
ve(
|
|
1499
|
+
ve(Te, {
|
|
1500
1500
|
name: e.value.legendIcon,
|
|
1501
1501
|
stroke: t.color,
|
|
1502
1502
|
size: e.value.legendIconSize
|
|
@@ -1516,7 +1516,7 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1516
1516
|
F(o.$slots, "source", {}, void 0, !0)
|
|
1517
1517
|
], 512)) : f("", !0),
|
|
1518
1518
|
ve(Ut, {
|
|
1519
|
-
show:
|
|
1519
|
+
show: ge.value.showTooltip && j.value,
|
|
1520
1520
|
backgroundColor: e.value.backgroundColor,
|
|
1521
1521
|
color: e.value.color,
|
|
1522
1522
|
borderRadius: e.value.tooltipBorderRadius,
|
|
@@ -1540,14 +1540,14 @@ const dt = (d) => (_t("data-v-fe07bf7a"), d = d(), zt(), d), Kt = ["id"], ea = [
|
|
|
1540
1540
|
_: 3
|
|
1541
1541
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
|
|
1542
1542
|
], 46, Kt)) : (a(), l("div", Al, [
|
|
1543
|
-
ve(
|
|
1543
|
+
ve(Te, {
|
|
1544
1544
|
name: "circleCancel",
|
|
1545
1545
|
stroke: "red"
|
|
1546
1546
|
}),
|
|
1547
1547
|
_l
|
|
1548
1548
|
]));
|
|
1549
1549
|
}
|
|
1550
|
-
}, Ul = /* @__PURE__ */ jt(zl, [["__scopeId", "data-v-
|
|
1550
|
+
}, Ul = /* @__PURE__ */ jt(zl, [["__scopeId", "data-v-e9d5ef87"]]);
|
|
1551
1551
|
export {
|
|
1552
1552
|
Ul as default
|
|
1553
1553
|
};
|