vue-data-ui 2.3.90 → 2.3.92
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/README.md +3 -2
- package/dist/{Arrow-C_Fnn6al.js → Arrow-16rQhq4i.js} +1 -1
- package/dist/{Arrow-D1pymKl6.cjs → Arrow-CdJD01md.cjs} +1 -1
- package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-CAmYNoaf.js} +1 -1
- package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-dYWMubrH.cjs} +1 -1
- package/dist/{DataTable-Cmbf3abv.js → DataTable-BXnbua0J.js} +2 -2
- package/dist/{DataTable-cOEA6Z37.cjs → DataTable-oa0Srfuc.cjs} +1 -1
- package/dist/{Legend-CCq0mNRg.js → Legend-Cr1hulgT.js} +1 -1
- package/dist/{Legend-XqP6-7Ac.cjs → Legend-Dhm9_peB.cjs} +1 -1
- package/dist/PackageVersion-BVZfgDqm.js +10 -0
- package/dist/PackageVersion-BkgJVmj1.cjs +1 -0
- package/dist/{Shape-BNocET8E.js → Shape-D75m5xWM.js} +1 -1
- package/dist/{Shape-B51JGReT.cjs → Shape-hGbEoQOv.cjs} +1 -1
- package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-B7ya0m2Q.cjs} +1 -1
- package/dist/{Slicer-BKszZXjM.js → Slicer-Bx8AozB8.js} +2 -2
- package/dist/{Title-DlBwa3-X.js → Title-1Sw6EmHy.js} +1 -1
- package/dist/{Title-BaR4XyXa.cjs → Title-Bjrh7khe.cjs} +1 -1
- package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-CPATjuur.cjs} +1 -1
- package/dist/{Tooltip-w32n-8sY.js → Tooltip-EJf3VBPR.js} +1 -1
- package/dist/documentation/installation.md +1 -1
- package/dist/index-D09qCApg.cjs +4 -0
- package/dist/{index-DQl1TFXa.js → index-DhJby8wL.js} +8 -3
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +16 -0
- package/dist/types/vue-data-ui.d.ts +16 -0
- package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-Bwd7mK1Z.cjs} +1 -1
- package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-CrHvyupb.js} +1 -1
- package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Bwm8J3RQ.js} +1 -1
- package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-DdsPm5a4.cjs} +1 -1
- package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-CLxne31S.js} +57 -57
- package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-ZitCqVgG.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-DAv5cYGJ.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Dg87_AAm.js} +148 -146
- package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-BAHX7KzB.cjs} +1 -1
- package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-Cn5Jbplg.js} +3 -3
- package/dist/vue-ui-age-pyramid-GzHwQzsH.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-PlamQWqC.js} +83 -81
- package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-DGgQwl-K.cjs} +1 -1
- package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-Dd5KF_cy.js} +1 -1
- package/dist/vue-ui-candlestick-BIEB2J1w.cjs +2 -0
- package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-DTzwPhV5.js} +113 -111
- package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-HNTf5AYY.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-YEfvPESA.js} +4 -4
- package/dist/vue-ui-chestnut-DzjdAYsT.cjs +6 -0
- package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-PzMOM7mp.js} +161 -159
- package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-C5rsiCdn.cjs} +1 -1
- package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-DWea2yXV.js} +2 -2
- package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-BqXhoS8m.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CVespiTo.js} +2 -2
- package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-gNKgZqYU.js} +2 -2
- package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-wmDN7Vkf.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-Ch6HH0ja.js} +102 -100
- package/dist/vue-ui-donut-evolution-DhDxLZ1J.cjs +1 -0
- package/dist/vue-ui-donut-n37BZPxr.cjs +1 -0
- package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-sQunZI1L.js} +118 -116
- package/dist/vue-ui-dumbbell-B9Z_pjnG.cjs +9 -0
- package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-lFlZX8Yi.js} +88 -86
- package/dist/vue-ui-flow-BaFpUJg-.cjs +1 -0
- package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CSIOC-JR.js} +65 -63
- package/dist/vue-ui-galaxy-BIR5GxIc.cjs +1 -0
- package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-DL2mnel_.js} +82 -80
- package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BMq7KT3t.js} +56 -54
- package/dist/vue-ui-gauge-r_qvpwE7.cjs +1 -0
- package/dist/vue-ui-gizmo-DBas_Sw_.cjs +1 -0
- package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-Dj7zvNI1.js} +32 -30
- package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-pqBYIrxm.js} +99 -97
- package/dist/vue-ui-heatmap-qPgEhAzc.cjs +1 -0
- package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-Cmo9J7wp.cjs} +1 -1
- package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-ZPBinMiF.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-Ce-jbgMT.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-DOTWhLi9.js} +2 -2
- package/dist/vue-ui-molecule-D429iwPP.cjs +1 -0
- package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-RDpgNrHQ.js} +77 -75
- package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CD5L8WCU.js} +76 -74
- package/dist/vue-ui-mood-radar-CdLJxrkT.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-A-tid5cQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-DyM3uc7x.cjs +17 -0
- package/dist/vue-ui-onion-BKql8oal.cjs +5 -0
- package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-Cap01Ehu.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-B0zMgtnq.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-CcDKe4L0.js} +91 -89
- package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-BDEfAeyJ.js} +141 -139
- package/dist/vue-ui-quadrant-CZzdpeQ2.cjs +1 -0
- package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-DlAUYg5u.js} +166 -164
- package/dist/vue-ui-quick-chart-DpGYUyhq.cjs +15 -0
- package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CbTln7gs.js} +89 -87
- package/dist/vue-ui-radar-oBeaHlpT.cjs +1 -0
- package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-BU7-F3_e.cjs} +1 -1
- package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-BkDncqow.js} +2 -2
- package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-C5B6UNGd.js} +54 -52
- package/dist/vue-ui-relation-circle-IWiJWgcB.cjs +1 -0
- package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-BujVUJ90.js} +97 -93
- package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-Df2cRgD8.cjs} +2 -2
- package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-D6yqZJ7s.js} +132 -130
- package/dist/vue-ui-scatter-jFTeM2hW.cjs +1 -0
- package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-CHAySwpv.js} +1 -1
- package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-CVu8IM33.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-ASX40MGk.js} +423 -388
- package/dist/vue-ui-skeleton-CAlTn_Cg.cjs +41 -0
- package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-DGVzhza2.js} +2 -2
- package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-dwCqhB0r.cjs} +1 -1
- package/dist/vue-ui-spark-trend-A1EHFK_r.cjs +1 -0
- package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-B7XhDvTj.js} +42 -40
- package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-BuNcvi66.js} +53 -51
- package/dist/vue-ui-sparkbar-CwNjHOjD.cjs +1 -0
- package/dist/vue-ui-sparkgauge-ISu154lS.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-JY2kB9WX.js} +31 -29
- package/dist/vue-ui-sparkhistogram-C8zyC-ii.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-DyEPWxkP.js} +69 -67
- package/dist/vue-ui-sparkline-DL3Thtc4.cjs +1 -0
- package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-DYC3sdvQ.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-7TmtP3WR.js} +46 -44
- package/dist/vue-ui-sparkstackbar-ChIM9bn2.cjs +1 -0
- package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-CP5C6Gb_.js} +128 -126
- package/dist/vue-ui-stackbar-DrtiSaNc.cjs +6 -0
- package/dist/vue-ui-strip-plot-BMYMIHGu.cjs +1 -0
- package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-DJQCq_KE.js} +78 -76
- package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-D6hvgMif.cjs} +1 -1
- package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-IJi0xaVg.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-BZNKXZNs.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-Ls8_xq0D.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BQFK30H1.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeuvdssX.js} +5 -5
- package/dist/vue-ui-thermometer-DKm8SXlE.cjs +1 -0
- package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-DPWIvG92.js} +80 -78
- package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-CEzDvZf7.js} +62 -60
- package/dist/vue-ui-timer-n6lv7oTx.cjs +64 -0
- package/dist/vue-ui-tiremarks-B33mHXZN.cjs +1 -0
- package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-BUGoY22W.js} +51 -49
- package/dist/vue-ui-treemap-DPxBZUUr.cjs +1 -0
- package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-DmOYjJ_F.js} +93 -91
- package/dist/vue-ui-vertical-bar-BJMYX8t4.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BpVKdSY5.js} +110 -108
- package/dist/vue-ui-waffle-DGcueccy.cjs +1 -0
- package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-ULg6SwPx.js} +72 -70
- package/dist/vue-ui-wheel-CWKq-CFW.cjs +1 -0
- package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-DlmgZd-_.js} +43 -41
- package/dist/vue-ui-word-cloud-BhHWdmqP.cjs +1 -0
- package/dist/vue-ui-word-cloud-DWyboczt.js +574 -0
- package/dist/vue-ui-xy-Cz81fw_E.cjs +3 -0
- package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-V13Ns1gv.js} +507 -504
- package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-B9cRe5gT.js} +10 -10
- package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-GiuHOyj5.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B8EMsnjU.cjs +0 -4
- package/dist/vue-ui-3d-bar-Ce-Re50D.cjs +0 -19
- package/dist/vue-ui-age-pyramid-C08rTXJn.cjs +0 -1
- package/dist/vue-ui-candlestick-m8fjxbj-.cjs +0 -2
- package/dist/vue-ui-chestnut-Y0gQvbbf.cjs +0 -6
- package/dist/vue-ui-donut-CCm7GJsm.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DiN8Jm0n.cjs +0 -1
- package/dist/vue-ui-dumbbell-lb72j7bY.cjs +0 -9
- package/dist/vue-ui-flow-B5Gxaqvl.cjs +0 -1
- package/dist/vue-ui-galaxy-Ck5cPkrh.cjs +0 -1
- package/dist/vue-ui-gauge-BwIhwSUw.cjs +0 -1
- package/dist/vue-ui-gizmo-DrGaoiM_.cjs +0 -1
- package/dist/vue-ui-heatmap-BLc6thGZ.cjs +0 -1
- package/dist/vue-ui-molecule-CAj1HFit.cjs +0 -1
- package/dist/vue-ui-mood-radar-CV2in2wO.cjs +0 -1
- package/dist/vue-ui-nested-donuts-4vO23n9z.cjs +0 -17
- package/dist/vue-ui-onion-B3mtn6xf.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DFMbhLY9.cjs +0 -8
- package/dist/vue-ui-quadrant-CpJX1Jwa.cjs +0 -1
- package/dist/vue-ui-quick-chart-CTxsI2tk.cjs +0 -15
- package/dist/vue-ui-radar-DFjsXmJ3.cjs +0 -1
- package/dist/vue-ui-relation-circle-DXuKdCih.cjs +0 -1
- package/dist/vue-ui-scatter-DPByFMNL.cjs +0 -1
- package/dist/vue-ui-skeleton-Bli7jLZ7.cjs +0 -41
- package/dist/vue-ui-spark-trend-sfgUJ32Q.cjs +0 -1
- package/dist/vue-ui-sparkbar-CKWYzriN.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D0q9F9Nz.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-CywhBkm2.cjs +0 -1
- package/dist/vue-ui-sparkline-Besp8Ffy.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-qXm8Ozzm.cjs +0 -1
- package/dist/vue-ui-stackbar-D0fGVkCR.cjs +0 -6
- package/dist/vue-ui-strip-plot-XDj8rL9m.cjs +0 -1
- package/dist/vue-ui-thermometer-C3T56ras.cjs +0 -1
- package/dist/vue-ui-timer-B_ZvV1ON.cjs +0 -64
- package/dist/vue-ui-tiremarks-DRbSpTgq.cjs +0 -1
- package/dist/vue-ui-treemap-CtKUTs2G.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BBIWdeXH.cjs +0 -4
- package/dist/vue-ui-waffle-9a3C4Nj-.cjs +0 -1
- package/dist/vue-ui-wheel-CErxlmqw.cjs +0 -1
- package/dist/vue-ui-word-cloud-dMBTVGVk.js +0 -513
- package/dist/vue-ui-word-cloud-nmx846H2.cjs +0 -1
- package/dist/vue-ui-xy-CLYgZk3Y.cjs +0 -3
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { ref as I, computed as D, watch as Pe, onMounted as rt, onBeforeUnmount as st, openBlock as a, createElementBlock as l, normalizeClass as ne, normalizeStyle as O, createBlock as Te, unref as f, createSlots as vt, withCtx as ae, renderSlot as V, normalizeProps as J, guardReactiveProps as
|
|
2
|
-
import { u as ht, c as ft, t as gt, a as mt, p as U, b as pt, G as xt, e as yt, d as Ee, m as kt, C as He, X as bt, j as St, k as pe, n as Re, i as H, f as M, Q as Xe, v as X, x as Ae, y as Ne } from "./index-
|
|
1
|
+
import { ref as I, computed as D, watch as Pe, onMounted as rt, onBeforeUnmount as st, openBlock as a, createElementBlock as l, normalizeClass as ne, normalizeStyle as O, createBlock as Te, unref as f, createSlots as vt, withCtx as ae, renderSlot as V, normalizeProps as J, guardReactiveProps as me, createCommentVNode as p, toDisplayString as E, createVNode as re, createElementVNode as _, Fragment as m, renderList as L, mergeProps as Ie, pushScopeId as dt, popScopeId as ct } from "vue";
|
|
2
|
+
import { u as ht, c as ft, t as gt, a as mt, p as U, b as pt, G as xt, e as yt, d as Ee, m as kt, C as He, X as bt, j as St, k as pe, n as Re, i as H, f as M, Q as Xe, v as X, x as Ae, y as Ne } from "./index-DhJby8wL.js";
|
|
3
3
|
import { t as wt, u as _t } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import Le from "./BaseIcon-
|
|
5
|
-
import { _ as At } from "./Tooltip-
|
|
6
|
-
import { u as Lt, U as zt } from "./usePrinter-
|
|
7
|
-
import { S as $t } from "./Slicer-
|
|
8
|
-
import Ct from "./vue-ui-skeleton-
|
|
9
|
-
import { u as Ze } from "./useNestedProp-
|
|
10
|
-
import { _ as Pt } from "./
|
|
4
|
+
import Le from "./BaseIcon-CAmYNoaf.js";
|
|
5
|
+
import { _ as At } from "./Tooltip-EJf3VBPR.js";
|
|
6
|
+
import { u as Lt, U as zt } from "./usePrinter-Bwm8J3RQ.js";
|
|
7
|
+
import { S as $t } from "./Slicer-Bx8AozB8.js";
|
|
8
|
+
import Ct from "./vue-ui-skeleton-ASX40MGk.js";
|
|
9
|
+
import { u as Ze } from "./useNestedProp-CrHvyupb.js";
|
|
10
|
+
import { _ as Pt } from "./PackageVersion-BVZfgDqm.js";
|
|
11
|
+
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
12
|
const A = {
|
|
12
13
|
LINE: "LINE",
|
|
13
14
|
BAR: "BAR",
|
|
14
15
|
DONUT: "DONUT"
|
|
15
|
-
},
|
|
16
|
-
function
|
|
16
|
+
}, It = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
17
|
+
function Et({ dataset: s, barLineSwitch: $ = 6 }) {
|
|
17
18
|
let g = null, R = null, q = 0;
|
|
18
19
|
if ((typeof s == "number" || typeof s == "string") && console.warn(`The provided dataset (${s}) is not sufficient to build a chart`), xe(s) && (Z(s) && (s.length < $ ? g = A.BAR : g = A.LINE, R = s, q = s.length), ze(s))) {
|
|
19
|
-
if (!
|
|
20
|
+
if (!Nt(s))
|
|
20
21
|
return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
21
|
-
const oe = Object.keys(s[0]),
|
|
22
|
-
if (!oe.some((P) =>
|
|
22
|
+
const oe = Object.keys(s[0]), se = Object.values(s[0]);
|
|
23
|
+
if (!oe.some((P) => Ot(P)))
|
|
23
24
|
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;
|
|
24
|
-
Ye(
|
|
25
|
+
Ye(se, (P) => typeof P == "number") && (g = A.DONUT, R = s), Ye(se, (P) => Array.isArray(P) && Z(P)) && (Je(s) > $ ? g = A.LINE : g = A.BAR, q = Je(s), R = s.map((P) => ({
|
|
25
26
|
...P,
|
|
26
|
-
data:
|
|
27
|
+
data: Ft(P, (G) => Z(G))
|
|
27
28
|
}))), s = s.map((P) => Qe(P)), R = R.map((P) => Qe(P));
|
|
28
29
|
}
|
|
29
30
|
return xe(s) && [...new Set(s.flatMap((oe) => Array.isArray(oe)))][0], {
|
|
@@ -47,7 +48,7 @@ function Z(s) {
|
|
|
47
48
|
function ze(s) {
|
|
48
49
|
return !xe(s) || Ke(s) || !![...new Set(s.flatMap((g) => typeof g == "object" && !Array.isArray(g)))].includes(!1) ? !1 : !s.map((g) => Object.keys(g).length > 0).includes(!1);
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
+
function Rt(s, $) {
|
|
51
52
|
const g = Object.keys(s).sort(), R = Object.keys($).sort();
|
|
52
53
|
if (g.length !== R.length)
|
|
53
54
|
return !1;
|
|
@@ -58,16 +59,16 @@ function Et(s, $) {
|
|
|
58
59
|
}
|
|
59
60
|
return !0;
|
|
60
61
|
}
|
|
61
|
-
function
|
|
62
|
+
function Nt(s) {
|
|
62
63
|
if (s.length <= 1) return !0;
|
|
63
64
|
for (let $ = 0; $ < s.length; $ += 1)
|
|
64
65
|
for (let g = $ + 1; g < s.length; g += 1)
|
|
65
|
-
if (!
|
|
66
|
+
if (!Rt(s[$], s[g]))
|
|
66
67
|
return !1;
|
|
67
68
|
return !0;
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
-
return
|
|
70
|
+
function Ot(s) {
|
|
71
|
+
return It.includes(s.toUpperCase());
|
|
71
72
|
}
|
|
72
73
|
function Ye(s, $) {
|
|
73
74
|
let g = [];
|
|
@@ -78,7 +79,7 @@ function Ye(s, $) {
|
|
|
78
79
|
function Je(s) {
|
|
79
80
|
return Math.max(...[...s].flatMap(($) => Object.values($).filter((g) => Z(g)).map((g) => g.length)));
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function Ft(s, $) {
|
|
82
83
|
return Object.values(s).filter((g) => $(g))[0];
|
|
83
84
|
}
|
|
84
85
|
function Qe(s) {
|
|
@@ -87,58 +88,58 @@ function Qe(s) {
|
|
|
87
88
|
s.hasOwnProperty(g) && ($[g.toUpperCase()] = s[g]);
|
|
88
89
|
return $;
|
|
89
90
|
}
|
|
90
|
-
const et = (s) => (dt("data-v-
|
|
91
|
+
const et = (s) => (dt("data-v-85aefdcf"), s = s(), ct(), s), Mt = ["id"], Bt = ["xmlns", "viewBox"], Ut = ["id"], Dt = ["id"], Vt = /* @__PURE__ */ et(() => /* @__PURE__ */ _("feColorMatrix", {
|
|
91
92
|
type: "saturate",
|
|
92
93
|
values: "0"
|
|
93
|
-
}, null, -1)),
|
|
94
|
+
}, null, -1)), qt = ["id"], Wt = ["flood-color"], jt = {
|
|
94
95
|
key: 0,
|
|
95
96
|
class: "donut-label-connectors"
|
|
96
|
-
},
|
|
97
|
+
}, Gt = ["d", "stroke", "stroke-width", "filter"], Ht = ["cx", "cy", "r", "fill"], Xt = ["cx", "cy", "r", "fill", "filter"], Zt = { class: "donut" }, Yt = ["d", "fill", "stroke", "stroke-width", "filter"], Jt = ["d", "onMouseenter", "onClick"], Qt = {
|
|
97
98
|
key: 1,
|
|
98
99
|
class: "donut-labels quick-animation"
|
|
99
|
-
},
|
|
100
|
+
}, Kt = ["cx", "cy", "fill", "filter"], ea = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ta = ["text-anchor", "x", "y", "fill", "font-size", "filter"], aa = {
|
|
100
101
|
key: 2,
|
|
101
102
|
class: "donut-hollow quick-animation"
|
|
102
|
-
},
|
|
103
|
+
}, la = ["x", "y", "font-size", "fill"], oa = ["x", "y", "font-size", "fill"], ia = {
|
|
103
104
|
key: 0,
|
|
104
105
|
class: "line-grid"
|
|
105
|
-
},
|
|
106
|
+
}, ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ra = {
|
|
106
107
|
key: 1,
|
|
107
108
|
class: "line-axis"
|
|
108
|
-
},
|
|
109
|
+
}, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], da = {
|
|
109
110
|
key: 2,
|
|
110
111
|
class: "yLabels"
|
|
111
|
-
},
|
|
112
|
+
}, ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ha = ["x", "y", "font-size", "fill"], fa = {
|
|
112
113
|
key: 3,
|
|
113
114
|
class: "periodLabels"
|
|
114
|
-
},
|
|
115
|
+
}, ga = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["font-size", "text-anchor", "fill", "transform"], pa = { class: "plots" }, xa = { class: "line-plot-series" }, ya = ["d", "stroke", "stroke-width"], ka = ["d", "stroke", "stroke-width"], ba = ["d", "stroke", "stroke-width"], Sa = ["d", "stroke", "stroke-width"], wa = ["cx", "cy", "fill", "stroke"], _a = {
|
|
115
116
|
key: 4,
|
|
116
117
|
class: "dataLabels"
|
|
117
|
-
},
|
|
118
|
+
}, Aa = ["font-size", "fill", "x", "y"], La = { class: "tooltip-traps" }, za = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], $a = {
|
|
118
119
|
key: 0,
|
|
119
120
|
class: "line-grid"
|
|
120
|
-
},
|
|
121
|
+
}, Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ta = {
|
|
121
122
|
key: 1,
|
|
122
123
|
class: "line-axis"
|
|
123
|
-
},
|
|
124
|
+
}, Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = {
|
|
124
125
|
key: 2,
|
|
125
126
|
class: "yLabels"
|
|
126
|
-
},
|
|
127
|
+
}, Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Oa = ["x", "y", "font-size", "fill"], Fa = {
|
|
127
128
|
key: 3,
|
|
128
129
|
class: "periodLabels"
|
|
129
|
-
},
|
|
130
|
+
}, Ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ba = ["font-size", "text-anchor", "transform", "fill"], Ua = { class: "plots" }, Da = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Va = ["to"], qa = ["from", "to"], Wa = {
|
|
130
131
|
key: 4,
|
|
131
132
|
class: "dataLabels"
|
|
132
|
-
},
|
|
133
|
+
}, ja = ["x", "y", "font-size", "fill"], Ga = { class: "tooltip-traps" }, Ha = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Xa = {
|
|
133
134
|
key: 3,
|
|
134
135
|
class: "axis-labels"
|
|
135
|
-
},
|
|
136
|
+
}, Za = { key: 0 }, Ya = ["font-size", "fill", "x", "y"], Ja = { key: 1 }, Qa = ["font-size", "fill", "x", "y"], Ka = { key: 2 }, el = ["font-size", "fill", "transform"], tl = { key: 3 }, al = ["font-size", "fill", "transform"], ll = {
|
|
136
137
|
key: 4,
|
|
137
138
|
class: "vue-data-ui-watermark"
|
|
138
|
-
},
|
|
139
|
+
}, ol = ["onClick"], il = ["onClick"], ul = ["onClick"], nl = {
|
|
139
140
|
key: 1,
|
|
140
141
|
class: "vue-ui-quick-chart-not-processable"
|
|
141
|
-
},
|
|
142
|
+
}, rl = /* @__PURE__ */ et(() => /* @__PURE__ */ _("span", null, "Dataset is not processable", -1)), sl = {
|
|
142
143
|
__name: "vue-ui-quick-chart",
|
|
143
144
|
props: {
|
|
144
145
|
config: {
|
|
@@ -156,7 +157,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
156
157
|
},
|
|
157
158
|
emits: ["selectDatapoint", "selectLegend"],
|
|
158
159
|
setup(s, { expose: $, emit: g }) {
|
|
159
|
-
const R = s, { vue_ui_quick_chart: q } = ht(), j = I(null), le = I(null), oe = I(null),
|
|
160
|
+
const R = s, { vue_ui_quick_chart: q } = ht(), j = I(null), le = I(null), oe = I(null), se = I(null), P = I(ft()), G = I(!1), ve = I(null), Q = I(""), W = I(null), w = I([]), Oe = I(0), ye = I(0), e = D({
|
|
160
161
|
get: () => Fe(),
|
|
161
162
|
set: (u) => u
|
|
162
163
|
});
|
|
@@ -176,10 +177,10 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
176
177
|
Pe(() => R.config, (u) => {
|
|
177
178
|
e.value = Fe(), y.value.width = e.value.width, y.value.height = e.value.height, Ue();
|
|
178
179
|
}, { deep: !0 }), Pe(() => R.dataset, (u) => {
|
|
179
|
-
k.value =
|
|
180
|
+
k.value = ce.value, b.value.start = 0, b.value.end = k.value.maxSeriesLength, ye.value += 1;
|
|
180
181
|
}, { deep: !0 });
|
|
181
|
-
const
|
|
182
|
-
const u =
|
|
182
|
+
const de = D(() => pt(e.value.customPalette)), ce = D(() => {
|
|
183
|
+
const u = Et({ dataset: xt(R.dataset, [
|
|
183
184
|
"serie",
|
|
184
185
|
"series",
|
|
185
186
|
"data",
|
|
@@ -188,7 +189,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
188
189
|
"num"
|
|
189
190
|
]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
|
|
190
191
|
return u || console.error("VueUiQuickChart : Dataset is not processable"), u;
|
|
191
|
-
}), k = I(
|
|
192
|
+
}), k = I(ce.value), tt = D(() => !!k.value), z = D(() => k.value ? k.value.type : null);
|
|
192
193
|
Pe(() => z.value, (u) => {
|
|
193
194
|
u || yt({
|
|
194
195
|
componentName: "VueUiQuickChart",
|
|
@@ -214,7 +215,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
214
215
|
chart: j.value,
|
|
215
216
|
title: e.value.title ? le.value : null,
|
|
216
217
|
legend: e.value.showLegend ? oe.value : null,
|
|
217
|
-
slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ?
|
|
218
|
+
slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? se.value : null
|
|
218
219
|
});
|
|
219
220
|
y.value.width = c, y.value.height = t;
|
|
220
221
|
});
|
|
@@ -239,7 +240,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
239
240
|
function De(u) {
|
|
240
241
|
return [...u].map((c) => c.value).reduce((c, t) => c + t, 0);
|
|
241
242
|
}
|
|
242
|
-
function
|
|
243
|
+
function he(u) {
|
|
243
244
|
return e.value.blurOnHover && ![null, void 0].includes(W.value) && W.value !== u ? `url(#blur_${P.value})` : "";
|
|
244
245
|
}
|
|
245
246
|
function Ve(u, c) {
|
|
@@ -268,7 +269,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
268
269
|
}, We.value = requestAnimationFrame(r));
|
|
269
270
|
};
|
|
270
271
|
w.value = w.value.filter((h) => h !== u.id);
|
|
271
|
-
const n =
|
|
272
|
+
const n = ce.value.dataset.find((h, N) => u.id === `donut_${N}`).VALUE;
|
|
272
273
|
r();
|
|
273
274
|
} else if (c.length > 1) {
|
|
274
275
|
let n = function() {
|
|
@@ -304,7 +305,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
304
305
|
id: `donut_${i}`
|
|
305
306
|
})).map((o, i) => ({
|
|
306
307
|
...o,
|
|
307
|
-
color: o.COLOR ? Ee(o.COLOR) :
|
|
308
|
+
color: o.COLOR ? Ee(o.COLOR) : de.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
|
|
308
309
|
immutableValue: o.value
|
|
309
310
|
}));
|
|
310
311
|
function c(o, i) {
|
|
@@ -318,11 +319,11 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
318
319
|
return o.proportion * 100 > e.value.donutHideLabelUnderPercentage;
|
|
319
320
|
}
|
|
320
321
|
function n(o, i) {
|
|
321
|
-
const S =
|
|
322
|
+
const S = ce.value.dataset.find((T, F) => `donut_${F}` === o).VALUE;
|
|
322
323
|
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(i.toFixed(0))).length);
|
|
323
324
|
}
|
|
324
325
|
function r({ datapoint: o, seriesIndex: i }) {
|
|
325
|
-
|
|
326
|
+
ve.value = { datapoint: o, seriesIndex: i, config: e.value, dataset: u }, W.value = o.id;
|
|
326
327
|
const S = e.value.tooltipCustomFormat;
|
|
327
328
|
if (Ae(S) && Ne(() => S({
|
|
328
329
|
datapoint: o,
|
|
@@ -362,7 +363,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
362
363
|
...o,
|
|
363
364
|
proportion: (o.value || 0) / B,
|
|
364
365
|
value: o.value || 0,
|
|
365
|
-
absoluteValue:
|
|
366
|
+
absoluteValue: ce.value.dataset.find((S, x) => `donut_${x}` === o.id).VALUE
|
|
366
367
|
})), K = y.value.width / 2, ue = y.value.height / 2, ee = y.value.height * e.value.donutRadiusRatio;
|
|
367
368
|
return {
|
|
368
369
|
dataset: ie.filter((o) => !w.value.includes(o.id)),
|
|
@@ -436,7 +437,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
436
437
|
values: k.value.dataset.slice(b.value.start, b.value.end),
|
|
437
438
|
absoluteIndices: k.value.dataset.map((o, i) => i).slice(b.value.start, b.value.end),
|
|
438
439
|
name: e.value.title,
|
|
439
|
-
color:
|
|
440
|
+
color: de.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
|
|
440
441
|
id: "line_0"
|
|
441
442
|
}
|
|
442
443
|
]), ze(k.value.dataset) && (t = k.value.dataset.map((o, i) => ({
|
|
@@ -446,7 +447,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
446
447
|
id: `line_${i}`
|
|
447
448
|
})).map((o, i) => ({
|
|
448
449
|
...o,
|
|
449
|
-
color: o.COLOR ? Ee(o.COLOR) :
|
|
450
|
+
color: o.COLOR ? Ee(o.COLOR) : de.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
|
|
450
451
|
values: o.values.slice(b.value.start, b.value.end),
|
|
451
452
|
absoluteIndices: o.values.map((S, x) => x).slice(b.value.start, b.value.end)
|
|
452
453
|
})));
|
|
@@ -481,7 +482,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
481
482
|
value: x.values[o],
|
|
482
483
|
absoluteIndex: x.absoluteIndices[o]
|
|
483
484
|
})).filter((x) => !w.value.includes(x.id));
|
|
484
|
-
|
|
485
|
+
ve.value = { datapoint: i, seriesIndex: o, config: e.value, dataset: t };
|
|
485
486
|
const S = e.value.tooltipCustomFormat;
|
|
486
487
|
if (Ae(S) && Ne(() => S({
|
|
487
488
|
datapoint: i,
|
|
@@ -553,7 +554,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
553
554
|
values: k.value.dataset.slice(b.value.start, b.value.end),
|
|
554
555
|
absoluteIndices: k.value.dataset.map((i, S) => S).slice(b.value.start, b.value.end),
|
|
555
556
|
name: e.value.title,
|
|
556
|
-
color:
|
|
557
|
+
color: de.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
|
|
557
558
|
id: "bar_0"
|
|
558
559
|
}
|
|
559
560
|
]), ze(k.value.dataset) && (t = k.value.dataset.map((i, S) => ({
|
|
@@ -563,7 +564,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
563
564
|
id: `bar_${S}`
|
|
564
565
|
})).map((i, S) => ({
|
|
565
566
|
...i,
|
|
566
|
-
color: i.COLOR ? Ee(i.COLOR) :
|
|
567
|
+
color: i.COLOR ? Ee(i.COLOR) : de.value[S + e.value.paletteStartIndex] || U[S + e.value.paletteStartIndex] || U[(S + e.value.paletteStartIndex) % U.length],
|
|
567
568
|
values: i.values.slice(b.value.start, b.value.end),
|
|
568
569
|
absoluteIndices: i.values.map((x, T) => T).slice(b.value.start, b.value.end)
|
|
569
570
|
})));
|
|
@@ -578,25 +579,25 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
578
579
|
})), K = t.map((i, S) => ({
|
|
579
580
|
...i,
|
|
580
581
|
coordinates: i.values.map((x, T) => {
|
|
581
|
-
const F = (x + h) / (n.max + h) * c.height,
|
|
582
|
+
const F = (x + h) / (n.max + h) * c.height, fe = Math.abs(x) / Math.abs(n.min) * (c.height - N), Ce = h / (n.max + h) * c.height, ge = B / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
|
|
582
583
|
return {
|
|
583
|
-
x: c.left + B * T +
|
|
584
|
+
x: c.left + B * T + ge * S + e.value.barGap / 2,
|
|
584
585
|
y: x > 0 ? c.bottom - F : N,
|
|
585
|
-
height: x > 0 ? F - Ce :
|
|
586
|
+
height: x > 0 ? F - Ce : fe,
|
|
586
587
|
value: x,
|
|
587
|
-
width:
|
|
588
|
+
width: ge
|
|
588
589
|
};
|
|
589
590
|
})
|
|
590
591
|
})), ue = t.filter((i) => !w.value.includes(i.id)).map((i, S) => ({
|
|
591
592
|
...i,
|
|
592
593
|
coordinates: i.values.map((x, T) => {
|
|
593
|
-
const F = (x + h) / (n.max + h) * c.height,
|
|
594
|
+
const F = (x + h) / (n.max + h) * c.height, fe = Math.abs(x) / (n.max + h) * c.height, Ce = h / (n.max + h) * c.height, ge = B / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
|
|
594
595
|
return {
|
|
595
|
-
x: c.left + B * T +
|
|
596
|
+
x: c.left + B * T + ge * S + e.value.barGap / 2,
|
|
596
597
|
y: x > 0 ? c.bottom - F : N,
|
|
597
|
-
height: x > 0 ? F - Ce :
|
|
598
|
+
height: x > 0 ? F - Ce : fe,
|
|
598
599
|
value: x,
|
|
599
|
-
width:
|
|
600
|
+
width: ge
|
|
600
601
|
};
|
|
601
602
|
})
|
|
602
603
|
}));
|
|
@@ -607,7 +608,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
607
608
|
value: T.values[i],
|
|
608
609
|
absoluteIndex: T.absoluteIndices[i]
|
|
609
610
|
})).filter((T) => !w.value.includes(T.id));
|
|
610
|
-
|
|
611
|
+
ve.value = { datapoint: S, seriesIndex: i, config: e.value, dataset: t };
|
|
611
612
|
const x = e.value.tooltipCustomFormat;
|
|
612
613
|
if (Ae(x) && Ne(() => x({
|
|
613
614
|
datapoint: S,
|
|
@@ -623,7 +624,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
623
624
|
});
|
|
624
625
|
else {
|
|
625
626
|
let T = "";
|
|
626
|
-
e.value.xyPeriods[S[0].absoluteIndex] && (T += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[S[0].absoluteIndex]}</div>`), S.forEach((F,
|
|
627
|
+
e.value.xyPeriods[S[0].absoluteIndex] && (T += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[S[0].absoluteIndex]}</div>`), S.forEach((F, fe) => {
|
|
627
628
|
T += `
|
|
628
629
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
629
630
|
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${F.color}"/></svg>
|
|
@@ -637,7 +638,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
637
638
|
s: e.value.valueSuffix,
|
|
638
639
|
r: e.value.dataLabelRoundingValue
|
|
639
640
|
}),
|
|
640
|
-
{ datapoint: F, seriesIndex:
|
|
641
|
+
{ datapoint: F, seriesIndex: fe }
|
|
641
642
|
)}
|
|
642
643
|
</b>
|
|
643
644
|
</div>
|
|
@@ -726,7 +727,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
726
727
|
u.$slots.optionFullscreen ? {
|
|
727
728
|
name: "optionFullscreen",
|
|
728
729
|
fn: ae(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
729
|
-
V(u.$slots, "optionFullscreen", J(
|
|
730
|
+
V(u.$slots, "optionFullscreen", J(me({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
730
731
|
]),
|
|
731
732
|
key: "3"
|
|
732
733
|
} : void 0
|
|
@@ -744,6 +745,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
744
745
|
viewBox: at.value,
|
|
745
746
|
style: O(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
|
|
746
747
|
}, [
|
|
748
|
+
re(Pt),
|
|
747
749
|
_("defs", null, [
|
|
748
750
|
_("filter", {
|
|
749
751
|
id: `blur_${P.value}`,
|
|
@@ -756,9 +758,9 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
756
758
|
in: "SourceGraphic",
|
|
757
759
|
stdDeviation: 2,
|
|
758
760
|
id: `blur_std_${P.value}`
|
|
759
|
-
}, null, 8,
|
|
760
|
-
|
|
761
|
-
], 8,
|
|
761
|
+
}, null, 8, Dt),
|
|
762
|
+
Vt
|
|
763
|
+
], 8, Ut),
|
|
762
764
|
_("filter", {
|
|
763
765
|
id: `shadow_${P.value}`,
|
|
764
766
|
"color-interpolation-filters": "sRGB"
|
|
@@ -769,11 +771,11 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
769
771
|
stdDeviation: "10",
|
|
770
772
|
"flood-opacity": "0.5",
|
|
771
773
|
"flood-color": e.value.donutShadowColor
|
|
772
|
-
}, null, 8,
|
|
773
|
-
], 8,
|
|
774
|
+
}, null, 8, Wt)
|
|
775
|
+
], 8, qt)
|
|
774
776
|
]),
|
|
775
777
|
z.value === A.DONUT ? (a(), l(m, { key: 0 }, [
|
|
776
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
778
|
+
e.value.showDataLabels ? (a(), l("g", jt, [
|
|
777
779
|
(a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l(m, null, [
|
|
778
780
|
C.value.isArcBigEnough(t) ? (a(), l("path", {
|
|
779
781
|
key: 0,
|
|
@@ -783,8 +785,8 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
783
785
|
"stroke-linecap": "round",
|
|
784
786
|
"stroke-linejoin": "round",
|
|
785
787
|
fill: "none",
|
|
786
|
-
filter:
|
|
787
|
-
}, null, 8,
|
|
788
|
+
filter: he(t.id)
|
|
789
|
+
}, null, 8, Gt)) : p("", !0)
|
|
788
790
|
], 64))), 256))
|
|
789
791
|
])) : p("", !0),
|
|
790
792
|
_("circle", {
|
|
@@ -793,31 +795,31 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
793
795
|
cy: (e.value.height || y.value.height) / 2,
|
|
794
796
|
r: (e.value.height || y.value.height) * e.value.donutRadiusRatio,
|
|
795
797
|
fill: e.value.backgroundColor
|
|
796
|
-
}, null, 8,
|
|
798
|
+
}, null, 8, Ht),
|
|
797
799
|
_("circle", {
|
|
798
800
|
cx: C.value.cx,
|
|
799
801
|
cy: C.value.cy,
|
|
800
802
|
r: C.value.radius,
|
|
801
803
|
fill: e.value.backgroundColor,
|
|
802
804
|
filter: e.value.donutUseShadow ? `url(#shadow_${P.value})` : ""
|
|
803
|
-
}, null, 8,
|
|
804
|
-
_("g",
|
|
805
|
+
}, null, 8, Xt),
|
|
806
|
+
_("g", Zt, [
|
|
805
807
|
(a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l("path", {
|
|
806
808
|
d: t.arcSlice,
|
|
807
809
|
fill: t.color,
|
|
808
810
|
stroke: e.value.backgroundColor,
|
|
809
811
|
"stroke-width": e.value.donutStrokeWidth,
|
|
810
|
-
filter:
|
|
811
|
-
}, null, 8,
|
|
812
|
+
filter: he(t.id)
|
|
813
|
+
}, null, 8, Yt))), 256)),
|
|
812
814
|
(a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l("path", {
|
|
813
815
|
d: t.arcSlice,
|
|
814
816
|
fill: "transparent",
|
|
815
817
|
onMouseenter: (r) => C.value.useTooltip({ datapoint: t, seriesIndex: n }),
|
|
816
818
|
onMouseout: c[0] || (c[0] = (r) => C.value.killTooltip()),
|
|
817
819
|
onClick: (r) => g("selectDatapoint", t)
|
|
818
|
-
}, null, 40,
|
|
820
|
+
}, null, 40, Jt))), 256))
|
|
819
821
|
]),
|
|
820
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
822
|
+
e.value.showDataLabels ? (a(), l("g", Qt, [
|
|
821
823
|
(a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l(m, null, [
|
|
822
824
|
C.value.isArcBigEnough(t) ? (a(), l("circle", {
|
|
823
825
|
key: 0,
|
|
@@ -825,8 +827,8 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
825
827
|
cy: f(Re)(t) - 3.7,
|
|
826
828
|
fill: t.color,
|
|
827
829
|
r: 3,
|
|
828
|
-
filter:
|
|
829
|
-
}, null, 8,
|
|
830
|
+
filter: he(t.id)
|
|
831
|
+
}, null, 8, Kt)) : p("", !0),
|
|
830
832
|
C.value.isArcBigEnough(t) ? (a(), l("text", {
|
|
831
833
|
key: 1,
|
|
832
834
|
"text-anchor": f(pe)(t, !0, 20).anchor,
|
|
@@ -834,7 +836,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
834
836
|
y: f(Re)(t),
|
|
835
837
|
fill: e.value.color,
|
|
836
838
|
"font-size": e.value.dataLabelFontSize,
|
|
837
|
-
filter:
|
|
839
|
+
filter: he(t.id)
|
|
838
840
|
}, E(C.value.displayArcPercentage(t, C.value.chart)) + " (" + E(f(H)(
|
|
839
841
|
e.value.formatter,
|
|
840
842
|
t.value,
|
|
@@ -845,7 +847,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
845
847
|
r: e.value.dataLabelRoundingValue
|
|
846
848
|
}),
|
|
847
849
|
{ datapoint: t, seriesIndex: n }
|
|
848
|
-
)) + ") ", 9,
|
|
850
|
+
)) + ") ", 9, ea)) : p("", !0),
|
|
849
851
|
C.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
|
|
850
852
|
key: 2,
|
|
851
853
|
"text-anchor": f(pe)(t).anchor,
|
|
@@ -853,18 +855,18 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
853
855
|
y: f(Re)(t) + e.value.dataLabelFontSize,
|
|
854
856
|
fill: e.value.color,
|
|
855
857
|
"font-size": e.value.dataLabelFontSize,
|
|
856
|
-
filter:
|
|
857
|
-
}, E(t.name), 9,
|
|
858
|
+
filter: he(t.id)
|
|
859
|
+
}, E(t.name), 9, ta)) : p("", !0)
|
|
858
860
|
], 64))), 256))
|
|
859
861
|
])) : p("", !0),
|
|
860
|
-
e.value.donutShowTotal ? (a(), l("g",
|
|
862
|
+
e.value.donutShowTotal ? (a(), l("g", aa, [
|
|
861
863
|
_("text", {
|
|
862
864
|
"text-anchor": "middle",
|
|
863
865
|
x: C.value.drawingArea.centerX,
|
|
864
866
|
y: C.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
865
867
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
866
868
|
fill: e.value.color
|
|
867
|
-
}, E(e.value.donutTotalLabelText), 9,
|
|
869
|
+
}, E(e.value.donutTotalLabelText), 9, la),
|
|
868
870
|
_("text", {
|
|
869
871
|
"text-anchor": "middle",
|
|
870
872
|
x: C.value.drawingArea.centerX,
|
|
@@ -876,11 +878,11 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
876
878
|
v: C.value.total,
|
|
877
879
|
s: e.value.valueSuffix,
|
|
878
880
|
r: e.value.dataLabelRoundingValue
|
|
879
|
-
})), 9,
|
|
881
|
+
})), 9, oa)
|
|
880
882
|
])) : p("", !0)
|
|
881
883
|
], 64)) : p("", !0),
|
|
882
884
|
z.value === A.LINE ? (a(), l(m, { key: 1 }, [
|
|
883
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
885
|
+
e.value.xyShowGrid ? (a(), l("g", ia, [
|
|
884
886
|
(a(!0), l(m, null, L(d.value.yLabels, (t) => (a(), l(m, null, [
|
|
885
887
|
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
886
888
|
key: 0,
|
|
@@ -891,7 +893,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
891
893
|
stroke: e.value.xyGridStroke,
|
|
892
894
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
893
895
|
"stroke-linecap": "round"
|
|
894
|
-
}, null, 8,
|
|
896
|
+
}, null, 8, ua)) : p("", !0)
|
|
895
897
|
], 64))), 256)),
|
|
896
898
|
(a(!0), l(m, null, L(d.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
|
|
897
899
|
x1: d.value.drawingArea.left + d.value.slotSize * n,
|
|
@@ -901,9 +903,9 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
901
903
|
stroke: e.value.xyGridStroke,
|
|
902
904
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
903
905
|
"stroke-linecap": "round"
|
|
904
|
-
}, null, 8,
|
|
906
|
+
}, null, 8, na))), 256))
|
|
905
907
|
])) : p("", !0),
|
|
906
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
908
|
+
e.value.xyShowAxis ? (a(), l("g", ra, [
|
|
907
909
|
_("line", {
|
|
908
910
|
x1: d.value.drawingArea.left,
|
|
909
911
|
x2: d.value.drawingArea.left,
|
|
@@ -912,7 +914,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
912
914
|
stroke: e.value.xyAxisStroke,
|
|
913
915
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
914
916
|
"stroke-linecap": "round"
|
|
915
|
-
}, null, 8,
|
|
917
|
+
}, null, 8, sa),
|
|
916
918
|
_("line", {
|
|
917
919
|
x1: d.value.drawingArea.left,
|
|
918
920
|
x2: d.value.drawingArea.right,
|
|
@@ -921,9 +923,9 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
921
923
|
stroke: e.value.xyAxisStroke,
|
|
922
924
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
923
925
|
"stroke-linecap": "round"
|
|
924
|
-
}, null, 8,
|
|
926
|
+
}, null, 8, va)
|
|
925
927
|
])) : p("", !0),
|
|
926
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
928
|
+
e.value.xyShowScale ? (a(), l("g", da, [
|
|
927
929
|
(a(!0), l(m, null, L(d.value.yLabels, (t, n) => (a(), l(m, null, [
|
|
928
930
|
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
929
931
|
key: 0,
|
|
@@ -934,7 +936,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
934
936
|
stroke: e.value.xyAxisStroke,
|
|
935
937
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
936
938
|
"stroke-linecap": "round"
|
|
937
|
-
}, null, 8,
|
|
939
|
+
}, null, 8, ca)) : p("", !0),
|
|
938
940
|
t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
|
|
939
941
|
key: 1,
|
|
940
942
|
x: t.x,
|
|
@@ -952,10 +954,10 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
952
954
|
r: e.value.dataLabelRoundingValue
|
|
953
955
|
}),
|
|
954
956
|
{ datapoint: t, seriesIndex: n }
|
|
955
|
-
)), 9,
|
|
957
|
+
)), 9, ha)) : p("", !0)
|
|
956
958
|
], 64))), 256))
|
|
957
959
|
])) : p("", !0),
|
|
958
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
960
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", fa, [
|
|
959
961
|
(a(!0), l(m, null, L(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, n) => (a(), l("line", {
|
|
960
962
|
x1: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
|
|
961
963
|
x2: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
|
|
@@ -964,16 +966,16 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
964
966
|
stroke: e.value.xyAxisStroke,
|
|
965
967
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
966
968
|
"stroke-linecap": "round"
|
|
967
|
-
}, null, 8,
|
|
969
|
+
}, null, 8, ga))), 256)),
|
|
968
970
|
(a(!0), l(m, null, L(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, n) => (a(), l("text", {
|
|
969
971
|
"font-size": e.value.xyLabelsXFontSize,
|
|
970
972
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
971
973
|
fill: e.value.color,
|
|
972
974
|
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
973
|
-
}, E(t), 9,
|
|
975
|
+
}, E(t), 9, ma))), 256))
|
|
974
976
|
])) : p("", !0),
|
|
975
|
-
_("g",
|
|
976
|
-
(a(!0), l(m, null, L(d.value.dataset, (t, n) => (a(), l("g",
|
|
977
|
+
_("g", pa, [
|
|
978
|
+
(a(!0), l(m, null, L(d.value.dataset, (t, n) => (a(), l("g", xa, [
|
|
977
979
|
e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
|
|
978
980
|
_("path", {
|
|
979
981
|
d: `M ${f(Xe)(t.coordinates)}`,
|
|
@@ -983,7 +985,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
983
985
|
fill: "none",
|
|
984
986
|
class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
985
987
|
style: { transition: "all 0.3s ease-in-out" }
|
|
986
|
-
}, null, 10,
|
|
988
|
+
}, null, 10, ya),
|
|
987
989
|
_("path", {
|
|
988
990
|
d: `M ${f(Xe)(t.coordinates)}`,
|
|
989
991
|
stroke: t.color,
|
|
@@ -992,7 +994,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
992
994
|
fill: "none",
|
|
993
995
|
class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
994
996
|
style: { transition: "all 0.3s ease-in-out" }
|
|
995
|
-
}, null, 10,
|
|
997
|
+
}, null, 10, ka)
|
|
996
998
|
], 64)) : (a(), l(m, { key: 1 }, [
|
|
997
999
|
_("path", {
|
|
998
1000
|
d: `M ${t.linePath}`,
|
|
@@ -1002,7 +1004,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1002
1004
|
fill: "none",
|
|
1003
1005
|
class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1004
1006
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1005
|
-
}, null, 10,
|
|
1007
|
+
}, null, 10, ba),
|
|
1006
1008
|
_("path", {
|
|
1007
1009
|
d: `M ${t.linePath}`,
|
|
1008
1010
|
stroke: t.color,
|
|
@@ -1011,7 +1013,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1011
1013
|
fill: "none",
|
|
1012
1014
|
class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1013
1015
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1014
|
-
}, null, 10,
|
|
1016
|
+
}, null, 10, Sa)
|
|
1015
1017
|
], 64)),
|
|
1016
1018
|
(a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("circle", {
|
|
1017
1019
|
cx: r.x,
|
|
@@ -1022,10 +1024,10 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1022
1024
|
"stroke-width": "0.5",
|
|
1023
1025
|
class: "quick-animation",
|
|
1024
1026
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1025
|
-
}, null, 8,
|
|
1027
|
+
}, null, 8, wa))), 256))
|
|
1026
1028
|
]))), 256))
|
|
1027
1029
|
]),
|
|
1028
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1030
|
+
e.value.showDataLabels ? (a(), l("g", _a, [
|
|
1029
1031
|
(a(!0), l(m, null, L(d.value.dataset, (t, n) => (a(), l(m, null, [
|
|
1030
1032
|
(a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("text", {
|
|
1031
1033
|
"text-anchor": "middle",
|
|
@@ -1045,10 +1047,10 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1045
1047
|
r: e.value.dataLabelRoundingValue
|
|
1046
1048
|
}),
|
|
1047
1049
|
{ datapoint: r, seriesIndex: h }
|
|
1048
|
-
)), 9,
|
|
1050
|
+
)), 9, Aa))), 256))
|
|
1049
1051
|
], 64))), 256))
|
|
1050
1052
|
])) : p("", !0),
|
|
1051
|
-
_("g",
|
|
1053
|
+
_("g", La, [
|
|
1052
1054
|
(a(!0), l(m, null, L(d.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
|
|
1053
1055
|
x: d.value.drawingArea.left + n * d.value.slotSize,
|
|
1054
1056
|
y: d.value.drawingArea.top,
|
|
@@ -1062,11 +1064,11 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1062
1064
|
...h,
|
|
1063
1065
|
value: h.values[n]
|
|
1064
1066
|
})))
|
|
1065
|
-
}, null, 44,
|
|
1067
|
+
}, null, 44, za))), 256))
|
|
1066
1068
|
])
|
|
1067
1069
|
], 64)) : p("", !0),
|
|
1068
1070
|
z.value === A.BAR ? (a(), l(m, { key: 2 }, [
|
|
1069
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
1071
|
+
e.value.xyShowGrid ? (a(), l("g", $a, [
|
|
1070
1072
|
(a(!0), l(m, null, L(v.value.yLabels, (t) => (a(), l(m, null, [
|
|
1071
1073
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
1072
1074
|
key: 0,
|
|
@@ -1077,7 +1079,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1077
1079
|
stroke: e.value.xyGridStroke,
|
|
1078
1080
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1079
1081
|
"stroke-linecap": "round"
|
|
1080
|
-
}, null, 8,
|
|
1082
|
+
}, null, 8, Ca)) : p("", !0)
|
|
1081
1083
|
], 64))), 256)),
|
|
1082
1084
|
(a(!0), l(m, null, L(v.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
|
|
1083
1085
|
x1: v.value.drawingArea.left + v.value.slotSize * n,
|
|
@@ -1087,9 +1089,9 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1087
1089
|
stroke: e.value.xyGridStroke,
|
|
1088
1090
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1089
1091
|
"stroke-linecap": "round"
|
|
1090
|
-
}, null, 8,
|
|
1092
|
+
}, null, 8, Pa))), 256))
|
|
1091
1093
|
])) : p("", !0),
|
|
1092
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
1094
|
+
e.value.xyShowAxis ? (a(), l("g", Ta, [
|
|
1093
1095
|
_("line", {
|
|
1094
1096
|
x1: v.value.drawingArea.left,
|
|
1095
1097
|
x2: v.value.drawingArea.left,
|
|
@@ -1098,7 +1100,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1098
1100
|
stroke: e.value.xyAxisStroke,
|
|
1099
1101
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1100
1102
|
"stroke-linecap": "round"
|
|
1101
|
-
}, null, 8,
|
|
1103
|
+
}, null, 8, Ia),
|
|
1102
1104
|
_("line", {
|
|
1103
1105
|
x1: v.value.drawingArea.left,
|
|
1104
1106
|
x2: v.value.drawingArea.right,
|
|
@@ -1107,9 +1109,9 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1107
1109
|
stroke: e.value.xyAxisStroke,
|
|
1108
1110
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1109
1111
|
"stroke-linecap": "round"
|
|
1110
|
-
}, null, 8,
|
|
1112
|
+
}, null, 8, Ea)
|
|
1111
1113
|
])) : p("", !0),
|
|
1112
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1114
|
+
e.value.xyShowScale ? (a(), l("g", Ra, [
|
|
1113
1115
|
(a(!0), l(m, null, L(v.value.yLabels, (t, n) => (a(), l(m, null, [
|
|
1114
1116
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
1115
1117
|
key: 0,
|
|
@@ -1120,7 +1122,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1120
1122
|
stroke: e.value.xyAxisStroke,
|
|
1121
1123
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1122
1124
|
"stroke-linecap": "round"
|
|
1123
|
-
}, null, 8,
|
|
1125
|
+
}, null, 8, Na)) : p("", !0),
|
|
1124
1126
|
t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
|
|
1125
1127
|
key: 1,
|
|
1126
1128
|
x: t.x,
|
|
@@ -1138,10 +1140,10 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1138
1140
|
r: e.value.dataLabelRoundingValue
|
|
1139
1141
|
}),
|
|
1140
1142
|
{ datapoint: t, seriesIndex: n }
|
|
1141
|
-
)), 9,
|
|
1143
|
+
)), 9, Oa)) : p("", !0)
|
|
1142
1144
|
], 64))), 256))
|
|
1143
1145
|
])) : p("", !0),
|
|
1144
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
1146
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Fa, [
|
|
1145
1147
|
(a(!0), l(m, null, L(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, n) => (a(), l("line", {
|
|
1146
1148
|
x1: v.value.drawingArea.left + v.value.slotSize * (n + 1) - v.value.slotSize / 2,
|
|
1147
1149
|
x2: v.value.drawingArea.left + v.value.slotSize * (n + 1) - v.value.slotSize / 2,
|
|
@@ -1150,15 +1152,15 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1150
1152
|
stroke: e.value.xyAxisStroke,
|
|
1151
1153
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1152
1154
|
"stroke-linecap": "round"
|
|
1153
|
-
}, null, 8,
|
|
1155
|
+
}, null, 8, Ma))), 256)),
|
|
1154
1156
|
(a(!0), l(m, null, L(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, n) => (a(), l("text", {
|
|
1155
1157
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1156
1158
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1157
1159
|
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (n + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1158
1160
|
fill: e.value.color
|
|
1159
|
-
}, E(t), 9,
|
|
1161
|
+
}, E(t), 9, Ba))), 256))
|
|
1160
1162
|
])) : p("", !0),
|
|
1161
|
-
_("g",
|
|
1163
|
+
_("g", Ua, [
|
|
1162
1164
|
(a(!0), l(m, null, L(v.value.dataset, (t, n) => (a(), l(m, null, [
|
|
1163
1165
|
(a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("rect", {
|
|
1164
1166
|
x: r.x,
|
|
@@ -1177,18 +1179,18 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1177
1179
|
from: 0,
|
|
1178
1180
|
to: r.height,
|
|
1179
1181
|
dur: "0.5s"
|
|
1180
|
-
}, null, 8,
|
|
1182
|
+
}, null, 8, Va)) : p("", !0),
|
|
1181
1183
|
e.value.barAnimated && r.value > 0 && !f(ke) && !f(be) ? (a(), l("animate", {
|
|
1182
1184
|
key: 1,
|
|
1183
1185
|
attributeName: "y",
|
|
1184
1186
|
from: v.value.absoluteZero,
|
|
1185
1187
|
to: v.value.absoluteZero - r.height,
|
|
1186
1188
|
dur: "0.5s"
|
|
1187
|
-
}, null, 8,
|
|
1188
|
-
], 10,
|
|
1189
|
+
}, null, 8, qa)) : p("", !0)
|
|
1190
|
+
], 10, Da))), 256))
|
|
1189
1191
|
], 64))), 256))
|
|
1190
1192
|
]),
|
|
1191
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1193
|
+
e.value.showDataLabels ? (a(), l("g", Wa, [
|
|
1192
1194
|
(a(!0), l(m, null, L(v.value.dataset, (t, n) => (a(), l(m, null, [
|
|
1193
1195
|
(a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("text", {
|
|
1194
1196
|
x: r.x + r.width / 2,
|
|
@@ -1207,10 +1209,10 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1207
1209
|
r: e.value.dataLabelRoundingValue
|
|
1208
1210
|
}),
|
|
1209
1211
|
{ datapoint: r, seriesIndex: h }
|
|
1210
|
-
)), 9,
|
|
1212
|
+
)), 9, ja))), 256))
|
|
1211
1213
|
], 64))), 256))
|
|
1212
1214
|
])) : p("", !0),
|
|
1213
|
-
_("g",
|
|
1215
|
+
_("g", Ga, [
|
|
1214
1216
|
(a(!0), l(m, null, L(v.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
|
|
1215
1217
|
x: v.value.drawingArea.left + n * v.value.slotSize,
|
|
1216
1218
|
y: v.value.drawingArea.top,
|
|
@@ -1224,46 +1226,46 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1224
1226
|
...h,
|
|
1225
1227
|
value: h.values[n]
|
|
1226
1228
|
})))
|
|
1227
|
-
}, null, 44,
|
|
1229
|
+
}, null, 44, Ha))), 256))
|
|
1228
1230
|
])
|
|
1229
1231
|
], 64)) : p("", !0),
|
|
1230
|
-
[A.LINE, A.BAR].includes(z.value) ? (a(), l("g",
|
|
1231
|
-
e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g",
|
|
1232
|
+
[A.LINE, A.BAR].includes(z.value) ? (a(), l("g", Xa, [
|
|
1233
|
+
e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g", Za, [
|
|
1232
1234
|
_("text", {
|
|
1233
1235
|
"font-size": e.value.axisLabelsFontSize,
|
|
1234
1236
|
fill: e.value.color,
|
|
1235
1237
|
"text-anchor": "middle",
|
|
1236
1238
|
x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
|
|
1237
1239
|
y: y.value.height - e.value.axisLabelsFontSize / 3
|
|
1238
|
-
}, E(e.value.xAxisLabel), 9,
|
|
1240
|
+
}, E(e.value.xAxisLabel), 9, Ya)
|
|
1239
1241
|
])) : p("", !0),
|
|
1240
|
-
e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g",
|
|
1242
|
+
e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", Ja, [
|
|
1241
1243
|
_("text", {
|
|
1242
1244
|
"font-size": e.value.axisLabelsFontSize,
|
|
1243
1245
|
fill: e.value.color,
|
|
1244
1246
|
"text-anchor": "middle",
|
|
1245
1247
|
x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
|
|
1246
1248
|
y: y.value.height - e.value.axisLabelsFontSize / 3
|
|
1247
|
-
}, E(e.value.xAxisLabel), 9,
|
|
1249
|
+
}, E(e.value.xAxisLabel), 9, Qa)
|
|
1248
1250
|
])) : p("", !0),
|
|
1249
|
-
e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g",
|
|
1251
|
+
e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", Ka, [
|
|
1250
1252
|
_("text", {
|
|
1251
1253
|
"font-size": e.value.axisLabelsFontSize,
|
|
1252
1254
|
fill: e.value.color,
|
|
1253
1255
|
transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1254
1256
|
"text-anchor": "middle"
|
|
1255
|
-
}, E(e.value.yAxisLabel), 9,
|
|
1257
|
+
}, E(e.value.yAxisLabel), 9, el)
|
|
1256
1258
|
])) : p("", !0),
|
|
1257
|
-
e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g",
|
|
1259
|
+
e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", tl, [
|
|
1258
1260
|
_("text", {
|
|
1259
1261
|
"font-size": e.value.axisLabelsFontSize,
|
|
1260
1262
|
fill: e.value.color,
|
|
1261
1263
|
transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1262
1264
|
"text-anchor": "middle"
|
|
1263
|
-
}, E(e.value.yAxisLabel), 9,
|
|
1265
|
+
}, E(e.value.yAxisLabel), 9, al)
|
|
1264
1266
|
])) : p("", !0)
|
|
1265
1267
|
])) : p("", !0)
|
|
1266
|
-
], 12,
|
|
1268
|
+
], 12, Bt)) : p("", !0),
|
|
1267
1269
|
z.value ? p("", !0) : (a(), Te(Ct, {
|
|
1268
1270
|
key: 3,
|
|
1269
1271
|
config: {
|
|
@@ -1282,13 +1284,13 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1282
1284
|
}
|
|
1283
1285
|
}
|
|
1284
1286
|
}, null, 8, ["config"])),
|
|
1285
|
-
u.$slots.watermark ? (a(), l("div",
|
|
1286
|
-
V(u.$slots, "watermark", J(
|
|
1287
|
+
u.$slots.watermark ? (a(), l("div", ll, [
|
|
1288
|
+
V(u.$slots, "watermark", J(me({ isPrinting: f(ke) || f(be) })), void 0, !0)
|
|
1287
1289
|
])) : p("", !0),
|
|
1288
1290
|
[A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (a(), l("div", {
|
|
1289
1291
|
key: `slicer_${ye.value}`,
|
|
1290
1292
|
ref_key: "quickChartSlicer",
|
|
1291
|
-
ref:
|
|
1293
|
+
ref: se
|
|
1292
1294
|
}, [
|
|
1293
1295
|
(a(), Te($t, {
|
|
1294
1296
|
key: `slicer_${ye.value}`,
|
|
@@ -1321,7 +1323,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1321
1323
|
onTrapMouse: ot
|
|
1322
1324
|
}, {
|
|
1323
1325
|
"reset-action": ae(({ reset: t }) => [
|
|
1324
|
-
V(u.$slots, "reset-action", J(
|
|
1326
|
+
V(u.$slots, "reset-action", J(me({ reset: t })), void 0, !0)
|
|
1325
1327
|
]),
|
|
1326
1328
|
_: 3
|
|
1327
1329
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "minimapSelectedIndex", "start", "end"]))
|
|
@@ -1341,7 +1343,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1341
1343
|
style: O(`cursor: ${C.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1342
1344
|
}, [
|
|
1343
1345
|
e.value.useCustomLegend ? V(u.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1344
|
-
|
|
1346
|
+
re(Le, {
|
|
1345
1347
|
name: e.value.legendIcon,
|
|
1346
1348
|
stroke: t.color,
|
|
1347
1349
|
size: e.value.legendIconSize
|
|
@@ -1377,7 +1379,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1377
1379
|
r: e.value.dataLabelRoundingPercentage
|
|
1378
1380
|
})) + ") ", 5))
|
|
1379
1381
|
], 64))
|
|
1380
|
-
], 12,
|
|
1382
|
+
], 12, ol))), 256)) : p("", !0),
|
|
1381
1383
|
z.value === A.LINE ? (a(!0), l(m, { key: 1 }, L(d.value.legend, (t, n) => (a(), l("div", {
|
|
1382
1384
|
class: "vue-ui-quick-chart-legend-item",
|
|
1383
1385
|
onClick: (r) => {
|
|
@@ -1386,7 +1388,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1386
1388
|
style: O(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1387
1389
|
}, [
|
|
1388
1390
|
e.value.useCustomLegend ? V(u.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1389
|
-
|
|
1391
|
+
re(Le, {
|
|
1390
1392
|
name: e.value.legendIcon,
|
|
1391
1393
|
stroke: t.color,
|
|
1392
1394
|
size: e.value.legendIconSize
|
|
@@ -1395,7 +1397,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1395
1397
|
style: O(`font-size:${e.value.legendFontSize}px`)
|
|
1396
1398
|
}, E(t.name), 5)
|
|
1397
1399
|
], 64))
|
|
1398
|
-
], 12,
|
|
1400
|
+
], 12, il))), 256)) : p("", !0),
|
|
1399
1401
|
z.value === A.BAR ? (a(!0), l(m, { key: 2 }, L(v.value.legend, (t, n) => (a(), l("div", {
|
|
1400
1402
|
class: "vue-ui-quick-chart-legend-item",
|
|
1401
1403
|
onClick: (r) => {
|
|
@@ -1404,7 +1406,7 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1404
1406
|
style: O(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1405
1407
|
}, [
|
|
1406
1408
|
e.value.useCustomLegend ? V(u.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1407
|
-
|
|
1409
|
+
re(Le, {
|
|
1408
1410
|
name: e.value.legendIcon,
|
|
1409
1411
|
stroke: t.color,
|
|
1410
1412
|
size: e.value.legendIconSize
|
|
@@ -1413,9 +1415,9 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1413
1415
|
style: O(`font-size:${e.value.legendFontSize}px`)
|
|
1414
1416
|
}, E(t.name), 5)
|
|
1415
1417
|
], 64))
|
|
1416
|
-
], 12,
|
|
1418
|
+
], 12, ul))), 256)) : p("", !0)
|
|
1417
1419
|
], 4)) : p("", !0),
|
|
1418
|
-
|
|
1420
|
+
re(At, {
|
|
1419
1421
|
show: Se.value.showTooltip && G.value,
|
|
1420
1422
|
backgroundColor: e.value.backgroundColor,
|
|
1421
1423
|
color: e.value.color,
|
|
@@ -1431,22 +1433,22 @@ const et = (s) => (dt("data-v-1f3ccedc"), s = s(), ct(), s), Ft = ["id"], Mt = [
|
|
|
1431
1433
|
isCustom: f(Ae)(e.value.tooltipCustomFormat)
|
|
1432
1434
|
}, {
|
|
1433
1435
|
"tooltip-before": ae(() => [
|
|
1434
|
-
V(u.$slots, "tooltip-before", J(
|
|
1436
|
+
V(u.$slots, "tooltip-before", J(me({ ...ve.value })), void 0, !0)
|
|
1435
1437
|
]),
|
|
1436
1438
|
"tooltip-after": ae(() => [
|
|
1437
|
-
V(u.$slots, "tooltip-after", J(
|
|
1439
|
+
V(u.$slots, "tooltip-after", J(me({ ...ve.value })), void 0, !0)
|
|
1438
1440
|
]),
|
|
1439
1441
|
_: 3
|
|
1440
1442
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"])
|
|
1441
|
-
], 14,
|
|
1442
|
-
|
|
1443
|
+
], 14, Mt)) : (a(), l("div", nl, [
|
|
1444
|
+
re(Le, {
|
|
1443
1445
|
name: "circleCancel",
|
|
1444
1446
|
stroke: "red"
|
|
1445
1447
|
}),
|
|
1446
|
-
|
|
1448
|
+
rl
|
|
1447
1449
|
]));
|
|
1448
1450
|
}
|
|
1449
|
-
},
|
|
1451
|
+
}, bl = /* @__PURE__ */ Tt(sl, [["__scopeId", "data-v-85aefdcf"]]);
|
|
1450
1452
|
export {
|
|
1451
|
-
|
|
1453
|
+
bl as default
|
|
1452
1454
|
};
|