vue-data-ui 2.4.3 → 2.4.5
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 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.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-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { L as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { u as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
17
|
-
key:
|
|
1
|
+
import { computed as f, ref as c, watch as je, onMounted as Ue, onBeforeUnmount as Ve, openBlock as u, createElementBlock as r, normalizeClass as U, normalizeStyle as T, createBlock as z, createCommentVNode as m, unref as M, createSlots as Ge, withCtx as x, renderSlot as b, normalizeProps as W, guardReactiveProps as E, createVNode as $e, Fragment as C, renderList as I, createElementVNode as P, toDisplayString as L, createTextVNode as He } from "vue";
|
|
2
|
+
import { u as Xe, c as Z, t as Ye, a as qe, p as V, o as Qe, e as Ae, g as Je, b as Ke, d as Ze, C as et, Q as tt, R as at, S as lt, X as ot, x as _e, i as Te, f as ze, y as st, q as nt, r as ut, E as G } from "./index-C1GB0E49.js";
|
|
3
|
+
import { t as rt, u as it } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as ct } from "./Title-W7iJGPjg.js";
|
|
5
|
+
import { L as vt } from "./Legend-DrmUpnIK.js";
|
|
6
|
+
import { _ as dt } from "./Tooltip-Pv3Bhir5.js";
|
|
7
|
+
import { _ as ht } from "./Shape-CBrmBvYy.js";
|
|
8
|
+
import { u as pt, U as mt } from "./usePrinter-y5uHyknw.js";
|
|
9
|
+
import { D as yt } from "./DataTable-rs_YrvMR.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-DWyRC3-h.js";
|
|
11
|
+
import gt from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
12
|
+
import { u as Me } from "./useNestedProp-CNAPgW6E.js";
|
|
13
|
+
import { _ as bt } from "./PackageVersion-D9rYHrFZ.js";
|
|
14
|
+
import { P as xt } from "./PenAndPaper-C-KjtyNA.js";
|
|
15
|
+
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events": "none" } }, At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x", "y", "fill", "font-size", "font-weight"], Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x", "y", "fill", "font-size", "font-weight"], Mt = { key: 0 }, It = ["x", "y", "font-size", "fill"], Pt = ["width", "x", "y"], Ft = { style: { width: "100%" } }, Nt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], St = ["d", "stroke", "stroke-width", "onMouseenter"], Lt = {
|
|
17
|
+
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Ot = ["onClick"], Dt = ["innerHTML"], Wt = {
|
|
20
20
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -33,52 +33,52 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
|
-
setup(
|
|
37
|
-
const A =
|
|
36
|
+
setup(Ie, { expose: Pe, emit: ee }) {
|
|
37
|
+
const A = Ie, { vue_ui_parallel_coordinate_plot: Fe } = Xe(), F = f({
|
|
38
38
|
get() {
|
|
39
39
|
return !!A.dataset && A.dataset.length;
|
|
40
40
|
},
|
|
41
41
|
set(t) {
|
|
42
42
|
return t;
|
|
43
43
|
}
|
|
44
|
-
}), te = c(0), N = c(null), ae = c(null), le = c(null), oe = c(null), se = c(
|
|
45
|
-
function
|
|
44
|
+
}), te = c(0), N = c(null), ae = c(null), le = c(null), oe = c(null), se = c(null), ne = c(0), ue = c(0), re = c(0), H = c(Z()), O = c(!1);
|
|
45
|
+
function Ne(t) {
|
|
46
46
|
O.value = t, te.value += 1;
|
|
47
47
|
}
|
|
48
|
-
const e =
|
|
49
|
-
get: () =>
|
|
48
|
+
const e = f({
|
|
49
|
+
get: () => ie(),
|
|
50
50
|
set: (t) => t
|
|
51
51
|
});
|
|
52
|
-
function
|
|
53
|
-
const t =
|
|
52
|
+
function ie() {
|
|
53
|
+
const t = Me({
|
|
54
54
|
userConfig: A.config,
|
|
55
|
-
defaultConfig:
|
|
55
|
+
defaultConfig: Fe
|
|
56
56
|
});
|
|
57
57
|
return t.theme ? {
|
|
58
|
-
...
|
|
59
|
-
userConfig:
|
|
58
|
+
...Me({
|
|
59
|
+
userConfig: Ye.vue_ui_parallel_coordinate_plot[t.theme] || A.config,
|
|
60
60
|
defaultConfig: t
|
|
61
61
|
}),
|
|
62
|
-
customPalette:
|
|
62
|
+
customPalette: qe[t.theme] || V
|
|
63
63
|
} : t;
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
e.value =
|
|
65
|
+
je(() => A.config, (t) => {
|
|
66
|
+
e.value = ie(), ce(), ne.value += 1, re.value += 1, ue.value += 1;
|
|
67
67
|
}, { deep: !0 });
|
|
68
68
|
const B = c(null);
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
Ue(() => {
|
|
70
|
+
ce();
|
|
71
71
|
});
|
|
72
|
-
function
|
|
73
|
-
if (
|
|
72
|
+
function ce() {
|
|
73
|
+
if (Qe(A.dataset) ? Ae({
|
|
74
74
|
componentName: "VueUiParallelCoordinatePlot",
|
|
75
75
|
type: "dataset"
|
|
76
76
|
}) : A.dataset.forEach((t, l) => {
|
|
77
|
-
|
|
77
|
+
Je({
|
|
78
78
|
datasetObject: t,
|
|
79
79
|
requiredAttributes: ["name", "series"]
|
|
80
80
|
}).forEach((a) => {
|
|
81
|
-
F.value = !1,
|
|
81
|
+
F.value = !1, Ae({
|
|
82
82
|
componentName: "VueUiParallelCoordinatePlot",
|
|
83
83
|
type: "datasetSerieAttribute",
|
|
84
84
|
property: a,
|
|
@@ -86,12 +86,13 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
86
86
|
});
|
|
87
87
|
});
|
|
88
88
|
}), e.value.responsive) {
|
|
89
|
-
const t =
|
|
90
|
-
const { width: l, height: a } =
|
|
89
|
+
const t = rt(() => {
|
|
90
|
+
const { width: l, height: a } = it({
|
|
91
91
|
chart: N.value,
|
|
92
92
|
title: e.value.style.chart.title.text ? ae.value : null,
|
|
93
93
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
94
|
-
source: oe.value
|
|
94
|
+
source: oe.value,
|
|
95
|
+
noTitle: se.value
|
|
95
96
|
});
|
|
96
97
|
v.value.width = l, v.value.height = a, v.value.plotSize = G({
|
|
97
98
|
relator: Math.min(l, a),
|
|
@@ -122,13 +123,13 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
122
123
|
B.value = new ResizeObserver(t), B.value.observe(N.value.parentNode);
|
|
123
124
|
}
|
|
124
125
|
}
|
|
125
|
-
|
|
126
|
+
Ve(() => {
|
|
126
127
|
B.value && B.value.disconnect();
|
|
127
128
|
});
|
|
128
|
-
const { isPrinting:
|
|
129
|
+
const { isPrinting: ve, isImaging: de, generatePdf: he, generateImage: pe } = pt({
|
|
129
130
|
elementId: `pcp_${H.value}`,
|
|
130
131
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
131
|
-
}), v = c({
|
|
132
|
+
}), Se = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), v = c({
|
|
132
133
|
height: e.value.style.chart.height,
|
|
133
134
|
width: e.value.style.chart.width,
|
|
134
135
|
plotSize: e.value.style.chart.plots.radius,
|
|
@@ -137,7 +138,7 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
137
138
|
// ratio 42.85
|
|
138
139
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
139
140
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
140
|
-
}), d =
|
|
141
|
+
}), d = f(() => {
|
|
141
142
|
const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n = v.value.height, s = v.value.width;
|
|
142
143
|
return {
|
|
143
144
|
chartHeight: n,
|
|
@@ -149,18 +150,18 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
149
150
|
right: s - l,
|
|
150
151
|
bottom: n - a
|
|
151
152
|
};
|
|
152
|
-
}),
|
|
153
|
+
}), Le = f(() => Ke(e.value.customPalette)), g = c({
|
|
153
154
|
dataLabels: {
|
|
154
155
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
155
156
|
},
|
|
156
157
|
showTable: e.value.table.show,
|
|
157
158
|
showTooltip: e.value.style.chart.tooltip.show
|
|
158
|
-
}),
|
|
159
|
-
function
|
|
160
|
-
|
|
159
|
+
}), w = c([]);
|
|
160
|
+
function me(t) {
|
|
161
|
+
w.value.includes(t) ? w.value = w.value.filter((l) => l !== t) : w.value.push(t);
|
|
161
162
|
}
|
|
162
|
-
const _ =
|
|
163
|
-
const a =
|
|
163
|
+
const _ = f(() => A.dataset.map((t, l) => {
|
|
164
|
+
const a = Ze(t.color) || Le.value[l] || V[l] || V[l % V.length];
|
|
164
165
|
return {
|
|
165
166
|
...t,
|
|
166
167
|
series: t.series.map((o) => ({
|
|
@@ -173,44 +174,44 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
173
174
|
id: Z(),
|
|
174
175
|
shape: t.shape || "circle"
|
|
175
176
|
};
|
|
176
|
-
})),
|
|
177
|
+
})), Oe = f(() => _.value.map((t) => ({
|
|
177
178
|
...t,
|
|
178
|
-
opacity:
|
|
179
|
-
segregate: () =>
|
|
180
|
-
isSegregated:
|
|
181
|
-
}))),
|
|
179
|
+
opacity: w.value.includes(t.id) ? 0.5 : 1,
|
|
180
|
+
segregate: () => me(t.id),
|
|
181
|
+
isSegregated: w.value.includes(t.id)
|
|
182
|
+
}))), De = f(() => ({
|
|
182
183
|
cy: "pcp-div-legend",
|
|
183
184
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
184
185
|
color: e.value.style.chart.legend.color,
|
|
185
186
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
186
187
|
paddingBottom: 12,
|
|
187
188
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
188
|
-
})),
|
|
189
|
-
..._.value.filter((t) =>
|
|
190
|
-
)), k =
|
|
189
|
+
})), ye = f(() => Math.max(
|
|
190
|
+
..._.value.filter((t) => !w.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
|
|
191
|
+
)), k = f(() => d.value.width / ye.value), X = f(() => _.value.filter((t) => !w.value.includes(t.id))), y = f(() => {
|
|
191
192
|
let t = [];
|
|
192
|
-
for (let l = 0; l <
|
|
193
|
-
const a = Math.min(...X.value.flatMap((h) => h.series.map((j) => j.values[l] || 0) || 0)), o = Math.max(...X.value.flatMap((h) => h.series.map((j) => j.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, i =
|
|
194
|
-
const
|
|
193
|
+
for (let l = 0; l < ye.value; l += 1) {
|
|
194
|
+
const a = Math.min(...X.value.flatMap((h) => h.series.map((j) => j.values[l] || 0) || 0)), o = Math.max(...X.value.flatMap((h) => h.series.map((j) => j.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, i = et(n, s, e.value.style.chart.yAxis.scaleTicks), $ = i.ticks.map((h, j) => {
|
|
195
|
+
const Be = i.min < 0 ? h + Math.abs(i.min) : h - Math.abs(i.min), Re = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
195
196
|
return {
|
|
196
|
-
y: d.value.bottom - d.value.height * (
|
|
197
|
+
y: d.value.bottom - d.value.height * (Be / Re),
|
|
197
198
|
x: d.value.left + k.value * l + k.value / 2,
|
|
198
199
|
value: h
|
|
199
200
|
};
|
|
200
201
|
});
|
|
201
202
|
t.push({
|
|
202
203
|
scale: i,
|
|
203
|
-
ticks:
|
|
204
|
+
ticks: $,
|
|
204
205
|
name: e.value.style.chart.yAxis.labels.axisNames[l] || `Y-${l + 1}`
|
|
205
206
|
});
|
|
206
207
|
}
|
|
207
208
|
return t;
|
|
208
|
-
}), Y =
|
|
209
|
+
}), Y = f(() => X.value.map((t, l) => ({
|
|
209
210
|
...t,
|
|
210
211
|
series: t.series.map((a, o) => ({
|
|
211
212
|
...a,
|
|
212
213
|
datapoints: a.values.map((n, s) => {
|
|
213
|
-
const i =
|
|
214
|
+
const i = y.value[s].scale.min < 0 ? (n || 0) + Math.abs(y.value[s].scale.min) : (n || 0) - Math.abs(y.value[s].scale.min), $ = y.value[s].scale.min < 0 ? y.value[s].scale.max + Math.abs(y.value[s].scale.min) : y.value[s].scale.max - Math.abs(y.value[s].scale.min);
|
|
214
215
|
return {
|
|
215
216
|
name: a.name,
|
|
216
217
|
seriesName: t.name,
|
|
@@ -219,7 +220,7 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
219
220
|
seriesIndex: l,
|
|
220
221
|
value: n || 0,
|
|
221
222
|
x: d.value.left + k.value * s + k.value / 2,
|
|
222
|
-
y: d.value.bottom - d.value.height * (i /
|
|
223
|
+
y: d.value.bottom - d.value.height * (i / $),
|
|
223
224
|
comment: a.comments && a.comments[s] || ""
|
|
224
225
|
};
|
|
225
226
|
})
|
|
@@ -227,7 +228,7 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
227
228
|
})).map((t) => ({
|
|
228
229
|
...t,
|
|
229
230
|
series: t.series.map((l) => {
|
|
230
|
-
const a =
|
|
231
|
+
const a = tt(l.datapoints), o = at(l.datapoints), n = lt(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
|
|
231
232
|
return {
|
|
232
233
|
...l,
|
|
233
234
|
smoothPath: o,
|
|
@@ -236,11 +237,11 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
236
237
|
};
|
|
237
238
|
})
|
|
238
239
|
})));
|
|
239
|
-
function
|
|
240
|
-
return
|
|
240
|
+
function fe({ value: t, index: l, datapoint: a }) {
|
|
241
|
+
return Te(
|
|
241
242
|
e.value.style.chart.yAxis.labels.formatters[l] || null,
|
|
242
243
|
t,
|
|
243
|
-
|
|
244
|
+
ze({
|
|
244
245
|
p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
|
|
245
246
|
v: t,
|
|
246
247
|
s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
|
|
@@ -251,30 +252,30 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
251
252
|
}
|
|
252
253
|
const p = c(null), q = c(null), D = c(!1), Q = c("");
|
|
253
254
|
function J({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
|
|
254
|
-
q.value = { serie: a, relativeIndex: o, seriesIndex: n, series: _.value, scales:
|
|
255
|
+
q.value = { serie: a, relativeIndex: o, seriesIndex: n, series: _.value, scales: y.value }, D.value = !0, p.value = a.id;
|
|
255
256
|
let s = "";
|
|
256
257
|
const i = e.value.style.chart.tooltip.customFormat;
|
|
257
|
-
|
|
258
|
+
_e(i) && st(() => i({
|
|
258
259
|
serie: a,
|
|
259
260
|
seriesIndex: a.seriesIndex,
|
|
260
261
|
series: _.value,
|
|
261
262
|
config: e.value,
|
|
262
|
-
scales:
|
|
263
|
+
scales: y.value
|
|
263
264
|
})) ? Q.value = i({
|
|
264
265
|
serie: a,
|
|
265
266
|
seriesIndex: a.seriesIndex,
|
|
266
267
|
series: _.value,
|
|
267
268
|
config: e.value,
|
|
268
|
-
scales:
|
|
269
|
-
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`,
|
|
269
|
+
scales: y.value
|
|
270
|
+
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`, y.value.map(($) => $.name).forEach(($, h) => {
|
|
270
271
|
s += `
|
|
271
272
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
272
|
-
<span>${
|
|
273
|
+
<span>${$}: </span>
|
|
273
274
|
<span>
|
|
274
|
-
${
|
|
275
|
+
${Te(
|
|
275
276
|
e.value.style.chart.yAxis.labels.formatters[h] || null,
|
|
276
277
|
a.datapoints[h].value,
|
|
277
|
-
|
|
278
|
+
ze({
|
|
278
279
|
p: e.value.style.chart.yAxis.labels.prefixes[h] || "",
|
|
279
280
|
v: a.datapoints[h].value,
|
|
280
281
|
s: e.value.style.chart.yAxis.labels.suffixes[h] || "",
|
|
@@ -287,11 +288,11 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
287
288
|
`, e.value.style.chart.comments.showInTooltip && a.datapoints[h].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[h].comment}</div>`);
|
|
288
289
|
}), Q.value = `<div>${s}</div>`);
|
|
289
290
|
}
|
|
290
|
-
function
|
|
291
|
+
function We() {
|
|
291
292
|
return _.value;
|
|
292
293
|
}
|
|
293
|
-
const S =
|
|
294
|
-
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(
|
|
294
|
+
const S = f(() => {
|
|
295
|
+
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(y.value.map((n) => n.name)), l = Y.value.flatMap((n, s) => n.series.map((i) => [n.name].concat([i.name]).concat(i.values))), a = {
|
|
295
296
|
th: {
|
|
296
297
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
297
298
|
color: e.value.table.th.color,
|
|
@@ -303,76 +304,83 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
303
304
|
outline: e.value.table.td.outline
|
|
304
305
|
},
|
|
305
306
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
306
|
-
}, o = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(
|
|
307
|
+
}, o = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(y.value.map((n) => n.name));
|
|
307
308
|
return {
|
|
308
309
|
body: l,
|
|
309
310
|
head: t,
|
|
310
311
|
config: a,
|
|
311
312
|
colNames: o
|
|
312
313
|
};
|
|
313
|
-
}),
|
|
314
|
+
}), ge = f(() => Y.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
|
|
314
315
|
head: S.value.head,
|
|
315
316
|
body: S.value.body
|
|
316
317
|
});
|
|
317
|
-
function
|
|
318
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l =
|
|
319
|
-
|
|
318
|
+
function be() {
|
|
319
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ge.value.head, a = ge.value.body, o = t.concat([l]).concat(a), n = nt(o);
|
|
320
|
+
ut({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
320
321
|
}
|
|
321
|
-
function
|
|
322
|
+
function Ee(t) {
|
|
322
323
|
ee("selectDatapoint", t);
|
|
323
324
|
}
|
|
324
|
-
function
|
|
325
|
+
function xe(t) {
|
|
325
326
|
ee("selectLegend", {
|
|
326
327
|
...t,
|
|
327
328
|
isSegregated: !t.isSegregated,
|
|
328
329
|
opacity: t.isSegregated ? 1 : 0.5
|
|
329
330
|
});
|
|
330
331
|
}
|
|
331
|
-
function xe() {
|
|
332
|
-
f.value.showTable = !f.value.showTable;
|
|
333
|
-
}
|
|
334
332
|
function ke() {
|
|
335
|
-
|
|
333
|
+
g.value.showTable = !g.value.showTable;
|
|
336
334
|
}
|
|
337
335
|
function Ce() {
|
|
338
|
-
|
|
336
|
+
g.value.dataLabels.show = !g.value.dataLabels.show;
|
|
337
|
+
}
|
|
338
|
+
function we() {
|
|
339
|
+
g.value.showTooltip = !g.value.showTooltip;
|
|
339
340
|
}
|
|
340
341
|
const R = c(!1);
|
|
341
342
|
function K() {
|
|
342
343
|
R.value = !R.value;
|
|
343
344
|
}
|
|
344
|
-
return
|
|
345
|
-
getData:
|
|
346
|
-
generateCsv:
|
|
347
|
-
generatePdf:
|
|
348
|
-
generateImage:
|
|
349
|
-
toggleTable:
|
|
350
|
-
toggleLabels:
|
|
351
|
-
toggleTooltip:
|
|
345
|
+
return Pe({
|
|
346
|
+
getData: We,
|
|
347
|
+
generateCsv: be,
|
|
348
|
+
generatePdf: he,
|
|
349
|
+
generateImage: pe,
|
|
350
|
+
toggleTable: ke,
|
|
351
|
+
toggleLabels: Ce,
|
|
352
|
+
toggleTooltip: we,
|
|
352
353
|
toggleAnnotator: K
|
|
353
354
|
}), (t, l) => (u(), r("div", {
|
|
354
355
|
ref_key: "pcpChart",
|
|
355
356
|
ref: N,
|
|
356
357
|
class: U(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
357
|
-
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center
|
|
358
|
+
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
358
359
|
id: `pcp_${H.value}`
|
|
359
360
|
}, [
|
|
360
|
-
e.value.userOptions.buttons.annotator ? (u(), z(
|
|
361
|
+
e.value.userOptions.buttons.annotator ? (u(), z(xt, {
|
|
361
362
|
key: 0,
|
|
362
363
|
parent: N.value,
|
|
363
364
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
364
365
|
color: e.value.style.chart.color,
|
|
365
366
|
active: R.value,
|
|
366
367
|
onClose: K
|
|
367
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
368
|
-
|
|
368
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : m("", !0),
|
|
369
|
+
Se.value ? (u(), r("div", {
|
|
369
370
|
key: 1,
|
|
371
|
+
ref_key: "noTitle",
|
|
372
|
+
ref: se,
|
|
373
|
+
class: "vue-data-ui-no-title-space",
|
|
374
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
375
|
+
}, null, 512)) : m("", !0),
|
|
376
|
+
e.value.style.chart.title.text ? (u(), r("div", {
|
|
377
|
+
key: 2,
|
|
370
378
|
ref_key: "chartTitle",
|
|
371
379
|
ref: ae,
|
|
372
380
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
373
381
|
}, [
|
|
374
|
-
(u(), z(
|
|
375
|
-
key: `title_${
|
|
382
|
+
(u(), z(ct, {
|
|
383
|
+
key: `title_${ne.value}`,
|
|
376
384
|
config: {
|
|
377
385
|
title: {
|
|
378
386
|
cy: "pcp-div-title",
|
|
@@ -384,14 +392,14 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
384
392
|
}
|
|
385
393
|
}
|
|
386
394
|
}, null, 8, ["config"]))
|
|
387
|
-
], 512)) :
|
|
388
|
-
e.value.userOptions.show && F.value ? (u(), z(
|
|
395
|
+
], 512)) : m("", !0),
|
|
396
|
+
e.value.userOptions.show && F.value ? (u(), z(mt, {
|
|
389
397
|
ref: "details",
|
|
390
398
|
key: `user_options_${te.value}`,
|
|
391
399
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
392
400
|
color: e.value.style.chart.color,
|
|
393
|
-
isPrinting: M(
|
|
394
|
-
isImaging: M(
|
|
401
|
+
isPrinting: M(ve),
|
|
402
|
+
isImaging: M(de),
|
|
395
403
|
uid: H.value,
|
|
396
404
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
397
405
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -401,21 +409,21 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
401
409
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
402
410
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
403
411
|
isFullscreen: O.value,
|
|
404
|
-
isTooltip:
|
|
412
|
+
isTooltip: g.value.showTooltip,
|
|
405
413
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
406
414
|
chartElement: N.value,
|
|
407
415
|
position: e.value.userOptions.position,
|
|
408
416
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
409
417
|
isAnnotation: R.value,
|
|
410
|
-
onToggleFullscreen:
|
|
411
|
-
onGeneratePdf: M(
|
|
412
|
-
onGenerateCsv:
|
|
413
|
-
onGenerateImage: M(
|
|
414
|
-
onToggleTable:
|
|
415
|
-
onToggleLabels:
|
|
416
|
-
onToggleTooltip:
|
|
418
|
+
onToggleFullscreen: Ne,
|
|
419
|
+
onGeneratePdf: M(he),
|
|
420
|
+
onGenerateCsv: be,
|
|
421
|
+
onGenerateImage: M(pe),
|
|
422
|
+
onToggleTable: ke,
|
|
423
|
+
onToggleLabels: Ce,
|
|
424
|
+
onToggleTooltip: we,
|
|
417
425
|
onToggleAnnotator: K
|
|
418
|
-
},
|
|
426
|
+
}, Ge({ _: 2 }, [
|
|
419
427
|
t.$slots.optionPdf ? {
|
|
420
428
|
name: "optionPdf",
|
|
421
429
|
fn: x(() => [
|
|
@@ -465,16 +473,16 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
465
473
|
]),
|
|
466
474
|
key: "6"
|
|
467
475
|
} : void 0
|
|
468
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
476
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
|
|
469
477
|
F.value ? (u(), r("svg", {
|
|
470
|
-
key:
|
|
471
|
-
xmlns: M(
|
|
478
|
+
key: 4,
|
|
479
|
+
xmlns: M(ot),
|
|
472
480
|
class: U({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
473
481
|
viewBox: `0 0 ${d.value.chartWidth <= 0 ? 10 : d.value.chartWidth} ${d.value.chartHeight <= 0 ? 10 : d.value.chartHeight}`,
|
|
474
482
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
475
483
|
}, [
|
|
476
|
-
$e(
|
|
477
|
-
(u(!0), r(C, null, I(
|
|
484
|
+
$e(bt),
|
|
485
|
+
(u(!0), r(C, null, I(y.value, (a, o) => (u(), r("g", $t, [
|
|
478
486
|
P("line", {
|
|
479
487
|
x1: d.value.left + k.value * o + k.value / 2,
|
|
480
488
|
x2: d.value.left + k.value * o + k.value / 2,
|
|
@@ -482,7 +490,7 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
482
490
|
y2: d.value.bottom,
|
|
483
491
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
484
492
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
485
|
-
}, null, 8,
|
|
493
|
+
}, null, 8, At),
|
|
486
494
|
P("text", {
|
|
487
495
|
x: d.value.left + k.value * o + k.value / 2,
|
|
488
496
|
y: d.value.top - 24,
|
|
@@ -490,7 +498,7 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
490
498
|
"font-size": v.value.axisNameFontSize,
|
|
491
499
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
492
500
|
"text-anchor": "middle"
|
|
493
|
-
}, L(a.name), 9,
|
|
501
|
+
}, L(a.name), 9, _t),
|
|
494
502
|
e.value.style.chart.yAxis.labels.ticks.show ? (u(), r(C, { key: 0 }, [
|
|
495
503
|
(u(!0), r(C, null, I(a.ticks, (n) => (u(), r("line", {
|
|
496
504
|
x1: n.x,
|
|
@@ -499,8 +507,8 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
499
507
|
y2: n.y,
|
|
500
508
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
501
509
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
502
|
-
style: T(`opacity:${p.value && !
|
|
503
|
-
}, null, 12,
|
|
510
|
+
style: T(`opacity:${p.value && !g.value.showTooltip ? 0.2 : 1}`)
|
|
511
|
+
}, null, 12, Tt))), 256)),
|
|
504
512
|
(u(!0), r(C, null, I(a.ticks, (n) => (u(), r("text", {
|
|
505
513
|
x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
506
514
|
y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + v.value.ticksFontSize / 3,
|
|
@@ -508,14 +516,14 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
508
516
|
"text-anchor": "end",
|
|
509
517
|
"font-size": v.value.ticksFontSize,
|
|
510
518
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
511
|
-
style: T(`opacity:${p.value && !
|
|
512
|
-
}, L(
|
|
513
|
-
], 64)) :
|
|
519
|
+
style: T(`opacity:${p.value && !g.value.showTooltip ? 0.2 : 1}`)
|
|
520
|
+
}, L(fe({ value: n.value, index: o, datapoint: n })), 13, zt))), 256))
|
|
521
|
+
], 64)) : m("", !0)
|
|
514
522
|
]))), 256)),
|
|
515
523
|
(u(!0), r(C, null, I(Y.value, (a) => (u(), r("g", null, [
|
|
516
524
|
(u(!0), r(C, null, I(a.series, (o, n) => (u(), r("g", null, [
|
|
517
|
-
e.value.style.chart.plots.show ? (u(), r("g",
|
|
518
|
-
(u(!0), r(C, null, I(o.datapoints, (s) => (u(), z(
|
|
525
|
+
e.value.style.chart.plots.show ? (u(), r("g", Mt, [
|
|
526
|
+
(u(!0), r(C, null, I(o.datapoints, (s) => (u(), z(ht, {
|
|
519
527
|
plot: { x: s.x, y: s.y },
|
|
520
528
|
color: a.color,
|
|
521
529
|
shape: a.shape,
|
|
@@ -533,9 +541,9 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
533
541
|
p.value = null, D.value = !1;
|
|
534
542
|
}),
|
|
535
543
|
style: T(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
536
|
-
onClick: () =>
|
|
544
|
+
onClick: () => Ee(s)
|
|
537
545
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
|
|
538
|
-
|
|
546
|
+
g.value.showTooltip ? m("", !0) : (u(), r(C, { key: 0 }, [
|
|
539
547
|
p.value && p.value === o.id && o.datapoints.length ? (u(), r("text", {
|
|
540
548
|
key: 0,
|
|
541
549
|
x: o.datapoints[0].x - v.value.ticksFontSize,
|
|
@@ -544,7 +552,7 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
544
552
|
"font-size": v.value.ticksFontSize,
|
|
545
553
|
fill: a.color,
|
|
546
554
|
"font-weight": "bold"
|
|
547
|
-
}, L(o.name), 9,
|
|
555
|
+
}, L(o.name), 9, It)) : m("", !0)
|
|
548
556
|
], 64)),
|
|
549
557
|
e.value.style.chart.comments.show ? (u(!0), r(C, { key: 1 }, I(o.datapoints, (s) => (u(), r("g", null, [
|
|
550
558
|
s.comment ? (u(), r("foreignObject", {
|
|
@@ -555,15 +563,15 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
555
563
|
x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
|
|
556
564
|
y: s.y + e.value.style.chart.comments.offsetY + 6
|
|
557
565
|
}, [
|
|
558
|
-
P("div",
|
|
566
|
+
P("div", Ft, [
|
|
559
567
|
b(t.$slots, "plot-comment", {
|
|
560
568
|
plot: { ...s, color: a.color }
|
|
561
569
|
}, void 0, !0)
|
|
562
570
|
])
|
|
563
|
-
], 8,
|
|
564
|
-
]))), 256)) :
|
|
565
|
-
])) :
|
|
566
|
-
|
|
571
|
+
], 8, Pt)) : m("", !0)
|
|
572
|
+
]))), 256)) : m("", !0)
|
|
573
|
+
])) : m("", !0),
|
|
574
|
+
g.value.dataLabels.show || p.value && p.value === o.id ? (u(!0), r(C, { key: 1 }, I(o.datapoints, (s, i) => (u(), r("text", {
|
|
567
575
|
x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
568
576
|
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + v.value.datapointFontSize / 3,
|
|
569
577
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
@@ -571,18 +579,18 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
571
579
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
572
580
|
class: U({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
|
|
573
581
|
"font-size": v.value.datapointFontSize,
|
|
574
|
-
onMouseenter: (
|
|
582
|
+
onMouseenter: ($) => J({
|
|
575
583
|
shape: a.shape,
|
|
576
584
|
serieName: a.name,
|
|
577
585
|
serie: o,
|
|
578
586
|
relativeIndex: n,
|
|
579
587
|
seriesIndex: o.seriesIndex
|
|
580
588
|
}),
|
|
581
|
-
onMouseleave: l[1] || (l[1] = (
|
|
589
|
+
onMouseleave: l[1] || (l[1] = ($) => {
|
|
582
590
|
p.value = null, D.value = !1;
|
|
583
591
|
}),
|
|
584
592
|
style: T(`opacity:${p.value ? p.value === o.id ? 1 : 0.2 : 1}`)
|
|
585
|
-
}, L(
|
|
593
|
+
}, L(fe({ value: s.value, index: i, datapoint: s })), 45, Nt))), 256)) : m("", !0),
|
|
586
594
|
P("path", {
|
|
587
595
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
588
596
|
stroke: a.color,
|
|
@@ -600,16 +608,16 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
600
608
|
p.value = null, D.value = !1;
|
|
601
609
|
}),
|
|
602
610
|
style: T(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
|
|
603
|
-
}, null, 46,
|
|
611
|
+
}, null, 46, St)
|
|
604
612
|
]))), 256))
|
|
605
613
|
]))), 256)),
|
|
606
614
|
b(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
607
|
-
], 14,
|
|
608
|
-
t.$slots.watermark ? (u(), r("div",
|
|
609
|
-
b(t.$slots, "watermark", W(E({ isPrinting: M(
|
|
610
|
-
])) :
|
|
611
|
-
F.value ?
|
|
612
|
-
key:
|
|
615
|
+
], 14, wt)) : m("", !0),
|
|
616
|
+
t.$slots.watermark ? (u(), r("div", Lt, [
|
|
617
|
+
b(t.$slots, "watermark", W(E({ isPrinting: M(ve) || M(de) })), void 0, !0)
|
|
618
|
+
])) : m("", !0),
|
|
619
|
+
F.value ? m("", !0) : (u(), z(gt, {
|
|
620
|
+
key: 6,
|
|
613
621
|
config: {
|
|
614
622
|
type: "parallelCoordinatePlot",
|
|
615
623
|
style: {
|
|
@@ -621,21 +629,21 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
621
629
|
ref_key: "chartLegend",
|
|
622
630
|
ref: le
|
|
623
631
|
}, [
|
|
624
|
-
e.value.style.chart.legend.show && F.value ? (u(), z(
|
|
625
|
-
key: `legend_${
|
|
626
|
-
legendSet:
|
|
627
|
-
config:
|
|
632
|
+
e.value.style.chart.legend.show && F.value ? (u(), z(vt, {
|
|
633
|
+
key: `legend_${ue.value}`,
|
|
634
|
+
legendSet: Oe.value,
|
|
635
|
+
config: De.value,
|
|
628
636
|
onClickMarker: l[3] || (l[3] = ({ legend: a }) => {
|
|
629
|
-
|
|
637
|
+
me(a.id), xe(a);
|
|
630
638
|
})
|
|
631
639
|
}, {
|
|
632
640
|
item: x(({ legend: a, index: o }) => [
|
|
633
641
|
P("div", {
|
|
634
642
|
onClick: (n) => {
|
|
635
|
-
a.segregate(),
|
|
643
|
+
a.segregate(), xe(a);
|
|
636
644
|
},
|
|
637
|
-
style: T(`opacity:${
|
|
638
|
-
}, L(a.name), 13,
|
|
645
|
+
style: T(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`)
|
|
646
|
+
}, L(a.name), 13, Ot)
|
|
639
647
|
]),
|
|
640
648
|
_: 1
|
|
641
649
|
}, 8, ["legendSet", "config"])) : b(t.$slots, "legend", {
|
|
@@ -644,15 +652,15 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
644
652
|
}, void 0, !0)
|
|
645
653
|
], 512),
|
|
646
654
|
t.$slots.source ? (u(), r("div", {
|
|
647
|
-
key:
|
|
655
|
+
key: 7,
|
|
648
656
|
ref_key: "source",
|
|
649
657
|
ref: oe,
|
|
650
658
|
dir: "auto"
|
|
651
659
|
}, [
|
|
652
660
|
b(t.$slots, "source", {}, void 0, !0)
|
|
653
|
-
], 512)) :
|
|
654
|
-
$e(
|
|
655
|
-
show:
|
|
661
|
+
], 512)) : m("", !0),
|
|
662
|
+
$e(dt, {
|
|
663
|
+
show: g.value.showTooltip && D.value,
|
|
656
664
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
657
665
|
color: e.value.style.chart.tooltip.color,
|
|
658
666
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -664,7 +672,7 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
664
672
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
665
673
|
parent: N.value,
|
|
666
674
|
content: Q.value,
|
|
667
|
-
isCustom: M(
|
|
675
|
+
isCustom: M(_e)(e.value.style.chart.tooltip.customFormat)
|
|
668
676
|
}, {
|
|
669
677
|
"tooltip-before": x(() => [
|
|
670
678
|
b(t.$slots, "tooltip-before", W(E({ ...q.value })), void 0, !0)
|
|
@@ -674,11 +682,11 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
674
682
|
]),
|
|
675
683
|
_: 3
|
|
676
684
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
677
|
-
F.value ? (u(), z(
|
|
678
|
-
key:
|
|
685
|
+
F.value ? (u(), z(ft, {
|
|
686
|
+
key: 8,
|
|
679
687
|
hideDetails: "",
|
|
680
688
|
config: {
|
|
681
|
-
open:
|
|
689
|
+
open: g.value.showTable,
|
|
682
690
|
maxHeight: 1e4,
|
|
683
691
|
body: {
|
|
684
692
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -691,29 +699,29 @@ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events":
|
|
|
691
699
|
}
|
|
692
700
|
}, {
|
|
693
701
|
content: x(() => [
|
|
694
|
-
(u(), z(
|
|
695
|
-
key: `table_${
|
|
702
|
+
(u(), z(yt, {
|
|
703
|
+
key: `table_${re.value}`,
|
|
696
704
|
colNames: S.value.colNames,
|
|
697
705
|
head: S.value.head,
|
|
698
706
|
body: S.value.body,
|
|
699
707
|
config: S.value.config,
|
|
700
708
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
701
|
-
onClose: l[4] || (l[4] = (a) =>
|
|
709
|
+
onClose: l[4] || (l[4] = (a) => g.value.showTable = !1)
|
|
702
710
|
}, {
|
|
703
711
|
th: x(({ th: a }) => [
|
|
704
|
-
P("div", { innerHTML: a }, null, 8,
|
|
712
|
+
P("div", { innerHTML: a }, null, 8, Dt)
|
|
705
713
|
]),
|
|
706
714
|
td: x(({ td: a }) => [
|
|
707
|
-
|
|
715
|
+
He(L(a), 1)
|
|
708
716
|
]),
|
|
709
717
|
_: 1
|
|
710
718
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
711
719
|
]),
|
|
712
720
|
_: 1
|
|
713
|
-
}, 8, ["config"])) :
|
|
714
|
-
], 14,
|
|
721
|
+
}, 8, ["config"])) : m("", !0)
|
|
722
|
+
], 14, Ct));
|
|
715
723
|
}
|
|
716
|
-
},
|
|
724
|
+
}, ea = /* @__PURE__ */ kt(Wt, [["__scopeId", "data-v-35352f9a"]]);
|
|
717
725
|
export {
|
|
718
|
-
|
|
726
|
+
ea as default
|
|
719
727
|
};
|