vue-data-ui 2.4.14 → 2.4.15
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-B0eMJ0vD.cjs → Arrow-BCKnYufb.cjs} +1 -1
- package/dist/{Arrow-CcRzwcZw.js → Arrow-ChrPMCIE.js} +1 -1
- package/dist/{BaseIcon-f-0QUq0v.js → BaseIcon-CSptCx3b.js} +1 -1
- package/dist/{BaseIcon-BaBTKzCc.cjs → BaseIcon-rMg8xfhX.cjs} +1 -1
- package/dist/{DataTable-CHfZ1IEy.cjs → DataTable-CRmILZBX.cjs} +1 -1
- package/dist/{DataTable-aYqFUYEK.js → DataTable-Cccy3rvu.js} +2 -2
- package/dist/{Legend-B_Euf5BX.js → Legend-CfcLlhaP.js} +1 -1
- package/dist/{Legend-BmTkHhIn.cjs → Legend-Dx7YB-Bt.cjs} +1 -1
- package/dist/{PackageVersion-D6vG-BXj.cjs → PackageVersion-B34JcKhO.cjs} +1 -1
- package/dist/{PackageVersion-DFaMeCN6.js → PackageVersion-CiFF5PGi.js} +1 -1
- package/dist/{PenAndPaper-DxGFlSh0.js → PenAndPaper-BpIqWG4P.js} +2 -2
- package/dist/{PenAndPaper-i3jYHWwR.cjs → PenAndPaper-DrCIS0Eh.cjs} +1 -1
- package/dist/{Shape-BBk-Sd19.js → Shape-HKyyToSG.js} +1 -1
- package/dist/{Shape-DFFQ_70v.cjs → Shape-JdI6ZCm8.cjs} +1 -1
- package/dist/{Slicer-D8UYq3Jo.js → Slicer-Dgnj8x-K.js} +92 -88
- package/dist/Slicer-t7C4_beF.cjs +1 -0
- package/dist/{Title-JeqRfl2Z.js → Title-BYSs_RNw.js} +1 -1
- package/dist/{Title-4bXfWbx8.cjs → Title-CExB31p9.cjs} +1 -1
- package/dist/{Tooltip-BheHY6dV.cjs → Tooltip-CLsCXPX_.cjs} +1 -1
- package/dist/{Tooltip-DKlw-Q8v.js → Tooltip-CZd_cGTh.js} +1 -1
- package/dist/{index-Dy5GrFF-.js → index-XO811G4S.js} +1 -1
- package/dist/{index-BUVOYVSk.cjs → index-kr_QwGDL.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-nko1Exy-.cjs → useNestedProp-DCTYscDQ.cjs} +1 -1
- package/dist/{useNestedProp-Be6ZIo5i.js → useNestedProp-LP4oR6kx.js} +1 -1
- package/dist/{usePrinter-B_9DGtW7.js → usePrinter-CsX9yzzX.js} +2 -2
- package/dist/{usePrinter-BGq-7Twb.cjs → usePrinter-DnY533x9.cjs} +1 -1
- package/dist/{vue-data-ui-Dis9z9dY.cjs → vue-data-ui-DuqyXh3Z.cjs} +1 -1
- package/dist/{vue-data-ui-Tfs27uUn.js → vue-data-ui-DxuS01kK.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-6TQgQ-xc.cjs → vue-ui-3d-bar-46IqOg67.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-BOeqtR4u.js → vue-ui-3d-bar-BcY_qYRY.js} +9 -9
- package/dist/{vue-ui-accordion-r9LcXEYX.cjs → vue-ui-accordion-Cc1lCYCG.cjs} +1 -1
- package/dist/{vue-ui-accordion-BmJX_0Fc.js → vue-ui-accordion-DvWhOtea.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D8mGzhwL.cjs → vue-ui-age-pyramid-CfCFWXzM.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DyK3oWOz.js → vue-ui-age-pyramid-iHGxmPqt.js} +10 -10
- package/dist/{vue-ui-annotator-xLgkrAm4.cjs → vue-ui-annotator-BUiIefjR.cjs} +1 -1
- package/dist/{vue-ui-annotator-Df4RXblk.js → vue-ui-annotator-CS09PEb4.js} +1 -1
- package/dist/{vue-ui-bullet--e2coNbi.js → vue-ui-bullet-DifOvgtE.js} +8 -8
- package/dist/{vue-ui-bullet-3DwuVRD1.cjs → vue-ui-bullet-EzXv2sWS.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CGwBj_6g.cjs → vue-ui-candlestick-CUGe6R39.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dy3B4hIY.js → vue-ui-candlestick-DByuzyzO.js} +11 -11
- package/dist/{vue-ui-carousel-table-UJGXkosj.js → vue-ui-carousel-table-DDRFUlqH.js} +4 -4
- package/dist/{vue-ui-carousel-table-kSl_zPtP.cjs → vue-ui-carousel-table-DPLphRGv.cjs} +1 -1
- package/dist/{vue-ui-chestnut-Cgge1SHL.js → vue-ui-chestnut-0ZG6Eg8o.js} +8 -8
- package/dist/{vue-ui-chestnut-DPLH4IcL.cjs → vue-ui-chestnut-_pU4PH9Y.cjs} +1 -1
- package/dist/{vue-ui-cursor-BHTLqu0Q.js → vue-ui-cursor-BL-euH7c.js} +2 -2
- package/dist/{vue-ui-cursor-CwgV2VNu.cjs → vue-ui-cursor-Ci3pOLTZ.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Dt4CAeDS.cjs → vue-ui-dashboard-1--C3XNW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CuToI1bg.js → vue-ui-dashboard-ZJ8u97Qf.js} +2 -2
- package/dist/{vue-ui-digits-DpN3MjGn.cjs → vue-ui-digits-C5O9vZxI.cjs} +1 -1
- package/dist/{vue-ui-digits-DNO1xW8o.js → vue-ui-digits-CMskyA7T.js} +2 -2
- package/dist/{vue-ui-donut-DjyG3UJn.cjs → vue-ui-donut-BNiP18Il.cjs} +1 -1
- package/dist/{vue-ui-donut-3FqWxnwU.js → vue-ui-donut-CX41zowC.js} +11 -11
- package/dist/{vue-ui-donut-evolution-9op89n1-.js → vue-ui-donut-evolution-QV1JE3Fo.js} +11 -11
- package/dist/{vue-ui-donut-evolution-BwzFYxmq.cjs → vue-ui-donut-evolution-vqZF9YJJ.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CoU7gUYz.cjs → vue-ui-dumbbell-BY4NAOG1.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CvTxJMMn.js → vue-ui-dumbbell-DxhJJy_r.js} +10 -10
- package/dist/{vue-ui-flow-CEsZ6xBD.cjs → vue-ui-flow-DBBfBgUK.cjs} +1 -1
- package/dist/{vue-ui-flow-DrlNzFnu.js → vue-ui-flow-DjydJgwR.js} +9 -9
- package/dist/{vue-ui-galaxy-BznpNqKq.js → vue-ui-galaxy-CtcRy5Ij.js} +11 -11
- package/dist/{vue-ui-galaxy-D11bLkvz.cjs → vue-ui-galaxy-VSr_DAmu.cjs} +1 -1
- package/dist/{vue-ui-gauge-Bjpv4Zbc.js → vue-ui-gauge-BjmS4qFe.js} +7 -7
- package/dist/{vue-ui-gauge-DE4v6VPS.cjs → vue-ui-gauge-IvNa_DR8.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CwDzD-hB.js → vue-ui-gizmo-BzLy3mWD.js} +3 -3
- package/dist/{vue-ui-gizmo-fuA0CL_d.cjs → vue-ui-gizmo-DgANbqmC.cjs} +1 -1
- package/dist/{vue-ui-heatmap-D-gVcVE2.js → vue-ui-heatmap-Bvej9oTA.js} +10 -10
- package/dist/{vue-ui-heatmap-m2eoABMv.cjs → vue-ui-heatmap-yQSNz-vk.cjs} +1 -1
- package/dist/{vue-ui-kpi-BqwS47tL.cjs → vue-ui-kpi-9eMhWuJa.cjs} +1 -1
- package/dist/{vue-ui-kpi-B5I-d56Y.js → vue-ui-kpi-B08Q3iHK.js} +3 -3
- package/dist/{vue-ui-mini-loader-kIT0EOzC.cjs → vue-ui-mini-loader-BdW1vPkj.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DqgYZ3Bz.js → vue-ui-mini-loader-CA8Jh2xW.js} +2 -2
- package/dist/{vue-ui-molecule-C2XfrRB0.js → vue-ui-molecule-JzIu9Xhu.js} +11 -11
- package/dist/{vue-ui-molecule-0eEs_27v.cjs → vue-ui-molecule-oCNTo9qq.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-ZOTBgqgJ.js → vue-ui-mood-radar-BlUEjpq1.js} +11 -11
- package/dist/{vue-ui-mood-radar-D7nKWrqV.cjs → vue-ui-mood-radar-D4MmvJeX.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BlHdXm6g.cjs → vue-ui-nested-donuts-D1vpqiqh.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CAnsSM44.js → vue-ui-nested-donuts-Di7bDbya.js} +11 -11
- package/dist/{vue-ui-onion-BM--M0jY.js → vue-ui-onion-BuxtifKO.js} +11 -11
- package/dist/{vue-ui-onion-CWfQ992Z.cjs → vue-ui-onion-D73_4ozI.cjs} +1 -1
- package/dist/vue-ui-parallel-coordinate-plot-B5gOiDmN.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DwLQh4tP.js → vue-ui-parallel-coordinate-plot-D984zizH.js} +139 -120
- package/dist/{vue-ui-quadrant-Bux3R-Q7.js → vue-ui-quadrant-1lD2dgpm.js} +12 -12
- package/dist/{vue-ui-quadrant-BjHHETMe.cjs → vue-ui-quadrant-qXlDTKps.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-szGxcS9d.js → vue-ui-quick-chart-A78wO49s.js} +9 -9
- package/dist/{vue-ui-quick-chart-G702BvIJ.cjs → vue-ui-quick-chart-BYL-VfNK.cjs} +1 -1
- package/dist/{vue-ui-radar-CNlzEasE.js → vue-ui-radar-D3KbMPY7.js} +12 -12
- package/dist/{vue-ui-radar-BQ05ebSC.cjs → vue-ui-radar-DXcRNCAa.cjs} +1 -1
- package/dist/{vue-ui-rating-CPEoJems.js → vue-ui-rating-CnkBBFHV.js} +2 -2
- package/dist/{vue-ui-rating-Csfmwywp.cjs → vue-ui-rating-rjjSmIEJ.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-D7NR9tCd.js → vue-ui-relation-circle-CZ_FS4Hd.js} +7 -7
- package/dist/{vue-ui-relation-circle-CFiSQjx9.cjs → vue-ui-relation-circle-DtPwUZGn.cjs} +1 -1
- package/dist/{vue-ui-rings-DsWRI78a.cjs → vue-ui-rings-BMwEdEke.cjs} +1 -1
- package/dist/{vue-ui-rings-o45LQxbP.js → vue-ui-rings-ByRA0qd4.js} +11 -11
- package/dist/{vue-ui-scatter-ByFq8cqv.js → vue-ui-scatter-BXpXY86w.js} +12 -12
- package/dist/{vue-ui-scatter-0KfyPHGN.cjs → vue-ui-scatter-Cpjy_MXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-C36MC7_n.cjs → vue-ui-screenshot-BjEmpeGQ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CBlmxSOB.js → vue-ui-screenshot-CLTmzBUl.js} +1 -1
- package/dist/{vue-ui-skeleton-lqzNF24A.js → vue-ui-skeleton-B-eJiyiK.js} +3 -3
- package/dist/{vue-ui-skeleton-B_yz8Eus.cjs → vue-ui-skeleton-BFwKDNWk.cjs} +1 -1
- package/dist/{vue-ui-smiley-D8zEHTsC.cjs → vue-ui-smiley-B0aRXyCK.cjs} +1 -1
- package/dist/{vue-ui-smiley-axWZn-Gd.js → vue-ui-smiley-DPT05g_d.js} +2 -2
- package/dist/{vue-ui-spark-trend-B64f8Bya.cjs → vue-ui-spark-trend-DFhBUPgA.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BusH1eOa.js → vue-ui-spark-trend-ciVsjAVV.js} +5 -5
- package/dist/{vue-ui-sparkbar-C5nkxRVH.js → vue-ui-sparkbar-7G6NJ6jC.js} +4 -4
- package/dist/{vue-ui-sparkbar-CHBoXEkG.cjs → vue-ui-sparkbar-DXwlMAdA.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Nchun2dD.js → vue-ui-sparkgauge-DtL-EHgS.js} +4 -4
- package/dist/{vue-ui-sparkgauge-8yhMTt_s.cjs → vue-ui-sparkgauge-RLpXQQdL.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Dl6nxv92.cjs → vue-ui-sparkhistogram-C05pVLX4.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-tfNSyoTE.js → vue-ui-sparkhistogram-CBabO6KY.js} +5 -5
- package/dist/{vue-ui-sparkline-DXoZ-AXQ.js → vue-ui-sparkline-CGpCbxYp.js} +4 -4
- package/dist/{vue-ui-sparkline-CLUA9qSQ.cjs → vue-ui-sparkline-Dzx9vneB.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-C-3aj0Qg.js → vue-ui-sparkstackbar-0XJ1y_hw.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-B-ZG07ak.cjs → vue-ui-sparkstackbar-BvvoP0Hr.cjs} +1 -1
- package/dist/{vue-ui-stackbar-IKAkG9EJ.js → vue-ui-stackbar-RxoRAQV1.js} +12 -12
- package/dist/{vue-ui-stackbar-CeyMa7nJ.cjs → vue-ui-stackbar-S4ZxRQNf.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-EeDRRLyD.cjs → vue-ui-strip-plot-6Zxs0p_t.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-f8gQv1R9.js → vue-ui-strip-plot-Dd7unCwX.js} +11 -11
- package/dist/{vue-ui-table-BMjDumNw.cjs → vue-ui-table-CSEZc0DF.cjs} +1 -1
- package/dist/{vue-ui-table-Ci87YIZ1.js → vue-ui-table-DZLcx9jA.js} +1 -1
- package/dist/{vue-ui-table-heatmap-_zvyT-r9.cjs → vue-ui-table-heatmap-BA9KsnPZ.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DBAAR6Yq.js → vue-ui-table-heatmap-DE6RTOjN.js} +4 -4
- package/dist/{vue-ui-table-sparkline-C4_6lbC0.cjs → vue-ui-table-sparkline-BQZylioG.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-ZMfDRnFs.js → vue-ui-table-sparkline-ChmFLAEt.js} +5 -5
- package/dist/{vue-ui-thermometer-CRDENrkH.cjs → vue-ui-thermometer-BgMnwVpw.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CrAi04Vr.js → vue-ui-thermometer-Bj8e-yG-.js} +7 -7
- package/dist/{vue-ui-timer-DgBKV7nS.js → vue-ui-timer-CcUwIcM7.js} +5 -5
- package/dist/{vue-ui-timer-D3PdDbak.cjs → vue-ui-timer-Dql8XcMQ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-Cf89IkXU.cjs → vue-ui-tiremarks-CfNXN9nv.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DJNcDzAu.js → vue-ui-tiremarks-ZWxDYt63.js} +7 -7
- package/dist/{vue-ui-treemap-D_foZr6d.cjs → vue-ui-treemap-BQUkiRrP.cjs} +1 -1
- package/dist/{vue-ui-treemap-wKiju8mu.js → vue-ui-treemap-DJlHYN6o.js} +11 -11
- package/dist/{vue-ui-vertical-bar-DL52aOVH.cjs → vue-ui-vertical-bar-DLFK5GLD.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-BBPnVcf4.js → vue-ui-vertical-bar-DfMOQWhA.js} +11 -11
- package/dist/{vue-ui-waffle-Cl6_0xMB.cjs → vue-ui-waffle-BzqYPHzr.cjs} +1 -1
- package/dist/{vue-ui-waffle-B5RuBnB5.js → vue-ui-waffle-CVmVbugH.js} +11 -11
- package/dist/{vue-ui-wheel-CBTReC9o.cjs → vue-ui-wheel-B7jyz4v1.cjs} +1 -1
- package/dist/{vue-ui-wheel-hrqzLHBL.js → vue-ui-wheel-DPgJtWnl.js} +7 -7
- package/dist/{vue-ui-word-cloud-Beq0Ncwv.js → vue-ui-word-cloud-D_aYLkHs.js} +10 -10
- package/dist/{vue-ui-word-cloud-DN3j2VVh.cjs → vue-ui-word-cloud-YBQ8Tptq.cjs} +1 -1
- package/dist/{vue-ui-xy-87QC07_q.cjs → vue-ui-xy-CnXzhDb7.cjs} +2 -2
- package/dist/{vue-ui-xy-4Cn2wWE-.js → vue-ui-xy-DIvGE5ZZ.js} +16 -16
- package/dist/{vue-ui-xy-canvas-BzTohtt-.cjs → vue-ui-xy-canvas-Dy7oda3-.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DNrAqCNu.js → vue-ui-xy-canvas-Kf-kmYwM.js} +11 -11
- package/package.json +2 -2
- package/dist/Slicer-CPM6S6sp.cjs +0 -1
- package/dist/vue-ui-parallel-coordinate-plot-WM9uQd0M.cjs +0 -8
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as Xe, c as Z, t as Ye, a as qe, p as
|
|
1
|
+
import { computed as g, ref as c, watch as je, onMounted as Ue, onBeforeUnmount as Ve, openBlock as u, createElementBlock as r, normalizeClass as W, normalizeStyle as T, createBlock as M, createCommentVNode as m, unref as z, createSlots as Ge, withCtx as x, renderSlot as b, normalizeProps as E, guardReactiveProps as B, createVNode as $e, Fragment as C, renderList as I, createElementVNode as P, toDisplayString as O, createTextVNode as He } from "vue";
|
|
2
|
+
import { u as Xe, c as Z, t as Ye, a as qe, p as G, 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 Me, y as st, q as nt, r as ut, E as H } from "./index-XO811G4S.js";
|
|
3
3
|
import { t as rt, u as it } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as ct } from "./Title-
|
|
5
|
-
import { L as vt } from "./Legend-
|
|
6
|
-
import { _ as dt } from "./Tooltip-
|
|
7
|
-
import { _ as ht } from "./Shape-
|
|
8
|
-
import { u as pt, U as mt } from "./usePrinter-
|
|
9
|
-
import { D as yt } from "./DataTable-
|
|
10
|
-
import ft from "./vue-ui-accordion-
|
|
11
|
-
import gt from "./vue-ui-skeleton-
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as bt } from "./PackageVersion-
|
|
14
|
-
import { P as xt } from "./PenAndPaper-
|
|
4
|
+
import { _ as ct } from "./Title-BYSs_RNw.js";
|
|
5
|
+
import { L as vt } from "./Legend-CfcLlhaP.js";
|
|
6
|
+
import { _ as dt } from "./Tooltip-CZd_cGTh.js";
|
|
7
|
+
import { _ as ht } from "./Shape-HKyyToSG.js";
|
|
8
|
+
import { u as pt, U as mt } from "./usePrinter-CsX9yzzX.js";
|
|
9
|
+
import { D as yt } from "./DataTable-Cccy3rvu.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-DvWhOtea.js";
|
|
11
|
+
import gt from "./vue-ui-skeleton-B-eJiyiK.js";
|
|
12
|
+
import { u as ze } from "./useNestedProp-LP4oR6kx.js";
|
|
13
|
+
import { _ as bt } from "./PackageVersion-CiFF5PGi.js";
|
|
14
|
+
import { P as xt } from "./PenAndPaper-BpIqWG4P.js";
|
|
15
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"],
|
|
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"], Mt = ["x", "y", "fill", "font-size", "font-weight"], zt = { 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"], Lt = ["d", "stroke", "stroke-width", "onMouseenter"], St = ["d", "onMouseenter"], Ot = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Dt = ["onClick"], Wt = ["innerHTML"], Et = {
|
|
20
20
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,38 +34,38 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
36
|
setup(Ie, { expose: Pe, emit: ee }) {
|
|
37
|
-
const A = Ie, { vue_ui_parallel_coordinate_plot: Fe } = Xe(), F =
|
|
37
|
+
const A = Ie, { vue_ui_parallel_coordinate_plot: Fe } = Xe(), F = g({
|
|
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(null), ne = c(0), ue = c(0), re = c(0),
|
|
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), X = c(Z()), D = c(!1);
|
|
45
45
|
function Ne(t) {
|
|
46
|
-
|
|
46
|
+
D.value = t, te.value += 1;
|
|
47
47
|
}
|
|
48
|
-
const e =
|
|
48
|
+
const e = g({
|
|
49
49
|
get: () => ie(),
|
|
50
50
|
set: (t) => t
|
|
51
51
|
});
|
|
52
52
|
function ie() {
|
|
53
|
-
const t =
|
|
53
|
+
const t = ze({
|
|
54
54
|
userConfig: A.config,
|
|
55
55
|
defaultConfig: Fe
|
|
56
56
|
});
|
|
57
57
|
return t.theme ? {
|
|
58
|
-
...
|
|
58
|
+
...ze({
|
|
59
59
|
userConfig: Ye.vue_ui_parallel_coordinate_plot[t.theme] || A.config,
|
|
60
60
|
defaultConfig: t
|
|
61
61
|
}),
|
|
62
|
-
customPalette: qe[t.theme] ||
|
|
62
|
+
customPalette: qe[t.theme] || G
|
|
63
63
|
} : t;
|
|
64
64
|
}
|
|
65
65
|
je(() => A.config, (t) => {
|
|
66
66
|
e.value = ie(), ce(), ne.value += 1, re.value += 1, ue.value += 1;
|
|
67
67
|
}, { deep: !0 });
|
|
68
|
-
const
|
|
68
|
+
const R = c(null);
|
|
69
69
|
Ue(() => {
|
|
70
70
|
ce();
|
|
71
71
|
});
|
|
@@ -94,25 +94,25 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
94
94
|
source: oe.value,
|
|
95
95
|
noTitle: se.value
|
|
96
96
|
});
|
|
97
|
-
v.value.width = l, v.value.height = a, v.value.plotSize =
|
|
97
|
+
v.value.width = l, v.value.height = a, v.value.plotSize = H({
|
|
98
98
|
relator: Math.min(l, a),
|
|
99
99
|
adjuster: 600,
|
|
100
100
|
source: e.value.style.chart.plots.radius,
|
|
101
101
|
threshold: 2,
|
|
102
102
|
fallback: 2
|
|
103
|
-
}), v.value.ticksFontSize =
|
|
103
|
+
}), v.value.ticksFontSize = H({
|
|
104
104
|
relator: Math.min(l, a),
|
|
105
105
|
adjuster: 600,
|
|
106
106
|
source: e.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
107
107
|
threshold: 10,
|
|
108
108
|
fallback: 10
|
|
109
|
-
}), v.value.datapointFontSize =
|
|
109
|
+
}), v.value.datapointFontSize = H({
|
|
110
110
|
relator: Math.min(l, a),
|
|
111
111
|
adjuster: 600,
|
|
112
112
|
source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
113
113
|
threshold: 10,
|
|
114
114
|
fallback: 10
|
|
115
|
-
}), v.value.axisNameFontSize =
|
|
115
|
+
}), v.value.axisNameFontSize = H({
|
|
116
116
|
relator: Math.min(l, a),
|
|
117
117
|
adjuster: 600,
|
|
118
118
|
source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
|
|
@@ -120,16 +120,16 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
120
120
|
fallback: 12
|
|
121
121
|
});
|
|
122
122
|
});
|
|
123
|
-
|
|
123
|
+
R.value = new ResizeObserver(t), R.value.observe(N.value.parentNode);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
Ve(() => {
|
|
127
|
-
|
|
127
|
+
R.value && R.value.disconnect();
|
|
128
128
|
});
|
|
129
129
|
const { isPrinting: ve, isImaging: de, generatePdf: he, generateImage: pe } = pt({
|
|
130
|
-
elementId: `pcp_${
|
|
130
|
+
elementId: `pcp_${X.value}`,
|
|
131
131
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
132
|
-
}),
|
|
132
|
+
}), Le = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), v = c({
|
|
133
133
|
height: e.value.style.chart.height,
|
|
134
134
|
width: e.value.style.chart.width,
|
|
135
135
|
plotSize: e.value.style.chart.plots.radius,
|
|
@@ -138,7 +138,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
138
138
|
// ratio 42.85
|
|
139
139
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
140
140
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
141
|
-
}), d =
|
|
141
|
+
}), d = g(() => {
|
|
142
142
|
const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n = v.value.height, s = v.value.width;
|
|
143
143
|
return {
|
|
144
144
|
chartHeight: n,
|
|
@@ -150,7 +150,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
150
150
|
right: s - l,
|
|
151
151
|
bottom: n - a
|
|
152
152
|
};
|
|
153
|
-
}),
|
|
153
|
+
}), Se = g(() => Ke(e.value.customPalette)), y = c({
|
|
154
154
|
dataLabels: {
|
|
155
155
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
156
156
|
},
|
|
@@ -160,8 +160,8 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
160
160
|
function me(t) {
|
|
161
161
|
w.value.includes(t) ? w.value = w.value.filter((l) => l !== t) : w.value.push(t);
|
|
162
162
|
}
|
|
163
|
-
const _ =
|
|
164
|
-
const a = Ze(t.color) ||
|
|
163
|
+
const _ = g(() => A.dataset.map((t, l) => {
|
|
164
|
+
const a = Ze(t.color) || Se.value[l] || G[l] || G[l % G.length];
|
|
165
165
|
return {
|
|
166
166
|
...t,
|
|
167
167
|
series: t.series.map((o) => ({
|
|
@@ -174,24 +174,24 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
174
174
|
id: Z(),
|
|
175
175
|
shape: t.shape || "circle"
|
|
176
176
|
};
|
|
177
|
-
})), Oe =
|
|
177
|
+
})), Oe = g(() => _.value.map((t) => ({
|
|
178
178
|
...t,
|
|
179
179
|
opacity: w.value.includes(t.id) ? 0.5 : 1,
|
|
180
180
|
segregate: () => me(t.id),
|
|
181
181
|
isSegregated: w.value.includes(t.id)
|
|
182
|
-
}))), De =
|
|
182
|
+
}))), De = g(() => ({
|
|
183
183
|
cy: "pcp-div-legend",
|
|
184
184
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
185
185
|
color: e.value.style.chart.legend.color,
|
|
186
186
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
187
187
|
paddingBottom: 12,
|
|
188
188
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
189
|
-
})), ye =
|
|
189
|
+
})), ye = g(() => Math.max(
|
|
190
190
|
..._.value.filter((t) => !w.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
|
|
191
|
-
)), k =
|
|
191
|
+
)), k = g(() => d.value.width / ye.value), Y = g(() => _.value.filter((t) => !w.value.includes(t.id))), f = g(() => {
|
|
192
192
|
let t = [];
|
|
193
193
|
for (let l = 0; l < ye.value; l += 1) {
|
|
194
|
-
const a = Math.min(...
|
|
194
|
+
const a = Math.min(...Y.value.flatMap((h) => h.series.map((V) => V.values[l] || 0) || 0)), o = Math.max(...Y.value.flatMap((h) => h.series.map((V) => V.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, V) => {
|
|
195
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);
|
|
196
196
|
return {
|
|
197
197
|
y: d.value.bottom - d.value.height * (Be / Re),
|
|
@@ -206,12 +206,12 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
return t;
|
|
209
|
-
}),
|
|
209
|
+
}), q = g(() => Y.value.map((t, l) => ({
|
|
210
210
|
...t,
|
|
211
211
|
series: t.series.map((a, o) => ({
|
|
212
212
|
...a,
|
|
213
213
|
datapoints: a.values.map((n, s) => {
|
|
214
|
-
const i =
|
|
214
|
+
const i = f.value[s].scale.min < 0 ? (n || 0) + Math.abs(f.value[s].scale.min) : (n || 0) - Math.abs(f.value[s].scale.min), $ = f.value[s].scale.min < 0 ? f.value[s].scale.max + Math.abs(f.value[s].scale.min) : f.value[s].scale.max - Math.abs(f.value[s].scale.min);
|
|
215
215
|
return {
|
|
216
216
|
name: a.name,
|
|
217
217
|
seriesName: t.name,
|
|
@@ -241,7 +241,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
241
241
|
return Te(
|
|
242
242
|
e.value.style.chart.yAxis.labels.formatters[l] || null,
|
|
243
243
|
t,
|
|
244
|
-
|
|
244
|
+
Me({
|
|
245
245
|
p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
|
|
246
246
|
v: t,
|
|
247
247
|
s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
|
|
@@ -250,9 +250,9 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
250
250
|
{ datapoint: a, seriesIndex: l }
|
|
251
251
|
);
|
|
252
252
|
}
|
|
253
|
-
const p = c(null),
|
|
254
|
-
function
|
|
255
|
-
|
|
253
|
+
const p = c(null), Q = c(null), L = c(!1), J = c("");
|
|
254
|
+
function j({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
|
|
255
|
+
Q.value = { serie: a, relativeIndex: o, seriesIndex: n, series: _.value, scales: f.value }, L.value = !0, p.value = a.id;
|
|
256
256
|
let s = "";
|
|
257
257
|
const i = e.value.style.chart.tooltip.customFormat;
|
|
258
258
|
_e(i) && st(() => i({
|
|
@@ -260,14 +260,14 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
260
260
|
seriesIndex: a.seriesIndex,
|
|
261
261
|
series: _.value,
|
|
262
262
|
config: e.value,
|
|
263
|
-
scales:
|
|
264
|
-
})) ?
|
|
263
|
+
scales: f.value
|
|
264
|
+
})) ? J.value = i({
|
|
265
265
|
serie: a,
|
|
266
266
|
seriesIndex: a.seriesIndex,
|
|
267
267
|
series: _.value,
|
|
268
268
|
config: e.value,
|
|
269
|
-
scales:
|
|
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>`,
|
|
269
|
+
scales: f.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>`, f.value.map(($) => $.name).forEach(($, h) => {
|
|
271
271
|
s += `
|
|
272
272
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
273
273
|
<span>${$}: </span>
|
|
@@ -275,7 +275,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
275
275
|
${Te(
|
|
276
276
|
e.value.style.chart.yAxis.labels.formatters[h] || null,
|
|
277
277
|
a.datapoints[h].value,
|
|
278
|
-
|
|
278
|
+
Me({
|
|
279
279
|
p: e.value.style.chart.yAxis.labels.prefixes[h] || "",
|
|
280
280
|
v: a.datapoints[h].value,
|
|
281
281
|
s: e.value.style.chart.yAxis.labels.suffixes[h] || "",
|
|
@@ -286,13 +286,13 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
286
286
|
</span>
|
|
287
287
|
</div>
|
|
288
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>`);
|
|
289
|
-
}),
|
|
289
|
+
}), J.value = `<div>${s}</div>`);
|
|
290
290
|
}
|
|
291
291
|
function We() {
|
|
292
292
|
return _.value;
|
|
293
293
|
}
|
|
294
|
-
const S =
|
|
295
|
-
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(
|
|
294
|
+
const S = g(() => {
|
|
295
|
+
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((n) => n.name)), l = q.value.flatMap((n, s) => n.series.map((i) => [n.name].concat([i.name]).concat(i.values))), a = {
|
|
296
296
|
th: {
|
|
297
297
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
298
298
|
color: e.value.table.th.color,
|
|
@@ -304,14 +304,14 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
304
304
|
outline: e.value.table.td.outline
|
|
305
305
|
},
|
|
306
306
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
307
|
-
}, 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(f.value.map((n) => n.name));
|
|
308
308
|
return {
|
|
309
309
|
body: l,
|
|
310
310
|
head: t,
|
|
311
311
|
config: a,
|
|
312
312
|
colNames: o
|
|
313
313
|
};
|
|
314
|
-
}), ge =
|
|
314
|
+
}), ge = g(() => q.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
|
|
315
315
|
head: S.value.head,
|
|
316
316
|
body: S.value.body
|
|
317
317
|
});
|
|
@@ -330,17 +330,17 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
330
330
|
});
|
|
331
331
|
}
|
|
332
332
|
function ke() {
|
|
333
|
-
|
|
333
|
+
y.value.showTable = !y.value.showTable;
|
|
334
334
|
}
|
|
335
335
|
function Ce() {
|
|
336
|
-
|
|
336
|
+
y.value.dataLabels.show = !y.value.dataLabels.show;
|
|
337
337
|
}
|
|
338
338
|
function we() {
|
|
339
|
-
|
|
339
|
+
y.value.showTooltip = !y.value.showTooltip;
|
|
340
340
|
}
|
|
341
|
-
const
|
|
341
|
+
const U = c(!1);
|
|
342
342
|
function K() {
|
|
343
|
-
|
|
343
|
+
U.value = !U.value;
|
|
344
344
|
}
|
|
345
345
|
return Pe({
|
|
346
346
|
getData: We,
|
|
@@ -354,19 +354,19 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
354
354
|
}), (t, l) => (u(), r("div", {
|
|
355
355
|
ref_key: "pcpChart",
|
|
356
356
|
ref: N,
|
|
357
|
-
class:
|
|
357
|
+
class: W(`vue-ui-pcp ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
358
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%" : ""}`),
|
|
359
|
-
id: `pcp_${
|
|
359
|
+
id: `pcp_${X.value}`
|
|
360
360
|
}, [
|
|
361
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
361
|
+
e.value.userOptions.buttons.annotator ? (u(), M(xt, {
|
|
362
362
|
key: 0,
|
|
363
363
|
parent: N.value,
|
|
364
364
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
365
365
|
color: e.value.style.chart.color,
|
|
366
|
-
active:
|
|
366
|
+
active: U.value,
|
|
367
367
|
onClose: K
|
|
368
368
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : m("", !0),
|
|
369
|
-
|
|
369
|
+
Le.value ? (u(), r("div", {
|
|
370
370
|
key: 1,
|
|
371
371
|
ref_key: "noTitle",
|
|
372
372
|
ref: se,
|
|
@@ -379,7 +379,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
379
379
|
ref: ae,
|
|
380
380
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
381
381
|
}, [
|
|
382
|
-
(u(),
|
|
382
|
+
(u(), M(ct, {
|
|
383
383
|
key: `title_${ne.value}`,
|
|
384
384
|
config: {
|
|
385
385
|
title: {
|
|
@@ -393,14 +393,14 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
393
393
|
}
|
|
394
394
|
}, null, 8, ["config"]))
|
|
395
395
|
], 512)) : m("", !0),
|
|
396
|
-
e.value.userOptions.show && F.value ? (u(),
|
|
396
|
+
e.value.userOptions.show && F.value ? (u(), M(mt, {
|
|
397
397
|
ref: "details",
|
|
398
398
|
key: `user_options_${te.value}`,
|
|
399
399
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
400
400
|
color: e.value.style.chart.color,
|
|
401
|
-
isPrinting:
|
|
402
|
-
isImaging:
|
|
403
|
-
uid:
|
|
401
|
+
isPrinting: z(ve),
|
|
402
|
+
isImaging: z(de),
|
|
403
|
+
uid: X.value,
|
|
404
404
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
405
405
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
406
406
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -408,17 +408,17 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
408
408
|
hasTable: e.value.userOptions.buttons.table,
|
|
409
409
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
410
410
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
411
|
-
isFullscreen:
|
|
412
|
-
isTooltip:
|
|
411
|
+
isFullscreen: D.value,
|
|
412
|
+
isTooltip: y.value.showTooltip,
|
|
413
413
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
414
414
|
chartElement: N.value,
|
|
415
415
|
position: e.value.userOptions.position,
|
|
416
416
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
417
|
-
isAnnotation:
|
|
417
|
+
isAnnotation: U.value,
|
|
418
418
|
onToggleFullscreen: Ne,
|
|
419
|
-
onGeneratePdf:
|
|
419
|
+
onGeneratePdf: z(he),
|
|
420
420
|
onGenerateCsv: be,
|
|
421
|
-
onGenerateImage:
|
|
421
|
+
onGenerateImage: z(pe),
|
|
422
422
|
onToggleTable: ke,
|
|
423
423
|
onToggleLabels: Ce,
|
|
424
424
|
onToggleTooltip: we,
|
|
@@ -462,27 +462,27 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
462
462
|
t.$slots.optionFullscreen ? {
|
|
463
463
|
name: "optionFullscreen",
|
|
464
464
|
fn: x(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
465
|
-
b(t.$slots, "optionFullscreen",
|
|
465
|
+
b(t.$slots, "optionFullscreen", E(B({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
466
466
|
]),
|
|
467
467
|
key: "5"
|
|
468
468
|
} : void 0,
|
|
469
469
|
t.$slots.optionAnnotator ? {
|
|
470
470
|
name: "optionAnnotator",
|
|
471
471
|
fn: x(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
472
|
-
b(t.$slots, "optionAnnotator",
|
|
472
|
+
b(t.$slots, "optionAnnotator", E(B({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
473
473
|
]),
|
|
474
474
|
key: "6"
|
|
475
475
|
} : void 0
|
|
476
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),
|
|
477
477
|
F.value ? (u(), r("svg", {
|
|
478
478
|
key: 4,
|
|
479
|
-
xmlns:
|
|
480
|
-
class:
|
|
479
|
+
xmlns: z(ot),
|
|
480
|
+
class: W({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
481
481
|
viewBox: `0 0 ${d.value.chartWidth <= 0 ? 10 : d.value.chartWidth} ${d.value.chartHeight <= 0 ? 10 : d.value.chartHeight}`,
|
|
482
482
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
483
483
|
}, [
|
|
484
484
|
$e(bt),
|
|
485
|
-
(u(!0), r(C, null, I(
|
|
485
|
+
(u(!0), r(C, null, I(f.value, (a, o) => (u(), r("g", $t, [
|
|
486
486
|
P("line", {
|
|
487
487
|
x1: d.value.left + k.value * o + k.value / 2,
|
|
488
488
|
x2: d.value.left + k.value * o + k.value / 2,
|
|
@@ -498,7 +498,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
498
498
|
"font-size": v.value.axisNameFontSize,
|
|
499
499
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
500
500
|
"text-anchor": "middle"
|
|
501
|
-
},
|
|
501
|
+
}, O(a.name), 9, _t),
|
|
502
502
|
e.value.style.chart.yAxis.labels.ticks.show ? (u(), r(C, { key: 0 }, [
|
|
503
503
|
(u(!0), r(C, null, I(a.ticks, (n) => (u(), r("line", {
|
|
504
504
|
x1: n.x,
|
|
@@ -507,7 +507,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
507
507
|
y2: n.y,
|
|
508
508
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
509
509
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
510
|
-
style: T(`opacity:${p.value && !
|
|
510
|
+
style: T(`opacity:${p.value && !y.value.showTooltip ? 0.2 : 1}`)
|
|
511
511
|
}, null, 12, Tt))), 256)),
|
|
512
512
|
(u(!0), r(C, null, I(a.ticks, (n) => (u(), r("text", {
|
|
513
513
|
x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
@@ -516,21 +516,21 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
516
516
|
"text-anchor": "end",
|
|
517
517
|
"font-size": v.value.ticksFontSize,
|
|
518
518
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
519
|
-
style: T(`opacity:${p.value && !
|
|
520
|
-
},
|
|
519
|
+
style: T(`opacity:${p.value && !y.value.showTooltip ? 0.2 : 1}`)
|
|
520
|
+
}, O(fe({ value: n.value, index: o, datapoint: n })), 13, Mt))), 256))
|
|
521
521
|
], 64)) : m("", !0)
|
|
522
522
|
]))), 256)),
|
|
523
|
-
(u(!0), r(C, null, I(
|
|
523
|
+
(u(!0), r(C, null, I(q.value, (a) => (u(), r("g", null, [
|
|
524
524
|
(u(!0), r(C, null, I(a.series, (o, n) => (u(), r("g", null, [
|
|
525
|
-
e.value.style.chart.plots.show ? (u(), r("g",
|
|
526
|
-
(u(!0), r(C, null, I(o.datapoints, (s) => (u(),
|
|
525
|
+
e.value.style.chart.plots.show ? (u(), r("g", zt, [
|
|
526
|
+
(u(!0), r(C, null, I(o.datapoints, (s) => (u(), M(ht, {
|
|
527
527
|
plot: { x: s.x, y: s.y },
|
|
528
528
|
color: a.color,
|
|
529
529
|
shape: a.shape,
|
|
530
530
|
radius: a.shape === "triangle" ? v.value.plotSize * 1.2 : v.value.plotSize,
|
|
531
531
|
stroke: e.value.style.chart.backgroundColor,
|
|
532
532
|
strokeWidth: 0.5,
|
|
533
|
-
onMouseenter: (i) =>
|
|
533
|
+
onMouseenter: (i) => j({
|
|
534
534
|
shape: a.shape,
|
|
535
535
|
serieName: a.name,
|
|
536
536
|
serie: o,
|
|
@@ -538,12 +538,12 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
538
538
|
seriesIndex: o.seriesIndex
|
|
539
539
|
}),
|
|
540
540
|
onMouseleave: l[0] || (l[0] = (i) => {
|
|
541
|
-
p.value = null,
|
|
541
|
+
p.value = null, L.value = !1;
|
|
542
542
|
}),
|
|
543
543
|
style: T(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
544
544
|
onClick: () => Ee(s)
|
|
545
545
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
|
|
546
|
-
|
|
546
|
+
y.value.showTooltip ? m("", !0) : (u(), r(C, { key: 0 }, [
|
|
547
547
|
p.value && p.value === o.id && o.datapoints.length ? (u(), r("text", {
|
|
548
548
|
key: 0,
|
|
549
549
|
x: o.datapoints[0].x - v.value.ticksFontSize,
|
|
@@ -552,7 +552,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
552
552
|
"font-size": v.value.ticksFontSize,
|
|
553
553
|
fill: a.color,
|
|
554
554
|
"font-weight": "bold"
|
|
555
|
-
},
|
|
555
|
+
}, O(o.name), 9, It)) : m("", !0)
|
|
556
556
|
], 64)),
|
|
557
557
|
e.value.style.chart.comments.show ? (u(!0), r(C, { key: 1 }, I(o.datapoints, (s) => (u(), r("g", null, [
|
|
558
558
|
s.comment ? (u(), r("foreignObject", {
|
|
@@ -571,15 +571,15 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
571
571
|
], 8, Pt)) : m("", !0)
|
|
572
572
|
]))), 256)) : m("", !0)
|
|
573
573
|
])) : m("", !0),
|
|
574
|
-
|
|
574
|
+
y.value.dataLabels.show || p.value && p.value === o.id ? (u(!0), r(C, { key: 1 }, I(o.datapoints, (s, i) => (u(), r("text", {
|
|
575
575
|
x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
576
576
|
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + v.value.datapointFontSize / 3,
|
|
577
577
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
578
578
|
"text-anchor": "start",
|
|
579
579
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
580
|
-
class:
|
|
580
|
+
class: W({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
|
|
581
581
|
"font-size": v.value.datapointFontSize,
|
|
582
|
-
onMouseenter: ($) =>
|
|
582
|
+
onMouseenter: ($) => j({
|
|
583
583
|
shape: a.shape,
|
|
584
584
|
serieName: a.name,
|
|
585
585
|
serie: o,
|
|
@@ -587,17 +587,17 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
587
587
|
seriesIndex: o.seriesIndex
|
|
588
588
|
}),
|
|
589
589
|
onMouseleave: l[1] || (l[1] = ($) => {
|
|
590
|
-
p.value = null,
|
|
590
|
+
p.value = null, L.value = !1;
|
|
591
591
|
}),
|
|
592
592
|
style: T(`opacity:${p.value ? p.value === o.id ? 1 : 0.2 : 1}`)
|
|
593
|
-
},
|
|
593
|
+
}, O(fe({ value: s.value, index: i, datapoint: s })), 45, Nt))), 256)) : m("", !0),
|
|
594
594
|
P("path", {
|
|
595
595
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
596
596
|
stroke: a.color,
|
|
597
597
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
598
598
|
fill: "none",
|
|
599
|
-
class:
|
|
600
|
-
onMouseenter: (s) =>
|
|
599
|
+
class: W({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
600
|
+
onMouseenter: (s) => j({
|
|
601
601
|
shape: a.shape,
|
|
602
602
|
serieName: a.name,
|
|
603
603
|
serie: o,
|
|
@@ -605,18 +605,37 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
605
605
|
seriesIndex: o.seriesIndex
|
|
606
606
|
}),
|
|
607
607
|
onMouseleave: l[2] || (l[2] = (s) => {
|
|
608
|
-
p.value = null,
|
|
608
|
+
p.value = null, L.value = !1;
|
|
609
609
|
}),
|
|
610
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}`)
|
|
611
|
-
}, null, 46,
|
|
611
|
+
}, null, 46, Lt),
|
|
612
|
+
y.value.showTooltip ? (u(), r("path", {
|
|
613
|
+
key: 2,
|
|
614
|
+
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
615
|
+
stroke: "transparent",
|
|
616
|
+
"stroke-width": 12,
|
|
617
|
+
fill: "none",
|
|
618
|
+
class: W({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
619
|
+
onMouseenter: (s) => j({
|
|
620
|
+
shape: a.shape,
|
|
621
|
+
serieName: a.name,
|
|
622
|
+
serie: o,
|
|
623
|
+
relativeIndex: n,
|
|
624
|
+
seriesIndex: o.seriesIndex
|
|
625
|
+
}),
|
|
626
|
+
onMouseleave: l[3] || (l[3] = (s) => {
|
|
627
|
+
p.value = null, L.value = !1;
|
|
628
|
+
}),
|
|
629
|
+
style: { opacity: "0" }
|
|
630
|
+
}, null, 42, St)) : m("", !0)
|
|
612
631
|
]))), 256))
|
|
613
632
|
]))), 256)),
|
|
614
633
|
b(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
615
634
|
], 14, wt)) : m("", !0),
|
|
616
|
-
t.$slots.watermark ? (u(), r("div",
|
|
617
|
-
b(t.$slots, "watermark",
|
|
635
|
+
t.$slots.watermark ? (u(), r("div", Ot, [
|
|
636
|
+
b(t.$slots, "watermark", E(B({ isPrinting: z(ve) || z(de) })), void 0, !0)
|
|
618
637
|
])) : m("", !0),
|
|
619
|
-
F.value ? m("", !0) : (u(),
|
|
638
|
+
F.value ? m("", !0) : (u(), M(gt, {
|
|
620
639
|
key: 6,
|
|
621
640
|
config: {
|
|
622
641
|
type: "parallelCoordinatePlot",
|
|
@@ -629,11 +648,11 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
629
648
|
ref_key: "chartLegend",
|
|
630
649
|
ref: le
|
|
631
650
|
}, [
|
|
632
|
-
e.value.style.chart.legend.show && F.value ? (u(),
|
|
651
|
+
e.value.style.chart.legend.show && F.value ? (u(), M(vt, {
|
|
633
652
|
key: `legend_${ue.value}`,
|
|
634
653
|
legendSet: Oe.value,
|
|
635
654
|
config: De.value,
|
|
636
|
-
onClickMarker: l[
|
|
655
|
+
onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
|
|
637
656
|
me(a.id), xe(a);
|
|
638
657
|
})
|
|
639
658
|
}, {
|
|
@@ -643,7 +662,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
643
662
|
a.segregate(), xe(a);
|
|
644
663
|
},
|
|
645
664
|
style: T(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`)
|
|
646
|
-
},
|
|
665
|
+
}, O(a.name), 13, Dt)
|
|
647
666
|
]),
|
|
648
667
|
_: 1
|
|
649
668
|
}, 8, ["legendSet", "config"])) : b(t.$slots, "legend", {
|
|
@@ -660,7 +679,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
660
679
|
b(t.$slots, "source", {}, void 0, !0)
|
|
661
680
|
], 512)) : m("", !0),
|
|
662
681
|
$e(dt, {
|
|
663
|
-
show:
|
|
682
|
+
show: y.value.showTooltip && L.value,
|
|
664
683
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
665
684
|
color: e.value.style.chart.tooltip.color,
|
|
666
685
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -671,22 +690,22 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
671
690
|
position: e.value.style.chart.tooltip.position,
|
|
672
691
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
673
692
|
parent: N.value,
|
|
674
|
-
content:
|
|
675
|
-
isCustom:
|
|
693
|
+
content: J.value,
|
|
694
|
+
isCustom: z(_e)(e.value.style.chart.tooltip.customFormat)
|
|
676
695
|
}, {
|
|
677
696
|
"tooltip-before": x(() => [
|
|
678
|
-
b(t.$slots, "tooltip-before",
|
|
697
|
+
b(t.$slots, "tooltip-before", E(B({ ...Q.value })), void 0, !0)
|
|
679
698
|
]),
|
|
680
699
|
"tooltip-after": x(() => [
|
|
681
|
-
b(t.$slots, "tooltip-after",
|
|
700
|
+
b(t.$slots, "tooltip-after", E(B({ ...Q.value })), void 0, !0)
|
|
682
701
|
]),
|
|
683
702
|
_: 3
|
|
684
703
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
685
|
-
F.value ? (u(),
|
|
704
|
+
F.value ? (u(), M(ft, {
|
|
686
705
|
key: 8,
|
|
687
706
|
hideDetails: "",
|
|
688
707
|
config: {
|
|
689
|
-
open:
|
|
708
|
+
open: y.value.showTable,
|
|
690
709
|
maxHeight: 1e4,
|
|
691
710
|
body: {
|
|
692
711
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -699,20 +718,20 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
699
718
|
}
|
|
700
719
|
}, {
|
|
701
720
|
content: x(() => [
|
|
702
|
-
(u(),
|
|
721
|
+
(u(), M(yt, {
|
|
703
722
|
key: `table_${re.value}`,
|
|
704
723
|
colNames: S.value.colNames,
|
|
705
724
|
head: S.value.head,
|
|
706
725
|
body: S.value.body,
|
|
707
726
|
config: S.value.config,
|
|
708
727
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
709
|
-
onClose: l[
|
|
728
|
+
onClose: l[5] || (l[5] = (a) => y.value.showTable = !1)
|
|
710
729
|
}, {
|
|
711
730
|
th: x(({ th: a }) => [
|
|
712
|
-
P("div", { innerHTML: a }, null, 8,
|
|
731
|
+
P("div", { innerHTML: a }, null, 8, Wt)
|
|
713
732
|
]),
|
|
714
733
|
td: x(({ td: a }) => [
|
|
715
|
-
He(
|
|
734
|
+
He(O(a), 1)
|
|
716
735
|
]),
|
|
717
736
|
_: 1
|
|
718
737
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -721,7 +740,7 @@ const Ct = ["id"], wt = ["xmlns", "viewBox"], $t = { style: { "pointer-events":
|
|
|
721
740
|
}, 8, ["config"])) : m("", !0)
|
|
722
741
|
], 14, Ct));
|
|
723
742
|
}
|
|
724
|
-
},
|
|
743
|
+
}, ta = /* @__PURE__ */ kt(Et, [["__scopeId", "data-v-0d19b552"]]);
|
|
725
744
|
export {
|
|
726
|
-
|
|
745
|
+
ta as default
|
|
727
746
|
};
|