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,16 +1,16 @@
|
|
|
1
1
|
import { ref as v, computed as m, watch as Y, onMounted as xa, onBeforeUnmount as La, openBlock as C, createElementBlock as q, normalizeStyle as J, normalizeClass as ka, createBlock as P, createCommentVNode as A, unref as _, createSlots as Ca, withCtx as b, renderSlot as x, normalizeProps as B, guardReactiveProps as X, createElementVNode as K, createVNode as wa, toDisplayString as Ve, createTextVNode as Sa } from "vue";
|
|
2
|
-
import { u as $a, c as za, t as Ta, a as Ma, p as D, b as Ra, C as ge, i as Q, f as ee, Y as Ia, I as Oa, d as je, a2 as Pa, o as Fa, e as Ea, x as qe, y as Na, q as Aa, r as _a, s as ae, l as Da } from "./index-
|
|
2
|
+
import { u as $a, c as za, t as Ta, a as Ma, p as D, b as Ra, C as ge, i as Q, f as ee, Y as Ia, I as Oa, d as je, a2 as Pa, o as Fa, e as Ea, x as qe, y as Na, q as Aa, r as _a, s as ae, l as Da } from "./index-XO811G4S.js";
|
|
3
3
|
import { d as Ha, c as Wa, a as Je, t as Ya, l as w, r as pe, b as F, p as Ke, u as Ba } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as Xa } from "./Tooltip-
|
|
5
|
-
import { L as Ua } from "./Legend-
|
|
6
|
-
import { _ as Za } from "./Title-
|
|
7
|
-
import { S as Ga } from "./Slicer-
|
|
8
|
-
import { u as Va, U as ja } from "./usePrinter-
|
|
9
|
-
import qa from "./vue-ui-accordion-
|
|
10
|
-
import { D as Ja } from "./DataTable-
|
|
11
|
-
import Ka from "./vue-ui-skeleton-
|
|
12
|
-
import { u as Qe } from "./useNestedProp-
|
|
13
|
-
import { P as Qa } from "./PenAndPaper-
|
|
4
|
+
import { _ as Xa } from "./Tooltip-CZd_cGTh.js";
|
|
5
|
+
import { L as Ua } from "./Legend-CfcLlhaP.js";
|
|
6
|
+
import { _ as Za } from "./Title-BYSs_RNw.js";
|
|
7
|
+
import { S as Ga } from "./Slicer-Dgnj8x-K.js";
|
|
8
|
+
import { u as Va, U as ja } from "./usePrinter-CsX9yzzX.js";
|
|
9
|
+
import qa from "./vue-ui-accordion-DvWhOtea.js";
|
|
10
|
+
import { D as Ja } from "./DataTable-Cccy3rvu.js";
|
|
11
|
+
import Ka from "./vue-ui-skeleton-B-eJiyiK.js";
|
|
12
|
+
import { u as Qe } from "./useNestedProp-LP4oR6kx.js";
|
|
13
|
+
import { P as Qa } from "./PenAndPaper-BpIqWG4P.js";
|
|
14
14
|
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const at = ["id"], tt = ["onClick"], lt = {
|
|
16
16
|
key: 2,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-data-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.15",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
|
|
7
7
|
"keywords": [
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
94
|
-
"cypress": "^13.
|
|
94
|
+
"cypress": "^13.16.0",
|
|
95
95
|
"html2canvas": "^1.4.1",
|
|
96
96
|
"jspdf": "^2.5.1",
|
|
97
97
|
"remove-attr": "^0.0.13",
|
package/dist/Slicer-CPM6S6sp.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),O=require("./BaseIcon-BaBTKzCc.cjs"),C=require("./useResponsive-BJ7DTGpm.cjs"),v=require("./index-BUVOYVSk.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=l=>(e.pushScopeId("data-v-c184b7d6"),l=l(),e.popScopeId(),l),U={"data-html2canvas-ignore":"",style:{padding:"0 24px"}},W={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},j={key:0,style:{width:"100%",position:"relative"}},X={key:0,class:"minimap",style:{width:"100%"}},Z=["xmlns","viewBox"],_=["id"],G=["stop-color"],H=w(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),J=["d","stroke"],K=["x","width","height","fill","rx"],Q=["d","fill"],Y=["x","width","height","rx","fill"],ee=["x","width","height","fill","rx"],te=["d","fill"],le=["d","stroke"],ae=["cx","cy","stroke","fill"],ne=["cx","cy","stroke","fill"],oe=["x1","x2","y2","stroke"],ie=["x","height","width","onMouseenter"],re=w(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),ue=["min","max"],se=["min","max"],ce={__name:"Slicer",props:{background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:Number,default:14},labelLeft:{type:String,default:""},labelRight:{type:String,default:""},textColor:{type:String,default:"#1A1A1A"},inputColor:{type:String,default:"#1A1A1A"},max:{type:Number,default:0},min:{type:Number,default:0},selectColor:{type:String,default:"#4A4A4A"},useResetSlot:{type:Boolean,default:!1},valueStart:{type:[Number,String],default:0},valueEnd:{type:[Number,String],default:0},minimap:{type:Array,default:[]},smoothMinimap:{type:Boolean,default:!1},minimapSelectedColor:{type:String,default:"#1f77b4"},minimapSelectionRadius:{type:Number,default:12},minimapLineColor:{type:String,default:"#2D353C"},minimapSelectedColorOpacity:{type:Number,default:.2},minimapSelectedIndex:{type:Number,default:null},minimapIndicatorColor:{type:String,default:"#2D353C"}},emits:["update:start","update:end","reset","trapMouse"],setup(l,{emit:h}){const t=l;e.useCssVars(a=>({"74ec9808":$.value,"5d7f3c70":f.value,"2eaeb5e1":z.value,"3db47da0":l.selectColor,"2531182e":B.value}));const r=e.ref(t.min),u=e.ref(t.max),p=e.computed(()=>!!t.minimap.length),g=e.ref(v.createUid()),V=e.computed(()=>{const a=t.max-t.min,o=(r.value-t.min)/a*100,i=(u.value-t.min)/a*100;return{left:`${o}%`,width:`${i-o}%`,background:t.selectColor}}),$=e.computed(()=>t.inputColor),B=e.computed(()=>t.background),z=e.computed(()=>`${t.selectColor}33`),f=e.computed(()=>t.borderColor),k=e.computed(()=>{let a=[];for(let o=0;o<t.minimap.length;o+=1)a.push(o);return a});function N(){h("reset")}function L(){Number(r.value)>Number(u.value)-1&&(r.value=Number(u.value)-1),h("update:start",Number(r.value))}function M(){Number(u.value)<Number(r.value)+1&&(u.value=Number(r.value)+1),h("update:end",Number(u.value))}e.watch(()=>t.min,a=>{Number(r.value)<Number(a)&&(r.value=Number(a)),Number(u.value)<Number(a)&&(u.value=Number(a))}),e.watch(()=>t.max,a=>{Number(r.value)>Number(a)&&(r.value=Number(a)),Number(u.value)>Number(a)&&(u.value=Number(a))});const x=e.ref(null),n=e.ref({width:1,height:1}),E=e.ref(null);e.onMounted(()=>{if(p.value){const a=C.throttle(()=>{const{width:o,height:i}=C.useResponsive({chart:x.value});n.value.width=o,n.value.height=i-47});E.value=new ResizeObserver(a),E.value.observe(x.value)}});const s=e.computed(()=>t.minimap.length?n.value.width/t.minimap.length:0),c=e.computed(()=>{if(!t.minimap.length)return[];const a=Math.max(...t.minimap),o=Math.min(...t.minimap)-10,i=a-(o>0?0:o),d=t.minimap.map((A,q)=>{const D=A-o;return{x:n.value.width/t.minimap.length*q+s.value/2,y:n.value.height-D/i*(n.value.height*.9)}}),S=t.smoothMinimap?v.createSmoothPath(d):v.createStraightPath(d),b=[...d].slice(t.valueStart,t.valueEnd),R=t.smoothMinimap?v.createSmoothPath(b):v.createStraightPath(b);return{fullSet:S,selectionSet:R,sliced:b,firstPlot:d[t.valueStart],lastPlot:d[t.valueEnd-1]}}),m=e.computed(()=>({x:s.value*r.value+s.value/2,width:n.value.width*((u.value-r.value)/t.max)-s.value})),F=e.computed(()=>({left:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",pointerEvents:"none"})),I=e.computed(()=>({right:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",direction:"rtl",pointerEvents:"none"})),y=e.ref(t.minimapSelectedIndex);e.watch(()=>t.minimapSelectedIndex,a=>{y.value=a+t.valueStart},{immediate:!0});function P(a){y.value=a,a>=t.valueStart&&a<t.valueEnd&&h("trapMouse",a-t.valueStart)}return(a,o)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",W,[l.valueStart>0||l.valueEnd<l.max?(e.openBlock(),e.createElementBlock("div",j,[l.useResetSlot?e.renderSlot(a.$slots,"reset-action",{key:1,reset:N},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({top:p.value?"36px":"-16px",pointerEvents:"all !important"}),onClick:N},[e.createVNode(O.default,{name:"refresh",stroke:l.textColor},null,8,["stroke"])],4))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:x,style:{"z-index":"0"}},[p.value?(e.openBlock(),e.createElementBlock("div",X,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(v.XMLNS),viewBox:`0 0 ${n.value.width<0?0:n.value.width} ${n.value.height<0?0:n.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:g.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${l.minimapLineColor}50`},null,8,G),H],8,_)]),e.createElementVNode("path",{d:`M${c.value.fullSet}`,stroke:`${l.minimapLineColor}`,fill:"none","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"1"}},null,8,J),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:f.value,rx:l.minimapSelectionRadius,stroke:"none"},null,8,K),e.createElementVNode("path",{d:`M${s.value/2},${n.value.height} ${c.value.fullSet} L${n.value.width-s.value/2},${n.value.height}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,Q),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,rx:l.minimapSelectionRadius,fill:f.value},null,8,Y),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:l.minimapSelectedColor,rx:l.minimapSelectionRadius,style:e.normalizeStyle({opacity:l.minimapSelectedColorOpacity})},null,12,ee),e.createElementVNode("path",{d:`M${c.value.sliced[0].x},${n.value.height} ${c.value.selectionSet} L${c.value.sliced.at(-1).x},${n.value.height}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,te),e.createElementVNode("path",{d:`M ${c.value.selectionSet}`,stroke:`${l.minimapLineColor}`,fill:"transparent","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,le),e.createElementVNode("circle",{cx:c.value.firstPlot.x,cy:c.value.firstPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ae),e.createElementVNode("circle",{cx:c.value.lastPlot.x,cy:c.value.lastPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ne),y.value!==null?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(k.value,(i,d)=>(e.openBlock(),e.createElementBlock("g",null,[y.value===i&&i>=l.valueStart&&i<l.valueEnd?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.value*d+s.value/2,x2:s.value*d+s.value/2,y1:0,y2:n.value.height,stroke:l.minimapIndicatorColor,"stroke-linecap":"round","stroke-dasharray":"2","stroke-width":"1"},null,8,oe)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(i,d)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value*d,y:0,height:n.value.height,width:s.value,fill:"transparent",style:{"pointer-events":"all !important"},onMouseenter:S=>P(i),onMouseleave:o[0]||(o[0]=S=>{y.value=null,h("trapMouse",null)})},null,40,ie))),256))],8,Z))])):e.createCommentVNode("",!0),re,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(V.value)},null,4),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-left",min:l.min,max:l.max,"onUpdate:modelValue":o[1]||(o[1]=i=>r.value=i),onInput:L},null,40,ue),[[e.vModelText,r.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-left",style:e.normalizeStyle(F.value)},e.toDisplayString(l.labelLeft),5),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-right",min:l.min,max:l.max,"onUpdate:modelValue":o[2]||(o[2]=i=>u.value=i),onInput:M},null,40,se),[[e.vModelText,u.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-right",style:e.normalizeStyle(I.value)},e.toDisplayString(l.labelRight),5)],512)]))}},de=T._export_sfc(ce,[["__scopeId","data-v-c184b7d6"]]);exports.Slicer=de;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-BUVOYVSk.cjs"),se=require("./useResponsive-BJ7DTGpm.cjs"),xe=require("./Title-4bXfWbx8.cjs"),Ce=require("./Legend-BmTkHhIn.cjs"),we=require("./Tooltip-BheHY6dV.cjs"),Be=require("./Shape-DFFQ_70v.cjs"),re=require("./usePrinter-BGq-7Twb.cjs"),$e=require("./DataTable-CHfZ1IEy.cjs"),Se=require("./vue-ui-accordion-r9LcXEYX.cjs"),ze=require("./vue-ui-skeleton-B_yz8Eus.cjs"),ie=require("./useNestedProp-nko1Exy-.cjs"),Ne=require("./PackageVersion-D6vG-BXj.cjs"),Ae=require("./PenAndPaper-i3jYHWwR.cjs"),Te=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Pe=["id"],_e=["xmlns","viewBox"],Fe={style:{"pointer-events":"none"}},Me=["x1","x2","y1","y2","stroke","stroke-width"],Ee=["x","y","fill","font-size","font-weight"],Le=["x1","x2","y1","y2","stroke","stroke-width"],Ie=["x","y","fill","font-size","font-weight"],Ve={key:0},Oe=["x","y","font-size","fill"],De=["width","x","y"],qe={style:{width:"100%"}},Re=["x","y","fill","font-weight","font-size","onMouseenter"],Ue=["d","stroke","stroke-width","onMouseenter"],We={key:5,class:"vue-data-ui-watermark"},je=["onClick"],He=["innerHTML"],Ge={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ue,{expose:ce,emit:L}){const b=ue,{vue_ui_parallel_coordinate_plot:de}=i.useConfig(),x=e.computed({get(){return!!b.dataset&&b.dataset.length},set(l){return l}}),I=e.ref(0),C=e.ref(null),V=e.ref(null),O=e.ref(null),D=e.ref(null),q=e.ref(null),R=e.ref(0),U=e.ref(0),W=e.ref(0),A=e.ref(i.createUid()),B=e.ref(!1);function ve(l){B.value=l,I.value+=1}const t=e.computed({get:()=>j(),set:l=>l});function j(){const l=ie.useNestedProp({userConfig:b.config,defaultConfig:de});return l.theme?{...ie.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[l.theme]||b.config,defaultConfig:l}),customPalette:i.themePalettes[l.theme]||i.palette}:l}e.watch(()=>b.config,l=>{t.value=j(),H(),R.value+=1,W.value+=1,U.value+=1},{deep:!0});const S=e.ref(null);e.onMounted(()=>{H()});function H(){if(i.objectIsEmpty(b.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):b.dataset.forEach((l,o)=>{i.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=se.throttle(()=>{const{width:o,height:a}=se.useResponsive({chart:C.value,title:t.value.style.chart.title.text?V.value:null,legend:t.value.style.chart.legend.show?O.value:null,source:D.value,noTitle:q.value});c.value.width=o,c.value.height=a,c.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),c.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),c.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),c.value.axisNameFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})});S.value=new ResizeObserver(l),S.value.observe(C.value.parentNode)}}e.onBeforeUnmount(()=>{S.value&&S.value.disconnect()});const{isPrinting:G,isImaging:Y,generatePdf:X,generateImage:J}=re.usePrinter({elementId:`pcp_${A.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),pe=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),c=e.ref({height:t.value.style.chart.height,width:t.value.style.chart.width,plotSize:t.value.style.chart.plots.radius,ticksFontSize:t.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:t.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:t.value.style.chart.yAxis.labels.axisNamesFontSize}),d=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=c.value.height,s=c.value.width;return{chartHeight:r,chartWidth:s,height:r-l-a,width:s-n-o,top:l,left:n,right:s-o,bottom:r-a}}),he=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),m=e.ref({dataLabels:{show:t.value.style.chart.yAxis.labels.datapoints.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),f=e.ref([]);function K(l){f.value.includes(l)?f.value=f.value.filter(o=>o!==l):f.value.push(l)}const k=e.computed(()=>b.dataset.map((l,o)=>{const a=i.convertColorToHex(l.color)||he.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...l,series:l.series.map(n=>({...n,id:i.createUid(),color:a})),seriesIndex:o,color:a,id:i.createUid(),shape:l.shape||"circle"}})),me=e.computed(()=>k.value.map(l=>({...l,opacity:f.value.includes(l.id)?.5:1,segregate:()=>K(l.id),isSegregated:f.value.includes(l.id)}))),ye=e.computed(()=>({cy:"pcp-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),Q=e.computed(()=>Math.max(...k.value.filter(l=>!f.value.includes(l.id)).map(l=>Math.max(...l.series.flatMap(o=>o.values.length))))),y=e.computed(()=>d.value.width/Q.value),T=e.computed(()=>k.value.filter(l=>!f.value.includes(l.id))),h=e.computed(()=>{let l=[];for(let o=0;o<Q.value;o+=1){const a=Math.min(...T.value.flatMap(v=>v.series.map(N=>N.values[o]||0)||0)),n=Math.max(...T.value.flatMap(v=>v.series.map(N=>N.values[o]||0)||0)),r=n===a?a/4:a,s=n===a?n*2:n,u=i.calculateNiceScale(r,s,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((v,N)=>{const be=u.min<0?v+Math.abs(u.min):v-Math.abs(u.min),ke=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:d.value.bottom-d.value.height*(be/ke),x:d.value.left+y.value*o+y.value/2,value:v}});l.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return l}),P=e.computed(()=>T.value.map((l,o)=>({...l,series:l.series.map((a,n)=>({...a,datapoints:a.values.map((r,s)=>{const u=h.value[s].scale.min<0?(r||0)+Math.abs(h.value[s].scale.min):(r||0)-Math.abs(h.value[s].scale.min),g=h.value[s].scale.min<0?h.value[s].scale.max+Math.abs(h.value[s].scale.min):h.value[s].scale.max-Math.abs(h.value[s].scale.min);return{name:a.name,seriesName:l.name,axisIndex:s,datapointIndex:n,seriesIndex:o,value:r||0,x:d.value.left+y.value*s+y.value/2,y:d.value.bottom-d.value.height*(u/g),comment:a.comments&&a.comments[s]||""}})}))})).map(l=>({...l,series:l.series.map(o=>{const a=i.createStraightPath(o.datapoints),n=i.createSmoothPath(o.datapoints),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${n}`:`M ${a}`);return{...o,smoothPath:n,straightPath:a,pathLength:r}})})));function Z({value:l,index:o,datapoint:a}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,l,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:l,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:a,seriesIndex:o})}const p=e.ref(null),_=e.ref(null),$=e.ref(!1),F=e.ref("");function M({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){_.value={serie:a,relativeIndex:n,seriesIndex:r,series:k.value,scales:h.value},$.value=!0,p.value=a.id;let s="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:h.value}))?F.value=u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:h.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o?o+" - ":""}${a.name}</div>`,h.value.map(g=>g.name).forEach((g,v)=>{s+=`
|
|
2
|
-
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
3
|
-
<span>${g}: </span>
|
|
4
|
-
<span>
|
|
5
|
-
${i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[v]||null,a.datapoints[v].value,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[v]||"",v:a.datapoints[v].value,s:t.value.style.chart.yAxis.labels.suffixes[v]||"",r:t.value.style.chart.yAxis.labels.roundings[v]||""}),{datapoint:a.datapoints[v],seriesIndex:v})}
|
|
6
|
-
</span>
|
|
7
|
-
</div>
|
|
8
|
-
`,t.value.style.chart.comments.showInTooltip&&a.datapoints[v].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[v].comment}</div>`)}),F.value=`<div>${s}</div>`)}function fe(){return k.value}const w=e.computed(()=>{const l=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(h.value.map(r=>r.name)),o=P.value.flatMap((r,s)=>r.series.map(u=>[r.name].concat([u.name]).concat(u.values))),a={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint},n=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(h.value.map(r=>r.name));return{body:o,head:l,config:a,colNames:n}}),ee=e.computed(()=>P.value.length===0?{head:[],body:[],config:{},columnNames:[]}:{head:w.value.head,body:w.value.body});function te(){const l=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],o=ee.value.head,a=ee.value.body,n=l.concat([o]).concat(a),r=i.createCsvContent(n);i.downloadCsv({csvContent:r,title:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"})}function ge(l){L("selectDatapoint",l)}function le(l){L("selectLegend",{...l,isSegregated:!l.isSegregated,opacity:l.isSegregated?1:.5})}function ae(){m.value.showTable=!m.value.showTable}function oe(){m.value.dataLabels.show=!m.value.dataLabels.show}function ne(){m.value.showTooltip=!m.value.showTooltip}const z=e.ref(!1);function E(){z.value=!z.value}return ce({getData:fe,generateCsv:te,generatePdf:X,generateImage:J,toggleTable:ae,toggleLabels:oe,toggleTooltip:ne,toggleAnnotator:E}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"pcpChart",ref:C,class:e.normalizeClass(`vue-ui-pcp ${B.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),id:`pcp_${A.value}`},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ae.PenAndPaper,{key:0,parent:C.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:z.value,onClose:E},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),pe.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:q,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:V,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(xe._sfc_main,{key:`title_${R.value}`,config:{title:{cy:"pcp-div-title",...t.value.style.chart.title},subtitle:{cy:"pcp-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&x.value?(e.openBlock(),e.createBlock(re.UserOptions,{ref:"details",key:`user_options_${I.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(G),isImaging:e.unref(Y),uid:A.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:B.value,isTooltip:m.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:C.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:z.value,onToggleFullscreen:ve,onGeneratePdf:e.unref(X),onGenerateCsv:te,onGenerateImage:e.unref(J),onToggleTable:ae,onToggleLabels:oe,onToggleTooltip:ne,onToggleAnnotator:E},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionLabels",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:n})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasLabel","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(i.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":B.value,"vue-data-ui-fulscreen--off":!B.value}),viewBox:`0 0 ${d.value.chartWidth<=0?10:d.value.chartWidth} ${d.value.chartHeight<=0?10:d.value.chartHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Ne._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(a,n)=>(e.openBlock(),e.createElementBlock("g",Fe,[e.createElementVNode("line",{x1:d.value.left+y.value*n+y.value/2,x2:d.value.left+y.value*n+y.value/2,y1:d.value.top,y2:d.value.bottom,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth},null,8,Me),e.createElementVNode("text",{x:d.value.left+y.value*n+y.value/2,y:d.value.top-24,fill:t.value.style.chart.yAxis.labels.axisNamesColor,"font-size":c.value.axisNameFontSize,"font-weight":t.value.style.chart.yAxis.labels.axisNamesBold?"bold":"","text-anchor":"middle"},e.toDisplayString(a.name),9,Ee),t.value.style.chart.yAxis.labels.ticks.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.ticks,r=>(e.openBlock(),e.createElementBlock("line",{x1:r.x,x2:r.x-10,y1:r.y,y2:r.y,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth,style:e.normalizeStyle(`opacity:${p.value&&!m.value.showTooltip?.2:1}`)},null,12,Le))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.ticks,r=>(e.openBlock(),e.createElementBlock("text",{x:r.x-12+t.value.style.chart.yAxis.labels.ticks.offsetX,y:r.y+t.value.style.chart.yAxis.labels.ticks.offsetY+c.value.ticksFontSize/3,fill:t.value.style.chart.yAxis.labels.ticks.color,"text-anchor":"end","font-size":c.value.ticksFontSize,"font-weight":t.value.style.chart.yAxis.labels.ticks.bold?"bold":"normal",style:e.normalizeStyle(`opacity:${p.value&&!m.value.showTooltip?.2:1}`)},e.toDisplayString(Z({value:r.value,index:n,datapoint:r})),13,Ie))),256))],64)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,a=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.series,(n,r)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.chart.plots.show?(e.openBlock(),e.createElementBlock("g",Ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.datapoints,s=>(e.openBlock(),e.createBlock(Be._sfc_main,{plot:{x:s.x,y:s.y},color:a.color,shape:a.shape,radius:a.shape==="triangle"?c.value.plotSize*1.2:c.value.plotSize,stroke:t.value.style.chart.backgroundColor,strokeWidth:.5,onMouseenter:u=>M({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[0]||(o[0]=u=>{p.value=null,$.value=!1}),style:e.normalizeStyle(`opacity:${p.value?p.value===n.id?t.value.style.chart.plots.opacity:.2:t.value.style.chart.plots.opacity}`),onClick:()=>ge(s)},null,8,["plot","color","shape","radius","stroke","onMouseenter","style","onClick"]))),256)),m.value.showTooltip?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[p.value&&p.value===n.id&&n.datapoints.length?(e.openBlock(),e.createElementBlock("text",{key:0,x:n.datapoints[0].x-c.value.ticksFontSize,y:n.datapoints[0].y+c.value.ticksFontSize/3,"text-anchor":"end","font-size":c.value.ticksFontSize,fill:a.color,"font-weight":"bold"},e.toDisplayString(n.name),9,Oe)):e.createCommentVNode("",!0)],64)),t.value.style.chart.comments.show?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(n.datapoints,s=>(e.openBlock(),e.createElementBlock("g",null,[s.comment?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,style:{overflow:"visible"},height:"12",width:t.value.style.chart.comments.width,x:s.x-t.value.style.chart.comments.width/2+t.value.style.chart.comments.offsetX,y:s.y+t.value.style.chart.comments.offsetY+6},[e.createElementVNode("div",qe,[e.renderSlot(l.$slots,"plot-comment",{plot:{...s,color:a.color}},void 0,!0)])],8,De)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),m.value.dataLabels.show||p.value&&p.value===n.id?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(n.datapoints,(s,u)=>(e.openBlock(),e.createElementBlock("text",{x:s.x+12+t.value.style.chart.yAxis.labels.datapoints.offsetX,y:s.y+t.value.style.chart.yAxis.labels.datapoints.offsetY+c.value.datapointFontSize/3,fill:t.value.style.chart.yAxis.labels.datapoints.useSerieColor?a.color:t.value.style.chart.yAxis.labels.datapoints.color,"text-anchor":"start","font-weight":t.value.style.chart.yAxis.labels.datapoints.bold?"bold":"normal",class:e.normalizeClass({"vue-ui-pcp-animated":!1,"vue-ui-pcp-transition":!0}),"font-size":c.value.datapointFontSize,onMouseenter:g=>M({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[1]||(o[1]=g=>{p.value=null,$.value=!1}),style:e.normalizeStyle(`opacity:${p.value?p.value===n.id?1:.2:1}`)},e.toDisplayString(Z({value:s.value,index:u,datapoint:s})),45,Re))),256)):e.createCommentVNode("",!0),e.createElementVNode("path",{d:`M${t.value.style.chart.lines.smooth?n.smoothPath:n.straightPath}`,stroke:a.color,"stroke-width":t.value.style.chart.lines.strokeWidth,fill:"none",class:e.normalizeClass({"vue-ui-pcp-animated vue-data-ui-line-animated":t.value.useCssAnimation,"vue-ui-pcp-transition":!0}),onMouseenter:s=>M({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[2]||(o[2]=s=>{p.value=null,$.value=!1}),style:e.normalizeStyle(`opacity:${p.value?p.value===n.id?t.value.style.chart.lines.opacity:.2:t.value.style.chart.lines.opacity}; stroke-dasharray:${n.pathLength}; stroke-dashoffset: ${t.value.useCssAnimation?n.pathLength:0}`)},null,46,Ue)]))),256))]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,_e)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",We,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(G)||e.unref(Y)})),void 0,!0)])):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ze.default,{key:6,config:{type:"parallelCoordinatePlot",style:{backgroundColor:t.value.style.chart.backgroundColor}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:O},[t.value.style.chart.legend.show&&x.value?(e.openBlock(),e.createBlock(Ce.Legend,{key:`legend_${U.value}`,legendSet:me.value,config:ye.value,onClickMarker:o[3]||(o[3]=({legend:a})=>{K(a.id),le(a)})},{item:e.withCtx(({legend:a,index:n})=>[e.createElementVNode("div",{onClick:r=>{a.segregate(),le(a)},style:e.normalizeStyle(`opacity:${f.value.includes(a.id)?.5:1}`)},e.toDisplayString(a.name),13,je)]),_:1},8,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:k.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:D,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(we._sfc_main,{show:m.value.showTooltip&&$.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:C.value,content:F.value,isCustom:e.unref(i.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),x.value?(e.openBlock(),e.createBlock(Se.default,{key:8,hideDetails:"",config:{open:m.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock($e.DataTable,{key:`table_${W.value}`,colNames:w.value.colNames,head:w.value.head,body:w.value.body,config:w.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[4]||(o[4]=a=>m.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a},null,8,He)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,Pe))}},Ye=Te._export_sfc(Ge,[["__scopeId","data-v-35352f9a"]]);exports.default=Ye;
|