vue-data-ui 2.4.3 → 2.4.5
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 +3 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,20 +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 { P as
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
15
|
-
key:
|
|
1
|
+
import { computed as b, ref as v, watch as _e, onMounted as Ce, openBlock as i, createElementBlock as r, normalizeClass as re, normalizeStyle as ne, 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 de, createElementVNode as n, Fragment as S, renderList as F, toDisplayString as w, createTextVNode as ve, nextTick as Te } from "vue";
|
|
2
|
+
import { u as Ae, c as Le, t as Se, o as ze, e as Ie, v as h, X as Oe, s as X, w as ye, i as k, f as _, x as Pe, y as Fe, q as Me, r as Ne } from "./index-C1GB0E49.js";
|
|
3
|
+
import { t as Re, u as De } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as Ge } from "./Title-W7iJGPjg.js";
|
|
5
|
+
import { u as Be, U as Ee } from "./usePrinter-y5uHyknw.js";
|
|
6
|
+
import { _ as We } from "./Tooltip-Pv3Bhir5.js";
|
|
7
|
+
import { D as Xe } from "./DataTable-rs_YrvMR.js";
|
|
8
|
+
import Ue from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
9
|
+
import Ve from "./vue-ui-accordion-DWyRC3-h.js";
|
|
10
|
+
import { u as he } from "./useNestedProp-CNAPgW6E.js";
|
|
11
|
+
import { _ as Ye } from "./PackageVersion-D9rYHrFZ.js";
|
|
12
|
+
import { P as je } from "./PenAndPaper-C-KjtyNA.js";
|
|
13
|
+
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"], Ze = ["stop-color"], et = ["id"], tt = ["stop-color"], lt = ["stop-color"], at = ["x", "y", "width", "height", "fill", "rx"], ot = ["x", "y", "width", "height", "fill", "rx"], st = ["x", "y", "width", "height", "fill", "rx"], it = ["x", "y", "width", "height", "fill", "rx"], ut = { key: 0 }, rt = ["x", "y", "fill", "font-size", "font-weight"], nt = ["x", "y", "fill", "font-size", "font-weight"], dt = { key: 1 }, vt = ["x", "y", "font-size", "fill", "font-weight"], yt = { key: 2 }, ht = { key: 0 }, ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pt = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["x", "y", "font-size", "fill", "font-weight"], wt = ["x", "y", "width", "height", "fill", "onMouseover"], kt = {
|
|
15
|
+
key: 5,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
17
|
+
}, _t = {
|
|
18
18
|
__name: "vue-ui-age-pyramid",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -30,50 +30,51 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
|
-
setup(U, { expose:
|
|
34
|
-
const c = U, { vue_ui_age_pyramid:
|
|
35
|
-
get: () =>
|
|
33
|
+
setup(U, { expose: fe }) {
|
|
34
|
+
const c = U, { vue_ui_age_pyramid: ce } = Ae(), M = b(() => !!c.dataset && c.dataset.length), x = v(Le()), ge = v(null), G = v(!1), B = v(""), N = v(null), V = v(0), C = v(null), Y = v(null), j = v(null), H = v(null), q = v(0), J = v(0), e = b({
|
|
35
|
+
get: () => K(),
|
|
36
36
|
set: (t) => t
|
|
37
37
|
});
|
|
38
|
-
function
|
|
39
|
-
const t =
|
|
38
|
+
function K() {
|
|
39
|
+
const t = he({
|
|
40
40
|
userConfig: c.config,
|
|
41
|
-
defaultConfig:
|
|
41
|
+
defaultConfig: ce
|
|
42
42
|
});
|
|
43
43
|
return t.theme ? {
|
|
44
|
-
...
|
|
45
|
-
userConfig:
|
|
44
|
+
...he({
|
|
45
|
+
userConfig: Se.vue_ui_age_pyramid[t.theme] || c.config,
|
|
46
46
|
defaultConfig: t
|
|
47
47
|
})
|
|
48
48
|
} : t;
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
e.value =
|
|
50
|
+
_e(() => c.config, (t) => {
|
|
51
|
+
e.value = K(), Z(), q.value += 1, J.value += 1;
|
|
52
52
|
}, { deep: !0 });
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
const Q = v(null);
|
|
54
|
+
Ce(() => {
|
|
55
|
+
Z();
|
|
56
56
|
});
|
|
57
|
-
function
|
|
58
|
-
if (
|
|
57
|
+
function Z() {
|
|
58
|
+
if (ze(c.dataset) && Ie({
|
|
59
59
|
componentName: "VueUiAgePyramid",
|
|
60
60
|
type: "dataset"
|
|
61
61
|
}), e.value.responsive) {
|
|
62
|
-
const t =
|
|
63
|
-
const { width: s, height: l } =
|
|
62
|
+
const t = Re(() => {
|
|
63
|
+
const { width: s, height: l } = De({
|
|
64
64
|
chart: C.value,
|
|
65
65
|
title: e.value.style.title.text ? Y.value : null,
|
|
66
|
-
source: j.value
|
|
66
|
+
source: j.value,
|
|
67
|
+
noTitle: H.value
|
|
67
68
|
});
|
|
68
69
|
g.value.width = s, g.value.height = l;
|
|
69
70
|
});
|
|
70
|
-
|
|
71
|
+
Q.value = new ResizeObserver(t), Q.value.observe(C.value.parentNode);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
const { isPrinting:
|
|
74
|
+
const { isPrinting: ee, isImaging: te, generatePdf: le, generateImage: ae } = Be({
|
|
74
75
|
elementId: `vue-ui-age-pyramid_${x.value}`,
|
|
75
76
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid"
|
|
76
|
-
}), m = v({
|
|
77
|
+
}), pe = b(() => e.value.userOptions.show && !e.value.style.title.text), m = v({
|
|
77
78
|
showTable: e.value.table.show,
|
|
78
79
|
showTooltip: e.value.style.tooltip.show
|
|
79
80
|
}), g = v({
|
|
@@ -98,16 +99,16 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
98
99
|
left: s + t / 2 + e.value.style.layout.centerSlit.width
|
|
99
100
|
}
|
|
100
101
|
};
|
|
101
|
-
}),
|
|
102
|
-
const t =
|
|
102
|
+
}), be = b(() => c.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), $ = b(() => {
|
|
103
|
+
const t = xe(z.value / 5), s = [], l = [];
|
|
103
104
|
for (let a = 0; a <= 5; a += 1) {
|
|
104
|
-
const u = t * a,
|
|
105
|
+
const u = t * a, ue = t * (a - 5);
|
|
105
106
|
s.push({
|
|
106
107
|
value: u,
|
|
107
108
|
x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + u / z.value * o.value.leftChart.width
|
|
108
109
|
}), l.push({
|
|
109
|
-
value: Math.abs(
|
|
110
|
-
x: o.value.left + o.value.width / 2 +
|
|
110
|
+
value: Math.abs(ue),
|
|
111
|
+
x: o.value.left + o.value.width / 2 + ue / z.value * o.value.leftChart.width - e.value.style.layout.centerSlit.width
|
|
111
112
|
});
|
|
112
113
|
}
|
|
113
114
|
return {
|
|
@@ -115,13 +116,13 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
115
116
|
left: l
|
|
116
117
|
};
|
|
117
118
|
});
|
|
118
|
-
function
|
|
119
|
+
function xe(t) {
|
|
119
120
|
if (t === 0) return 0;
|
|
120
121
|
const l = 10 ** Math.floor(Math.log10(Math.abs(t)));
|
|
121
122
|
let a;
|
|
122
123
|
return t < 0, a = Math.round(t / l) * l, a;
|
|
123
124
|
}
|
|
124
|
-
const z = b(() => Math.max(...c.dataset.flatMap((t) => t.slice(-2).map((s) => h(s))))),
|
|
125
|
+
const z = b(() => Math.max(...c.dataset.flatMap((t) => t.slice(-2).map((s) => h(s))))), T = b(() => c.dataset.length), me = b(() => c.dataset.map((t) => ({
|
|
125
126
|
segment: t[0],
|
|
126
127
|
age: t[1],
|
|
127
128
|
left: {
|
|
@@ -132,8 +133,8 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
132
133
|
value: t[3],
|
|
133
134
|
proportionToMax: t[3] / z.value
|
|
134
135
|
}
|
|
135
|
-
}))),
|
|
136
|
-
const l = o.value.top + o.value.height /
|
|
136
|
+
}))), A = b(() => me.value.map((t, s) => {
|
|
137
|
+
const l = o.value.top + o.value.height / T.value * s, a = o.value.height / T.value - e.value.style.layout.bars.gap;
|
|
137
138
|
return {
|
|
138
139
|
segment: t.segment,
|
|
139
140
|
age: t.age,
|
|
@@ -155,15 +156,15 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
155
156
|
}
|
|
156
157
|
};
|
|
157
158
|
})), E = v(null);
|
|
158
|
-
function
|
|
159
|
+
function we(t, s) {
|
|
159
160
|
N.value = t, E.value = {
|
|
160
161
|
datapoint: s,
|
|
161
162
|
seriesIndex: t,
|
|
162
|
-
series:
|
|
163
|
+
series: A.value,
|
|
163
164
|
config: e.value
|
|
164
165
|
};
|
|
165
166
|
const l = e.value.style.tooltip.customFormat;
|
|
166
|
-
if (
|
|
167
|
+
if (Pe(l) && Fe(() => l({
|
|
167
168
|
seriesIndex: t,
|
|
168
169
|
datapoint: {
|
|
169
170
|
segment: s[0],
|
|
@@ -171,7 +172,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
171
172
|
left: s[2],
|
|
172
173
|
right: s[3]
|
|
173
174
|
},
|
|
174
|
-
series:
|
|
175
|
+
series: A.value,
|
|
175
176
|
config: e.value
|
|
176
177
|
})))
|
|
177
178
|
B.value = l({
|
|
@@ -182,12 +183,12 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
182
183
|
left: s[2],
|
|
183
184
|
right: s[3]
|
|
184
185
|
},
|
|
185
|
-
series:
|
|
186
|
+
series: A.value,
|
|
186
187
|
config: e.value
|
|
187
188
|
});
|
|
188
189
|
else {
|
|
189
190
|
let a = "";
|
|
190
|
-
const u =
|
|
191
|
+
const u = A.value[t];
|
|
191
192
|
a += `<div><b>${u.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${k(
|
|
192
193
|
e.value.style.layout.dataLabels.yAxis.formatter,
|
|
193
194
|
h(u.age),
|
|
@@ -212,16 +213,16 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
212
213
|
}
|
|
213
214
|
G.value = !0;
|
|
214
215
|
}
|
|
215
|
-
function
|
|
216
|
-
|
|
216
|
+
function oe() {
|
|
217
|
+
Te(() => {
|
|
217
218
|
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) => [
|
|
218
219
|
u[0],
|
|
219
220
|
u[1],
|
|
220
221
|
u[2],
|
|
221
222
|
u[3],
|
|
222
223
|
u[2] + u[3]
|
|
223
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(s), a =
|
|
224
|
-
|
|
224
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(s), a = Me(l);
|
|
225
|
+
Ne({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
225
226
|
});
|
|
226
227
|
}
|
|
227
228
|
const R = b(() => {
|
|
@@ -252,34 +253,34 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
252
253
|
};
|
|
253
254
|
return { head: t, body: s, config: l, colNames: t };
|
|
254
255
|
}), I = v(!1);
|
|
255
|
-
function
|
|
256
|
+
function ke(t) {
|
|
256
257
|
I.value = t, V.value += 1;
|
|
257
258
|
}
|
|
258
|
-
function
|
|
259
|
+
function se() {
|
|
259
260
|
m.value.showTable = !m.value.showTable;
|
|
260
261
|
}
|
|
261
|
-
function
|
|
262
|
+
function ie() {
|
|
262
263
|
m.value.showTooltip = !m.value.showTooltip;
|
|
263
264
|
}
|
|
264
265
|
const D = v(!1);
|
|
265
266
|
function W() {
|
|
266
267
|
D.value = !D.value;
|
|
267
268
|
}
|
|
268
|
-
return
|
|
269
|
-
generatePdf:
|
|
270
|
-
generateCsv:
|
|
271
|
-
generateImage:
|
|
272
|
-
toggleTable:
|
|
273
|
-
toggleTooltip:
|
|
269
|
+
return fe({
|
|
270
|
+
generatePdf: le,
|
|
271
|
+
generateCsv: oe,
|
|
272
|
+
generateImage: ae,
|
|
273
|
+
toggleTable: se,
|
|
274
|
+
toggleTooltip: ie,
|
|
274
275
|
toggleAnnotator: W
|
|
275
276
|
}), (t, s) => (i(), r("div", {
|
|
276
|
-
class:
|
|
277
|
+
class: re(`vue-ui-age-pyramid ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
277
278
|
ref_key: "agePyramid",
|
|
278
279
|
ref: C,
|
|
279
280
|
id: `vue-ui-age-pyramid_${x.value}`,
|
|
280
|
-
style:
|
|
281
|
+
style: ne(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
|
|
281
282
|
}, [
|
|
282
|
-
e.value.userOptions.buttons.annotator ? (i(), L(
|
|
283
|
+
e.value.userOptions.buttons.annotator ? (i(), L(je, {
|
|
283
284
|
key: 0,
|
|
284
285
|
parent: C.value,
|
|
285
286
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -287,14 +288,21 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
287
288
|
active: D.value,
|
|
288
289
|
onClose: W
|
|
289
290
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
290
|
-
|
|
291
|
+
pe.value ? (i(), r("div", {
|
|
291
292
|
key: 1,
|
|
293
|
+
ref_key: "noTitle",
|
|
294
|
+
ref: H,
|
|
295
|
+
class: "vue-data-ui-no-title-space",
|
|
296
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
297
|
+
}, null, 512)) : y("", !0),
|
|
298
|
+
e.value.style.title.text ? (i(), r("div", {
|
|
299
|
+
key: 2,
|
|
292
300
|
ref_key: "chartTitle",
|
|
293
301
|
ref: Y,
|
|
294
302
|
style: "width:100%;background:transparent"
|
|
295
303
|
}, [
|
|
296
|
-
(i(), L(
|
|
297
|
-
key: `title_${
|
|
304
|
+
(i(), L(Ge, {
|
|
305
|
+
key: `title_${q.value}`,
|
|
298
306
|
config: {
|
|
299
307
|
title: {
|
|
300
308
|
cy: "pyramid-div-title",
|
|
@@ -307,14 +315,14 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
307
315
|
}
|
|
308
316
|
}, null, 8, ["config"]))
|
|
309
317
|
], 512)) : y("", !0),
|
|
310
|
-
e.value.userOptions.show && M.value ? (i(), L(
|
|
318
|
+
e.value.userOptions.show && M.value ? (i(), L(Ee, {
|
|
311
319
|
ref_key: "details",
|
|
312
|
-
ref:
|
|
320
|
+
ref: ge,
|
|
313
321
|
key: `user_options_${V.value}`,
|
|
314
322
|
backgroundColor: e.value.style.backgroundColor,
|
|
315
323
|
color: e.value.style.color,
|
|
316
|
-
isImaging: d(
|
|
317
|
-
isPrinting: d(
|
|
324
|
+
isImaging: d(te),
|
|
325
|
+
isPrinting: d(ee),
|
|
318
326
|
uid: x.value,
|
|
319
327
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
320
328
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -329,14 +337,14 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
329
337
|
position: e.value.userOptions.position,
|
|
330
338
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
331
339
|
isAnnotation: D.value,
|
|
332
|
-
onToggleFullscreen:
|
|
333
|
-
onGeneratePdf: d(
|
|
334
|
-
onGenerateCsv:
|
|
335
|
-
onGenerateImage: d(
|
|
336
|
-
onToggleTable:
|
|
337
|
-
onToggleTooltip:
|
|
340
|
+
onToggleFullscreen: ke,
|
|
341
|
+
onGeneratePdf: d(le),
|
|
342
|
+
onGenerateCsv: oe,
|
|
343
|
+
onGenerateImage: d(ae),
|
|
344
|
+
onToggleTable: se,
|
|
345
|
+
onToggleTooltip: ie,
|
|
338
346
|
onToggleAnnotator: W
|
|
339
|
-
},
|
|
347
|
+
}, $e({ _: 2 }, [
|
|
340
348
|
t.$slots.optionTooltip ? {
|
|
341
349
|
name: "optionTooltip",
|
|
342
350
|
fn: p(() => [
|
|
@@ -388,13 +396,13 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
388
396
|
} : void 0
|
|
389
397
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
390
398
|
M.value ? (i(), r("svg", {
|
|
391
|
-
key:
|
|
392
|
-
xmlns: d(
|
|
393
|
-
class:
|
|
399
|
+
key: 4,
|
|
400
|
+
xmlns: d(Oe),
|
|
401
|
+
class: re({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
|
|
394
402
|
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${g.value.height <= 0 ? 10 : g.value.height}`,
|
|
395
|
-
style:
|
|
403
|
+
style: ne(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
396
404
|
}, [
|
|
397
|
-
|
|
405
|
+
de(Ye),
|
|
398
406
|
n("defs", null, [
|
|
399
407
|
n("linearGradient", {
|
|
400
408
|
id: `age_pyramid_left_${x.value}`,
|
|
@@ -406,12 +414,12 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
406
414
|
n("stop", {
|
|
407
415
|
offset: "0%",
|
|
408
416
|
"stop-color": e.value.style.layout.bars.left.color
|
|
409
|
-
}, null, 8,
|
|
417
|
+
}, null, 8, Qe),
|
|
410
418
|
n("stop", {
|
|
411
419
|
offset: "100%",
|
|
412
|
-
"stop-color": d(X)(d(
|
|
413
|
-
}, null, 8,
|
|
414
|
-
], 8,
|
|
420
|
+
"stop-color": d(X)(d(ye)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
421
|
+
}, null, 8, Ze)
|
|
422
|
+
], 8, Ke),
|
|
415
423
|
n("linearGradient", {
|
|
416
424
|
id: `age_pyramid_right_${x.value}`,
|
|
417
425
|
x1: "0%",
|
|
@@ -421,15 +429,15 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
421
429
|
}, [
|
|
422
430
|
n("stop", {
|
|
423
431
|
offset: "0%",
|
|
424
|
-
"stop-color": d(X)(d(
|
|
425
|
-
}, null, 8,
|
|
432
|
+
"stop-color": d(X)(d(ye)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
433
|
+
}, null, 8, tt),
|
|
426
434
|
n("stop", {
|
|
427
435
|
offset: "100%",
|
|
428
436
|
"stop-color": e.value.style.layout.bars.right.color
|
|
429
|
-
}, null, 8,
|
|
430
|
-
], 8,
|
|
437
|
+
}, null, 8, lt)
|
|
438
|
+
], 8, et)
|
|
431
439
|
]),
|
|
432
|
-
(i(!0), r(S, null, F(
|
|
440
|
+
(i(!0), r(S, null, F(A.value, (l, a) => (i(), r("g", null, [
|
|
433
441
|
n("rect", {
|
|
434
442
|
x: l.left.x,
|
|
435
443
|
y: l.left.y,
|
|
@@ -437,7 +445,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
437
445
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
438
446
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
439
447
|
rx: e.value.style.layout.bars.borderRadius
|
|
440
|
-
}, null, 8,
|
|
448
|
+
}, null, 8, at),
|
|
441
449
|
n("rect", {
|
|
442
450
|
x: l.left.x,
|
|
443
451
|
y: l.left.y,
|
|
@@ -445,7 +453,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
445
453
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
446
454
|
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${x.value})` : l.left.color,
|
|
447
455
|
rx: e.value.style.layout.bars.borderRadius
|
|
448
|
-
}, null, 8,
|
|
456
|
+
}, null, 8, ot),
|
|
449
457
|
n("rect", {
|
|
450
458
|
x: l.right.x,
|
|
451
459
|
y: l.right.y,
|
|
@@ -453,7 +461,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
453
461
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
454
462
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
455
463
|
rx: e.value.style.layout.bars.borderRadius
|
|
456
|
-
}, null, 8,
|
|
464
|
+
}, null, 8, st),
|
|
457
465
|
n("rect", {
|
|
458
466
|
x: l.right.x,
|
|
459
467
|
y: l.right.y,
|
|
@@ -461,10 +469,10 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
461
469
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
462
470
|
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${x.value})` : l.right.color,
|
|
463
471
|
rx: e.value.style.layout.bars.borderRadius
|
|
464
|
-
}, null, 8,
|
|
472
|
+
}, null, 8, it)
|
|
465
473
|
]))), 256)),
|
|
466
474
|
n("g", null, [
|
|
467
|
-
e.value.style.layout.dataLabels.sideTitles.show ? (i(), r("g",
|
|
475
|
+
e.value.style.layout.dataLabels.sideTitles.show ? (i(), r("g", ut, [
|
|
468
476
|
n("text", {
|
|
469
477
|
x: o.value.left,
|
|
470
478
|
y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
|
|
@@ -472,7 +480,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
472
480
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
473
481
|
"text-anchor": "start",
|
|
474
482
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
475
|
-
}, w(e.value.translations.female), 9,
|
|
483
|
+
}, w(e.value.translations.female), 9, rt),
|
|
476
484
|
n("text", {
|
|
477
485
|
x: o.value.right,
|
|
478
486
|
y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
|
|
@@ -480,14 +488,14 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
480
488
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
481
489
|
"text-anchor": "end",
|
|
482
490
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
483
|
-
}, w(e.value.translations.male), 9,
|
|
491
|
+
}, w(e.value.translations.male), 9, nt)
|
|
484
492
|
])) : y("", !0),
|
|
485
|
-
e.value.style.layout.dataLabels.yAxis.show ? (i(), r("g",
|
|
486
|
-
(i(!0), r(S, null, F(
|
|
493
|
+
e.value.style.layout.dataLabels.yAxis.show ? (i(), r("g", dt, [
|
|
494
|
+
(i(!0), r(S, null, F(be.value, (l, a) => (i(), r(S, null, [
|
|
487
495
|
a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), r("text", {
|
|
488
496
|
key: 0,
|
|
489
497
|
x: o.value.centerX,
|
|
490
|
-
y: o.value.top + o.value.height /
|
|
498
|
+
y: o.value.top + o.value.height / T.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
|
|
491
499
|
"text-anchor": "middle",
|
|
492
500
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
493
501
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -497,11 +505,11 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
497
505
|
l,
|
|
498
506
|
d(_)({ v: l }),
|
|
499
507
|
{ datapoint: l, seriesIndex: a }
|
|
500
|
-
)), 9,
|
|
508
|
+
)), 9, vt)) : y("", !0)
|
|
501
509
|
], 64))), 256))
|
|
502
510
|
])) : y("", !0),
|
|
503
|
-
e.value.style.layout.dataLabels.xAxis.show ? (i(), r("g",
|
|
504
|
-
e.value.style.layout.grid.show ? (i(), r("g",
|
|
511
|
+
e.value.style.layout.dataLabels.xAxis.show ? (i(), r("g", yt, [
|
|
512
|
+
e.value.style.layout.grid.show ? (i(), r("g", ht, [
|
|
505
513
|
n("line", {
|
|
506
514
|
x1: $.value.right[0].x,
|
|
507
515
|
x2: $.value.right.at(-1).x,
|
|
@@ -510,7 +518,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
510
518
|
stroke: e.value.style.layout.grid.stroke,
|
|
511
519
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
512
520
|
"stroke-linecap": "round"
|
|
513
|
-
}, null, 8,
|
|
521
|
+
}, null, 8, ft),
|
|
514
522
|
n("line", {
|
|
515
523
|
x1: $.value.left[0].x,
|
|
516
524
|
x2: $.value.left.at(-1).x,
|
|
@@ -519,7 +527,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
519
527
|
stroke: e.value.style.layout.grid.stroke,
|
|
520
528
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
521
529
|
"stroke-linecap": "round"
|
|
522
|
-
}, null, 8,
|
|
530
|
+
}, null, 8, ct)
|
|
523
531
|
])) : y("", !0),
|
|
524
532
|
(i(!0), r(S, null, F($.value.right, (l, a) => (i(), r("g", null, [
|
|
525
533
|
e.value.style.layout.grid.show ? (i(), r("line", {
|
|
@@ -531,7 +539,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
531
539
|
stroke: e.value.style.layout.grid.stroke,
|
|
532
540
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
533
541
|
"stroke-linecap": "round"
|
|
534
|
-
}, null, 8,
|
|
542
|
+
}, null, 8, gt)) : y("", !0),
|
|
535
543
|
n("text", {
|
|
536
544
|
x: l.x,
|
|
537
545
|
y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
|
|
@@ -546,7 +554,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
546
554
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
547
555
|
}),
|
|
548
556
|
{ datapoint: l, seriesIndex: a }
|
|
549
|
-
)), 9,
|
|
557
|
+
)), 9, pt)
|
|
550
558
|
]))), 256)),
|
|
551
559
|
(i(!0), r(S, null, F($.value.left, (l, a) => (i(), r("g", null, [
|
|
552
560
|
e.value.style.layout.grid.show ? (i(), r("line", {
|
|
@@ -558,7 +566,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
558
566
|
stroke: e.value.style.layout.grid.stroke,
|
|
559
567
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
560
568
|
"stroke-linecap": "round"
|
|
561
|
-
}, null, 8,
|
|
569
|
+
}, null, 8, bt)) : y("", !0),
|
|
562
570
|
n("text", {
|
|
563
571
|
x: l.x,
|
|
564
572
|
y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
|
|
@@ -573,7 +581,7 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
573
581
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
574
582
|
}),
|
|
575
583
|
{ datapoint: l, seriesIndex: a }
|
|
576
|
-
)), 9,
|
|
584
|
+
)), 9, xt)
|
|
577
585
|
]))), 256)),
|
|
578
586
|
n("text", {
|
|
579
587
|
x: o.value.right,
|
|
@@ -582,29 +590,29 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
582
590
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
583
591
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
584
592
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
|
|
585
|
-
}, w(e.value.style.layout.dataLabels.xAxis.translation), 9,
|
|
593
|
+
}, w(e.value.style.layout.dataLabels.xAxis.translation), 9, mt)
|
|
586
594
|
])) : y("", !0)
|
|
587
595
|
]),
|
|
588
596
|
(i(!0), r(S, null, F(U.dataset, (l, a) => (i(), r("g", null, [
|
|
589
597
|
n("rect", {
|
|
590
598
|
x: o.value.left,
|
|
591
|
-
y: o.value.top + o.value.height /
|
|
599
|
+
y: o.value.top + o.value.height / T.value * a - e.value.style.layout.bars.gap / 2,
|
|
592
600
|
width: o.value.width <= 0 ? 1e-4 : o.value.width,
|
|
593
|
-
height: o.value.height /
|
|
601
|
+
height: o.value.height / T.value <= 0 ? 1e-4 : o.value.height / T.value,
|
|
594
602
|
fill: N.value !== null && N.value === a ? d(X)(e.value.style.highlighter.color, e.value.style.highlighter.opacity) : "transparent",
|
|
595
|
-
onMouseover: (u) =>
|
|
603
|
+
onMouseover: (u) => we(a, l),
|
|
596
604
|
onMouseleave: s[0] || (s[0] = (u) => {
|
|
597
605
|
N.value = null, G.value = !1;
|
|
598
606
|
})
|
|
599
|
-
}, null, 40,
|
|
607
|
+
}, null, 40, wt)
|
|
600
608
|
]))), 256)),
|
|
601
609
|
f(t.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
602
|
-
], 14,
|
|
603
|
-
t.$slots.watermark ? (i(), r("div",
|
|
604
|
-
f(t.$slots, "watermark", O(P({ isPrinting: d(
|
|
610
|
+
], 14, Je)) : y("", !0),
|
|
611
|
+
t.$slots.watermark ? (i(), r("div", kt, [
|
|
612
|
+
f(t.$slots, "watermark", O(P({ isPrinting: d(ee) || d(te) })), void 0, !0)
|
|
605
613
|
])) : y("", !0),
|
|
606
|
-
M.value ? y("", !0) : (i(), L(
|
|
607
|
-
key:
|
|
614
|
+
M.value ? y("", !0) : (i(), L(Ue, {
|
|
615
|
+
key: 6,
|
|
608
616
|
config: {
|
|
609
617
|
type: "pyramid",
|
|
610
618
|
style: {
|
|
@@ -615,16 +623,16 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
615
623
|
}
|
|
616
624
|
}
|
|
617
625
|
}, null, 8, ["config"])),
|
|
618
|
-
f(t.$slots, "legend", { legend:
|
|
626
|
+
f(t.$slots, "legend", { legend: A.value }, void 0, !0),
|
|
619
627
|
t.$slots.source ? (i(), r("div", {
|
|
620
|
-
key:
|
|
628
|
+
key: 7,
|
|
621
629
|
ref_key: "source",
|
|
622
630
|
ref: j,
|
|
623
631
|
dir: "auto"
|
|
624
632
|
}, [
|
|
625
633
|
f(t.$slots, "source", {}, void 0, !0)
|
|
626
634
|
], 512)) : y("", !0),
|
|
627
|
-
|
|
635
|
+
de(We, {
|
|
628
636
|
show: m.value.showTooltip && G.value,
|
|
629
637
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
630
638
|
color: e.value.style.tooltip.color,
|
|
@@ -647,8 +655,8 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
647
655
|
]),
|
|
648
656
|
_: 3
|
|
649
657
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
650
|
-
M.value ? (i(), L(
|
|
651
|
-
key:
|
|
658
|
+
M.value ? (i(), L(Ve, {
|
|
659
|
+
key: 8,
|
|
652
660
|
hideDetails: "",
|
|
653
661
|
config: {
|
|
654
662
|
open: m.value.showTable,
|
|
@@ -664,8 +672,8 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
664
672
|
}
|
|
665
673
|
}, {
|
|
666
674
|
content: p(() => [
|
|
667
|
-
(i(), L(
|
|
668
|
-
key: `table_${
|
|
675
|
+
(i(), L(Xe, {
|
|
676
|
+
key: `table_${J.value}`,
|
|
669
677
|
colNames: R.value.colNames,
|
|
670
678
|
head: R.value.head,
|
|
671
679
|
body: R.value.body,
|
|
@@ -674,19 +682,19 @@ const je = ["id"], He = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"],
|
|
|
674
682
|
onClose: s[1] || (s[1] = (l) => m.value.showTable = !1)
|
|
675
683
|
}, {
|
|
676
684
|
th: p(({ th: l }) => [
|
|
677
|
-
|
|
685
|
+
ve(w(l), 1)
|
|
678
686
|
]),
|
|
679
687
|
td: p(({ td: l }) => [
|
|
680
|
-
|
|
688
|
+
ve(w(l), 1)
|
|
681
689
|
]),
|
|
682
690
|
_: 1
|
|
683
691
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
684
692
|
]),
|
|
685
693
|
_: 1
|
|
686
694
|
}, 8, ["config"])) : y("", !0)
|
|
687
|
-
], 14,
|
|
695
|
+
], 14, qe));
|
|
688
696
|
}
|
|
689
|
-
},
|
|
697
|
+
}, Rt = /* @__PURE__ */ He(_t, [["__scopeId", "data-v-c061125a"]]);
|
|
690
698
|
export {
|
|
691
|
-
|
|
699
|
+
Rt as default
|
|
692
700
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import p from "./html2canvas.esm-d2sM-0Wm.js";
|
|
2
2
|
import { E as _ } from "./jspdf.es.min-C660YX78.js";
|
|
3
|
-
import { z as v, u as w, A, B as M } from "./index-
|
|
3
|
+
import { z as v, u as w, A, B as M } from "./index-C1GB0E49.js";
|
|
4
4
|
import { openBlock as d, createElementBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, normalizeClass as y, createCommentVNode as a, withDirectives as f, vModelCheckbox as g, vModelText as C, renderSlot as O, Fragment as L, renderList as G, createStaticVNode as N, pushScopeId as m, popScopeId as T } from "vue";
|
|
5
5
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const D = {
|