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,15 +1,15 @@
|
|
|
1
|
-
import { computed as p, ref as b, onMounted as it, watch as Re, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as
|
|
2
|
-
import { u as ht, o as yt, e as Z, g as ft, c as Ue, t as gt, p as ee, a as bt, C as We, b as mt, d as ve, J as xt, D as Xe, m as de, X as pt, s as
|
|
3
|
-
import { _ as wt } from "./Title-
|
|
4
|
-
import { u as zt, U as Lt } from "./usePrinter-
|
|
5
|
-
import { D as St } from "./DataTable-
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import
|
|
10
|
-
import { u as Ye } from "./useNestedProp-
|
|
11
|
-
import { _ as Ft } from "./PackageVersion-
|
|
12
|
-
import { P as Pt } from "./PenAndPaper-
|
|
1
|
+
import { computed as p, ref as b, onMounted as it, watch as Re, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as Q, normalizeClass as P, createBlock as D, createCommentVNode as v, renderSlot as S, createSlots as ct, withCtx as $, normalizeProps as G, guardReactiveProps as j, createVNode as vt, createElementVNode as d, Fragment as k, renderList as _, toDisplayString as m, withKeys as dt, createTextVNode as Me, nextTick as B } from "vue";
|
|
2
|
+
import { u as ht, o as yt, e as Z, g as ft, c as Ue, t as gt, p as ee, a as bt, C as We, b as mt, d as ve, J as xt, D as Xe, m as de, X as pt, s as Y, E as kt, i as he, f as te, j as Ge, k as je, n as le, q as _t, r as Ct, K as Be } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { _ as wt } from "./Title-1PWD04Gh.js";
|
|
4
|
+
import { u as zt, U as Lt } from "./usePrinter-Undaynpo.js";
|
|
5
|
+
import { D as St } from "./DataTable-DfMqgTjL.js";
|
|
6
|
+
import { L as $t } from "./Legend-PL8rU0J1.js";
|
|
7
|
+
import At from "./vue-ui-skeleton-DieABKlo.js";
|
|
8
|
+
import { S as It } from "./Slicer-6F4tHrZR.js";
|
|
9
|
+
import Nt from "./vue-ui-accordion-C8Couc_G.js";
|
|
10
|
+
import { u as Ye } from "./useNestedProp-CEMeoM-f.js";
|
|
11
|
+
import { _ as Ft } from "./PackageVersion-1Y7SXTrk.js";
|
|
12
|
+
import { P as Pt } from "./PenAndPaper-BYhUvcy4.js";
|
|
13
13
|
import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as Dt } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -17,7 +17,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
17
17
|
key: 4,
|
|
18
18
|
"data-cy-zoom": "",
|
|
19
19
|
class: "vue-ui-donut-evolution-dialog"
|
|
20
|
-
}, xl = ["x", "y", "width", "height", "fill"], pl = ["x1", "y1", "x2", "y2", "stroke"], kl = ["x1", "y2", "x2", "y1", "stroke"], _l = ["cx", "cy", "r"], Cl = ["d", "stroke"], wl = ["cx", "cy", "r", "fill"], zl = ["d", "fill", "stroke"], Ll = { class: "vue-ui-donut-evolution-focus" }, Sl = ["text-anchor", "x", "y", "fill"],
|
|
20
|
+
}, xl = ["x", "y", "width", "height", "fill"], pl = ["x1", "y1", "x2", "y2", "stroke"], kl = ["x1", "y2", "x2", "y1", "stroke"], _l = ["cx", "cy", "r"], Cl = ["d", "stroke"], wl = ["cx", "cy", "r", "fill"], zl = ["d", "fill", "stroke"], Ll = { class: "vue-ui-donut-evolution-focus" }, Sl = ["text-anchor", "x", "y", "fill"], $l = ["cx", "cy", "r", "fill"], Al = ["cx", "cy", "r", "fill"], Il = ["x", "y", "fill"], Nl = ["x", "y", "font-size", "fill"], Fl = {
|
|
21
21
|
key: 5,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
23
|
}, Pl = ["onClick"], Ol = { key: 0 }, Dl = { key: 1 }, Tl = {
|
|
@@ -42,7 +42,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
42
42
|
},
|
|
43
43
|
emits: ["selectLegend"],
|
|
44
44
|
setup(Ke, { expose: qe, emit: Je }) {
|
|
45
|
-
const { vue_ui_donut_evolution: Qe } = ht(), x = Ke,
|
|
45
|
+
const { vue_ui_donut_evolution: Qe } = ht(), x = Ke, K = p(() => !!x.dataset && x.dataset.length), h = b({
|
|
46
46
|
start: 0,
|
|
47
47
|
end: Math.max(...x.dataset.map((l) => l.values.length))
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
51
51
|
}
|
|
52
52
|
const V = b(null);
|
|
53
53
|
async function fe() {
|
|
54
|
-
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await
|
|
54
|
+
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await B(), await B(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await B(), await B(), V.value && V.value.setEndValue(Ze(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
|
|
55
55
|
start: 0,
|
|
56
56
|
end: E.value
|
|
57
57
|
}, xe.value += 1);
|
|
@@ -81,7 +81,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
81
81
|
});
|
|
82
82
|
}), fe();
|
|
83
83
|
}
|
|
84
|
-
const T = b(Ue()), C = b([]), g = b(null), ae = b(null), A = b(!1),
|
|
84
|
+
const T = b(Ue()), C = b([]), g = b(null), ae = b(null), A = b(!1), I = b(null), be = b(null), et = b(null), me = b(0), xe = b(0), pe = b(0), ke = b(0), _e = b(0), Ce = Je, e = p({
|
|
85
85
|
get: () => Se(),
|
|
86
86
|
set: (l) => l
|
|
87
87
|
}), { userOptionsVisible: oe, setUserOptionsVisibility: we, keepUserOptionState: ze } = Ot({ config: e.value }), { svgRef: Le } = Dt({ config: e.value.style.chart.title });
|
|
@@ -104,7 +104,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
104
104
|
}, { deep: !0 }), Re(() => x.dataset, (l) => {
|
|
105
105
|
ye();
|
|
106
106
|
}, { deep: !0 });
|
|
107
|
-
const { isPrinting:
|
|
107
|
+
const { isPrinting: $e, isImaging: Ae, generatePdf: Ie, generateImage: Ne } = zt({
|
|
108
108
|
elementId: T.value,
|
|
109
109
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
110
110
|
}), tt = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), lt = p(() => mt(e.value.customPalette)), U = b({
|
|
@@ -114,15 +114,15 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
114
114
|
right: e.value.style.chart.layout.padding.right,
|
|
115
115
|
bottom: e.value.style.chart.layout.padding.bottom,
|
|
116
116
|
left: e.value.style.chart.layout.padding.left
|
|
117
|
-
})),
|
|
118
|
-
const l = e.value.style.chart.layout.height, u = e.value.style.chart.layout.width, t = l - n.value.top - n.value.bottom,
|
|
117
|
+
})), i = p(() => {
|
|
118
|
+
const l = e.value.style.chart.layout.height, u = e.value.style.chart.layout.width, t = l - n.value.top - n.value.bottom, r = u - n.value.left - n.value.right;
|
|
119
119
|
return {
|
|
120
120
|
absoluteHeight: l,
|
|
121
121
|
absoluteWidth: u,
|
|
122
|
-
centerX: n.value.left +
|
|
122
|
+
centerX: n.value.left + r / 2,
|
|
123
123
|
centerY: n.value.top + t / 2,
|
|
124
124
|
height: t,
|
|
125
|
-
width:
|
|
125
|
+
width: r
|
|
126
126
|
};
|
|
127
127
|
}), O = p(() => (x.dataset.forEach((l, u) => {
|
|
128
128
|
[null, void 0].includes(l.name) && Z({
|
|
@@ -145,10 +145,10 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
145
145
|
})))), W = p(() => O.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
|
|
146
146
|
...l,
|
|
147
147
|
values: l.values.filter((u, t) => t >= h.value.start && t <= h.value.end)
|
|
148
|
-
}))), E = p(() => Math.max(...W.value.map((l) => l.length))), z = p(() =>
|
|
148
|
+
}))), E = p(() => Math.max(...W.value.map((l) => l.length))), z = p(() => i.value.width / (h.value.end - h.value.start)), w = p(() => {
|
|
149
149
|
const l = [];
|
|
150
150
|
for (let s = 0; s < h.value.end - h.value.start; s += 1) {
|
|
151
|
-
const f = W.value.map((
|
|
151
|
+
const f = W.value.map((F) => F.values[s] ?? null), y = f.filter((F) => [void 0, null].includes(F)).length === f.length, N = f.reduce((F, L) => F + L, 0), ce = f.map((F) => F / N), M = n.value.left + z.value * s + z.value / 2;
|
|
152
152
|
l.push({
|
|
153
153
|
index: s,
|
|
154
154
|
percentages: ce,
|
|
@@ -157,12 +157,12 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
157
157
|
x: M
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
const u = 0, t = Math.max(...l.map((s) => s.subtotal)),
|
|
160
|
+
const u = 0, t = Math.max(...l.map((s) => s.subtotal)), r = l.length === 1 ? t * 2 : t;
|
|
161
161
|
return l.map((s, f) => {
|
|
162
|
-
const y = z.value / 2 * 0.7, N = y >
|
|
162
|
+
const y = z.value / 2 * 0.7, N = y > i.value.width / 16 ? i.value.width / 16 : y, ce = g.value === s.index ? i.value.width / 16 : N, M = l.length > 4 ? y * 2 : y * 2 > z.value / 2 * 0.7 ? z.value / 2 * 0.7 : y * 2, F = i.value.absoluteHeight - n.value.bottom - i.value.height * s.subtotal / Xe(u, r, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
163
163
|
return {
|
|
164
164
|
...s,
|
|
165
|
-
y:
|
|
165
|
+
y: F,
|
|
166
166
|
radius: N,
|
|
167
167
|
activeRadius: ce,
|
|
168
168
|
hoverRadius: M,
|
|
@@ -172,25 +172,25 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
172
172
|
name: L.name,
|
|
173
173
|
value: L.values[f] ?? 0
|
|
174
174
|
}))
|
|
175
|
-
}, s.x,
|
|
175
|
+
}, s.x, F, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
176
176
|
donutHover: de({
|
|
177
177
|
series: W.value.map((L, He) => ({
|
|
178
178
|
color: L.color,
|
|
179
179
|
name: L.name,
|
|
180
180
|
value: L.values[f] ?? 0
|
|
181
181
|
}))
|
|
182
|
-
}, s.x,
|
|
182
|
+
}, s.x, F, M, M, 1.99999, 2, 1, 360, 105.25, M / 2),
|
|
183
183
|
donutFocus: de({
|
|
184
184
|
series: W.value.map((L, He) => ({
|
|
185
185
|
color: L.color,
|
|
186
186
|
name: L.name,
|
|
187
187
|
value: L.values[f] ?? 0
|
|
188
188
|
}))
|
|
189
|
-
},
|
|
189
|
+
}, i.value.centerX, i.value.centerY, i.value.height / 3.6, i.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, i.value.height / 6)
|
|
190
190
|
};
|
|
191
191
|
});
|
|
192
192
|
});
|
|
193
|
-
function
|
|
193
|
+
function q(l, u, t) {
|
|
194
194
|
return he(
|
|
195
195
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
196
196
|
l,
|
|
@@ -214,7 +214,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
214
214
|
return l / H.value.max;
|
|
215
215
|
}
|
|
216
216
|
const ot = p(() => H.value.ticks.map((l) => ({
|
|
217
|
-
y:
|
|
217
|
+
y: i.value.absoluteHeight - n.value.bottom - i.value.height * at(l),
|
|
218
218
|
value: l
|
|
219
219
|
})));
|
|
220
220
|
function Fe(l, u) {
|
|
@@ -228,14 +228,14 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
228
228
|
}
|
|
229
229
|
const se = b(null);
|
|
230
230
|
function ne(l, u) {
|
|
231
|
-
l.subtotal && (ae.value = null, g.value = null, A.value = !0,
|
|
231
|
+
l.subtotal && (ae.value = null, g.value = null, A.value = !0, I.value = l, [null, void 0].includes(u) || (se.value = u));
|
|
232
232
|
}
|
|
233
233
|
function Oe() {
|
|
234
|
-
|
|
234
|
+
I.value = null, A.value = !1, se.value = null;
|
|
235
235
|
}
|
|
236
236
|
const De = p(() => O.value.map((l, u) => ({
|
|
237
237
|
name: l.name,
|
|
238
|
-
value: l.values.slice(h.value.start, h.value.end).reduce((t,
|
|
238
|
+
value: l.values.slice(h.value.start, h.value.end).reduce((t, r) => t + r, 0),
|
|
239
239
|
shape: "circle",
|
|
240
240
|
uid: l.uid,
|
|
241
241
|
color: l.color
|
|
@@ -259,7 +259,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
259
259
|
if (C.value.length === O.value.length - 1) return;
|
|
260
260
|
C.value.push(l), Ce("selectLegend", O.value.find((u) => u.uid === l));
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
I.value && ne(w.value.find((u, t) => t === se.value));
|
|
263
263
|
}
|
|
264
264
|
const R = p(() => {
|
|
265
265
|
const l = [""].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => ({
|
|
@@ -286,17 +286,17 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
286
286
|
outline: e.value.table.td.outline
|
|
287
287
|
},
|
|
288
288
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
289
|
-
},
|
|
289
|
+
}, r = [
|
|
290
290
|
e.value.table.columnNames.period
|
|
291
291
|
].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
|
|
292
|
-
return { head: l, body: u, config: t, colNames:
|
|
292
|
+
return { head: l, body: u, config: t, colNames: r };
|
|
293
293
|
});
|
|
294
294
|
function nt() {
|
|
295
295
|
return O.value;
|
|
296
296
|
}
|
|
297
297
|
function Ee() {
|
|
298
|
-
|
|
299
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...R.value.head.map((f) => f.name ?? f)], t = [...R.value.body.map((f) => f.map((y) => y.value ?? y))],
|
|
298
|
+
B(() => {
|
|
299
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...R.value.head.map((f) => f.name ?? f)], t = [...R.value.body.map((f) => f.map((y) => y.value ?? y))], r = l.concat([u]).concat(t), s = _t(r);
|
|
300
300
|
Ct({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
301
301
|
});
|
|
302
302
|
}
|
|
@@ -307,22 +307,22 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
307
307
|
function Ve() {
|
|
308
308
|
U.value.showTable = !U.value.showTable;
|
|
309
309
|
}
|
|
310
|
-
const
|
|
310
|
+
const J = b(!1);
|
|
311
311
|
function ie() {
|
|
312
|
-
|
|
312
|
+
J.value = !J.value;
|
|
313
313
|
}
|
|
314
314
|
return qe({
|
|
315
315
|
getData: nt,
|
|
316
|
-
generatePdf:
|
|
316
|
+
generatePdf: Ie,
|
|
317
317
|
generateCsv: Ee,
|
|
318
|
-
generateImage:
|
|
318
|
+
generateImage: Ne,
|
|
319
319
|
toggleTable: Ve,
|
|
320
320
|
toggleAnnotator: ie
|
|
321
321
|
}), (l, u) => (a(), o("div", {
|
|
322
322
|
ref_key: "donutEvolutionChart",
|
|
323
323
|
ref: be,
|
|
324
324
|
class: P(`vue-ui-donut-evolution ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
325
|
-
style:
|
|
325
|
+
style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
326
326
|
id: T.value,
|
|
327
327
|
onMouseenter: u[4] || (u[4] = () => c(we)(!0)),
|
|
328
328
|
onMouseleave: u[5] || (u[5] = () => c(we)(!1))
|
|
@@ -332,7 +332,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
332
332
|
svgRef: c(Le),
|
|
333
333
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
334
334
|
color: e.value.style.chart.color,
|
|
335
|
-
active:
|
|
335
|
+
active: J.value,
|
|
336
336
|
onClose: ie
|
|
337
337
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
|
|
338
338
|
tt.value ? (a(), o("div", {
|
|
@@ -361,13 +361,13 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
361
361
|
}
|
|
362
362
|
}, null, 8, ["config"]))
|
|
363
363
|
], 32)) : v("", !0),
|
|
364
|
-
e.value.userOptions.show &&
|
|
364
|
+
e.value.userOptions.show && K.value && (c(ze) || c(oe)) ? (a(), D(Lt, {
|
|
365
365
|
ref: "details",
|
|
366
366
|
key: `user_options_${me.value}`,
|
|
367
367
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
368
368
|
color: e.value.style.chart.color,
|
|
369
|
-
isPrinting: c(
|
|
370
|
-
isImaging: c(
|
|
369
|
+
isPrinting: c($e),
|
|
370
|
+
isImaging: c(Ae),
|
|
371
371
|
uid: T.value,
|
|
372
372
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
373
373
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -379,76 +379,83 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
379
379
|
chartElement: be.value,
|
|
380
380
|
position: e.value.userOptions.position,
|
|
381
381
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
382
|
-
isAnnotation:
|
|
382
|
+
isAnnotation: J.value,
|
|
383
383
|
onToggleFullscreen: rt,
|
|
384
|
-
onGeneratePdf: c(
|
|
384
|
+
onGeneratePdf: c(Ie),
|
|
385
385
|
onGenerateCsv: Ee,
|
|
386
|
-
onGenerateImage: c(
|
|
386
|
+
onGenerateImage: c(Ne),
|
|
387
387
|
onToggleTable: Ve,
|
|
388
388
|
onToggleAnnotator: ie,
|
|
389
|
-
style:
|
|
389
|
+
style: Q({
|
|
390
390
|
visibility: c(ze) ? c(oe) ? "visible" : "hidden" : "visible"
|
|
391
391
|
})
|
|
392
392
|
}, ct({ _: 2 }, [
|
|
393
|
+
l.$slots.menuIcon ? {
|
|
394
|
+
name: "menuIcon",
|
|
395
|
+
fn: $(({ isOpen: t, color: r }) => [
|
|
396
|
+
S(l.$slots, "menuIcon", G(j({ isOpen: t, color: r })), void 0, !0)
|
|
397
|
+
]),
|
|
398
|
+
key: "0"
|
|
399
|
+
} : void 0,
|
|
393
400
|
l.$slots.optionPdf ? {
|
|
394
401
|
name: "optionPdf",
|
|
395
|
-
fn:
|
|
402
|
+
fn: $(() => [
|
|
396
403
|
S(l.$slots, "optionPdf", {}, void 0, !0)
|
|
397
404
|
]),
|
|
398
|
-
key: "
|
|
405
|
+
key: "1"
|
|
399
406
|
} : void 0,
|
|
400
407
|
l.$slots.optionCsv ? {
|
|
401
408
|
name: "optionCsv",
|
|
402
|
-
fn:
|
|
409
|
+
fn: $(() => [
|
|
403
410
|
S(l.$slots, "optionCsv", {}, void 0, !0)
|
|
404
411
|
]),
|
|
405
|
-
key: "
|
|
412
|
+
key: "2"
|
|
406
413
|
} : void 0,
|
|
407
414
|
l.$slots.optionImg ? {
|
|
408
415
|
name: "optionImg",
|
|
409
|
-
fn:
|
|
416
|
+
fn: $(() => [
|
|
410
417
|
S(l.$slots, "optionImg", {}, void 0, !0)
|
|
411
418
|
]),
|
|
412
|
-
key: "
|
|
419
|
+
key: "3"
|
|
413
420
|
} : void 0,
|
|
414
421
|
l.$slots.optionTable ? {
|
|
415
422
|
name: "optionTable",
|
|
416
|
-
fn:
|
|
423
|
+
fn: $(() => [
|
|
417
424
|
S(l.$slots, "optionTable", {}, void 0, !0)
|
|
418
425
|
]),
|
|
419
|
-
key: "
|
|
426
|
+
key: "4"
|
|
420
427
|
} : void 0,
|
|
421
428
|
l.$slots.optionFullscreen ? {
|
|
422
429
|
name: "optionFullscreen",
|
|
423
|
-
fn:
|
|
424
|
-
S(l.$slots, "optionFullscreen",
|
|
430
|
+
fn: $(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
431
|
+
S(l.$slots, "optionFullscreen", G(j({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
425
432
|
]),
|
|
426
|
-
key: "
|
|
433
|
+
key: "5"
|
|
427
434
|
} : void 0,
|
|
428
435
|
l.$slots.optionAnnotator ? {
|
|
429
436
|
name: "optionAnnotator",
|
|
430
|
-
fn:
|
|
431
|
-
S(l.$slots, "optionAnnotator",
|
|
437
|
+
fn: $(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
438
|
+
S(l.$slots, "optionAnnotator", G(j({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
432
439
|
]),
|
|
433
|
-
key: "
|
|
440
|
+
key: "6"
|
|
434
441
|
} : void 0
|
|
435
442
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
436
|
-
|
|
443
|
+
K.value ? (a(), o("svg", {
|
|
437
444
|
key: 4,
|
|
438
445
|
ref_key: "svgRef",
|
|
439
446
|
ref: Le,
|
|
440
447
|
xmlns: c(pt),
|
|
441
448
|
class: P({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
442
|
-
viewBox: `0 0 ${
|
|
443
|
-
style:
|
|
449
|
+
viewBox: `0 0 ${i.value.absoluteWidth} ${i.value.absoluteHeight}`,
|
|
450
|
+
style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
444
451
|
}, [
|
|
445
452
|
vt(Ft),
|
|
446
453
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
447
454
|
key: 0,
|
|
448
455
|
x: n.value.left,
|
|
449
456
|
y: n.value.top,
|
|
450
|
-
width:
|
|
451
|
-
height:
|
|
457
|
+
width: i.value.width,
|
|
458
|
+
height: i.value.height,
|
|
452
459
|
style: {
|
|
453
460
|
pointerEvents: "none"
|
|
454
461
|
}
|
|
@@ -465,11 +472,11 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
465
472
|
}, [
|
|
466
473
|
d("stop", {
|
|
467
474
|
offset: "0%",
|
|
468
|
-
"stop-color": c(
|
|
475
|
+
"stop-color": c(Y)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
469
476
|
}, null, 8, Mt),
|
|
470
477
|
d("stop", {
|
|
471
478
|
offset: "100%",
|
|
472
|
-
"stop-color": c(
|
|
479
|
+
"stop-color": c(Y)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
473
480
|
}, null, 8, Ut)
|
|
474
481
|
], 8, Rt),
|
|
475
482
|
d("radialGradient", {
|
|
@@ -477,15 +484,15 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
477
484
|
}, [
|
|
478
485
|
d("stop", {
|
|
479
486
|
offset: "0%",
|
|
480
|
-
"stop-color": c(
|
|
487
|
+
"stop-color": c(Y)(c(ve)(e.value.style.chart.backgroundColor), 0)
|
|
481
488
|
}, null, 8, Xt),
|
|
482
489
|
d("stop", {
|
|
483
490
|
offset: "77%",
|
|
484
|
-
"stop-color": c(
|
|
491
|
+
"stop-color": c(Y)("#FFFFFF", 30)
|
|
485
492
|
}, null, 8, Gt),
|
|
486
493
|
d("stop", {
|
|
487
494
|
offset: "100%",
|
|
488
|
-
"stop-color": c(
|
|
495
|
+
"stop-color": c(Y)(c(ve)(e.value.style.chart.backgroundColor), 0)
|
|
489
496
|
}, null, 8, jt)
|
|
490
497
|
], 8, Wt)
|
|
491
498
|
]),
|
|
@@ -494,26 +501,26 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
494
501
|
x1: n.value.left,
|
|
495
502
|
x2: n.value.left,
|
|
496
503
|
y1: n.value.top,
|
|
497
|
-
y2: n.value.top +
|
|
504
|
+
y2: n.value.top + i.value.height,
|
|
498
505
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
499
506
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
500
507
|
"stroke-linecap": "round"
|
|
501
508
|
}, null, 8, Yt),
|
|
502
509
|
d("line", {
|
|
503
510
|
x1: n.value.left,
|
|
504
|
-
x2:
|
|
505
|
-
y1:
|
|
506
|
-
y2:
|
|
511
|
+
x2: i.value.absoluteWidth - n.value.right,
|
|
512
|
+
y1: i.value.absoluteHeight - n.value.bottom,
|
|
513
|
+
y2: i.value.absoluteHeight - n.value.bottom,
|
|
507
514
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
508
515
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
509
516
|
"stroke-linecap": "round"
|
|
510
517
|
}, null, 8, Kt),
|
|
511
518
|
e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", qt, [
|
|
512
|
-
(a(!0), o(k, null, _(h.value.end - h.value.start, (t,
|
|
513
|
-
x1: n.value.left + (
|
|
514
|
-
x2: n.value.left + (
|
|
519
|
+
(a(!0), o(k, null, _(h.value.end - h.value.start, (t, r) => (a(), o("line", {
|
|
520
|
+
x1: n.value.left + (r + 1) * z.value,
|
|
521
|
+
x2: n.value.left + (r + 1) * z.value,
|
|
515
522
|
y1: n.value.top,
|
|
516
|
-
y2:
|
|
523
|
+
y2: i.value.absoluteHeight - n.value.bottom,
|
|
517
524
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
518
525
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
519
526
|
"stroke-linecap": "round"
|
|
@@ -524,7 +531,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
524
531
|
key: 2,
|
|
525
532
|
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value })
|
|
526
533
|
}, [
|
|
527
|
-
(a(!0), o(k, null, _(ot.value, (t,
|
|
534
|
+
(a(!0), o(k, null, _(ot.value, (t, r) => (a(), o("g", null, [
|
|
528
535
|
t.value >= H.value.min && t.value <= H.value.max ? (a(), o("line", {
|
|
529
536
|
key: 0,
|
|
530
537
|
x1: n.value.left,
|
|
@@ -551,7 +558,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
551
558
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
552
559
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
553
560
|
}),
|
|
554
|
-
{ datapoint: t, seriesIndex:
|
|
561
|
+
{ datapoint: t, seriesIndex: r }
|
|
555
562
|
) : ""), 9, Zt)) : v("", !0)
|
|
556
563
|
]))), 256))
|
|
557
564
|
], 2)) : v("", !0),
|
|
@@ -559,24 +566,24 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
559
566
|
key: 3,
|
|
560
567
|
class: P({ "donut-opacity": !0, "donut-behind": A.value })
|
|
561
568
|
}, [
|
|
562
|
-
(a(!0), o(k, null, _(h.value.end - h.value.start, (t,
|
|
563
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (
|
|
569
|
+
(a(!0), o(k, null, _(h.value.end - h.value.start, (t, r) => (a(), o("g", null, [
|
|
570
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === E.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
|
|
564
571
|
key: 0,
|
|
565
572
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
566
573
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
567
574
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
568
|
-
transform: `translate(${n.value.left + z.value *
|
|
569
|
-
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
575
|
+
transform: `translate(${n.value.left + z.value * r + z.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + i.value.absoluteHeight - n.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
576
|
+
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(h.value.start)] ?? ""), 9, el)) : v("", !0)
|
|
570
577
|
]))), 256))
|
|
571
578
|
], 2)) : v("", !0),
|
|
572
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
573
|
-
e.value.style.chart.layout.line.show &&
|
|
579
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", null, [
|
|
580
|
+
e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(), o("line", {
|
|
574
581
|
key: 0,
|
|
575
582
|
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value }),
|
|
576
583
|
x1: t.x,
|
|
577
584
|
y1: t.y,
|
|
578
|
-
x2: w.value[
|
|
579
|
-
y2: w.value[
|
|
585
|
+
x2: w.value[r + 1].x,
|
|
586
|
+
y2: w.value[r + 1].y,
|
|
580
587
|
stroke: e.value.style.chart.layout.line.stroke,
|
|
581
588
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
582
589
|
"stroke-linecap": "round",
|
|
@@ -592,11 +599,11 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
592
599
|
}, null, 8, al)) : v("", !0)
|
|
593
600
|
])) : v("", !0)
|
|
594
601
|
]))), 256)),
|
|
595
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
596
|
-
class: P({ "donut-opacity": !0, "donut-behind":
|
|
602
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
603
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
597
604
|
}, [
|
|
598
605
|
t.subtotal ? (a(), o("g", ol, [
|
|
599
|
-
g.value !== null && g.value ===
|
|
606
|
+
g.value !== null && g.value === r ? (a(), o("g", ul, [
|
|
600
607
|
(a(!0), o(k, null, _(t.donutHover, (s) => (a(), o("g", null, [
|
|
601
608
|
d("path", {
|
|
602
609
|
d: c(Ge)(s, { x: s.center.endX, y: s.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
|
|
@@ -616,7 +623,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
616
623
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
617
624
|
"font-size": 8,
|
|
618
625
|
"font-weight": "bold"
|
|
619
|
-
}, m(s.name) + ": " + m(Fe(s, t.donut)) + " (" + m(s.value === null ? "-" :
|
|
626
|
+
}, m(s.name) + ": " + m(Fe(s, t.donut)) + " (" + m(s.value === null ? "-" : q(s.value, s, f)) + ") ", 9, nl)
|
|
620
627
|
]))), 256)),
|
|
621
628
|
d("g", null, [
|
|
622
629
|
d("circle", {
|
|
@@ -629,8 +636,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
629
636
|
])) : v("", !0)
|
|
630
637
|
])) : v("", !0)
|
|
631
638
|
], 2))), 256)),
|
|
632
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
633
|
-
class: P({ "donut-opacity": !0, "donut-behind":
|
|
639
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
640
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
634
641
|
}, [
|
|
635
642
|
t.subtotal !== null ? (a(), o("g", il, [
|
|
636
643
|
t.subtotal === 0 ? (a(), o("circle", {
|
|
@@ -639,7 +646,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
639
646
|
cy: t.y,
|
|
640
647
|
r: 3,
|
|
641
648
|
fill: e.value.style.chart.color
|
|
642
|
-
}, null, 8, cl)) : g.value !== null && g.value ===
|
|
649
|
+
}, null, 8, cl)) : g.value !== null && g.value === r ? (a(), o("g", vl, [
|
|
643
650
|
(a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("path", {
|
|
644
651
|
d: s.arcSlice,
|
|
645
652
|
fill: `${s.color}`,
|
|
@@ -656,8 +663,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
656
663
|
]))
|
|
657
664
|
])) : v("", !0)
|
|
658
665
|
], 2))), 256)),
|
|
659
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
660
|
-
class: P({ "donut-opacity": !0, "donut-behind":
|
|
666
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
667
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
661
668
|
}, [
|
|
662
669
|
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
|
|
663
670
|
key: 0,
|
|
@@ -667,27 +674,27 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
667
674
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
668
675
|
"font-weight": "bold",
|
|
669
676
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
670
|
-
}, m(
|
|
677
|
+
}, m(q(t.subtotal, t, r)), 9, fl)) : v("", !0)
|
|
671
678
|
], 2))), 256)),
|
|
672
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
673
|
-
x: n.value.left +
|
|
674
|
-
y:
|
|
679
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
|
|
680
|
+
x: n.value.left + r * z.value,
|
|
681
|
+
y: i.value.absoluteHeight - n.value.bottom - 10,
|
|
675
682
|
width: z.value,
|
|
676
683
|
height: 10,
|
|
677
684
|
fill: g.value === t.index ? `url(#hover_${T.value})` : "transparent",
|
|
678
|
-
onClick: (s) => ne(t,
|
|
685
|
+
onClick: (s) => ne(t, r),
|
|
679
686
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
680
687
|
}, null, 10, gl))), 256)),
|
|
681
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
688
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
|
|
682
689
|
"data-cy-trap": "",
|
|
683
|
-
x: n.value.left +
|
|
690
|
+
x: n.value.left + r * z.value,
|
|
684
691
|
y: n.value.top,
|
|
685
692
|
width: z.value,
|
|
686
|
-
height:
|
|
693
|
+
height: i.value.height,
|
|
687
694
|
fill: "transparent",
|
|
688
695
|
onMouseenter: (s) => ut(t),
|
|
689
696
|
onMouseleave: Pe,
|
|
690
|
-
onClick: (s) => ne(t,
|
|
697
|
+
onClick: (s) => ne(t, r),
|
|
691
698
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
692
699
|
}, null, 42, bl))), 256)),
|
|
693
700
|
A.value ? (a(), o("g", ml, [
|
|
@@ -695,16 +702,16 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
695
702
|
rx: 4,
|
|
696
703
|
x: n.value.left,
|
|
697
704
|
y: n.value.top,
|
|
698
|
-
width:
|
|
699
|
-
height:
|
|
705
|
+
width: i.value.width,
|
|
706
|
+
height: i.value.height,
|
|
700
707
|
fill: e.value.style.chart.backgroundColor,
|
|
701
708
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
702
709
|
}, null, 8, xl),
|
|
703
710
|
d("line", {
|
|
704
711
|
"data-html2canvas-ignore": "",
|
|
705
|
-
x1:
|
|
712
|
+
x1: i.value.absoluteWidth - n.value.right - 15,
|
|
706
713
|
y1: n.value.top + 5,
|
|
707
|
-
x2:
|
|
714
|
+
x2: i.value.absoluteWidth - n.value.right - 4,
|
|
708
715
|
y2: n.value.top + 15.5,
|
|
709
716
|
"stroke-linecap": "round",
|
|
710
717
|
stroke: e.value.style.chart.color,
|
|
@@ -712,9 +719,9 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
712
719
|
}, null, 8, pl),
|
|
713
720
|
d("line", {
|
|
714
721
|
"data-html2canvas-ignore": "",
|
|
715
|
-
x1:
|
|
722
|
+
x1: i.value.absoluteWidth - n.value.right - 15,
|
|
716
723
|
y2: n.value.top + 5,
|
|
717
|
-
x2:
|
|
724
|
+
x2: i.value.absoluteWidth - n.value.right - 4,
|
|
718
725
|
y1: n.value.top + 15.5,
|
|
719
726
|
"stroke-linecap": "round",
|
|
720
727
|
stroke: e.value.style.chart.color,
|
|
@@ -724,17 +731,17 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
724
731
|
"data-cy-close": "",
|
|
725
732
|
onClick: Oe,
|
|
726
733
|
onKeypress: dt(Oe, ["enter"]),
|
|
727
|
-
cx:
|
|
728
|
-
cy: n.value.top +
|
|
729
|
-
r:
|
|
734
|
+
cx: i.value.absoluteWidth - n.value.right - i.value.width / 40,
|
|
735
|
+
cy: n.value.top + i.value.height / 30,
|
|
736
|
+
r: i.value.height / 12,
|
|
730
737
|
fill: "transparent",
|
|
731
738
|
style: { cursor: "pointer" },
|
|
732
739
|
tabindex: "0"
|
|
733
740
|
}, null, 40, _l),
|
|
734
|
-
(a(!0), o(k, null, _(
|
|
741
|
+
(a(!0), o(k, null, _(I.value.donutFocus, (t) => (a(), o("g", null, [
|
|
735
742
|
d("path", {
|
|
736
743
|
"data-cy-zoom-donut": "",
|
|
737
|
-
d: c(Ge)(t, { x:
|
|
744
|
+
d: c(Ge)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
|
|
738
745
|
stroke: t.color,
|
|
739
746
|
"stroke-width": "1",
|
|
740
747
|
"stroke-linecap": "round",
|
|
@@ -744,19 +751,19 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
744
751
|
}, null, 8, Cl)
|
|
745
752
|
]))), 256)),
|
|
746
753
|
d("circle", {
|
|
747
|
-
cx: n.value.left +
|
|
748
|
-
cy: n.value.top +
|
|
749
|
-
r:
|
|
754
|
+
cx: n.value.left + i.value.width / 2,
|
|
755
|
+
cy: n.value.top + i.value.height / 2,
|
|
756
|
+
r: i.value.height / 7,
|
|
750
757
|
fill: e.value.style.chart.backgroundColor
|
|
751
758
|
}, null, 8, wl),
|
|
752
|
-
(a(!0), o(k, null, _(
|
|
759
|
+
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("path", {
|
|
753
760
|
d: t.arcSlice,
|
|
754
761
|
fill: `${t.color}`,
|
|
755
762
|
"stroke-width": 1,
|
|
756
763
|
stroke: e.value.style.chart.backgroundColor,
|
|
757
764
|
class: "vue-ui-donut-evolution-focus"
|
|
758
765
|
}, null, 8, zl))), 256)),
|
|
759
|
-
(a(!0), o(k, null, _(
|
|
766
|
+
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("g", Ll, [
|
|
760
767
|
d("text", {
|
|
761
768
|
"text-anchor": c(le)(t, !0, 20).anchor,
|
|
762
769
|
x: c(le)(t, !0, 10).x,
|
|
@@ -764,43 +771,43 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
764
771
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
765
772
|
"font-size": 10,
|
|
766
773
|
"font-weight": "bold"
|
|
767
|
-
}, m(t.name) + ": " + m(Fe(t,
|
|
774
|
+
}, m(t.name) + ": " + m(Fe(t, I.value.donutFocus)) + " (" + m(t.value === null ? "-" : q(t.value, t, r)) + ") ", 9, Sl)
|
|
768
775
|
]))), 256)),
|
|
769
776
|
d("circle", {
|
|
770
|
-
cx: n.value.left +
|
|
771
|
-
cy: n.value.top +
|
|
772
|
-
r:
|
|
777
|
+
cx: n.value.left + i.value.width / 2,
|
|
778
|
+
cy: n.value.top + i.value.height / 2,
|
|
779
|
+
r: i.value.height / 3.8,
|
|
773
780
|
fill: `url(#focus_${T.value})`
|
|
774
|
-
}, null, 8,
|
|
781
|
+
}, null, 8, $l),
|
|
775
782
|
d("circle", {
|
|
776
|
-
cx: n.value.left +
|
|
777
|
-
cy: n.value.top +
|
|
778
|
-
r:
|
|
783
|
+
cx: n.value.left + i.value.width / 2,
|
|
784
|
+
cy: n.value.top + i.value.height / 2,
|
|
785
|
+
r: i.value.height / 7.7,
|
|
779
786
|
fill: e.value.style.chart.backgroundColor
|
|
780
|
-
}, null, 8,
|
|
787
|
+
}, null, 8, Al),
|
|
781
788
|
d("text", {
|
|
782
789
|
"text-anchor": "middle",
|
|
783
|
-
x: n.value.left +
|
|
784
|
-
y: n.value.top +
|
|
790
|
+
x: n.value.left + i.value.width / 2,
|
|
791
|
+
y: n.value.top + i.value.height / 2 + 14 / 3,
|
|
785
792
|
"font-size": 14,
|
|
786
793
|
"font-weight": "bold",
|
|
787
794
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
788
795
|
class: "vue-ui-donut-evolution-focus"
|
|
789
|
-
}, m(
|
|
790
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.values[
|
|
796
|
+
}, m(q(I.value.subtotal, I.value, null)), 9, Il),
|
|
797
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.values[I.value.index] ? (a(), o("text", {
|
|
791
798
|
key: 0,
|
|
792
799
|
x: n.value.left + 6,
|
|
793
800
|
y: n.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
794
801
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
795
802
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
796
|
-
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
803
|
+
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(I.value.index) + Number(h.value.start)]), 9, Nl)) : v("", !0)
|
|
797
804
|
])) : v("", !0),
|
|
798
|
-
S(l.$slots, "svg", { svg:
|
|
805
|
+
S(l.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
799
806
|
], 14, Vt)) : v("", !0),
|
|
800
807
|
l.$slots.watermark ? (a(), o("div", Fl, [
|
|
801
|
-
S(l.$slots, "watermark",
|
|
808
|
+
S(l.$slots, "watermark", G(j({ isPrinting: c($e) || c(Ae) })), void 0, !0)
|
|
802
809
|
])) : v("", !0),
|
|
803
|
-
|
|
810
|
+
K.value ? v("", !0) : (a(), D(At, {
|
|
804
811
|
key: 6,
|
|
805
812
|
config: {
|
|
806
813
|
type: "donutEvolution",
|
|
@@ -817,7 +824,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
817
824
|
}
|
|
818
825
|
}
|
|
819
826
|
}, null, 8, ["config"])),
|
|
820
|
-
E.value > 1 && e.value.style.chart.zoom.show ? (a(), D(
|
|
827
|
+
E.value > 1 && e.value.style.chart.zoom.show ? (a(), D(It, {
|
|
821
828
|
ref_key: "slicerComponent",
|
|
822
829
|
ref: V,
|
|
823
830
|
key: `slicer_${xe.value}`,
|
|
@@ -844,21 +851,21 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
844
851
|
enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
|
|
845
852
|
onReset: ye
|
|
846
853
|
}, {
|
|
847
|
-
"reset-action":
|
|
848
|
-
S(l.$slots, "reset-action",
|
|
854
|
+
"reset-action": $(({ reset: t }) => [
|
|
855
|
+
S(l.$slots, "reset-action", G(j({ reset: t })), void 0, !0)
|
|
849
856
|
]),
|
|
850
857
|
_: 3
|
|
851
858
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : v("", !0),
|
|
852
|
-
e.value.style.chart.legend.show ? (a(), D(
|
|
859
|
+
e.value.style.chart.legend.show ? (a(), D($t, {
|
|
853
860
|
key: `legend_${_e.value}`,
|
|
854
861
|
legendSet: De.value,
|
|
855
862
|
config: st.value,
|
|
856
863
|
onClickMarker: u[2] || (u[2] = ({ legend: t }) => re(t.uid))
|
|
857
864
|
}, {
|
|
858
|
-
item:
|
|
865
|
+
item: $(({ legend: t, index: r }) => [
|
|
859
866
|
d("div", {
|
|
860
867
|
onClick: (s) => re(t.uid),
|
|
861
|
-
style:
|
|
868
|
+
style: Q(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
|
|
862
869
|
}, [
|
|
863
870
|
Me(m(t.name) + ": " + m(c(he)(
|
|
864
871
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
@@ -869,7 +876,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
869
876
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
870
877
|
r: e.value.style.chart.legend.roundingValue
|
|
871
878
|
}),
|
|
872
|
-
{ datapoint: t, seriesIndex:
|
|
879
|
+
{ datapoint: t, seriesIndex: r }
|
|
873
880
|
)) + " ", 1),
|
|
874
881
|
C.value.includes(t.uid) ? (a(), o("span", Dl, " ( - % ) ")) : (a(), o("span", Ol, " (" + m(isNaN(t.value / Te.value) ? "-" : c(te)({
|
|
875
882
|
v: t.value / Te.value * 100,
|
|
@@ -884,7 +891,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
884
891
|
l.$slots.source ? (a(), o("div", Tl, [
|
|
885
892
|
S(l.$slots, "source", {}, void 0, !0)
|
|
886
893
|
], 512)) : v("", !0),
|
|
887
|
-
|
|
894
|
+
K.value ? (a(), D(Nt, {
|
|
888
895
|
key: 10,
|
|
889
896
|
hideDetails: "",
|
|
890
897
|
config: {
|
|
@@ -900,7 +907,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
900
907
|
}
|
|
901
908
|
}
|
|
902
909
|
}, {
|
|
903
|
-
content:
|
|
910
|
+
content: $(() => [
|
|
904
911
|
(a(), D(St, {
|
|
905
912
|
key: `table_${ke.value}`,
|
|
906
913
|
colNames: R.value.colNames,
|
|
@@ -910,10 +917,10 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
910
917
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
911
918
|
onClose: u[3] || (u[3] = (t) => U.value.showTable = !1)
|
|
912
919
|
}, {
|
|
913
|
-
th:
|
|
920
|
+
th: $(({ th: t }) => [
|
|
914
921
|
Me(m(t.name ?? t), 1)
|
|
915
922
|
]),
|
|
916
|
-
td:
|
|
923
|
+
td: $(({ td: t }) => [
|
|
917
924
|
t.value === null ? (a(), o("span", El, "-")) : (a(), o("b", Vl, m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + m(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
918
925
|
d("span", null, m(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
919
926
|
]),
|
|
@@ -924,7 +931,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
924
931
|
}, 8, ["config"])) : v("", !0)
|
|
925
932
|
], 46, Et));
|
|
926
933
|
}
|
|
927
|
-
}, ta = /* @__PURE__ */ Tt(Hl, [["__scopeId", "data-v-
|
|
934
|
+
}, ta = /* @__PURE__ */ Tt(Hl, [["__scopeId", "data-v-7d7412e9"]]);
|
|
928
935
|
export {
|
|
929
936
|
ta as default
|
|
930
937
|
};
|