vue-data-ui 2.6.1 → 2.6.3
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 +4 -4
- package/dist/{Arrow-DaCdeKAQ.cjs → Arrow-CUx3sy0R.cjs} +1 -1
- package/dist/{Arrow-CG_4BSkT.js → Arrow-CaNCmIG1.js} +1 -1
- package/dist/{BaseIcon-zOOwakRm.js → BaseIcon-CFtrFJk8.js} +1 -1
- package/dist/{BaseIcon-CKMrYVdW.cjs → BaseIcon-DEUnx0Km.cjs} +1 -1
- package/dist/{DataTable-DGgj14m-.js → DataTable-g-vVSX5e.js} +2 -2
- package/dist/{DataTable-BLEXsQBY.cjs → DataTable-o267EcsS.cjs} +1 -1
- package/dist/{Legend-BvLLHGBp.cjs → Legend-14o6ysPB.cjs} +1 -1
- package/dist/{Legend-D8BbMFRZ.js → Legend-D3s69_UE.js} +2 -2
- package/dist/{PackageVersion-B7vHZ873.cjs → PackageVersion-GUCKUltM.cjs} +1 -1
- package/dist/{PackageVersion-Bk5LVTq1.js → PackageVersion-koLOUagZ.js} +1 -1
- package/dist/{PenAndPaper-C2r4IIot.cjs → PenAndPaper-BFxCZMe_.cjs} +1 -1
- package/dist/{PenAndPaper-CQfs_lTN.js → PenAndPaper-NARoVmb-.js} +3 -3
- package/dist/{Shape-DRv28FRP.js → Shape-BQwPhaQ2.js} +1 -1
- package/dist/{Shape-CMWPm64P.cjs → Shape-DQcajuPX.cjs} +1 -1
- package/dist/{Slicer-BTtwLXWn.js → Slicer-BHKjr5Ta.js} +2 -2
- package/dist/{Slicer-5eB08Bkj.cjs → Slicer-D2-FPJ8d.cjs} +1 -1
- package/dist/{Title-ag6gXJcz.js → Title-BrlBOQMX.js} +1 -1
- package/dist/{Title-DDaORN3r.cjs → Title-IEvHjzFX.cjs} +1 -1
- package/dist/{Tooltip-95WjskR9.js → Tooltip-2BVEpShN.js} +1 -1
- package/dist/{Tooltip-DwioWtpe.cjs → Tooltip-Ce3-d-Jl.cjs} +1 -1
- package/dist/documentation/installation.md +4 -4
- package/dist/{index-DaaDBRRF.js → index-Sq6_Z5Ol.js} +1 -1
- package/dist/{index-Dla35rDR.cjs → index-TsXfF4RW.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-onENMM4v.cjs → useNestedProp-AmCRQ0Mq.cjs} +1 -1
- package/dist/{useNestedProp-ReVcQys2.js → useNestedProp-BmjPdxME.js} +1 -1
- package/dist/{usePrinter-cQwX-nf0.cjs → usePrinter-DqLdu0d8.cjs} +1 -1
- package/dist/{usePrinter-DUVTMVcK.js → usePrinter-KhQnrZzM.js} +1 -1
- package/dist/{vue-data-ui-DBJxJRA8.js → vue-data-ui-BDtCPTUD.js} +61 -61
- package/dist/{vue-data-ui-S7WYrlMn.cjs → vue-data-ui-W8pd2Z-N.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-C4Lf5ZsJ.js → vue-ui-3d-bar-BSNWr70h.js} +9 -9
- package/dist/{vue-ui-3d-bar-yWjl5iDC.cjs → vue-ui-3d-bar-CQarDWrH.cjs} +1 -1
- package/dist/{vue-ui-accordion-BJBt7sbb.js → vue-ui-accordion-Cs3dJ86t.js} +3 -3
- package/dist/{vue-ui-accordion-DcbFZ2D3.cjs → vue-ui-accordion-DQr01ula.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CAh4pv9o.cjs → vue-ui-age-pyramid-CXRisfK0.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CMLAz6Mp.js → vue-ui-age-pyramid-nfG0pqCk.js} +10 -10
- package/dist/{vue-ui-annotator-Ccv0-AJJ.cjs → vue-ui-annotator-D4f8pjvy.cjs} +1 -1
- package/dist/{vue-ui-annotator-DgYKMAvZ.js → vue-ui-annotator-qbVoTl_7.js} +1 -1
- package/dist/{vue-ui-bullet-BPdkEe6M.js → vue-ui-bullet-C7O_SGrf.js} +8 -8
- package/dist/{vue-ui-bullet-BYvPZfEi.cjs → vue-ui-bullet-tNkxVPL6.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dh8xqZUc.js → vue-ui-candlestick-C5w6Q5tA.js} +11 -11
- package/dist/{vue-ui-candlestick-Bl48zOlH.cjs → vue-ui-candlestick-CHWTbUPr.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-54orau8Z.cjs → vue-ui-carousel-table-BnyQxoK_.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BGXTUQcI.js → vue-ui-carousel-table-DhlknuHM.js} +4 -4
- package/dist/{vue-ui-chestnut-DWW5UXQ_.js → vue-ui-chestnut-CxDFoe_1.js} +8 -8
- package/dist/{vue-ui-chestnut-BbK-8JcW.cjs → vue-ui-chestnut-DXSCCzCc.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-Be3vnkLn.js → vue-ui-circle-pack-8GcO3_Mk.js} +9 -9
- package/dist/{vue-ui-circle-pack-C6nsFaf9.cjs → vue-ui-circle-pack-DCVBrNSm.cjs} +1 -1
- package/dist/{vue-ui-cursor-BMD9oXM_.js → vue-ui-cursor-DqTG5Bkn.js} +2 -2
- package/dist/{vue-ui-cursor-Bd4WawYT.cjs → vue-ui-cursor-ZG_l61-u.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CRFAupNn.js → vue-ui-dashboard-BUA1xet-.js} +2 -2
- package/dist/{vue-ui-dashboard-CIb57ZTu.cjs → vue-ui-dashboard-CM_JWUb1.cjs} +1 -1
- package/dist/{vue-ui-digits-hKIjwNLE.cjs → vue-ui-digits-BTw7SVPJ.cjs} +1 -1
- package/dist/{vue-ui-digits-DA1yrPSo.js → vue-ui-digits-NaC5TAtZ.js} +2 -2
- package/dist/{vue-ui-donut-C6thkzA9.js → vue-ui-donut-BNUwbtTK.js} +12 -12
- package/dist/{vue-ui-donut-d-C5olqi.cjs → vue-ui-donut-CxRlW3Wf.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CYAgFkE9.js → vue-ui-donut-evolution-CAmcyYYg.js} +11 -11
- package/dist/{vue-ui-donut-evolution-Dzv3ligP.cjs → vue-ui-donut-evolution-MrRKOI1i.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-D7s7aDL9.js → vue-ui-dumbbell-B-HdfY_j.js} +10 -10
- package/dist/{vue-ui-dumbbell-oXJoC9vw.cjs → vue-ui-dumbbell-C6Lgic0q.cjs} +1 -1
- package/dist/{vue-ui-flow-C_UFS27X.js → vue-ui-flow-BrQovUAh.js} +9 -9
- package/dist/{vue-ui-flow-D1M1iLei.cjs → vue-ui-flow-VBP_6WA8.cjs} +1 -1
- package/dist/{vue-ui-funnel-CyHc5q64.js → vue-ui-funnel-B8-Uj9S3.js} +9 -9
- package/dist/{vue-ui-funnel-D-Ph4pEt.cjs → vue-ui-funnel-BIupy22h.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CYVuaFx4.cjs → vue-ui-galaxy-BbysRccu.cjs} +1 -1
- package/dist/{vue-ui-galaxy-C2B21QDs.js → vue-ui-galaxy-hElQRBl6.js} +11 -11
- package/dist/{vue-ui-gauge-BbCrRAcn.js → vue-ui-gauge-BxavhokI.js} +7 -7
- package/dist/{vue-ui-gauge-DN7BfHVH.cjs → vue-ui-gauge-CgUeFE-O.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BxmQXMMz.js → vue-ui-gizmo-Ci0pE9Nw.js} +3 -3
- package/dist/{vue-ui-gizmo-BLi-aeOT.cjs → vue-ui-gizmo-DSLh6fXp.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Di-4_KVj.js → vue-ui-heatmap-BN1FdDqM.js} +10 -10
- package/dist/{vue-ui-heatmap-B5kk3ubl.cjs → vue-ui-heatmap-D5QJROY5.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BgQ7_nGB.js → vue-ui-history-plot-D8Y08JYH.js} +11 -11
- package/dist/{vue-ui-history-plot-C4Rh7d4A.cjs → vue-ui-history-plot-DqnirTGv.cjs} +1 -1
- package/dist/{vue-ui-kpi-C_QMS2sW.cjs → vue-ui-kpi-DbKHOVxZ.cjs} +1 -1
- package/dist/{vue-ui-kpi-D5dlDIrE.js → vue-ui-kpi-DbbXD09A.js} +3 -3
- package/dist/{vue-ui-mini-loader-brOHSBkA.js → vue-ui-mini-loader-BbQzMsAO.js} +2 -2
- package/dist/{vue-ui-mini-loader-DC9WI9t6.cjs → vue-ui-mini-loader-FNEOkheZ.cjs} +1 -1
- package/dist/{vue-ui-molecule-Brrb0vRD.cjs → vue-ui-molecule-CCPkPyjT.cjs} +1 -1
- package/dist/{vue-ui-molecule-BlZa7LFK.js → vue-ui-molecule-DmZCUvJq.js} +11 -11
- package/dist/{vue-ui-mood-radar-ewQ9HT5w.cjs → vue-ui-mood-radar-Bqv_OukZ.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-bdoq5L0c.js → vue-ui-mood-radar-CReqB6g6.js} +11 -11
- package/dist/{vue-ui-nested-donuts-6bcJ22S6.js → vue-ui-nested-donuts-BwCtd7TA.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BrxC6lYZ.cjs → vue-ui-nested-donuts-D93rQwDR.cjs} +1 -1
- package/dist/{vue-ui-onion-Yff-DwJ0.js → vue-ui-onion-BMUjoxS_.js} +11 -11
- package/dist/{vue-ui-onion-CPTPsRp_.cjs → vue-ui-onion-Bts6tMCc.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BAGdY2ni.js → vue-ui-parallel-coordinate-plot-Ce2wd0f5.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-BBf4Stme.cjs → vue-ui-parallel-coordinate-plot-CgujndZr.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BYkclEHK.js → vue-ui-quadrant-C-jarCHF.js} +12 -12
- package/dist/{vue-ui-quadrant-DpRKaZTi.cjs → vue-ui-quadrant-CGSLYSYL.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DZ6tgwO-.cjs → vue-ui-quick-chart-B0SVk7ry.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-tOqfl8Wv.js → vue-ui-quick-chart-BJz8KURA.js} +9 -9
- package/dist/{vue-ui-radar-DGV_Qsfo.js → vue-ui-radar-BNi9EFmX.js} +12 -12
- package/dist/{vue-ui-radar-THcYC_gY.cjs → vue-ui-radar-Bn_j-SA4.cjs} +1 -1
- package/dist/vue-ui-rating-H6zv15BL.cjs +1 -0
- package/dist/vue-ui-rating-ykC0fTg_.js +350 -0
- package/dist/{vue-ui-relation-circle-3c5hexW_.cjs → vue-ui-relation-circle-CcYVlwwi.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Qikk7b8Z.js → vue-ui-relation-circle-DeILJwJP.js} +7 -7
- package/dist/{vue-ui-rings-DM1bBtQj.js → vue-ui-rings-CM4Yh4K7.js} +12 -12
- package/dist/{vue-ui-rings-pwelBySH.cjs → vue-ui-rings-DfFzFEA6.cjs} +1 -1
- package/dist/{vue-ui-scatter-D3ZdlKut.js → vue-ui-scatter-9l9U12tf.js} +12 -12
- package/dist/{vue-ui-scatter-tRzawjcj.cjs → vue-ui-scatter-CZBufI8b.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BpH4_ZD6.cjs → vue-ui-screenshot-BHMuQw8r.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D7LdEMAv.js → vue-ui-screenshot-lygBinT2.js} +1 -1
- package/dist/{vue-ui-skeleton-BIuKWqj2.cjs → vue-ui-skeleton-D3N7upHq.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Ce7b04xD.js → vue-ui-skeleton-DhEZVP4j.js} +3 -3
- package/dist/{vue-ui-smiley-vo6yPzcF.js → vue-ui-smiley-QyjA0TcO.js} +69 -68
- package/dist/{vue-ui-smiley-BUJpZcSm.cjs → vue-ui-smiley-ctSWt0nv.cjs} +2 -2
- package/dist/{vue-ui-spark-trend-C_MN59hc.cjs → vue-ui-spark-trend-C9mK9gsJ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C7k3udvc.js → vue-ui-spark-trend-CQu8fJyp.js} +5 -5
- package/dist/{vue-ui-sparkbar-CdENaD7Y.js → vue-ui-sparkbar-1nTJch0Z.js} +4 -4
- package/dist/{vue-ui-sparkbar-CPCZlpHO.cjs → vue-ui-sparkbar-BlXSG_u8.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-QZgcWK60.cjs → vue-ui-sparkgauge-Cu5HQYtA.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-B2uWPCJq.js → vue-ui-sparkgauge-Df4RaQL4.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DZabvSAV.cjs → vue-ui-sparkhistogram-CbGVLioY.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DCTnIVXe.js → vue-ui-sparkhistogram-D2RUQcAo.js} +5 -5
- package/dist/{vue-ui-sparkline-BEWrNJvV.cjs → vue-ui-sparkline-CYIZ1DFh.cjs} +1 -1
- package/dist/{vue-ui-sparkline-D3S5lo7r.js → vue-ui-sparkline-ZWCxuBSn.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-B5D0afLQ.cjs → vue-ui-sparkstackbar-CkiTTddK.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DWHqCmiK.js → vue-ui-sparkstackbar-DZWMi8IY.js} +5 -5
- package/dist/{vue-ui-stackbar-q8Ibh-d4.js → vue-ui-stackbar-CohW8Lni.js} +13 -13
- package/dist/{vue-ui-stackbar-C9-V2SdI.cjs → vue-ui-stackbar-DxA3vG2f.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DyGtwTEn.cjs → vue-ui-strip-plot-CUJtddMq.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-D7foO-kq.js → vue-ui-strip-plot-CfKGbLE-.js} +11 -11
- package/dist/{vue-ui-table-C6r6UbXb.js → vue-ui-table-CyewBxeG.js} +1 -1
- package/dist/{vue-ui-table-DLR0ha2q.cjs → vue-ui-table-Di_YIf-o.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DXZkNgsX.cjs → vue-ui-table-heatmap-CgFby9Fm.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Bs3RyLJ-.js → vue-ui-table-heatmap-U735dVB7.js} +4 -4
- package/dist/{vue-ui-table-sparkline-Dxy58OjL.js → vue-ui-table-sparkline-CI6fVXqD.js} +5 -5
- package/dist/{vue-ui-table-sparkline-8jNNkRHl.cjs → vue-ui-table-sparkline-DMo-8Xvd.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CB82D9V2.cjs → vue-ui-thermometer-3x4w5Bzf.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C0ebsziQ.js → vue-ui-thermometer-vg0OAZ-r.js} +7 -7
- package/dist/{vue-ui-timer-C1SeltGj.cjs → vue-ui-timer-DH2x_4wH.cjs} +1 -1
- package/dist/{vue-ui-timer-2l2uA9ds.js → vue-ui-timer-u18zWozG.js} +5 -5
- package/dist/{vue-ui-tiremarks-B0Ko-3Nl.cjs → vue-ui-tiremarks-CxKWI2fp.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DqV4z-gF.js → vue-ui-tiremarks-DktQB0KM.js} +7 -7
- package/dist/{vue-ui-treemap-ZCkY5MIc.js → vue-ui-treemap-CVOhnvNh.js} +11 -11
- package/dist/{vue-ui-treemap-VQLgKoFv.cjs → vue-ui-treemap-DlsJqd0C.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-D2fsnSXJ.cjs → vue-ui-vertical-bar-BwOZxjR-.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-C7c4aoAE.js → vue-ui-vertical-bar-CdoSGi-B.js} +12 -12
- package/dist/{vue-ui-waffle-D80rQuGH.js → vue-ui-waffle-CajquWJE.js} +12 -12
- package/dist/{vue-ui-waffle-D6haAPI4.cjs → vue-ui-waffle-D4yjRBba.cjs} +1 -1
- package/dist/{vue-ui-wheel-CoUOGnK9.js → vue-ui-wheel-BlMIG6cZ.js} +7 -7
- package/dist/{vue-ui-wheel-aifK19L_.cjs → vue-ui-wheel-fTjcexDm.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CyukymPI.cjs → vue-ui-word-cloud-BqqXPBt-.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-D4ncvvGd.js → vue-ui-word-cloud-DL7Qnl9r.js} +10 -10
- package/dist/{vue-ui-xy-BxKSrC7D.js → vue-ui-xy-BA50z2Qp.js} +90 -90
- package/dist/{vue-ui-xy-xvt_IG7z.cjs → vue-ui-xy-BrL3AnU6.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-IYFIfZxq.js → vue-ui-xy-canvas-BL2xqLMH.js} +11 -11
- package/dist/{vue-ui-xy-canvas-B4eBS-TN.cjs → vue-ui-xy-canvas-kRxLPOUB.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-rating-ChvACa7-.cjs +0 -1
- package/dist/vue-ui-rating-Cuou21Nk.js +0 -327
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { P as D, W as q, A as j, F as $, w as ee, s as te, o as re, _ as ie, a5 as ae, x as le, C as se, y as ne, a3 as he, e as oe, r as ce, f as X, a6 as de, R as ue, S as ge, q as fe, b as Ie, z as me, d as Ne, a7 as xe, v as be, a8 as Fe, a1 as _e, a9 as Ae, i as ye, G as Ce, L as Le, u as Se, c as K, p as ke, B as we, a as Oe, t as Ge } from "./index-
|
|
2
|
-
import { D as ve } from "./DataTable-
|
|
3
|
-
import { _ as ze } from "./Title-
|
|
4
|
-
import { u as Me, _ as pe } from "./Tooltip-
|
|
5
|
-
import { U as Te } from "./usePrinter-
|
|
6
|
-
import { _ as Pe } from "./Shape-
|
|
7
|
-
import Ve from "./BaseIcon-
|
|
8
|
-
import Re from "./vue-ui-table-sparkline-
|
|
9
|
-
import De from "./vue-ui-skeleton-
|
|
10
|
-
import { S as He } from "./Slicer-
|
|
11
|
-
import Be from "./vue-ui-accordion-
|
|
12
|
-
import { u as U } from "./useNestedProp-
|
|
13
|
-
import { _ as We } from "./PackageVersion-
|
|
14
|
-
import { P as Ee } from "./PenAndPaper-
|
|
1
|
+
import { P as D, W as q, A as j, F as $, w as ee, s as te, o as re, _ as ie, a5 as ae, x as le, C as se, y as ne, a3 as he, e as oe, r as ce, f as X, a6 as de, R as ue, S as ge, q as fe, b as Ie, z as me, d as Ne, a7 as xe, v as be, a8 as Fe, a1 as _e, a9 as Ae, i as ye, G as Ce, L as Le, u as Se, c as K, p as ke, B as we, a as Oe, t as Ge } from "./index-Sq6_Z5Ol.js";
|
|
2
|
+
import { D as ve } from "./DataTable-g-vVSX5e.js";
|
|
3
|
+
import { _ as ze } from "./Title-BrlBOQMX.js";
|
|
4
|
+
import { u as Me, _ as pe } from "./Tooltip-2BVEpShN.js";
|
|
5
|
+
import { U as Te } from "./usePrinter-KhQnrZzM.js";
|
|
6
|
+
import { _ as Pe } from "./Shape-BQwPhaQ2.js";
|
|
7
|
+
import Ve from "./BaseIcon-CFtrFJk8.js";
|
|
8
|
+
import Re from "./vue-ui-table-sparkline-CI6fVXqD.js";
|
|
9
|
+
import De from "./vue-ui-skeleton-DhEZVP4j.js";
|
|
10
|
+
import { S as He } from "./Slicer-BHKjr5Ta.js";
|
|
11
|
+
import Be from "./vue-ui-accordion-Cs3dJ86t.js";
|
|
12
|
+
import { u as U } from "./useNestedProp-BmjPdxME.js";
|
|
13
|
+
import { _ as We } from "./PackageVersion-koLOUagZ.js";
|
|
14
|
+
import { P as Ee } from "./PenAndPaper-NARoVmb-.js";
|
|
15
15
|
import { resolveComponent as R, createElementBlock as s, openBlock as a, normalizeStyle as w, normalizeClass as B, createBlock as H, createCommentVNode as c, createVNode as Y, createSlots as Ye, withCtx as P, renderSlot as S, normalizeProps as W, guardReactiveProps as E, createElementVNode as g, createTextVNode as Z, Fragment as u, renderList as m, toDisplayString as k, mergeProps as J, withDirectives as qe, vModelCheckbox as Xe } from "vue";
|
|
16
16
|
import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Ze = K(), Je = {
|
|
@@ -167,7 +167,7 @@ const Ze = K(), Je = {
|
|
|
167
167
|
if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
|
|
168
168
|
const r = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), l = Math.max(...r.map((t) => t.series.length)), o = [];
|
|
169
169
|
for (let t = 0; t < l; t += 1)
|
|
170
|
-
o.push(r.map((e) => e.series[t] || 0).reduce((e,
|
|
170
|
+
o.push(r.map((e) => e.series[t] || 0).reduce((e, _) => (e || 0) + (_ || 0), 0));
|
|
171
171
|
const d = Math.min(...o);
|
|
172
172
|
return o.map((t) => t + (d < 0 ? Math.abs(d) : 0));
|
|
173
173
|
},
|
|
@@ -226,9 +226,9 @@ const Ze = K(), Je = {
|
|
|
226
226
|
yOffset: t.yOffset,
|
|
227
227
|
individualHeight: t.individualHeight,
|
|
228
228
|
x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / d * (e + 1),
|
|
229
|
-
yLabels: t.scaleYLabels || t.scale.ticks.map((
|
|
230
|
-
y:
|
|
231
|
-
value:
|
|
229
|
+
yLabels: t.scaleYLabels || t.scale.ticks.map((_) => ({
|
|
230
|
+
y: _ >= 0 ? t.zero - t.individualHeight * (_ / t.max) : t.zero + t.individualHeight * Math.abs(_) / t.max,
|
|
231
|
+
value: _
|
|
232
232
|
}))
|
|
233
233
|
}));
|
|
234
234
|
},
|
|
@@ -358,38 +358,38 @@ const Ze = K(), Je = {
|
|
|
358
358
|
}, e = {
|
|
359
359
|
max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
|
|
360
360
|
min: r.scaleMin || Math.min(...r.absoluteValues.filter((N) => ![void 0, null].includes(N))) > 0 ? 0 : Math.min(...r.absoluteValues.filter((N) => ![null, void 0].includes(N)))
|
|
361
|
-
},
|
|
362
|
-
const
|
|
361
|
+
}, _ = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, b = 1.0000001, I = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * b : e.max, _), A = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * b : t.valueMax, _), O = I.min >= 0 ? 0 : Math.abs(I.min), G = 0, p = I.max + O, v = A.max + Math.abs(G), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, T = this.drawingArea.bottom - F - C * O / p, V = this.drawingArea.bottom - F - C * G / v, i = this.absoluteDataset.filter((N) => N.type === "bar").filter((N) => !this.segregatedSeries.includes(N.id)).length, h = r.series.map((N, M) => {
|
|
362
|
+
const x = this.mutableConfig.useIndividualScale ? (r.absoluteValues[M] + O) / p : this.ratioToMax(N), L = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left + this.slot.bar * l + this.slot.bar * M * i - this.barSlot / 2 - l * this.barPeriodGap;
|
|
363
363
|
return {
|
|
364
|
-
yOffset: this.checkNaN(
|
|
364
|
+
yOffset: this.checkNaN(F),
|
|
365
365
|
individualHeight: this.checkNaN(C),
|
|
366
366
|
x: this.checkNaN(L),
|
|
367
|
-
y: this.drawingArea.bottom -
|
|
367
|
+
y: this.drawingArea.bottom - F - C * x,
|
|
368
368
|
value: r.absoluteValues[M],
|
|
369
369
|
zeroPosition: this.checkNaN(T),
|
|
370
370
|
individualMax: this.checkNaN(p),
|
|
371
371
|
comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
|
|
372
372
|
};
|
|
373
|
-
}), n = r.absoluteValues.map((N) =>
|
|
374
|
-
const
|
|
373
|
+
}), n = r.absoluteValues.map((N) => A.min >= 0 ? (N - Math.abs(A.min)) / (A.max - Math.abs(A.min)) : (N + Math.abs(A.min)) / (A.max + Math.abs(A.min))), f = r.series.map((N, M) => {
|
|
374
|
+
const x = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * l + this.slot.bar * M * this.absoluteDataset.filter((L) => L.type === "bar").filter((L) => !this.segregatedSeries.includes(L.id)).length;
|
|
375
375
|
return {
|
|
376
|
-
yOffset: this.checkNaN(
|
|
376
|
+
yOffset: this.checkNaN(F),
|
|
377
377
|
individualHeight: this.checkNaN(C),
|
|
378
|
-
x: this.checkNaN(
|
|
379
|
-
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(
|
|
378
|
+
x: this.checkNaN(x),
|
|
379
|
+
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * n[M] || 0)),
|
|
380
380
|
value: r.absoluteValues[M],
|
|
381
381
|
zeroPosition: this.checkNaN(T),
|
|
382
382
|
individualMax: this.checkNaN(p),
|
|
383
383
|
comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
|
|
384
384
|
};
|
|
385
|
-
}),
|
|
385
|
+
}), y = I.ticks.map((N) => ({
|
|
386
386
|
y: N >= 0 ? T - C * (N / p) : T + C * Math.abs(N) / p,
|
|
387
387
|
value: N,
|
|
388
388
|
prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
389
389
|
suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
390
390
|
datapoint: r
|
|
391
|
-
})), z =
|
|
392
|
-
const M = (N -
|
|
391
|
+
})), z = A.ticks.map((N) => {
|
|
392
|
+
const M = (N - A.min) / (A.max - A.min);
|
|
393
393
|
return {
|
|
394
394
|
y: N >= 0 ? V - C * M : V + C * M,
|
|
395
395
|
value: N,
|
|
@@ -400,11 +400,11 @@ const Ze = K(), Je = {
|
|
|
400
400
|
});
|
|
401
401
|
return {
|
|
402
402
|
...r,
|
|
403
|
-
yOffset:
|
|
403
|
+
yOffset: F,
|
|
404
404
|
autoScaleYLabels: z,
|
|
405
405
|
individualHeight: C,
|
|
406
|
-
scaleYLabels: r.autoScaling ? z :
|
|
407
|
-
individualScale: r.autoScaling ?
|
|
406
|
+
scaleYLabels: r.autoScaling ? z : y,
|
|
407
|
+
individualScale: r.autoScaling ? A : I,
|
|
408
408
|
individualMax: r.autoScaling ? v : p,
|
|
409
409
|
zeroPosition: r.autoScaling ? V : T,
|
|
410
410
|
plots: r.autoScaling ? f : h
|
|
@@ -420,43 +420,43 @@ const Ze = K(), Je = {
|
|
|
420
420
|
lineSet() {
|
|
421
421
|
return this.activeSeriesWithStackRatios.filter((r) => r.type === "line").map((r) => {
|
|
422
422
|
this.checkAutoScaleError(r);
|
|
423
|
-
const l = Math.min(...r.absoluteValues.filter((
|
|
424
|
-
r.absoluteValues.filter((
|
|
423
|
+
const l = Math.min(...r.absoluteValues.filter((x) => ![void 0, null].includes(x))), o = Math.max(...r.absoluteValues.filter((x) => ![void 0, null].includes(x))) || 1;
|
|
424
|
+
r.absoluteValues.filter((x) => ![null, void 0].includes(x)).map((x) => (x - l) / (o - l));
|
|
425
425
|
const d = {
|
|
426
426
|
valueMin: l,
|
|
427
427
|
valueMax: o
|
|
428
428
|
}, t = {
|
|
429
429
|
max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
|
|
430
430
|
min: r.scaleMin || (Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues))
|
|
431
|
-
}, e = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps,
|
|
432
|
-
const Q = this.mutableConfig.useIndividualScale ? (r.absoluteValues[L] + Math.abs(
|
|
431
|
+
}, e = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, b = this.calculateNiceScaleWithExactExtremes(t.min, t.max === t.min ? t.max * _ : t.max, e), I = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), A = b.min >= 0 ? 0 : Math.abs(b.min), O = 0, G = b.max + Math.abs(A), p = I.max + Math.abs(O), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - v - F * A / G, T = this.drawingArea.bottom - v - F * O / p, V = r.series.map((x, L) => {
|
|
432
|
+
const Q = this.mutableConfig.useIndividualScale ? (r.absoluteValues[L] + Math.abs(A)) / G : this.ratioToMax(x);
|
|
433
433
|
return {
|
|
434
434
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
|
|
435
|
-
y: this.checkNaN(this.drawingArea.bottom - v -
|
|
435
|
+
y: this.checkNaN(this.drawingArea.bottom - v - F * Q),
|
|
436
436
|
value: r.absoluteValues[L],
|
|
437
437
|
comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
|
|
438
438
|
};
|
|
439
|
-
}), i = r.absoluteValues.map((
|
|
439
|
+
}), i = r.absoluteValues.map((x) => I.min >= 0 ? (x - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (x + Math.abs(I.min)) / (I.max + Math.abs(I.min))), h = r.series.map((x, L) => [void 0, null].includes(r.absoluteValues[L]) ? {
|
|
440
440
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
|
|
441
441
|
y: C,
|
|
442
442
|
value: r.absoluteValues[L],
|
|
443
443
|
comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
|
|
444
444
|
} : {
|
|
445
445
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
|
|
446
|
-
y: this.checkNaN(this.drawingArea.bottom - v - (
|
|
446
|
+
y: this.checkNaN(this.drawingArea.bottom - v - (F * i[L] || 0)),
|
|
447
447
|
value: r.absoluteValues[L],
|
|
448
448
|
comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
|
|
449
|
-
}), n = this.createSmoothPath(V), f = this.createSmoothPath(h),
|
|
450
|
-
y:
|
|
451
|
-
value:
|
|
449
|
+
}), n = this.createSmoothPath(V.filter((x) => x.value !== null)), f = this.createSmoothPath(h.filter((x) => x.value !== null)), y = this.createStraightPath(V.filter((x) => x.value !== null)), z = this.createStraightPath(h.filter((x) => x.value !== null)), N = b.ticks.map((x) => ({
|
|
450
|
+
y: x >= 0 ? C - F * (x / G) : C + F * Math.abs(x) / G,
|
|
451
|
+
value: x,
|
|
452
452
|
prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
453
453
|
suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
454
454
|
datapoint: r
|
|
455
|
-
})), M = I.ticks.map((
|
|
456
|
-
const L = (
|
|
455
|
+
})), M = I.ticks.map((x) => {
|
|
456
|
+
const L = (x - I.min) / (I.max - I.min);
|
|
457
457
|
return {
|
|
458
|
-
y:
|
|
459
|
-
value:
|
|
458
|
+
y: x >= 0 ? T - F * L : T + F * L,
|
|
459
|
+
value: x,
|
|
460
460
|
prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
461
461
|
suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
462
462
|
datapoint: r
|
|
@@ -466,53 +466,53 @@ const Ze = K(), Je = {
|
|
|
466
466
|
...r,
|
|
467
467
|
yOffset: v,
|
|
468
468
|
autoScaleYLabels: M,
|
|
469
|
-
individualHeight:
|
|
469
|
+
individualHeight: F,
|
|
470
470
|
scaleYLabels: r.autoScaling ? M : N,
|
|
471
|
-
individualScale: r.autoScaling ? I :
|
|
471
|
+
individualScale: r.autoScaling ? I : b,
|
|
472
472
|
individualMax: r.autoScaling ? p : G,
|
|
473
473
|
zeroPosition: r.autoScaling ? T : C,
|
|
474
474
|
curve: r.autoScaling ? f : n,
|
|
475
475
|
plots: r.autoScaling ? h : V,
|
|
476
476
|
area: r.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(r.autoScaling ? h : V, r.autoScaling ? T : C) : this.createArea(V) : "",
|
|
477
|
-
straight: r.autoScaling ? z :
|
|
477
|
+
straight: r.autoScaling ? z : y
|
|
478
478
|
};
|
|
479
479
|
});
|
|
480
480
|
},
|
|
481
481
|
plotSet() {
|
|
482
482
|
return this.activeSeriesWithStackRatios.filter((r) => r.type === "plot").map((r) => {
|
|
483
483
|
this.checkAutoScaleError(r);
|
|
484
|
-
const l = Math.min(...r.absoluteValues.filter((
|
|
485
|
-
r.absoluteValues.filter((
|
|
484
|
+
const l = Math.min(...r.absoluteValues.filter((y) => ![null, void 0].includes(y))), o = Math.max(...r.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1;
|
|
485
|
+
r.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - l) / (o - l));
|
|
486
486
|
const d = {
|
|
487
487
|
valueMin: l,
|
|
488
488
|
valueMax: o
|
|
489
489
|
}, t = {
|
|
490
490
|
max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
|
|
491
491
|
min: r.scaleMin || Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues)
|
|
492
|
-
}, e = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps,
|
|
493
|
-
const N = this.mutableConfig.useIndividualScale ? (r.absoluteValues[z] + Math.abs(
|
|
492
|
+
}, e = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, b = this.calculateNiceScaleWithExactExtremes(t.min, t.max === t.min ? t.max * _ : t.max, e), I = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * _ : d.valueMax, e), A = b.min >= 0 ? 0 : Math.abs(b.min), O = 0, G = b.max + A, p = I.max + Math.abs(O), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - v - F * A / G, T = this.drawingArea.bottom - v - F * O / p, V = r.series.map((y, z) => {
|
|
493
|
+
const N = this.mutableConfig.useIndividualScale ? (r.absoluteValues[z] + Math.abs(A)) / G : this.ratioToMax(y);
|
|
494
494
|
return {
|
|
495
495
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * z),
|
|
496
|
-
y: this.checkNaN(this.drawingArea.bottom - v -
|
|
496
|
+
y: this.checkNaN(this.drawingArea.bottom - v - F * N),
|
|
497
497
|
value: r.absoluteValues[z],
|
|
498
498
|
comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
|
|
499
499
|
};
|
|
500
|
-
}), i = r.absoluteValues.map((
|
|
500
|
+
}), i = r.absoluteValues.map((y) => I.min >= 0 ? (y - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (y + Math.abs(I.min)) / (I.max + Math.abs(I.min))), h = r.series.map((y, z) => ({
|
|
501
501
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * z),
|
|
502
|
-
y: this.checkNaN(this.drawingArea.bottom - v - (
|
|
502
|
+
y: this.checkNaN(this.drawingArea.bottom - v - (F * i[z] || 0)),
|
|
503
503
|
value: r.absoluteValues[z],
|
|
504
504
|
comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
|
|
505
|
-
})), n =
|
|
506
|
-
y:
|
|
507
|
-
value:
|
|
505
|
+
})), n = b.ticks.map((y) => ({
|
|
506
|
+
y: y >= 0 ? C - F * (y / G) : C + F * Math.abs(y) / G,
|
|
507
|
+
value: y,
|
|
508
508
|
prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
509
509
|
suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
510
510
|
datapoint: r
|
|
511
|
-
})), f = I.ticks.map((
|
|
512
|
-
const z = (
|
|
511
|
+
})), f = I.ticks.map((y) => {
|
|
512
|
+
const z = (y - I.min) / (I.max - I.min);
|
|
513
513
|
return {
|
|
514
|
-
y:
|
|
515
|
-
value:
|
|
514
|
+
y: y >= 0 ? T - F * z : T + F * z,
|
|
515
|
+
value: y,
|
|
516
516
|
prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
517
517
|
suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
518
518
|
datapoint: r
|
|
@@ -522,9 +522,9 @@ const Ze = K(), Je = {
|
|
|
522
522
|
...r,
|
|
523
523
|
yOffset: v,
|
|
524
524
|
autoScaleYLabels: f,
|
|
525
|
-
individualHeight:
|
|
525
|
+
individualHeight: F,
|
|
526
526
|
scaleYLabels: r.autoScaling ? f : n,
|
|
527
|
-
individualScale: r.autoScaling ? I :
|
|
527
|
+
individualScale: r.autoScaling ? I : b,
|
|
528
528
|
individualMax: r.autoScaling ? p : G,
|
|
529
529
|
zeroPosition: r.autoScaling ? T : C,
|
|
530
530
|
plots: r.autoScaling ? h : V
|
|
@@ -603,22 +603,22 @@ const Ze = K(), Je = {
|
|
|
603
603
|
r && (l = l.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
|
|
604
604
|
let o = [];
|
|
605
605
|
for (let e = 0; e < this.maxSeries; e += 1) {
|
|
606
|
-
const
|
|
606
|
+
const _ = this.relativeDataset.map((b) => b.absoluteValues[e] ?? 0).reduce((b, I) => b + I, 0);
|
|
607
607
|
o.push(
|
|
608
608
|
[
|
|
609
609
|
this.timeLabels[e].text ?? "-"
|
|
610
610
|
].concat(this.relativeDataset.map(
|
|
611
|
-
(
|
|
612
|
-
|
|
613
|
-
|
|
611
|
+
(b) => this.applyDataLabel(
|
|
612
|
+
b.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : b.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
|
|
613
|
+
b.absoluteValues[e] ?? 0,
|
|
614
614
|
this.dataLabel({
|
|
615
|
-
p:
|
|
616
|
-
v:
|
|
617
|
-
s:
|
|
615
|
+
p: b.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
616
|
+
v: b.absoluteValues[e] ?? 0,
|
|
617
|
+
s: b.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
618
618
|
r: this.FINAL_CONFIG.table.rounding
|
|
619
619
|
})
|
|
620
620
|
)
|
|
621
|
-
)).concat(r ? (
|
|
621
|
+
)).concat(r ? (_ ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
|
|
622
622
|
);
|
|
623
623
|
}
|
|
624
624
|
const d = {
|
|
@@ -681,13 +681,13 @@ const Ze = K(), Je = {
|
|
|
681
681
|
config: this.FINAL_CONFIG
|
|
682
682
|
}) : (o && o.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o.text}</div>`), this.selectedSeries.forEach((t) => {
|
|
683
683
|
if (this.isSafeValue(t.value)) {
|
|
684
|
-
let e = "",
|
|
684
|
+
let e = "", _ = "";
|
|
685
685
|
switch (this.icons[t.type]) {
|
|
686
686
|
case "bar":
|
|
687
687
|
e = `<svg viewBox="0 0 40 40" height="14" width="14">${this.$slots.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${t.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
|
|
688
688
|
break;
|
|
689
689
|
case "line":
|
|
690
|
-
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ?
|
|
690
|
+
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? _ = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? _ = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (_ = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${_}</svg>`;
|
|
691
691
|
break;
|
|
692
692
|
case "plot":
|
|
693
693
|
if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
|
|
@@ -870,17 +870,17 @@ const Ze = K(), Je = {
|
|
|
870
870
|
const l = this.$refs.chart.parentNode, { height: o, width: d } = l.getBoundingClientRect();
|
|
871
871
|
let t = null, e = 0;
|
|
872
872
|
this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
|
|
873
|
-
let
|
|
874
|
-
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (
|
|
875
|
-
let I = null,
|
|
876
|
-
this.FINAL_CONFIG.chart.legend.show && (I = this.$refs.chartLegend,
|
|
873
|
+
let _ = null, b = 0;
|
|
874
|
+
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (_ = this.$refs.chartSlicer.$el, b = _.getBoundingClientRect().height);
|
|
875
|
+
let I = null, A = 0;
|
|
876
|
+
this.FINAL_CONFIG.chart.legend.show && (I = this.$refs.chartLegend, A = I.getBoundingClientRect().height);
|
|
877
877
|
let O = 0;
|
|
878
878
|
this.$refs.source && (O = this.$refs.source.getBoundingClientRect().height);
|
|
879
879
|
let G = 0;
|
|
880
|
-
this.$refs.noTitle && (G = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e -
|
|
881
|
-
for (const
|
|
882
|
-
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (
|
|
883
|
-
this.height =
|
|
880
|
+
this.$refs.noTitle && (G = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - A - b - O - G, this.width = d, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((v) => {
|
|
881
|
+
for (const F of v)
|
|
882
|
+
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (b = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (A = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (O = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
|
|
883
|
+
this.height = F.contentBoxSize[0].blockSize - e - A - b - O - 24, this.width = F.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
|
|
884
884
|
});
|
|
885
885
|
}).observe(l);
|
|
886
886
|
} else
|
|
@@ -1134,7 +1134,7 @@ const Ze = K(), Je = {
|
|
|
1134
1134
|
"data-html2canvas-ignore": ""
|
|
1135
1135
|
}, ei = ["innerHTML"];
|
|
1136
1136
|
function ti(r, l, o, d, t, e) {
|
|
1137
|
-
const
|
|
1137
|
+
const _ = R("PenAndPaper"), b = R("Title"), I = R("UserOptions"), A = R("PackageVersion"), O = R("Shape"), G = R("Skeleton"), p = R("Slicer"), v = R("Tooltip"), F = R("BaseIcon"), C = R("TableSparkline"), T = R("DataTable"), V = R("Accordion");
|
|
1138
1138
|
return a(), s("div", {
|
|
1139
1139
|
id: `vue-ui-xy_${t.uniqueId}`,
|
|
1140
1140
|
class: B(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -1143,7 +1143,7 @@ function ti(r, l, o, d, t, e) {
|
|
|
1143
1143
|
onMouseenter: l[7] || (l[7] = () => e.setUserOptionsVisibility(!0)),
|
|
1144
1144
|
onMouseleave: l[8] || (l[8] = () => e.setUserOptionsVisibility(!1))
|
|
1145
1145
|
}, [
|
|
1146
|
-
e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), H(
|
|
1146
|
+
e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), H(_, {
|
|
1147
1147
|
key: 0,
|
|
1148
1148
|
parent: r.$refs.chart,
|
|
1149
1149
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1158,7 +1158,7 @@ function ti(r, l, o, d, t, e) {
|
|
|
1158
1158
|
class: "vue-ui-xy-title",
|
|
1159
1159
|
style: w(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1160
1160
|
}, [
|
|
1161
|
-
(a(), H(
|
|
1161
|
+
(a(), H(b, {
|
|
1162
1162
|
key: `title_${t.titleStep}`,
|
|
1163
1163
|
config: {
|
|
1164
1164
|
title: {
|
|
@@ -1281,7 +1281,7 @@ function ti(r, l, o, d, t, e) {
|
|
|
1281
1281
|
viewBox: t.viewBox,
|
|
1282
1282
|
style: w(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1283
1283
|
}, [
|
|
1284
|
-
Y(
|
|
1284
|
+
Y(A),
|
|
1285
1285
|
r.$slots["chart-background"] ? (a(), s("foreignObject", {
|
|
1286
1286
|
key: 0,
|
|
1287
1287
|
x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
|
|
@@ -2430,7 +2430,7 @@ function ti(r, l, o, d, t, e) {
|
|
|
2430
2430
|
onClick: l[5] || (l[5] = (i) => t.showSparklineTable = !t.showSparklineTable),
|
|
2431
2431
|
style: { cursor: "pointer" }
|
|
2432
2432
|
}, [
|
|
2433
|
-
Y(
|
|
2433
|
+
Y(F, {
|
|
2434
2434
|
name: "chartLine",
|
|
2435
2435
|
size: 20,
|
|
2436
2436
|
stroke: e.FINAL_CONFIG.chart.color
|
|
@@ -2469,7 +2469,7 @@ function ti(r, l, o, d, t, e) {
|
|
|
2469
2469
|
}, 8, ["config"])) : c("", !0)
|
|
2470
2470
|
], 46, Ke);
|
|
2471
2471
|
}
|
|
2472
|
-
const xi = /* @__PURE__ */ Ue(Je, [["render", ti], ["__scopeId", "data-v-
|
|
2472
|
+
const xi = /* @__PURE__ */ Ue(Je, [["render", ti], ["__scopeId", "data-v-25439b06"]]);
|
|
2473
2473
|
export {
|
|
2474
2474
|
xi as default
|
|
2475
2475
|
};
|