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,19 +1,20 @@
|
|
|
1
|
-
import { computed as p, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
7
|
-
import
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { computed as p, ref as v, watch as ce, onMounted as de, onBeforeUnmount as Xe, openBlock as o, createElementBlock as r, normalizeClass as ve, normalizeStyle as H, createBlock as L, createCommentVNode as b, unref as d, createSlots as Se, withCtx as _, renderSlot as k, normalizeProps as W, guardReactiveProps as R, createVNode as Ne, Fragment as w, renderList as $, createElementVNode as n, toDisplayString as A, createTextVNode as he, nextTick as Pe } from "vue";
|
|
2
|
+
import { u as Te, c as ye, t as Ge, o as De, e as be, g as Ie, v as fe, C as Me, f as z, X as ge, i as B, l as me, h as pe, q as Fe, r as Oe } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as Ve, u as Ee } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as He } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as We, U as Re } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { D as Be } from "./DataTable-DYqC2pqu.js";
|
|
7
|
+
import Ue from "./vue-ui-skeleton-BYssP0K4.js";
|
|
8
|
+
import { L as je } from "./Legend-DNgTCgEK.js";
|
|
9
|
+
import qe from "./vue-ui-accordion-DfUfL2dI.js";
|
|
10
|
+
import { u as _e } from "./useNestedProp-B33hazbH.js";
|
|
11
|
+
import { _ as Ye } from "./PackageVersion-VkaUzgmt.js";
|
|
12
|
+
import { P as Ze } from "./PenAndPaper-DAZYA8Ew.js";
|
|
13
|
+
import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const Ke = ["id"], Qe = ["xmlns", "viewBox"], et = { key: 0 }, tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], lt = { key: 1 }, at = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], st = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ot = { key: 2 }, rt = ["x", "y", "font-size", "fill", "font-weight"], nt = ["x", "y", "font-size", "fill"], ut = { key: 3 }, it = ["x", "y", "font-size", "fill", "font-weight"], ct = ["id"], dt = ["stop-color"], vt = ["stop-color"], ht = ["stop-color"], yt = ["id"], bt = ["stop-color"], ft = ["stop-color"], gt = ["stop-color"], mt = ["id"], pt = ["stop-color"], _t = ["stop-color"], kt = ["id"], xt = ["stop-color"], Ct = ["stop-color"], wt = { key: 0 }, $t = ["d", "fill"], Lt = { key: 1 }, At = ["x", "y", "height", "width", "fill"], zt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], St = { key: 2 }, Nt = ["x", "y", "fill", "font-size"], Pt = { key: 3 }, Tt = ["x", "y", "fill", "font-size"], Gt = {
|
|
15
|
+
key: 4,
|
|
15
16
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
17
|
+
}, Dt = ["xmlns", "height", "width"], It = ["fill"], Mt = ["innerHTML"], Ft = {
|
|
17
18
|
__name: "vue-ui-dumbbell",
|
|
18
19
|
props: {
|
|
19
20
|
config: {
|
|
@@ -30,49 +31,49 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
emits: ["selectDatapoint"],
|
|
33
|
-
setup(
|
|
34
|
-
const m =
|
|
34
|
+
setup(ke, { expose: xe, emit: Ot }) {
|
|
35
|
+
const m = ke, { vue_ui_dumbbell: Ce } = Te(), X = p({
|
|
35
36
|
get() {
|
|
36
37
|
return !!m.dataset && m.dataset.length;
|
|
37
38
|
},
|
|
38
39
|
set(l) {
|
|
39
40
|
return l;
|
|
40
41
|
}
|
|
41
|
-
}),
|
|
42
|
-
get: () =>
|
|
42
|
+
}), y = v(ye()), U = v(0), S = v(null), j = v(null), q = v(null), Y = v(null), Z = v(0), J = v(0), K = v(0), e = p({
|
|
43
|
+
get: () => Q(),
|
|
43
44
|
set: (l) => l
|
|
44
45
|
});
|
|
45
|
-
function
|
|
46
|
-
const l =
|
|
46
|
+
function Q() {
|
|
47
|
+
const l = _e({
|
|
47
48
|
userConfig: m.config,
|
|
48
|
-
defaultConfig:
|
|
49
|
+
defaultConfig: Ce
|
|
49
50
|
});
|
|
50
51
|
return l.theme ? {
|
|
51
|
-
...
|
|
52
|
-
userConfig:
|
|
52
|
+
..._e({
|
|
53
|
+
userConfig: Ge.vue_ui_dumbbell[l.theme] || m.config,
|
|
53
54
|
defaultConfig: l
|
|
54
55
|
})
|
|
55
56
|
} : l;
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
e.value =
|
|
59
|
-
}, { deep: !0 }),
|
|
60
|
-
|
|
58
|
+
ce(() => m.config, (l) => {
|
|
59
|
+
e.value = Q(), ee(), Z.value += 1, J.value += 1, K.value += 1, h.value = e.value.style.chart.rowHeight, N.value = e.value.style.chart.width;
|
|
60
|
+
}, { deep: !0 }), ce(() => m.dataset, (l) => {
|
|
61
|
+
re();
|
|
61
62
|
}, { deep: !0 });
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
const T = v(null);
|
|
64
|
+
de(() => {
|
|
65
|
+
ee();
|
|
65
66
|
});
|
|
66
|
-
function
|
|
67
|
-
if (
|
|
67
|
+
function ee() {
|
|
68
|
+
if (De(m.dataset) ? be({
|
|
68
69
|
componentName: "VueUiDumbbell",
|
|
69
70
|
type: "dataset"
|
|
70
71
|
}) : m.dataset.forEach((l, u) => {
|
|
71
|
-
|
|
72
|
+
Ie({
|
|
72
73
|
datasetObject: l,
|
|
73
74
|
requiredAttributes: ["name", "start", "end"]
|
|
74
75
|
}).forEach((t) => {
|
|
75
|
-
X.value = !1,
|
|
76
|
+
X.value = !1, be({
|
|
76
77
|
componentName: "VueUiDumbbell",
|
|
77
78
|
type: "datasetSerieAttribute",
|
|
78
79
|
property: t,
|
|
@@ -80,35 +81,36 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
80
81
|
});
|
|
81
82
|
});
|
|
82
83
|
}), e.value.responsive) {
|
|
83
|
-
const l =
|
|
84
|
-
const { width: u, height: t } =
|
|
85
|
-
chart:
|
|
86
|
-
title: e.value.style.chart.title.text ?
|
|
87
|
-
legend: e.value.style.chart.legend.show ?
|
|
84
|
+
const l = Ve(() => {
|
|
85
|
+
const { width: u, height: t } = Ee({
|
|
86
|
+
chart: S.value,
|
|
87
|
+
title: e.value.style.chart.title.text ? j.value : null,
|
|
88
|
+
legend: e.value.style.chart.legend.show ? q.value : null,
|
|
89
|
+
source: Y.value
|
|
88
90
|
});
|
|
89
|
-
N.value = u,
|
|
91
|
+
N.value = u, h.value = t / m.dataset.length, f.value = D();
|
|
90
92
|
});
|
|
91
|
-
|
|
93
|
+
T.value = new ResizeObserver(l), T.value.observe(S.value.parentNode);
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
Xe(() => {
|
|
97
|
+
T.value && T.value.disconnect();
|
|
96
98
|
});
|
|
97
|
-
const { isPrinting:
|
|
98
|
-
elementId: `dumbbell_${
|
|
99
|
+
const { isPrinting: te, isImaging: le, generatePdf: ae, generateImage: se } = We({
|
|
100
|
+
elementId: `dumbbell_${y.value}`,
|
|
99
101
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
100
|
-
}), G =
|
|
102
|
+
}), G = v({
|
|
101
103
|
showTable: e.value.table.show
|
|
102
104
|
}), x = p(() => m.dataset.map((l, u) => ({
|
|
103
105
|
...l,
|
|
104
|
-
start:
|
|
105
|
-
end:
|
|
106
|
-
id:
|
|
107
|
-
}))),
|
|
106
|
+
start: fe(l.start),
|
|
107
|
+
end: fe(l.end),
|
|
108
|
+
id: ye()
|
|
109
|
+
}))), O = p(() => ({
|
|
108
110
|
max: Math.max(...x.value.flatMap((l) => [l.start, l.end])),
|
|
109
111
|
min: Math.min(...x.value.flatMap((l) => [l.start, l.end]))
|
|
110
|
-
})), c = p(() =>
|
|
111
|
-
const l =
|
|
112
|
+
})), c = p(() => Me(O.value.min < 0 ? O.value.min : 0, O.value.max, e.value.style.chart.grid.scaleSteps)), h = v(e.value.style.chart.rowHeight), N = v(e.value.style.chart.width), s = p(() => {
|
|
113
|
+
const l = h.value, u = e.value.style.chart.padding.left + e.value.style.chart.padding.right + N.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l * m.dataset.length, a = c.value.ticks.length * (N.value / c.value.ticks.length);
|
|
112
114
|
return {
|
|
113
115
|
left: e.value.style.chart.padding.left,
|
|
114
116
|
right: u - e.value.style.chart.padding.right,
|
|
@@ -119,50 +121,50 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
119
121
|
rowHeight: l,
|
|
120
122
|
absoluteHeight: t,
|
|
121
123
|
absoluteWidth: u,
|
|
122
|
-
widthPlotReference:
|
|
124
|
+
widthPlotReference: a
|
|
123
125
|
};
|
|
124
126
|
});
|
|
125
127
|
function D() {
|
|
126
128
|
return x.value.map((l, u) => {
|
|
127
|
-
const t =
|
|
129
|
+
const t = s.value.left + (l.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, a = s.value.left + (l.end + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, i = t + (a - t) / 2;
|
|
128
130
|
return {
|
|
129
131
|
...l,
|
|
130
132
|
startX: t,
|
|
131
|
-
endX:
|
|
133
|
+
endX: a,
|
|
132
134
|
centerX: i,
|
|
133
|
-
y:
|
|
135
|
+
y: s.value.top + u * h.value + h.value / 2,
|
|
134
136
|
endVal: l.start
|
|
135
137
|
};
|
|
136
138
|
});
|
|
137
139
|
}
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
const f = v([]), oe = v(null), we = p(() => x.value.map((l) => l.end).reduce((l, u) => l + u, 0));
|
|
141
|
+
de(() => {
|
|
142
|
+
re();
|
|
141
143
|
});
|
|
142
|
-
function
|
|
143
|
-
|
|
144
|
-
let l =
|
|
144
|
+
function re() {
|
|
145
|
+
f.value = D();
|
|
146
|
+
let l = f.value.map((t) => t.start).reduce((t, a) => t + a, 0);
|
|
145
147
|
function u() {
|
|
146
|
-
const t = x.value.map((
|
|
147
|
-
l >=
|
|
148
|
-
|
|
149
|
-
const
|
|
148
|
+
const t = x.value.map((a) => a.end - a.start);
|
|
149
|
+
l >= we.value ? (cancelAnimationFrame(oe.value), f.value = D()) : (f.value = f.value.map((a, i) => {
|
|
150
|
+
a.endVal += t[i] * (e.value.animationSpeed / 100);
|
|
151
|
+
const g = s.value.left + (a.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, F = s.value.left + (a.endVal + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, E = g + (F - g) / 2;
|
|
150
152
|
return {
|
|
151
|
-
...
|
|
152
|
-
startX:
|
|
153
|
-
endX:
|
|
154
|
-
centerX:
|
|
155
|
-
y:
|
|
156
|
-
endVal:
|
|
153
|
+
...a,
|
|
154
|
+
startX: g,
|
|
155
|
+
endX: F,
|
|
156
|
+
centerX: E,
|
|
157
|
+
y: s.value.top + i * h.value + h.value / 2,
|
|
158
|
+
endVal: a.endVal
|
|
157
159
|
};
|
|
158
|
-
}), l =
|
|
160
|
+
}), l = f.value.map((a) => a.endVal).reduce((a, i) => a + i, 0), oe.value = requestAnimationFrame(u));
|
|
159
161
|
}
|
|
160
|
-
e.value.useAnimation ? u() :
|
|
162
|
+
e.value.useAnimation ? u() : f.value = D();
|
|
161
163
|
}
|
|
162
|
-
const
|
|
163
|
-
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${
|
|
164
|
-
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${
|
|
165
|
-
]),
|
|
164
|
+
const ne = p(() => [
|
|
165
|
+
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${y.value})` : e.value.style.chart.plots.startColor },
|
|
166
|
+
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${y.value})` : e.value.style.chart.plots.endColor }
|
|
167
|
+
]), $e = p(() => ({
|
|
166
168
|
cy: "donut-div-legend",
|
|
167
169
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
168
170
|
color: e.value.style.chart.legend.color,
|
|
@@ -170,10 +172,10 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
170
172
|
paddingBottom: 12,
|
|
171
173
|
paddingTop: 12,
|
|
172
174
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
173
|
-
})),
|
|
174
|
-
const l =
|
|
175
|
+
})), C = p(() => {
|
|
176
|
+
const l = f.value.map((t) => ({
|
|
175
177
|
name: t.name
|
|
176
|
-
})), u =
|
|
178
|
+
})), u = f.value.map((t) => ({
|
|
177
179
|
start: t.start,
|
|
178
180
|
end: t.end
|
|
179
181
|
}));
|
|
@@ -184,27 +186,27 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
184
186
|
e.value.table.columnNames.start,
|
|
185
187
|
e.value.table.columnNames.end,
|
|
186
188
|
e.value.table.columnNames.progression
|
|
187
|
-
], u =
|
|
188
|
-
const
|
|
189
|
+
], u = C.value.head.map((i, g) => {
|
|
190
|
+
const F = z({
|
|
189
191
|
p: e.value.style.chart.labels.prefix,
|
|
190
|
-
v:
|
|
192
|
+
v: C.value.body[g].start,
|
|
191
193
|
s: e.value.style.chart.labels.suffix,
|
|
192
194
|
r: e.value.table.td.roundingValue
|
|
193
|
-
}),
|
|
195
|
+
}), E = z({
|
|
194
196
|
p: e.value.style.chart.labels.prefix,
|
|
195
|
-
v:
|
|
197
|
+
v: C.value.body[g].end,
|
|
196
198
|
s: e.value.style.chart.labels.suffix,
|
|
197
199
|
r: e.value.table.td.roundingValue
|
|
198
|
-
}),
|
|
199
|
-
v: 100 * (
|
|
200
|
+
}), ze = z({
|
|
201
|
+
v: 100 * (C.value.body[g].end / C.value.body[g].start - 1),
|
|
200
202
|
s: "%",
|
|
201
203
|
r: e.value.table.td.roundingPercentage
|
|
202
204
|
});
|
|
203
205
|
return [
|
|
204
206
|
{ name: i.name },
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
207
|
+
F,
|
|
208
|
+
E,
|
|
209
|
+
ze
|
|
208
210
|
];
|
|
209
211
|
}), t = {
|
|
210
212
|
th: {
|
|
@@ -231,45 +233,58 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
231
233
|
config: t
|
|
232
234
|
};
|
|
233
235
|
});
|
|
234
|
-
function
|
|
235
|
-
|
|
236
|
-
const l =
|
|
237
|
-
|
|
238
|
-
], [
|
|
239
|
-
|
|
236
|
+
function ue() {
|
|
237
|
+
Pe(() => {
|
|
238
|
+
const l = C.value.head.map((a, i) => [[
|
|
239
|
+
a.name
|
|
240
|
+
], [C.value.body[i].start], [C.value.body[i].end]]), u = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(l), t = Fe(u);
|
|
241
|
+
Oe({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
|
|
240
242
|
});
|
|
241
243
|
}
|
|
242
|
-
const
|
|
243
|
-
function
|
|
244
|
-
|
|
244
|
+
const P = v(!1);
|
|
245
|
+
function Le(l) {
|
|
246
|
+
P.value = l, U.value += 1;
|
|
245
247
|
}
|
|
246
|
-
function
|
|
247
|
-
return
|
|
248
|
+
function Ae() {
|
|
249
|
+
return f.value;
|
|
248
250
|
}
|
|
249
|
-
function
|
|
251
|
+
function ie() {
|
|
250
252
|
G.value.showTable = !G.value.showTable;
|
|
251
253
|
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
254
|
+
const M = v(!1);
|
|
255
|
+
function V() {
|
|
256
|
+
M.value = !M.value;
|
|
257
|
+
}
|
|
258
|
+
return xe({
|
|
259
|
+
getData: Ae,
|
|
260
|
+
generatePdf: ae,
|
|
261
|
+
generateCsv: ue,
|
|
262
|
+
generateImage: se,
|
|
263
|
+
toggleTable: ie,
|
|
264
|
+
toggleAnnotator: V
|
|
258
265
|
}), (l, u) => (o(), r("div", {
|
|
259
266
|
ref_key: "dumbbellChart",
|
|
260
|
-
ref:
|
|
261
|
-
class:
|
|
262
|
-
style:
|
|
263
|
-
id: `dumbbell_${
|
|
267
|
+
ref: S,
|
|
268
|
+
class: ve(`vue-ui-dumbbell ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
269
|
+
style: H(`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%" : ""}`),
|
|
270
|
+
id: `dumbbell_${y.value}`
|
|
264
271
|
}, [
|
|
265
|
-
e.value.
|
|
272
|
+
e.value.userOptions.buttons.annotator ? (o(), L(Ze, {
|
|
266
273
|
key: 0,
|
|
274
|
+
parent: S.value,
|
|
275
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
276
|
+
color: e.value.style.chart.color,
|
|
277
|
+
active: M.value,
|
|
278
|
+
onClose: V
|
|
279
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : b("", !0),
|
|
280
|
+
e.value.style.chart.title.text ? (o(), r("div", {
|
|
281
|
+
key: 1,
|
|
267
282
|
ref_key: "chartTitle",
|
|
268
|
-
ref:
|
|
283
|
+
ref: j,
|
|
269
284
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
270
285
|
}, [
|
|
271
|
-
(o(),
|
|
272
|
-
key: `title_${
|
|
286
|
+
(o(), L(He, {
|
|
287
|
+
key: `title_${Z.value}`,
|
|
273
288
|
config: {
|
|
274
289
|
title: {
|
|
275
290
|
cy: "donut-div-title",
|
|
@@ -281,135 +296,145 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
281
296
|
}
|
|
282
297
|
}
|
|
283
298
|
}, null, 8, ["config"]))
|
|
284
|
-
], 512)) :
|
|
285
|
-
e.value.userOptions.show && X.value ? (o(),
|
|
299
|
+
], 512)) : b("", !0),
|
|
300
|
+
e.value.userOptions.show && X.value ? (o(), L(Re, {
|
|
286
301
|
ref: "details",
|
|
287
|
-
key: `user_option_${
|
|
302
|
+
key: `user_option_${U.value}`,
|
|
288
303
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
289
304
|
color: e.value.style.chart.color,
|
|
290
|
-
isPrinting: d(
|
|
291
|
-
isImaging: d(
|
|
292
|
-
uid:
|
|
305
|
+
isPrinting: d(te),
|
|
306
|
+
isImaging: d(le),
|
|
307
|
+
uid: y.value,
|
|
293
308
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
294
309
|
hasXls: e.value.userOptions.buttons.csv,
|
|
295
310
|
hasImg: e.value.userOptions.buttons.img,
|
|
296
311
|
hasTable: e.value.userOptions.buttons.table,
|
|
297
312
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
298
|
-
isFullscreen:
|
|
313
|
+
isFullscreen: P.value,
|
|
299
314
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
300
|
-
chartElement:
|
|
315
|
+
chartElement: S.value,
|
|
301
316
|
position: e.value.userOptions.position,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
317
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
318
|
+
isAnnotation: M.value,
|
|
319
|
+
onToggleFullscreen: Le,
|
|
320
|
+
onGeneratePdf: d(ae),
|
|
321
|
+
onGenerateCsv: ue,
|
|
322
|
+
onGenerateImage: d(se),
|
|
323
|
+
onToggleTable: ie,
|
|
324
|
+
onToggleAnnotator: V
|
|
325
|
+
}, Se({ _: 2 }, [
|
|
308
326
|
l.$slots.optionPdf ? {
|
|
309
327
|
name: "optionPdf",
|
|
310
328
|
fn: _(() => [
|
|
311
|
-
|
|
329
|
+
k(l.$slots, "optionPdf", {}, void 0, !0)
|
|
312
330
|
]),
|
|
313
331
|
key: "0"
|
|
314
332
|
} : void 0,
|
|
315
333
|
l.$slots.optionCsv ? {
|
|
316
334
|
name: "optionCsv",
|
|
317
335
|
fn: _(() => [
|
|
318
|
-
|
|
336
|
+
k(l.$slots, "optionCsv", {}, void 0, !0)
|
|
319
337
|
]),
|
|
320
338
|
key: "1"
|
|
321
339
|
} : void 0,
|
|
322
340
|
l.$slots.optionImg ? {
|
|
323
341
|
name: "optionImg",
|
|
324
342
|
fn: _(() => [
|
|
325
|
-
|
|
343
|
+
k(l.$slots, "optionImg", {}, void 0, !0)
|
|
326
344
|
]),
|
|
327
345
|
key: "2"
|
|
328
346
|
} : void 0,
|
|
329
347
|
l.$slots.optionTable ? {
|
|
330
348
|
name: "optionTable",
|
|
331
349
|
fn: _(() => [
|
|
332
|
-
|
|
350
|
+
k(l.$slots, "optionTable", {}, void 0, !0)
|
|
333
351
|
]),
|
|
334
352
|
key: "3"
|
|
335
353
|
} : void 0,
|
|
336
354
|
l.$slots.optionFullscreen ? {
|
|
337
355
|
name: "optionFullscreen",
|
|
338
|
-
fn: _(({ toggleFullscreen: t, isFullscreen:
|
|
339
|
-
|
|
356
|
+
fn: _(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
357
|
+
k(l.$slots, "optionFullscreen", W(R({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
340
358
|
]),
|
|
341
359
|
key: "4"
|
|
360
|
+
} : void 0,
|
|
361
|
+
l.$slots.optionAnnotator ? {
|
|
362
|
+
name: "optionAnnotator",
|
|
363
|
+
fn: _(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
364
|
+
k(l.$slots, "optionAnnotator", W(R({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
365
|
+
]),
|
|
366
|
+
key: "5"
|
|
342
367
|
} : void 0
|
|
343
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
368
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : b("", !0),
|
|
344
369
|
X.value ? (o(), r("svg", {
|
|
345
|
-
key:
|
|
346
|
-
xmlns: d(
|
|
347
|
-
class:
|
|
348
|
-
viewBox: `0 0 ${
|
|
349
|
-
style:
|
|
370
|
+
key: 3,
|
|
371
|
+
xmlns: d(ge),
|
|
372
|
+
class: ve({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
373
|
+
viewBox: `0 0 ${s.value.absoluteWidth <= 0 ? 10 : s.value.absoluteWidth} ${s.value.absoluteHeight <= 0 ? 10 : s.value.absoluteHeight}`,
|
|
374
|
+
style: H(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
350
375
|
}, [
|
|
351
|
-
|
|
352
|
-
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g",
|
|
353
|
-
(o(!0), r(w, null, $(c.value.ticks, (t,
|
|
354
|
-
x1:
|
|
355
|
-
x2:
|
|
356
|
-
y1:
|
|
357
|
-
y2:
|
|
376
|
+
Ne(Ye),
|
|
377
|
+
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g", et, [
|
|
378
|
+
(o(!0), r(w, null, $(c.value.ticks, (t, a) => (o(), r("line", {
|
|
379
|
+
x1: s.value.left + a * s.value.width / (c.value.ticks.length - 1),
|
|
380
|
+
x2: s.value.left + a * s.value.width / (c.value.ticks.length - 1),
|
|
381
|
+
y1: s.value.top,
|
|
382
|
+
y2: s.value.bottom,
|
|
358
383
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
359
384
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
360
385
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
361
|
-
}, null, 8,
|
|
362
|
-
])) :
|
|
363
|
-
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g",
|
|
364
|
-
(o(!0), r(w, null, $(x.value, (t,
|
|
365
|
-
x1:
|
|
366
|
-
x2:
|
|
367
|
-
y1:
|
|
368
|
-
y2:
|
|
386
|
+
}, null, 8, tt))), 256))
|
|
387
|
+
])) : b("", !0),
|
|
388
|
+
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g", lt, [
|
|
389
|
+
(o(!0), r(w, null, $(x.value, (t, a) => (o(), r("line", {
|
|
390
|
+
x1: s.value.left,
|
|
391
|
+
x2: s.value.right,
|
|
392
|
+
y1: s.value.top + a * h.value,
|
|
393
|
+
y2: s.value.top + a * h.value,
|
|
369
394
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
370
395
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
371
396
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
372
|
-
}, null, 8,
|
|
397
|
+
}, null, 8, at))), 256)),
|
|
373
398
|
n("line", {
|
|
374
|
-
x1:
|
|
375
|
-
x2:
|
|
376
|
-
y1:
|
|
377
|
-
y2:
|
|
399
|
+
x1: s.value.left,
|
|
400
|
+
x2: s.value.right,
|
|
401
|
+
y1: s.value.bottom,
|
|
402
|
+
y2: s.value.bottom,
|
|
378
403
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
379
404
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
380
405
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
381
|
-
}, null, 8,
|
|
382
|
-
])) :
|
|
383
|
-
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g",
|
|
384
|
-
(o(!0), r(w, null, $(x.value, (t,
|
|
385
|
-
x:
|
|
386
|
-
y:
|
|
406
|
+
}, null, 8, st)
|
|
407
|
+
])) : b("", !0),
|
|
408
|
+
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g", ot, [
|
|
409
|
+
(o(!0), r(w, null, $(x.value, (t, a) => (o(), r("text", {
|
|
410
|
+
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
411
|
+
y: s.value.top + a * h.value + (e.value.style.chart.labels.yAxisLabels.showProgression ? h.value / 3 : h.value / 2) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
387
412
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
388
413
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
389
414
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
390
415
|
"text-anchor": "end"
|
|
391
|
-
},
|
|
392
|
-
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(w, { key: 0 }, $(x.value, (t,
|
|
393
|
-
x:
|
|
394
|
-
y:
|
|
416
|
+
}, A(t.name), 9, rt))), 256)),
|
|
417
|
+
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(w, { key: 0 }, $(x.value, (t, a) => (o(), r("text", {
|
|
418
|
+
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
419
|
+
y: s.value.top + a * h.value + h.value / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
395
420
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
396
421
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
397
422
|
"text-anchor": "end"
|
|
398
|
-
},
|
|
423
|
+
}, A(d(z)({
|
|
399
424
|
v: 100 * (t.end / t.start - 1),
|
|
400
425
|
s: "%",
|
|
401
426
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
402
|
-
})), 9,
|
|
403
|
-
])) :
|
|
404
|
-
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g",
|
|
405
|
-
(o(!0), r(w, null, $(c.value.ticks, (t,
|
|
406
|
-
x:
|
|
407
|
-
y:
|
|
427
|
+
})), 9, nt))), 256)) : b("", !0)
|
|
428
|
+
])) : b("", !0),
|
|
429
|
+
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g", ut, [
|
|
430
|
+
(o(!0), r(w, null, $(c.value.ticks, (t, a) => (o(), r("text", {
|
|
431
|
+
x: s.value.left + a * (s.value.width / (c.value.ticks.length - 1)),
|
|
432
|
+
y: s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
408
433
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
409
434
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
410
435
|
"font-weight": e.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
411
436
|
"text-anchor": "middle"
|
|
412
|
-
},
|
|
437
|
+
}, A(d(B)(
|
|
413
438
|
e.value.style.chart.labels.formatter,
|
|
414
439
|
t,
|
|
415
440
|
d(z)({
|
|
@@ -418,49 +443,49 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
418
443
|
s: e.value.style.chart.labels.suffix,
|
|
419
444
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
420
445
|
}),
|
|
421
|
-
{ datapoint: t, seriesIndex:
|
|
422
|
-
)), 9,
|
|
423
|
-
])) :
|
|
446
|
+
{ datapoint: t, seriesIndex: a }
|
|
447
|
+
)), 9, it))), 256))
|
|
448
|
+
])) : b("", !0),
|
|
424
449
|
n("defs", null, [
|
|
425
450
|
n("radialGradient", {
|
|
426
|
-
id: `start_grad_${
|
|
451
|
+
id: `start_grad_${y.value}`,
|
|
427
452
|
fy: "30%"
|
|
428
453
|
}, [
|
|
429
454
|
n("stop", {
|
|
430
455
|
offset: "10%",
|
|
431
|
-
"stop-color": d(
|
|
432
|
-
}, null, 8,
|
|
456
|
+
"stop-color": d(me)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
457
|
+
}, null, 8, dt),
|
|
433
458
|
n("stop", {
|
|
434
459
|
offset: "90%",
|
|
435
|
-
"stop-color": d(
|
|
436
|
-
}, null, 8,
|
|
460
|
+
"stop-color": d(pe)(e.value.style.chart.plots.startColor, 0.1)
|
|
461
|
+
}, null, 8, vt),
|
|
437
462
|
n("stop", {
|
|
438
463
|
offset: "100%",
|
|
439
464
|
"stop-color": e.value.style.chart.plots.startColor
|
|
440
|
-
}, null, 8,
|
|
441
|
-
], 8,
|
|
465
|
+
}, null, 8, ht)
|
|
466
|
+
], 8, ct),
|
|
442
467
|
n("radialGradient", {
|
|
443
|
-
id: `end_grad_${
|
|
468
|
+
id: `end_grad_${y.value}`,
|
|
444
469
|
fy: "30%"
|
|
445
470
|
}, [
|
|
446
471
|
n("stop", {
|
|
447
472
|
offset: "10%",
|
|
448
|
-
"stop-color": d(
|
|
449
|
-
}, null, 8,
|
|
473
|
+
"stop-color": d(me)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
474
|
+
}, null, 8, bt),
|
|
450
475
|
n("stop", {
|
|
451
476
|
offset: "90%",
|
|
452
|
-
"stop-color": d(
|
|
453
|
-
}, null, 8,
|
|
477
|
+
"stop-color": d(pe)(e.value.style.chart.plots.endColor, 0.1)
|
|
478
|
+
}, null, 8, ft),
|
|
454
479
|
n("stop", {
|
|
455
480
|
offset: "100%",
|
|
456
481
|
"stop-color": e.value.style.chart.plots.endColor
|
|
457
|
-
}, null, 8,
|
|
458
|
-
], 8,
|
|
482
|
+
}, null, 8, gt)
|
|
483
|
+
], 8, yt)
|
|
459
484
|
]),
|
|
460
|
-
(o(!0), r(w, null, $(
|
|
485
|
+
(o(!0), r(w, null, $(f.value, (t, a) => (o(), r("g", null, [
|
|
461
486
|
n("defs", null, [
|
|
462
487
|
n("linearGradient", {
|
|
463
|
-
id: `grad_positive_${
|
|
488
|
+
id: `grad_positive_${y.value}`,
|
|
464
489
|
x1: "0%",
|
|
465
490
|
x2: "100%",
|
|
466
491
|
y1: "0%",
|
|
@@ -469,14 +494,14 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
469
494
|
n("stop", {
|
|
470
495
|
offset: "0%",
|
|
471
496
|
"stop-color": e.value.style.chart.plots.startColor
|
|
472
|
-
}, null, 8,
|
|
497
|
+
}, null, 8, pt),
|
|
473
498
|
n("stop", {
|
|
474
499
|
offset: "100%",
|
|
475
500
|
"stop-color": e.value.style.chart.plots.endColor
|
|
476
|
-
}, null, 8,
|
|
477
|
-
], 8,
|
|
501
|
+
}, null, 8, _t)
|
|
502
|
+
], 8, mt),
|
|
478
503
|
n("linearGradient", {
|
|
479
|
-
id: `grad_negative_${
|
|
504
|
+
id: `grad_negative_${y.value}`,
|
|
480
505
|
x1: "0%",
|
|
481
506
|
x2: "100%",
|
|
482
507
|
y1: "0%",
|
|
@@ -485,14 +510,14 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
485
510
|
n("stop", {
|
|
486
511
|
offset: "0%",
|
|
487
512
|
"stop-color": e.value.style.chart.plots.endColor
|
|
488
|
-
}, null, 8,
|
|
513
|
+
}, null, 8, xt),
|
|
489
514
|
n("stop", {
|
|
490
515
|
offset: "100%",
|
|
491
516
|
"stop-color": e.value.style.chart.plots.startColor
|
|
492
|
-
}, null, 8,
|
|
493
|
-
], 8,
|
|
517
|
+
}, null, 8, Ct)
|
|
518
|
+
], 8, kt)
|
|
494
519
|
]),
|
|
495
|
-
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g",
|
|
520
|
+
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g", wt, [
|
|
496
521
|
n("path", {
|
|
497
522
|
d: `M
|
|
498
523
|
${t.startX},${t.y + e.value.style.chart.plots.radius / 2}
|
|
@@ -503,41 +528,41 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
503
528
|
${t.startX},${t.y - e.value.style.chart.plots.radius / 2}
|
|
504
529
|
Z
|
|
505
530
|
`,
|
|
506
|
-
fill: t.endX > t.startX ? `url(#grad_positive_${
|
|
507
|
-
}, null, 8,
|
|
508
|
-
])) : (o(), r("g",
|
|
531
|
+
fill: t.endX > t.startX ? `url(#grad_positive_${y.value})` : `url(#grad_negative_${y.value})`
|
|
532
|
+
}, null, 8, $t)
|
|
533
|
+
])) : (o(), r("g", Lt, [
|
|
509
534
|
n("rect", {
|
|
510
535
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
511
536
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
512
537
|
height: e.value.style.chart.plots.link.strokeWidth,
|
|
513
538
|
width: Math.abs(t.endX - t.startX),
|
|
514
|
-
fill: t.endX > t.startX ? `url(#grad_positive_${
|
|
515
|
-
}, null, 8,
|
|
539
|
+
fill: t.endX > t.startX ? `url(#grad_positive_${y.value})` : `url(#grad_negative_${y.value})`
|
|
540
|
+
}, null, 8, At)
|
|
516
541
|
])),
|
|
517
542
|
n("circle", {
|
|
518
543
|
cx: t.startX,
|
|
519
544
|
cy: t.y,
|
|
520
545
|
r: e.value.style.chart.plots.radius,
|
|
521
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${
|
|
546
|
+
fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${y.value})` : e.value.style.chart.plots.startColor,
|
|
522
547
|
stroke: e.value.style.chart.plots.stroke,
|
|
523
548
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
524
|
-
}, null, 8,
|
|
549
|
+
}, null, 8, zt),
|
|
525
550
|
n("circle", {
|
|
526
551
|
cx: t.endX,
|
|
527
552
|
cy: t.y,
|
|
528
553
|
r: e.value.style.chart.plots.radius,
|
|
529
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${
|
|
554
|
+
fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${y.value})` : e.value.style.chart.plots.endColor,
|
|
530
555
|
stroke: e.value.style.chart.plots.stroke,
|
|
531
556
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
532
|
-
}, null, 8,
|
|
533
|
-
e.value.style.chart.labels.startLabels.show ? (o(), r("g",
|
|
534
|
-
(o(!0), r(w, null, $(
|
|
557
|
+
}, null, 8, Xt),
|
|
558
|
+
e.value.style.chart.labels.startLabels.show ? (o(), r("g", St, [
|
|
559
|
+
(o(!0), r(w, null, $(f.value, (i, g) => (o(), r("text", {
|
|
535
560
|
x: i.startX,
|
|
536
|
-
y:
|
|
561
|
+
y: s.value.top + (g + 1) * h.value - e.value.style.chart.labels.startLabels.fontSize / 3 + e.value.style.chart.labels.startLabels.offsetY,
|
|
537
562
|
fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
538
563
|
"font-size": e.value.style.chart.labels.startLabels.fontSize,
|
|
539
564
|
"text-anchor": "middle"
|
|
540
|
-
},
|
|
565
|
+
}, A(d(B)(
|
|
541
566
|
e.value.style.chart.labels.formatter,
|
|
542
567
|
i.start,
|
|
543
568
|
d(z)({
|
|
@@ -546,17 +571,17 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
546
571
|
s: e.value.style.chart.labels.suffix,
|
|
547
572
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
548
573
|
}),
|
|
549
|
-
{ datapoint: i, seriesIndex:
|
|
550
|
-
)), 9,
|
|
551
|
-
])) :
|
|
552
|
-
e.value.style.chart.labels.endLabels.show ? (o(), r("g",
|
|
553
|
-
(o(!0), r(w, null, $(
|
|
574
|
+
{ datapoint: i, seriesIndex: g }
|
|
575
|
+
)), 9, Nt))), 256))
|
|
576
|
+
])) : b("", !0),
|
|
577
|
+
e.value.style.chart.labels.endLabels.show ? (o(), r("g", Pt, [
|
|
578
|
+
(o(!0), r(w, null, $(f.value, (i, g) => (o(), r("text", {
|
|
554
579
|
x: i.endX,
|
|
555
|
-
y:
|
|
580
|
+
y: s.value.top + g * h.value + e.value.style.chart.labels.endLabels.fontSize + e.value.style.chart.labels.endLabels.offsetY,
|
|
556
581
|
fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
557
582
|
"font-size": e.value.style.chart.labels.endLabels.fontSize,
|
|
558
583
|
"text-anchor": "middle"
|
|
559
|
-
},
|
|
584
|
+
}, A(d(B)(
|
|
560
585
|
e.value.style.chart.labels.formatter,
|
|
561
586
|
i.end,
|
|
562
587
|
d(z)({
|
|
@@ -565,17 +590,17 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
565
590
|
s: e.value.style.chart.labels.suffix,
|
|
566
591
|
r: e.value.style.chart.labels.endLabels.rounding
|
|
567
592
|
}),
|
|
568
|
-
{ datapoint: i, seriesIndex:
|
|
569
|
-
)), 9,
|
|
570
|
-
])) :
|
|
593
|
+
{ datapoint: i, seriesIndex: g }
|
|
594
|
+
)), 9, Tt))), 256))
|
|
595
|
+
])) : b("", !0)
|
|
571
596
|
]))), 256)),
|
|
572
|
-
|
|
573
|
-
], 14,
|
|
574
|
-
l.$slots.watermark ? (o(), r("div",
|
|
575
|
-
|
|
576
|
-
])) :
|
|
577
|
-
X.value ?
|
|
578
|
-
key:
|
|
597
|
+
k(l.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
598
|
+
], 14, Qe)) : b("", !0),
|
|
599
|
+
l.$slots.watermark ? (o(), r("div", Gt, [
|
|
600
|
+
k(l.$slots, "watermark", W(R({ isPrinting: d(te) || d(le) })), void 0, !0)
|
|
601
|
+
])) : b("", !0),
|
|
602
|
+
X.value ? b("", !0) : (o(), L(Ue, {
|
|
603
|
+
key: 5,
|
|
579
604
|
config: {
|
|
580
605
|
type: "dumbbell",
|
|
581
606
|
style: {
|
|
@@ -588,19 +613,19 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
588
613
|
}, null, 8, ["config"])),
|
|
589
614
|
n("div", {
|
|
590
615
|
ref_key: "chartLegend",
|
|
591
|
-
ref:
|
|
616
|
+
ref: q
|
|
592
617
|
}, [
|
|
593
|
-
e.value.style.chart.legend.show && X.value ? (o(),
|
|
594
|
-
key: `legend_${
|
|
595
|
-
legendSet:
|
|
596
|
-
config:
|
|
618
|
+
e.value.style.chart.legend.show && X.value ? (o(), L(je, {
|
|
619
|
+
key: `legend_${K.value}`,
|
|
620
|
+
legendSet: ne.value,
|
|
621
|
+
config: $e.value
|
|
597
622
|
}, {
|
|
598
623
|
item: _(({ legend: t }) => [
|
|
599
624
|
n("div", {
|
|
600
|
-
style:
|
|
625
|
+
style: H(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
|
|
601
626
|
}, [
|
|
602
627
|
(o(), r("svg", {
|
|
603
|
-
xmlns: d(
|
|
628
|
+
xmlns: d(ge),
|
|
604
629
|
viewBox: "0 0 20 20",
|
|
605
630
|
height: e.value.style.chart.legend.fontSize,
|
|
606
631
|
width: e.value.style.chart.legend.fontSize
|
|
@@ -610,19 +635,27 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
610
635
|
cy: 10,
|
|
611
636
|
r: 9,
|
|
612
637
|
fill: t.color
|
|
613
|
-
}, null, 8,
|
|
614
|
-
], 8,
|
|
615
|
-
|
|
638
|
+
}, null, 8, It)
|
|
639
|
+
], 8, Dt)),
|
|
640
|
+
he(" " + A(t.name), 1)
|
|
616
641
|
], 4)
|
|
617
642
|
]),
|
|
618
643
|
_: 1
|
|
619
|
-
}, 8, ["legendSet", "config"])) :
|
|
644
|
+
}, 8, ["legendSet", "config"])) : k(l.$slots, "legend", {
|
|
620
645
|
key: 1,
|
|
621
|
-
legend:
|
|
646
|
+
legend: ne.value
|
|
622
647
|
}, void 0, !0)
|
|
623
648
|
], 512),
|
|
624
|
-
|
|
625
|
-
key:
|
|
649
|
+
l.$slots.source ? (o(), r("div", {
|
|
650
|
+
key: 6,
|
|
651
|
+
ref_key: "source",
|
|
652
|
+
ref: Y,
|
|
653
|
+
dir: "auto"
|
|
654
|
+
}, [
|
|
655
|
+
k(l.$slots, "source", {}, void 0, !0)
|
|
656
|
+
], 512)) : b("", !0),
|
|
657
|
+
X.value ? (o(), L(qe, {
|
|
658
|
+
key: 7,
|
|
626
659
|
hideDetails: "",
|
|
627
660
|
config: {
|
|
628
661
|
open: G.value.showTable,
|
|
@@ -638,8 +671,8 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
638
671
|
}
|
|
639
672
|
}, {
|
|
640
673
|
content: _(() => [
|
|
641
|
-
(o(),
|
|
642
|
-
key: `table_${
|
|
674
|
+
(o(), L(Be, {
|
|
675
|
+
key: `table_${J.value}`,
|
|
643
676
|
colNames: I.value.colNames,
|
|
644
677
|
head: I.value.head,
|
|
645
678
|
body: I.value.body,
|
|
@@ -651,19 +684,19 @@ const qe = ["id"], Ye = ["xmlns", "viewBox"], Ze = { key: 0 }, Je = ["x1", "x2",
|
|
|
651
684
|
n("div", {
|
|
652
685
|
innerHTML: t,
|
|
653
686
|
style: { display: "flex", "align-items": "center" }
|
|
654
|
-
}, null, 8,
|
|
687
|
+
}, null, 8, Mt)
|
|
655
688
|
]),
|
|
656
689
|
td: _(({ td: t }) => [
|
|
657
|
-
|
|
690
|
+
he(A(t.name || t), 1)
|
|
658
691
|
]),
|
|
659
692
|
_: 1
|
|
660
693
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
661
694
|
]),
|
|
662
695
|
_: 1
|
|
663
|
-
}, 8, ["config"])) :
|
|
664
|
-
], 14,
|
|
696
|
+
}, 8, ["config"])) : b("", !0)
|
|
697
|
+
], 14, Ke));
|
|
665
698
|
}
|
|
666
|
-
},
|
|
699
|
+
}, Qt = /* @__PURE__ */ Je(Ft, [["__scopeId", "data-v-10dae78c"]]);
|
|
667
700
|
export {
|
|
668
|
-
|
|
701
|
+
Qt as default
|
|
669
702
|
};
|