vue-data-ui 2.4.2 → 2.4.4
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-JuK2z9IB.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-BpPn4eWR.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-710895ks.js} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/index-CcykRspI.cjs +9 -0
- package/dist/{index-DnVHQ2xI.js → index-DCsPHn9C.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/useResponsive-CoxXLe23.js +189 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-D_MTGc8j.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BdzWvy4d.js} +41 -34
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +2 -2
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CHEdFQb7.js} +185 -168
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-DBk50kIe.js} +195 -158
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-Bo41qkGe.js} +263 -246
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-CkNOqa9q.js} +76 -69
- package/dist/vue-ui-carousel-table-lMqx64wd.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-CNWq-epB.js} +299 -286
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-C65SAJKb.js} +374 -357
- package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
- package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-BFbBlmBx.js} +240 -226
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-BnxRfvv0.js} +227 -210
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Cra_F-tK.js} +150 -137
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-DlJ7v0aD.js} +145 -132
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-CsqVvNxE.js} +210 -193
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-i4HFM04D.js} +203 -189
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-CgdepnhM.js} +164 -151
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-Bxro4962.js} +217 -203
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-B7dXBejH.js} +342 -325
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-i52wztm0.js} +267 -250
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +241 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BORPtgQO.js} +236 -219
- package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
- package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-yb1FzVdt.js} +469 -452
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-CoCbl19A.js} +198 -181
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
- package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
- package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-Bx2GEh6d.js} +221 -204
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-BARiPzro.js} +375 -358
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-DNuwx6_y.js} +419 -379
- package/dist/vue-ui-skeleton-DpfJbsNA.cjs +41 -0
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-CgCLrMox.js} +86 -79
- package/dist/vue-ui-spark-trend-aW-de-rX.cjs +1 -0
- package/dist/vue-ui-sparkbar-BLUXUlTY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-BXku33sq.js} +90 -83
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-Doi0iu0L.js} +57 -50
- package/dist/vue-ui-sparkgauge-RTiKvSMp.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-BnMvXlAP.js} +74 -67
- package/dist/vue-ui-sparkhistogram-C6AgJH1C.cjs +1 -0
- package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-DI7fq_MR.js} +134 -125
- package/dist/vue-ui-sparkline-DpVCQ6W9.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-Bvuq2sLW.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-oNnE5z1C.js} +84 -77
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-6g7b3yyu.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-BFM8HIM8.js} +265 -248
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-Bh48bMuU.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-DeRCR8l6.js} +55 -48
- package/dist/vue-ui-table-sparkline-C25qj1w_.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-w3H-od91.js} +88 -81
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-BySEVhT8.js} +162 -149
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/vue-ui-tiremarks-EzYdOMyf.js +317 -0
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-Da0f6vaF.js} +283 -266
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/vue-ui-vertical-bar-D1cBfu5p.js +869 -0
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-DM2LsEP7.js} +258 -241
- package/dist/vue-ui-wheel-B9cmixxi.js +299 -0
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/vue-ui-word-cloud-BLMWYOPy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-Baz7RXN2.js} +192 -183
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-DVnzVSqE.js} +339 -319
- package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-A7PKnWBs.js} +255 -246
- package/dist/vue-ui-xy-canvas-DAd-B98z.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-FfZRtJ6A.cjs +0 -9
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
- package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
- package/dist/vue-ui-donut-CplNylps.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
- package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +0 -15
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +0 -349
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
- package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
- package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
- package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
- package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +0 -303
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DwxpB46q.js +0 -852
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-Bbih5sSL.js +0 -282
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
- package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
|
@@ -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-DCsPHn9C.js";
|
|
3
|
+
import { t as He, u as We } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as Re } from "./Title-710895ks.js";
|
|
5
|
+
import { u as Be, U as Ue } from "./usePrinter-siG3sKWo.js";
|
|
6
|
+
import { D as je } from "./DataTable-BI1tjiA_.js";
|
|
7
|
+
import qe from "./vue-ui-skeleton-DNuwx6_y.js";
|
|
8
|
+
import { L as Ye } from "./Legend-CRMHjbGw.js";
|
|
9
|
+
import Ze from "./vue-ui-accordion-D4Er5Dy5.js";
|
|
10
|
+
import { u as ke } from "./useNestedProp-DdSlLeTW.js";
|
|
11
|
+
import { _ as Je } from "./PackageVersion-Clrfvyd8.js";
|
|
12
|
+
import { P as Ke } from "./PenAndPaper-BQzgk5kO.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,49 +31,49 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["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) => {
|
|
76
|
-
X.value = !1,
|
|
76
|
+
X.value = !1, be({
|
|
77
77
|
componentName: "VueUiDumbbell",
|
|
78
78
|
type: "datasetSerieAttribute",
|
|
79
79
|
property: t,
|
|
@@ -81,42 +81,44 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["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
|
-
legend: e.value.style.chart.legend.show ? q.value : null
|
|
88
|
+
legend: e.value.style.chart.legend.show ? q.value : null,
|
|
89
|
+
source: Y.value,
|
|
90
|
+
noTitle: Z.value
|
|
89
91
|
});
|
|
90
|
-
N.value = u,
|
|
92
|
+
N.value = u, h.value = t / p.dataset.length, b.value = D();
|
|
91
93
|
});
|
|
92
|
-
|
|
94
|
+
P.value = new ResizeObserver(l), P.value.observe(S.value.parentNode);
|
|
93
95
|
}
|
|
94
96
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
+
Ne(() => {
|
|
98
|
+
P.value && P.value.disconnect();
|
|
97
99
|
});
|
|
98
|
-
const { isPrinting:
|
|
99
|
-
elementId: `dumbbell_${
|
|
100
|
+
const { isPrinting: le, isImaging: ae, generatePdf: se, generateImage: oe } = Be({
|
|
101
|
+
elementId: `dumbbell_${f.value}`,
|
|
100
102
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
101
|
-
}), G =
|
|
103
|
+
}), $e = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), G = v({
|
|
102
104
|
showTable: e.value.table.show
|
|
103
|
-
}), x =
|
|
105
|
+
}), x = m(() => p.dataset.map((l, u) => ({
|
|
104
106
|
...l,
|
|
105
|
-
start:
|
|
106
|
-
end:
|
|
107
|
-
id:
|
|
108
|
-
}))),
|
|
107
|
+
start: ge(l.start),
|
|
108
|
+
end: ge(l.end),
|
|
109
|
+
id: fe()
|
|
110
|
+
}))), F = m(() => ({
|
|
109
111
|
max: Math.max(...x.value.flatMap((l) => [l.start, l.end])),
|
|
110
112
|
min: Math.min(...x.value.flatMap((l) => [l.start, l.end]))
|
|
111
|
-
})), c =
|
|
112
|
-
const 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);
|
|
113
115
|
return {
|
|
114
116
|
left: e.value.style.chart.padding.left,
|
|
115
117
|
right: u - e.value.style.chart.padding.right,
|
|
116
118
|
top: e.value.style.chart.padding.top,
|
|
117
119
|
bottom: t - e.value.style.chart.padding.bottom,
|
|
118
120
|
width: N.value,
|
|
119
|
-
height: l *
|
|
121
|
+
height: l * p.dataset.length,
|
|
120
122
|
rowHeight: l,
|
|
121
123
|
absoluteHeight: t,
|
|
122
124
|
absoluteWidth: u,
|
|
@@ -131,39 +133,39 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
131
133
|
startX: t,
|
|
132
134
|
endX: a,
|
|
133
135
|
centerX: i,
|
|
134
|
-
y: s.value.top + u *
|
|
136
|
+
y: s.value.top + u * h.value + h.value / 2,
|
|
135
137
|
endVal: l.start
|
|
136
138
|
};
|
|
137
139
|
});
|
|
138
140
|
}
|
|
139
|
-
const b =
|
|
140
|
-
|
|
141
|
-
|
|
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();
|
|
142
144
|
});
|
|
143
|
-
function
|
|
145
|
+
function ne() {
|
|
144
146
|
b.value = D();
|
|
145
147
|
let l = b.value.map((t) => t.start).reduce((t, a) => t + a, 0);
|
|
146
148
|
function u() {
|
|
147
149
|
const t = x.value.map((a) => a.end - a.start);
|
|
148
|
-
l >=
|
|
150
|
+
l >= Le.value ? (cancelAnimationFrame(re.value), b.value = D()) : (b.value = b.value.map((a, i) => {
|
|
149
151
|
a.endVal += t[i] * (e.value.animationSpeed / 100);
|
|
150
|
-
const
|
|
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;
|
|
151
153
|
return {
|
|
152
154
|
...a,
|
|
153
|
-
startX:
|
|
154
|
-
endX:
|
|
155
|
+
startX: g,
|
|
156
|
+
endX: O,
|
|
155
157
|
centerX: E,
|
|
156
|
-
y: s.value.top + i *
|
|
158
|
+
y: s.value.top + i * h.value + h.value / 2,
|
|
157
159
|
endVal: a.endVal
|
|
158
160
|
};
|
|
159
|
-
}), l = b.value.map((a) => a.endVal).reduce((a, i) => a + i, 0),
|
|
161
|
+
}), l = b.value.map((a) => a.endVal).reduce((a, i) => a + i, 0), re.value = requestAnimationFrame(u));
|
|
160
162
|
}
|
|
161
163
|
e.value.useAnimation ? u() : b.value = D();
|
|
162
164
|
}
|
|
163
|
-
const
|
|
164
|
-
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${
|
|
165
|
-
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${
|
|
166
|
-
]),
|
|
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(() => ({
|
|
167
169
|
cy: "donut-div-legend",
|
|
168
170
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
169
171
|
color: e.value.style.chart.legend.color,
|
|
@@ -171,7 +173,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
171
173
|
paddingBottom: 12,
|
|
172
174
|
paddingTop: 12,
|
|
173
175
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
174
|
-
})), C =
|
|
176
|
+
})), C = m(() => {
|
|
175
177
|
const l = b.value.map((t) => ({
|
|
176
178
|
name: t.name
|
|
177
179
|
})), u = b.value.map((t) => ({
|
|
@@ -179,33 +181,33 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
179
181
|
end: t.end
|
|
180
182
|
}));
|
|
181
183
|
return { head: l, body: u };
|
|
182
|
-
}), I =
|
|
184
|
+
}), I = m(() => {
|
|
183
185
|
const l = [
|
|
184
186
|
e.value.table.columnNames.series,
|
|
185
187
|
e.value.table.columnNames.start,
|
|
186
188
|
e.value.table.columnNames.end,
|
|
187
189
|
e.value.table.columnNames.progression
|
|
188
|
-
], u = C.value.head.map((i,
|
|
189
|
-
const
|
|
190
|
+
], u = C.value.head.map((i, g) => {
|
|
191
|
+
const O = z({
|
|
190
192
|
p: e.value.style.chart.labels.prefix,
|
|
191
|
-
v: C.value.body[
|
|
193
|
+
v: C.value.body[g].start,
|
|
192
194
|
s: e.value.style.chart.labels.suffix,
|
|
193
195
|
r: e.value.table.td.roundingValue
|
|
194
196
|
}), E = z({
|
|
195
197
|
p: e.value.style.chart.labels.prefix,
|
|
196
|
-
v: C.value.body[
|
|
198
|
+
v: C.value.body[g].end,
|
|
197
199
|
s: e.value.style.chart.labels.suffix,
|
|
198
200
|
r: e.value.table.td.roundingValue
|
|
199
|
-
}),
|
|
200
|
-
v: 100 * (C.value.body[
|
|
201
|
+
}), Se = z({
|
|
202
|
+
v: 100 * (C.value.body[g].end / C.value.body[g].start - 1),
|
|
201
203
|
s: "%",
|
|
202
204
|
r: e.value.table.td.roundingPercentage
|
|
203
205
|
});
|
|
204
206
|
return [
|
|
205
207
|
{ name: i.name },
|
|
206
|
-
|
|
208
|
+
O,
|
|
207
209
|
E,
|
|
208
|
-
|
|
210
|
+
Se
|
|
209
211
|
];
|
|
210
212
|
}), t = {
|
|
211
213
|
th: {
|
|
@@ -232,58 +234,65 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
232
234
|
config: t
|
|
233
235
|
};
|
|
234
236
|
});
|
|
235
|
-
function
|
|
236
|
-
|
|
237
|
+
function ie() {
|
|
238
|
+
Ge(() => {
|
|
237
239
|
const l = C.value.head.map((a, i) => [[
|
|
238
240
|
a.name
|
|
239
|
-
], [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 =
|
|
240
|
-
|
|
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" });
|
|
241
243
|
});
|
|
242
244
|
}
|
|
243
|
-
const
|
|
244
|
-
function
|
|
245
|
-
|
|
245
|
+
const T = v(!1);
|
|
246
|
+
function ze(l) {
|
|
247
|
+
T.value = l, U.value += 1;
|
|
246
248
|
}
|
|
247
|
-
function
|
|
249
|
+
function Xe() {
|
|
248
250
|
return b.value;
|
|
249
251
|
}
|
|
250
|
-
function
|
|
252
|
+
function ce() {
|
|
251
253
|
G.value.showTable = !G.value.showTable;
|
|
252
254
|
}
|
|
253
|
-
const M =
|
|
255
|
+
const M = v(!1);
|
|
254
256
|
function V() {
|
|
255
257
|
M.value = !M.value;
|
|
256
258
|
}
|
|
257
|
-
return
|
|
258
|
-
getData:
|
|
259
|
-
generatePdf:
|
|
260
|
-
generateCsv:
|
|
261
|
-
generateImage:
|
|
262
|
-
toggleTable:
|
|
259
|
+
return Ce({
|
|
260
|
+
getData: Xe,
|
|
261
|
+
generatePdf: se,
|
|
262
|
+
generateCsv: ie,
|
|
263
|
+
generateImage: oe,
|
|
264
|
+
toggleTable: ce,
|
|
263
265
|
toggleAnnotator: V
|
|
264
266
|
}), (l, u) => (o(), r("div", {
|
|
265
267
|
ref_key: "dumbbellChart",
|
|
266
268
|
ref: S,
|
|
267
|
-
class:
|
|
268
|
-
style: H(`font-family:${e.value.style.fontFamily};width:100%; text-align:center
|
|
269
|
-
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}`
|
|
270
272
|
}, [
|
|
271
|
-
e.value.userOptions.buttons.annotator ? (o(), L(
|
|
273
|
+
e.value.userOptions.buttons.annotator ? (o(), L(Ke, {
|
|
272
274
|
key: 0,
|
|
273
275
|
parent: S.value,
|
|
274
276
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
275
277
|
color: e.value.style.chart.color,
|
|
276
278
|
active: M.value,
|
|
277
279
|
onClose: V
|
|
278
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
279
|
-
e.value
|
|
280
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
281
|
+
$e.value ? (o(), r("div", {
|
|
280
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,
|
|
281
290
|
ref_key: "chartTitle",
|
|
282
291
|
ref: j,
|
|
283
292
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
284
293
|
}, [
|
|
285
|
-
(o(), L(
|
|
286
|
-
key: `title_${
|
|
294
|
+
(o(), L(Re, {
|
|
295
|
+
key: `title_${J.value}`,
|
|
287
296
|
config: {
|
|
288
297
|
title: {
|
|
289
298
|
cy: "donut-div-title",
|
|
@@ -295,33 +304,33 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
295
304
|
}
|
|
296
305
|
}
|
|
297
306
|
}, null, 8, ["config"]))
|
|
298
|
-
], 512)) :
|
|
299
|
-
e.value.userOptions.show && X.value ? (o(), L(
|
|
307
|
+
], 512)) : y("", !0),
|
|
308
|
+
e.value.userOptions.show && X.value ? (o(), L(Ue, {
|
|
300
309
|
ref: "details",
|
|
301
310
|
key: `user_option_${U.value}`,
|
|
302
311
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
303
312
|
color: e.value.style.chart.color,
|
|
304
|
-
isPrinting: d(
|
|
305
|
-
isImaging: d(
|
|
306
|
-
uid:
|
|
313
|
+
isPrinting: d(le),
|
|
314
|
+
isImaging: d(ae),
|
|
315
|
+
uid: f.value,
|
|
307
316
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
308
317
|
hasXls: e.value.userOptions.buttons.csv,
|
|
309
318
|
hasImg: e.value.userOptions.buttons.img,
|
|
310
319
|
hasTable: e.value.userOptions.buttons.table,
|
|
311
320
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
312
|
-
isFullscreen:
|
|
321
|
+
isFullscreen: T.value,
|
|
313
322
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
314
323
|
chartElement: S.value,
|
|
315
324
|
position: e.value.userOptions.position,
|
|
316
325
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
317
326
|
isAnnotation: M.value,
|
|
318
|
-
onToggleFullscreen:
|
|
319
|
-
onGeneratePdf: d(
|
|
320
|
-
onGenerateCsv:
|
|
321
|
-
onGenerateImage: d(
|
|
322
|
-
onToggleTable:
|
|
327
|
+
onToggleFullscreen: ze,
|
|
328
|
+
onGeneratePdf: d(se),
|
|
329
|
+
onGenerateCsv: ie,
|
|
330
|
+
onGenerateImage: d(oe),
|
|
331
|
+
onToggleTable: ce,
|
|
323
332
|
onToggleAnnotator: V
|
|
324
|
-
},
|
|
333
|
+
}, Te({ _: 2 }, [
|
|
325
334
|
l.$slots.optionPdf ? {
|
|
326
335
|
name: "optionPdf",
|
|
327
336
|
fn: _(() => [
|
|
@@ -364,16 +373,16 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
364
373
|
]),
|
|
365
374
|
key: "5"
|
|
366
375
|
} : void 0
|
|
367
|
-
]), 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),
|
|
368
377
|
X.value ? (o(), r("svg", {
|
|
369
|
-
key:
|
|
370
|
-
xmlns: d(
|
|
371
|
-
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 }),
|
|
372
381
|
viewBox: `0 0 ${s.value.absoluteWidth <= 0 ? 10 : s.value.absoluteWidth} ${s.value.absoluteHeight <= 0 ? 10 : s.value.absoluteHeight}`,
|
|
373
382
|
style: H(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
374
383
|
}, [
|
|
375
|
-
|
|
376
|
-
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, [
|
|
377
386
|
(o(!0), r(w, null, $(c.value.ticks, (t, a) => (o(), r("line", {
|
|
378
387
|
x1: s.value.left + a * s.value.width / (c.value.ticks.length - 1),
|
|
379
388
|
x2: s.value.left + a * s.value.width / (c.value.ticks.length - 1),
|
|
@@ -382,18 +391,18 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
382
391
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
383
392
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
384
393
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
385
|
-
}, null, 8,
|
|
386
|
-
])) :
|
|
387
|
-
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, [
|
|
388
397
|
(o(!0), r(w, null, $(x.value, (t, a) => (o(), r("line", {
|
|
389
398
|
x1: s.value.left,
|
|
390
399
|
x2: s.value.right,
|
|
391
|
-
y1: s.value.top + a *
|
|
392
|
-
y2: s.value.top + a *
|
|
400
|
+
y1: s.value.top + a * h.value,
|
|
401
|
+
y2: s.value.top + a * h.value,
|
|
393
402
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
394
403
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
395
404
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
396
|
-
}, null, 8,
|
|
405
|
+
}, null, 8, ot))), 256)),
|
|
397
406
|
n("line", {
|
|
398
407
|
x1: s.value.left,
|
|
399
408
|
x2: s.value.right,
|
|
@@ -402,20 +411,20 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
402
411
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
403
412
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
404
413
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
405
|
-
}, null, 8,
|
|
406
|
-
])) :
|
|
407
|
-
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, [
|
|
408
417
|
(o(!0), r(w, null, $(x.value, (t, a) => (o(), r("text", {
|
|
409
418
|
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
410
|
-
y: s.value.top + a *
|
|
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,
|
|
411
420
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
412
421
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
413
422
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
414
423
|
"text-anchor": "end"
|
|
415
|
-
}, A(t.name), 9,
|
|
424
|
+
}, A(t.name), 9, ut))), 256)),
|
|
416
425
|
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(w, { key: 0 }, $(x.value, (t, a) => (o(), r("text", {
|
|
417
426
|
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
418
|
-
y: s.value.top + a *
|
|
427
|
+
y: s.value.top + a * h.value + h.value / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
419
428
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
420
429
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
421
430
|
"text-anchor": "end"
|
|
@@ -423,9 +432,9 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
423
432
|
v: 100 * (t.end / t.start - 1),
|
|
424
433
|
s: "%",
|
|
425
434
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
426
|
-
})), 9,
|
|
427
|
-
])) :
|
|
428
|
-
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, [
|
|
429
438
|
(o(!0), r(w, null, $(c.value.ticks, (t, a) => (o(), r("text", {
|
|
430
439
|
x: s.value.left + a * (s.value.width / (c.value.ticks.length - 1)),
|
|
431
440
|
y: s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
@@ -443,48 +452,48 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
443
452
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
444
453
|
}),
|
|
445
454
|
{ datapoint: t, seriesIndex: a }
|
|
446
|
-
)), 9,
|
|
447
|
-
])) :
|
|
455
|
+
)), 9, dt))), 256))
|
|
456
|
+
])) : y("", !0),
|
|
448
457
|
n("defs", null, [
|
|
449
458
|
n("radialGradient", {
|
|
450
|
-
id: `start_grad_${
|
|
459
|
+
id: `start_grad_${f.value}`,
|
|
451
460
|
fy: "30%"
|
|
452
461
|
}, [
|
|
453
462
|
n("stop", {
|
|
454
463
|
offset: "10%",
|
|
455
|
-
"stop-color": d(
|
|
456
|
-
}, null, 8,
|
|
464
|
+
"stop-color": d(me)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
465
|
+
}, null, 8, ht),
|
|
457
466
|
n("stop", {
|
|
458
467
|
offset: "90%",
|
|
459
|
-
"stop-color": d(
|
|
460
|
-
}, null, 8,
|
|
468
|
+
"stop-color": d(_e)(e.value.style.chart.plots.startColor, 0.1)
|
|
469
|
+
}, null, 8, yt),
|
|
461
470
|
n("stop", {
|
|
462
471
|
offset: "100%",
|
|
463
472
|
"stop-color": e.value.style.chart.plots.startColor
|
|
464
|
-
}, null, 8,
|
|
465
|
-
], 8,
|
|
473
|
+
}, null, 8, ft)
|
|
474
|
+
], 8, vt),
|
|
466
475
|
n("radialGradient", {
|
|
467
|
-
id: `end_grad_${
|
|
476
|
+
id: `end_grad_${f.value}`,
|
|
468
477
|
fy: "30%"
|
|
469
478
|
}, [
|
|
470
479
|
n("stop", {
|
|
471
480
|
offset: "10%",
|
|
472
|
-
"stop-color": d(
|
|
473
|
-
}, null, 8,
|
|
481
|
+
"stop-color": d(me)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
482
|
+
}, null, 8, gt),
|
|
474
483
|
n("stop", {
|
|
475
484
|
offset: "90%",
|
|
476
|
-
"stop-color": d(
|
|
477
|
-
}, null, 8,
|
|
485
|
+
"stop-color": d(_e)(e.value.style.chart.plots.endColor, 0.1)
|
|
486
|
+
}, null, 8, pt),
|
|
478
487
|
n("stop", {
|
|
479
488
|
offset: "100%",
|
|
480
489
|
"stop-color": e.value.style.chart.plots.endColor
|
|
481
|
-
}, null, 8,
|
|
482
|
-
], 8,
|
|
490
|
+
}, null, 8, mt)
|
|
491
|
+
], 8, bt)
|
|
483
492
|
]),
|
|
484
493
|
(o(!0), r(w, null, $(b.value, (t, a) => (o(), r("g", null, [
|
|
485
494
|
n("defs", null, [
|
|
486
495
|
n("linearGradient", {
|
|
487
|
-
id: `grad_positive_${
|
|
496
|
+
id: `grad_positive_${f.value}`,
|
|
488
497
|
x1: "0%",
|
|
489
498
|
x2: "100%",
|
|
490
499
|
y1: "0%",
|
|
@@ -493,14 +502,14 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
493
502
|
n("stop", {
|
|
494
503
|
offset: "0%",
|
|
495
504
|
"stop-color": e.value.style.chart.plots.startColor
|
|
496
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, kt),
|
|
497
506
|
n("stop", {
|
|
498
507
|
offset: "100%",
|
|
499
508
|
"stop-color": e.value.style.chart.plots.endColor
|
|
500
|
-
}, null, 8,
|
|
501
|
-
], 8,
|
|
509
|
+
}, null, 8, xt)
|
|
510
|
+
], 8, _t),
|
|
502
511
|
n("linearGradient", {
|
|
503
|
-
id: `grad_negative_${
|
|
512
|
+
id: `grad_negative_${f.value}`,
|
|
504
513
|
x1: "0%",
|
|
505
514
|
x2: "100%",
|
|
506
515
|
y1: "0%",
|
|
@@ -509,14 +518,14 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
509
518
|
n("stop", {
|
|
510
519
|
offset: "0%",
|
|
511
520
|
"stop-color": e.value.style.chart.plots.endColor
|
|
512
|
-
}, null, 8,
|
|
521
|
+
}, null, 8, wt),
|
|
513
522
|
n("stop", {
|
|
514
523
|
offset: "100%",
|
|
515
524
|
"stop-color": e.value.style.chart.plots.startColor
|
|
516
|
-
}, null, 8,
|
|
517
|
-
], 8,
|
|
525
|
+
}, null, 8, $t)
|
|
526
|
+
], 8, Ct)
|
|
518
527
|
]),
|
|
519
|
-
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g",
|
|
528
|
+
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g", Lt, [
|
|
520
529
|
n("path", {
|
|
521
530
|
d: `M
|
|
522
531
|
${t.startX},${t.y + e.value.style.chart.plots.radius / 2}
|
|
@@ -527,37 +536,37 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
527
536
|
${t.startX},${t.y - e.value.style.chart.plots.radius / 2}
|
|
528
537
|
Z
|
|
529
538
|
`,
|
|
530
|
-
fill: t.endX > t.startX ? `url(#grad_positive_${
|
|
531
|
-
}, null, 8,
|
|
532
|
-
])) : (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, [
|
|
533
542
|
n("rect", {
|
|
534
543
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
535
544
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
536
545
|
height: e.value.style.chart.plots.link.strokeWidth,
|
|
537
546
|
width: Math.abs(t.endX - t.startX),
|
|
538
|
-
fill: t.endX > t.startX ? `url(#grad_positive_${
|
|
539
|
-
}, null, 8,
|
|
547
|
+
fill: t.endX > t.startX ? `url(#grad_positive_${f.value})` : `url(#grad_negative_${f.value})`
|
|
548
|
+
}, null, 8, Xt)
|
|
540
549
|
])),
|
|
541
550
|
n("circle", {
|
|
542
551
|
cx: t.startX,
|
|
543
552
|
cy: t.y,
|
|
544
553
|
r: e.value.style.chart.plots.radius,
|
|
545
|
-
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,
|
|
546
555
|
stroke: e.value.style.chart.plots.stroke,
|
|
547
556
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
548
|
-
}, null, 8,
|
|
557
|
+
}, null, 8, St),
|
|
549
558
|
n("circle", {
|
|
550
559
|
cx: t.endX,
|
|
551
560
|
cy: t.y,
|
|
552
561
|
r: e.value.style.chart.plots.radius,
|
|
553
|
-
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,
|
|
554
563
|
stroke: e.value.style.chart.plots.stroke,
|
|
555
564
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
556
|
-
}, null, 8,
|
|
557
|
-
e.value.style.chart.labels.startLabels.show ? (o(), r("g",
|
|
558
|
-
(o(!0), r(w, null, $(b.value, (i,
|
|
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", {
|
|
559
568
|
x: i.startX,
|
|
560
|
-
y: s.value.top + (
|
|
569
|
+
y: s.value.top + (g + 1) * h.value - e.value.style.chart.labels.startLabels.fontSize / 3 + e.value.style.chart.labels.startLabels.offsetY,
|
|
561
570
|
fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
562
571
|
"font-size": e.value.style.chart.labels.startLabels.fontSize,
|
|
563
572
|
"text-anchor": "middle"
|
|
@@ -570,13 +579,13 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
570
579
|
s: e.value.style.chart.labels.suffix,
|
|
571
580
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
572
581
|
}),
|
|
573
|
-
{ datapoint: i, seriesIndex:
|
|
574
|
-
)), 9,
|
|
575
|
-
])) :
|
|
576
|
-
e.value.style.chart.labels.endLabels.show ? (o(), r("g",
|
|
577
|
-
(o(!0), r(w, null, $(b.value, (i,
|
|
582
|
+
{ datapoint: i, seriesIndex: g }
|
|
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", {
|
|
578
587
|
x: i.endX,
|
|
579
|
-
y: s.value.top +
|
|
588
|
+
y: s.value.top + g * h.value + e.value.style.chart.labels.endLabels.fontSize + e.value.style.chart.labels.endLabels.offsetY,
|
|
580
589
|
fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
581
590
|
"font-size": e.value.style.chart.labels.endLabels.fontSize,
|
|
582
591
|
"text-anchor": "middle"
|
|
@@ -589,17 +598,17 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
589
598
|
s: e.value.style.chart.labels.suffix,
|
|
590
599
|
r: e.value.style.chart.labels.endLabels.rounding
|
|
591
600
|
}),
|
|
592
|
-
{ datapoint: i, seriesIndex:
|
|
593
|
-
)), 9,
|
|
594
|
-
])) :
|
|
601
|
+
{ datapoint: i, seriesIndex: g }
|
|
602
|
+
)), 9, Dt))), 256))
|
|
603
|
+
])) : y("", !0)
|
|
595
604
|
]))), 256)),
|
|
596
605
|
k(l.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
597
|
-
], 14,
|
|
598
|
-
l.$slots.watermark ? (o(), r("div",
|
|
599
|
-
k(l.$slots, "watermark", W(R({ isPrinting: d(
|
|
600
|
-
])) :
|
|
601
|
-
X.value ?
|
|
602
|
-
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,
|
|
603
612
|
config: {
|
|
604
613
|
type: "dumbbell",
|
|
605
614
|
style: {
|
|
@@ -614,17 +623,17 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
614
623
|
ref_key: "chartLegend",
|
|
615
624
|
ref: q
|
|
616
625
|
}, [
|
|
617
|
-
e.value.style.chart.legend.show && X.value ? (o(), L(
|
|
618
|
-
key: `legend_${
|
|
619
|
-
legendSet:
|
|
620
|
-
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
|
|
621
630
|
}, {
|
|
622
631
|
item: _(({ legend: t }) => [
|
|
623
632
|
n("div", {
|
|
624
633
|
style: H(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
|
|
625
634
|
}, [
|
|
626
635
|
(o(), r("svg", {
|
|
627
|
-
xmlns: d(
|
|
636
|
+
xmlns: d(pe),
|
|
628
637
|
viewBox: "0 0 20 20",
|
|
629
638
|
height: e.value.style.chart.legend.fontSize,
|
|
630
639
|
width: e.value.style.chart.legend.fontSize
|
|
@@ -634,19 +643,27 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
634
643
|
cy: 10,
|
|
635
644
|
r: 9,
|
|
636
645
|
fill: t.color
|
|
637
|
-
}, null, 8,
|
|
638
|
-
], 8,
|
|
639
|
-
|
|
646
|
+
}, null, 8, Ot)
|
|
647
|
+
], 8, Mt)),
|
|
648
|
+
ye(" " + A(t.name), 1)
|
|
640
649
|
], 4)
|
|
641
650
|
]),
|
|
642
651
|
_: 1
|
|
643
652
|
}, 8, ["legendSet", "config"])) : k(l.$slots, "legend", {
|
|
644
653
|
key: 1,
|
|
645
|
-
legend:
|
|
654
|
+
legend: ue.value
|
|
646
655
|
}, void 0, !0)
|
|
647
656
|
], 512),
|
|
648
|
-
|
|
649
|
-
key:
|
|
657
|
+
l.$slots.source ? (o(), r("div", {
|
|
658
|
+
key: 7,
|
|
659
|
+
ref_key: "source",
|
|
660
|
+
ref: Y,
|
|
661
|
+
dir: "auto"
|
|
662
|
+
}, [
|
|
663
|
+
k(l.$slots, "source", {}, void 0, !0)
|
|
664
|
+
], 512)) : y("", !0),
|
|
665
|
+
X.value ? (o(), L(Ze, {
|
|
666
|
+
key: 8,
|
|
650
667
|
hideDetails: "",
|
|
651
668
|
config: {
|
|
652
669
|
open: G.value.showTable,
|
|
@@ -662,8 +679,8 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
662
679
|
}
|
|
663
680
|
}, {
|
|
664
681
|
content: _(() => [
|
|
665
|
-
(o(), L(
|
|
666
|
-
key: `table_${
|
|
682
|
+
(o(), L(je, {
|
|
683
|
+
key: `table_${K.value}`,
|
|
667
684
|
colNames: I.value.colNames,
|
|
668
685
|
head: I.value.head,
|
|
669
686
|
body: I.value.body,
|
|
@@ -675,19 +692,19 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = { key: 0 }, et = ["x1", "x2",
|
|
|
675
692
|
n("div", {
|
|
676
693
|
innerHTML: t,
|
|
677
694
|
style: { display: "flex", "align-items": "center" }
|
|
678
|
-
}, null, 8,
|
|
695
|
+
}, null, 8, Ft)
|
|
679
696
|
]),
|
|
680
697
|
td: _(({ td: t }) => [
|
|
681
|
-
|
|
698
|
+
ye(A(t.name || t), 1)
|
|
682
699
|
]),
|
|
683
700
|
_: 1
|
|
684
701
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
685
702
|
]),
|
|
686
703
|
_: 1
|
|
687
|
-
}, 8, ["config"])) :
|
|
688
|
-
], 14,
|
|
704
|
+
}, 8, ["config"])) : y("", !0)
|
|
705
|
+
], 14, et));
|
|
689
706
|
}
|
|
690
|
-
},
|
|
707
|
+
}, tl = /* @__PURE__ */ Qe(Vt, [["__scopeId", "data-v-d151e2f0"]]);
|
|
691
708
|
export {
|
|
692
|
-
|
|
709
|
+
tl as default
|
|
693
710
|
};
|