vue-data-ui 2.6.18 → 2.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/{Arrow-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
- package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
- package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
- package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
- package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
- package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
- package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
- package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
- package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
- package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
- package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
- package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
- package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
- package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
- package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
- package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
- package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
- package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
- package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
- package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
- package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
- package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
- package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
- package/dist/usePrinter-DhZH4pcR.cjs +1 -0
- package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
- package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
- package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
- package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
- package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
- package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
- package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
- package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
- package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
- package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
- package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
- package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
- package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
- package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
- package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
- package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
- package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
- package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
- package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
- package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
- package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
- package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
- package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
- package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
- package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
- package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
- package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
- package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
- package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
- package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
- package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
- package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
- package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
- package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
- package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
- package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
- package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
- package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
- package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
- package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
- package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
- package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
- package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
- package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
- package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
- package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
- package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
- package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
- package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
- package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
- package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
- package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
- package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
- package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
- package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
- package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
- package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
- package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
- package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
- package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
- package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
- package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
- package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
- package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
- package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
- package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
- package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
- package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
- package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
- package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
- package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
- package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
- package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
- package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
- package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
- package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
- package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
- package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
- package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
- package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
- package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
- package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
- package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
- package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
- package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
- package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
- package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
- package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
- package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
- package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
- package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
- package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
- package/package.json +1 -1
- package/dist/usePrinter-DB2FudbZ.cjs +0 -1
- package/dist/vue-ui-heatmap-Bz5l9BbM.cjs +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as Qe, c as ee, t as Ze, p as H, a as et, o as tt, e as ze, g as at, b as lt, d as ot, D as st, R as nt, S as ut, T as it, X as rt, x as
|
|
1
|
+
import { computed as b, ref as v, watch as Xe, onMounted as Ye, onBeforeUnmount as qe, createElementBlock as i, openBlock as u, unref as x, normalizeStyle as T, normalizeClass as W, createBlock as z, createCommentVNode as m, createElementVNode as F, createVNode as Me, createSlots as Je, withCtx as k, renderSlot as f, normalizeProps as S, guardReactiveProps as D, Fragment as C, renderList as I, toDisplayString as R, createTextVNode as Ke } from "vue";
|
|
2
|
+
import { u as Qe, c as ee, t as Ze, p as H, a as et, o as tt, e as ze, g as at, b as lt, d as ot, D as st, R as nt, S as ut, T as it, X as rt, x as Ie, F as G, q as ct, r as vt, i as Fe, f as Pe, y as dt } from "./index-Cq7-va_5.js";
|
|
3
3
|
import { t as ht, u as pt } from "./useResponsive-BWapHhVH.js";
|
|
4
|
-
import { _ as mt } from "./Title-
|
|
5
|
-
import { L as yt } from "./Legend-
|
|
6
|
-
import { _ as ft } from "./Tooltip-
|
|
7
|
-
import { _ as gt } from "./Shape-
|
|
8
|
-
import { u as bt, U as xt } from "./usePrinter-
|
|
9
|
-
import { D as kt } from "./DataTable-
|
|
10
|
-
import wt from "./vue-ui-accordion-
|
|
11
|
-
import Ct from "./vue-ui-skeleton-
|
|
12
|
-
import { u as Ne } from "./useNestedProp-
|
|
13
|
-
import { _ as $t } from "./PackageVersion-
|
|
14
|
-
import { P as At } from "./PenAndPaper-
|
|
4
|
+
import { _ as mt } from "./Title-CUHNtIyE.js";
|
|
5
|
+
import { L as yt } from "./Legend-CaMKYW-V.js";
|
|
6
|
+
import { _ as ft } from "./Tooltip-BuAQ8HVL.js";
|
|
7
|
+
import { _ as gt } from "./Shape-F5v4f45p.js";
|
|
8
|
+
import { u as bt, U as xt } from "./usePrinter-jRjc8Naz.js";
|
|
9
|
+
import { D as kt } from "./DataTable-CMUyDj6S.js";
|
|
10
|
+
import wt from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
11
|
+
import Ct from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
12
|
+
import { u as Ne } from "./useNestedProp-BEyJNlaO.js";
|
|
13
|
+
import { _ as $t } from "./PackageVersion-CURzw4q1.js";
|
|
14
|
+
import { P as At } from "./PenAndPaper-CjiJra09.js";
|
|
15
15
|
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { u as _t } from "./useChartAccessibility-BWojgys7.js";
|
|
17
17
|
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const zt = ["id"],
|
|
18
|
+
const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Pt = { style: { "pointer-events": "none" } }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x", "y", "fill", "font-size", "font-weight"], Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "fill", "font-size", "font-weight"], Dt = { key: 0 }, Rt = ["x", "y", "font-size", "fill"], Ut = ["width", "x", "y"], Wt = { style: { width: "100%" } }, Et = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Vt = ["d", "stroke", "stroke-width", "onMouseenter"], jt = ["d", "onMouseenter"], Bt = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, Ht = ["onClick"], Gt = ["innerHTML"], Xt = {
|
|
@@ -36,18 +36,18 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend", "selectDatapoint"],
|
|
38
38
|
setup(Le, { expose: Oe, emit: Se }) {
|
|
39
|
-
const { vue_ui_parallel_coordinate_plot: De } = Qe(), _ = Le, P =
|
|
39
|
+
const { vue_ui_parallel_coordinate_plot: De } = Qe(), _ = Le, P = b({
|
|
40
40
|
get() {
|
|
41
41
|
return !!_.dataset && _.dataset.length;
|
|
42
42
|
},
|
|
43
43
|
set(t) {
|
|
44
44
|
return t;
|
|
45
45
|
}
|
|
46
|
-
}), te = v(0),
|
|
46
|
+
}), te = v(0), U = v(null), ae = v(null), le = v(null), oe = v(null), se = v(null), ne = v(0), ue = v(0), ie = v(0), X = v(ee()), N = v(!1);
|
|
47
47
|
function Re(t) {
|
|
48
48
|
N.value = t, te.value += 1;
|
|
49
49
|
}
|
|
50
|
-
const e =
|
|
50
|
+
const e = b({
|
|
51
51
|
get: () => de(),
|
|
52
52
|
set: (t) => t
|
|
53
53
|
}), { userOptionsVisible: Y, setUserOptionsVisibility: re, keepUserOptionState: ce } = Tt({ config: e.value }), { svgRef: ve } = _t({ config: e.value.style.chart.title });
|
|
@@ -90,7 +90,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
90
90
|
}), e.value.responsive) {
|
|
91
91
|
const t = ht(() => {
|
|
92
92
|
const { width: l, height: a } = pt({
|
|
93
|
-
chart:
|
|
93
|
+
chart: U.value,
|
|
94
94
|
title: e.value.style.chart.title.text ? ae.value : null,
|
|
95
95
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
96
96
|
source: oe.value,
|
|
@@ -124,7 +124,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
124
124
|
});
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
|
-
E.value = new ResizeObserver(t), E.value.observe(
|
|
127
|
+
E.value = new ResizeObserver(t), E.value.observe(U.value.parentNode);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
qe(() => {
|
|
@@ -133,7 +133,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
133
133
|
const { isPrinting: pe, isImaging: me, generatePdf: ye, generateImage: fe } = bt({
|
|
134
134
|
elementId: `pcp_${X.value}`,
|
|
135
135
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
136
|
-
}), Ue =
|
|
136
|
+
}), Ue = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), d = v({
|
|
137
137
|
height: e.value.style.chart.height,
|
|
138
138
|
width: e.value.style.chart.width,
|
|
139
139
|
plotSize: e.value.style.chart.plots.radius,
|
|
@@ -142,7 +142,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
142
142
|
// ratio 42.85
|
|
143
143
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
144
144
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
145
|
-
}), c =
|
|
145
|
+
}), c = b(() => {
|
|
146
146
|
const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n = d.value.height, s = d.value.width;
|
|
147
147
|
return {
|
|
148
148
|
chartHeight: n,
|
|
@@ -154,7 +154,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
154
154
|
right: s - l,
|
|
155
155
|
bottom: n - a
|
|
156
156
|
};
|
|
157
|
-
}), We =
|
|
157
|
+
}), We = b(() => lt(e.value.customPalette)), h = v({
|
|
158
158
|
dataLabels: {
|
|
159
159
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
160
160
|
},
|
|
@@ -164,7 +164,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
164
164
|
function ge(t) {
|
|
165
165
|
$.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
|
|
166
166
|
}
|
|
167
|
-
const M =
|
|
167
|
+
const M = b(() => _.dataset.map((t, l) => {
|
|
168
168
|
const a = ot(t.color) || We.value[l] || H[l] || H[l % H.length];
|
|
169
169
|
return {
|
|
170
170
|
...t,
|
|
@@ -178,21 +178,21 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
178
178
|
id: ee(),
|
|
179
179
|
shape: t.shape || "circle"
|
|
180
180
|
};
|
|
181
|
-
})), Ee =
|
|
181
|
+
})), Ee = b(() => M.value.map((t) => ({
|
|
182
182
|
...t,
|
|
183
183
|
opacity: $.value.includes(t.id) ? 0.5 : 1,
|
|
184
184
|
segregate: () => ge(t.id),
|
|
185
185
|
isSegregated: $.value.includes(t.id)
|
|
186
|
-
}))), Ve =
|
|
186
|
+
}))), Ve = b(() => ({
|
|
187
187
|
cy: "pcp-div-legend",
|
|
188
188
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
189
189
|
color: e.value.style.chart.legend.color,
|
|
190
190
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
191
191
|
paddingBottom: 12,
|
|
192
192
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
193
|
-
})), be =
|
|
193
|
+
})), be = b(() => Math.max(
|
|
194
194
|
...M.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
|
|
195
|
-
)), w =
|
|
195
|
+
)), w = b(() => c.value.width / be.value), q = b(() => M.value.filter((t) => !$.value.includes(t.id))), g = b(() => {
|
|
196
196
|
let t = [];
|
|
197
197
|
for (let l = 0; l < be.value; l += 1) {
|
|
198
198
|
const a = Math.min(...q.value.flatMap((p) => p.series.map((B) => B.values[l] || 0) || 0)), o = Math.max(...q.value.flatMap((p) => p.series.map((B) => B.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = st(n, s, e.value.style.chart.yAxis.scaleTicks), A = r.ticks.map((p, B) => {
|
|
@@ -210,12 +210,12 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
212
|
return t;
|
|
213
|
-
}), J =
|
|
213
|
+
}), J = b(() => q.value.map((t, l) => ({
|
|
214
214
|
...t,
|
|
215
215
|
series: t.series.map((a, o) => ({
|
|
216
216
|
...a,
|
|
217
217
|
datapoints: a.values.map((n, s) => {
|
|
218
|
-
const r =
|
|
218
|
+
const r = g.value[s].scale.min < 0 ? (n || 0) + Math.abs(g.value[s].scale.min) : (n || 0) - Math.abs(g.value[s].scale.min), A = g.value[s].scale.min < 0 ? g.value[s].scale.max + Math.abs(g.value[s].scale.min) : g.value[s].scale.max - Math.abs(g.value[s].scale.min);
|
|
219
219
|
return {
|
|
220
220
|
name: a.name,
|
|
221
221
|
seriesName: t.name,
|
|
@@ -242,7 +242,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
242
242
|
})
|
|
243
243
|
})));
|
|
244
244
|
function xe({ value: t, index: l, datapoint: a }) {
|
|
245
|
-
return
|
|
245
|
+
return Fe(
|
|
246
246
|
e.value.style.chart.yAxis.labels.formatters[l] || null,
|
|
247
247
|
t,
|
|
248
248
|
Pe({
|
|
@@ -256,27 +256,27 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
256
256
|
}
|
|
257
257
|
const y = v(null), K = v(null), L = v(!1), Q = v("");
|
|
258
258
|
function V({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
|
|
259
|
-
K.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales:
|
|
259
|
+
K.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: g.value }, L.value = !0, y.value = a.id;
|
|
260
260
|
let s = "";
|
|
261
261
|
const r = e.value.style.chart.tooltip.customFormat;
|
|
262
|
-
|
|
262
|
+
Ie(r) && dt(() => r({
|
|
263
263
|
serie: a,
|
|
264
264
|
seriesIndex: a.seriesIndex,
|
|
265
265
|
series: M.value,
|
|
266
266
|
config: e.value,
|
|
267
|
-
scales:
|
|
267
|
+
scales: g.value
|
|
268
268
|
})) ? Q.value = r({
|
|
269
269
|
serie: a,
|
|
270
270
|
seriesIndex: a.seriesIndex,
|
|
271
271
|
series: M.value,
|
|
272
272
|
config: e.value,
|
|
273
|
-
scales:
|
|
274
|
-
}) : (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>`,
|
|
273
|
+
scales: g.value
|
|
274
|
+
}) : (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>`, g.value.map((A) => A.name).forEach((A, p) => {
|
|
275
275
|
s += `
|
|
276
276
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
277
277
|
<span>${A}: </span>
|
|
278
278
|
<span>
|
|
279
|
-
${
|
|
279
|
+
${Fe(
|
|
280
280
|
e.value.style.chart.yAxis.labels.formatters[p] || null,
|
|
281
281
|
a.datapoints[p].value,
|
|
282
282
|
Pe({
|
|
@@ -295,8 +295,8 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
295
295
|
function je() {
|
|
296
296
|
return M.value;
|
|
297
297
|
}
|
|
298
|
-
const O =
|
|
299
|
-
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(
|
|
298
|
+
const O = b(() => {
|
|
299
|
+
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(g.value.map((n) => n.name)), l = J.value.flatMap((n, s) => n.series.map((r) => [n.name].concat([r.name]).concat(r.values))), a = {
|
|
300
300
|
th: {
|
|
301
301
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
302
302
|
color: e.value.table.th.color,
|
|
@@ -308,14 +308,14 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
308
308
|
outline: e.value.table.td.outline
|
|
309
309
|
},
|
|
310
310
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
311
|
-
}, o = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(
|
|
311
|
+
}, o = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(g.value.map((n) => n.name));
|
|
312
312
|
return {
|
|
313
313
|
body: l,
|
|
314
314
|
head: t,
|
|
315
315
|
config: a,
|
|
316
316
|
colNames: o
|
|
317
317
|
};
|
|
318
|
-
}), ke =
|
|
318
|
+
}), ke = b(() => J.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
|
|
319
319
|
head: O.value.head,
|
|
320
320
|
body: O.value.body
|
|
321
321
|
});
|
|
@@ -358,16 +358,16 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
358
358
|
toggleAnnotator: Z
|
|
359
359
|
}), (t, l) => (u(), i("div", {
|
|
360
360
|
ref_key: "pcpChart",
|
|
361
|
-
ref:
|
|
362
|
-
class:
|
|
361
|
+
ref: U,
|
|
362
|
+
class: W(`vue-ui-pcp ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
363
363
|
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
364
364
|
id: `pcp_${X.value}`,
|
|
365
|
-
onMouseenter: l[6] || (l[6] = () =>
|
|
366
|
-
onMouseleave: l[7] || (l[7] = () =>
|
|
365
|
+
onMouseenter: l[6] || (l[6] = () => x(re)(!0)),
|
|
366
|
+
onMouseleave: l[7] || (l[7] = () => x(re)(!1))
|
|
367
367
|
}, [
|
|
368
368
|
e.value.userOptions.buttons.annotator ? (u(), z(At, {
|
|
369
369
|
key: 0,
|
|
370
|
-
svgRef:
|
|
370
|
+
svgRef: x(ve),
|
|
371
371
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
372
372
|
color: e.value.style.chart.color,
|
|
373
373
|
active: j.value,
|
|
@@ -400,13 +400,13 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
400
400
|
}
|
|
401
401
|
}, null, 8, ["config"]))
|
|
402
402
|
], 512)) : m("", !0),
|
|
403
|
-
e.value.userOptions.show && P.value && (
|
|
403
|
+
e.value.userOptions.show && P.value && (x(ce) || x(Y)) ? (u(), z(xt, {
|
|
404
404
|
ref: "details",
|
|
405
405
|
key: `user_options_${te.value}`,
|
|
406
406
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
407
407
|
color: e.value.style.chart.color,
|
|
408
|
-
isPrinting:
|
|
409
|
-
isImaging:
|
|
408
|
+
isPrinting: x(pe),
|
|
409
|
+
isImaging: x(me),
|
|
410
410
|
uid: X.value,
|
|
411
411
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
412
412
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -418,78 +418,85 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
418
418
|
isFullscreen: N.value,
|
|
419
419
|
isTooltip: h.value.showTooltip,
|
|
420
420
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
421
|
-
chartElement:
|
|
421
|
+
chartElement: U.value,
|
|
422
422
|
position: e.value.userOptions.position,
|
|
423
423
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
424
424
|
isAnnotation: j.value,
|
|
425
425
|
onToggleFullscreen: Re,
|
|
426
|
-
onGeneratePdf:
|
|
426
|
+
onGeneratePdf: x(ye),
|
|
427
427
|
onGenerateCsv: we,
|
|
428
|
-
onGenerateImage:
|
|
428
|
+
onGenerateImage: x(fe),
|
|
429
429
|
onToggleTable: Ae,
|
|
430
430
|
onToggleLabels: Te,
|
|
431
431
|
onToggleTooltip: _e,
|
|
432
432
|
onToggleAnnotator: Z,
|
|
433
433
|
style: T({
|
|
434
|
-
visibility:
|
|
434
|
+
visibility: x(ce) ? x(Y) ? "visible" : "hidden" : "visible"
|
|
435
435
|
})
|
|
436
436
|
}, Je({ _: 2 }, [
|
|
437
|
+
t.$slots.menuIcon ? {
|
|
438
|
+
name: "menuIcon",
|
|
439
|
+
fn: k(({ isOpen: a, color: o }) => [
|
|
440
|
+
f(t.$slots, "menuIcon", S(D({ isOpen: a, color: o })), void 0, !0)
|
|
441
|
+
]),
|
|
442
|
+
key: "0"
|
|
443
|
+
} : void 0,
|
|
437
444
|
t.$slots.optionPdf ? {
|
|
438
445
|
name: "optionPdf",
|
|
439
446
|
fn: k(() => [
|
|
440
|
-
|
|
447
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
441
448
|
]),
|
|
442
|
-
key: "
|
|
449
|
+
key: "1"
|
|
443
450
|
} : void 0,
|
|
444
451
|
t.$slots.optionCsv ? {
|
|
445
452
|
name: "optionCsv",
|
|
446
453
|
fn: k(() => [
|
|
447
|
-
|
|
454
|
+
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
448
455
|
]),
|
|
449
|
-
key: "
|
|
456
|
+
key: "2"
|
|
450
457
|
} : void 0,
|
|
451
458
|
t.$slots.optionImg ? {
|
|
452
459
|
name: "optionImg",
|
|
453
460
|
fn: k(() => [
|
|
454
|
-
|
|
461
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
455
462
|
]),
|
|
456
|
-
key: "
|
|
463
|
+
key: "3"
|
|
457
464
|
} : void 0,
|
|
458
465
|
t.$slots.optionTable ? {
|
|
459
466
|
name: "optionTable",
|
|
460
467
|
fn: k(() => [
|
|
461
|
-
|
|
468
|
+
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
462
469
|
]),
|
|
463
|
-
key: "
|
|
470
|
+
key: "4"
|
|
464
471
|
} : void 0,
|
|
465
472
|
t.$slots.optionLabels ? {
|
|
466
473
|
name: "optionLabels",
|
|
467
474
|
fn: k(() => [
|
|
468
|
-
|
|
475
|
+
f(t.$slots, "optionLabels", {}, void 0, !0)
|
|
469
476
|
]),
|
|
470
|
-
key: "
|
|
477
|
+
key: "5"
|
|
471
478
|
} : void 0,
|
|
472
479
|
t.$slots.optionFullscreen ? {
|
|
473
480
|
name: "optionFullscreen",
|
|
474
481
|
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
475
|
-
|
|
482
|
+
f(t.$slots, "optionFullscreen", S(D({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
476
483
|
]),
|
|
477
|
-
key: "
|
|
484
|
+
key: "6"
|
|
478
485
|
} : void 0,
|
|
479
486
|
t.$slots.optionAnnotator ? {
|
|
480
487
|
name: "optionAnnotator",
|
|
481
488
|
fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
482
|
-
|
|
489
|
+
f(t.$slots, "optionAnnotator", S(D({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
483
490
|
]),
|
|
484
|
-
key: "
|
|
491
|
+
key: "7"
|
|
485
492
|
} : void 0
|
|
486
493
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
487
494
|
P.value ? (u(), i("svg", {
|
|
488
495
|
key: 4,
|
|
489
496
|
ref_key: "svgRef",
|
|
490
497
|
ref: ve,
|
|
491
|
-
xmlns:
|
|
492
|
-
class:
|
|
498
|
+
xmlns: x(rt),
|
|
499
|
+
class: W({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
493
500
|
viewBox: `0 0 ${c.value.chartWidth <= 0 ? 10 : c.value.chartWidth} ${c.value.chartHeight <= 0 ? 10 : c.value.chartHeight}`,
|
|
494
501
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
495
502
|
}, [
|
|
@@ -504,10 +511,10 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
504
511
|
pointerEvents: "none"
|
|
505
512
|
}
|
|
506
513
|
}, [
|
|
507
|
-
|
|
508
|
-
], 8,
|
|
509
|
-
(u(!0), i(C, null,
|
|
510
|
-
|
|
514
|
+
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
515
|
+
], 8, Ft)) : m("", !0),
|
|
516
|
+
(u(!0), i(C, null, I(g.value, (a, o) => (u(), i("g", Pt, [
|
|
517
|
+
F("line", {
|
|
511
518
|
x1: c.value.left + w.value * o + w.value / 2,
|
|
512
519
|
x2: c.value.left + w.value * o + w.value / 2,
|
|
513
520
|
y1: c.value.top,
|
|
@@ -515,16 +522,16 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
515
522
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
516
523
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
517
524
|
}, null, 8, Nt),
|
|
518
|
-
|
|
525
|
+
F("text", {
|
|
519
526
|
x: c.value.left + w.value * o + w.value / 2,
|
|
520
527
|
y: c.value.top - 24,
|
|
521
528
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
522
529
|
"font-size": d.value.axisNameFontSize,
|
|
523
530
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
524
531
|
"text-anchor": "middle"
|
|
525
|
-
},
|
|
532
|
+
}, R(a.name), 9, Lt),
|
|
526
533
|
e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(C, { key: 0 }, [
|
|
527
|
-
(u(!0), i(C, null,
|
|
534
|
+
(u(!0), i(C, null, I(a.ticks, (n) => (u(), i("line", {
|
|
528
535
|
x1: n.x,
|
|
529
536
|
x2: n.x - 10,
|
|
530
537
|
y1: n.y,
|
|
@@ -533,7 +540,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
533
540
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
534
541
|
style: T(`opacity:${y.value && !h.value.showTooltip ? 0.2 : 1}`)
|
|
535
542
|
}, null, 12, Ot))), 256)),
|
|
536
|
-
(u(!0), i(C, null,
|
|
543
|
+
(u(!0), i(C, null, I(a.ticks, (n) => (u(), i("text", {
|
|
537
544
|
x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
538
545
|
y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + d.value.ticksFontSize / 3,
|
|
539
546
|
fill: e.value.style.chart.yAxis.labels.ticks.color,
|
|
@@ -541,13 +548,13 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
541
548
|
"font-size": d.value.ticksFontSize,
|
|
542
549
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
543
550
|
style: T(`opacity:${y.value && !h.value.showTooltip ? 0.2 : 1}`)
|
|
544
|
-
},
|
|
551
|
+
}, R(xe({ value: n.value, index: o, datapoint: n })), 13, St))), 256))
|
|
545
552
|
], 64)) : m("", !0)
|
|
546
553
|
]))), 256)),
|
|
547
|
-
(u(!0), i(C, null,
|
|
548
|
-
(u(!0), i(C, null,
|
|
554
|
+
(u(!0), i(C, null, I(J.value, (a) => (u(), i("g", null, [
|
|
555
|
+
(u(!0), i(C, null, I(a.series, (o, n) => (u(), i("g", null, [
|
|
549
556
|
e.value.style.chart.plots.show ? (u(), i("g", Dt, [
|
|
550
|
-
(u(!0), i(C, null,
|
|
557
|
+
(u(!0), i(C, null, I(o.datapoints, (s) => (u(), z(gt, {
|
|
551
558
|
plot: { x: s.x, y: s.y },
|
|
552
559
|
color: a.color,
|
|
553
560
|
shape: a.shape,
|
|
@@ -576,9 +583,9 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
576
583
|
"font-size": d.value.ticksFontSize,
|
|
577
584
|
fill: a.color,
|
|
578
585
|
"font-weight": "bold"
|
|
579
|
-
},
|
|
586
|
+
}, R(o.name), 9, Rt)) : m("", !0)
|
|
580
587
|
], 64)),
|
|
581
|
-
e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 },
|
|
588
|
+
e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, I(o.datapoints, (s) => (u(), i("g", null, [
|
|
582
589
|
s.comment ? (u(), i("foreignObject", {
|
|
583
590
|
key: 0,
|
|
584
591
|
style: { overflow: "visible" },
|
|
@@ -587,21 +594,21 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
587
594
|
x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
|
|
588
595
|
y: s.y + e.value.style.chart.comments.offsetY + 6
|
|
589
596
|
}, [
|
|
590
|
-
|
|
591
|
-
|
|
597
|
+
F("div", Wt, [
|
|
598
|
+
f(t.$slots, "plot-comment", {
|
|
592
599
|
plot: { ...s, color: a.color }
|
|
593
600
|
}, void 0, !0)
|
|
594
601
|
])
|
|
595
602
|
], 8, Ut)) : m("", !0)
|
|
596
603
|
]))), 256)) : m("", !0)
|
|
597
604
|
])) : m("", !0),
|
|
598
|
-
h.value.dataLabels.show || y.value && y.value === o.id ? (u(!0), i(C, { key: 1 },
|
|
605
|
+
h.value.dataLabels.show || y.value && y.value === o.id ? (u(!0), i(C, { key: 1 }, I(o.datapoints, (s, r) => (u(), i("text", {
|
|
599
606
|
x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
600
607
|
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + d.value.datapointFontSize / 3,
|
|
601
608
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
602
609
|
"text-anchor": "start",
|
|
603
610
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
604
|
-
class:
|
|
611
|
+
class: W({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
|
|
605
612
|
"font-size": d.value.datapointFontSize,
|
|
606
613
|
onMouseenter: (A) => V({
|
|
607
614
|
shape: a.shape,
|
|
@@ -614,13 +621,13 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
614
621
|
y.value = null, L.value = !1;
|
|
615
622
|
}),
|
|
616
623
|
style: T(`opacity:${y.value ? y.value === o.id ? 1 : 0.2 : 1}`)
|
|
617
|
-
},
|
|
618
|
-
|
|
624
|
+
}, R(xe({ value: s.value, index: r, datapoint: s })), 45, Et))), 256)) : m("", !0),
|
|
625
|
+
F("path", {
|
|
619
626
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
620
627
|
stroke: a.color,
|
|
621
628
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
622
629
|
fill: "none",
|
|
623
|
-
class:
|
|
630
|
+
class: W({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
624
631
|
onMouseenter: (s) => V({
|
|
625
632
|
shape: a.shape,
|
|
626
633
|
serieName: a.name,
|
|
@@ -639,7 +646,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
639
646
|
stroke: "transparent",
|
|
640
647
|
"stroke-width": 12,
|
|
641
648
|
fill: "none",
|
|
642
|
-
class:
|
|
649
|
+
class: W({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
643
650
|
onMouseenter: (s) => V({
|
|
644
651
|
shape: a.shape,
|
|
645
652
|
serieName: a.name,
|
|
@@ -654,10 +661,10 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
654
661
|
}, null, 42, jt)) : m("", !0)
|
|
655
662
|
]))), 256))
|
|
656
663
|
]))), 256)),
|
|
657
|
-
|
|
658
|
-
], 14,
|
|
664
|
+
f(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
665
|
+
], 14, It)) : m("", !0),
|
|
659
666
|
t.$slots.watermark ? (u(), i("div", Bt, [
|
|
660
|
-
|
|
667
|
+
f(t.$slots, "watermark", S(D({ isPrinting: x(pe) || x(me) })), void 0, !0)
|
|
661
668
|
])) : m("", !0),
|
|
662
669
|
P.value ? m("", !0) : (u(), z(Ct, {
|
|
663
670
|
key: 6,
|
|
@@ -668,7 +675,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
668
675
|
}
|
|
669
676
|
}
|
|
670
677
|
}, null, 8, ["config"])),
|
|
671
|
-
|
|
678
|
+
F("div", {
|
|
672
679
|
ref_key: "chartLegend",
|
|
673
680
|
ref: le
|
|
674
681
|
}, [
|
|
@@ -681,15 +688,15 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
681
688
|
})
|
|
682
689
|
}, {
|
|
683
690
|
item: k(({ legend: a, index: o }) => [
|
|
684
|
-
|
|
691
|
+
F("div", {
|
|
685
692
|
onClick: (n) => {
|
|
686
693
|
a.segregate(), $e(a);
|
|
687
694
|
},
|
|
688
695
|
style: T(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
|
|
689
|
-
},
|
|
696
|
+
}, R(a.name), 13, Ht)
|
|
690
697
|
]),
|
|
691
698
|
_: 1
|
|
692
|
-
}, 8, ["legendSet", "config"])) :
|
|
699
|
+
}, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
|
|
693
700
|
key: 1,
|
|
694
701
|
legend: M.value
|
|
695
702
|
}, void 0, !0)
|
|
@@ -700,7 +707,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
700
707
|
ref: oe,
|
|
701
708
|
dir: "auto"
|
|
702
709
|
}, [
|
|
703
|
-
|
|
710
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
704
711
|
], 512)) : m("", !0),
|
|
705
712
|
Me(ft, {
|
|
706
713
|
show: h.value.showTooltip && L.value,
|
|
@@ -713,16 +720,16 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
713
720
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
714
721
|
position: e.value.style.chart.tooltip.position,
|
|
715
722
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
716
|
-
parent:
|
|
723
|
+
parent: U.value,
|
|
717
724
|
content: Q.value,
|
|
718
725
|
isFullscreen: N.value,
|
|
719
|
-
isCustom:
|
|
726
|
+
isCustom: x(Ie)(e.value.style.chart.tooltip.customFormat)
|
|
720
727
|
}, {
|
|
721
728
|
"tooltip-before": k(() => [
|
|
722
|
-
|
|
729
|
+
f(t.$slots, "tooltip-before", S(D({ ...K.value })), void 0, !0)
|
|
723
730
|
]),
|
|
724
731
|
"tooltip-after": k(() => [
|
|
725
|
-
|
|
732
|
+
f(t.$slots, "tooltip-after", S(D({ ...K.value })), void 0, !0)
|
|
726
733
|
]),
|
|
727
734
|
_: 3
|
|
728
735
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -753,10 +760,10 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
753
760
|
onClose: l[5] || (l[5] = (a) => h.value.showTable = !1)
|
|
754
761
|
}, {
|
|
755
762
|
th: k(({ th: a }) => [
|
|
756
|
-
|
|
763
|
+
F("div", { innerHTML: a }, null, 8, Gt)
|
|
757
764
|
]),
|
|
758
765
|
td: k(({ td: a }) => [
|
|
759
|
-
Ke(
|
|
766
|
+
Ke(R(a), 1)
|
|
760
767
|
]),
|
|
761
768
|
_: 1
|
|
762
769
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -765,7 +772,7 @@ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
|
|
|
765
772
|
}, 8, ["config"])) : m("", !0)
|
|
766
773
|
], 46, zt));
|
|
767
774
|
}
|
|
768
|
-
}, va = /* @__PURE__ */ Mt(Xt, [["__scopeId", "data-v-
|
|
775
|
+
}, va = /* @__PURE__ */ Mt(Xt, [["__scopeId", "data-v-e18960e9"]]);
|
|
769
776
|
export {
|
|
770
777
|
va as default
|
|
771
778
|
};
|