vue-data-ui 2.4.58 → 2.4.60
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 +82 -51
- package/dist/{Arrow-gAjHZoeI.js → Arrow-BLYi22nR.js} +1 -1
- package/dist/{Arrow-DyvFEpcu.cjs → Arrow-BoAS4IQq.cjs} +1 -1
- package/dist/{BaseIcon-DKQOeA_7.cjs → BaseIcon-BHIQREMO.cjs} +1 -1
- package/dist/{BaseIcon-B0g_Fksl.js → BaseIcon-EWtqg17H.js} +1 -1
- package/dist/{DataTable-BloVsNyj.js → DataTable-DO8KGCcE.js} +2 -2
- package/dist/{DataTable-Bju6hUOX.cjs → DataTable-Dtq94CxH.cjs} +1 -1
- package/dist/{Legend-BsPIe_nG.cjs → Legend-CMyzYtIb.cjs} +1 -1
- package/dist/{Legend-CdpH9pz7.js → Legend-DGWOCyLt.js} +1 -1
- package/dist/{PackageVersion-W3d_oNMs.js → PackageVersion-BSLNI6kk.js} +1 -1
- package/dist/{PackageVersion-Bmujq1-q.cjs → PackageVersion-B_1OHk5A.cjs} +1 -1
- package/dist/{PenAndPaper-xuFs3BqZ.js → PenAndPaper-CxMtGtJt.js} +3 -3
- package/dist/{PenAndPaper-Be8tn5wI.cjs → PenAndPaper-DhXsAnuf.cjs} +1 -1
- package/dist/{Shape-CXTDY_Vo.js → Shape-DnqZey62.js} +1 -1
- package/dist/{Shape-Cx89w9Ul.cjs → Shape-y66NSXKp.cjs} +1 -1
- package/dist/{Slicer-HGyFRIya.cjs → Slicer-CkI4c7ft.cjs} +1 -1
- package/dist/{Slicer-ENfxtrty.js → Slicer-D9bKLcPd.js} +2 -2
- package/dist/{Title-1u-GspsX.js → Title-CSqO5Y62.js} +1 -1
- package/dist/{Title-CNO85jNx.cjs → Title-DjAOcuWO.cjs} +1 -1
- package/dist/{Tooltip-DQOeAhx3.cjs → Tooltip-AHTiRuWB.cjs} +1 -1
- package/dist/{Tooltip-B-1Q-Tts.js → Tooltip-D_6iYZSH.js} +1 -1
- package/dist/documentation/installation.md +48 -48
- package/dist/index-CgZGelSi.cjs +9 -0
- package/dist/{index-BSzkwF5n.js → index-D7dTQAhm.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CSKuqs0C.cjs → useNestedProp-BxCE3J3Z.cjs} +1 -1
- package/dist/{useNestedProp-BWC_DPZ5.js → useNestedProp-Dqsj7eUX.js} +1 -1
- package/dist/{usePrinter-DtwWejoO.js → usePrinter-B_Ihuvge.js} +1 -1
- package/dist/{usePrinter-D-iwyLyE.cjs → usePrinter-sTw1FdN_.cjs} +1 -1
- package/dist/{vue-data-ui-Com866XF.cjs → vue-data-ui-BttN99Pm.cjs} +1 -1
- package/dist/{vue-data-ui-jb1K_VTO.js → vue-data-ui-CcmpjOfT.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-8ewYobNj.cjs +19 -0
- package/dist/{vue-ui-3d-bar-Cqc5gqnb.js → vue-ui-3d-bar-TVrDBG5I.js} +170 -158
- package/dist/{vue-ui-accordion-lCjQo2kd.cjs → vue-ui-accordion-BZH6cz4t.cjs} +1 -1
- package/dist/{vue-ui-accordion-CJdfn7N-.js → vue-ui-accordion-lCiFhb8k.js} +3 -3
- package/dist/vue-ui-age-pyramid-BqL8zDjt.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D89kDZnF.js → vue-ui-age-pyramid-rHtMf5-R.js} +176 -164
- package/dist/{vue-ui-annotator-Cf-zFFmT.js → vue-ui-annotator-DHgSReIY.js} +1 -1
- package/dist/{vue-ui-annotator-muK3_F6c.cjs → vue-ui-annotator-fZIPfk7y.cjs} +1 -1
- package/dist/vue-ui-bullet-48af9PqJ.cjs +34 -0
- package/dist/{vue-ui-bullet-CT5Gkoot.js → vue-ui-bullet-BwhlvcvA.js} +155 -143
- package/dist/vue-ui-candlestick-Ce3tBGpX.cjs +2 -0
- package/dist/{vue-ui-candlestick-DmsHITZF.js → vue-ui-candlestick-dMIrnPD6.js} +96 -84
- package/dist/{vue-ui-carousel-table-N7QL7jRR.js → vue-ui-carousel-table-EcwgqGoI.js} +97 -95
- package/dist/vue-ui-carousel-table-ZhjRbt5-.cjs +1 -0
- package/dist/vue-ui-chestnut-VbrVVUon.cjs +6 -0
- package/dist/{vue-ui-chestnut-C7b1puxs.js → vue-ui-chestnut-vnOyc43k.js} +160 -148
- package/dist/{vue-ui-cursor-BOS7Yvio.cjs → vue-ui-cursor-BdXcdH2e.cjs} +1 -1
- package/dist/{vue-ui-cursor-CAnOat4M.js → vue-ui-cursor-nMbvzf_R.js} +2 -2
- package/dist/{vue-ui-dashboard-OzgTaY3n.js → vue-ui-dashboard-BtaQn50h.js} +2 -2
- package/dist/{vue-ui-dashboard-DI22fn9M.cjs → vue-ui-dashboard-CboN2WC8.cjs} +1 -1
- package/dist/{vue-ui-digits-DGP4EmpQ.cjs → vue-ui-digits-CUvrlpPz.cjs} +1 -1
- package/dist/{vue-ui-digits-DCm2stj-.js → vue-ui-digits-CVfceh4-.js} +2 -2
- package/dist/vue-ui-donut-BckYXDZJ.cjs +1 -0
- package/dist/{vue-ui-donut-BilWHtZy.js → vue-ui-donut-CgYNthls.js} +292 -280
- package/dist/vue-ui-donut-evolution-BhlBp6R-.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DKmnEHH_.js → vue-ui-donut-evolution-Bose25D6.js} +285 -273
- package/dist/vue-ui-dumbbell-C2iT17s8.cjs +9 -0
- package/dist/{vue-ui-dumbbell-KwkTK5_q.js → vue-ui-dumbbell-CzSlukSu.js} +159 -147
- package/dist/vue-ui-flow-DDlFrtkk.cjs +1 -0
- package/dist/{vue-ui-flow-BShJPhpa.js → vue-ui-flow-DoDWK84L.js} +162 -150
- package/dist/vue-ui-funnel-BfJoFIfh.cjs +1 -0
- package/dist/{vue-ui-funnel-D4xk_DsA.js → vue-ui-funnel-CM_ixf98.js} +229 -215
- package/dist/vue-ui-galaxy-CP71UAF5.cjs +1 -0
- package/dist/{vue-ui-galaxy-Ch3QRiP6.js → vue-ui-galaxy-DlwjTJCx.js} +148 -136
- package/dist/{vue-ui-gauge-DZUv5beK.js → vue-ui-gauge-ByfGCK6z.js} +119 -107
- package/dist/vue-ui-gauge-LqhfOqH-.cjs +1 -0
- package/dist/{vue-ui-gizmo-B39J58Zm.js → vue-ui-gizmo-D8Rq5vzL.js} +45 -43
- package/dist/vue-ui-gizmo-DFnOaVHf.cjs +1 -0
- package/dist/vue-ui-heatmap-A8qDlc58.cjs +1 -0
- package/dist/{vue-ui-heatmap-z8KMf1yo.js → vue-ui-heatmap-BLjVXXW4.js} +138 -126
- package/dist/vue-ui-history-plot-Bxi5QRP8.cjs +1 -0
- package/dist/{vue-ui-history-plot--Lw1-910.js → vue-ui-history-plot-DXoNlRFZ.js} +127 -115
- package/dist/vue-ui-kpi-5cGZ0OBJ.cjs +1 -0
- package/dist/{vue-ui-kpi-BgNONvkD.js → vue-ui-kpi-Bbot_WSI.js} +36 -33
- package/dist/{vue-ui-mini-loader-BrCuKpE6.js → vue-ui-mini-loader-DOE9WO73.js} +2 -2
- package/dist/{vue-ui-mini-loader-DjEyKAQe.cjs → vue-ui-mini-loader-DWX9tRhG.cjs} +1 -1
- package/dist/{vue-ui-molecule-C_eF6tga.js → vue-ui-molecule-0TReXB2j.js} +212 -200
- package/dist/vue-ui-molecule-CxeFzXS5.cjs +1 -0
- package/dist/vue-ui-mood-radar-1jLzXLXZ.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Ch_Qkx9d.js → vue-ui-mood-radar-BMFn685U.js} +123 -111
- package/dist/vue-ui-nested-donuts-4FVj04vI.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-uqfXLRGX.js → vue-ui-nested-donuts-B9rWg9V8.js} +156 -144
- package/dist/vue-ui-onion-Br97OxbL.cjs +5 -0
- package/dist/{vue-ui-onion-CbYOkmrF.js → vue-ui-onion-CnIF_tv7.js} +125 -113
- package/dist/vue-ui-parallel-coordinate-plot-Bi_h0H7e.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-aLNOckoo.js → vue-ui-parallel-coordinate-plot-D9iHCwiA.js} +159 -147
- package/dist/{vue-ui-quadrant-CuPCDHgS.js → vue-ui-quadrant-4wjbqumK.js} +211 -199
- package/dist/vue-ui-quadrant-DHDToQ9a.cjs +1 -0
- package/dist/vue-ui-quick-chart-CJKM6r9X.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DBCH5qM1.js → vue-ui-quick-chart-s6FHOZf8.js} +576 -540
- package/dist/vue-ui-radar-DBR2qBM5.cjs +1 -0
- package/dist/{vue-ui-radar-BamYIcPL.js → vue-ui-radar-DpT9w1N-.js} +183 -171
- package/dist/vue-ui-rating-D1Mbw1G8.cjs +1 -0
- package/dist/{vue-ui-rating-DxaSXiPx.js → vue-ui-rating-D31vSe7a.js} +102 -98
- package/dist/vue-ui-relation-circle-BNJbqK_A.cjs +1 -0
- package/dist/{vue-ui-relation-circle-C9_8YW0u.js → vue-ui-relation-circle-DfP6BpVn.js} +129 -117
- package/dist/{vue-ui-rings-DFzPi4m9.js → vue-ui-rings-ChcGuwL9.js} +150 -138
- package/dist/vue-ui-rings-CjB8a3kO.cjs +2 -0
- package/dist/vue-ui-scatter-jk0N3EwD.cjs +1 -0
- package/dist/{vue-ui-scatter-n_jHEngt.js → vue-ui-scatter-wUZ2CBpp.js} +320 -308
- package/dist/{vue-ui-screenshot-1_OHWjZv.js → vue-ui-screenshot-Blg3Suvg.js} +1 -1
- package/dist/{vue-ui-screenshot-BzY_uB1R.cjs → vue-ui-screenshot-DAFpjSWg.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Ojz7f2oH.js → vue-ui-skeleton-BObG0eVD.js} +3 -3
- package/dist/{vue-ui-skeleton-DKtNfORj.cjs → vue-ui-skeleton-m4l9jfqA.cjs} +1 -1
- package/dist/{vue-ui-smiley-CXvJ3sXA.js → vue-ui-smiley-DuQ3M02e.js} +208 -206
- package/dist/vue-ui-smiley-rh3J3TRY.cjs +2 -0
- package/dist/vue-ui-spark-trend-DlNNTu2c.cjs +1 -0
- package/dist/{vue-ui-spark-trend-uyDT9RJC.js → vue-ui-spark-trend-SMpnQ3VV.js} +124 -112
- package/dist/{vue-ui-sparkbar-CxW1vMP2.js → vue-ui-sparkbar-BB6fvRXK.js} +100 -96
- package/dist/vue-ui-sparkbar-chnu8aw9.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-NmLBla47.js → vue-ui-sparkgauge-Bk_78-YB.js} +60 -48
- package/dist/vue-ui-sparkgauge-FONvy7z9.cjs +1 -0
- package/dist/vue-ui-sparkhistogram--uyRru2f.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-B8SukBWt.js → vue-ui-sparkhistogram-CIsN7kQ2.js} +116 -104
- package/dist/{vue-ui-sparkline-CokyAm9w.js → vue-ui-sparkline-CFvUW--O.js} +124 -112
- package/dist/vue-ui-sparkline-i6LHjMJR.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-1RvV2xwt.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-QgZq1O55.js → vue-ui-sparkstackbar-DDMsCq0l.js} +85 -81
- package/dist/{vue-ui-stackbar-CTvPYXjb.js → vue-ui-stackbar-BSo9t-88.js} +219 -207
- package/dist/vue-ui-stackbar-CQgtC1I4.cjs +6 -0
- package/dist/vue-ui-strip-plot-BOSoKxsk.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DXPoWvNA.js → vue-ui-strip-plot-C99LsMeZ.js} +113 -101
- package/dist/{vue-ui-table-Bb3BBVjm.js → vue-ui-table-3M-aoEc7.js} +1 -1
- package/dist/{vue-ui-table-8M1ctuqL.cjs → vue-ui-table-M-6G46br.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Bv0EfTut.js → vue-ui-table-heatmap-BuYlqsq9.js} +82 -78
- package/dist/vue-ui-table-heatmap-CoozQ9bU.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-Bs72Df0-.js → vue-ui-table-sparkline-Dm5kErGp.js} +78 -74
- package/dist/vue-ui-table-sparkline-u0a2YCwp.cjs +1 -0
- package/dist/vue-ui-thermometer-DAz_NjaN.cjs +1 -0
- package/dist/{vue-ui-thermometer-DRGjTOIy.js → vue-ui-thermometer-DrY5FsCD.js} +132 -120
- package/dist/vue-ui-timer-dCCTsApx.cjs +64 -0
- package/dist/{vue-ui-timer-DCA2Dkfi.js → vue-ui-timer-meFVXDUZ.js} +94 -82
- package/dist/vue-ui-tiremarks-CRKQklZh.cjs +1 -0
- package/dist/{vue-ui-tiremarks-CTqweMbJ.js → vue-ui-tiremarks-PaZ-lr2D.js} +104 -94
- package/dist/vue-ui-treemap-Bce1C9jk.cjs +1 -0
- package/dist/{vue-ui-treemap-tz9AdMu0.js → vue-ui-treemap-RjHcVtc6.js} +336 -332
- package/dist/{vue-ui-vertical-bar-BEkWSr_A.js → vue-ui-vertical-bar-C8rC-QBl.js} +188 -176
- package/dist/vue-ui-vertical-bar-e7zR_v0M.cjs +4 -0
- package/dist/{vue-ui-waffle-DQPO5aOU.js → vue-ui-waffle-BT8Yn0cl.js} +140 -136
- package/dist/vue-ui-waffle-BZLPoVht.cjs +1 -0
- package/dist/{vue-ui-wheel-B0u6LKiw.js → vue-ui-wheel-Bq75N1i7.js} +100 -88
- package/dist/vue-ui-wheel-CT6r7EQR.cjs +1 -0
- package/dist/{vue-ui-word-cloud-CEns9_NI.js → vue-ui-word-cloud-BGh6DY8P.js} +132 -120
- package/dist/vue-ui-word-cloud-PcOI8TCE.cjs +1 -0
- package/dist/vue-ui-xy-BmNqzUPR.cjs +3 -0
- package/dist/{vue-ui-xy-DxpIt6dh.js → vue-ui-xy-DuCsguVf.js} +139 -127
- package/dist/{vue-ui-xy-canvas-D_Qiy2N1.js → vue-ui-xy-canvas-6qf3rgfa.js} +231 -227
- package/dist/{vue-ui-xy-canvas--zS_4x6O.cjs → vue-ui-xy-canvas-BnJBE19B.cjs} +2 -2
- package/package.json +1 -1
- package/dist/index-DHwfzZfj.cjs +0 -9
- package/dist/vue-ui-3d-bar-Dif8_wHk.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DHxsu2a1.cjs +0 -1
- package/dist/vue-ui-bullet-CKbrouCq.cjs +0 -34
- package/dist/vue-ui-candlestick-C3YNgFyO.cjs +0 -2
- package/dist/vue-ui-carousel-table-BU1bmZWZ.cjs +0 -1
- package/dist/vue-ui-chestnut-BEALHSS3.cjs +0 -6
- package/dist/vue-ui-donut-Jjz58SJJ.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BtfRmlIq.cjs +0 -1
- package/dist/vue-ui-dumbbell-C2LYuBRx.cjs +0 -9
- package/dist/vue-ui-flow-3vjkptJR.cjs +0 -1
- package/dist/vue-ui-funnel-DyJdIi_i.cjs +0 -1
- package/dist/vue-ui-galaxy-BmGIzIeD.cjs +0 -1
- package/dist/vue-ui-gauge-LeMSJBEk.cjs +0 -1
- package/dist/vue-ui-gizmo-B7Kum6eT.cjs +0 -1
- package/dist/vue-ui-heatmap-CqPuEjJ1.cjs +0 -1
- package/dist/vue-ui-history-plot-bjMvk_4h.cjs +0 -1
- package/dist/vue-ui-kpi-DIuPP4R7.cjs +0 -1
- package/dist/vue-ui-molecule-C3wtpoCr.cjs +0 -1
- package/dist/vue-ui-mood-radar-BomqP0zI.cjs +0 -1
- package/dist/vue-ui-nested-donuts-KRq3Fcqy.cjs +0 -17
- package/dist/vue-ui-onion-G4p7rA61.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-B2OIBraO.cjs +0 -8
- package/dist/vue-ui-quadrant-DoWeGQSC.cjs +0 -1
- package/dist/vue-ui-quick-chart-DR1qF9kr.cjs +0 -15
- package/dist/vue-ui-radar-B6M2ZChR.cjs +0 -1
- package/dist/vue-ui-rating-HSL7IrbQ.cjs +0 -1
- package/dist/vue-ui-relation-circle-CM_QkigI.cjs +0 -1
- package/dist/vue-ui-rings-CmD8g04s.cjs +0 -2
- package/dist/vue-ui-scatter-D_WxNGoY.cjs +0 -1
- package/dist/vue-ui-smiley-sKWpgakD.cjs +0 -2
- package/dist/vue-ui-spark-trend-ByxJmVE5.cjs +0 -1
- package/dist/vue-ui-sparkbar-DYHuBv3f.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CCvUn2R2.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-FU-uE07T.cjs +0 -1
- package/dist/vue-ui-sparkline-9LU8yp1t.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-9k6C-g_r.cjs +0 -1
- package/dist/vue-ui-stackbar-Drqz1of9.cjs +0 -6
- package/dist/vue-ui-strip-plot-UYP2fk1H.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BqQpJ_Ou.cjs +0 -1
- package/dist/vue-ui-table-sparkline-D5xemE-q.cjs +0 -1
- package/dist/vue-ui-thermometer-DzynFkq0.cjs +0 -1
- package/dist/vue-ui-timer-W5dIiOew.cjs +0 -64
- package/dist/vue-ui-tiremarks-BbAzwE5q.cjs +0 -1
- package/dist/vue-ui-treemap-CEVP7-S2.cjs +0 -1
- package/dist/vue-ui-vertical-bar-D_2WzLxJ.cjs +0 -4
- package/dist/vue-ui-waffle-BAvqVwhK.cjs +0 -1
- package/dist/vue-ui-wheel-Cjnheeql.cjs +0 -1
- package/dist/vue-ui-word-cloud-bxF8a7TI.cjs +0 -1
- package/dist/vue-ui-xy-BBvVOSPm.cjs +0 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ref as d, computed as g, onMounted as de, watch as J, onBeforeUnmount as ge, openBlock as r, createElementBlock as
|
|
2
|
-
import { u as ye, o as pe, e as Q, g as be, c as ke, l as we, D as xe, d as _e, i as $, f as B, X as Ce, t as Le } from "./index-
|
|
3
|
-
import { u as Z } from "./useNestedProp-
|
|
4
|
-
import { _ as $e } from "./Title-
|
|
5
|
-
import { L as Be } from "./Legend-
|
|
6
|
-
import { u as
|
|
7
|
-
import { _ as Pe } from "./PackageVersion-
|
|
8
|
-
import { P as Fe } from "./PenAndPaper-
|
|
9
|
-
import Se from "./vue-ui-skeleton-
|
|
1
|
+
import { ref as d, computed as g, onMounted as de, watch as J, onBeforeUnmount as ge, openBlock as r, createElementBlock as o, normalizeClass as K, normalizeStyle as I, unref as u, createBlock as k, createCommentVNode as i, createSlots as fe, withCtx as w, renderSlot as f, normalizeProps as H, guardReactiveProps as M, createVNode as me, Fragment as T, renderList as U, createElementVNode as x, toDisplayString as L } from "vue";
|
|
2
|
+
import { u as ye, o as pe, e as Q, g as be, c as ke, l as we, D as xe, d as _e, i as $, f as B, X as Ce, t as Le } from "./index-D7dTQAhm.js";
|
|
3
|
+
import { u as Z } from "./useNestedProp-Dqsj7eUX.js";
|
|
4
|
+
import { _ as $e } from "./Title-CSqO5Y62.js";
|
|
5
|
+
import { L as Be } from "./Legend-DGWOCyLt.js";
|
|
6
|
+
import { u as Oe, U as Ae } from "./usePrinter-B_Ihuvge.js";
|
|
7
|
+
import { _ as Pe } from "./PackageVersion-BSLNI6kk.js";
|
|
8
|
+
import { P as Fe } from "./PenAndPaper-CxMtGtJt.js";
|
|
9
|
+
import Se from "./vue-ui-skeleton-BObG0eVD.js";
|
|
10
10
|
import { u as Ie } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Me = ["id"], Te = {
|
|
@@ -14,17 +14,17 @@ const Me = ["id"], Te = {
|
|
|
14
14
|
ref: "noTitle",
|
|
15
15
|
class: "vue-data-ui-no-title-space",
|
|
16
16
|
style: "height:36px; width: 100%;background:transparent"
|
|
17
|
-
}, Ue = ["xmlns", "viewBox"], Ne = { key:
|
|
17
|
+
}, Ue = ["xmlns", "viewBox"], Ne = ["width", "height"], ze = { key: 1 }, We = ["x", "y", "height", "width", "fill", "stroke"], Ee = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], De = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Re = ["x", "y", "font-size", "font-weight", "fill"], Ve = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], je = { key: 3 }, Ge = ["x", "y", "fill", "font-size", "font-weight"], qe = { key: 4 }, Xe = ["x1", "x2", "y1", "y2", "stroke"], Ye = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, Je = {
|
|
21
21
|
class: "vue-ui-bullet-legend-item",
|
|
22
22
|
dir: "auto"
|
|
23
|
-
},
|
|
23
|
+
}, Ke = { style: { "margin-right": "2px" } }, Qe = {
|
|
24
24
|
key: 7,
|
|
25
25
|
ref: "source",
|
|
26
26
|
dir: "auto"
|
|
27
|
-
},
|
|
27
|
+
}, Ze = {
|
|
28
28
|
__name: "vue-ui-bullet",
|
|
29
29
|
props: {
|
|
30
30
|
config: {
|
|
@@ -41,10 +41,10 @@ const Me = ["id"], Te = {
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
setup(ee, { expose: te }) {
|
|
44
|
-
const
|
|
45
|
-
get: () =>
|
|
44
|
+
const n = ee, { vue_ui_bullet: ae } = ye(), O = d(null), le = d(null), N = d(0), se = d(null), re = d(0), m = g({
|
|
45
|
+
get: () => n.dataset.hasOwnProperty("value"),
|
|
46
46
|
set: (t) => t
|
|
47
|
-
}), p = g(() =>
|
|
47
|
+
}), p = g(() => n.dataset.segments ? Array.isArray(n.dataset.segments) ? n.dataset.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
48
48
|
|
|
49
49
|
segments: [
|
|
50
50
|
{
|
|
@@ -55,7 +55,7 @@ segments: [
|
|
|
55
55
|
},
|
|
56
56
|
{...}
|
|
57
57
|
]
|
|
58
|
-
`),
|
|
58
|
+
`), m.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
|
|
59
59
|
|
|
60
60
|
segments: [
|
|
61
61
|
{
|
|
@@ -66,7 +66,7 @@ segments: [
|
|
|
66
66
|
},
|
|
67
67
|
{...}
|
|
68
68
|
]
|
|
69
|
-
`),
|
|
69
|
+
`), m.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
70
70
|
|
|
71
71
|
segments: [
|
|
72
72
|
{
|
|
@@ -77,35 +77,35 @@ segments: [
|
|
|
77
77
|
},
|
|
78
78
|
{...}
|
|
79
79
|
]
|
|
80
|
-
`),
|
|
80
|
+
`), m.value = !1, !1));
|
|
81
81
|
de(z);
|
|
82
82
|
function z() {
|
|
83
|
-
pe(
|
|
83
|
+
pe(n.dataset) ? Q({
|
|
84
84
|
componentName: "VueUiBullet",
|
|
85
85
|
type: "dataset"
|
|
86
|
-
}) : p.value ?
|
|
86
|
+
}) : p.value ? n.dataset.segments.forEach((t, s) => {
|
|
87
87
|
be({
|
|
88
88
|
datasetObject: t,
|
|
89
89
|
requiredAttributes: ["name", "from", "to"]
|
|
90
|
-
}).forEach((
|
|
91
|
-
|
|
90
|
+
}).forEach((l) => {
|
|
91
|
+
m.value = !1, Q({
|
|
92
92
|
componentName: "VueUiBullet segment",
|
|
93
93
|
type: "datasetSerieAttribute",
|
|
94
|
-
property:
|
|
94
|
+
property: l,
|
|
95
95
|
index: s
|
|
96
96
|
});
|
|
97
97
|
});
|
|
98
|
-
}) :
|
|
98
|
+
}) : m.value = !1, e.value.style.chart.animation.show && V(n.dataset.value || 0);
|
|
99
99
|
}
|
|
100
|
-
const
|
|
100
|
+
const A = d(ke());
|
|
101
101
|
function W() {
|
|
102
102
|
const t = Z({
|
|
103
|
-
userConfig:
|
|
103
|
+
userConfig: n.config,
|
|
104
104
|
defaultConfig: ae
|
|
105
105
|
});
|
|
106
106
|
return t.theme ? {
|
|
107
107
|
...Z({
|
|
108
|
-
userConfig: Le.vue_ui_bullet[t.theme] ||
|
|
108
|
+
userConfig: Le.vue_ui_bullet[t.theme] || n.config,
|
|
109
109
|
defaultConfig: t
|
|
110
110
|
})
|
|
111
111
|
} : t;
|
|
@@ -114,75 +114,75 @@ segments: [
|
|
|
114
114
|
get: () => W(),
|
|
115
115
|
set: (t) => t
|
|
116
116
|
}), { userOptionsVisible: P, setUserOptionsVisibility: E, keepUserOptionState: D } = Ie({ config: e.value });
|
|
117
|
-
J(() =>
|
|
117
|
+
J(() => n.config, (t) => {
|
|
118
118
|
e.value = W(), P.value = !e.value.showOnChartHover, z(), N.value += 1;
|
|
119
119
|
}, { deep: !0 });
|
|
120
|
-
const
|
|
121
|
-
const t = e.value.style.chart.height, s = e.value.style.chart.width,
|
|
120
|
+
const a = g(() => {
|
|
121
|
+
const t = e.value.style.chart.height, s = e.value.style.chart.width, l = e.value.style.chart.padding.left, y = s - e.value.style.chart.padding.right, C = e.value.style.chart.padding.top, v = t - e.value.style.chart.padding.bottom;
|
|
122
122
|
return {
|
|
123
123
|
height: t,
|
|
124
124
|
width: s,
|
|
125
|
-
left:
|
|
126
|
-
right:
|
|
125
|
+
left: l,
|
|
126
|
+
right: y,
|
|
127
127
|
top: C,
|
|
128
128
|
bottom: v,
|
|
129
|
-
chartWidth:
|
|
129
|
+
chartWidth: y - l,
|
|
130
130
|
chartHeight: v - C
|
|
131
131
|
};
|
|
132
132
|
}), oe = g(() => {
|
|
133
133
|
if (!p.value) return [];
|
|
134
134
|
const t = [];
|
|
135
|
-
for (let s = 0; s <
|
|
136
|
-
t.push(we(e.value.style.chart.segments.baseColor, s /
|
|
135
|
+
for (let s = 0; s < n.dataset.segments.length; s += 1)
|
|
136
|
+
t.push(we(e.value.style.chart.segments.baseColor, s / n.dataset.segments.length));
|
|
137
137
|
return t;
|
|
138
138
|
}), F = g(() => p.value ? {
|
|
139
|
-
min: Math.min(...
|
|
140
|
-
max: Math.max(...
|
|
141
|
-
} : { min: 0, max: 1 }),
|
|
142
|
-
J(() =>
|
|
143
|
-
e.value.style.chart.animation.show ? V(t.value || 0) :
|
|
139
|
+
min: Math.min(...n.dataset.segments.map((t) => t.from)),
|
|
140
|
+
max: Math.max(...n.dataset.segments.map((t) => t.to))
|
|
141
|
+
} : { min: 0, max: 1 }), h = d(ne());
|
|
142
|
+
J(() => n.dataset, (t) => {
|
|
143
|
+
e.value.style.chart.animation.show ? V(t.value || 0) : h.value = t.value || 0;
|
|
144
144
|
}, { deep: !0 });
|
|
145
145
|
function ne() {
|
|
146
|
-
return e.value.style.chart.animation.show ? F.value.min :
|
|
146
|
+
return e.value.style.chart.animation.show ? F.value.min : n.dataset.value || 0;
|
|
147
147
|
}
|
|
148
148
|
const R = d(null);
|
|
149
149
|
function V(t) {
|
|
150
|
-
const s = Math.abs(t -
|
|
151
|
-
function
|
|
152
|
-
|
|
150
|
+
const s = Math.abs(t - h.value) / e.value.style.chart.animation.animationFrames;
|
|
151
|
+
function l() {
|
|
152
|
+
h.value < t ? h.value = Math.min(h.value + s, t) : h.value > t && (h.value = Math.max(h.value - s, t)), h.value !== t && (R.value = requestAnimationFrame(l));
|
|
153
153
|
}
|
|
154
|
-
|
|
154
|
+
l();
|
|
155
155
|
}
|
|
156
156
|
ge(() => {
|
|
157
157
|
cancelAnimationFrame(R.value);
|
|
158
158
|
});
|
|
159
|
-
const
|
|
159
|
+
const c = g(() => {
|
|
160
160
|
if (!p.value)
|
|
161
161
|
return [];
|
|
162
|
-
const t = xe(F.value.min, F.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min),
|
|
163
|
-
x:
|
|
164
|
-
},
|
|
165
|
-
width: (
|
|
162
|
+
const t = xe(F.value.min, F.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), l = {
|
|
163
|
+
x: a.value.left + (n.dataset.target + s) / (t.max + s) * a.value.chartWidth - e.value.style.chart.target.width / 2
|
|
164
|
+
}, y = {
|
|
165
|
+
width: (h.value + s) / (t.max + s) * a.value.chartWidth
|
|
166
166
|
}, C = t.ticks.map((v) => ({
|
|
167
167
|
value: v,
|
|
168
|
-
y:
|
|
169
|
-
x:
|
|
168
|
+
y: a.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
|
|
169
|
+
x: a.value.left + (v + s) / (t.max + s) * a.value.chartWidth
|
|
170
170
|
}));
|
|
171
171
|
return {
|
|
172
172
|
scale: t,
|
|
173
|
-
target:
|
|
174
|
-
value:
|
|
173
|
+
target: l,
|
|
174
|
+
value: y,
|
|
175
175
|
ticks: C,
|
|
176
|
-
chunks:
|
|
176
|
+
chunks: n.dataset.segments.map((v, ve) => ({
|
|
177
177
|
...v,
|
|
178
178
|
color: v.color ? _e(v.color) : oe.value[ve],
|
|
179
|
-
x:
|
|
180
|
-
y:
|
|
181
|
-
height:
|
|
182
|
-
width:
|
|
179
|
+
x: a.value.left + a.value.chartWidth * ((v.from + s) / (t.max + s)),
|
|
180
|
+
y: a.value.top,
|
|
181
|
+
height: a.value.chartHeight,
|
|
182
|
+
width: a.value.chartWidth * (Math.abs(v.to - v.from) / (t.max + s))
|
|
183
183
|
}))
|
|
184
184
|
};
|
|
185
|
-
}),
|
|
185
|
+
}), j = g(() => !c.value || !c.value.chunks || !c.value.chunks.length ? [] : c.value.chunks.map((t) => {
|
|
186
186
|
const s = $(
|
|
187
187
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
188
188
|
t.from,
|
|
@@ -192,7 +192,7 @@ segments: [
|
|
|
192
192
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
193
193
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
194
194
|
})
|
|
195
|
-
),
|
|
195
|
+
), l = $(
|
|
196
196
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
197
197
|
t.to,
|
|
198
198
|
B({
|
|
@@ -205,7 +205,7 @@ segments: [
|
|
|
205
205
|
return {
|
|
206
206
|
...t,
|
|
207
207
|
shape: "square",
|
|
208
|
-
value: `${s} - ${
|
|
208
|
+
value: `${s} - ${l}`
|
|
209
209
|
};
|
|
210
210
|
})), ue = g(() => ({
|
|
211
211
|
cy: "bullet-div-legend",
|
|
@@ -214,44 +214,44 @@ segments: [
|
|
|
214
214
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
215
215
|
paddingBottom: 6,
|
|
216
216
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
217
|
-
})), { isPrinting:
|
|
218
|
-
elementId: `bullet_${
|
|
217
|
+
})), { isPrinting: G, isImaging: q, generatePdf: X, generateImage: Y } = Oe({
|
|
218
|
+
elementId: `bullet_${A.value}`,
|
|
219
219
|
fileName: e.value.style.chart.title.text || "vue-ui-bullet"
|
|
220
220
|
}), ie = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), b = d(!1);
|
|
221
|
-
function
|
|
221
|
+
function he(t) {
|
|
222
222
|
b.value = t, re.value += 1;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
225
|
-
return
|
|
224
|
+
function ce() {
|
|
225
|
+
return c.value;
|
|
226
226
|
}
|
|
227
227
|
const _ = d(!1);
|
|
228
228
|
function S() {
|
|
229
229
|
_.value = !_.value;
|
|
230
230
|
}
|
|
231
231
|
return te({
|
|
232
|
-
getData:
|
|
232
|
+
getData: ce,
|
|
233
233
|
generatePdf: X,
|
|
234
234
|
generateImage: Y,
|
|
235
235
|
toggleAnnotator: S
|
|
236
|
-
}), (t, s) => (r(),
|
|
236
|
+
}), (t, s) => (r(), o("div", {
|
|
237
237
|
ref_key: "bulletChart",
|
|
238
|
-
ref:
|
|
238
|
+
ref: O,
|
|
239
239
|
class: K(`vue-ui-bullet ${b.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
240
240
|
style: I(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
241
|
-
id: `bullet_${
|
|
241
|
+
id: `bullet_${A.value}`,
|
|
242
242
|
onMouseenter: s[0] || (s[0] = () => u(E)(!0)),
|
|
243
243
|
onMouseleave: s[1] || (s[1] = () => u(E)(!1))
|
|
244
244
|
}, [
|
|
245
245
|
e.value.userOptions.buttons.annotator ? (r(), k(Fe, {
|
|
246
246
|
key: 0,
|
|
247
|
-
parent:
|
|
247
|
+
parent: O.value,
|
|
248
248
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
249
249
|
color: e.value.style.chart.color,
|
|
250
250
|
active: _.value,
|
|
251
251
|
onClose: S
|
|
252
252
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
253
|
-
ie.value ? (r(),
|
|
254
|
-
e.value.style.chart.title.text ? (r(),
|
|
253
|
+
ie.value ? (r(), o("div", Te, null, 512)) : i("", !0),
|
|
254
|
+
e.value.style.chart.title.text ? (r(), o("div", {
|
|
255
255
|
key: 2,
|
|
256
256
|
ref_key: "chartTitle",
|
|
257
257
|
ref: le,
|
|
@@ -272,14 +272,14 @@ segments: [
|
|
|
272
272
|
}
|
|
273
273
|
}, null, 8, ["config"]))
|
|
274
274
|
], 512)) : i("", !0),
|
|
275
|
-
e.value.userOptions.show &&
|
|
275
|
+
e.value.userOptions.show && m.value && (u(D) || u(P)) ? (r(), k(Ae, {
|
|
276
276
|
key: 3,
|
|
277
277
|
ref: "details",
|
|
278
278
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
279
279
|
color: e.value.style.chart.color,
|
|
280
|
-
isPrinting: u(
|
|
280
|
+
isPrinting: u(G),
|
|
281
281
|
isImaging: u(q),
|
|
282
|
-
uid:
|
|
282
|
+
uid: A.value,
|
|
283
283
|
hasTooltip: !1,
|
|
284
284
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
285
285
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -288,12 +288,12 @@ segments: [
|
|
|
288
288
|
hasLabel: !1,
|
|
289
289
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
290
290
|
isFullscreen: b.value,
|
|
291
|
-
chartElement:
|
|
291
|
+
chartElement: O.value,
|
|
292
292
|
position: e.value.userOptions.position,
|
|
293
293
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
294
294
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
295
295
|
isAnnotation: _.value,
|
|
296
|
-
onToggleFullscreen:
|
|
296
|
+
onToggleFullscreen: he,
|
|
297
297
|
onGeneratePdf: u(X),
|
|
298
298
|
onGenerateImage: u(Y),
|
|
299
299
|
onToggleAnnotator: S,
|
|
@@ -304,136 +304,148 @@ segments: [
|
|
|
304
304
|
t.$slots.optionPdf ? {
|
|
305
305
|
name: "optionPdf",
|
|
306
306
|
fn: w(() => [
|
|
307
|
-
|
|
307
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
308
308
|
]),
|
|
309
309
|
key: "0"
|
|
310
310
|
} : void 0,
|
|
311
311
|
t.$slots.optionImg ? {
|
|
312
312
|
name: "optionImg",
|
|
313
313
|
fn: w(() => [
|
|
314
|
-
|
|
314
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
315
315
|
]),
|
|
316
316
|
key: "1"
|
|
317
317
|
} : void 0,
|
|
318
318
|
t.$slots.optionFullscreen ? {
|
|
319
319
|
name: "optionFullscreen",
|
|
320
|
-
fn: w(({ toggleFullscreen:
|
|
321
|
-
|
|
320
|
+
fn: w(({ toggleFullscreen: l, isFullscreen: y }) => [
|
|
321
|
+
f(t.$slots, "optionFullscreen", H(M({ toggleFullscreen: l, isFullscreen: y })), void 0, !0)
|
|
322
322
|
]),
|
|
323
323
|
key: "2"
|
|
324
324
|
} : void 0,
|
|
325
325
|
t.$slots.optionAnnotator ? {
|
|
326
326
|
name: "optionAnnotator",
|
|
327
|
-
fn: w(({ toggleAnnotator:
|
|
328
|
-
|
|
327
|
+
fn: w(({ toggleAnnotator: l, isAnnotator: y }) => [
|
|
328
|
+
f(t.$slots, "optionAnnotator", H(M({ toggleAnnotator: l, isAnnotator: y })), void 0, !0)
|
|
329
329
|
]),
|
|
330
330
|
key: "3"
|
|
331
331
|
} : void 0
|
|
332
332
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
333
|
-
|
|
333
|
+
m.value ? (r(), o("svg", {
|
|
334
334
|
key: 4,
|
|
335
335
|
xmlns: u(Ce),
|
|
336
336
|
class: K({ "vue-data-ui-fullscreen--on": b.value, "vue-data-ui-fulscreen--off": !b.value, "vue-ui-bullet-svg": !0 }),
|
|
337
|
-
viewBox: `0 0 ${
|
|
337
|
+
viewBox: `0 0 ${a.value.width} ${a.value.height}`,
|
|
338
338
|
style: I(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
339
339
|
}, [
|
|
340
340
|
me(Pe),
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
341
|
+
t.$slots["chart-background"] ? (r(), o("foreignObject", {
|
|
342
|
+
key: 0,
|
|
343
|
+
x: 0,
|
|
344
|
+
y: 0,
|
|
345
|
+
width: a.value.width,
|
|
346
|
+
height: a.value.height,
|
|
347
|
+
style: {
|
|
348
|
+
pointerEvents: "none"
|
|
349
|
+
}
|
|
350
|
+
}, [
|
|
351
|
+
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
352
|
+
], 8, Ne)) : i("", !0),
|
|
353
|
+
p.value ? (r(), o("g", ze, [
|
|
354
|
+
(r(!0), o(T, null, U(c.value.chunks, (l) => (r(), o("rect", {
|
|
355
|
+
x: l.x,
|
|
356
|
+
y: l.y,
|
|
357
|
+
height: l.height,
|
|
358
|
+
width: l.width,
|
|
359
|
+
fill: l.color,
|
|
348
360
|
"stroke-width": 1,
|
|
349
361
|
stroke: e.value.style.chart.backgroundColor
|
|
350
|
-
}, null, 8,
|
|
351
|
-
e.value.style.chart.target.onTop ? i("", !0) : (r(),
|
|
362
|
+
}, null, 8, We))), 256)),
|
|
363
|
+
e.value.style.chart.target.onTop ? i("", !0) : (r(), o("rect", {
|
|
352
364
|
key: 0,
|
|
353
|
-
x:
|
|
354
|
-
y:
|
|
355
|
-
height:
|
|
365
|
+
x: c.value.target.x,
|
|
366
|
+
y: a.value.top + (a.value.chartHeight - a.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
|
|
367
|
+
height: a.value.chartHeight * e.value.style.chart.target.heightRatio,
|
|
356
368
|
width: e.value.style.chart.target.width,
|
|
357
369
|
rx: e.value.style.chart.target.rounded ? e.value.style.chart.target.width / 2 : 0,
|
|
358
370
|
fill: e.value.style.chart.target.color,
|
|
359
371
|
stroke: e.value.style.chart.target.stroke,
|
|
360
372
|
"stroke-width": e.value.style.chart.target.strokeWidth
|
|
361
|
-
}, null, 8,
|
|
373
|
+
}, null, 8, Ee)),
|
|
362
374
|
x("rect", {
|
|
363
|
-
x:
|
|
364
|
-
y:
|
|
365
|
-
height:
|
|
366
|
-
width:
|
|
375
|
+
x: a.value.left,
|
|
376
|
+
y: a.value.top + (a.value.chartHeight - a.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
|
|
377
|
+
height: a.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
|
|
378
|
+
width: c.value.value.width,
|
|
367
379
|
fill: e.value.style.chart.valueBar.color,
|
|
368
380
|
stroke: e.value.style.chart.valueBar.stroke,
|
|
369
381
|
"stroke-width": e.value.style.chart.valueBar.strokeWidth
|
|
370
|
-
}, null, 8,
|
|
371
|
-
e.value.style.chart.valueBar.label.show ? (r(),
|
|
382
|
+
}, null, 8, De),
|
|
383
|
+
e.value.style.chart.valueBar.label.show ? (r(), o("text", {
|
|
372
384
|
key: 1,
|
|
373
|
-
x:
|
|
374
|
-
y:
|
|
385
|
+
x: a.value.left + c.value.value.width,
|
|
386
|
+
y: a.value.top - 6 + e.value.style.chart.valueBar.label.offsetY,
|
|
375
387
|
"font-size": e.value.style.chart.valueBar.label.fontSize,
|
|
376
388
|
"font-weight": e.value.style.chart.valueBar.label.bold ? "bold" : "normal",
|
|
377
389
|
fill: e.value.style.chart.valueBar.label.color,
|
|
378
390
|
"text-anchor": "middle"
|
|
379
391
|
}, L(u($)(
|
|
380
392
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
381
|
-
|
|
393
|
+
h.value,
|
|
382
394
|
u(B)({
|
|
383
395
|
p: e.value.style.chart.segments.dataLabels.prefix,
|
|
384
|
-
v:
|
|
396
|
+
v: h.value,
|
|
385
397
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
386
398
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
387
399
|
})
|
|
388
|
-
)), 9,
|
|
389
|
-
e.value.style.chart.target.onTop ? (r(),
|
|
400
|
+
)), 9, Re)) : i("", !0),
|
|
401
|
+
e.value.style.chart.target.onTop ? (r(), o("rect", {
|
|
390
402
|
key: 2,
|
|
391
|
-
x:
|
|
392
|
-
y:
|
|
393
|
-
height:
|
|
403
|
+
x: c.value.target.x,
|
|
404
|
+
y: a.value.top + (a.value.chartHeight - a.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
|
|
405
|
+
height: a.value.chartHeight * e.value.style.chart.target.heightRatio,
|
|
394
406
|
width: e.value.style.chart.target.width,
|
|
395
407
|
rx: e.value.style.chart.target.rounded ? e.value.style.chart.target.width / 2 : 0,
|
|
396
408
|
fill: e.value.style.chart.target.color,
|
|
397
409
|
stroke: e.value.style.chart.target.stroke,
|
|
398
410
|
"stroke-width": e.value.style.chart.target.strokeWidth
|
|
399
|
-
}, null, 8,
|
|
400
|
-
e.value.style.chart.segments.dataLabels.show ? (r(),
|
|
401
|
-
(r(!0),
|
|
402
|
-
x:
|
|
403
|
-
y:
|
|
411
|
+
}, null, 8, Ve)) : i("", !0),
|
|
412
|
+
e.value.style.chart.segments.dataLabels.show ? (r(), o("g", je, [
|
|
413
|
+
(r(!0), o(T, null, U(c.value.ticks, (l) => (r(), o("text", {
|
|
414
|
+
x: l.x,
|
|
415
|
+
y: l.y,
|
|
404
416
|
"text-anchor": "middle",
|
|
405
417
|
fill: e.value.style.chart.segments.dataLabels.color,
|
|
406
418
|
"font-size": e.value.style.chart.segments.dataLabels.fontSize + "px",
|
|
407
419
|
"font-weight": e.value.style.chart.segments.dataLabels.bold ? "bold" : "normal"
|
|
408
420
|
}, L(u($)(
|
|
409
421
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
410
|
-
|
|
422
|
+
l.value,
|
|
411
423
|
u(B)({
|
|
412
424
|
p: e.value.style.chart.segments.dataLabels.prefix,
|
|
413
|
-
v:
|
|
425
|
+
v: l.value,
|
|
414
426
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
415
427
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
416
428
|
})
|
|
417
429
|
)), 9, Ge))), 256))
|
|
418
430
|
])) : i("", !0),
|
|
419
|
-
e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (r(),
|
|
420
|
-
(r(!0),
|
|
421
|
-
x1:
|
|
422
|
-
x2:
|
|
423
|
-
y1:
|
|
424
|
-
y2:
|
|
431
|
+
e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (r(), o("g", qe, [
|
|
432
|
+
(r(!0), o(T, null, U(c.value.ticks, (l) => (r(), o("line", {
|
|
433
|
+
x1: l.x,
|
|
434
|
+
x2: l.x,
|
|
435
|
+
y1: a.value.bottom,
|
|
436
|
+
y2: a.value.bottom + 3,
|
|
425
437
|
stroke: e.value.style.chart.segments.ticks.stroke,
|
|
426
438
|
"stroke-width": 1,
|
|
427
439
|
"stroke-linecap": "round"
|
|
428
|
-
}, null, 8,
|
|
440
|
+
}, null, 8, Xe))), 256))
|
|
429
441
|
])) : i("", !0)
|
|
430
442
|
])) : i("", !0),
|
|
431
|
-
|
|
443
|
+
f(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
432
444
|
], 14, Ue)) : i("", !0),
|
|
433
|
-
t.$slots.watermark ? (r(),
|
|
434
|
-
|
|
445
|
+
t.$slots.watermark ? (r(), o("div", Ye, [
|
|
446
|
+
f(t.$slots, "watermark", H(M({ isPrinting: u(G) || u(q) })), void 0, !0)
|
|
435
447
|
])) : i("", !0),
|
|
436
|
-
|
|
448
|
+
m.value ? i("", !0) : (r(), k(Se, {
|
|
437
449
|
key: 6,
|
|
438
450
|
config: {
|
|
439
451
|
type: "bullet",
|
|
@@ -452,25 +464,25 @@ segments: [
|
|
|
452
464
|
e.value.style.chart.legend.show ? (r(), k(Be, {
|
|
453
465
|
key: 0,
|
|
454
466
|
clickable: !1,
|
|
455
|
-
legendSet:
|
|
467
|
+
legendSet: j.value,
|
|
456
468
|
config: ue.value
|
|
457
469
|
}, {
|
|
458
|
-
item: w(({ legend:
|
|
459
|
-
x("div",
|
|
460
|
-
x("span",
|
|
461
|
-
x("span", null, L(
|
|
470
|
+
item: w(({ legend: l }) => [
|
|
471
|
+
x("div", Je, [
|
|
472
|
+
x("span", Ke, L(l.name) + ":", 1),
|
|
473
|
+
x("span", null, L(l.value), 1)
|
|
462
474
|
])
|
|
463
475
|
]),
|
|
464
476
|
_: 1
|
|
465
477
|
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
466
|
-
|
|
478
|
+
f(t.$slots, "legend", { legend: j.value }, void 0, !0)
|
|
467
479
|
], 512),
|
|
468
|
-
t.$slots.source ? (r(),
|
|
469
|
-
|
|
480
|
+
t.$slots.source ? (r(), o("div", Qe, [
|
|
481
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
470
482
|
], 512)) : i("", !0)
|
|
471
483
|
], 46, Me));
|
|
472
484
|
}
|
|
473
|
-
}, ct = /* @__PURE__ */ He(
|
|
485
|
+
}, ct = /* @__PURE__ */ He(Ze, [["__scopeId", "data-v-f3c3067f"]]);
|
|
474
486
|
export {
|
|
475
487
|
ct as default
|
|
476
488
|
};
|