vue-data-ui 2.3.28 → 2.3.29
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 +15 -0
- package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
- package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
- package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
- package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
- package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
- package/dist/DataTable-Doh_4M84.cjs +1 -0
- package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
- package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
- package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
- package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
- package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
- package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
- package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
- package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
- package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
- package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
- package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
- package/dist/index-hKWfT7Wa.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +65 -0
- package/dist/types/vue-data-ui.d.ts +65 -0
- package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
- package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
- package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
- package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
- package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
- package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +6 -6
- package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
- package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
- package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
- package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
- package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
- package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
- package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
- package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
- package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
- package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
- package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
- package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
- package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
- package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
- package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
- package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
- package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
- package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
- package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
- package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
- package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
- package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
- package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
- package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
- package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
- package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
- package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
- package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
- package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
- package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
- package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
- package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
- package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
- package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
- package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
- package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
- package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
- package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
- package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
- package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
- package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
- package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
- package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
- package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
- package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
- package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
- package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
- package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
- package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
- package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
- package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
- package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
- package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
- package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
- package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
- package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
- package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
- package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
- package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
- package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
- package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
- package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
- package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
- package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
- package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
- package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
- package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
- package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
- package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
- package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
- package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
- package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
- package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
- package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
- package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
- package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
- package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
- package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
- package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
- package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
- package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
- package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
- package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
- package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
- package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
- package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
- package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
- package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
- package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
- package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
- package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
- package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
- package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
- package/package.json +1 -1
- package/dist/DataTable-B4_9ynlY.cjs +0 -1
- package/dist/index-Y23HeR26.cjs +0 -4
- package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
- package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
- package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
- package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
- package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
- package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
- package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
- package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
- package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
- package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
- package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
- package/dist/vue-ui-onion-DiychUul.cjs +0 -1
- package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
- package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
- package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
- package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
- package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
- package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
- package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
- package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
- package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
- package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
- package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
- package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
- package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
- package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
- package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
- package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
- package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { computed as m, ref as g, onMounted 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 Me } from "./Legend-
|
|
9
|
-
import De from "./vue-ui-accordion-
|
|
10
|
-
import { u as
|
|
1
|
+
import { computed as m, ref as g, onMounted as Q, onBeforeUnmount as pe, openBlock as o, createElementBlock as r, normalizeClass as ee, normalizeStyle as D, createVNode as te, createCommentVNode as f, createBlock as F, unref as d, createSlots as _e, withCtx as _, renderSlot as C, normalizeProps as le, guardReactiveProps as ae, Fragment as w, renderList as $, createElementVNode as n, toDisplayString as L, createTextVNode as se, nextTick as xe } from "vue";
|
|
2
|
+
import { u as ke, c as oe, t as Ce, o as we, e as re, g as $e, A as Le, f as z, X as ne, i as E, l as ue, h as ie, q as ze, r as Xe } from "./index-BlXzlBwZ.js";
|
|
3
|
+
import { t as Ae, u as Se } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as Ne } from "./Title-eBTH8iGJ.js";
|
|
5
|
+
import { u as Te, U as Pe } from "./usePrinter-CZ8F5Cth.js";
|
|
6
|
+
import { D as Ge } from "./DataTable-CsPidn0_.js";
|
|
7
|
+
import Ie from "./vue-ui-skeleton-CJ2R5R6u.js";
|
|
8
|
+
import { L as Me } from "./Legend-CkQ_zypV.js";
|
|
9
|
+
import De from "./vue-ui-accordion-wHRG3nXl.js";
|
|
10
|
+
import { u as ce } from "./useNestedProp-BoNl5H_z.js";
|
|
11
11
|
import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const
|
|
12
|
+
const Oe = ["id"], Ve = ["xmlns", "viewBox"], Ee = { key: 0 }, We = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], He = { key: 1 }, Re = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Be = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ue = { key: 2 }, je = ["x", "y", "font-size", "fill", "font-weight"], qe = ["x", "y", "font-size", "fill"], Ye = { key: 3 }, Ze = ["x", "y", "font-size", "fill", "font-weight"], Je = ["id"], Ke = ["stop-color"], Qe = ["stop-color"], et = ["stop-color"], tt = ["id"], lt = ["stop-color"], at = ["stop-color"], st = ["stop-color"], ot = ["id"], rt = ["stop-color"], nt = ["stop-color"], ut = ["id"], it = ["stop-color"], ct = ["stop-color"], dt = { key: 0 }, vt = ["d", "fill"], ht = { key: 1 }, yt = ["x", "y", "height", "width", "fill"], bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ft = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], gt = { key: 2 }, mt = ["x", "y", "fill", "font-size"], pt = { key: 3 }, _t = ["x", "y", "fill", "font-size"], xt = {
|
|
13
13
|
key: 3,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
|
-
},
|
|
15
|
+
}, kt = ["xmlns", "height", "width"], Ct = ["fill"], wt = ["innerHTML"], $t = {
|
|
16
16
|
__name: "vue-ui-dumbbell",
|
|
17
17
|
props: {
|
|
18
18
|
config: {
|
|
@@ -29,36 +29,36 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectDatapoint"],
|
|
32
|
-
setup(
|
|
33
|
-
const p =
|
|
32
|
+
setup(de, { expose: ve, emit: Lt }) {
|
|
33
|
+
const p = de, { vue_ui_dumbbell: he } = ke(), X = m({
|
|
34
34
|
get() {
|
|
35
35
|
return !!p.dataset && p.dataset.length;
|
|
36
36
|
},
|
|
37
37
|
set(l) {
|
|
38
38
|
return l;
|
|
39
39
|
}
|
|
40
|
-
}), v = g(
|
|
41
|
-
const l =
|
|
40
|
+
}), v = g(oe()), W = g(0), S = g(null), H = g(null), R = g(null), e = m(() => {
|
|
41
|
+
const l = ce({
|
|
42
42
|
userConfig: p.config,
|
|
43
|
-
defaultConfig:
|
|
43
|
+
defaultConfig: he
|
|
44
44
|
});
|
|
45
45
|
return l.theme ? {
|
|
46
|
-
...
|
|
47
|
-
userConfig:
|
|
46
|
+
...ce({
|
|
47
|
+
userConfig: Ce.vue_ui_dumbbell[l.theme] || p.config,
|
|
48
48
|
defaultConfig: l
|
|
49
49
|
})
|
|
50
50
|
} : l;
|
|
51
51
|
}), N = g(null);
|
|
52
|
-
|
|
53
|
-
if (
|
|
52
|
+
Q(() => {
|
|
53
|
+
if (we(p.dataset) ? re({
|
|
54
54
|
componentName: "VueUiDumbbell",
|
|
55
55
|
type: "dataset"
|
|
56
56
|
}) : p.dataset.forEach((l, u) => {
|
|
57
|
-
|
|
57
|
+
$e({
|
|
58
58
|
datasetObject: l,
|
|
59
59
|
requiredAttributes: ["name", "start", "end"]
|
|
60
60
|
}).forEach((t) => {
|
|
61
|
-
X.value = !1,
|
|
61
|
+
X.value = !1, re({
|
|
62
62
|
componentName: "VueUiDumbbell",
|
|
63
63
|
type: "datasetSerieAttribute",
|
|
64
64
|
property: t,
|
|
@@ -66,32 +66,32 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
}), e.value.responsive) {
|
|
69
|
-
const l =
|
|
70
|
-
const { width: u, height: t } =
|
|
69
|
+
const l = Ae(() => {
|
|
70
|
+
const { width: u, height: t } = Se({
|
|
71
71
|
chart: S.value,
|
|
72
|
-
title: e.value.style.chart.title.text ?
|
|
73
|
-
legend: e.value.style.chart.legend.show ?
|
|
72
|
+
title: e.value.style.chart.title.text ? H.value : null,
|
|
73
|
+
legend: e.value.style.chart.legend.show ? R.value : null
|
|
74
74
|
});
|
|
75
75
|
P.value = u, h.value = t / p.dataset.length, y.value = G();
|
|
76
76
|
});
|
|
77
77
|
N.value = new ResizeObserver(l), N.value.observe(S.value.parentNode);
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), pe(() => {
|
|
80
80
|
N.value && N.value.disconnect();
|
|
81
81
|
});
|
|
82
|
-
const { isPrinting:
|
|
82
|
+
const { isPrinting: B, isImaging: U, generatePdf: j, generateImage: q } = Te({
|
|
83
83
|
elementId: `dumbbell_${v.value}`,
|
|
84
84
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
85
85
|
}), T = g({
|
|
86
86
|
showTable: e.value.table.show
|
|
87
87
|
}), x = m(() => p.dataset.map((l, u) => ({
|
|
88
88
|
...l,
|
|
89
|
-
id:
|
|
89
|
+
id: oe()
|
|
90
90
|
}))), O = m(() => ({
|
|
91
91
|
max: Math.max(...x.value.flatMap((l) => [l.start, l.end])),
|
|
92
92
|
min: Math.min(...x.value.flatMap((l) => [l.start, l.end]))
|
|
93
|
-
})),
|
|
94
|
-
const l = h.value, u = e.value.style.chart.padding.left + e.value.style.chart.padding.right + P.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l * p.dataset.length, s =
|
|
93
|
+
})), c = m(() => Le(O.value.min < 0 ? O.value.min : 0, O.value.max, e.value.style.chart.grid.scaleSteps)), h = g(e.value.style.chart.rowHeight), P = g(e.value.style.chart.width), a = m(() => {
|
|
94
|
+
const l = h.value, u = e.value.style.chart.padding.left + e.value.style.chart.padding.right + P.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l * p.dataset.length, s = c.value.ticks.length * (P.value / c.value.ticks.length);
|
|
95
95
|
return {
|
|
96
96
|
left: e.value.style.chart.padding.left,
|
|
97
97
|
right: u - e.value.style.chart.padding.right,
|
|
@@ -107,42 +107,42 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
107
107
|
});
|
|
108
108
|
function G() {
|
|
109
109
|
return x.value.map((l, u) => {
|
|
110
|
-
const t = a.value.left + (l.start + Math.abs(
|
|
110
|
+
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;
|
|
111
111
|
return {
|
|
112
112
|
...l,
|
|
113
113
|
startX: t,
|
|
114
114
|
endX: s,
|
|
115
|
-
centerX:
|
|
115
|
+
centerX: i,
|
|
116
116
|
y: a.value.top + u * h.value + h.value / 2,
|
|
117
117
|
endVal: l.start
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
|
-
const y = g([]),
|
|
122
|
-
|
|
121
|
+
const y = g([]), Y = g(null), ye = m(() => x.value.map((l) => l.end).reduce((l, u) => l + u, 0));
|
|
122
|
+
Q(() => {
|
|
123
123
|
y.value = G();
|
|
124
124
|
let l = y.value.map((t) => t.start).reduce((t, s) => t + s, 0);
|
|
125
125
|
function u() {
|
|
126
126
|
const t = x.value.map((s) => s.end - s.start);
|
|
127
|
-
l >=
|
|
128
|
-
s.endVal += t[
|
|
129
|
-
const
|
|
127
|
+
l >= ye.value ? (cancelAnimationFrame(Y.value), y.value = G()) : (y.value = y.value.map((s, i) => {
|
|
128
|
+
s.endVal += t[i] * (e.value.animationSpeed / 100);
|
|
129
|
+
const b = 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, V = b + (M - b) / 2;
|
|
130
130
|
return {
|
|
131
131
|
...s,
|
|
132
|
-
startX:
|
|
133
|
-
endX:
|
|
132
|
+
startX: b,
|
|
133
|
+
endX: M,
|
|
134
134
|
centerX: V,
|
|
135
|
-
y: a.value.top +
|
|
135
|
+
y: a.value.top + i * h.value + h.value / 2,
|
|
136
136
|
endVal: s.endVal
|
|
137
137
|
};
|
|
138
|
-
}), l = y.value.map((s) => s.endVal).reduce((s,
|
|
138
|
+
}), l = y.value.map((s) => s.endVal).reduce((s, i) => s + i, 0), Y.value = requestAnimationFrame(u));
|
|
139
139
|
}
|
|
140
140
|
e.value.useAnimation ? u() : y.value = G();
|
|
141
141
|
});
|
|
142
|
-
const
|
|
142
|
+
const Z = m(() => [
|
|
143
143
|
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${v.value})` : e.value.style.chart.plots.startColor },
|
|
144
144
|
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${v.value})` : e.value.style.chart.plots.endColor }
|
|
145
|
-
]),
|
|
145
|
+
]), be = m(() => ({
|
|
146
146
|
cy: "donut-div-legend",
|
|
147
147
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
148
148
|
color: e.value.style.chart.legend.color,
|
|
@@ -158,33 +158,33 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
158
158
|
end: t.end
|
|
159
159
|
}));
|
|
160
160
|
return { head: l, body: u };
|
|
161
|
-
}),
|
|
161
|
+
}), I = m(() => {
|
|
162
162
|
const l = [
|
|
163
163
|
e.value.table.columnNames.series,
|
|
164
164
|
e.value.table.columnNames.start,
|
|
165
165
|
e.value.table.columnNames.end,
|
|
166
166
|
e.value.table.columnNames.progression
|
|
167
|
-
], u = k.value.head.map((
|
|
168
|
-
const
|
|
167
|
+
], u = k.value.head.map((i, b) => {
|
|
168
|
+
const M = z({
|
|
169
169
|
p: e.value.style.chart.labels.prefix,
|
|
170
|
-
v: k.value.body[
|
|
170
|
+
v: k.value.body[b].start,
|
|
171
171
|
s: e.value.style.chart.labels.suffix,
|
|
172
172
|
r: e.value.table.td.roundingValue
|
|
173
173
|
}), V = z({
|
|
174
174
|
p: e.value.style.chart.labels.prefix,
|
|
175
|
-
v: k.value.body[
|
|
175
|
+
v: k.value.body[b].end,
|
|
176
176
|
s: e.value.style.chart.labels.suffix,
|
|
177
177
|
r: e.value.table.td.roundingValue
|
|
178
|
-
}),
|
|
179
|
-
v: 100 * (k.value.body[
|
|
178
|
+
}), me = z({
|
|
179
|
+
v: 100 * (k.value.body[b].end / k.value.body[b].start - 1),
|
|
180
180
|
s: "%",
|
|
181
181
|
r: e.value.table.td.roundingPercentage
|
|
182
182
|
});
|
|
183
183
|
return [
|
|
184
|
-
{ name:
|
|
185
|
-
|
|
184
|
+
{ name: i.name },
|
|
185
|
+
M,
|
|
186
186
|
V,
|
|
187
|
-
|
|
187
|
+
me
|
|
188
188
|
];
|
|
189
189
|
}), t = {
|
|
190
190
|
th: {
|
|
@@ -211,44 +211,44 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
211
211
|
config: t
|
|
212
212
|
};
|
|
213
213
|
});
|
|
214
|
-
function
|
|
215
|
-
|
|
216
|
-
const l = k.value.head.map((s,
|
|
214
|
+
function J() {
|
|
215
|
+
xe(() => {
|
|
216
|
+
const l = k.value.head.map((s, i) => [[
|
|
217
217
|
s.name
|
|
218
|
-
], [k.value.body[
|
|
219
|
-
|
|
218
|
+
], [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 = ze(u);
|
|
219
|
+
Xe({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
const A = g(!1);
|
|
223
|
-
function
|
|
224
|
-
A.value = l,
|
|
223
|
+
function fe(l) {
|
|
224
|
+
A.value = l, W.value += 1;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function ge() {
|
|
227
227
|
return y.value;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function K() {
|
|
230
230
|
T.value.showTable = !T.value.showTable;
|
|
231
231
|
}
|
|
232
|
-
return
|
|
233
|
-
getData:
|
|
234
|
-
generatePdf:
|
|
235
|
-
generateCsv:
|
|
236
|
-
generateImage:
|
|
237
|
-
toggleTable:
|
|
232
|
+
return ve({
|
|
233
|
+
getData: ge,
|
|
234
|
+
generatePdf: j,
|
|
235
|
+
generateCsv: J,
|
|
236
|
+
generateImage: q,
|
|
237
|
+
toggleTable: K
|
|
238
238
|
}), (l, u) => (o(), r("div", {
|
|
239
239
|
ref_key: "dumbbellChart",
|
|
240
240
|
ref: S,
|
|
241
|
-
class:
|
|
242
|
-
style:
|
|
241
|
+
class: ee(`vue-ui-dumbbell ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
242
|
+
style: D(`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%" : ""}`),
|
|
243
243
|
id: `dumbbell_${v.value}`
|
|
244
244
|
}, [
|
|
245
245
|
e.value.style.chart.title.text ? (o(), r("div", {
|
|
246
246
|
key: 0,
|
|
247
247
|
ref_key: "chartTitle",
|
|
248
|
-
ref:
|
|
249
|
-
style:
|
|
248
|
+
ref: H,
|
|
249
|
+
style: D(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
|
|
250
250
|
}, [
|
|
251
|
-
|
|
251
|
+
te(Ne, {
|
|
252
252
|
config: {
|
|
253
253
|
title: {
|
|
254
254
|
cy: "donut-div-title",
|
|
@@ -260,14 +260,14 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
}, null, 8, ["config"])
|
|
263
|
-
], 4)) :
|
|
264
|
-
e.value.userOptions.show && X.value ? (o(),
|
|
263
|
+
], 4)) : f("", !0),
|
|
264
|
+
e.value.userOptions.show && X.value ? (o(), F(Pe, {
|
|
265
265
|
ref: "details",
|
|
266
|
-
key: `user_option_${
|
|
266
|
+
key: `user_option_${W.value}`,
|
|
267
267
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
268
268
|
color: e.value.style.chart.color,
|
|
269
|
-
isPrinting: d(
|
|
270
|
-
isImaging: d(
|
|
269
|
+
isPrinting: d(B),
|
|
270
|
+
isImaging: d(U),
|
|
271
271
|
uid: v.value,
|
|
272
272
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
273
273
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -277,12 +277,12 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
277
277
|
isFullscreen: A.value,
|
|
278
278
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
279
279
|
chartElement: S.value,
|
|
280
|
-
onToggleFullscreen:
|
|
281
|
-
onGeneratePdf: d(
|
|
282
|
-
onGenerateCsv:
|
|
283
|
-
onGenerateImage: d(
|
|
284
|
-
onToggleTable:
|
|
285
|
-
},
|
|
280
|
+
onToggleFullscreen: fe,
|
|
281
|
+
onGeneratePdf: d(j),
|
|
282
|
+
onGenerateCsv: J,
|
|
283
|
+
onGenerateImage: d(q),
|
|
284
|
+
onToggleTable: K
|
|
285
|
+
}, _e({ _: 2 }, [
|
|
286
286
|
l.$slots.optionPdf ? {
|
|
287
287
|
name: "optionPdf",
|
|
288
288
|
fn: _(() => [
|
|
@@ -314,30 +314,30 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
314
314
|
l.$slots.optionFullscreen ? {
|
|
315
315
|
name: "optionFullscreen",
|
|
316
316
|
fn: _(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
317
|
-
C(l.$slots, "optionFullscreen",
|
|
317
|
+
C(l.$slots, "optionFullscreen", le(ae({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
318
318
|
]),
|
|
319
319
|
key: "4"
|
|
320
320
|
} : void 0
|
|
321
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
321
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
|
|
322
322
|
X.value ? (o(), r("svg", {
|
|
323
323
|
key: 2,
|
|
324
|
-
xmlns: d(
|
|
325
|
-
class:
|
|
324
|
+
xmlns: d(ne),
|
|
325
|
+
class: ee({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
326
326
|
viewBox: `0 0 ${a.value.absoluteWidth <= 0 ? 10 : a.value.absoluteWidth} ${a.value.absoluteHeight <= 0 ? 10 : a.value.absoluteHeight}`,
|
|
327
|
-
style:
|
|
327
|
+
style: D(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
328
328
|
}, [
|
|
329
|
-
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g",
|
|
330
|
-
(o(!0), r(w, null, $(
|
|
331
|
-
x1: a.value.left + s * a.value.width / (
|
|
332
|
-
x2: a.value.left + s * a.value.width / (
|
|
329
|
+
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g", Ee, [
|
|
330
|
+
(o(!0), r(w, null, $(c.value.ticks, (t, s) => (o(), r("line", {
|
|
331
|
+
x1: a.value.left + s * a.value.width / (c.value.ticks.length - 1),
|
|
332
|
+
x2: a.value.left + s * a.value.width / (c.value.ticks.length - 1),
|
|
333
333
|
y1: a.value.top,
|
|
334
334
|
y2: a.value.bottom,
|
|
335
335
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
336
336
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
337
337
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
338
|
-
}, null, 8,
|
|
339
|
-
])) :
|
|
340
|
-
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g",
|
|
338
|
+
}, null, 8, We))), 256))
|
|
339
|
+
])) : f("", !0),
|
|
340
|
+
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g", He, [
|
|
341
341
|
(o(!0), r(w, null, $(x.value, (t, s) => (o(), r("line", {
|
|
342
342
|
x1: a.value.left,
|
|
343
343
|
x2: a.value.right,
|
|
@@ -346,7 +346,7 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
346
346
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
347
347
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
348
348
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
349
|
-
}, null, 8,
|
|
349
|
+
}, null, 8, Re))), 256)),
|
|
350
350
|
n("line", {
|
|
351
351
|
x1: a.value.left,
|
|
352
352
|
x2: a.value.right,
|
|
@@ -355,9 +355,9 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
355
355
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
356
356
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
357
357
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
358
|
-
}, null, 8,
|
|
359
|
-
])) :
|
|
360
|
-
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g",
|
|
358
|
+
}, null, 8, Be)
|
|
359
|
+
])) : f("", !0),
|
|
360
|
+
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g", Ue, [
|
|
361
361
|
(o(!0), r(w, null, $(x.value, (t, s) => (o(), r("text", {
|
|
362
362
|
x: a.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
363
363
|
y: a.value.top + s * h.value + (e.value.style.chart.labels.yAxisLabels.showProgression ? h.value / 3 : h.value / 2) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -365,7 +365,7 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
365
365
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
366
366
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
367
367
|
"text-anchor": "end"
|
|
368
|
-
}, L(t.name), 9,
|
|
368
|
+
}, L(t.name), 9, je))), 256)),
|
|
369
369
|
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(w, { key: 0 }, $(x.value, (t, s) => (o(), r("text", {
|
|
370
370
|
x: a.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
371
371
|
y: a.value.top + s * h.value + h.value / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -376,23 +376,28 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
376
376
|
v: 100 * (t.end / t.start - 1),
|
|
377
377
|
s: "%",
|
|
378
378
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
379
|
-
})), 9,
|
|
380
|
-
])) :
|
|
381
|
-
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g",
|
|
382
|
-
(o(!0), r(w, null, $(
|
|
383
|
-
x: a.value.left + s * (a.value.width / (
|
|
379
|
+
})), 9, qe))), 256)) : f("", !0)
|
|
380
|
+
])) : f("", !0),
|
|
381
|
+
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g", Ye, [
|
|
382
|
+
(o(!0), r(w, null, $(c.value.ticks, (t, s) => (o(), r("text", {
|
|
383
|
+
x: a.value.left + s * (a.value.width / (c.value.ticks.length - 1)),
|
|
384
384
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
385
385
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
386
386
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
387
387
|
"font-weight": e.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
388
388
|
"text-anchor": "middle"
|
|
389
|
-
}, L(d(
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
389
|
+
}, L(d(E)(
|
|
390
|
+
e.value.style.chart.labels.formatter,
|
|
391
|
+
t,
|
|
392
|
+
d(z)({
|
|
393
|
+
p: e.value.style.chart.labels.prefix,
|
|
394
|
+
v: t,
|
|
395
|
+
s: e.value.style.chart.labels.suffix,
|
|
396
|
+
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
397
|
+
}),
|
|
398
|
+
{ datapoint: t, seriesIndex: s }
|
|
399
|
+
)), 9, Ze))), 256))
|
|
400
|
+
])) : f("", !0),
|
|
396
401
|
n("defs", null, [
|
|
397
402
|
n("radialGradient", {
|
|
398
403
|
id: `start_grad_${v.value}`,
|
|
@@ -400,34 +405,34 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
400
405
|
}, [
|
|
401
406
|
n("stop", {
|
|
402
407
|
offset: "10%",
|
|
403
|
-
"stop-color": d(
|
|
404
|
-
}, null, 8,
|
|
408
|
+
"stop-color": d(ue)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
409
|
+
}, null, 8, Ke),
|
|
405
410
|
n("stop", {
|
|
406
411
|
offset: "90%",
|
|
407
|
-
"stop-color": d(
|
|
408
|
-
}, null, 8,
|
|
412
|
+
"stop-color": d(ie)(e.value.style.chart.plots.startColor, 0.1)
|
|
413
|
+
}, null, 8, Qe),
|
|
409
414
|
n("stop", {
|
|
410
415
|
offset: "100%",
|
|
411
416
|
"stop-color": e.value.style.chart.plots.startColor
|
|
412
|
-
}, null, 8,
|
|
413
|
-
], 8,
|
|
417
|
+
}, null, 8, et)
|
|
418
|
+
], 8, Je),
|
|
414
419
|
n("radialGradient", {
|
|
415
420
|
id: `end_grad_${v.value}`,
|
|
416
421
|
fy: "30%"
|
|
417
422
|
}, [
|
|
418
423
|
n("stop", {
|
|
419
424
|
offset: "10%",
|
|
420
|
-
"stop-color": d(
|
|
421
|
-
}, null, 8,
|
|
425
|
+
"stop-color": d(ue)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
426
|
+
}, null, 8, lt),
|
|
422
427
|
n("stop", {
|
|
423
428
|
offset: "90%",
|
|
424
|
-
"stop-color": d(
|
|
425
|
-
}, null, 8,
|
|
429
|
+
"stop-color": d(ie)(e.value.style.chart.plots.endColor, 0.1)
|
|
430
|
+
}, null, 8, at),
|
|
426
431
|
n("stop", {
|
|
427
432
|
offset: "100%",
|
|
428
433
|
"stop-color": e.value.style.chart.plots.endColor
|
|
429
|
-
}, null, 8,
|
|
430
|
-
], 8,
|
|
434
|
+
}, null, 8, st)
|
|
435
|
+
], 8, tt)
|
|
431
436
|
]),
|
|
432
437
|
(o(!0), r(w, null, $(y.value, (t, s) => (o(), r("g", null, [
|
|
433
438
|
n("defs", null, [
|
|
@@ -441,12 +446,12 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
441
446
|
n("stop", {
|
|
442
447
|
offset: "0%",
|
|
443
448
|
"stop-color": e.value.style.chart.plots.startColor
|
|
444
|
-
}, null, 8,
|
|
449
|
+
}, null, 8, rt),
|
|
445
450
|
n("stop", {
|
|
446
451
|
offset: "100%",
|
|
447
452
|
"stop-color": e.value.style.chart.plots.endColor
|
|
448
|
-
}, null, 8,
|
|
449
|
-
], 8,
|
|
453
|
+
}, null, 8, nt)
|
|
454
|
+
], 8, ot),
|
|
450
455
|
n("linearGradient", {
|
|
451
456
|
id: `grad_negative_${v.value}`,
|
|
452
457
|
x1: "0%",
|
|
@@ -457,14 +462,14 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
457
462
|
n("stop", {
|
|
458
463
|
offset: "0%",
|
|
459
464
|
"stop-color": e.value.style.chart.plots.endColor
|
|
460
|
-
}, null, 8,
|
|
465
|
+
}, null, 8, it),
|
|
461
466
|
n("stop", {
|
|
462
467
|
offset: "100%",
|
|
463
468
|
"stop-color": e.value.style.chart.plots.startColor
|
|
464
|
-
}, null, 8,
|
|
465
|
-
], 8,
|
|
469
|
+
}, null, 8, ct)
|
|
470
|
+
], 8, ut)
|
|
466
471
|
]),
|
|
467
|
-
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g",
|
|
472
|
+
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g", dt, [
|
|
468
473
|
n("path", {
|
|
469
474
|
d: `M
|
|
470
475
|
${t.startX},${t.y + e.value.style.chart.plots.radius / 2}
|
|
@@ -476,15 +481,15 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
476
481
|
Z
|
|
477
482
|
`,
|
|
478
483
|
fill: t.endX > t.startX ? `url(#grad_positive_${v.value})` : `url(#grad_negative_${v.value})`
|
|
479
|
-
}, null, 8,
|
|
480
|
-
])) : (o(), r("g",
|
|
484
|
+
}, null, 8, vt)
|
|
485
|
+
])) : (o(), r("g", ht, [
|
|
481
486
|
n("rect", {
|
|
482
487
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
483
488
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
484
489
|
height: e.value.style.chart.plots.link.strokeWidth,
|
|
485
490
|
width: Math.abs(t.endX - t.startX),
|
|
486
491
|
fill: t.endX > t.startX ? `url(#grad_positive_${v.value})` : `url(#grad_negative_${v.value})`
|
|
487
|
-
}, null, 8,
|
|
492
|
+
}, null, 8, yt)
|
|
488
493
|
])),
|
|
489
494
|
n("circle", {
|
|
490
495
|
cx: t.startX,
|
|
@@ -493,7 +498,7 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
493
498
|
fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${v.value})` : e.value.style.chart.plots.startColor,
|
|
494
499
|
stroke: e.value.style.chart.plots.stroke,
|
|
495
500
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
496
|
-
}, null, 8,
|
|
501
|
+
}, null, 8, bt),
|
|
497
502
|
n("circle", {
|
|
498
503
|
cx: t.endX,
|
|
499
504
|
cy: t.y,
|
|
@@ -501,42 +506,52 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
501
506
|
fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${v.value})` : e.value.style.chart.plots.endColor,
|
|
502
507
|
stroke: e.value.style.chart.plots.stroke,
|
|
503
508
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
504
|
-
}, null, 8,
|
|
505
|
-
e.value.style.chart.labels.startLabels.show ? (o(), r("g",
|
|
506
|
-
(o(!0), r(w, null, $(y.value, (
|
|
507
|
-
x:
|
|
508
|
-
y: a.value.top + (
|
|
509
|
+
}, null, 8, ft),
|
|
510
|
+
e.value.style.chart.labels.startLabels.show ? (o(), r("g", gt, [
|
|
511
|
+
(o(!0), r(w, null, $(y.value, (i, b) => (o(), r("text", {
|
|
512
|
+
x: i.startX,
|
|
513
|
+
y: a.value.top + (b + 1) * h.value - e.value.style.chart.labels.startLabels.fontSize / 3 + e.value.style.chart.labels.startLabels.offsetY,
|
|
509
514
|
fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
510
515
|
"font-size": e.value.style.chart.labels.startLabels.fontSize,
|
|
511
516
|
"text-anchor": "middle"
|
|
512
|
-
}, L(d(
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
517
|
+
}, L(d(E)(
|
|
518
|
+
e.value.style.chart.labels.formatter,
|
|
519
|
+
i.start,
|
|
520
|
+
d(z)({
|
|
521
|
+
p: e.value.style.chart.labels.prefix,
|
|
522
|
+
v: i.start,
|
|
523
|
+
s: e.value.style.chart.labels.suffix,
|
|
524
|
+
r: e.value.style.chart.labels.startLabels.rounding
|
|
525
|
+
}),
|
|
526
|
+
{ datapoint: i, seriesIndex: b }
|
|
527
|
+
)), 9, mt))), 256))
|
|
528
|
+
])) : f("", !0),
|
|
529
|
+
e.value.style.chart.labels.endLabels.show ? (o(), r("g", pt, [
|
|
530
|
+
(o(!0), r(w, null, $(y.value, (i, b) => (o(), r("text", {
|
|
531
|
+
x: i.endX,
|
|
532
|
+
y: a.value.top + b * h.value + e.value.style.chart.labels.endLabels.fontSize + e.value.style.chart.labels.endLabels.offsetY,
|
|
523
533
|
fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
524
534
|
"font-size": e.value.style.chart.labels.endLabels.fontSize,
|
|
525
535
|
"text-anchor": "middle"
|
|
526
|
-
}, L(d(
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
536
|
+
}, L(d(E)(
|
|
537
|
+
e.value.style.chart.labels.formatter,
|
|
538
|
+
i.end,
|
|
539
|
+
d(z)({
|
|
540
|
+
p: e.value.style.chart.labels.prefix,
|
|
541
|
+
v: i.end,
|
|
542
|
+
s: e.value.style.chart.labels.suffix,
|
|
543
|
+
r: e.value.style.chart.labels.endLabels.rounding
|
|
544
|
+
}),
|
|
545
|
+
{ datapoint: i, seriesIndex: b }
|
|
546
|
+
)), 9, _t))), 256))
|
|
547
|
+
])) : f("", !0)
|
|
533
548
|
]))), 256)),
|
|
534
549
|
C(l.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
535
|
-
], 14,
|
|
536
|
-
l.$slots.watermark ? (o(), r("div",
|
|
537
|
-
C(l.$slots, "watermark",
|
|
538
|
-
])) :
|
|
539
|
-
X.value ?
|
|
550
|
+
], 14, Ve)) : f("", !0),
|
|
551
|
+
l.$slots.watermark ? (o(), r("div", xt, [
|
|
552
|
+
C(l.$slots, "watermark", le(ae({ isPrinting: d(B) || d(U) })), void 0, !0)
|
|
553
|
+
])) : f("", !0),
|
|
554
|
+
X.value ? f("", !0) : (o(), F(Ie, {
|
|
540
555
|
key: 4,
|
|
541
556
|
config: {
|
|
542
557
|
type: "dumbbell",
|
|
@@ -550,19 +565,19 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
550
565
|
}, null, 8, ["config"])),
|
|
551
566
|
n("div", {
|
|
552
567
|
ref_key: "chartLegend",
|
|
553
|
-
ref:
|
|
568
|
+
ref: R
|
|
554
569
|
}, [
|
|
555
|
-
e.value.style.chart.legend.show && X.value ? (o(),
|
|
570
|
+
e.value.style.chart.legend.show && X.value ? (o(), F(Me, {
|
|
556
571
|
key: 0,
|
|
557
|
-
legendSet:
|
|
558
|
-
config:
|
|
572
|
+
legendSet: Z.value,
|
|
573
|
+
config: be.value
|
|
559
574
|
}, {
|
|
560
575
|
item: _(({ legend: t }) => [
|
|
561
576
|
n("div", {
|
|
562
|
-
style:
|
|
577
|
+
style: D(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
|
|
563
578
|
}, [
|
|
564
579
|
(o(), r("svg", {
|
|
565
|
-
xmlns: d(
|
|
580
|
+
xmlns: d(ne),
|
|
566
581
|
viewBox: "0 0 20 20",
|
|
567
582
|
height: e.value.style.chart.legend.fontSize,
|
|
568
583
|
width: e.value.style.chart.legend.fontSize
|
|
@@ -572,18 +587,18 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
572
587
|
cy: 10,
|
|
573
588
|
r: 9,
|
|
574
589
|
fill: t.color
|
|
575
|
-
}, null, 8,
|
|
576
|
-
], 8,
|
|
577
|
-
|
|
590
|
+
}, null, 8, Ct)
|
|
591
|
+
], 8, kt)),
|
|
592
|
+
se(" " + L(t.name), 1)
|
|
578
593
|
], 4)
|
|
579
594
|
]),
|
|
580
595
|
_: 1
|
|
581
596
|
}, 8, ["legendSet", "config"])) : C(l.$slots, "legend", {
|
|
582
597
|
key: 1,
|
|
583
|
-
legend:
|
|
598
|
+
legend: Z.value
|
|
584
599
|
}, void 0, !0)
|
|
585
600
|
], 512),
|
|
586
|
-
X.value ? (o(),
|
|
601
|
+
X.value ? (o(), F(De, {
|
|
587
602
|
key: 5,
|
|
588
603
|
hideDetails: "",
|
|
589
604
|
config: {
|
|
@@ -600,11 +615,11 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
600
615
|
}
|
|
601
616
|
}, {
|
|
602
617
|
content: _(() => [
|
|
603
|
-
|
|
604
|
-
colNames:
|
|
605
|
-
head:
|
|
606
|
-
body:
|
|
607
|
-
config:
|
|
618
|
+
te(Ge, {
|
|
619
|
+
colNames: I.value.colNames,
|
|
620
|
+
head: I.value.head,
|
|
621
|
+
body: I.value.body,
|
|
622
|
+
config: I.value.config,
|
|
608
623
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
609
624
|
onClose: u[0] || (u[0] = (t) => T.value.showTable = !1)
|
|
610
625
|
}, {
|
|
@@ -612,19 +627,19 @@ const Ie = ["id"], Oe = ["xmlns", "viewBox"], Ve = { key: 0 }, Ee = ["x1", "x2",
|
|
|
612
627
|
n("div", {
|
|
613
628
|
innerHTML: t,
|
|
614
629
|
style: { display: "flex", "align-items": "center" }
|
|
615
|
-
}, null, 8,
|
|
630
|
+
}, null, 8, wt)
|
|
616
631
|
]),
|
|
617
632
|
td: _(({ td: t }) => [
|
|
618
|
-
|
|
633
|
+
se(L(t.name || t), 1)
|
|
619
634
|
]),
|
|
620
635
|
_: 1
|
|
621
636
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
622
637
|
]),
|
|
623
638
|
_: 1
|
|
624
|
-
}, 8, ["config"])) :
|
|
625
|
-
], 14,
|
|
639
|
+
}, 8, ["config"])) : f("", !0)
|
|
640
|
+
], 14, Oe));
|
|
626
641
|
}
|
|
627
|
-
}, Ft = /* @__PURE__ */ Fe(
|
|
642
|
+
}, Ft = /* @__PURE__ */ Fe($t, [["__scopeId", "data-v-32877f5e"]]);
|
|
628
643
|
export {
|
|
629
644
|
Ft as default
|
|
630
645
|
};
|