vue-data-ui 2.4.43 → 2.4.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BB6bdwAh.js → Arrow-DExBMFtJ.js} +1 -1
- package/dist/{Arrow-DGDnIooM.cjs → Arrow-dxEccWUa.cjs} +1 -1
- package/dist/{BaseIcon-Cj2lO-KJ.cjs → BaseIcon-DUokibJ1.cjs} +1 -1
- package/dist/{BaseIcon-Cg6tqk_d.js → BaseIcon-DpLJi6ci.js} +1 -1
- package/dist/{DataTable-YQ5lDRtX.js → DataTable-NGi-FgLM.js} +2 -2
- package/dist/{DataTable-DnaY4y8p.cjs → DataTable-aoauqoko.cjs} +1 -1
- package/dist/{Legend-BPogA3ac.cjs → Legend-DHE2CFkm.cjs} +1 -1
- package/dist/{Legend-3DteuHjj.js → Legend-DRozxv9L.js} +1 -1
- package/dist/{PackageVersion-CQ9hp4g5.cjs → PackageVersion-1JWV5loe.cjs} +1 -1
- package/dist/{PackageVersion-CS8EAteX.js → PackageVersion-CTMY4zeY.js} +1 -1
- package/dist/{PenAndPaper-B1DxKWdn.cjs → PenAndPaper-C6mnwE-L.cjs} +1 -1
- package/dist/{PenAndPaper-D22t_fD9.js → PenAndPaper-DJ_d10S-.js} +3 -3
- package/dist/{Shape-7VxscoGH.js → Shape-C-sY_hlc.js} +1 -1
- package/dist/{Shape-BIoU-M2b.cjs → Shape-rA2az7tR.cjs} +1 -1
- package/dist/{Slicer-C_1pd_Kh.cjs → Slicer-CJsmloDN.cjs} +1 -1
- package/dist/{Slicer-BcXvtaNe.js → Slicer-D4SO7odF.js} +2 -2
- package/dist/{Title-DQcop8gI.js → Title-Coit3NcT.js} +1 -1
- package/dist/{Title-DoxrpVfD.cjs → Title-DkbnpMvf.cjs} +1 -1
- package/dist/{Tooltip-t5_yWU6c.cjs → Tooltip-B8L4NDsX.cjs} +1 -1
- package/dist/{Tooltip-Dx07vASW.js → Tooltip-BBgfUr4a.js} +6 -6
- package/dist/{index-CvhiHStv.js → index-Cm2_6s9o.js} +119 -109
- package/dist/index-DuDeHJyK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +10 -0
- package/dist/types/vue-data-ui.d.ts +10 -0
- package/dist/{useNestedProp-Ccre6tXM.js → useNestedProp-BYPZJNhi.js} +1 -1
- package/dist/{useNestedProp-Dv81zO0o.cjs → useNestedProp-zkJOoemW.cjs} +1 -1
- package/dist/{usePrinter-BVA2_kNp.js → usePrinter-Cx8U1e30.js} +1 -1
- package/dist/{usePrinter-Dq9TRqqU.cjs → usePrinter-ardO_DNo.cjs} +1 -1
- package/dist/{vue-data-ui-DBaa-Zm-.cjs → vue-data-ui-B8Lvjc4V.cjs} +1 -1
- package/dist/{vue-data-ui-CXGGUSE5.js → vue-data-ui-Blpxr4_M.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-B0eWYShT.cjs → vue-ui-3d-bar-CqmOoIA2.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-Bvyn0JAH.js → vue-ui-3d-bar-DvitE1K_.js} +9 -9
- package/dist/{vue-ui-accordion-CzsbGsxC.js → vue-ui-accordion-CxrNF8BI.js} +3 -3
- package/dist/{vue-ui-accordion-2oBs8M8G.cjs → vue-ui-accordion-JS5d0ZPi.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-8dnWY_2V.cjs → vue-ui-age-pyramid-CRP36JDm.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-gy4b8534.js → vue-ui-age-pyramid-Ti2L5N92.js} +10 -10
- package/dist/{vue-ui-annotator-D4AFe-ds.cjs → vue-ui-annotator-DtL3BbOJ.cjs} +1 -1
- package/dist/{vue-ui-annotator-BOxVmY-t.js → vue-ui-annotator-HNK_5tWo.js} +1 -1
- package/dist/{vue-ui-bullet-CYRzrrdq.js → vue-ui-bullet-D3WmBrm4.js} +8 -8
- package/dist/{vue-ui-bullet-DS61aLmi.cjs → vue-ui-bullet-DEUwbTdx.cjs} +1 -1
- package/dist/{vue-ui-candlestick-z1XCCmjs.js → vue-ui-candlestick-B5okP_Jf.js} +11 -11
- package/dist/{vue-ui-candlestick-CnMW4VI7.cjs → vue-ui-candlestick-C5bTH9oE.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Dusdq9C-.js → vue-ui-carousel-table-BgKL0rnF.js} +4 -4
- package/dist/{vue-ui-carousel-table-STfjKv04.cjs → vue-ui-carousel-table-Bt2xx2b5.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CiOs7_Mn.cjs → vue-ui-chestnut-D5XfSvCG.cjs} +1 -1
- package/dist/{vue-ui-chestnut-xOUxz__4.js → vue-ui-chestnut-DDsFxoUr.js} +8 -8
- package/dist/{vue-ui-cursor-BAZcn7gS.js → vue-ui-cursor-B2NOd5i-.js} +2 -2
- package/dist/{vue-ui-cursor-CgulNaZF.cjs → vue-ui-cursor-CSBJgZLu.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B-e6E048.cjs → vue-ui-dashboard-C6MJN9kG.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CM5h0sJK.js → vue-ui-dashboard-u-Gt08KE.js} +2 -2
- package/dist/{vue-ui-digits-DE-VUfnq.cjs → vue-ui-digits-B4fzfTox.cjs} +1 -1
- package/dist/{vue-ui-digits-DFYtiFpE.js → vue-ui-digits-DCXyjW_e.js} +2 -2
- package/dist/{vue-ui-donut-B7WCvZ9X.js → vue-ui-donut-BvASz63R.js} +243 -243
- package/dist/vue-ui-donut-CaJSY2gj.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-tseD-zkG.js → vue-ui-donut-evolution-DcPk33e8.js} +11 -11
- package/dist/{vue-ui-donut-evolution-E8YRIlka.cjs → vue-ui-donut-evolution-DrnLlHPS.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DoajPALb.cjs → vue-ui-dumbbell-8v-xIlsx.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CB-nTGSr.js → vue-ui-dumbbell-D918XYc8.js} +10 -10
- package/dist/{vue-ui-flow-DZo1e2BI.cjs → vue-ui-flow-BBmnTxVE.cjs} +1 -1
- package/dist/{vue-ui-flow-DgM7D7Kz.js → vue-ui-flow-DQ5q2b1Y.js} +9 -9
- package/dist/{vue-ui-funnel-FwQya4Js.cjs → vue-ui-funnel-CmERxe4h.cjs} +1 -1
- package/dist/{vue-ui-funnel-Bae7zmv7.js → vue-ui-funnel-v5WCHaw6.js} +8 -8
- package/dist/{vue-ui-galaxy-BmQPNy0t.cjs → vue-ui-galaxy-8xWYo-xy.cjs} +1 -1
- package/dist/{vue-ui-galaxy-C1hMuu_6.js → vue-ui-galaxy-COSx0c89.js} +11 -11
- package/dist/vue-ui-gauge-CWnGYcFD.js +610 -0
- package/dist/vue-ui-gauge-CYth7Lci.cjs +1 -0
- package/dist/{vue-ui-gizmo-B6t4exHM.js → vue-ui-gizmo-ByuFn-0N.js} +3 -3
- package/dist/{vue-ui-gizmo-F0ACp4Ym.cjs → vue-ui-gizmo-DUO_TpvK.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DeLrr3m8.cjs → vue-ui-heatmap-DiON-CAI.cjs} +1 -1
- package/dist/{vue-ui-heatmap-CNptUmPc.js → vue-ui-heatmap-UoKourVZ.js} +10 -10
- package/dist/{vue-ui-history-plot-iK6KKQTl.cjs → vue-ui-history-plot-CjVySabp.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DnVFjg0P.js → vue-ui-history-plot-CkxvdQeV.js} +11 -11
- package/dist/{vue-ui-kpi-BIb8GWpr.js → vue-ui-kpi-BRwkUBxs.js} +3 -3
- package/dist/{vue-ui-kpi-BOLWEQ7j.cjs → vue-ui-kpi-DYHGPjrp.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-vn8l58Co.js → vue-ui-mini-loader-Cbl4ydLu.js} +2 -2
- package/dist/{vue-ui-mini-loader-dzvCTPe_.cjs → vue-ui-mini-loader-oviO8Ueo.cjs} +1 -1
- package/dist/{vue-ui-molecule-CztdOxnV.cjs → vue-ui-molecule-CX1M509E.cjs} +1 -1
- package/dist/{vue-ui-molecule-BXVfvrYp.js → vue-ui-molecule-DM_mX72q.js} +11 -11
- package/dist/{vue-ui-mood-radar-FyUqJ_WI.js → vue-ui-mood-radar-Bzsba8qo.js} +11 -11
- package/dist/{vue-ui-mood-radar-COiSqYpY.cjs → vue-ui-mood-radar-fuqAjpvg.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-C3mVKHnx.js → vue-ui-nested-donuts-BG84mskb.js} +11 -11
- package/dist/{vue-ui-nested-donuts-CyzGIcRn.cjs → vue-ui-nested-donuts-DfHtC4XP.cjs} +1 -1
- package/dist/{vue-ui-onion-C3uZpdTX.js → vue-ui-onion-DpFx1Oy9.js} +11 -11
- package/dist/{vue-ui-onion-PCbFeTBq.cjs → vue-ui-onion-gt77JCbM.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-_nN05_KZ.js → vue-ui-parallel-coordinate-plot-CQG_anr7.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-BbyG3T_L.cjs → vue-ui-parallel-coordinate-plot-xJTddxji.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CqcqhOTk.js → vue-ui-quadrant-Cddob9c3.js} +12 -12
- package/dist/{vue-ui-quadrant-D48AnGwm.cjs → vue-ui-quadrant-D0YgwhwW.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CUG-kf3L.cjs → vue-ui-quick-chart-CLzNpIFU.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CvhtEA16.js → vue-ui-quick-chart-DTEubspa.js} +9 -9
- package/dist/{vue-ui-radar-o4cmO82a.js → vue-ui-radar--uexaa6p.js} +12 -12
- package/dist/{vue-ui-radar-CKq_4-3B.cjs → vue-ui-radar-BTh9qZ2p.cjs} +1 -1
- package/dist/{vue-ui-rating-CuBodH3C.js → vue-ui-rating-BQuZA9UU.js} +2 -2
- package/dist/{vue-ui-rating-DG1svxO9.cjs → vue-ui-rating-Dyjk2dub.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-C--j7Q0q.js → vue-ui-relation-circle-C8NYrTHA.js} +7 -7
- package/dist/{vue-ui-relation-circle-AXwyCjxM.cjs → vue-ui-relation-circle-FtGlV4Ne.cjs} +1 -1
- package/dist/{vue-ui-rings-fAvuiSZU.cjs → vue-ui-rings-ClJRYeFC.cjs} +1 -1
- package/dist/{vue-ui-rings-DpVKPZCb.js → vue-ui-rings-FEIPR_dS.js} +11 -11
- package/dist/{vue-ui-scatter-D_KsmIg_.js → vue-ui-scatter-CzbgC6ep.js} +12 -12
- package/dist/{vue-ui-scatter-CHY2sxci.cjs → vue-ui-scatter-vYxSs8Gf.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Baj16IKL.cjs → vue-ui-screenshot-CVQCw0B1.cjs} +1 -1
- package/dist/{vue-ui-screenshot-C21qDF26.js → vue-ui-screenshot-IaxgY5qE.js} +1 -1
- package/dist/{vue-ui-skeleton-p82n8dLi.js → vue-ui-skeleton-BUS6A44x.js} +3 -3
- package/dist/{vue-ui-skeleton-BdbO4Bxt.cjs → vue-ui-skeleton-DleyAXe1.cjs} +1 -1
- package/dist/{vue-ui-smiley-DDBn_kg-.js → vue-ui-smiley-5CVa-rQU.js} +2 -2
- package/dist/{vue-ui-smiley-DGdo7pOJ.cjs → vue-ui-smiley-BTTXNPGY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CyiYuOb3.cjs → vue-ui-spark-trend-CZAgof3m.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CM-XDvvj.js → vue-ui-spark-trend-D9ww-Cv5.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bi952P46.cjs → vue-ui-sparkbar-BFsdfuNO.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BRWlzT5P.js → vue-ui-sparkbar-DKeLvkHa.js} +4 -4
- package/dist/{vue-ui-sparkgauge-bhzDdT-A.cjs → vue-ui-sparkgauge-B_bIpe_O.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BPcFMY0I.js → vue-ui-sparkgauge-DLpPuJdG.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DAtbloqL.js → vue-ui-sparkhistogram-BA8QV7Cu.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-BdiA32Fs.cjs → vue-ui-sparkhistogram-RoW45LV8.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BXa0bOgm.cjs → vue-ui-sparkline-BggHSfaz.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CbnPVyxs.js → vue-ui-sparkline-BwOtPPij.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-BdjWWadM.js → vue-ui-sparkstackbar-DCS6RRgN.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BDupdTEm.cjs → vue-ui-sparkstackbar-Uv_p8v9c.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DvIG4zyP.cjs → vue-ui-stackbar-BqKNaGrf.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CUXctt_2.js → vue-ui-stackbar-zcfxba5s.js} +12 -12
- package/dist/{vue-ui-strip-plot-C5r83jmv.cjs → vue-ui-strip-plot-J5SSJPyl.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-lb-y68Hd.js → vue-ui-strip-plot-NykStkP9.js} +11 -11
- package/dist/{vue-ui-table-DgCMMvSx.cjs → vue-ui-table-DWPKVbYC.cjs} +1 -1
- package/dist/{vue-ui-table-DFfsqpZU.js → vue-ui-table-DhRjI7oG.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BiSTfmrM.js → vue-ui-table-heatmap-CT5nGoW-.js} +4 -4
- package/dist/{vue-ui-table-heatmap-jp5xDCCO.cjs → vue-ui-table-heatmap-GvLTOGcB.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-B7sNio6G.js → vue-ui-table-sparkline-Ba_Ucvgb.js} +5 -5
- package/dist/{vue-ui-table-sparkline-8itAuNdX.cjs → vue-ui-table-sparkline-CBFEknMF.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Cvoq-NoB.js → vue-ui-thermometer-C11VSZfb.js} +7 -7
- package/dist/{vue-ui-thermometer-CsY6PZxF.cjs → vue-ui-thermometer-sqA0TGTi.cjs} +1 -1
- package/dist/{vue-ui-timer-BBYru0Q7.cjs → vue-ui-timer-CcBNysNG.cjs} +1 -1
- package/dist/{vue-ui-timer-CKkmEEyh.js → vue-ui-timer-lwjayVn0.js} +5 -5
- package/dist/{vue-ui-tiremarks-CJyRAXGr.cjs → vue-ui-tiremarks-FBnh0R_Z.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CVDQcr2f.js → vue-ui-tiremarks-Jz80HKpg.js} +7 -7
- package/dist/{vue-ui-treemap-BKA7MrUz.cjs → vue-ui-treemap-7YFJ-Pb9.cjs} +1 -1
- package/dist/{vue-ui-treemap-BLDOoQdk.js → vue-ui-treemap-B_qVGTnP.js} +11 -11
- package/dist/{vue-ui-vertical-bar-DgluCuy7.js → vue-ui-vertical-bar-5MwcqOTN.js} +11 -11
- package/dist/{vue-ui-vertical-bar-BNZ-jiBi.cjs → vue-ui-vertical-bar-DGuvFK2h.cjs} +1 -1
- package/dist/{vue-ui-waffle-DOZ8DM_y.js → vue-ui-waffle-B0JbRRUv.js} +11 -11
- package/dist/{vue-ui-waffle-COGvHmU8.cjs → vue-ui-waffle-C0F8eexl.cjs} +1 -1
- package/dist/{vue-ui-wheel-DrhwR-Z-.cjs → vue-ui-wheel-DP9XwVGM.cjs} +1 -1
- package/dist/{vue-ui-wheel-BiHGxIWR.js → vue-ui-wheel-pQBqSI5z.js} +7 -7
- package/dist/{vue-ui-word-cloud-ClzpBDxZ.cjs → vue-ui-word-cloud-CmKH64gk.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CEfsjt8Y.js → vue-ui-word-cloud-D39_9P7v.js} +10 -10
- package/dist/vue-ui-xy-2m8k1EUB.cjs +3 -0
- package/dist/{vue-ui-xy-BU03SArU.js → vue-ui-xy-DRYbR_nu.js} +69 -68
- package/dist/{vue-ui-xy-canvas-lOb9PCZm.cjs → vue-ui-xy-canvas-CywB2tWN.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-D6xrOdYB.js → vue-ui-xy-canvas-DZib_307.js} +11 -11
- package/package.json +1 -1
- package/dist/index-Ce0TFqvS.cjs +0 -9
- package/dist/vue-ui-donut-Dh1MEQSX.cjs +0 -1
- package/dist/vue-ui-gauge-4Gy_NFvq.cjs +0 -1
- package/dist/vue-ui-gauge-CvUdCkBJ.js +0 -557
- package/dist/vue-ui-xy-CO99Ia72.cjs +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as J, a as K, t as Q, z as j, p as $, V as q, O as R, f as U, L as ee, G as te, i as ae, a2 as ie, a0 as re, a3 as le, v as se, a4 as ne, d as he, B as oe, b as ce, q as de, R as ue, a5 as ge, r as fe, e as Ie, y as Ne, C as me, x as xe, a6 as
|
|
2
|
-
import { D as ke } from "./DataTable-
|
|
3
|
-
import { _ as we } from "./Title-
|
|
4
|
-
import { _ as Oe, u as Ge } from "./Tooltip-
|
|
5
|
-
import { U as ve } from "./usePrinter-
|
|
6
|
-
import { _ as pe } from "./Shape-
|
|
7
|
-
import ze from "./BaseIcon-
|
|
8
|
-
import Me from "./vue-ui-table-sparkline-
|
|
9
|
-
import Te from "./vue-ui-skeleton-
|
|
10
|
-
import { S as Pe } from "./Slicer-
|
|
11
|
-
import Ve from "./vue-ui-accordion-
|
|
12
|
-
import { u as Z } from "./useNestedProp-
|
|
13
|
-
import { _ as Re } from "./PackageVersion-
|
|
14
|
-
import { P as De } from "./PenAndPaper-
|
|
1
|
+
import { c as J, a as K, t as Q, z as j, p as $, V as q, O as R, f as U, L as ee, G as te, i as ae, a2 as ie, a0 as re, a3 as le, v as se, a4 as ne, d as he, B as oe, b as ce, q as de, R as ue, a5 as ge, r as fe, e as Ie, y as Ne, C as me, x as xe, a6 as Fe, Y as be, o as _e, s as Ae, w as ye, F as Le, A as Ce, u as Se } from "./index-Cm2_6s9o.js";
|
|
2
|
+
import { D as ke } from "./DataTable-NGi-FgLM.js";
|
|
3
|
+
import { _ as we } from "./Title-Coit3NcT.js";
|
|
4
|
+
import { _ as Oe, u as Ge } from "./Tooltip-BBgfUr4a.js";
|
|
5
|
+
import { U as ve } from "./usePrinter-Cx8U1e30.js";
|
|
6
|
+
import { _ as pe } from "./Shape-C-sY_hlc.js";
|
|
7
|
+
import ze from "./BaseIcon-DpLJi6ci.js";
|
|
8
|
+
import Me from "./vue-ui-table-sparkline-Ba_Ucvgb.js";
|
|
9
|
+
import Te from "./vue-ui-skeleton-BUS6A44x.js";
|
|
10
|
+
import { S as Pe } from "./Slicer-D4SO7odF.js";
|
|
11
|
+
import Ve from "./vue-ui-accordion-CxrNF8BI.js";
|
|
12
|
+
import { u as Z } from "./useNestedProp-BYPZJNhi.js";
|
|
13
|
+
import { _ as Re } from "./PackageVersion-CTMY4zeY.js";
|
|
14
|
+
import { P as De } from "./PenAndPaper-DJ_d10S-.js";
|
|
15
15
|
import { resolveComponent as P, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as L, createBlock as D, createCommentVNode as c, createSlots as Be, withCtx as M, renderSlot as w, normalizeProps as B, guardReactiveProps as E, createVNode as X, createElementVNode as f, Fragment as I, renderList as m, toDisplayString as S, withDirectives as Ee, vModelCheckbox as He, createTextVNode as We } from "vue";
|
|
16
16
|
import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Xe = J(), qe = {
|
|
@@ -340,29 +340,29 @@ const Xe = J(), qe = {
|
|
|
340
340
|
}, x = {
|
|
341
341
|
max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
|
|
342
342
|
min: a.scaleMin || Math.min(...a.absoluteValues.filter((g) => ![void 0, null].includes(g))) > 0 ? 0 : Math.min(...a.absoluteValues.filter((g) => ![null, void 0].includes(g)))
|
|
343
|
-
}, A = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * k : x.max, A),
|
|
344
|
-
const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[
|
|
343
|
+
}, A = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * k : x.max, A), F = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * k : e.valueMax, A), T = N.min >= 0 ? 0 : Math.abs(N.min), v = 0, p = N.max + T, O = F.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, z = this.drawingArea.bottom - _ - C * T / p, i = this.drawingArea.bottom - _ - C * v / O, h = this.absoluteDataset.filter((g) => g.type === "bar").filter((g) => !this.segregatedSeries.includes(g.id)).length, n = a.series.map((g, b) => {
|
|
344
|
+
const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[b] + T) / p : this.ratioToMax(g), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * b : this.drawingArea.left + this.slot.bar * s + this.slot.bar * b * h - this.barSlot / 2 - s * this.barPeriodGap;
|
|
345
345
|
return {
|
|
346
346
|
yOffset: this.checkNaN(_),
|
|
347
347
|
individualHeight: this.checkNaN(C),
|
|
348
348
|
x: this.checkNaN(Y),
|
|
349
349
|
y: this.drawingArea.bottom - _ - C * W,
|
|
350
|
-
value: a.absoluteValues[
|
|
350
|
+
value: a.absoluteValues[b],
|
|
351
351
|
zeroPosition: this.checkNaN(z),
|
|
352
352
|
individualMax: this.checkNaN(p),
|
|
353
|
-
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[
|
|
353
|
+
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
354
354
|
};
|
|
355
|
-
}), d = a.absoluteValues.map((g) =>
|
|
356
|
-
const W = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries *
|
|
355
|
+
}), d = a.absoluteValues.map((g) => F.min >= 0 ? (g - Math.abs(F.min)) / (F.max - Math.abs(F.min)) : (g + Math.abs(F.min)) / (F.max + Math.abs(F.min))), H = a.series.map((g, b) => {
|
|
356
|
+
const W = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * b : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * b * this.absoluteDataset.filter((Y) => Y.type === "bar").filter((Y) => !this.segregatedSeries.includes(Y.id)).length;
|
|
357
357
|
return {
|
|
358
358
|
yOffset: this.checkNaN(_),
|
|
359
359
|
individualHeight: this.checkNaN(C),
|
|
360
360
|
x: this.checkNaN(W),
|
|
361
|
-
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(C) * d[
|
|
362
|
-
value: a.absoluteValues[
|
|
361
|
+
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(C) * d[b] || 0)),
|
|
362
|
+
value: a.absoluteValues[b],
|
|
363
363
|
zeroPosition: this.checkNaN(z),
|
|
364
364
|
individualMax: this.checkNaN(p),
|
|
365
|
-
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[
|
|
365
|
+
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
366
366
|
};
|
|
367
367
|
}), y = N.ticks.map((g) => ({
|
|
368
368
|
y: g >= 0 ? z - C * (g / p) : z + C * Math.abs(g) / p,
|
|
@@ -370,10 +370,10 @@ const Xe = J(), qe = {
|
|
|
370
370
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
371
371
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
372
372
|
datapoint: a
|
|
373
|
-
})), G =
|
|
374
|
-
const
|
|
373
|
+
})), G = F.ticks.map((g) => {
|
|
374
|
+
const b = (g - F.min) / (F.max - F.min);
|
|
375
375
|
return {
|
|
376
|
-
y: g >= 0 ? i - C *
|
|
376
|
+
y: g >= 0 ? i - C * b : i + C * b,
|
|
377
377
|
value: g,
|
|
378
378
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
379
379
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -386,7 +386,7 @@ const Xe = J(), qe = {
|
|
|
386
386
|
autoScaleYLabels: G,
|
|
387
387
|
individualHeight: C,
|
|
388
388
|
scaleYLabels: a.autoScaling ? G : y,
|
|
389
|
-
individualScale: a.autoScaling ?
|
|
389
|
+
individualScale: a.autoScaling ? F : N,
|
|
390
390
|
individualMax: a.autoScaling ? O : p,
|
|
391
391
|
zeroPosition: a.autoScaling ? i : z,
|
|
392
392
|
plots: a.autoScaling ? H : n
|
|
@@ -409,24 +409,24 @@ const Xe = J(), qe = {
|
|
|
409
409
|
}, e = {
|
|
410
410
|
max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
|
|
411
411
|
min: a.scaleMin || (Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues))
|
|
412
|
-
}, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x),
|
|
413
|
-
const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[
|
|
412
|
+
}, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x), F = k.min >= 0 ? 0 : Math.abs(k.min), T = 0, v = k.max + Math.abs(F), p = N.max + Math.abs(T), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - _ * F / v, z = this.drawingArea.bottom - O - _ * T / p, i = a.series.map((g, b) => {
|
|
413
|
+
const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[b] + Math.abs(F)) / v : this.ratioToMax(g);
|
|
414
414
|
return {
|
|
415
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
415
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
|
|
416
416
|
y: this.checkNaN(this.drawingArea.bottom - O - _ * W),
|
|
417
|
-
value: a.absoluteValues[
|
|
418
|
-
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[
|
|
417
|
+
value: a.absoluteValues[b],
|
|
418
|
+
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
419
419
|
};
|
|
420
|
-
}), h = a.absoluteValues.map((g) => N.min >= 0 ? (g - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (g + Math.abs(N.min)) / (N.max + Math.abs(N.min))), n = a.series.map((g,
|
|
421
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
420
|
+
}), h = a.absoluteValues.map((g) => N.min >= 0 ? (g - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (g + Math.abs(N.min)) / (N.max + Math.abs(N.min))), n = a.series.map((g, b) => [void 0, null].includes(a.absoluteValues[b]) ? {
|
|
421
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
|
|
422
422
|
y: C,
|
|
423
|
-
value: a.absoluteValues[
|
|
424
|
-
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[
|
|
423
|
+
value: a.absoluteValues[b],
|
|
424
|
+
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
425
425
|
} : {
|
|
426
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
427
|
-
y: this.checkNaN(this.drawingArea.bottom - O - (_ * h[
|
|
428
|
-
value: a.absoluteValues[
|
|
429
|
-
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[
|
|
426
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
|
|
427
|
+
y: this.checkNaN(this.drawingArea.bottom - O - (_ * h[b] || 0)),
|
|
428
|
+
value: a.absoluteValues[b],
|
|
429
|
+
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
430
430
|
}), d = this.createSmoothPath(i), H = this.createSmoothPath(n), y = k.ticks.map((g) => ({
|
|
431
431
|
y: g >= 0 ? C - _ * (g / v) : C + _ * Math.abs(g) / v,
|
|
432
432
|
value: g,
|
|
@@ -434,9 +434,9 @@ const Xe = J(), qe = {
|
|
|
434
434
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
435
435
|
datapoint: a
|
|
436
436
|
})), G = N.ticks.map((g) => {
|
|
437
|
-
const
|
|
437
|
+
const b = (g - N.min) / (N.max - N.min);
|
|
438
438
|
return {
|
|
439
|
-
y: g >= 0 ? z - _ *
|
|
439
|
+
y: g >= 0 ? z - _ * b : z + _ * b,
|
|
440
440
|
value: g,
|
|
441
441
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
442
442
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -468,8 +468,8 @@ const Xe = J(), qe = {
|
|
|
468
468
|
}, e = {
|
|
469
469
|
max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
|
|
470
470
|
min: a.scaleMin || Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues)
|
|
471
|
-
}, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x),
|
|
472
|
-
const g = this.mutableConfig.useIndividualScale ? (a.absoluteValues[G] + Math.abs(
|
|
471
|
+
}, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x), F = k.min >= 0 ? 0 : Math.abs(k.min), T = 0, v = k.max + F, p = N.max + Math.abs(T), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - _ * F / v, z = this.drawingArea.bottom - O - _ * T / p, i = a.series.map((y, G) => {
|
|
472
|
+
const g = this.mutableConfig.useIndividualScale ? (a.absoluteValues[G] + Math.abs(F)) / v : this.ratioToMax(y);
|
|
473
473
|
return {
|
|
474
474
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
|
|
475
475
|
y: this.checkNaN(this.drawingArea.bottom - O - _ * g),
|
|
@@ -665,7 +665,7 @@ const Xe = J(), qe = {
|
|
|
665
665
|
e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${t.color}" /></svg>`;
|
|
666
666
|
break;
|
|
667
667
|
case "line":
|
|
668
|
-
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="
|
|
668
|
+
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? x = `<path d="${R({ 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" ? x = `<path d="${R({ 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" ? x = `<path d="${R({ 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" ? x = `<path d="${R({ 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" ? x = `<path d="${R({ 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" && (x = `<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}" />${x}</svg>`;
|
|
669
669
|
break;
|
|
670
670
|
case "plot":
|
|
671
671
|
if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
|
|
@@ -762,8 +762,8 @@ const Xe = J(), qe = {
|
|
|
762
762
|
functionReturnsString: Ne,
|
|
763
763
|
hasDeepProperty: me,
|
|
764
764
|
isFunction: xe,
|
|
765
|
-
isSafeValue:
|
|
766
|
-
largestTriangleThreeBucketsArray:
|
|
765
|
+
isSafeValue: Fe,
|
|
766
|
+
largestTriangleThreeBucketsArray: be,
|
|
767
767
|
objectIsEmpty: _e,
|
|
768
768
|
setOpacity: Ae,
|
|
769
769
|
shiftHue: ye,
|
|
@@ -847,12 +847,12 @@ const Xe = J(), qe = {
|
|
|
847
847
|
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, A = x.getBoundingClientRect().height);
|
|
848
848
|
let k = null, N = 0;
|
|
849
849
|
this.FINAL_CONFIG.chart.legend.show && (k = this.$refs.chartLegend, N = k.getBoundingClientRect().height);
|
|
850
|
-
let
|
|
851
|
-
this.$refs.source && (
|
|
850
|
+
let F = 0;
|
|
851
|
+
this.$refs.source && (F = this.$refs.source.getBoundingClientRect().height);
|
|
852
852
|
let T = 0;
|
|
853
|
-
this.$refs.noTitle && (T = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - N - A -
|
|
853
|
+
this.$refs.noTitle && (T = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - N - A - F - T, this.width = u, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((p) => {
|
|
854
854
|
for (const O of p)
|
|
855
|
-
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (A = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (N = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (
|
|
855
|
+
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (A = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (N = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (F = this.$refs.source.getBoundingClientRect().height), this.height = O.contentBoxSize[0].blockSize - e - N - A - F - 24, this.width = O.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
|
|
856
856
|
}).observe(s);
|
|
857
857
|
} else
|
|
858
858
|
this.height = this.FINAL_CONFIG.chart.height, this.width = this.FINAL_CONFIG.chart.width, this.viewBox = `0 0 ${this.width} ${this.height}`, this.fontSizes.dataLabels = this.FINAL_CONFIG.chart.grid.labels.fontSize, this.fontSizes.yAxis = this.FINAL_CONFIG.chart.grid.labels.axis.fontSize, this.fontSizes.xAxis = this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize, this.fontSizes.plotLabels = this.FINAL_CONFIG.chart.labels.fontSize, this.plotRadii.plot = this.FINAL_CONFIG.plot.radius, this.plotRadii.line = this.FINAL_CONFIG.line.radius;
|
|
@@ -1071,7 +1071,7 @@ const Xe = J(), qe = {
|
|
|
1071
1071
|
ref: "noTitle",
|
|
1072
1072
|
class: "vue-data-ui-no-title-space",
|
|
1073
1073
|
style: "height:36px; width: 100%; background:transparent"
|
|
1074
|
-
}, Je = ["viewBox"], Ke = { key: 0 }, Qe = { class: "vue-ui-xy-grid" }, je = ["stroke", "x1", "x2", "y1", "y2"], $e = ["stroke", "x1", "x2", "y1", "y2"], et = { key: 1 }, tt = ["x1", "x2", "y1", "y2", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], rt = { key: 3 }, lt = ["x1", "x2", "y1", "y2", "stroke"], st = ["id"], nt = ["stop-color"], ht = ["stop-color"], ot = ["stop-color"], ct = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], It = ["stop-color"], Nt = ["stop-color"], mt = ["id"], xt = ["stop-color"],
|
|
1074
|
+
}, Je = ["viewBox"], Ke = { key: 0 }, Qe = { class: "vue-ui-xy-grid" }, je = ["stroke", "x1", "x2", "y1", "y2"], $e = ["stroke", "x1", "x2", "y1", "y2"], et = { key: 1 }, tt = ["x1", "x2", "y1", "y2", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], rt = { key: 3 }, lt = ["x1", "x2", "y1", "y2", "stroke"], st = ["id"], nt = ["stop-color"], ht = ["stop-color"], ot = ["stop-color"], ct = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], It = ["stop-color"], Nt = ["stop-color"], mt = ["id"], xt = ["stop-color"], Ft = ["stop-color"], bt = ["id"], _t = ["stop-color"], At = ["stop-color"], yt = ["x", "y", "height", "width", "fill"], Lt = ["x", "y", "width"], Ct = ["x", "y", "height", "width", "fill"], St = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], kt = ["width", "x", "y"], wt = { key: 0 }, Ot = ["id"], Gt = ["fill"], vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], pt = ["x", "y", "font-size", "fill"], zt = ["stroke", "x1", "x2", "y1", "y2"], Mt = { key: 2 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Vt = { key: 4 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["fill", "font-size", "transform"], Bt = ["x1", "x2", "y1", "y2", "stroke"], Et = ["x", "y", "font-size", "fill"], Ht = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Yt = ["width", "x", "y"], Xt = { style: { width: "100%" } }, qt = { key: 0 }, Ut = ["id"], Zt = ["fill"], Jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Kt = ["x", "y", "font-size", "fill"], Qt = ["d", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 1 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ea = { key: 0 }, ta = ["d", "fill"], aa = ["d", "fill"], ia = ["d", "stroke", "stroke-width", "stroke-dasharray"], ra = { key: 2 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], sa = ["width", "x", "y"], na = { style: { width: "100%" } }, ha = { key: 3 }, oa = ["id"], ca = ["fill"], da = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ua = ["x", "y", "font-size", "fill"], ga = { key: 5 }, fa = ["x", "y", "font-size", "fill"], Ia = ["x", "y", "font-size", "fill", "font-weight"], Na = { key: 6 }, ma = ["x", "y", "font-size", "fill"], xa = ["x", "y"], Fa = ["x", "y"], ba = { key: 7 }, _a = ["x", "y", "font-size", "fill"], Aa = ["x", "y"], ya = ["x", "y"], La = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "font-size", "fill", "innerHTML"], wa = ["x", "y", "width", "height", "fill", "onMouseenter"], Oa = ["font-size", "fill", "transform"], Ga = ["x", "y", "font-size", "fill"], va = { key: 9 }, pa = ["text-anchor", "font-size", "fill", "transform", "onClick"], za = ["x", "y", "height", "width", "onMouseenter", "onClick"], Ma = { key: 10 }, Ta = ["x", "y"], Pa = ["cx", "cy", "r", "fill"], Va = {
|
|
1075
1075
|
key: 5,
|
|
1076
1076
|
class: "vue-data-ui-watermark"
|
|
1077
1077
|
}, Ra = ["onClick"], Da = {
|
|
@@ -1079,7 +1079,7 @@ const Xe = J(), qe = {
|
|
|
1079
1079
|
viewBox: "0 0 20 12",
|
|
1080
1080
|
height: "14",
|
|
1081
1081
|
width: "20"
|
|
1082
|
-
}, Ba = ["fill"], Ea = {
|
|
1082
|
+
}, Ba = ["stroke", "fill"], Ea = {
|
|
1083
1083
|
key: 1,
|
|
1084
1084
|
viewBox: "0 0 12 12",
|
|
1085
1085
|
height: "14",
|
|
@@ -1096,7 +1096,7 @@ const Xe = J(), qe = {
|
|
|
1096
1096
|
"data-html2canvas-ignore": ""
|
|
1097
1097
|
}, qa = ["innerHTML"];
|
|
1098
1098
|
function Ua(a, s, o, u, t, e) {
|
|
1099
|
-
const x = P("PenAndPaper"), A = P("Title"), k = P("UserOptions"), N = P("PackageVersion"),
|
|
1099
|
+
const x = P("PenAndPaper"), A = P("Title"), k = P("UserOptions"), N = P("PackageVersion"), F = P("Shape"), T = P("Skeleton"), v = P("Slicer"), p = P("Tooltip"), O = P("BaseIcon"), _ = P("TableSparkline"), C = P("DataTable"), z = P("Accordion");
|
|
1100
1100
|
return r(), l("div", {
|
|
1101
1101
|
id: `vue-ui-xy_${t.uniqueId}`,
|
|
1102
1102
|
class: V(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -1383,7 +1383,7 @@ function Ua(a, s, o, u, t, e) {
|
|
|
1383
1383
|
f("stop", {
|
|
1384
1384
|
offset: "100%",
|
|
1385
1385
|
"stop-color": i.color
|
|
1386
|
-
}, null, 8,
|
|
1386
|
+
}, null, 8, Ft)
|
|
1387
1387
|
], 8, mt),
|
|
1388
1388
|
f("linearGradient", {
|
|
1389
1389
|
id: `areaGradient_${h}_${t.uniqueId}`,
|
|
@@ -1400,7 +1400,7 @@ function Ua(a, s, o, u, t, e) {
|
|
|
1400
1400
|
offset: "100%",
|
|
1401
1401
|
"stop-color": `${e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)}`
|
|
1402
1402
|
}, null, 8, At)
|
|
1403
|
-
], 8,
|
|
1403
|
+
], 8, bt)
|
|
1404
1404
|
]))), 128)),
|
|
1405
1405
|
(r(!0), l(I, null, m(e.highlightAreas, (i) => (r(), l("g", null, [
|
|
1406
1406
|
i.show ? (r(!0), l(I, { key: 0 }, m(i.span, (h, n) => (r(), l("g", null, [
|
|
@@ -1645,7 +1645,7 @@ function Ua(a, s, o, u, t, e) {
|
|
|
1645
1645
|
(r(!0), l(I, null, m(i.plots, (n, d) => (r(), l("g", {
|
|
1646
1646
|
key: `circle_plot_${h}_${d}`
|
|
1647
1647
|
}, [
|
|
1648
|
-
n && e.canShowValue(n.value) ? (r(), D(
|
|
1648
|
+
n && e.canShowValue(n.value) ? (r(), D(F, {
|
|
1649
1649
|
key: 0,
|
|
1650
1650
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
|
|
1651
1651
|
color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${h}_${t.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? i.color : e.FINAL_CONFIG.plot.dot.fill,
|
|
@@ -1785,7 +1785,7 @@ function Ua(a, s, o, u, t, e) {
|
|
|
1785
1785
|
(r(!0), l(I, null, m(i.plots, (n, d) => (r(), l("g", {
|
|
1786
1786
|
key: `circle_line_${h}_${d}`
|
|
1787
1787
|
}, [
|
|
1788
|
-
n && e.canShowValue(n.value) ? (r(), D(
|
|
1788
|
+
n && e.canShowValue(n.value) ? (r(), D(F, {
|
|
1789
1789
|
key: 0,
|
|
1790
1790
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
|
|
1791
1791
|
color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${h}_${t.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? i.color : e.FINAL_CONFIG.line.dot.fill,
|
|
@@ -1945,11 +1945,11 @@ function Ua(a, s, o, u, t, e) {
|
|
|
1945
1945
|
f("div", {
|
|
1946
1946
|
style: L(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1947
1947
|
}, S(i.name), 5)
|
|
1948
|
-
], 8,
|
|
1948
|
+
], 8, Fa)) : c("", !0)
|
|
1949
1949
|
]))), 128))
|
|
1950
1950
|
], 6))), 128))
|
|
1951
1951
|
])) : c("", !0),
|
|
1952
|
-
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), l("g",
|
|
1952
|
+
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), l("g", ba, [
|
|
1953
1953
|
(r(!0), l(I, null, m(e.lineSet, (i, h) => (r(), l("g", {
|
|
1954
1954
|
key: `xLabel_line_${h}`,
|
|
1955
1955
|
class: V(`xLabel_line_${h}`),
|
|
@@ -2261,20 +2261,21 @@ function Ua(a, s, o, u, t, e) {
|
|
|
2261
2261
|
t.icons[i.type] === "line" ? (r(), l("svg", Da, [
|
|
2262
2262
|
f("rect", {
|
|
2263
2263
|
x: "0",
|
|
2264
|
-
y: "7",
|
|
2265
|
-
rx: "
|
|
2266
|
-
stroke:
|
|
2267
|
-
|
|
2264
|
+
y: "7.5",
|
|
2265
|
+
rx: "1.5",
|
|
2266
|
+
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2267
|
+
"stroke-width": 0.5,
|
|
2268
|
+
height: "3",
|
|
2268
2269
|
width: "20",
|
|
2269
2270
|
fill: i.color
|
|
2270
2271
|
}, null, 8, Ba),
|
|
2271
|
-
X(
|
|
2272
|
+
X(F, {
|
|
2272
2273
|
plot: { x: 10, y: 9 },
|
|
2273
2274
|
radius: 4,
|
|
2274
2275
|
color: i.color,
|
|
2275
2276
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
|
|
2276
2277
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2277
|
-
strokeWidth:
|
|
2278
|
+
strokeWidth: 0.5
|
|
2278
2279
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2279
2280
|
])) : (r(), l("svg", Ea, [
|
|
2280
2281
|
t.icons[i.type] === "bar" ? (r(), l("rect", {
|
|
@@ -2286,7 +2287,7 @@ function Ua(a, s, o, u, t, e) {
|
|
|
2286
2287
|
width: "12",
|
|
2287
2288
|
stroke: "none",
|
|
2288
2289
|
fill: i.color
|
|
2289
|
-
}, null, 8, Ha)) : (r(), D(
|
|
2290
|
+
}, null, 8, Ha)) : (r(), D(F, {
|
|
2290
2291
|
key: 1,
|
|
2291
2292
|
plot: { x: 6, y: 6 },
|
|
2292
2293
|
radius: 5,
|
|
@@ -2398,7 +2399,7 @@ function Ua(a, s, o, u, t, e) {
|
|
|
2398
2399
|
}, 8, ["config"])) : c("", !0)
|
|
2399
2400
|
], 14, Ue);
|
|
2400
2401
|
}
|
|
2401
|
-
const ci = /* @__PURE__ */ Ye(qe, [["render", Ua], ["__scopeId", "data-v-
|
|
2402
|
+
const ci = /* @__PURE__ */ Ye(qe, [["render", Ua], ["__scopeId", "data-v-c43c1c59"]]);
|
|
2402
2403
|
export {
|
|
2403
2404
|
ci as default
|
|
2404
2405
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DuDeHJyK.cjs"),c=require("./useResponsive-BJ7DTGpm.cjs"),et=require("./Tooltip-B8L4NDsX.cjs"),tt=require("./Legend-DHE2CFkm.cjs"),lt=require("./Title-DkbnpMvf.cjs"),at=require("./Slicer-CJsmloDN.cjs"),Me=require("./usePrinter-ardO_DNo.cjs"),ot=require("./vue-ui-accordion-JS5d0ZPi.cjs"),rt=require("./DataTable-aoauqoko.cjs"),nt=require("./vue-ui-skeleton-DleyAXe1.cjs"),Re=require("./useNestedProp-zkJOoemW.cjs"),ut=require("./PenAndPaper-C6mnwE-L.cjs"),st=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),it=["id"],ct=["onClick"],vt={key:2,class:"vue-data-ui-watermark"},dt=["innerHTML"],ht={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(oe,{expose:Oe,emit:Ee}){const p=oe,{vue_ui_xy_canvas:Ne}=u.useConfig(),Z=l.ref(u.createUid()),N=l.ref(null),S=l.ref(null),B=l.ref(null),i=l.ref(null),g=l.ref(1),T=l.ref(1),_=l.ref(!1),f=l.ref(null),H=l.ref(""),re=l.ref(null),C=l.ref([]),R=l.ref(1),M=l.ref(!0),z=l.ref(!0),G=l.ref(null),ne=l.ref(0),ue=l.ref(0),V=l.ref(!1),se=l.ref(null),ie=l.ref(null),ce=l.ref(null),ve=l.ref(null),j=l.ref(0),J=l.ref(0),K=l.ref(0),Q=l.computed(()=>!!p.dataset&&p.dataset.length),t=l.computed({get:()=>de(),set:e=>e});function de(){const e=Re.useNestedProp({userConfig:p.config,defaultConfig:Ne});let o={};return e.theme?o={...Re.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||p.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:o=e,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.min")?o.style.chart.scale.min=p.config.style.chart.scale.min:o.style.chart.scale.min=null,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.max")?o.style.chart.scale.max=p.config.style.chart.scale.max:o.style.chart.scale.max=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.startIndex")?o.style.chart.zoom.startIndex=p.config.style.chart.zoom.startIndex:o.style.chart.zoom.startIndex=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.endIndex")?o.style.chart.zoom.endIndex=p.config.style.chart.zoom.endIndex:o.style.chart.zoom.endIndex=null,o}l.watch(()=>p.config,e=>{t.value=de(),te(),j.value+=1,J.value+=1,K.value+=1},{deep:!0}),l.watch(()=>p.dataset,()=>{te(),j.value+=1,J.value+=1,K.value+=1},{deep:!0});const he=l.ref(t.value.style.chart.aspectRatio),{isPrinting:fe,isImaging:ye,generatePdf:ge,generateImage:pe}=Me.usePrinter({elementId:`xy_canvas_${Z.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),s=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function Be(e){V.value=e,ue.value+=1}const me=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),w=l.computed(()=>O.value?Math.max(...O.value.filter((e,o)=>!C.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=l.computed(()=>{const e=g.value-g.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:g.value,canvasHeight:T.value,left:g.value*t.value.style.chart.paddingProportions.left,top:T.value*t.value.style.chart.paddingProportions.top,right:g.value-g.value*t.value.style.chart.paddingProportions.right,bottom:T.value-T.value*t.value.style.chart.paddingProportions.bottom,width:e,height:T.value-T.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function be(e,o){return e/o}function Fe({hasAutoScale:e,series:o,min:r,max:d,scale:h,yOffset:m,individualHeight:v,stackIndex:b=null}){return o.map((L,ae)=>{const $=h.min<0?Math.abs(h.min):0,I=be(L+$,$+h.max);let P,F;e&&(P=Math.abs(h.min),F=be(L+P,h.max+P));let D=0;return b===null?D=a.value.bottom-a.value.height*(e?F:I):D=a.value.bottom-m-v*(e?F:I),{x:a.value.left+a.value.slot*ae+a.value.slot/2,y:D,value:L}})}const x=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...O.value.filter((v,b)=>!C.value.includes(v.absoluteIndex)).flatMap(v=>v.series.slice(n.value.start,n.value.end))),o=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...O.value.filter((v,b)=>!C.value.includes(v.absoluteIndex)).flatMap(v=>v.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,o===e?e+1<0?0:e+1:o<0?0:o,t.value.style.chart.scale.ticks),d=r.min<0?Math.abs(r.min):0,h=a.value.bottom-a.value.height*(d/(r.max+d)),m=r.ticks.map(v=>({y:a.value.bottom-a.value.height*((v+d)/(r.max+d)),x:a.value.left-8,value:v}));return{absoluteMin:d,max:o,min:e,scale:r,yLabels:m,zero:h}}),De=l.computed(()=>y.value.map(e=>`
|
|
2
2
|
<div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
|
|
3
3
|
<svg viewBox="0 0 10 10" height="12" width="12">
|
|
4
4
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ref as i, computed as x, watch as _, nextTick as ce, onMounted as za, onBeforeUnmount as Sa, openBlock as z, createElementBlock as J, normalizeStyle as K, normalizeClass as $a, createBlock as F, createCommentVNode as A, unref as D, createSlots as Ia, withCtx as b, renderSlot as L, normalizeProps as B, guardReactiveProps as U, createElementVNode as Q, createVNode as Ta, toDisplayString as Ke, createTextVNode as Ma } from "vue";
|
|
2
|
-
import { u as Pa, c as Ra, t as Oa, a as Fa, p as H, C as de, b as Ea, D as Ce, i as ee, f as ae, Y as Na, J as _a, d as Qe, a2 as Aa, o as Da, e as Ha, x as ea, y as Wa, q as Xa, r as Ya, s as le, l as Ba } from "./index-
|
|
2
|
+
import { u as Pa, c as Ra, t as Oa, a as Fa, p as H, C as de, b as Ea, D as Ce, i as ee, f as ae, Y as Na, J as _a, d as Qe, a2 as Aa, o as Da, e as Ha, x as ea, y as Wa, q as Xa, r as Ya, s as le, l as Ba } from "./index-Cm2_6s9o.js";
|
|
3
3
|
import { d as Ua, c as Za, a as aa, t as Ga, l as k, r as we, b as E, p as la, u as Va } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as ja } from "./Tooltip-
|
|
5
|
-
import { L as qa } from "./Legend-
|
|
6
|
-
import { _ as Ja } from "./Title-
|
|
7
|
-
import { S as Ka } from "./Slicer-
|
|
8
|
-
import { u as Qa, U as el } from "./usePrinter-
|
|
9
|
-
import al from "./vue-ui-accordion-
|
|
10
|
-
import { D as ll } from "./DataTable-
|
|
11
|
-
import tl from "./vue-ui-skeleton-
|
|
12
|
-
import { u as ta } from "./useNestedProp-
|
|
13
|
-
import { P as ol } from "./PenAndPaper-
|
|
4
|
+
import { _ as ja } from "./Tooltip-BBgfUr4a.js";
|
|
5
|
+
import { L as qa } from "./Legend-DRozxv9L.js";
|
|
6
|
+
import { _ as Ja } from "./Title-Coit3NcT.js";
|
|
7
|
+
import { S as Ka } from "./Slicer-D4SO7odF.js";
|
|
8
|
+
import { u as Qa, U as el } from "./usePrinter-Cx8U1e30.js";
|
|
9
|
+
import al from "./vue-ui-accordion-CxrNF8BI.js";
|
|
10
|
+
import { D as ll } from "./DataTable-NGi-FgLM.js";
|
|
11
|
+
import tl from "./vue-ui-skeleton-BUS6A44x.js";
|
|
12
|
+
import { u as ta } from "./useNestedProp-BYPZJNhi.js";
|
|
13
|
+
import { P as ol } from "./PenAndPaper-DJ_d10S-.js";
|
|
14
14
|
import { _ as rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const ul = ["id"], sl = ["onClick"], nl = {
|
|
16
16
|
key: 2,
|
package/package.json
CHANGED