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