vue-data-ui 2.4.1 → 2.4.3
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 +44 -44
- package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { computed as p, ref as n, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { _ as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { computed as p, ref as n, watch as Fe, onMounted as We, onBeforeUnmount as Ie, openBlock as o, createElementBlock as i, normalizeClass as F, normalizeStyle as Q, createBlock as T, createCommentVNode as c, unref as d, createSlots as Me, withCtx as f, renderSlot as y, normalizeProps as W, guardReactiveProps as I, createVNode as ke, Fragment as g, renderList as C, createElementVNode as k, toDisplayString as L, mergeProps as De, createTextVNode as Ge, nextTick as Ee } from "vue";
|
|
2
|
+
import { u as Ve, c as Z, t as He, a as Re, p as A, o as Ue, e as ee, g as xe, b as Be, d as Ce, v as Xe, C as je, f as B, X as Ye, i as te, l as Je, h as qe, x as we, y as Ke, q as Qe, r as Ze, E as et } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as tt, u as lt } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as at } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as ot, U as st } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { _ as rt } from "./Tooltip-Cz24YLfw.js";
|
|
7
|
+
import { D as ut } from "./DataTable-DYqC2pqu.js";
|
|
8
|
+
import it from "./vue-ui-skeleton-BYssP0K4.js";
|
|
9
|
+
import { _ as nt } from "./Shape-Bwon0l0g.js";
|
|
10
|
+
import vt from "./vue-ui-accordion-DfUfL2dI.js";
|
|
11
|
+
import { u as $e } from "./useNestedProp-B33hazbH.js";
|
|
12
|
+
import { _ as ct } from "./PackageVersion-VkaUzgmt.js";
|
|
13
|
+
import { P as dt } from "./PenAndPaper-DAZYA8Ew.js";
|
|
14
|
+
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 }, mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gt = { key: 1 }, kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wt = ["x", "y", "fill", "font-size"], $t = ["x", "y", "font-size", "fill"], _t = ["fill", "font-size", "transform"], Tt = ["fill", "font-size", "x", "y"], Lt = ["x1", "x2", "y1", "y2", "stroke"], At = ["cx", "cy", "fill"], Pt = ["cx", "cy", "fill"], St = ["id"], zt = ["stop-color"], Nt = ["stop-color"], Ot = ["stop-color"], Ft = { key: 0 }, Wt = ["x", "y", "font-size", "fill"], It = {
|
|
16
|
+
key: 4,
|
|
16
17
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
18
|
+
}, Mt = ["innerHTML"], Dt = {
|
|
18
19
|
__name: "vue-ui-strip-plot",
|
|
19
20
|
props: {
|
|
20
21
|
config: {
|
|
@@ -31,210 +32,211 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
34
|
emits: ["selectDatapoint"],
|
|
34
|
-
setup(
|
|
35
|
-
const
|
|
35
|
+
setup(_e, { expose: Te, emit: Le }) {
|
|
36
|
+
const b = _e, { vue_ui_strip_plot: Ae } = Ve(), w = p({
|
|
36
37
|
get() {
|
|
37
|
-
return !!
|
|
38
|
+
return !!b.dataset && b.dataset.length;
|
|
38
39
|
},
|
|
39
40
|
set(t) {
|
|
40
41
|
return t;
|
|
41
42
|
}
|
|
42
|
-
}),
|
|
43
|
-
get: () =>
|
|
43
|
+
}), X = n(Z()), le = n(0), j = n(!1), Y = n(""), P = n(null), ae = n(null), oe = n(null), se = n(!1), re = n(0), ue = n(0), e = p({
|
|
44
|
+
get: () => ie(),
|
|
44
45
|
set: (t) => t
|
|
45
46
|
});
|
|
46
|
-
function
|
|
47
|
-
const t =
|
|
48
|
-
userConfig:
|
|
49
|
-
defaultConfig:
|
|
47
|
+
function ie() {
|
|
48
|
+
const t = $e({
|
|
49
|
+
userConfig: b.config,
|
|
50
|
+
defaultConfig: Ae
|
|
50
51
|
});
|
|
51
52
|
return t.theme ? {
|
|
52
|
-
|
|
53
|
-
userConfig:
|
|
53
|
+
...$e({
|
|
54
|
+
userConfig: He.vue_ui_strip_plot[t.theme] || b.config,
|
|
54
55
|
defaultConfig: t
|
|
55
56
|
}),
|
|
56
|
-
customPalette:
|
|
57
|
+
customPalette: Re[t.theme] || A
|
|
57
58
|
} : t;
|
|
58
59
|
}
|
|
59
|
-
|
|
60
|
-
e.value =
|
|
60
|
+
Fe(() => b.config, (t) => {
|
|
61
|
+
e.value = ie(), ne(), re.value += 1, ue.value += 1;
|
|
61
62
|
}, { deep: !0 });
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
const M = n(null);
|
|
64
|
+
We(() => {
|
|
65
|
+
ne();
|
|
65
66
|
});
|
|
66
|
-
function
|
|
67
|
-
if (
|
|
67
|
+
function ne() {
|
|
68
|
+
if (Ue(b.dataset) ? ee({
|
|
68
69
|
componentName: "VueUiStripPlot",
|
|
69
70
|
type: "dataset"
|
|
70
|
-
}) :
|
|
71
|
-
|
|
71
|
+
}) : b.dataset.forEach((t, s) => {
|
|
72
|
+
xe({
|
|
72
73
|
datasetObject: t,
|
|
73
74
|
requiredAttributes: ["name", "plots"]
|
|
74
75
|
}).forEach((l) => {
|
|
75
|
-
|
|
76
|
+
w.value = !1, ee({
|
|
76
77
|
componentName: "VueUiStripPlot",
|
|
77
78
|
type: "datasetSerieAttribute",
|
|
78
79
|
property: l,
|
|
79
|
-
index:
|
|
80
|
+
index: s
|
|
80
81
|
});
|
|
81
82
|
}), t.plots && t.plots.forEach((l, r) => {
|
|
82
|
-
|
|
83
|
+
xe({
|
|
83
84
|
datasetObject: l,
|
|
84
85
|
requiredAttributes: ["name", "value"]
|
|
85
86
|
}).forEach((u) => {
|
|
86
|
-
|
|
87
|
+
w.value = !1, ee({
|
|
87
88
|
componentName: "VueUiStripPlot",
|
|
88
89
|
type: "datasetSerieAttribute",
|
|
89
90
|
property: u,
|
|
90
|
-
index: `${
|
|
91
|
+
index: `${s},${r}`
|
|
91
92
|
});
|
|
92
93
|
});
|
|
93
94
|
});
|
|
94
95
|
}), e.value.responsive) {
|
|
95
|
-
const t =
|
|
96
|
-
const { width:
|
|
97
|
-
chart:
|
|
98
|
-
title: e.value.style.chart.title.text ?
|
|
96
|
+
const t = tt(() => {
|
|
97
|
+
const { width: s, height: l } = lt({
|
|
98
|
+
chart: P.value,
|
|
99
|
+
title: e.value.style.chart.title.text ? ae.value : null,
|
|
100
|
+
source: oe.value
|
|
99
101
|
});
|
|
100
|
-
|
|
101
|
-
relator: Math.min(l,
|
|
102
|
+
D.value = l, S.value.width = s, S.value.height = l, N.value = (s - m.value.left - m.value.right) / b.dataset.length, G.value = et({
|
|
103
|
+
relator: Math.min(l, s),
|
|
102
104
|
adjuster: 600,
|
|
103
105
|
source: e.value.style.chart.plots.radius,
|
|
104
106
|
threshold: 6,
|
|
105
107
|
fallback: 6
|
|
106
108
|
});
|
|
107
109
|
});
|
|
108
|
-
|
|
110
|
+
M.value = new ResizeObserver(t), M.value.observe(P.value.parentNode);
|
|
109
111
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
},
|
|
112
|
+
se.value = !0, setTimeout(() => {
|
|
113
|
+
z.value = !1;
|
|
114
|
+
}, Pe.value * 50);
|
|
113
115
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
Ie(() => {
|
|
117
|
+
M.value && M.value.disconnect();
|
|
116
118
|
});
|
|
117
|
-
const { isPrinting:
|
|
118
|
-
elementId: `strip-plot_${
|
|
119
|
+
const { isPrinting: ve, isImaging: ce, generatePdf: de, generateImage: he } = ot({
|
|
120
|
+
elementId: `strip-plot_${X.value}`,
|
|
119
121
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
120
|
-
}),
|
|
122
|
+
}), pe = p(() => Be(e.value.customPalette)), z = n(e.value.useCssAnimation), h = n({
|
|
121
123
|
showTable: e.value.table.show,
|
|
122
124
|
dataLabels: {
|
|
123
125
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
124
126
|
},
|
|
125
127
|
showTooltip: e.value.style.chart.tooltip.show
|
|
126
|
-
}),
|
|
128
|
+
}), m = n({
|
|
127
129
|
top: e.value.style.chart.padding.top,
|
|
128
130
|
bottom: e.value.style.chart.padding.bottom,
|
|
129
131
|
left: e.value.style.chart.padding.left,
|
|
130
132
|
right: e.value.style.chart.padding.right
|
|
131
|
-
}),
|
|
132
|
-
width:
|
|
133
|
+
}), N = n(e.value.style.chart.stripWidth), D = n(e.value.style.chart.height), G = n(e.value.style.chart.plots.radius), S = n({
|
|
134
|
+
width: N.value * b.dataset.length + m.value.left + m.value.right,
|
|
133
135
|
height: e.value.style.chart.height
|
|
134
136
|
}), a = p(() => {
|
|
135
|
-
const t =
|
|
137
|
+
const t = N.value * b.dataset.length + m.value.left + m.value.right;
|
|
136
138
|
return {
|
|
137
|
-
left:
|
|
138
|
-
right: t -
|
|
139
|
-
top:
|
|
140
|
-
bottom:
|
|
141
|
-
width:
|
|
142
|
-
height:
|
|
143
|
-
stripWidth:
|
|
144
|
-
absoluteHeight:
|
|
139
|
+
left: m.value.left,
|
|
140
|
+
right: t - m.value.right,
|
|
141
|
+
top: m.value.top,
|
|
142
|
+
bottom: D.value - m.value.bottom,
|
|
143
|
+
width: N.value * b.dataset.length,
|
|
144
|
+
height: D.value - m.value.top - m.value.bottom,
|
|
145
|
+
stripWidth: N.value,
|
|
146
|
+
absoluteHeight: D.value,
|
|
145
147
|
absoluteWidth: t
|
|
146
148
|
};
|
|
147
|
-
}),
|
|
148
|
-
const l =
|
|
149
|
+
}), E = p(() => w.value ? b.dataset.map((t, s) => {
|
|
150
|
+
const l = Z();
|
|
149
151
|
return {
|
|
150
152
|
...t,
|
|
151
153
|
id: l,
|
|
152
|
-
color: t.color ?
|
|
154
|
+
color: t.color ? Ce(t.color) : pe.value[s] || A[s] || A[s % A.length],
|
|
153
155
|
plots: t.plots.map((r) => ({
|
|
154
156
|
...r,
|
|
155
|
-
value:
|
|
157
|
+
value: Xe(r.value),
|
|
156
158
|
parentId: l,
|
|
157
|
-
color: t.color ?
|
|
158
|
-
id:
|
|
159
|
+
color: t.color ? Ce(t.color) : pe.value[s] || A[s] || A[s % A.length],
|
|
160
|
+
id: Z()
|
|
159
161
|
})).sort((r, u) => r.value - u.value)
|
|
160
162
|
};
|
|
161
|
-
}) : null),
|
|
163
|
+
}) : null), x = p(() => (E.value || []).map((t, s) => ({
|
|
162
164
|
...t,
|
|
163
165
|
plots: t.plots.map((l) => ({
|
|
164
166
|
...l,
|
|
165
|
-
x: a.value.left + (
|
|
167
|
+
x: a.value.left + (s + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
166
168
|
}))
|
|
167
|
-
}))),
|
|
168
|
-
const t =
|
|
169
|
+
}))), Pe = p(() => Math.max(...x.value.map((t) => t.plots.length))), J = p(() => {
|
|
170
|
+
const t = x.value.flatMap((s) => s.plots.map((l) => l.value));
|
|
169
171
|
return {
|
|
170
172
|
max: Math.max(...t),
|
|
171
173
|
min: Math.min(...t)
|
|
172
174
|
};
|
|
173
|
-
}),
|
|
175
|
+
}), $ = p(() => je(J.value.min < 0 ? J.value.min : 0, J.value.max, e.value.style.chart.grid.scaleSteps)), Se = p(() => (x.value || []).map((t, s) => ({
|
|
174
176
|
...t,
|
|
175
177
|
plots: t.plots.map((l) => ({
|
|
176
178
|
...l,
|
|
177
|
-
y: a.value.bottom - (l.value + Math.abs(
|
|
179
|
+
y: a.value.bottom - (l.value + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min)) * a.value.height
|
|
178
180
|
}))
|
|
179
|
-
}))),
|
|
180
|
-
y: a.value.bottom - a.value.height * ((t + Math.abs(
|
|
181
|
+
}))), fe = p(() => $.value.ticks.map((t) => ({
|
|
182
|
+
y: a.value.bottom - a.value.height * ((t + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min))),
|
|
181
183
|
x1: a.value.left,
|
|
182
184
|
x2: a.value.right,
|
|
183
185
|
value: t
|
|
184
|
-
}))),
|
|
185
|
-
function
|
|
186
|
-
|
|
186
|
+
}))), q = n(null), v = n(null);
|
|
187
|
+
function ze({ datapoint: t, seriesIndex: s }) {
|
|
188
|
+
q.value = { datapoint: t, seriesIndex: s, config: e.value, series: E.value }, j.value = !0, v.value = t;
|
|
187
189
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
188
|
-
if (
|
|
189
|
-
seriesIndex:
|
|
190
|
+
if (we(l) && Ke(() => l({
|
|
191
|
+
seriesIndex: s,
|
|
190
192
|
datapoint: t,
|
|
191
|
-
series:
|
|
193
|
+
series: E.value,
|
|
192
194
|
config: e.value
|
|
193
195
|
})))
|
|
194
|
-
|
|
195
|
-
seriesIndex:
|
|
196
|
+
Y.value = l({
|
|
197
|
+
seriesIndex: s,
|
|
196
198
|
datapoint: t,
|
|
197
|
-
series:
|
|
199
|
+
series: E.value,
|
|
198
200
|
config: e.value
|
|
199
201
|
});
|
|
200
202
|
else {
|
|
201
203
|
let r = "";
|
|
202
|
-
r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, r += `<div>${
|
|
204
|
+
r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, r += `<div>${te(
|
|
203
205
|
e.value.style.chart.labels.formatter,
|
|
204
206
|
t.value,
|
|
205
|
-
|
|
207
|
+
B({
|
|
206
208
|
p: e.value.style.chart.labels.prefix,
|
|
207
209
|
v: t.value,
|
|
208
210
|
s: e.value.style.chart.labels.suffix,
|
|
209
211
|
r: e.value.style.chart.tooltip.roundingValue
|
|
210
212
|
}),
|
|
211
|
-
{ datapoint: t, seriesIndex:
|
|
212
|
-
)}</div>`,
|
|
213
|
+
{ datapoint: t, seriesIndex: s }
|
|
214
|
+
)}</div>`, Y.value = `<div>${r}</div>`;
|
|
213
215
|
}
|
|
214
216
|
}
|
|
215
|
-
const
|
|
216
|
-
const t =
|
|
217
|
+
const V = p(() => {
|
|
218
|
+
const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, u) => u.value - r.value).map((r) => ({
|
|
217
219
|
name: `${l.name} - ${r.name}`,
|
|
218
220
|
color: r.color
|
|
219
|
-
}))),
|
|
220
|
-
return { head: t, body:
|
|
221
|
+
}))), s = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, u) => u.value - r.value).map((r) => r.value));
|
|
222
|
+
return { head: t, body: s };
|
|
221
223
|
});
|
|
222
|
-
function
|
|
223
|
-
|
|
224
|
-
const t =
|
|
224
|
+
function ye() {
|
|
225
|
+
Ee(() => {
|
|
226
|
+
const t = V.value.head.map((r, u) => [[
|
|
225
227
|
r.name
|
|
226
|
-
], [
|
|
227
|
-
|
|
228
|
+
], [V.value.body[u]]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(t), l = Qe(s);
|
|
229
|
+
Ze({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
228
230
|
});
|
|
229
231
|
}
|
|
230
|
-
const
|
|
232
|
+
const H = p(() => {
|
|
231
233
|
const t = [
|
|
232
234
|
e.value.table.columnNames.series,
|
|
233
235
|
e.value.table.columnNames.value
|
|
234
|
-
],
|
|
235
|
-
const
|
|
236
|
+
], s = V.value.head.map((u, _) => {
|
|
237
|
+
const U = B({
|
|
236
238
|
p: e.value.style.chart.labels.prefix,
|
|
237
|
-
v:
|
|
239
|
+
v: V.value.body[_],
|
|
238
240
|
s: e.value.style.chart.labels.suffix,
|
|
239
241
|
r: e.value.table.td.roundingValue
|
|
240
242
|
});
|
|
@@ -243,7 +245,7 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
243
245
|
color: u.color,
|
|
244
246
|
name: u.name
|
|
245
247
|
},
|
|
246
|
-
|
|
248
|
+
U
|
|
247
249
|
];
|
|
248
250
|
}), l = {
|
|
249
251
|
th: {
|
|
@@ -264,48 +266,61 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
264
266
|
e.value.table.columnNames.value
|
|
265
267
|
],
|
|
266
268
|
head: t,
|
|
267
|
-
body:
|
|
269
|
+
body: s,
|
|
268
270
|
config: l
|
|
269
271
|
};
|
|
270
272
|
}), O = n(!1);
|
|
271
|
-
function
|
|
272
|
-
O.value = t,
|
|
273
|
+
function Ne(t) {
|
|
274
|
+
O.value = t, le.value += 1;
|
|
273
275
|
}
|
|
274
|
-
function
|
|
275
|
-
return
|
|
276
|
+
function Oe() {
|
|
277
|
+
return x.value;
|
|
276
278
|
}
|
|
277
|
-
function
|
|
278
|
-
|
|
279
|
+
function be() {
|
|
280
|
+
h.value.showTable = !h.value.showTable;
|
|
279
281
|
}
|
|
280
|
-
function
|
|
281
|
-
|
|
282
|
+
function me() {
|
|
283
|
+
h.value.dataLabels.show = !h.value.dataLabels.show;
|
|
284
|
+
}
|
|
285
|
+
function ge() {
|
|
286
|
+
h.value.showTooltip = !h.value.showTooltip;
|
|
282
287
|
}
|
|
283
|
-
|
|
284
|
-
|
|
288
|
+
const R = n(!1);
|
|
289
|
+
function K() {
|
|
290
|
+
R.value = !R.value;
|
|
285
291
|
}
|
|
286
|
-
return
|
|
287
|
-
getData:
|
|
288
|
-
generatePdf:
|
|
289
|
-
generateCsv:
|
|
290
|
-
generateImage:
|
|
291
|
-
toggleTable:
|
|
292
|
-
toggleLabels:
|
|
293
|
-
toggleTooltip:
|
|
294
|
-
|
|
292
|
+
return Te({
|
|
293
|
+
getData: Oe,
|
|
294
|
+
generatePdf: de,
|
|
295
|
+
generateCsv: ye,
|
|
296
|
+
generateImage: he,
|
|
297
|
+
toggleTable: be,
|
|
298
|
+
toggleLabels: me,
|
|
299
|
+
toggleTooltip: ge,
|
|
300
|
+
toggleAnnotator: K
|
|
301
|
+
}), (t, s) => (o(), i("div", {
|
|
295
302
|
ref_key: "stripPlotChart",
|
|
296
|
-
ref:
|
|
303
|
+
ref: P,
|
|
297
304
|
class: F(`vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
298
|
-
style:
|
|
299
|
-
id: `strip-plot_${
|
|
305
|
+
style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
306
|
+
id: `strip-plot_${X.value}`
|
|
300
307
|
}, [
|
|
301
|
-
e.value.
|
|
308
|
+
e.value.userOptions.buttons.annotator ? (o(), T(dt, {
|
|
302
309
|
key: 0,
|
|
310
|
+
parent: P.value,
|
|
311
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
312
|
+
color: e.value.style.chart.color,
|
|
313
|
+
active: R.value,
|
|
314
|
+
onClose: K
|
|
315
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
316
|
+
e.value.style.chart.title.text ? (o(), i("div", {
|
|
317
|
+
key: 1,
|
|
303
318
|
ref_key: "chartTitle",
|
|
304
|
-
ref:
|
|
319
|
+
ref: ae,
|
|
305
320
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
306
321
|
}, [
|
|
307
|
-
(
|
|
308
|
-
key: `title_${
|
|
322
|
+
(o(), T(at, {
|
|
323
|
+
key: `title_${re.value}`,
|
|
309
324
|
config: {
|
|
310
325
|
title: {
|
|
311
326
|
cy: "donut-div-title",
|
|
@@ -318,14 +333,14 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
318
333
|
}
|
|
319
334
|
}, null, 8, ["config"]))
|
|
320
335
|
], 512)) : c("", !0),
|
|
321
|
-
e.value.userOptions.show &&
|
|
336
|
+
e.value.userOptions.show && w.value ? (o(), T(st, {
|
|
322
337
|
ref: "details",
|
|
323
|
-
key: `user_option_${
|
|
338
|
+
key: `user_option_${le.value}`,
|
|
324
339
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
325
340
|
color: e.value.style.chart.color,
|
|
326
|
-
isPrinting:
|
|
327
|
-
isImaging:
|
|
328
|
-
uid:
|
|
341
|
+
isPrinting: d(ve),
|
|
342
|
+
isImaging: d(ce),
|
|
343
|
+
uid: X.value,
|
|
329
344
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
330
345
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
331
346
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -333,80 +348,90 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
333
348
|
hasTable: e.value.userOptions.buttons.table,
|
|
334
349
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
335
350
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
336
|
-
isTooltip:
|
|
351
|
+
isTooltip: h.value.showTooltip,
|
|
337
352
|
isFullscreen: O.value,
|
|
338
353
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
339
|
-
chartElement:
|
|
354
|
+
chartElement: P.value,
|
|
340
355
|
position: e.value.userOptions.position,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
356
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
357
|
+
isAnnotation: R.value,
|
|
358
|
+
onToggleFullscreen: Ne,
|
|
359
|
+
onGeneratePdf: d(de),
|
|
360
|
+
onGenerateCsv: ye,
|
|
361
|
+
onGenerateImage: d(he),
|
|
362
|
+
onToggleTable: be,
|
|
363
|
+
onToggleLabels: me,
|
|
364
|
+
onToggleTooltip: ge,
|
|
365
|
+
onToggleAnnotator: K
|
|
366
|
+
}, Me({ _: 2 }, [
|
|
349
367
|
t.$slots.optionTooltip ? {
|
|
350
368
|
name: "optionTooltip",
|
|
351
|
-
fn:
|
|
352
|
-
|
|
369
|
+
fn: f(() => [
|
|
370
|
+
y(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
353
371
|
]),
|
|
354
372
|
key: "0"
|
|
355
373
|
} : void 0,
|
|
356
374
|
t.$slots.optionPdf ? {
|
|
357
375
|
name: "optionPdf",
|
|
358
|
-
fn:
|
|
359
|
-
|
|
376
|
+
fn: f(() => [
|
|
377
|
+
y(t.$slots, "optionPdf", {}, void 0, !0)
|
|
360
378
|
]),
|
|
361
379
|
key: "1"
|
|
362
380
|
} : void 0,
|
|
363
381
|
t.$slots.optionCsv ? {
|
|
364
382
|
name: "optionCsv",
|
|
365
|
-
fn:
|
|
366
|
-
|
|
383
|
+
fn: f(() => [
|
|
384
|
+
y(t.$slots, "optionCsv", {}, void 0, !0)
|
|
367
385
|
]),
|
|
368
386
|
key: "2"
|
|
369
387
|
} : void 0,
|
|
370
388
|
t.$slots.optionImg ? {
|
|
371
389
|
name: "optionImg",
|
|
372
|
-
fn:
|
|
373
|
-
|
|
390
|
+
fn: f(() => [
|
|
391
|
+
y(t.$slots, "optionImg", {}, void 0, !0)
|
|
374
392
|
]),
|
|
375
393
|
key: "3"
|
|
376
394
|
} : void 0,
|
|
377
395
|
t.$slots.optionTable ? {
|
|
378
396
|
name: "optionTable",
|
|
379
|
-
fn:
|
|
380
|
-
|
|
397
|
+
fn: f(() => [
|
|
398
|
+
y(t.$slots, "optionTable", {}, void 0, !0)
|
|
381
399
|
]),
|
|
382
400
|
key: "4"
|
|
383
401
|
} : void 0,
|
|
384
402
|
t.$slots.optionLabels ? {
|
|
385
403
|
name: "optionLabels",
|
|
386
|
-
fn:
|
|
387
|
-
|
|
404
|
+
fn: f(() => [
|
|
405
|
+
y(t.$slots, "optionLabels", {}, void 0, !0)
|
|
388
406
|
]),
|
|
389
407
|
key: "5"
|
|
390
408
|
} : void 0,
|
|
391
409
|
t.$slots.optionFullscreen ? {
|
|
392
410
|
name: "optionFullscreen",
|
|
393
|
-
fn:
|
|
394
|
-
|
|
411
|
+
fn: f(({ toggleFullscreen: l, isFullscreen: r }) => [
|
|
412
|
+
y(t.$slots, "optionFullscreen", W(I({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
|
|
395
413
|
]),
|
|
396
414
|
key: "6"
|
|
415
|
+
} : void 0,
|
|
416
|
+
t.$slots.optionAnnotator ? {
|
|
417
|
+
name: "optionAnnotator",
|
|
418
|
+
fn: f(({ toggleAnnotator: l, isAnnotator: r }) => [
|
|
419
|
+
y(t.$slots, "optionAnnotator", W(I({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
|
|
420
|
+
]),
|
|
421
|
+
key: "7"
|
|
397
422
|
} : void 0
|
|
398
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
399
|
-
|
|
400
|
-
key:
|
|
401
|
-
xmlns:
|
|
423
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
424
|
+
w.value ? (o(), i("svg", {
|
|
425
|
+
key: 3,
|
|
426
|
+
xmlns: d(Ye),
|
|
402
427
|
class: F({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
403
428
|
viewBox: `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`,
|
|
404
|
-
style:
|
|
429
|
+
style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
405
430
|
}, [
|
|
406
|
-
|
|
407
|
-
e.value.style.chart.grid.show ? (
|
|
408
|
-
e.value.style.chart.grid.horizontalGrid.show ? (
|
|
409
|
-
(
|
|
431
|
+
ke(ct),
|
|
432
|
+
e.value.style.chart.grid.show ? (o(), i("g", yt, [
|
|
433
|
+
e.value.style.chart.grid.horizontalGrid.show ? (o(), i("g", bt, [
|
|
434
|
+
(o(!0), i(g, null, C(fe.value, (l) => (o(), i("line", {
|
|
410
435
|
x1: l.x1,
|
|
411
436
|
x2: l.x2,
|
|
412
437
|
y1: l.y,
|
|
@@ -415,10 +440,10 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
415
440
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
416
441
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
417
442
|
"stroke-linecap": "round"
|
|
418
|
-
}, null, 8,
|
|
443
|
+
}, null, 8, mt))), 256))
|
|
419
444
|
])) : c("", !0),
|
|
420
|
-
e.value.style.chart.grid.verticalGrid.show ? (
|
|
421
|
-
(
|
|
445
|
+
e.value.style.chart.grid.verticalGrid.show ? (o(), i("g", gt, [
|
|
446
|
+
(o(!0), i(g, null, C(x.value, (l, r) => (o(), i("line", {
|
|
422
447
|
x1: a.value.left + (r + 1) * a.value.stripWidth,
|
|
423
448
|
x2: a.value.left + (r + 1) * a.value.stripWidth,
|
|
424
449
|
y1: a.value.top,
|
|
@@ -427,9 +452,9 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
427
452
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
428
453
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
429
454
|
"stroke-linecap": "round"
|
|
430
|
-
}, null, 8,
|
|
455
|
+
}, null, 8, kt))), 256))
|
|
431
456
|
])) : c("", !0),
|
|
432
|
-
|
|
457
|
+
k("line", {
|
|
433
458
|
x1: a.value.left,
|
|
434
459
|
x2: a.value.left,
|
|
435
460
|
y1: a.value.top,
|
|
@@ -437,8 +462,8 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
437
462
|
stroke: e.value.style.chart.grid.stroke,
|
|
438
463
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
439
464
|
"stroke-linecap": "round"
|
|
440
|
-
}, null, 8,
|
|
441
|
-
|
|
465
|
+
}, null, 8, xt),
|
|
466
|
+
k("line", {
|
|
442
467
|
x1: a.value.left,
|
|
443
468
|
x2: a.value.right,
|
|
444
469
|
y1: a.value.bottom,
|
|
@@ -446,49 +471,49 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
446
471
|
stroke: e.value.style.chart.grid.stroke,
|
|
447
472
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
448
473
|
"stroke-linecap": "round"
|
|
449
|
-
}, null, 8,
|
|
474
|
+
}, null, 8, Ct)
|
|
450
475
|
])) : c("", !0),
|
|
451
|
-
e.value.style.chart.labels.yAxisLabels.show ? (
|
|
476
|
+
e.value.style.chart.labels.yAxisLabels.show ? (o(!0), i(g, { key: 1 }, C(fe.value, (l, r) => (o(), i("text", {
|
|
452
477
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
453
478
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
454
479
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
455
480
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
456
481
|
"text-anchor": "end"
|
|
457
|
-
},
|
|
482
|
+
}, L(d(te)(
|
|
458
483
|
e.value.style.chart.labels.formatter,
|
|
459
484
|
l.value,
|
|
460
|
-
|
|
485
|
+
d(B)({
|
|
461
486
|
p: e.value.style.chart.labels.prefix,
|
|
462
487
|
v: l.value,
|
|
463
488
|
s: e.value.style.chart.labels.suffix,
|
|
464
489
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
465
490
|
}),
|
|
466
491
|
{ datapoint: l, seriesIndex: r }
|
|
467
|
-
)), 9,
|
|
468
|
-
e.value.style.chart.labels.xAxisLabels.show ? (
|
|
492
|
+
)), 9, wt))), 256)) : c("", !0),
|
|
493
|
+
e.value.style.chart.labels.xAxisLabels.show ? (o(!0), i(g, { key: 2 }, C(x.value, (l, r) => (o(), i("text", {
|
|
469
494
|
x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
470
495
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
471
496
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
472
497
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
473
498
|
"text-anchor": "middle"
|
|
474
|
-
},
|
|
475
|
-
e.value.style.chart.labels.axis.yLabel ? (
|
|
499
|
+
}, L(l.name), 9, $t))), 256)) : c("", !0),
|
|
500
|
+
e.value.style.chart.labels.axis.yLabel ? (o(), i("text", {
|
|
476
501
|
key: 3,
|
|
477
502
|
fill: e.value.style.chart.labels.axis.color,
|
|
478
503
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
479
504
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize + e.value.style.chart.labels.axis.yLabelOffsetX}, ${a.value.top + a.value.height / 2}) rotate(-90)`,
|
|
480
505
|
"text-anchor": "middle"
|
|
481
|
-
},
|
|
482
|
-
e.value.style.chart.labels.axis.xLabel ? (
|
|
506
|
+
}, L(e.value.style.chart.labels.axis.yLabel), 9, _t)) : c("", !0),
|
|
507
|
+
e.value.style.chart.labels.axis.xLabel ? (o(), i("text", {
|
|
483
508
|
key: 4,
|
|
484
509
|
fill: e.value.style.chart.labels.axis.color,
|
|
485
510
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
486
511
|
x: a.value.left + a.value.width / 2,
|
|
487
512
|
y: a.value.absoluteHeight,
|
|
488
513
|
"text-anchor": "middle"
|
|
489
|
-
},
|
|
490
|
-
v.value ? (
|
|
491
|
-
|
|
514
|
+
}, L(e.value.style.chart.labels.axis.xLabel), 9, Tt)) : c("", !0),
|
|
515
|
+
v.value ? (o(), i(g, { key: 5 }, [
|
|
516
|
+
k("line", {
|
|
492
517
|
x1: a.value.left,
|
|
493
518
|
x2: a.value.right,
|
|
494
519
|
y1: v.value.y,
|
|
@@ -496,88 +521,88 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
496
521
|
stroke: v.value.color,
|
|
497
522
|
"stroke-width": 1,
|
|
498
523
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
499
|
-
}, null, 10,
|
|
500
|
-
|
|
524
|
+
}, null, 10, Lt),
|
|
525
|
+
k("circle", {
|
|
501
526
|
cx: a.value.left,
|
|
502
527
|
cy: v.value.y,
|
|
503
528
|
r: 3,
|
|
504
529
|
fill: v.value.color,
|
|
505
530
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
506
|
-
}, null, 10,
|
|
507
|
-
|
|
531
|
+
}, null, 10, At),
|
|
532
|
+
k("circle", {
|
|
508
533
|
cx: a.value.right,
|
|
509
534
|
cy: v.value.y,
|
|
510
535
|
r: 3,
|
|
511
536
|
fill: v.value.color,
|
|
512
537
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
513
|
-
}, null, 10,
|
|
538
|
+
}, null, 10, Pt)
|
|
514
539
|
], 64)) : c("", !0),
|
|
515
|
-
|
|
516
|
-
(
|
|
540
|
+
k("defs", null, [
|
|
541
|
+
(o(!0), i(g, null, C(x.value, (l) => (o(), i("radialGradient", {
|
|
517
542
|
id: l.id,
|
|
518
543
|
fy: "30%"
|
|
519
544
|
}, [
|
|
520
|
-
|
|
545
|
+
k("stop", {
|
|
521
546
|
offset: "10%",
|
|
522
|
-
"stop-color":
|
|
523
|
-
}, null, 8,
|
|
524
|
-
|
|
547
|
+
"stop-color": d(Je)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
548
|
+
}, null, 8, zt),
|
|
549
|
+
k("stop", {
|
|
525
550
|
offset: "90%",
|
|
526
|
-
"stop-color":
|
|
527
|
-
}, null, 8,
|
|
528
|
-
|
|
551
|
+
"stop-color": d(qe)(l.color, 0.1)
|
|
552
|
+
}, null, 8, Nt),
|
|
553
|
+
k("stop", {
|
|
529
554
|
offset: "100%",
|
|
530
555
|
"stop-color": l.color
|
|
531
|
-
}, null, 8,
|
|
532
|
-
], 8,
|
|
556
|
+
}, null, 8, Ot)
|
|
557
|
+
], 8, St))), 256))
|
|
533
558
|
]),
|
|
534
|
-
(
|
|
535
|
-
(
|
|
536
|
-
plot: { x: u.x, y:
|
|
537
|
-
radius: v.value && v.value.id === u.id ?
|
|
559
|
+
(o(!0), i(g, null, C(Se.value, (l, r) => (o(), i(g, null, [
|
|
560
|
+
(o(!0), i(g, null, C(l.plots, (u, _) => (o(), T(nt, De({
|
|
561
|
+
plot: { x: u.x, y: se.value ? u.y : a.value.top },
|
|
562
|
+
radius: v.value && v.value.id === u.id ? G.value * 1.5 : G.value,
|
|
538
563
|
shape: e.value.style.chart.plots.shape,
|
|
539
564
|
stroke: e.value.style.chart.plots.stroke,
|
|
540
565
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
541
566
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
542
|
-
onMouseenter: (
|
|
543
|
-
onMouseleave:
|
|
544
|
-
|
|
567
|
+
onMouseenter: (U) => ze({ datapoint: u, seriesIndex: _ }),
|
|
568
|
+
onMouseleave: s[0] || (s[0] = (U) => {
|
|
569
|
+
j.value = !1, v.value = null;
|
|
545
570
|
}),
|
|
546
|
-
onClick: (
|
|
547
|
-
style: `transition: all 0.2s ease-in-out; opacity:${v.value ? v.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${
|
|
548
|
-
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation &&
|
|
571
|
+
onClick: (U) => Le("selectDatapoint", u),
|
|
572
|
+
style: `transition: all 0.2s ease-in-out; opacity:${v.value ? v.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${z.value ? `transition-delay:${_ * 50}ms` : ""}`,
|
|
573
|
+
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && z.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !z.value }
|
|
549
574
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
550
|
-
|
|
551
|
-
(
|
|
552
|
-
|
|
575
|
+
h.value.dataLabels.show ? (o(), i("g", Ft, [
|
|
576
|
+
(o(!0), i(g, null, C(l.plots, (u, _) => (o(), i(g, null, [
|
|
577
|
+
_ === l.plots.length - 1 || v.value && v.value.id === u.id && !h.value.showTooltip ? (o(), i("text", {
|
|
553
578
|
key: 0,
|
|
554
579
|
x: u.x,
|
|
555
|
-
y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY -
|
|
580
|
+
y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (v.value && v.value.id === u.id && !h.value.showTooltip ? 2 : 1.5),
|
|
556
581
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
557
582
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
558
583
|
"text-anchor": "middle",
|
|
559
|
-
style:
|
|
560
|
-
},
|
|
584
|
+
style: Q(`opacity:${e.value.useCssAnimation && z.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
|
|
585
|
+
}, L(u.name) + " " + L(e.value.style.chart.labels.bestPlotLabel.showValue ? d(te)(
|
|
561
586
|
e.value.style.chart.labels.formatter,
|
|
562
587
|
u.value,
|
|
563
|
-
|
|
588
|
+
d(B)({
|
|
564
589
|
p: `(${e.value.style.chart.labels.prefix}`,
|
|
565
590
|
v: u.value,
|
|
566
591
|
s: `${e.value.style.chart.labels.suffix})`,
|
|
567
592
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
568
593
|
}),
|
|
569
|
-
{ datapoint: u, seriesIndex:
|
|
570
|
-
) : ""), 13,
|
|
594
|
+
{ datapoint: u, seriesIndex: _ }
|
|
595
|
+
) : ""), 13, Wt)) : c("", !0)
|
|
571
596
|
], 64))), 256))
|
|
572
597
|
])) : c("", !0)
|
|
573
598
|
], 64))), 256)),
|
|
574
|
-
|
|
575
|
-
], 14,
|
|
576
|
-
t.$slots.watermark ? (
|
|
577
|
-
|
|
599
|
+
y(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
600
|
+
], 14, ft)) : c("", !0),
|
|
601
|
+
t.$slots.watermark ? (o(), i("div", It, [
|
|
602
|
+
y(t.$slots, "watermark", W(I({ isPrinting: d(ve) || d(ce) })), void 0, !0)
|
|
578
603
|
])) : c("", !0),
|
|
579
|
-
|
|
580
|
-
key:
|
|
604
|
+
w.value ? c("", !0) : (o(), T(it, {
|
|
605
|
+
key: 5,
|
|
581
606
|
config: {
|
|
582
607
|
type: "stripPlot",
|
|
583
608
|
style: {
|
|
@@ -588,8 +613,16 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
588
613
|
}
|
|
589
614
|
}
|
|
590
615
|
}, null, 8, ["config"])),
|
|
591
|
-
|
|
592
|
-
|
|
616
|
+
t.$slots.source ? (o(), i("div", {
|
|
617
|
+
key: 6,
|
|
618
|
+
ref_key: "source",
|
|
619
|
+
ref: oe,
|
|
620
|
+
dir: "auto"
|
|
621
|
+
}, [
|
|
622
|
+
y(t.$slots, "source", {}, void 0, !0)
|
|
623
|
+
], 512)) : c("", !0),
|
|
624
|
+
ke(rt, {
|
|
625
|
+
show: h.value.showTooltip && j.value,
|
|
593
626
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
594
627
|
color: e.value.style.chart.tooltip.color,
|
|
595
628
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -599,23 +632,23 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
599
632
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
600
633
|
position: e.value.style.chart.tooltip.position,
|
|
601
634
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
602
|
-
parent:
|
|
603
|
-
content:
|
|
604
|
-
isCustom:
|
|
635
|
+
parent: P.value,
|
|
636
|
+
content: Y.value,
|
|
637
|
+
isCustom: d(we)(e.value.style.chart.tooltip.customFormat)
|
|
605
638
|
}, {
|
|
606
|
-
"tooltip-before":
|
|
607
|
-
|
|
639
|
+
"tooltip-before": f(() => [
|
|
640
|
+
y(t.$slots, "tooltip-before", W(I({ ...q.value })), void 0, !0)
|
|
608
641
|
]),
|
|
609
|
-
"tooltip-after":
|
|
610
|
-
|
|
642
|
+
"tooltip-after": f(() => [
|
|
643
|
+
y(t.$slots, "tooltip-after", W(I({ ...q.value })), void 0, !0)
|
|
611
644
|
]),
|
|
612
645
|
_: 3
|
|
613
646
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
614
|
-
|
|
615
|
-
key:
|
|
647
|
+
w.value ? (o(), T(vt, {
|
|
648
|
+
key: 7,
|
|
616
649
|
hideDetails: "",
|
|
617
650
|
config: {
|
|
618
|
-
open:
|
|
651
|
+
open: h.value.showTable,
|
|
619
652
|
maxHeight: 1e4,
|
|
620
653
|
body: {
|
|
621
654
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -627,33 +660,33 @@ const vt = ["id"], ct = ["xmlns", "viewBox"], ht = { key: 0 }, dt = { key: 0 },
|
|
|
627
660
|
}
|
|
628
661
|
}
|
|
629
662
|
}, {
|
|
630
|
-
content:
|
|
631
|
-
(
|
|
632
|
-
key: `table_${
|
|
633
|
-
colNames:
|
|
634
|
-
head:
|
|
635
|
-
body:
|
|
636
|
-
config:
|
|
663
|
+
content: f(() => [
|
|
664
|
+
(o(), T(ut, {
|
|
665
|
+
key: `table_${ue.value}`,
|
|
666
|
+
colNames: H.value.colNames,
|
|
667
|
+
head: H.value.head,
|
|
668
|
+
body: H.value.body,
|
|
669
|
+
config: H.value.config,
|
|
637
670
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
638
|
-
onClose:
|
|
671
|
+
onClose: s[1] || (s[1] = (l) => h.value.showTable = !1)
|
|
639
672
|
}, {
|
|
640
|
-
th:
|
|
641
|
-
|
|
673
|
+
th: f(({ th: l }) => [
|
|
674
|
+
k("div", {
|
|
642
675
|
innerHTML: l,
|
|
643
676
|
style: { display: "flex", "align-items": "center" }
|
|
644
|
-
}, null, 8,
|
|
677
|
+
}, null, 8, Mt)
|
|
645
678
|
]),
|
|
646
|
-
td:
|
|
647
|
-
|
|
679
|
+
td: f(({ td: l }) => [
|
|
680
|
+
Ge(L(l.name || l), 1)
|
|
648
681
|
]),
|
|
649
682
|
_: 1
|
|
650
683
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
651
684
|
]),
|
|
652
685
|
_: 1
|
|
653
686
|
}, 8, ["config"])) : c("", !0)
|
|
654
|
-
], 14,
|
|
687
|
+
], 14, pt));
|
|
655
688
|
}
|
|
656
|
-
},
|
|
689
|
+
}, Zt = /* @__PURE__ */ ht(Dt, [["__scopeId", "data-v-f6133f25"]]);
|
|
657
690
|
export {
|
|
658
|
-
|
|
691
|
+
Zt as default
|
|
659
692
|
};
|