vue-data-ui 2.6.19 → 2.6.21
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 +8 -0
- package/dist/{Arrow-QMACp9z-.cjs → Arrow-C1pcd-am.cjs} +1 -1
- package/dist/{Arrow-DTtLZwne.js → Arrow-DQaZQgi6.js} +1 -1
- package/dist/{BaseIcon-BpRuwiFD.cjs → BaseIcon-BQwivF_K.cjs} +1 -1
- package/dist/{BaseIcon-nz-vbP7I.js → BaseIcon-DH34CAFx.js} +1 -1
- package/dist/{DataTable-Dr-djTUz.cjs → DataTable-D5572vAU.cjs} +1 -1
- package/dist/{DataTable-pNLWbeCL.js → DataTable-DfMqgTjL.js} +2 -2
- package/dist/{Legend-BHbX2C8f.cjs → Legend-CoREnR30.cjs} +1 -1
- package/dist/{Legend-s9DRKvJo.js → Legend-PL8rU0J1.js} +2 -2
- package/dist/{PackageVersion-hltZM-fb.js → PackageVersion-1Y7SXTrk.js} +1 -1
- package/dist/{PackageVersion-DsoqDgVf.cjs → PackageVersion-JsuXjgR_.cjs} +1 -1
- package/dist/PenAndPaper-7lGhxIH8.cjs +1 -0
- package/dist/{PenAndPaper-qmkn1GhB.js → PenAndPaper-BYhUvcy4.js} +20 -16
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-z17A_S1M.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-lH7bkq1z.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs} +1 -1
- package/dist/{Shape-YhMDtuHk.cjs → Shape-HtDeeGqp.cjs} +1 -1
- package/dist/{Shape-C3y6rj0O.js → Shape-Ov27sl2L.js} +1 -1
- package/dist/{Slicer-BIW17-XH.js → Slicer-6F4tHrZR.js} +3 -3
- package/dist/{Slicer-BA8XF-Ak.cjs → Slicer-COXIFuZ-.cjs} +1 -1
- package/dist/{Title-dsg3PqUg.js → Title-1PWD04Gh.js} +1 -1
- package/dist/{Title-DWqgN4Kv.cjs → Title-Pgt1Ixvo.cjs} +1 -1
- package/dist/{Tooltip-DRFQIslg.js → Tooltip-BTO5NGkn.js} +1 -1
- package/dist/{Tooltip-B6T_qzJD.cjs → Tooltip-te_h24w6.cjs} +1 -1
- package/dist/{index-3OrObUP-.cjs → index-DM-Bs-Ua.cjs} +1 -1
- package/dist/{index-DvAaY6OP.js → index-DUnEDLbc.js} +1 -1
- package/dist/index.es-DvaaoatM.cjs +18 -0
- package/dist/index.es-RWt7DWPC.js +6645 -0
- package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
- package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
- package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
- package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CGzX7c5Q.js → useNestedProp-CEMeoM-f.js} +1 -1
- package/dist/{useNestedProp-B53Yi1Rk.cjs → useNestedProp-CYy5g-mh.cjs} +1 -1
- package/dist/usePrinter-DbpIk44f.cjs +1 -0
- package/dist/{usePrinter-D_2jA4x8.js → usePrinter-Undaynpo.js} +73 -71
- package/dist/useResponsive-N8jl0-aC.cjs +1 -0
- package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
- package/dist/{vue-data-ui-CTjgYwlW.cjs → vue-data-ui-BapofDyJ.cjs} +1 -1
- package/dist/{vue-data-ui-DMl9rAwQ.js → vue-data-ui-DnaIYz0z.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBVRoMwv.js → vue-ui-3d-bar-DLYaW0-y.js} +105 -98
- package/dist/{vue-ui-3d-bar-OwVsZokU.cjs → vue-ui-3d-bar-DansBM76.cjs} +2 -2
- package/dist/{vue-ui-accordion-LbUarYuf.js → vue-ui-accordion-C8Couc_G.js} +3 -3
- package/dist/{vue-ui-accordion-BmScSwW2.cjs → vue-ui-accordion-ZIsT4At8.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DQ5dL4yb.cjs → vue-ui-age-pyramid-BSXnW9GF.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rmfEfmj7.js → vue-ui-age-pyramid-BdruKMmo.js} +76 -69
- package/dist/{vue-ui-annotator-nS_RSspz.cjs → vue-ui-annotator-B7Go0M7W.cjs} +1 -1
- package/dist/{vue-ui-annotator-FlMkU7Kj.js → vue-ui-annotator-DVfdPMa7.js} +2 -2
- package/dist/{vue-ui-bullet-esfPgi-9.js → vue-ui-bullet-CkCJgmoJ.js} +145 -138
- package/dist/{vue-ui-bullet-BGTTcXBJ.cjs → vue-ui-bullet-N9ud2cQ7.cjs} +4 -4
- package/dist/{vue-ui-candlestick-RHrlnUqs.js → vue-ui-candlestick-C9B13qeU.js} +116 -109
- package/dist/{vue-ui-candlestick-BUEGFHg_.cjs → vue-ui-candlestick-DPIs9tEW.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-6uP-Kk9U.js → vue-ui-carousel-table-BLo52Rqu.js} +130 -123
- package/dist/{vue-ui-carousel-table-DCcPnWRU.cjs → vue-ui-carousel-table-DgcY4j9y.cjs} +1 -1
- package/dist/{vue-ui-chestnut-B7Ep4Lho.cjs → vue-ui-chestnut-C9Zw_bey.cjs} +2 -2
- package/dist/{vue-ui-chestnut-Dh4y5s_v.js → vue-ui-chestnut-D8oXG8Tf.js} +131 -124
- package/dist/vue-ui-circle-pack-CrEdkNM7.js +648 -0
- package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +1 -0
- package/dist/{vue-ui-cursor-D-IzE_jd.cjs → vue-ui-cursor-CtSijliN.cjs} +1 -1
- package/dist/{vue-ui-cursor-C21WgpGu.js → vue-ui-cursor-DkW4pJcP.js} +2 -2
- package/dist/{vue-ui-dashboard-T0LqYCqM.js → vue-ui-dashboard-5_Du0Yr2.js} +3 -3
- package/dist/{vue-ui-dashboard-DQ_wht4B.cjs → vue-ui-dashboard-Dh5vRbdI.cjs} +1 -1
- package/dist/{vue-ui-digits-CwV6mhHZ.cjs → vue-ui-digits-DEmYk7sS.cjs} +1 -1
- package/dist/{vue-ui-digits-CLFrlUIW.js → vue-ui-digits-DhA1bHdz.js} +2 -2
- package/dist/{vue-ui-donut-dVplEheX.js → vue-ui-donut-B-G7gRdV.js} +118 -111
- package/dist/{vue-ui-donut-b_UXDeKJ.cjs → vue-ui-donut-BrZxaijU.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Bl50EWBG.js → vue-ui-donut-evolution-B4almlBq.js} +164 -157
- package/dist/{vue-ui-donut-evolution-VxNtQWGH.cjs → vue-ui-donut-evolution-CTbXi7wk.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B-7s7x7a.cjs → vue-ui-dumbbell-CAIlnhsM.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-Bp685TTG.js → vue-ui-dumbbell-kZGa__IU.js} +75 -68
- package/dist/{vue-ui-flow-CHbfoU97.js → vue-ui-flow-Bc31ZN1W.js} +177 -170
- package/dist/{vue-ui-flow-DJqOVlD7.cjs → vue-ui-flow-D2UNbwlp.cjs} +1 -1
- package/dist/{vue-ui-funnel-B77giO54.cjs → vue-ui-funnel-DfCz1GNN.cjs} +1 -1
- package/dist/{vue-ui-funnel-Bhv0XRzJ.js → vue-ui-funnel-V7hu2Iib.js} +129 -122
- package/dist/{vue-ui-galaxy-Dt4dx9bS.cjs → vue-ui-galaxy-CNBC7IbU.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DMA8AX8h.js → vue-ui-galaxy-DLCcy7Kq.js} +77 -70
- package/dist/{vue-ui-gauge-CBlurlZk.js → vue-ui-gauge-CZMHtEcr.js} +153 -146
- package/dist/{vue-ui-gauge-Bh3iSbSd.cjs → vue-ui-gauge-D8IglqIF.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CHhJKge-.js → vue-ui-gizmo-BuAVBMBp.js} +3 -3
- package/dist/{vue-ui-gizmo-BMrnNfYR.cjs → vue-ui-gizmo-fyC414Iv.cjs} +1 -1
- package/dist/vue-ui-heatmap-CDOry_F1.cjs +1 -0
- package/dist/{vue-ui-heatmap-CB4852rp.js → vue-ui-heatmap-hUfFzGck.js} +139 -132
- package/dist/{vue-ui-history-plot-AwmdEhYL.js → vue-ui-history-plot-C79l8rPm.js} +122 -115
- package/dist/{vue-ui-history-plot-BG7r0ZF7.cjs → vue-ui-history-plot-CIXgvWpk.cjs} +1 -1
- package/dist/{vue-ui-kpi-DcxE4Vv7.js → vue-ui-kpi-C3tHthXH.js} +3 -3
- package/dist/{vue-ui-kpi-BYCMEzBt.cjs → vue-ui-kpi-yiWxNLJ-.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CdDRH8Rb.js → vue-ui-mini-loader-1p1jAKx_.js} +2 -2
- package/dist/{vue-ui-mini-loader-DOqUfxRJ.cjs → vue-ui-mini-loader-26yCYjxn.cjs} +1 -1
- package/dist/{vue-ui-molecule-C-Z0Ywq1.cjs → vue-ui-molecule-Bw0dYLfu.cjs} +1 -1
- package/dist/{vue-ui-molecule-BskBKGbQ.js → vue-ui-molecule-COQ-yrBr.js} +249 -242
- package/dist/{vue-ui-mood-radar-BAPZ1LyF.js → vue-ui-mood-radar-CwfGiQ43.js} +111 -104
- package/dist/{vue-ui-mood-radar-BIrQKfVf.cjs → vue-ui-mood-radar-Cyde9hnR.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BB2Kgb5F.js → vue-ui-nested-donuts-BVaW7w1U.js} +117 -110
- package/dist/{vue-ui-nested-donuts-7YjtP-jC.cjs → vue-ui-nested-donuts-Y07lLGRa.cjs} +2 -2
- package/dist/{vue-ui-onion-BWb18zcN.cjs → vue-ui-onion-DkXss-B_.cjs} +2 -2
- package/dist/{vue-ui-onion-BjMfXAZK.js → vue-ui-onion-h6DP9kOi.js} +143 -136
- package/dist/{vue-ui-parallel-coordinate-plot-D6Vs-5Vh.cjs → vue-ui-parallel-coordinate-plot-CkI21cq2.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ryqdfkHL.js → vue-ui-parallel-coordinate-plot-O5cwKbzH.js} +113 -106
- package/dist/{vue-ui-quadrant-Cr4ypLzT.js → vue-ui-quadrant-CfywvXnV.js} +112 -105
- package/dist/{vue-ui-quadrant-BmsHBpKo.cjs → vue-ui-quadrant-F6w-QJE_.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-45IEXHb0.cjs → vue-ui-quick-chart-BeMHD_Kz.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-C9dIHRYi.js → vue-ui-quick-chart-C1AwFGSr.js} +195 -188
- package/dist/{vue-ui-radar-Nr5JmVlk.cjs → vue-ui-radar-BejYh3DW.cjs} +1 -1
- package/dist/{vue-ui-radar-T6xdl9ic.js → vue-ui-radar-DDKXLi5o.js} +101 -94
- package/dist/{vue-ui-rating-C5AaiBqZ.js → vue-ui-rating-BrGbM0Op.js} +2 -2
- package/dist/{vue-ui-rating-CFIhZlG-.cjs → vue-ui-rating-C40ktvn7.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Cw-DcsRY.cjs → vue-ui-relation-circle-C4qT13SI.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BktS594K.js → vue-ui-relation-circle-DrtdiTMX.js} +103 -96
- package/dist/{vue-ui-rings-_evAK3j7.js → vue-ui-rings-C4IdhEUE.js} +169 -162
- package/dist/{vue-ui-rings-2j5fsO_o.cjs → vue-ui-rings-Cd8WyeDZ.cjs} +2 -2
- package/dist/{vue-ui-scatter-C5ePnByD.js → vue-ui-scatter-BS8sgyMi.js} +85 -78
- package/dist/{vue-ui-scatter-W1_ChsfO.cjs → vue-ui-scatter-MmvIeu4D.cjs} +1 -1
- package/dist/{vue-ui-screenshot-B6ASKPJf.cjs → vue-ui-screenshot-BB51-eRL.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DM-PQM2g.js → vue-ui-screenshot-tnFPT1vi.js} +1 -1
- package/dist/{vue-ui-skeleton-WoggMoff.js → vue-ui-skeleton-DieABKlo.js} +3 -3
- package/dist/{vue-ui-skeleton-DaowWOKJ.cjs → vue-ui-skeleton-DlC-U64G.cjs} +1 -1
- package/dist/{vue-ui-smiley-gulDZ8i7.js → vue-ui-smiley-C32wVXgu.js} +2 -2
- package/dist/{vue-ui-smiley-hlaNlq2y.cjs → vue-ui-smiley-DSxKw3ud.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-LbApLsdt.js → vue-ui-spark-trend-B_x1dX38.js} +5 -5
- package/dist/{vue-ui-spark-trend-BcrMflk6.cjs → vue-ui-spark-trend-vexkCCy9.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BdfaDBkw.cjs → vue-ui-sparkbar-CsOEiHDQ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CnL6FbaE.js → vue-ui-sparkbar-ZSbB6Llo.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CHv1q1cO.cjs → vue-ui-sparkgauge-Bdh7X--h.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Du7PRJyB.js → vue-ui-sparkgauge-Cf3bDk98.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CyEyZvbD.js → vue-ui-sparkhistogram-CrZy1xf0.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CBqKXnvX.cjs → vue-ui-sparkhistogram-fALwb3uK.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DRHE0kK8.cjs → vue-ui-sparkline-D4WDvcZR.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BMNXPHhB.js → vue-ui-sparkline-DTW_lXgp.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-D6wuDd8h.cjs → vue-ui-sparkstackbar-DBPLhUoi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D33lwh8d.js → vue-ui-sparkstackbar-Db2Ndf0k.js} +5 -5
- package/dist/{vue-ui-stackbar-CnxGAca-.cjs → vue-ui-stackbar-B3eaSIoO.cjs} +3 -3
- package/dist/{vue-ui-stackbar-C5yoqQAY.js → vue-ui-stackbar-DbF3ZJTD.js} +211 -204
- package/dist/{vue-ui-strip-plot-Cg1B7i3X.js → vue-ui-strip-plot-CpkH2Gfd.js} +83 -76
- package/dist/{vue-ui-strip-plot-DDTTc2jA.cjs → vue-ui-strip-plot-DiCVf5u-.cjs} +1 -1
- package/dist/{vue-ui-table-BGfZl0wF.js → vue-ui-table-D6zWwikN.js} +1 -1
- package/dist/{vue-ui-table-TV5Coa0A.cjs → vue-ui-table-K13fqkDI.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Jjx8L8St.cjs → vue-ui-table-heatmap-BgenCoVa.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D0j2OFv0.js → vue-ui-table-heatmap-EAevgnzN.js} +63 -56
- package/dist/{vue-ui-table-sparkline-D0_FhhN5.cjs → vue-ui-table-sparkline-3JMqr89P.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C2sUG_7S.js → vue-ui-table-sparkline-s_oWe6MG.js} +90 -83
- package/dist/{vue-ui-thermometer-Bw35Fw8v.cjs → vue-ui-thermometer--mYRly4x.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CdLZ8te2.js → vue-ui-thermometer-Bo3l_0Kf.js} +113 -106
- package/dist/{vue-ui-timer-1-kXQ5_q.js → vue-ui-timer-C9EuUurN.js} +6 -6
- package/dist/{vue-ui-timer-Deg5YPx0.cjs → vue-ui-timer-Djh-ZDNe.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-uSgVLSbo.cjs → vue-ui-tiremarks-CKv_KApZ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHTSw0fa.js → vue-ui-tiremarks-DgdpEDJ1.js} +76 -69
- package/dist/{vue-ui-treemap-7W_lvbV0.cjs → vue-ui-treemap-AkNJjd2c.cjs} +1 -1
- package/dist/{vue-ui-treemap-C2u5sEzh.js → vue-ui-treemap-D13sISL0.js} +144 -137
- package/dist/{vue-ui-vertical-bar-BlzOi8LC.cjs → vue-ui-vertical-bar-CQlvpdJl.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-U3LQF-NS.js → vue-ui-vertical-bar-DfegzHj4.js} +120 -113
- package/dist/{vue-ui-waffle-DUXvINoC.cjs → vue-ui-waffle-Dve1LWVt.cjs} +1 -1
- package/dist/{vue-ui-waffle-qAheWwiI.js → vue-ui-waffle-f72Lq8_D.js} +78 -71
- package/dist/{vue-ui-wheel-DIoKCgCS.cjs → vue-ui-wheel-BG1GcVvN.cjs} +1 -1
- package/dist/{vue-ui-wheel-CuLQchDK.js → vue-ui-wheel-BxefMdit.js} +105 -98
- package/dist/{vue-ui-word-cloud-B-nFH7hZ.js → vue-ui-word-cloud-BYY4K2G4.js} +123 -116
- package/dist/{vue-ui-word-cloud-BSvmRQ5n.cjs → vue-ui-word-cloud-CRRR7H7h.cjs} +1 -1
- package/dist/{vue-ui-xy-DXMoSF2C.js → vue-ui-xy-BS0_aTIH.js} +73 -66
- package/dist/{vue-ui-xy-BGsFH9wE.cjs → vue-ui-xy-DGYZFgdd.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-CTymfSH6.js → vue-ui-xy-canvas-Bl2v7Z3U.js} +200 -193
- package/dist/{vue-ui-xy-canvas-i13v43UX.cjs → vue-ui-xy-canvas-R_pPaj0X.cjs} +2 -2
- package/package.json +2 -7
- package/dist/PenAndPaper-Dbw8Fph9.cjs +0 -1
- package/dist/index-Dwoe0gcF.cjs +0 -15
- package/dist/index-Fl-W8YeZ.js +0 -3971
- package/dist/usePrinter-bPnqqKha.cjs +0 -1
- package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
- package/dist/vue-ui-circle-pack-Ce1oEvgz.cjs +0 -1
- package/dist/vue-ui-circle-pack-CrgnQ_jY.js +0 -663
- package/dist/vue-ui-heatmap-DvItO4xs.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { u as pe, o as be, e as Z, g as ke, c as we, l as xe, D as _e, d as Ce, i as
|
|
3
|
-
import { u as ee } from "./useNestedProp-
|
|
4
|
-
import { _ as Oe } from "./Title-
|
|
5
|
-
import { L as Ae } from "./Legend-
|
|
6
|
-
import { u as Be, U as Pe } from "./usePrinter-
|
|
7
|
-
import { _ as Fe } from "./PackageVersion-
|
|
8
|
-
import { P as
|
|
9
|
-
import
|
|
1
|
+
import { ref as g, computed as f, onMounted as ge, watch as K, onBeforeUnmount as fe, createElementBlock as o, openBlock as r, unref as u, normalizeStyle as H, normalizeClass as Q, createBlock as w, createCommentVNode as i, createElementVNode as x, createSlots as me, withCtx as p, renderSlot as m, normalizeProps as L, guardReactiveProps as $, createVNode as ye, Fragment as M, renderList as T, toDisplayString as O } from "vue";
|
|
2
|
+
import { u as pe, o as be, e as Z, g as ke, c as we, l as xe, D as _e, d as Ce, i as A, f as B, X as Le, a as $e } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { u as ee } from "./useNestedProp-CEMeoM-f.js";
|
|
4
|
+
import { _ as Oe } from "./Title-1PWD04Gh.js";
|
|
5
|
+
import { L as Ae } from "./Legend-PL8rU0J1.js";
|
|
6
|
+
import { u as Be, U as Pe } from "./usePrinter-Undaynpo.js";
|
|
7
|
+
import { _ as Fe } from "./PackageVersion-1Y7SXTrk.js";
|
|
8
|
+
import { P as Ie } from "./PenAndPaper-BYhUvcy4.js";
|
|
9
|
+
import Se from "./vue-ui-skeleton-DieABKlo.js";
|
|
10
10
|
import { u as He } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { u as Me } from "./useChartAccessibility-BWojgys7.js";
|
|
12
12
|
import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -42,10 +42,10 @@ const Ue = ["id"], Ne = {
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
setup(te, { expose: ae }) {
|
|
45
|
-
const { vue_ui_bullet: le } = pe(), n = te, U =
|
|
45
|
+
const { vue_ui_bullet: le } = pe(), n = te, U = g(null), se = g(null), N = g(0), re = g(null), oe = g(0), y = f({
|
|
46
46
|
get: () => n.dataset.hasOwnProperty("value"),
|
|
47
47
|
set: (t) => t
|
|
48
|
-
}),
|
|
48
|
+
}), b = f(() => 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:
|
|
49
49
|
|
|
50
50
|
segments: [
|
|
51
51
|
{
|
|
@@ -56,7 +56,7 @@ segments: [
|
|
|
56
56
|
},
|
|
57
57
|
{...}
|
|
58
58
|
]
|
|
59
|
-
`),
|
|
59
|
+
`), y.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
|
|
60
60
|
|
|
61
61
|
segments: [
|
|
62
62
|
{
|
|
@@ -67,7 +67,7 @@ segments: [
|
|
|
67
67
|
},
|
|
68
68
|
{...}
|
|
69
69
|
]
|
|
70
|
-
`),
|
|
70
|
+
`), y.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
71
71
|
|
|
72
72
|
segments: [
|
|
73
73
|
{
|
|
@@ -78,27 +78,27 @@ segments: [
|
|
|
78
78
|
},
|
|
79
79
|
{...}
|
|
80
80
|
]
|
|
81
|
-
`),
|
|
81
|
+
`), y.value = !1, !1));
|
|
82
82
|
ge(z);
|
|
83
83
|
function z() {
|
|
84
84
|
be(n.dataset) ? Z({
|
|
85
85
|
componentName: "VueUiBullet",
|
|
86
86
|
type: "dataset"
|
|
87
|
-
}) :
|
|
87
|
+
}) : b.value ? n.dataset.segments.forEach((t, s) => {
|
|
88
88
|
ke({
|
|
89
89
|
datasetObject: t,
|
|
90
90
|
requiredAttributes: ["name", "from", "to"]
|
|
91
|
-
}).forEach((
|
|
92
|
-
|
|
91
|
+
}).forEach((a) => {
|
|
92
|
+
y.value = !1, Z({
|
|
93
93
|
componentName: "VueUiBullet segment",
|
|
94
94
|
type: "datasetSerieAttribute",
|
|
95
|
-
property:
|
|
95
|
+
property: a,
|
|
96
96
|
index: s
|
|
97
97
|
});
|
|
98
98
|
});
|
|
99
|
-
}) :
|
|
99
|
+
}) : y.value = !1, e.value.style.chart.animation.show && j(n.dataset.value || 0);
|
|
100
100
|
}
|
|
101
|
-
const
|
|
101
|
+
const P = g(we());
|
|
102
102
|
function R() {
|
|
103
103
|
const t = ee({
|
|
104
104
|
userConfig: n.config,
|
|
@@ -111,92 +111,92 @@ segments: [
|
|
|
111
111
|
})
|
|
112
112
|
} : t;
|
|
113
113
|
}
|
|
114
|
-
const e =
|
|
114
|
+
const e = f({
|
|
115
115
|
get: () => R(),
|
|
116
116
|
set: (t) => t
|
|
117
|
-
}), { userOptionsVisible:
|
|
117
|
+
}), { userOptionsVisible: F, setUserOptionsVisibility: W, keepUserOptionState: E } = He({ config: e.value }), { svgRef: D } = Me({ config: e.value.style.chart.title });
|
|
118
118
|
K(() => n.config, (t) => {
|
|
119
|
-
e.value = R(),
|
|
119
|
+
e.value = R(), F.value = !e.value.userOptions.showOnChartHover, z(), N.value += 1;
|
|
120
120
|
}, { deep: !0 });
|
|
121
|
-
const
|
|
122
|
-
const t = e.value.style.chart.height, s = e.value.style.chart.width,
|
|
121
|
+
const l = f(() => {
|
|
122
|
+
const t = e.value.style.chart.height, s = e.value.style.chart.width, a = e.value.style.chart.padding.left, d = s - e.value.style.chart.padding.right, C = e.value.style.chart.padding.top, v = t - e.value.style.chart.padding.bottom;
|
|
123
123
|
return {
|
|
124
124
|
height: t,
|
|
125
125
|
width: s,
|
|
126
|
-
left:
|
|
127
|
-
right:
|
|
126
|
+
left: a,
|
|
127
|
+
right: d,
|
|
128
128
|
top: C,
|
|
129
129
|
bottom: v,
|
|
130
|
-
chartWidth:
|
|
130
|
+
chartWidth: d - a,
|
|
131
131
|
chartHeight: v - C
|
|
132
132
|
};
|
|
133
|
-
}), ne =
|
|
134
|
-
if (!
|
|
133
|
+
}), ne = f(() => {
|
|
134
|
+
if (!b.value) return [];
|
|
135
135
|
const t = [];
|
|
136
136
|
for (let s = 0; s < n.dataset.segments.length; s += 1)
|
|
137
137
|
t.push(xe(e.value.style.chart.segments.baseColor, s / n.dataset.segments.length));
|
|
138
138
|
return t;
|
|
139
|
-
}),
|
|
139
|
+
}), I = f(() => b.value ? {
|
|
140
140
|
min: Math.min(...n.dataset.segments.map((t) => t.from)),
|
|
141
141
|
max: Math.max(...n.dataset.segments.map((t) => t.to))
|
|
142
|
-
} : { min: 0, max: 1 }), c =
|
|
142
|
+
} : { min: 0, max: 1 }), c = g(ue());
|
|
143
143
|
K(() => n.dataset, (t) => {
|
|
144
144
|
e.value.style.chart.animation.show ? j(t.value || 0) : c.value = t.value || 0;
|
|
145
145
|
}, { deep: !0 });
|
|
146
146
|
function ue() {
|
|
147
|
-
return e.value.style.chart.animation.show ?
|
|
147
|
+
return e.value.style.chart.animation.show ? I.value.min : n.dataset.value || 0;
|
|
148
148
|
}
|
|
149
|
-
const V =
|
|
149
|
+
const V = g(null);
|
|
150
150
|
function j(t) {
|
|
151
151
|
const s = Math.abs(t - c.value) / e.value.style.chart.animation.animationFrames;
|
|
152
|
-
function
|
|
153
|
-
c.value < t ? c.value = Math.min(c.value + s, t) : c.value > t && (c.value = Math.max(c.value - s, t)), c.value !== t && (V.value = requestAnimationFrame(
|
|
152
|
+
function a() {
|
|
153
|
+
c.value < t ? c.value = Math.min(c.value + s, t) : c.value > t && (c.value = Math.max(c.value - s, t)), c.value !== t && (V.value = requestAnimationFrame(a));
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
a();
|
|
156
156
|
}
|
|
157
157
|
fe(() => {
|
|
158
158
|
cancelAnimationFrame(V.value);
|
|
159
159
|
});
|
|
160
|
-
const h =
|
|
161
|
-
if (!
|
|
160
|
+
const h = f(() => {
|
|
161
|
+
if (!b.value)
|
|
162
162
|
return [];
|
|
163
|
-
const t = _e(
|
|
164
|
-
x:
|
|
165
|
-
},
|
|
166
|
-
width: (c.value + s) / (t.max + s) *
|
|
163
|
+
const t = _e(I.value.min, I.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), a = {
|
|
164
|
+
x: l.value.left + (n.dataset.target + s) / (t.max + s) * l.value.chartWidth - e.value.style.chart.target.width / 2
|
|
165
|
+
}, d = {
|
|
166
|
+
width: (c.value + s) / (t.max + s) * l.value.chartWidth
|
|
167
167
|
}, C = t.ticks.map((v) => ({
|
|
168
168
|
value: v,
|
|
169
|
-
y:
|
|
170
|
-
x:
|
|
169
|
+
y: l.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
|
|
170
|
+
x: l.value.left + (v + s) / (t.max + s) * l.value.chartWidth
|
|
171
171
|
}));
|
|
172
172
|
return {
|
|
173
173
|
scale: t,
|
|
174
|
-
target:
|
|
175
|
-
value:
|
|
174
|
+
target: a,
|
|
175
|
+
value: d,
|
|
176
176
|
ticks: C,
|
|
177
177
|
chunks: n.dataset.segments.map((v, de) => ({
|
|
178
178
|
...v,
|
|
179
179
|
color: v.color ? Ce(v.color) : ne.value[de],
|
|
180
|
-
x:
|
|
181
|
-
y:
|
|
182
|
-
height:
|
|
183
|
-
width:
|
|
180
|
+
x: l.value.left + l.value.chartWidth * ((v.from + s) / (t.max + s)),
|
|
181
|
+
y: l.value.top,
|
|
182
|
+
height: l.value.chartHeight,
|
|
183
|
+
width: l.value.chartWidth * (Math.abs(v.to - v.from) / (t.max + s))
|
|
184
184
|
}))
|
|
185
185
|
};
|
|
186
|
-
}), G =
|
|
187
|
-
const s =
|
|
186
|
+
}), G = f(() => !h.value || !h.value.chunks || !h.value.chunks.length ? [] : h.value.chunks.map((t) => {
|
|
187
|
+
const s = A(
|
|
188
188
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
189
189
|
t.from,
|
|
190
|
-
|
|
190
|
+
B({
|
|
191
191
|
p: e.value.style.chart.segments.dataLabels.prefix,
|
|
192
192
|
v: t.from,
|
|
193
193
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
194
194
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
195
195
|
})
|
|
196
|
-
),
|
|
196
|
+
), a = A(
|
|
197
197
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
198
198
|
t.to,
|
|
199
|
-
|
|
199
|
+
B({
|
|
200
200
|
p: e.value.style.chart.segments.dataLabels.prefix,
|
|
201
201
|
v: t.to,
|
|
202
202
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
@@ -206,9 +206,9 @@ segments: [
|
|
|
206
206
|
return {
|
|
207
207
|
...t,
|
|
208
208
|
shape: "square",
|
|
209
|
-
value: `${s} - ${
|
|
209
|
+
value: `${s} - ${a}`
|
|
210
210
|
};
|
|
211
|
-
})), ie =
|
|
211
|
+
})), ie = f(() => ({
|
|
212
212
|
cy: "bullet-div-legend",
|
|
213
213
|
backgroundColor: "transparent",
|
|
214
214
|
color: e.value.style.chart.legend.color,
|
|
@@ -216,40 +216,40 @@ segments: [
|
|
|
216
216
|
paddingBottom: 6,
|
|
217
217
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
218
218
|
})), { isPrinting: q, isImaging: X, generatePdf: Y, generateImage: J } = Be({
|
|
219
|
-
elementId: `bullet_${
|
|
219
|
+
elementId: `bullet_${P.value}`,
|
|
220
220
|
fileName: e.value.style.chart.title.text || "vue-ui-bullet"
|
|
221
|
-
}), ce =
|
|
221
|
+
}), ce = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), k = g(!1);
|
|
222
222
|
function he(t) {
|
|
223
|
-
|
|
223
|
+
k.value = t, oe.value += 1;
|
|
224
224
|
}
|
|
225
225
|
function ve() {
|
|
226
226
|
return h.value;
|
|
227
227
|
}
|
|
228
|
-
const _ =
|
|
229
|
-
function
|
|
228
|
+
const _ = g(!1);
|
|
229
|
+
function S() {
|
|
230
230
|
_.value = !_.value;
|
|
231
231
|
}
|
|
232
232
|
return ae({
|
|
233
233
|
getData: ve,
|
|
234
234
|
generatePdf: Y,
|
|
235
235
|
generateImage: J,
|
|
236
|
-
toggleAnnotator:
|
|
236
|
+
toggleAnnotator: S
|
|
237
237
|
}), (t, s) => (r(), o("div", {
|
|
238
238
|
ref_key: "bulletChart",
|
|
239
239
|
ref: U,
|
|
240
|
-
class: Q(`vue-ui-bullet ${
|
|
241
|
-
style:
|
|
242
|
-
id: `bullet_${
|
|
240
|
+
class: Q(`vue-ui-bullet ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
241
|
+
style: H(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
242
|
+
id: `bullet_${P.value}`,
|
|
243
243
|
onMouseenter: s[0] || (s[0] = () => u(W)(!0)),
|
|
244
244
|
onMouseleave: s[1] || (s[1] = () => u(W)(!1))
|
|
245
245
|
}, [
|
|
246
|
-
e.value.userOptions.buttons.annotator ? (r(),
|
|
246
|
+
e.value.userOptions.buttons.annotator ? (r(), w(Ie, {
|
|
247
247
|
key: 0,
|
|
248
248
|
svgRef: u(D),
|
|
249
249
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
250
250
|
color: e.value.style.chart.color,
|
|
251
251
|
active: _.value,
|
|
252
|
-
onClose:
|
|
252
|
+
onClose: S
|
|
253
253
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
|
|
254
254
|
ce.value ? (r(), o("div", Ne, null, 512)) : i("", !0),
|
|
255
255
|
e.value.style.chart.title.text ? (r(), o("div", {
|
|
@@ -258,7 +258,7 @@ segments: [
|
|
|
258
258
|
ref: se,
|
|
259
259
|
style: "width:100%;background:transparent;"
|
|
260
260
|
}, [
|
|
261
|
-
(r(),
|
|
261
|
+
(r(), w(Oe, {
|
|
262
262
|
lineHeight: "1.3rem",
|
|
263
263
|
key: `title_${N.value}`,
|
|
264
264
|
config: {
|
|
@@ -273,14 +273,14 @@ segments: [
|
|
|
273
273
|
}
|
|
274
274
|
}, null, 8, ["config"]))
|
|
275
275
|
], 512)) : i("", !0),
|
|
276
|
-
e.value.userOptions.show &&
|
|
276
|
+
e.value.userOptions.show && y.value && (u(E) || u(F)) ? (r(), w(Pe, {
|
|
277
277
|
key: 3,
|
|
278
278
|
ref: "details",
|
|
279
279
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
280
280
|
color: e.value.style.chart.color,
|
|
281
281
|
isPrinting: u(q),
|
|
282
282
|
isImaging: u(X),
|
|
283
|
-
uid:
|
|
283
|
+
uid: P.value,
|
|
284
284
|
hasTooltip: !1,
|
|
285
285
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
286
286
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -288,7 +288,7 @@ segments: [
|
|
|
288
288
|
hasTable: !1,
|
|
289
289
|
hasLabel: !1,
|
|
290
290
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
291
|
-
isFullscreen:
|
|
291
|
+
isFullscreen: k.value,
|
|
292
292
|
chartElement: U.value,
|
|
293
293
|
position: e.value.userOptions.position,
|
|
294
294
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
@@ -297,87 +297,94 @@ segments: [
|
|
|
297
297
|
onToggleFullscreen: he,
|
|
298
298
|
onGeneratePdf: u(Y),
|
|
299
299
|
onGenerateImage: u(J),
|
|
300
|
-
onToggleAnnotator:
|
|
301
|
-
style:
|
|
302
|
-
visibility: u(E) ? u(
|
|
300
|
+
onToggleAnnotator: S,
|
|
301
|
+
style: H({
|
|
302
|
+
visibility: u(E) ? u(F) ? "visible" : "hidden" : "visible"
|
|
303
303
|
})
|
|
304
304
|
}, me({ _: 2 }, [
|
|
305
|
+
t.$slots.menuIcon ? {
|
|
306
|
+
name: "menuIcon",
|
|
307
|
+
fn: p(({ isOpen: a, color: d }) => [
|
|
308
|
+
m(t.$slots, "menuIcon", L($({ isOpen: a, color: d })), void 0, !0)
|
|
309
|
+
]),
|
|
310
|
+
key: "0"
|
|
311
|
+
} : void 0,
|
|
305
312
|
t.$slots.optionPdf ? {
|
|
306
313
|
name: "optionPdf",
|
|
307
|
-
fn:
|
|
308
|
-
|
|
314
|
+
fn: p(() => [
|
|
315
|
+
m(t.$slots, "optionPdf", {}, void 0, !0)
|
|
309
316
|
]),
|
|
310
|
-
key: "
|
|
317
|
+
key: "1"
|
|
311
318
|
} : void 0,
|
|
312
319
|
t.$slots.optionImg ? {
|
|
313
320
|
name: "optionImg",
|
|
314
|
-
fn:
|
|
315
|
-
|
|
321
|
+
fn: p(() => [
|
|
322
|
+
m(t.$slots, "optionImg", {}, void 0, !0)
|
|
316
323
|
]),
|
|
317
|
-
key: "
|
|
324
|
+
key: "2"
|
|
318
325
|
} : void 0,
|
|
319
326
|
t.$slots.optionFullscreen ? {
|
|
320
327
|
name: "optionFullscreen",
|
|
321
|
-
fn:
|
|
322
|
-
|
|
328
|
+
fn: p(({ toggleFullscreen: a, isFullscreen: d }) => [
|
|
329
|
+
m(t.$slots, "optionFullscreen", L($({ toggleFullscreen: a, isFullscreen: d })), void 0, !0)
|
|
323
330
|
]),
|
|
324
|
-
key: "
|
|
331
|
+
key: "3"
|
|
325
332
|
} : void 0,
|
|
326
333
|
t.$slots.optionAnnotator ? {
|
|
327
334
|
name: "optionAnnotator",
|
|
328
|
-
fn:
|
|
329
|
-
|
|
335
|
+
fn: p(({ toggleAnnotator: a, isAnnotator: d }) => [
|
|
336
|
+
m(t.$slots, "optionAnnotator", L($({ toggleAnnotator: a, isAnnotator: d })), void 0, !0)
|
|
330
337
|
]),
|
|
331
|
-
key: "
|
|
338
|
+
key: "4"
|
|
332
339
|
} : void 0
|
|
333
340
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
334
|
-
|
|
341
|
+
y.value ? (r(), o("svg", {
|
|
335
342
|
key: 4,
|
|
336
343
|
ref_key: "svgRef",
|
|
337
344
|
ref: D,
|
|
338
345
|
xmlns: u(Le),
|
|
339
|
-
class: Q({ "vue-data-ui-fullscreen--on":
|
|
340
|
-
viewBox: `0 0 ${
|
|
341
|
-
style:
|
|
346
|
+
class: Q({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value, "vue-ui-bullet-svg": !0 }),
|
|
347
|
+
viewBox: `0 0 ${l.value.width} ${l.value.height}`,
|
|
348
|
+
style: H(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
342
349
|
}, [
|
|
343
350
|
ye(Fe),
|
|
344
351
|
t.$slots["chart-background"] ? (r(), o("foreignObject", {
|
|
345
352
|
key: 0,
|
|
346
353
|
x: 0,
|
|
347
354
|
y: 0,
|
|
348
|
-
width:
|
|
349
|
-
height:
|
|
355
|
+
width: l.value.width,
|
|
356
|
+
height: l.value.height,
|
|
350
357
|
style: {
|
|
351
358
|
pointerEvents: "none"
|
|
352
359
|
}
|
|
353
360
|
}, [
|
|
354
|
-
|
|
361
|
+
m(t.$slots, "chart-background", {}, void 0, !0)
|
|
355
362
|
], 8, Re)) : i("", !0),
|
|
356
|
-
|
|
357
|
-
(r(!0), o(M, null, T(h.value.chunks, (
|
|
358
|
-
x:
|
|
359
|
-
y:
|
|
360
|
-
height:
|
|
361
|
-
width:
|
|
362
|
-
fill:
|
|
363
|
+
b.value ? (r(), o("g", We, [
|
|
364
|
+
(r(!0), o(M, null, T(h.value.chunks, (a) => (r(), o("rect", {
|
|
365
|
+
x: a.x,
|
|
366
|
+
y: a.y,
|
|
367
|
+
height: a.height,
|
|
368
|
+
width: a.width,
|
|
369
|
+
fill: a.color,
|
|
363
370
|
"stroke-width": 1,
|
|
364
371
|
stroke: e.value.style.chart.backgroundColor
|
|
365
372
|
}, null, 8, Ee))), 256)),
|
|
366
373
|
e.value.style.chart.target.onTop ? i("", !0) : (r(), o("rect", {
|
|
367
374
|
key: 0,
|
|
368
375
|
x: h.value.target.x,
|
|
369
|
-
y:
|
|
370
|
-
height:
|
|
376
|
+
y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
|
|
377
|
+
height: l.value.chartHeight * e.value.style.chart.target.heightRatio,
|
|
371
378
|
width: e.value.style.chart.target.width,
|
|
372
379
|
rx: e.value.style.chart.target.rounded ? e.value.style.chart.target.width / 2 : 0,
|
|
373
380
|
fill: e.value.style.chart.target.color,
|
|
374
381
|
stroke: e.value.style.chart.target.stroke,
|
|
375
382
|
"stroke-width": e.value.style.chart.target.strokeWidth
|
|
376
383
|
}, null, 8, De)),
|
|
377
|
-
|
|
378
|
-
x:
|
|
379
|
-
y:
|
|
380
|
-
height:
|
|
384
|
+
x("rect", {
|
|
385
|
+
x: l.value.left,
|
|
386
|
+
y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
|
|
387
|
+
height: l.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
|
|
381
388
|
width: h.value.value.width,
|
|
382
389
|
fill: e.value.style.chart.valueBar.color,
|
|
383
390
|
stroke: e.value.style.chart.valueBar.stroke,
|
|
@@ -385,16 +392,16 @@ segments: [
|
|
|
385
392
|
}, null, 8, Ve),
|
|
386
393
|
e.value.style.chart.valueBar.label.show ? (r(), o("text", {
|
|
387
394
|
key: 1,
|
|
388
|
-
x:
|
|
389
|
-
y:
|
|
395
|
+
x: l.value.left + h.value.value.width,
|
|
396
|
+
y: l.value.top - 6 + e.value.style.chart.valueBar.label.offsetY,
|
|
390
397
|
"font-size": e.value.style.chart.valueBar.label.fontSize,
|
|
391
398
|
"font-weight": e.value.style.chart.valueBar.label.bold ? "bold" : "normal",
|
|
392
399
|
fill: e.value.style.chart.valueBar.label.color,
|
|
393
400
|
"text-anchor": "middle"
|
|
394
|
-
},
|
|
401
|
+
}, O(u(A)(
|
|
395
402
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
396
403
|
c.value,
|
|
397
|
-
u(
|
|
404
|
+
u(B)({
|
|
398
405
|
p: e.value.style.chart.segments.dataLabels.prefix,
|
|
399
406
|
v: c.value,
|
|
400
407
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
@@ -404,8 +411,8 @@ segments: [
|
|
|
404
411
|
e.value.style.chart.target.onTop ? (r(), o("rect", {
|
|
405
412
|
key: 2,
|
|
406
413
|
x: h.value.target.x,
|
|
407
|
-
y:
|
|
408
|
-
height:
|
|
414
|
+
y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
|
|
415
|
+
height: l.value.chartHeight * e.value.style.chart.target.heightRatio,
|
|
409
416
|
width: e.value.style.chart.target.width,
|
|
410
417
|
rx: e.value.style.chart.target.rounded ? e.value.style.chart.target.width / 2 : 0,
|
|
411
418
|
fill: e.value.style.chart.target.color,
|
|
@@ -413,42 +420,42 @@ segments: [
|
|
|
413
420
|
"stroke-width": e.value.style.chart.target.strokeWidth
|
|
414
421
|
}, null, 8, Ge)) : i("", !0),
|
|
415
422
|
e.value.style.chart.segments.dataLabels.show ? (r(), o("g", qe, [
|
|
416
|
-
(r(!0), o(M, null, T(h.value.ticks, (
|
|
417
|
-
x:
|
|
418
|
-
y:
|
|
423
|
+
(r(!0), o(M, null, T(h.value.ticks, (a) => (r(), o("text", {
|
|
424
|
+
x: a.x,
|
|
425
|
+
y: a.y,
|
|
419
426
|
"text-anchor": "middle",
|
|
420
427
|
fill: e.value.style.chart.segments.dataLabels.color,
|
|
421
428
|
"font-size": e.value.style.chart.segments.dataLabels.fontSize + "px",
|
|
422
429
|
"font-weight": e.value.style.chart.segments.dataLabels.bold ? "bold" : "normal"
|
|
423
|
-
},
|
|
430
|
+
}, O(u(A)(
|
|
424
431
|
e.value.style.chart.segments.dataLabels.formatter,
|
|
425
|
-
|
|
426
|
-
u(
|
|
432
|
+
a.value,
|
|
433
|
+
u(B)({
|
|
427
434
|
p: e.value.style.chart.segments.dataLabels.prefix,
|
|
428
|
-
v:
|
|
435
|
+
v: a.value,
|
|
429
436
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
430
437
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
431
438
|
})
|
|
432
439
|
)), 9, Xe))), 256))
|
|
433
440
|
])) : i("", !0),
|
|
434
441
|
e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (r(), o("g", Ye, [
|
|
435
|
-
(r(!0), o(M, null, T(h.value.ticks, (
|
|
436
|
-
x1:
|
|
437
|
-
x2:
|
|
438
|
-
y1:
|
|
439
|
-
y2:
|
|
442
|
+
(r(!0), o(M, null, T(h.value.ticks, (a) => (r(), o("line", {
|
|
443
|
+
x1: a.x,
|
|
444
|
+
x2: a.x,
|
|
445
|
+
y1: l.value.bottom,
|
|
446
|
+
y2: l.value.bottom + 3,
|
|
440
447
|
stroke: e.value.style.chart.segments.ticks.stroke,
|
|
441
448
|
"stroke-width": 1,
|
|
442
449
|
"stroke-linecap": "round"
|
|
443
450
|
}, null, 8, Je))), 256))
|
|
444
451
|
])) : i("", !0)
|
|
445
452
|
])) : i("", !0),
|
|
446
|
-
|
|
453
|
+
m(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
447
454
|
], 14, ze)) : i("", !0),
|
|
448
455
|
t.$slots.watermark ? (r(), o("div", Ke, [
|
|
449
|
-
|
|
456
|
+
m(t.$slots, "watermark", L($({ isPrinting: u(q) || u(X) })), void 0, !0)
|
|
450
457
|
])) : i("", !0),
|
|
451
|
-
|
|
458
|
+
y.value ? i("", !0) : (r(), w(Se, {
|
|
452
459
|
key: 6,
|
|
453
460
|
config: {
|
|
454
461
|
type: "bullet",
|
|
@@ -460,32 +467,32 @@ segments: [
|
|
|
460
467
|
}
|
|
461
468
|
}
|
|
462
469
|
}, null, 8, ["config"])),
|
|
463
|
-
|
|
470
|
+
x("div", {
|
|
464
471
|
ref_key: "chartLegend",
|
|
465
472
|
ref: re
|
|
466
473
|
}, [
|
|
467
|
-
e.value.style.chart.legend.show ? (r(),
|
|
474
|
+
e.value.style.chart.legend.show ? (r(), w(Ae, {
|
|
468
475
|
key: 0,
|
|
469
476
|
clickable: !1,
|
|
470
477
|
legendSet: G.value,
|
|
471
478
|
config: ie.value
|
|
472
479
|
}, {
|
|
473
|
-
item:
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
480
|
+
item: p(({ legend: a }) => [
|
|
481
|
+
x("div", Qe, [
|
|
482
|
+
x("span", Ze, O(a.name) + ":", 1),
|
|
483
|
+
x("span", null, O(a.value), 1)
|
|
477
484
|
])
|
|
478
485
|
]),
|
|
479
486
|
_: 1
|
|
480
487
|
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
481
|
-
|
|
488
|
+
m(t.$slots, "legend", { legend: G.value }, void 0, !0)
|
|
482
489
|
], 512),
|
|
483
490
|
t.$slots.source ? (r(), o("div", et, [
|
|
484
|
-
|
|
491
|
+
m(t.$slots, "source", {}, void 0, !0)
|
|
485
492
|
], 512)) : i("", !0)
|
|
486
493
|
], 46, Ue));
|
|
487
494
|
}
|
|
488
|
-
}, gt = /* @__PURE__ */ Te(tt, [["__scopeId", "data-v-
|
|
495
|
+
}, gt = /* @__PURE__ */ Te(tt, [["__scopeId", "data-v-1ef5edae"]]);
|
|
489
496
|
export {
|
|
490
497
|
gt as default
|
|
491
498
|
};
|