vue-data-ui 2.3.73 → 2.3.75
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/dist/{Arrow-B9ZuNkP-.js → Arrow-BTG7M25z.js} +1 -1
- package/dist/{Arrow-B8nZeqNJ.cjs → Arrow-CZK77NmC.cjs} +1 -1
- package/dist/{BaseIcon-CXbZK6D-.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
- package/dist/{BaseIcon-_V_BEdy8.js → BaseIcon-BAOfPaXs.js} +1 -1
- package/dist/{DataTable-BOdJVZzF.js → DataTable-CQANRZju.js} +2 -2
- package/dist/{DataTable-wmKwMbsJ.cjs → DataTable-DjQzrklZ.cjs} +1 -1
- package/dist/{Legend-DdndVhHV.cjs → Legend-CtbPB0Bo.cjs} +1 -1
- package/dist/{Legend-CHd5QFPM.js → Legend-DX1kv21U.js} +1 -1
- package/dist/{Shape-CLRxBhyM.cjs → Shape-CadGs1Am.cjs} +1 -1
- package/dist/{Shape-DNbJlwSU.js → Shape-kqcyauhC.js} +1 -1
- package/dist/{Slicer-Dts-BToH.cjs → Slicer-i_oECHxH.cjs} +1 -1
- package/dist/{Slicer-8Gg45iGX.js → Slicer-yaJs-izT.js} +2 -2
- package/dist/{Title-Ngy9HNqO.js → Title-C26I_HC3.js} +1 -1
- package/dist/{Title-CujodUjt.cjs → Title-XBiDFYKD.cjs} +1 -1
- package/dist/{Tooltip-BCtg7xYX.js → Tooltip-CH8GmDCG.js} +1 -1
- package/dist/{Tooltip-DsmWz8gF.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
- package/dist/{index-Dvs5Ra-u.js → index-Cm4Iry5c.js} +1 -1
- package/dist/{index-sFjJ2dIj.cjs → index-DYUBiaGS.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-UohhCyBz.js → useNestedProp-CurQIHTa.js} +1 -1
- package/dist/{useNestedProp-ir0jEo5M.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
- package/dist/{usePrinter-B8-keRMa.js → usePrinter-B8RnF8_q.js} +1 -1
- package/dist/{usePrinter-DSMMs1w9.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
- package/dist/{vue-data-ui-NvV5qa--.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
- package/dist/{vue-data-ui-Bgo6YUhl.js → vue-data-ui-Bj6kEIpq.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DckNIYgA.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
- package/dist/{vue-ui-accordion-RuCkf_li.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
- package/dist/{vue-ui-accordion-C-qAry7P.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CamjaXUw.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
- package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
- package/dist/{vue-ui-annotator-D0kYZ56C.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
- package/dist/{vue-ui-annotator-DMmdqorj.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
- package/dist/{vue-ui-candlestick-DRi8lDTn.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
- package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
- package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
- package/dist/{vue-ui-carousel-table-u5OoOMr1.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
- package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
- package/dist/{vue-ui-chestnut-D5a4OH1D.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
- package/dist/{vue-ui-cursor-Bp_PHbz4.js → vue-ui-cursor-BP04_XbB.js} +2 -2
- package/dist/{vue-ui-cursor-DpBsZNEE.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BwBYH8V_.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
- package/dist/{vue-ui-dashboard--kjU0uMc.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
- package/dist/{vue-ui-digits-CIV9J3SW.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
- package/dist/{vue-ui-digits-t2G4B6uD.js → vue-ui-digits-DUhkLcmd.js} +2 -2
- package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
- package/dist/{vue-ui-donut-BTug2gsP.js → vue-ui-donut-DRPSwmGr.js} +376 -362
- package/dist/{vue-ui-donut-evolution-DTD0Hfgh.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
- package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BZw7lntE.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
- package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
- package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
- package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
- package/dist/{vue-ui-galaxy-Bjlm3WtB.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
- package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
- package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
- package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
- package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
- package/dist/{vue-ui-gizmo-CiutQM-A.js → vue-ui-gizmo-bV148qAf.js} +66 -53
- package/dist/{vue-ui-heatmap-C933pQPU.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
- package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
- package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
- package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
- package/dist/{vue-ui-mini-loader-B5XG2gKd.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
- package/dist/{vue-ui-mini-loader-C67Z1C6r.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
- package/dist/{vue-ui-molecule-DzIeuL8t.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
- package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
- package/dist/{vue-ui-mood-radar-02L4M-n_.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
- package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BY50trfJ.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
- package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
- package/dist/{vue-ui-onion-BmQ7B9xY.js → vue-ui-onion-CFa4VD-w.js} +191 -177
- package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BdfcqlfT.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
- package/dist/{vue-ui-quadrant-CLimyRoA.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
- package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CX8Kas-o.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
- package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
- package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
- package/dist/{vue-ui-radar-CK0PB5oY.js → vue-ui-radar-CW8EKW4o.js} +202 -189
- package/dist/{vue-ui-rating-Ceu3pXmF.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
- package/dist/{vue-ui-rating-BnqWN2ui.js → vue-ui-rating-eSWsmJUU.js} +2 -2
- package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
- package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
- package/dist/{vue-ui-rings-CYthauSM.js → vue-ui-rings-BxhLbyG0.js} +203 -189
- package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
- package/dist/{vue-ui-scatter-Cxr9eymz.js → vue-ui-scatter-DQchX_mM.js} +284 -270
- package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
- package/dist/{vue-ui-screenshot-CVWC5rbJ.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
- package/dist/{vue-ui-screenshot-sBd8-Oyh.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CAvlIcgk.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
- package/dist/{vue-ui-skeleton-CqF0NJ4g.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
- package/dist/{vue-ui-smiley-CXbipVsb.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
- package/dist/{vue-ui-smiley-c_I60YOy.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
- package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Dm-2_5Ef.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
- package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
- package/dist/{vue-ui-sparkhistogram-qf87TXA-.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
- package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
- package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
- package/dist/{vue-ui-sparkline-CZBgvY1A.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
- package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-GtkDZDXZ.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
- package/dist/{vue-ui-stackbar-D_Ui7xec.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
- package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
- package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
- package/dist/{vue-ui-strip-plot--VJ3f5UV.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
- package/dist/{vue-ui-table-BCQ7voEV.js → vue-ui-table-BSi_cHh7.js} +1 -1
- package/dist/{vue-ui-table-B_6N0VOD.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-UwpQQMHB.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
- package/dist/{vue-ui-table-sparkline-Bzqs2Hcp.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
- package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
- package/dist/{vue-ui-thermometer-BQbYzsSV.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
- package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
- package/dist/{vue-ui-timer-KGEswANF.js → vue-ui-timer-CkB7eZaE.js} +191 -176
- package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
- package/dist/{vue-ui-tiremarks-BSkMCIu1.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
- package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
- package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
- package/dist/{vue-ui-treemap-DIWveOrq.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
- package/dist/{vue-ui-vertical-bar-Dx6wReOw.js → vue-ui-vertical-bar-BA43_uHV.js} +374 -358
- package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
- package/dist/{vue-ui-waffle-D3jMPOd3.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
- package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
- package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
- package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
- package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
- package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
- package/dist/{vue-ui-xy-9_2IHEOX.js → vue-ui-xy-BMBYAC4z.js} +300 -274
- package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
- package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DGuGy69l.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DhzN0gd4.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CfUUEeKt.cjs +0 -1
- package/dist/vue-ui-candlestick-DJIJnnI_.cjs +0 -2
- package/dist/vue-ui-carousel-table-uYt1zVjx.cjs +0 -1
- package/dist/vue-ui-chestnut-CG5krVO-.cjs +0 -6
- package/dist/vue-ui-donut-D6SrEIEJ.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Cb45erSA.cjs +0 -1
- package/dist/vue-ui-dumbbell-DVabaAYH.cjs +0 -9
- package/dist/vue-ui-flow-Bn1EP9Z1.cjs +0 -1
- package/dist/vue-ui-flow-Cz_xaLAs.js +0 -469
- package/dist/vue-ui-galaxy-Drnhlmmw.cjs +0 -1
- package/dist/vue-ui-gauge-CxIVYnG2.js +0 -488
- package/dist/vue-ui-gauge-D2reVZ-b.cjs +0 -1
- package/dist/vue-ui-gizmo-B6ZwXwFY.cjs +0 -1
- package/dist/vue-ui-heatmap-ClFm7qUu.cjs +0 -1
- package/dist/vue-ui-kpi-CdPFWSHA.cjs +0 -1
- package/dist/vue-ui-kpi-ClreiT4V.js +0 -84
- package/dist/vue-ui-molecule-JJQ3af-R.cjs +0 -1
- package/dist/vue-ui-mood-radar-DT4JU_6B.cjs +0 -1
- package/dist/vue-ui-nested-donuts-D6Dihmne.cjs +0 -17
- package/dist/vue-ui-onion-DoNDCpth.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CJMjEDXR.cjs +0 -8
- package/dist/vue-ui-quadrant-DWqmU3-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-CB5VelG0.cjs +0 -15
- package/dist/vue-ui-radar-aTceo-HQ.cjs +0 -1
- package/dist/vue-ui-relation-circle-D1z8MBVH.js +0 -310
- package/dist/vue-ui-relation-circle-DWGtziD_.cjs +0 -1
- package/dist/vue-ui-rings-gp0sEMy6.cjs +0 -2
- package/dist/vue-ui-scatter-BKl2fUIR.cjs +0 -1
- package/dist/vue-ui-spark-trend-C3sBXu8D.js +0 -251
- package/dist/vue-ui-spark-trend-CXkkMK6N.cjs +0 -1
- package/dist/vue-ui-sparkbar-BkN5iTUq.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D4EqU3x3.cjs +0 -1
- package/dist/vue-ui-sparkgauge-FKTXvE7e.js +0 -167
- package/dist/vue-ui-sparkhistogram-BkJz2dBD.cjs +0 -1
- package/dist/vue-ui-sparkline-TPkuvKtA.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-CzzfnPDS.cjs +0 -1
- package/dist/vue-ui-stackbar-NHgsl2-Z.cjs +0 -6
- package/dist/vue-ui-strip-plot-CU6OtKt7.cjs +0 -1
- package/dist/vue-ui-table-heatmap-DFMF1RZ0.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DWvOKdPb.cjs +0 -1
- package/dist/vue-ui-thermometer-BOuuVWuf.cjs +0 -1
- package/dist/vue-ui-timer-BCiMjXdm.cjs +0 -64
- package/dist/vue-ui-tiremarks-DuEz8cO5.cjs +0 -1
- package/dist/vue-ui-treemap-BO8gKQ4O.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Dpzyha_P.cjs +0 -4
- package/dist/vue-ui-waffle-C0-IVDjk.cjs +0 -1
- package/dist/vue-ui-wheel-B10kCoLD.js +0 -242
- package/dist/vue-ui-wheel-mWdIHlXV.cjs +0 -1
- package/dist/vue-ui-word-cloud-CYtRxpdV.cjs +0 -1
- package/dist/vue-ui-word-cloud-rhrsHes4.js +0 -498
- package/dist/vue-ui-xy-CFqs5rtd.cjs +0 -3
- package/dist/vue-ui-xy-canvas-sLH0pM-i.cjs +0 -9
|
@@ -1,18 +1,18 @@
|
|
|
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
|
-
const
|
|
1
|
+
import { computed as p, ref as y, watch as oe, onMounted as re, onBeforeUnmount as Le, openBlock as o, createElementBlock as r, normalizeClass as ne, normalizeStyle as F, createBlock as S, createCommentVNode as g, unref as d, createSlots as ze, withCtx as _, renderSlot as C, normalizeProps as ue, guardReactiveProps as ie, Fragment as w, renderList as $, createElementVNode as n, toDisplayString as L, createTextVNode as ce, nextTick as Xe } from "vue";
|
|
2
|
+
import { u as Se, c as de, t as Ae, o as Ne, e as ve, g as Te, s as he, B as Pe, f as z, X as ye, i as V, l as be, h as fe, q as Ge, r as De } from "./index-Cm4Iry5c.js";
|
|
3
|
+
import { t as Ie, u as Me } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as Fe } from "./Title-C26I_HC3.js";
|
|
5
|
+
import { u as Oe, U as Ee } from "./usePrinter-B8RnF8_q.js";
|
|
6
|
+
import { D as Ve } from "./DataTable-CQANRZju.js";
|
|
7
|
+
import He from "./vue-ui-skeleton-C1oUnz7R.js";
|
|
8
|
+
import { L as We } from "./Legend-DX1kv21U.js";
|
|
9
|
+
import Be from "./vue-ui-accordion-Cb6XBCbu.js";
|
|
10
|
+
import { u as ge } from "./useNestedProp-CurQIHTa.js";
|
|
11
|
+
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const Ue = ["id"], je = ["xmlns", "viewBox"], qe = { key: 0 }, Ye = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ze = { key: 1 }, Je = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ke = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Qe = { key: 2 }, et = ["x", "y", "font-size", "fill", "font-weight"], tt = ["x", "y", "font-size", "fill"], lt = { key: 3 }, at = ["x", "y", "font-size", "fill", "font-weight"], st = ["id"], ot = ["stop-color"], rt = ["stop-color"], nt = ["stop-color"], ut = ["id"], it = ["stop-color"], ct = ["stop-color"], dt = ["stop-color"], vt = ["id"], ht = ["stop-color"], yt = ["stop-color"], bt = ["id"], ft = ["stop-color"], gt = ["stop-color"], mt = { key: 0 }, pt = ["d", "fill"], _t = { key: 1 }, xt = ["x", "y", "height", "width", "fill"], kt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], wt = { key: 2 }, $t = ["x", "y", "fill", "font-size"], Lt = { key: 3 }, zt = ["x", "y", "fill", "font-size"], Xt = {
|
|
13
13
|
key: 3,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
|
-
},
|
|
15
|
+
}, St = ["xmlns", "height", "width"], At = ["fill"], Nt = ["innerHTML"], Tt = {
|
|
16
16
|
__name: "vue-ui-dumbbell",
|
|
17
17
|
props: {
|
|
18
18
|
config: {
|
|
@@ -29,36 +29,49 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectDatapoint"],
|
|
32
|
-
setup(
|
|
33
|
-
const
|
|
32
|
+
setup(me, { expose: pe, emit: Pt }) {
|
|
33
|
+
const m = me, { vue_ui_dumbbell: _e } = Se(), X = p({
|
|
34
34
|
get() {
|
|
35
|
-
return !!
|
|
35
|
+
return !!m.dataset && m.dataset.length;
|
|
36
36
|
},
|
|
37
37
|
set(l) {
|
|
38
38
|
return l;
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
}), h = y(de()), H = y(0), T = y(null), W = y(null), B = y(null), R = y(0), U = y(0), j = y(0), e = p({
|
|
41
|
+
get: () => q(),
|
|
42
|
+
set: (l) => l
|
|
43
|
+
});
|
|
44
|
+
function q() {
|
|
45
|
+
const l = ge({
|
|
46
|
+
userConfig: m.config,
|
|
47
|
+
defaultConfig: _e
|
|
44
48
|
});
|
|
45
49
|
return l.theme ? {
|
|
46
|
-
...
|
|
47
|
-
userConfig:
|
|
50
|
+
...ge({
|
|
51
|
+
userConfig: Ae.vue_ui_dumbbell[l.theme] || m.config,
|
|
48
52
|
defaultConfig: l
|
|
49
53
|
})
|
|
50
54
|
} : l;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
}
|
|
56
|
+
oe(() => m.config, (l) => {
|
|
57
|
+
e.value = q(), Y(), R.value += 1, U.value += 1, j.value += 1, v.value = e.value.style.chart.rowHeight, A.value = e.value.style.chart.width;
|
|
58
|
+
}, { deep: !0 }), oe(() => m.dataset, (l) => {
|
|
59
|
+
te();
|
|
60
|
+
}, { deep: !0 });
|
|
61
|
+
const P = y(null);
|
|
62
|
+
re(() => {
|
|
63
|
+
Y();
|
|
64
|
+
});
|
|
65
|
+
function Y() {
|
|
66
|
+
if (Ne(m.dataset) ? ve({
|
|
54
67
|
componentName: "VueUiDumbbell",
|
|
55
68
|
type: "dataset"
|
|
56
|
-
}) :
|
|
57
|
-
|
|
69
|
+
}) : m.dataset.forEach((l, u) => {
|
|
70
|
+
Te({
|
|
58
71
|
datasetObject: l,
|
|
59
72
|
requiredAttributes: ["name", "start", "end"]
|
|
60
73
|
}).forEach((t) => {
|
|
61
|
-
X.value = !1,
|
|
74
|
+
X.value = !1, ve({
|
|
62
75
|
componentName: "VueUiDumbbell",
|
|
63
76
|
type: "datasetSerieAttribute",
|
|
64
77
|
property: t,
|
|
@@ -66,48 +79,49 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
66
79
|
});
|
|
67
80
|
});
|
|
68
81
|
}), e.value.responsive) {
|
|
69
|
-
const l =
|
|
70
|
-
const { width: u, height: t } =
|
|
71
|
-
chart:
|
|
72
|
-
title: e.value.style.chart.title.text ?
|
|
82
|
+
const l = Ie(() => {
|
|
83
|
+
const { width: u, height: t } = Me({
|
|
84
|
+
chart: T.value,
|
|
85
|
+
title: e.value.style.chart.title.text ? W.value : null,
|
|
73
86
|
legend: e.value.style.chart.legend.show ? B.value : null
|
|
74
87
|
});
|
|
75
|
-
|
|
88
|
+
A.value = u, v.value = t / m.dataset.length, b.value = D();
|
|
76
89
|
});
|
|
77
|
-
|
|
90
|
+
P.value = new ResizeObserver(l), P.value.observe(T.value.parentNode);
|
|
78
91
|
}
|
|
79
|
-
}
|
|
80
|
-
|
|
92
|
+
}
|
|
93
|
+
Le(() => {
|
|
94
|
+
P.value && P.value.disconnect();
|
|
81
95
|
});
|
|
82
|
-
const { isPrinting:
|
|
83
|
-
elementId: `dumbbell_${
|
|
96
|
+
const { isPrinting: Z, isImaging: J, generatePdf: K, generateImage: Q } = Oe({
|
|
97
|
+
elementId: `dumbbell_${h.value}`,
|
|
84
98
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
85
|
-
}),
|
|
99
|
+
}), G = y({
|
|
86
100
|
showTable: e.value.table.show
|
|
87
|
-
}), x =
|
|
101
|
+
}), x = p(() => m.dataset.map((l, u) => ({
|
|
88
102
|
...l,
|
|
89
|
-
start:
|
|
90
|
-
end:
|
|
91
|
-
id:
|
|
92
|
-
}))), O =
|
|
103
|
+
start: he(l.start),
|
|
104
|
+
end: he(l.end),
|
|
105
|
+
id: de()
|
|
106
|
+
}))), O = p(() => ({
|
|
93
107
|
max: Math.max(...x.value.flatMap((l) => [l.start, l.end])),
|
|
94
108
|
min: Math.min(...x.value.flatMap((l) => [l.start, l.end]))
|
|
95
|
-
})), c =
|
|
96
|
-
const l =
|
|
109
|
+
})), c = p(() => Pe(O.value.min < 0 ? O.value.min : 0, O.value.max, e.value.style.chart.grid.scaleSteps)), v = y(e.value.style.chart.rowHeight), A = y(e.value.style.chart.width), a = p(() => {
|
|
110
|
+
const l = v.value, u = e.value.style.chart.padding.left + e.value.style.chart.padding.right + A.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l * m.dataset.length, s = c.value.ticks.length * (A.value / c.value.ticks.length);
|
|
97
111
|
return {
|
|
98
112
|
left: e.value.style.chart.padding.left,
|
|
99
113
|
right: u - e.value.style.chart.padding.right,
|
|
100
114
|
top: e.value.style.chart.padding.top,
|
|
101
115
|
bottom: t - e.value.style.chart.padding.bottom,
|
|
102
|
-
width:
|
|
103
|
-
height: l *
|
|
116
|
+
width: A.value,
|
|
117
|
+
height: l * m.dataset.length,
|
|
104
118
|
rowHeight: l,
|
|
105
119
|
absoluteHeight: t,
|
|
106
120
|
absoluteWidth: u,
|
|
107
121
|
widthPlotReference: s
|
|
108
122
|
};
|
|
109
123
|
});
|
|
110
|
-
function
|
|
124
|
+
function D() {
|
|
111
125
|
return x.value.map((l, u) => {
|
|
112
126
|
const t = a.value.left + (l.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * a.value.widthPlotReference, s = a.value.left + (l.end + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * a.value.widthPlotReference, i = t + (s - t) / 2;
|
|
113
127
|
return {
|
|
@@ -115,36 +129,39 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
115
129
|
startX: t,
|
|
116
130
|
endX: s,
|
|
117
131
|
centerX: i,
|
|
118
|
-
y: a.value.top + u *
|
|
132
|
+
y: a.value.top + u * v.value + v.value / 2,
|
|
119
133
|
endVal: l.start
|
|
120
134
|
};
|
|
121
135
|
});
|
|
122
136
|
}
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
137
|
+
const b = y([]), ee = y(null), xe = p(() => x.value.map((l) => l.end).reduce((l, u) => l + u, 0));
|
|
138
|
+
re(() => {
|
|
139
|
+
te();
|
|
140
|
+
});
|
|
141
|
+
function te() {
|
|
142
|
+
b.value = D();
|
|
143
|
+
let l = b.value.map((t) => t.start).reduce((t, s) => t + s, 0);
|
|
127
144
|
function u() {
|
|
128
145
|
const t = x.value.map((s) => s.end - s.start);
|
|
129
|
-
l >=
|
|
146
|
+
l >= xe.value ? (cancelAnimationFrame(ee.value), b.value = D()) : (b.value = b.value.map((s, i) => {
|
|
130
147
|
s.endVal += t[i] * (e.value.animationSpeed / 100);
|
|
131
|
-
const
|
|
148
|
+
const f = a.value.left + (s.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * a.value.widthPlotReference, M = a.value.left + (s.endVal + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * a.value.widthPlotReference, E = f + (M - f) / 2;
|
|
132
149
|
return {
|
|
133
150
|
...s,
|
|
134
|
-
startX:
|
|
151
|
+
startX: f,
|
|
135
152
|
endX: M,
|
|
136
|
-
centerX:
|
|
137
|
-
y: a.value.top + i *
|
|
153
|
+
centerX: E,
|
|
154
|
+
y: a.value.top + i * v.value + v.value / 2,
|
|
138
155
|
endVal: s.endVal
|
|
139
156
|
};
|
|
140
|
-
}), l =
|
|
157
|
+
}), l = b.value.map((s) => s.endVal).reduce((s, i) => s + i, 0), ee.value = requestAnimationFrame(u));
|
|
141
158
|
}
|
|
142
|
-
e.value.useAnimation ? u() :
|
|
143
|
-
}
|
|
144
|
-
const
|
|
145
|
-
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${
|
|
146
|
-
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${
|
|
147
|
-
]),
|
|
159
|
+
e.value.useAnimation ? u() : b.value = D();
|
|
160
|
+
}
|
|
161
|
+
const le = p(() => [
|
|
162
|
+
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${h.value})` : e.value.style.chart.plots.startColor },
|
|
163
|
+
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${h.value})` : e.value.style.chart.plots.endColor }
|
|
164
|
+
]), ke = p(() => ({
|
|
148
165
|
cy: "donut-div-legend",
|
|
149
166
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
150
167
|
color: e.value.style.chart.legend.color,
|
|
@@ -152,41 +169,41 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
152
169
|
paddingBottom: 12,
|
|
153
170
|
paddingTop: 12,
|
|
154
171
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
155
|
-
})), k =
|
|
156
|
-
const l =
|
|
172
|
+
})), k = p(() => {
|
|
173
|
+
const l = b.value.map((t) => ({
|
|
157
174
|
name: t.name
|
|
158
|
-
})), u =
|
|
175
|
+
})), u = b.value.map((t) => ({
|
|
159
176
|
start: t.start,
|
|
160
177
|
end: t.end
|
|
161
178
|
}));
|
|
162
179
|
return { head: l, body: u };
|
|
163
|
-
}), I =
|
|
180
|
+
}), I = p(() => {
|
|
164
181
|
const l = [
|
|
165
182
|
e.value.table.columnNames.series,
|
|
166
183
|
e.value.table.columnNames.start,
|
|
167
184
|
e.value.table.columnNames.end,
|
|
168
185
|
e.value.table.columnNames.progression
|
|
169
|
-
], u = k.value.head.map((i,
|
|
186
|
+
], u = k.value.head.map((i, f) => {
|
|
170
187
|
const M = z({
|
|
171
188
|
p: e.value.style.chart.labels.prefix,
|
|
172
|
-
v: k.value.body[
|
|
189
|
+
v: k.value.body[f].start,
|
|
173
190
|
s: e.value.style.chart.labels.suffix,
|
|
174
191
|
r: e.value.table.td.roundingValue
|
|
175
|
-
}),
|
|
192
|
+
}), E = z({
|
|
176
193
|
p: e.value.style.chart.labels.prefix,
|
|
177
|
-
v: k.value.body[
|
|
194
|
+
v: k.value.body[f].end,
|
|
178
195
|
s: e.value.style.chart.labels.suffix,
|
|
179
196
|
r: e.value.table.td.roundingValue
|
|
180
|
-
}),
|
|
181
|
-
v: 100 * (k.value.body[
|
|
197
|
+
}), $e = z({
|
|
198
|
+
v: 100 * (k.value.body[f].end / k.value.body[f].start - 1),
|
|
182
199
|
s: "%",
|
|
183
200
|
r: e.value.table.td.roundingPercentage
|
|
184
201
|
});
|
|
185
202
|
return [
|
|
186
203
|
{ name: i.name },
|
|
187
204
|
M,
|
|
188
|
-
|
|
189
|
-
|
|
205
|
+
E,
|
|
206
|
+
$e
|
|
190
207
|
];
|
|
191
208
|
}), t = {
|
|
192
209
|
th: {
|
|
@@ -213,44 +230,45 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
213
230
|
config: t
|
|
214
231
|
};
|
|
215
232
|
});
|
|
216
|
-
function
|
|
217
|
-
|
|
233
|
+
function ae() {
|
|
234
|
+
Xe(() => {
|
|
218
235
|
const l = k.value.head.map((s, i) => [[
|
|
219
236
|
s.name
|
|
220
|
-
], [k.value.body[i].start], [k.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 =
|
|
221
|
-
|
|
237
|
+
], [k.value.body[i].start], [k.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 = Ge(u);
|
|
238
|
+
De({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
|
|
222
239
|
});
|
|
223
240
|
}
|
|
224
|
-
const N =
|
|
225
|
-
function
|
|
226
|
-
N.value = l,
|
|
241
|
+
const N = y(!1);
|
|
242
|
+
function Ce(l) {
|
|
243
|
+
N.value = l, H.value += 1;
|
|
227
244
|
}
|
|
228
|
-
function
|
|
229
|
-
return
|
|
245
|
+
function we() {
|
|
246
|
+
return b.value;
|
|
230
247
|
}
|
|
231
|
-
function
|
|
232
|
-
|
|
248
|
+
function se() {
|
|
249
|
+
G.value.showTable = !G.value.showTable;
|
|
233
250
|
}
|
|
234
|
-
return
|
|
235
|
-
getData:
|
|
236
|
-
generatePdf:
|
|
237
|
-
generateCsv:
|
|
238
|
-
generateImage:
|
|
239
|
-
toggleTable:
|
|
251
|
+
return pe({
|
|
252
|
+
getData: we,
|
|
253
|
+
generatePdf: K,
|
|
254
|
+
generateCsv: ae,
|
|
255
|
+
generateImage: Q,
|
|
256
|
+
toggleTable: se
|
|
240
257
|
}), (l, u) => (o(), r("div", {
|
|
241
258
|
ref_key: "dumbbellChart",
|
|
242
|
-
ref:
|
|
243
|
-
class:
|
|
244
|
-
style:
|
|
245
|
-
id: `dumbbell_${
|
|
259
|
+
ref: T,
|
|
260
|
+
class: ne(`vue-ui-dumbbell ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
261
|
+
style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
262
|
+
id: `dumbbell_${h.value}`
|
|
246
263
|
}, [
|
|
247
264
|
e.value.style.chart.title.text ? (o(), r("div", {
|
|
248
265
|
key: 0,
|
|
249
266
|
ref_key: "chartTitle",
|
|
250
|
-
ref:
|
|
251
|
-
style:
|
|
267
|
+
ref: W,
|
|
268
|
+
style: F(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
|
|
252
269
|
}, [
|
|
253
|
-
|
|
270
|
+
(o(), S(Fe, {
|
|
271
|
+
key: `title_${R.value}`,
|
|
254
272
|
config: {
|
|
255
273
|
title: {
|
|
256
274
|
cy: "donut-div-title",
|
|
@@ -261,16 +279,16 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
261
279
|
...e.value.style.chart.title.subtitle
|
|
262
280
|
}
|
|
263
281
|
}
|
|
264
|
-
}, null, 8, ["config"])
|
|
265
|
-
], 4)) :
|
|
266
|
-
e.value.userOptions.show && X.value ? (o(),
|
|
282
|
+
}, null, 8, ["config"]))
|
|
283
|
+
], 4)) : g("", !0),
|
|
284
|
+
e.value.userOptions.show && X.value ? (o(), S(Ee, {
|
|
267
285
|
ref: "details",
|
|
268
|
-
key: `user_option_${
|
|
286
|
+
key: `user_option_${H.value}`,
|
|
269
287
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
270
288
|
color: e.value.style.chart.color,
|
|
271
|
-
isPrinting: d(
|
|
272
|
-
isImaging: d(
|
|
273
|
-
uid:
|
|
289
|
+
isPrinting: d(Z),
|
|
290
|
+
isImaging: d(J),
|
|
291
|
+
uid: h.value,
|
|
274
292
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
275
293
|
hasXls: e.value.userOptions.buttons.csv,
|
|
276
294
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -278,13 +296,13 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
278
296
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
279
297
|
isFullscreen: N.value,
|
|
280
298
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
281
|
-
chartElement:
|
|
282
|
-
onToggleFullscreen:
|
|
283
|
-
onGeneratePdf: d(
|
|
284
|
-
onGenerateCsv:
|
|
285
|
-
onGenerateImage: d(
|
|
286
|
-
onToggleTable:
|
|
287
|
-
},
|
|
299
|
+
chartElement: T.value,
|
|
300
|
+
onToggleFullscreen: Ce,
|
|
301
|
+
onGeneratePdf: d(K),
|
|
302
|
+
onGenerateCsv: ae,
|
|
303
|
+
onGenerateImage: d(Q),
|
|
304
|
+
onToggleTable: se
|
|
305
|
+
}, ze({ _: 2 }, [
|
|
288
306
|
l.$slots.optionPdf ? {
|
|
289
307
|
name: "optionPdf",
|
|
290
308
|
fn: _(() => [
|
|
@@ -316,19 +334,19 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
316
334
|
l.$slots.optionFullscreen ? {
|
|
317
335
|
name: "optionFullscreen",
|
|
318
336
|
fn: _(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
319
|
-
C(l.$slots, "optionFullscreen",
|
|
337
|
+
C(l.$slots, "optionFullscreen", ue(ie({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
320
338
|
]),
|
|
321
339
|
key: "4"
|
|
322
340
|
} : void 0
|
|
323
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
341
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
|
|
324
342
|
X.value ? (o(), r("svg", {
|
|
325
343
|
key: 2,
|
|
326
|
-
xmlns: d(
|
|
327
|
-
class:
|
|
344
|
+
xmlns: d(ye),
|
|
345
|
+
class: ne({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
328
346
|
viewBox: `0 0 ${a.value.absoluteWidth <= 0 ? 10 : a.value.absoluteWidth} ${a.value.absoluteHeight <= 0 ? 10 : a.value.absoluteHeight}`,
|
|
329
|
-
style:
|
|
347
|
+
style: F(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
330
348
|
}, [
|
|
331
|
-
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g",
|
|
349
|
+
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g", qe, [
|
|
332
350
|
(o(!0), r(w, null, $(c.value.ticks, (t, s) => (o(), r("line", {
|
|
333
351
|
x1: a.value.left + s * a.value.width / (c.value.ticks.length - 1),
|
|
334
352
|
x2: a.value.left + s * a.value.width / (c.value.ticks.length - 1),
|
|
@@ -337,18 +355,18 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
337
355
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
338
356
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
339
357
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
340
|
-
}, null, 8,
|
|
341
|
-
])) :
|
|
342
|
-
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g",
|
|
358
|
+
}, null, 8, Ye))), 256))
|
|
359
|
+
])) : g("", !0),
|
|
360
|
+
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g", Ze, [
|
|
343
361
|
(o(!0), r(w, null, $(x.value, (t, s) => (o(), r("line", {
|
|
344
362
|
x1: a.value.left,
|
|
345
363
|
x2: a.value.right,
|
|
346
|
-
y1: a.value.top + s *
|
|
347
|
-
y2: a.value.top + s *
|
|
364
|
+
y1: a.value.top + s * v.value,
|
|
365
|
+
y2: a.value.top + s * v.value,
|
|
348
366
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
349
367
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
350
368
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
351
|
-
}, null, 8,
|
|
369
|
+
}, null, 8, Je))), 256)),
|
|
352
370
|
n("line", {
|
|
353
371
|
x1: a.value.left,
|
|
354
372
|
x2: a.value.right,
|
|
@@ -357,20 +375,20 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
357
375
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
358
376
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
359
377
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
360
|
-
}, null, 8,
|
|
361
|
-
])) :
|
|
362
|
-
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g",
|
|
378
|
+
}, null, 8, Ke)
|
|
379
|
+
])) : g("", !0),
|
|
380
|
+
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g", Qe, [
|
|
363
381
|
(o(!0), r(w, null, $(x.value, (t, s) => (o(), r("text", {
|
|
364
382
|
x: a.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
365
|
-
y: a.value.top + s *
|
|
383
|
+
y: a.value.top + s * v.value + (e.value.style.chart.labels.yAxisLabels.showProgression ? v.value / 3 : v.value / 2) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
366
384
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
367
385
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
368
386
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
369
387
|
"text-anchor": "end"
|
|
370
|
-
}, L(t.name), 9,
|
|
388
|
+
}, L(t.name), 9, et))), 256)),
|
|
371
389
|
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(w, { key: 0 }, $(x.value, (t, s) => (o(), r("text", {
|
|
372
390
|
x: a.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
373
|
-
y: a.value.top + s *
|
|
391
|
+
y: a.value.top + s * v.value + v.value / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
374
392
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
375
393
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
376
394
|
"text-anchor": "end"
|
|
@@ -378,9 +396,9 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
378
396
|
v: 100 * (t.end / t.start - 1),
|
|
379
397
|
s: "%",
|
|
380
398
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
381
|
-
})), 9,
|
|
382
|
-
])) :
|
|
383
|
-
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g",
|
|
399
|
+
})), 9, tt))), 256)) : g("", !0)
|
|
400
|
+
])) : g("", !0),
|
|
401
|
+
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g", lt, [
|
|
384
402
|
(o(!0), r(w, null, $(c.value.ticks, (t, s) => (o(), r("text", {
|
|
385
403
|
x: a.value.left + s * (a.value.width / (c.value.ticks.length - 1)),
|
|
386
404
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
@@ -388,7 +406,7 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
388
406
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
389
407
|
"font-weight": e.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
390
408
|
"text-anchor": "middle"
|
|
391
|
-
}, L(d(
|
|
409
|
+
}, L(d(V)(
|
|
392
410
|
e.value.style.chart.labels.formatter,
|
|
393
411
|
t,
|
|
394
412
|
d(z)({
|
|
@@ -398,48 +416,48 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
398
416
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
399
417
|
}),
|
|
400
418
|
{ datapoint: t, seriesIndex: s }
|
|
401
|
-
)), 9,
|
|
402
|
-
])) :
|
|
419
|
+
)), 9, at))), 256))
|
|
420
|
+
])) : g("", !0),
|
|
403
421
|
n("defs", null, [
|
|
404
422
|
n("radialGradient", {
|
|
405
|
-
id: `start_grad_${
|
|
423
|
+
id: `start_grad_${h.value}`,
|
|
406
424
|
fy: "30%"
|
|
407
425
|
}, [
|
|
408
426
|
n("stop", {
|
|
409
427
|
offset: "10%",
|
|
410
|
-
"stop-color": d(
|
|
411
|
-
}, null, 8,
|
|
428
|
+
"stop-color": d(be)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
429
|
+
}, null, 8, ot),
|
|
412
430
|
n("stop", {
|
|
413
431
|
offset: "90%",
|
|
414
|
-
"stop-color": d(
|
|
415
|
-
}, null, 8,
|
|
432
|
+
"stop-color": d(fe)(e.value.style.chart.plots.startColor, 0.1)
|
|
433
|
+
}, null, 8, rt),
|
|
416
434
|
n("stop", {
|
|
417
435
|
offset: "100%",
|
|
418
436
|
"stop-color": e.value.style.chart.plots.startColor
|
|
419
|
-
}, null, 8,
|
|
420
|
-
], 8,
|
|
437
|
+
}, null, 8, nt)
|
|
438
|
+
], 8, st),
|
|
421
439
|
n("radialGradient", {
|
|
422
|
-
id: `end_grad_${
|
|
440
|
+
id: `end_grad_${h.value}`,
|
|
423
441
|
fy: "30%"
|
|
424
442
|
}, [
|
|
425
443
|
n("stop", {
|
|
426
444
|
offset: "10%",
|
|
427
|
-
"stop-color": d(
|
|
428
|
-
}, null, 8,
|
|
445
|
+
"stop-color": d(be)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
446
|
+
}, null, 8, it),
|
|
429
447
|
n("stop", {
|
|
430
448
|
offset: "90%",
|
|
431
|
-
"stop-color": d(
|
|
432
|
-
}, null, 8,
|
|
449
|
+
"stop-color": d(fe)(e.value.style.chart.plots.endColor, 0.1)
|
|
450
|
+
}, null, 8, ct),
|
|
433
451
|
n("stop", {
|
|
434
452
|
offset: "100%",
|
|
435
453
|
"stop-color": e.value.style.chart.plots.endColor
|
|
436
|
-
}, null, 8,
|
|
437
|
-
], 8,
|
|
454
|
+
}, null, 8, dt)
|
|
455
|
+
], 8, ut)
|
|
438
456
|
]),
|
|
439
|
-
(o(!0), r(w, null, $(
|
|
457
|
+
(o(!0), r(w, null, $(b.value, (t, s) => (o(), r("g", null, [
|
|
440
458
|
n("defs", null, [
|
|
441
459
|
n("linearGradient", {
|
|
442
|
-
id: `grad_positive_${
|
|
460
|
+
id: `grad_positive_${h.value}`,
|
|
443
461
|
x1: "0%",
|
|
444
462
|
x2: "100%",
|
|
445
463
|
y1: "0%",
|
|
@@ -448,14 +466,14 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
448
466
|
n("stop", {
|
|
449
467
|
offset: "0%",
|
|
450
468
|
"stop-color": e.value.style.chart.plots.startColor
|
|
451
|
-
}, null, 8,
|
|
469
|
+
}, null, 8, ht),
|
|
452
470
|
n("stop", {
|
|
453
471
|
offset: "100%",
|
|
454
472
|
"stop-color": e.value.style.chart.plots.endColor
|
|
455
|
-
}, null, 8,
|
|
456
|
-
], 8,
|
|
473
|
+
}, null, 8, yt)
|
|
474
|
+
], 8, vt),
|
|
457
475
|
n("linearGradient", {
|
|
458
|
-
id: `grad_negative_${
|
|
476
|
+
id: `grad_negative_${h.value}`,
|
|
459
477
|
x1: "0%",
|
|
460
478
|
x2: "100%",
|
|
461
479
|
y1: "0%",
|
|
@@ -464,14 +482,14 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
464
482
|
n("stop", {
|
|
465
483
|
offset: "0%",
|
|
466
484
|
"stop-color": e.value.style.chart.plots.endColor
|
|
467
|
-
}, null, 8,
|
|
485
|
+
}, null, 8, ft),
|
|
468
486
|
n("stop", {
|
|
469
487
|
offset: "100%",
|
|
470
488
|
"stop-color": e.value.style.chart.plots.startColor
|
|
471
|
-
}, null, 8,
|
|
472
|
-
], 8,
|
|
489
|
+
}, null, 8, gt)
|
|
490
|
+
], 8, bt)
|
|
473
491
|
]),
|
|
474
|
-
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g",
|
|
492
|
+
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g", mt, [
|
|
475
493
|
n("path", {
|
|
476
494
|
d: `M
|
|
477
495
|
${t.startX},${t.y + e.value.style.chart.plots.radius / 2}
|
|
@@ -482,41 +500,41 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
482
500
|
${t.startX},${t.y - e.value.style.chart.plots.radius / 2}
|
|
483
501
|
Z
|
|
484
502
|
`,
|
|
485
|
-
fill: t.endX > t.startX ? `url(#grad_positive_${
|
|
486
|
-
}, null, 8,
|
|
487
|
-
])) : (o(), r("g",
|
|
503
|
+
fill: t.endX > t.startX ? `url(#grad_positive_${h.value})` : `url(#grad_negative_${h.value})`
|
|
504
|
+
}, null, 8, pt)
|
|
505
|
+
])) : (o(), r("g", _t, [
|
|
488
506
|
n("rect", {
|
|
489
507
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
490
508
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
491
509
|
height: e.value.style.chart.plots.link.strokeWidth,
|
|
492
510
|
width: Math.abs(t.endX - t.startX),
|
|
493
|
-
fill: t.endX > t.startX ? `url(#grad_positive_${
|
|
494
|
-
}, null, 8,
|
|
511
|
+
fill: t.endX > t.startX ? `url(#grad_positive_${h.value})` : `url(#grad_negative_${h.value})`
|
|
512
|
+
}, null, 8, xt)
|
|
495
513
|
])),
|
|
496
514
|
n("circle", {
|
|
497
515
|
cx: t.startX,
|
|
498
516
|
cy: t.y,
|
|
499
517
|
r: e.value.style.chart.plots.radius,
|
|
500
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${
|
|
518
|
+
fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${h.value})` : e.value.style.chart.plots.startColor,
|
|
501
519
|
stroke: e.value.style.chart.plots.stroke,
|
|
502
520
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
503
|
-
}, null, 8,
|
|
521
|
+
}, null, 8, kt),
|
|
504
522
|
n("circle", {
|
|
505
523
|
cx: t.endX,
|
|
506
524
|
cy: t.y,
|
|
507
525
|
r: e.value.style.chart.plots.radius,
|
|
508
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${
|
|
526
|
+
fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${h.value})` : e.value.style.chart.plots.endColor,
|
|
509
527
|
stroke: e.value.style.chart.plots.stroke,
|
|
510
528
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
511
|
-
}, null, 8,
|
|
512
|
-
e.value.style.chart.labels.startLabels.show ? (o(), r("g",
|
|
513
|
-
(o(!0), r(w, null, $(
|
|
529
|
+
}, null, 8, Ct),
|
|
530
|
+
e.value.style.chart.labels.startLabels.show ? (o(), r("g", wt, [
|
|
531
|
+
(o(!0), r(w, null, $(b.value, (i, f) => (o(), r("text", {
|
|
514
532
|
x: i.startX,
|
|
515
|
-
y: a.value.top + (
|
|
533
|
+
y: a.value.top + (f + 1) * v.value - e.value.style.chart.labels.startLabels.fontSize / 3 + e.value.style.chart.labels.startLabels.offsetY,
|
|
516
534
|
fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
517
535
|
"font-size": e.value.style.chart.labels.startLabels.fontSize,
|
|
518
536
|
"text-anchor": "middle"
|
|
519
|
-
}, L(d(
|
|
537
|
+
}, L(d(V)(
|
|
520
538
|
e.value.style.chart.labels.formatter,
|
|
521
539
|
i.start,
|
|
522
540
|
d(z)({
|
|
@@ -525,17 +543,17 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
525
543
|
s: e.value.style.chart.labels.suffix,
|
|
526
544
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
527
545
|
}),
|
|
528
|
-
{ datapoint: i, seriesIndex:
|
|
529
|
-
)), 9,
|
|
530
|
-
])) :
|
|
531
|
-
e.value.style.chart.labels.endLabels.show ? (o(), r("g",
|
|
532
|
-
(o(!0), r(w, null, $(
|
|
546
|
+
{ datapoint: i, seriesIndex: f }
|
|
547
|
+
)), 9, $t))), 256))
|
|
548
|
+
])) : g("", !0),
|
|
549
|
+
e.value.style.chart.labels.endLabels.show ? (o(), r("g", Lt, [
|
|
550
|
+
(o(!0), r(w, null, $(b.value, (i, f) => (o(), r("text", {
|
|
533
551
|
x: i.endX,
|
|
534
|
-
y: a.value.top +
|
|
552
|
+
y: a.value.top + f * v.value + e.value.style.chart.labels.endLabels.fontSize + e.value.style.chart.labels.endLabels.offsetY,
|
|
535
553
|
fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
536
554
|
"font-size": e.value.style.chart.labels.endLabels.fontSize,
|
|
537
555
|
"text-anchor": "middle"
|
|
538
|
-
}, L(d(
|
|
556
|
+
}, L(d(V)(
|
|
539
557
|
e.value.style.chart.labels.formatter,
|
|
540
558
|
i.end,
|
|
541
559
|
d(z)({
|
|
@@ -544,16 +562,16 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
544
562
|
s: e.value.style.chart.labels.suffix,
|
|
545
563
|
r: e.value.style.chart.labels.endLabels.rounding
|
|
546
564
|
}),
|
|
547
|
-
{ datapoint: i, seriesIndex:
|
|
548
|
-
)), 9,
|
|
549
|
-
])) :
|
|
565
|
+
{ datapoint: i, seriesIndex: f }
|
|
566
|
+
)), 9, zt))), 256))
|
|
567
|
+
])) : g("", !0)
|
|
550
568
|
]))), 256)),
|
|
551
569
|
C(l.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
552
|
-
], 14,
|
|
553
|
-
l.$slots.watermark ? (o(), r("div",
|
|
554
|
-
C(l.$slots, "watermark",
|
|
555
|
-
])) :
|
|
556
|
-
X.value ?
|
|
570
|
+
], 14, je)) : g("", !0),
|
|
571
|
+
l.$slots.watermark ? (o(), r("div", Xt, [
|
|
572
|
+
C(l.$slots, "watermark", ue(ie({ isPrinting: d(Z) || d(J) })), void 0, !0)
|
|
573
|
+
])) : g("", !0),
|
|
574
|
+
X.value ? g("", !0) : (o(), S(He, {
|
|
557
575
|
key: 4,
|
|
558
576
|
config: {
|
|
559
577
|
type: "dumbbell",
|
|
@@ -569,17 +587,17 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
569
587
|
ref_key: "chartLegend",
|
|
570
588
|
ref: B
|
|
571
589
|
}, [
|
|
572
|
-
e.value.style.chart.legend.show && X.value ? (o(),
|
|
573
|
-
key:
|
|
574
|
-
legendSet:
|
|
575
|
-
config:
|
|
590
|
+
e.value.style.chart.legend.show && X.value ? (o(), S(We, {
|
|
591
|
+
key: `legend_${j.value}`,
|
|
592
|
+
legendSet: le.value,
|
|
593
|
+
config: ke.value
|
|
576
594
|
}, {
|
|
577
595
|
item: _(({ legend: t }) => [
|
|
578
596
|
n("div", {
|
|
579
|
-
style:
|
|
597
|
+
style: F(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
|
|
580
598
|
}, [
|
|
581
599
|
(o(), r("svg", {
|
|
582
|
-
xmlns: d(
|
|
600
|
+
xmlns: d(ye),
|
|
583
601
|
viewBox: "0 0 20 20",
|
|
584
602
|
height: e.value.style.chart.legend.fontSize,
|
|
585
603
|
width: e.value.style.chart.legend.fontSize
|
|
@@ -589,22 +607,22 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
589
607
|
cy: 10,
|
|
590
608
|
r: 9,
|
|
591
609
|
fill: t.color
|
|
592
|
-
}, null, 8,
|
|
593
|
-
], 8,
|
|
594
|
-
|
|
610
|
+
}, null, 8, At)
|
|
611
|
+
], 8, St)),
|
|
612
|
+
ce(" " + L(t.name), 1)
|
|
595
613
|
], 4)
|
|
596
614
|
]),
|
|
597
615
|
_: 1
|
|
598
616
|
}, 8, ["legendSet", "config"])) : C(l.$slots, "legend", {
|
|
599
617
|
key: 1,
|
|
600
|
-
legend:
|
|
618
|
+
legend: le.value
|
|
601
619
|
}, void 0, !0)
|
|
602
620
|
], 512),
|
|
603
|
-
X.value ? (o(),
|
|
621
|
+
X.value ? (o(), S(Be, {
|
|
604
622
|
key: 5,
|
|
605
623
|
hideDetails: "",
|
|
606
624
|
config: {
|
|
607
|
-
open:
|
|
625
|
+
open: G.value.showTable,
|
|
608
626
|
maxHeight: 1e4,
|
|
609
627
|
body: {
|
|
610
628
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -617,31 +635,32 @@ const Ve = ["id"], Ee = ["xmlns", "viewBox"], We = { key: 0 }, He = ["x1", "x2",
|
|
|
617
635
|
}
|
|
618
636
|
}, {
|
|
619
637
|
content: _(() => [
|
|
620
|
-
|
|
638
|
+
(o(), S(Ve, {
|
|
639
|
+
key: `table_${U.value}`,
|
|
621
640
|
colNames: I.value.colNames,
|
|
622
641
|
head: I.value.head,
|
|
623
642
|
body: I.value.body,
|
|
624
643
|
config: I.value.config,
|
|
625
644
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
626
|
-
onClose: u[0] || (u[0] = (t) =>
|
|
645
|
+
onClose: u[0] || (u[0] = (t) => G.value.showTable = !1)
|
|
627
646
|
}, {
|
|
628
647
|
th: _(({ th: t }) => [
|
|
629
648
|
n("div", {
|
|
630
649
|
innerHTML: t,
|
|
631
650
|
style: { display: "flex", "align-items": "center" }
|
|
632
|
-
}, null, 8,
|
|
651
|
+
}, null, 8, Nt)
|
|
633
652
|
]),
|
|
634
653
|
td: _(({ td: t }) => [
|
|
635
|
-
|
|
654
|
+
ce(L(t.name || t), 1)
|
|
636
655
|
]),
|
|
637
656
|
_: 1
|
|
638
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
657
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
639
658
|
]),
|
|
640
659
|
_: 1
|
|
641
|
-
}, 8, ["config"])) :
|
|
642
|
-
], 14,
|
|
660
|
+
}, 8, ["config"])) : g("", !0)
|
|
661
|
+
], 14, Ue));
|
|
643
662
|
}
|
|
644
|
-
},
|
|
663
|
+
}, Rt = /* @__PURE__ */ Re(Tt, [["__scopeId", "data-v-29e2319d"]]);
|
|
645
664
|
export {
|
|
646
|
-
|
|
665
|
+
Rt as default
|
|
647
666
|
};
|