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