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,16 +1,16 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as rt, c as it, t as dt, p as Z, a as vt, o as ct, e as
|
|
3
|
-
import { t as kt, u as wt } from "./useResponsive-
|
|
4
|
-
import { _ as $t } from "./Title-
|
|
5
|
-
import { u as Lt, U as Ct } from "./usePrinter-
|
|
6
|
-
import { D as xt } from "./DataTable-
|
|
7
|
-
import { _ as _t } from "./Tooltip-
|
|
8
|
-
import { L as Tt } from "./Legend-
|
|
9
|
-
import Ft from "./vue-ui-skeleton-
|
|
10
|
-
import Nt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Ye } from "./useNestedProp-
|
|
12
|
-
import { _ as St } from "./PackageVersion-
|
|
13
|
-
import { P as Ot } from "./PenAndPaper-
|
|
1
|
+
import { computed as w, ref as i, watch as Me, onMounted as ot, onBeforeUnmount as st, createElementBlock as n, openBlock as u, unref as r, normalizeStyle as K, normalizeClass as P, createBlock as D, createCommentVNode as f, createVNode as Ue, createSlots as ut, withCtx as b, renderSlot as g, normalizeProps as V, guardReactiveProps as M, createElementVNode as m, Fragment as C, renderList as F, toDisplayString as S, createTextVNode as Q, nextTick as nt } from "vue";
|
|
2
|
+
import { u as rt, c as it, t as dt, p as Z, a as vt, o as ct, e as U, b as ft, J as Re, d as ht, m as Be, f as x, X as yt, s as Ee, L as pt, k as ie, n as R, i as E, x as Ge, q as bt, r as gt, y as mt } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { t as kt, u as wt } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
+
import { _ as $t } from "./Title-1PWD04Gh.js";
|
|
5
|
+
import { u as Lt, U as Ct } from "./usePrinter-Undaynpo.js";
|
|
6
|
+
import { D as xt } from "./DataTable-DfMqgTjL.js";
|
|
7
|
+
import { _ as _t } from "./Tooltip-BTO5NGkn.js";
|
|
8
|
+
import { L as Tt } from "./Legend-PL8rU0J1.js";
|
|
9
|
+
import Ft from "./vue-ui-skeleton-DieABKlo.js";
|
|
10
|
+
import Nt from "./vue-ui-accordion-C8Couc_G.js";
|
|
11
|
+
import { u as Ye } from "./useNestedProp-CEMeoM-f.js";
|
|
12
|
+
import { _ as St } from "./PackageVersion-1Y7SXTrk.js";
|
|
13
|
+
import { P as Ot } from "./PenAndPaper-BYhUvcy4.js";
|
|
14
14
|
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as It } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -38,11 +38,11 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40
40
|
setup(Xe, { expose: He, emit: We }) {
|
|
41
|
-
const { vue_ui_nested_donuts: qe } = rt(), O = Xe, G =
|
|
41
|
+
const { vue_ui_nested_donuts: qe } = rt(), O = Xe, G = w(() => !!O.dataset && O.dataset.length), $ = i(it()), j = i(!1), ee = i(""), Je = i(null), de = i(0), B = i(null), ve = i(null), te = i(null), ce = i(null), fe = i(null), he = i(0), ye = i(0), pe = i(0), z = i(!1);
|
|
42
42
|
function Ke(t) {
|
|
43
43
|
z.value = t, de.value += 1;
|
|
44
44
|
}
|
|
45
|
-
const e =
|
|
45
|
+
const e = w({
|
|
46
46
|
get: () => ke(),
|
|
47
47
|
set: (t) => t
|
|
48
48
|
}), { userOptionsVisible: le, setUserOptionsVisibility: be, keepUserOptionState: ge } = At({ config: e.value }), { svgRef: me } = It({ config: e.value.style.chart.title });
|
|
@@ -67,13 +67,13 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
67
67
|
we();
|
|
68
68
|
});
|
|
69
69
|
function we() {
|
|
70
|
-
if (ct(O.dataset) &&
|
|
70
|
+
if (ct(O.dataset) && U({
|
|
71
71
|
componentName: "VueUiNestedDonuts",
|
|
72
72
|
type: "dataset"
|
|
73
73
|
}), e.value.responsive) {
|
|
74
74
|
const t = kt(() => {
|
|
75
75
|
const { width: s, height: a } = wt({
|
|
76
|
-
chart:
|
|
76
|
+
chart: B.value,
|
|
77
77
|
title: e.value.style.chart.title.text ? ve.value : null,
|
|
78
78
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
79
79
|
source: ce.value,
|
|
@@ -83,7 +83,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
83
83
|
c.value.width = s, c.value.height = a;
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
Y.value = new ResizeObserver(t), Y.value.observe(
|
|
86
|
+
Y.value = new ResizeObserver(t), Y.value.observe(B.value.parentNode);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
st(() => {
|
|
@@ -92,7 +92,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
92
92
|
const { isPrinting: $e, isImaging: Le, generatePdf: Ce, generateImage: xe } = Lt({
|
|
93
93
|
elementId: `nested_donuts_${$.value}`,
|
|
94
94
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
95
|
-
}), Qe =
|
|
95
|
+
}), Qe = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ze = w(() => ft(e.value.customPalette)), y = i({
|
|
96
96
|
dataLabels: {
|
|
97
97
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
98
98
|
},
|
|
@@ -105,29 +105,29 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
105
105
|
function je({ datapoint: t, index: s }) {
|
|
106
106
|
_e("selectDatapoint", { datapoint: t, index: s });
|
|
107
107
|
}
|
|
108
|
-
const p = i([]), _ =
|
|
109
|
-
[null, void 0].includes(t.name) &&
|
|
108
|
+
const p = i([]), _ = w(() => (O.dataset.forEach((t, s) => {
|
|
109
|
+
[null, void 0].includes(t.name) && U({
|
|
110
110
|
componentName: "VueUiNestedDonuts",
|
|
111
111
|
type: "datasetSerieAttribute",
|
|
112
112
|
property: "name",
|
|
113
113
|
index: s
|
|
114
|
-
}), [null, void 0].includes(t.series) ?
|
|
114
|
+
}), [null, void 0].includes(t.series) ? U({
|
|
115
115
|
componentName: "VueUiNestedDonuts",
|
|
116
116
|
type: "datasetSerieAttribute",
|
|
117
117
|
property: "series",
|
|
118
118
|
index: s
|
|
119
|
-
}) : t.series.length === 0 ?
|
|
119
|
+
}) : t.series.length === 0 ? U({
|
|
120
120
|
componentName: "VueUiNestedDonuts",
|
|
121
121
|
type: "datasetAttributeEmpty",
|
|
122
122
|
property: `series at index ${s}`
|
|
123
123
|
}) : t.series.forEach((a, o) => {
|
|
124
|
-
[null, void 0].includes(a.name) &&
|
|
124
|
+
[null, void 0].includes(a.name) && U({
|
|
125
125
|
componentName: "VueUiNestedDonuts",
|
|
126
126
|
type: "datasetSerieAttribute",
|
|
127
127
|
property: "name",
|
|
128
128
|
index: o,
|
|
129
129
|
key: "serie"
|
|
130
|
-
}), [null, void 0].includes(a.values) &&
|
|
130
|
+
}), [null, void 0].includes(a.values) && U({
|
|
131
131
|
componentName: "VueUiNestedDonuts",
|
|
132
132
|
type: "datasetSerieAttribute",
|
|
133
133
|
property: "values",
|
|
@@ -151,7 +151,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
151
151
|
value: Re(a.values).reduce((l, d) => l + d, 0),
|
|
152
152
|
absoluteValues: a.values || []
|
|
153
153
|
}))
|
|
154
|
-
})))), T =
|
|
154
|
+
})))), T = w(() => Math.min(c.value.height, c.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Te = w(() => [..._.value].map((t, s) => {
|
|
155
155
|
const a = t.series.filter((o) => !p.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
|
|
156
156
|
return {
|
|
157
157
|
...t,
|
|
@@ -175,7 +175,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
175
175
|
_e("selectLegend", t);
|
|
176
176
|
const s = _.value.flatMap((v) => v.series).find((v) => v.id === t.id), a = h.value.flatMap((v) => v.series).find((v) => v.id === t.id);
|
|
177
177
|
let l = a ? a.value : 0;
|
|
178
|
-
const d = _.value.find((v) => v.id === s.arcOfId).series.map((v) => v.id),
|
|
178
|
+
const d = _.value.find((v) => v.id === s.arcOfId).series.map((v) => v.id), k = et(d, d.length - 1, p.value);
|
|
179
179
|
if (p.value.includes(t.id)) {
|
|
180
180
|
let v = function() {
|
|
181
181
|
l > s.value ? (cancelAnimationFrame(Fe.value), h.value = h.value.map((L) => ({
|
|
@@ -193,7 +193,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
193
193
|
})), Fe.value = requestAnimationFrame(v));
|
|
194
194
|
};
|
|
195
195
|
p.value = p.value.filter((L) => L !== t.id), v();
|
|
196
|
-
} else if (
|
|
196
|
+
} else if (k) {
|
|
197
197
|
let v = function() {
|
|
198
198
|
l < 0.1 ? (cancelAnimationFrame(Ne.value), p.value.push(t.id), h.value = h.value.map((L, N) => ({
|
|
199
199
|
...L,
|
|
@@ -212,7 +212,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
212
212
|
v();
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
const oe =
|
|
215
|
+
const oe = w(() => T.value / _.value.length * e.value.style.chart.layout.donut.spacingRatio), Se = w(() => h.value.map((t, s) => T.value - s * T.value / _.value.length)), X = w(() => h.value.map((t, s) => {
|
|
216
216
|
const a = s * T.value / _.value.length;
|
|
217
217
|
return {
|
|
218
218
|
...t,
|
|
@@ -231,7 +231,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
231
231
|
oe.value
|
|
232
232
|
)
|
|
233
233
|
};
|
|
234
|
-
})), Oe =
|
|
234
|
+
})), Oe = w(() => [..._.value].map((t, s) => {
|
|
235
235
|
const a = s * T.value / _.value.length;
|
|
236
236
|
return {
|
|
237
237
|
sizeRatio: a,
|
|
@@ -273,17 +273,17 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
273
273
|
else {
|
|
274
274
|
let l = "";
|
|
275
275
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0) {
|
|
276
|
-
const d = h.value.map((
|
|
277
|
-
d.forEach((
|
|
278
|
-
if (!
|
|
276
|
+
const d = h.value.map((k) => k.series.find((v) => v.seriesIndex === a));
|
|
277
|
+
d.forEach((k, v) => {
|
|
278
|
+
if (!k) return "";
|
|
279
279
|
l += `
|
|
280
280
|
<div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${v < d.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
|
|
281
281
|
<div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
|
|
282
282
|
<svg viewBox="0 0 20 20" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
|
|
283
|
-
<circle cx="10" cy="10" r="10" fill="${
|
|
283
|
+
<circle cx="10" cy="10" r="10" fill="${k.color}"/>
|
|
284
284
|
</svg>
|
|
285
285
|
<span>
|
|
286
|
-
${
|
|
286
|
+
${k.arcOf ?? ""} - ${k.name}
|
|
287
287
|
</span>
|
|
288
288
|
</div>
|
|
289
289
|
<span>
|
|
@@ -300,7 +300,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
300
300
|
)}
|
|
301
301
|
</b>` : ""}
|
|
302
302
|
${e.value.style.chart.tooltip.showPercentage ? `(${x({
|
|
303
|
-
v:
|
|
303
|
+
v: k.proportion * 100,
|
|
304
304
|
s: "%",
|
|
305
305
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
306
306
|
})})` : ""}
|
|
@@ -343,7 +343,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
343
343
|
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || p.value.length)
|
|
344
344
|
return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${$.value})`;
|
|
345
345
|
}
|
|
346
|
-
const ne =
|
|
346
|
+
const ne = w(() => _.value.map((t, s) => t.series.map((a, o) => ({
|
|
347
347
|
name: a.name,
|
|
348
348
|
color: a.color,
|
|
349
349
|
value: a.value,
|
|
@@ -358,14 +358,14 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
358
358
|
opacity: p.value.includes(a.id) ? 0.5 : 1,
|
|
359
359
|
segregate: () => ae(a),
|
|
360
360
|
isSegregated: p.value.includes(a.id)
|
|
361
|
-
})))), lt =
|
|
361
|
+
})))), lt = w(() => ({
|
|
362
362
|
cy: "nested-donuts-legend",
|
|
363
363
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
364
364
|
color: e.value.style.chart.legend.color,
|
|
365
365
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
366
366
|
paddingBottom: 12,
|
|
367
367
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
368
|
-
})), A =
|
|
368
|
+
})), A = w(() => {
|
|
369
369
|
const t = h.value.flatMap((a) => a.series.map((o) => ({
|
|
370
370
|
name: `${a.name} - ${o.name}`,
|
|
371
371
|
color: o.color,
|
|
@@ -381,19 +381,19 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
381
381
|
gt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
const q =
|
|
384
|
+
const q = w(() => {
|
|
385
385
|
const t = [
|
|
386
386
|
e.value.table.columnNames.series,
|
|
387
387
|
e.value.table.columnNames.value,
|
|
388
388
|
e.value.table.columnNames.percentage
|
|
389
389
|
], s = A.value.head.map((l, d) => {
|
|
390
|
-
const
|
|
390
|
+
const k = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
391
391
|
return [
|
|
392
392
|
{
|
|
393
393
|
color: l.color,
|
|
394
394
|
name: l.name
|
|
395
395
|
},
|
|
396
|
-
|
|
396
|
+
k,
|
|
397
397
|
isNaN(A.value.body[d] / l.total) ? "-" : x({
|
|
398
398
|
v: A.value.body[d] / l.total * 100,
|
|
399
399
|
s: "%",
|
|
@@ -451,7 +451,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
451
451
|
toggleAnnotator: re
|
|
452
452
|
}), (t, s) => (u(), n("div", {
|
|
453
453
|
ref_key: "nestedDonutsChart",
|
|
454
|
-
ref:
|
|
454
|
+
ref: B,
|
|
455
455
|
class: P(`vue-ui-nested-donuts ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
456
456
|
style: K(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
457
457
|
id: `nested_donuts_${$.value}`,
|
|
@@ -510,7 +510,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
510
510
|
isFullscreen: z.value,
|
|
511
511
|
isTooltip: y.value.showTooltip,
|
|
512
512
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
513
|
-
chartElement:
|
|
513
|
+
chartElement: B.value,
|
|
514
514
|
position: e.value.userOptions.position,
|
|
515
515
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
516
516
|
isAnnotation: J.value,
|
|
@@ -526,61 +526,68 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
526
526
|
visibility: r(ge) ? r(le) ? "visible" : "hidden" : "visible"
|
|
527
527
|
})
|
|
528
528
|
}, ut({ _: 2 }, [
|
|
529
|
+
t.$slots.menuIcon ? {
|
|
530
|
+
name: "menuIcon",
|
|
531
|
+
fn: b(({ isOpen: a, color: o }) => [
|
|
532
|
+
g(t.$slots, "menuIcon", V(M({ isOpen: a, color: o })), void 0, !0)
|
|
533
|
+
]),
|
|
534
|
+
key: "0"
|
|
535
|
+
} : void 0,
|
|
529
536
|
t.$slots.optionTooltip ? {
|
|
530
537
|
name: "optionTooltip",
|
|
531
|
-
fn:
|
|
532
|
-
|
|
538
|
+
fn: b(() => [
|
|
539
|
+
g(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
533
540
|
]),
|
|
534
|
-
key: "
|
|
541
|
+
key: "1"
|
|
535
542
|
} : void 0,
|
|
536
543
|
t.$slots.optionPdf ? {
|
|
537
544
|
name: "optionPdf",
|
|
538
|
-
fn:
|
|
539
|
-
|
|
545
|
+
fn: b(() => [
|
|
546
|
+
g(t.$slots, "optionPdf", {}, void 0, !0)
|
|
540
547
|
]),
|
|
541
|
-
key: "
|
|
548
|
+
key: "2"
|
|
542
549
|
} : void 0,
|
|
543
550
|
t.$slots.optionCsv ? {
|
|
544
551
|
name: "optionCsv",
|
|
545
|
-
fn:
|
|
546
|
-
|
|
552
|
+
fn: b(() => [
|
|
553
|
+
g(t.$slots, "optionCsv", {}, void 0, !0)
|
|
547
554
|
]),
|
|
548
|
-
key: "
|
|
555
|
+
key: "3"
|
|
549
556
|
} : void 0,
|
|
550
557
|
t.$slots.optionImg ? {
|
|
551
558
|
name: "optionImg",
|
|
552
|
-
fn:
|
|
553
|
-
|
|
559
|
+
fn: b(() => [
|
|
560
|
+
g(t.$slots, "optionImg", {}, void 0, !0)
|
|
554
561
|
]),
|
|
555
|
-
key: "
|
|
562
|
+
key: "4"
|
|
556
563
|
} : void 0,
|
|
557
564
|
t.$slots.optionTable ? {
|
|
558
565
|
name: "optionTable",
|
|
559
|
-
fn:
|
|
560
|
-
|
|
566
|
+
fn: b(() => [
|
|
567
|
+
g(t.$slots, "optionTable", {}, void 0, !0)
|
|
561
568
|
]),
|
|
562
|
-
key: "
|
|
569
|
+
key: "5"
|
|
563
570
|
} : void 0,
|
|
564
571
|
t.$slots.optionLabels ? {
|
|
565
572
|
name: "optionLabels",
|
|
566
|
-
fn:
|
|
567
|
-
|
|
573
|
+
fn: b(() => [
|
|
574
|
+
g(t.$slots, "optionLabels", {}, void 0, !0)
|
|
568
575
|
]),
|
|
569
|
-
key: "
|
|
576
|
+
key: "6"
|
|
570
577
|
} : void 0,
|
|
571
578
|
t.$slots.optionFullscreen ? {
|
|
572
579
|
name: "optionFullscreen",
|
|
573
|
-
fn:
|
|
574
|
-
|
|
580
|
+
fn: b(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
581
|
+
g(t.$slots, "optionFullscreen", V(M({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
575
582
|
]),
|
|
576
|
-
key: "
|
|
583
|
+
key: "7"
|
|
577
584
|
} : void 0,
|
|
578
585
|
t.$slots.optionAnnotator ? {
|
|
579
586
|
name: "optionAnnotator",
|
|
580
|
-
fn:
|
|
581
|
-
|
|
587
|
+
fn: b(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
588
|
+
g(t.$slots, "optionAnnotator", V(M({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
582
589
|
]),
|
|
583
|
-
key: "
|
|
590
|
+
key: "8"
|
|
584
591
|
} : void 0
|
|
585
592
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
586
593
|
G.value ? (u(), n("svg", {
|
|
@@ -603,57 +610,57 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
603
610
|
pointerEvents: "none"
|
|
604
611
|
}
|
|
605
612
|
}, [
|
|
606
|
-
|
|
613
|
+
g(t.$slots, "chart-background", {}, void 0, !0)
|
|
607
614
|
], 8, Vt)) : f("", !0),
|
|
608
|
-
|
|
615
|
+
m("defs", null, [
|
|
609
616
|
(u(!0), n(C, null, F(Oe.value, (a, o) => (u(), n("radialGradient", {
|
|
610
617
|
id: `radial_${$.value}_${o}`
|
|
611
618
|
}, [
|
|
612
|
-
s[5] || (s[5] =
|
|
619
|
+
s[5] || (s[5] = m("stop", {
|
|
613
620
|
offset: "0%",
|
|
614
621
|
"stop-color": "#FFFFFF",
|
|
615
622
|
"stop-opacity": "0"
|
|
616
623
|
}, null, -1)),
|
|
617
|
-
|
|
624
|
+
m("stop", {
|
|
618
625
|
offset: `${(1 - oe.value / Se.value[o]) * 100}%`,
|
|
619
626
|
"stop-color": r(Ee)("#FFFFFF", 0),
|
|
620
627
|
"stop-opacity": "0"
|
|
621
628
|
}, null, 8, Ut),
|
|
622
|
-
|
|
629
|
+
m("stop", {
|
|
623
630
|
offset: `${(1 - oe.value / Se.value[o] / 2) * 100}%`,
|
|
624
631
|
"stop-color": "#FFFFFF",
|
|
625
632
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
626
633
|
}, null, 8, Rt),
|
|
627
|
-
s[6] || (s[6] =
|
|
634
|
+
s[6] || (s[6] = m("stop", {
|
|
628
635
|
offset: "100%",
|
|
629
636
|
"stop-color": "#FFFFFF",
|
|
630
637
|
"stop-opacity": "0"
|
|
631
638
|
}, null, -1))
|
|
632
639
|
], 8, Mt))), 256))
|
|
633
640
|
]),
|
|
634
|
-
|
|
635
|
-
|
|
641
|
+
m("defs", null, [
|
|
642
|
+
m("filter", {
|
|
636
643
|
id: `blur_${$.value}`,
|
|
637
644
|
x: "-50%",
|
|
638
645
|
y: "-50%",
|
|
639
646
|
width: "200%",
|
|
640
647
|
height: "200%"
|
|
641
648
|
}, [
|
|
642
|
-
|
|
649
|
+
m("feGaussianBlur", {
|
|
643
650
|
in: "SourceGraphic",
|
|
644
651
|
stdDeviation: 2,
|
|
645
652
|
id: `blur_std_${$.value}`
|
|
646
653
|
}, null, 8, Et),
|
|
647
|
-
s[7] || (s[7] =
|
|
654
|
+
s[7] || (s[7] = m("feColorMatrix", {
|
|
648
655
|
type: "saturate",
|
|
649
656
|
values: "0"
|
|
650
657
|
}, null, -1))
|
|
651
658
|
], 8, Bt),
|
|
652
|
-
|
|
659
|
+
m("filter", {
|
|
653
660
|
id: `shadow_${$.value}`,
|
|
654
661
|
"color-interpolation-filters": "sRGB"
|
|
655
662
|
}, [
|
|
656
|
-
|
|
663
|
+
m("feDropShadow", {
|
|
657
664
|
dx: "0",
|
|
658
665
|
dy: "0",
|
|
659
666
|
stdDeviation: "10",
|
|
@@ -664,7 +671,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
664
671
|
]),
|
|
665
672
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
666
673
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
667
|
-
|
|
674
|
+
m("path", {
|
|
668
675
|
class: "vue-ui-donut-arc-path",
|
|
669
676
|
d: l.arcSlice,
|
|
670
677
|
fill: r(Ee)(l.color, 80),
|
|
@@ -676,7 +683,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
676
683
|
]))), 256)),
|
|
677
684
|
e.value.style.chart.useGradient ? (u(), n("g", Ht, [
|
|
678
685
|
(u(!0), n(C, null, F(Oe.value, (a, o) => (u(), n("g", null, [
|
|
679
|
-
|
|
686
|
+
m("path", {
|
|
680
687
|
d: a.donut.arcSlice,
|
|
681
688
|
fill: `url(#radial_${$.value}_${o})`,
|
|
682
689
|
stroke: "transparent",
|
|
@@ -708,8 +715,8 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
708
715
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
709
716
|
key: 0,
|
|
710
717
|
class: P({ animated: e.value.useCssAnimation }),
|
|
711
|
-
"text-anchor": r(
|
|
712
|
-
x: r(
|
|
718
|
+
"text-anchor": r(R)(l, !0).anchor,
|
|
719
|
+
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
713
720
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
714
721
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
715
722
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -718,8 +725,8 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
718
725
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
719
726
|
key: 1,
|
|
720
727
|
class: P({ animated: e.value.useCssAnimation }),
|
|
721
|
-
"text-anchor": r(
|
|
722
|
-
x: r(
|
|
728
|
+
"text-anchor": r(R)(l, !0).anchor,
|
|
729
|
+
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
723
730
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
724
731
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
725
732
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -738,8 +745,8 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
738
745
|
ue(l) && y.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
739
746
|
key: 2,
|
|
740
747
|
class: P({ animated: e.value.useCssAnimation }),
|
|
741
|
-
"text-anchor": r(
|
|
742
|
-
x: r(
|
|
748
|
+
"text-anchor": r(R)(l, !0).anchor,
|
|
749
|
+
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
743
750
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
744
751
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
745
752
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -760,24 +767,24 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
760
767
|
])) : f("", !0),
|
|
761
768
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
762
769
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
763
|
-
|
|
770
|
+
m("path", {
|
|
764
771
|
d: l.arcSlice,
|
|
765
772
|
fill: Je.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
766
|
-
onMouseenter: (
|
|
773
|
+
onMouseenter: (k) => tt({
|
|
767
774
|
datapoint: l,
|
|
768
775
|
seriesIndex: l.seriesIndex
|
|
769
776
|
}),
|
|
770
|
-
onClick: (
|
|
771
|
-
onMouseleave: s[0] || (s[0] = (
|
|
777
|
+
onClick: (k) => je({ datapoint: l, index: d }),
|
|
778
|
+
onMouseleave: s[0] || (s[0] = (k) => {
|
|
772
779
|
j.value = !1, Ae.value = null, H.value = null, W.value = null;
|
|
773
780
|
})
|
|
774
781
|
}, null, 40, tl)
|
|
775
782
|
]))), 256))
|
|
776
783
|
]))), 256)),
|
|
777
|
-
|
|
784
|
+
g(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
778
785
|
], 14, zt)) : f("", !0),
|
|
779
786
|
t.$slots.watermark ? (u(), n("div", ll, [
|
|
780
|
-
|
|
787
|
+
g(t.$slots, "watermark", V(M({ isPrinting: r($e) || r(Le) })), void 0, !0)
|
|
781
788
|
])) : f("", !0),
|
|
782
789
|
G.value ? f("", !0) : (u(), D(Ft, {
|
|
783
790
|
key: 6,
|
|
@@ -802,16 +809,16 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
802
809
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
803
810
|
position: e.value.style.chart.tooltip.position,
|
|
804
811
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
805
|
-
parent:
|
|
812
|
+
parent: B.value,
|
|
806
813
|
content: ee.value,
|
|
807
814
|
isFullscreen: z.value,
|
|
808
815
|
isCustom: r(Ge)(e.value.style.chart.tooltip.customFormat)
|
|
809
816
|
}, {
|
|
810
|
-
"tooltip-before":
|
|
811
|
-
|
|
817
|
+
"tooltip-before": b(() => [
|
|
818
|
+
g(t.$slots, "tooltip-before", V(M({ ...se.value })), void 0, !0)
|
|
812
819
|
]),
|
|
813
|
-
"tooltip-after":
|
|
814
|
-
|
|
820
|
+
"tooltip-after": b(() => [
|
|
821
|
+
g(t.$slots, "tooltip-after", V(M({ ...se.value })), void 0, !0)
|
|
815
822
|
]),
|
|
816
823
|
_: 3
|
|
817
824
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -827,12 +834,12 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
827
834
|
config: lt.value,
|
|
828
835
|
onClickMarker: s[1] || (s[1] = ({ legend: l }) => ae(l))
|
|
829
836
|
}, {
|
|
830
|
-
legendTitle:
|
|
837
|
+
legendTitle: b(({ titleSet: l }) => [
|
|
831
838
|
l[0] && l[0].arcOf ? (u(), n("div", al, S(l[0].arcOf), 1)) : f("", !0)
|
|
832
839
|
]),
|
|
833
|
-
item:
|
|
834
|
-
|
|
835
|
-
onClick: (
|
|
840
|
+
item: b(({ legend: l, index: d }) => [
|
|
841
|
+
m("div", {
|
|
842
|
+
onClick: (k) => ae(l),
|
|
836
843
|
style: K(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
|
|
837
844
|
}, [
|
|
838
845
|
Q(S(l.name) + ": " + S(r(E)(
|
|
@@ -861,7 +868,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
861
868
|
ref_key: "chartLegend",
|
|
862
869
|
ref: te
|
|
863
870
|
}, [
|
|
864
|
-
|
|
871
|
+
g(t.$slots, "legend", { legend: ne.value }, void 0, !0)
|
|
865
872
|
], 512)),
|
|
866
873
|
t.$slots.source ? (u(), n("div", {
|
|
867
874
|
key: 9,
|
|
@@ -869,7 +876,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
869
876
|
ref: ce,
|
|
870
877
|
dir: "auto"
|
|
871
878
|
}, [
|
|
872
|
-
|
|
879
|
+
g(t.$slots, "source", {}, void 0, !0)
|
|
873
880
|
], 512)) : f("", !0),
|
|
874
881
|
G.value ? (u(), D(Nt, {
|
|
875
882
|
key: 10,
|
|
@@ -887,7 +894,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
887
894
|
}
|
|
888
895
|
}
|
|
889
896
|
}, {
|
|
890
|
-
content:
|
|
897
|
+
content: b(() => [
|
|
891
898
|
(u(), D(xt, {
|
|
892
899
|
key: `table_${ye.value}`,
|
|
893
900
|
colNames: q.value.colNames,
|
|
@@ -897,13 +904,13 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
897
904
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
898
905
|
onClose: s[2] || (s[2] = (a) => y.value.showTable = !1)
|
|
899
906
|
}, {
|
|
900
|
-
th:
|
|
901
|
-
|
|
907
|
+
th: b(({ th: a }) => [
|
|
908
|
+
m("div", {
|
|
902
909
|
innerHTML: a,
|
|
903
910
|
style: { display: "flex", "align-items": "center" }
|
|
904
911
|
}, null, 8, sl)
|
|
905
912
|
]),
|
|
906
|
-
td:
|
|
913
|
+
td: b(({ td: a }) => [
|
|
907
914
|
Q(S(a.name || a), 1)
|
|
908
915
|
]),
|
|
909
916
|
_: 1
|
|
@@ -913,7 +920,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
913
920
|
}, 8, ["config"])) : f("", !0)
|
|
914
921
|
], 46, Dt));
|
|
915
922
|
}
|
|
916
|
-
}, Ll = /* @__PURE__ */ Pt(ul, [["__scopeId", "data-v-
|
|
923
|
+
}, Ll = /* @__PURE__ */ Pt(ul, [["__scopeId", "data-v-f2992cb6"]]);
|
|
917
924
|
export {
|
|
918
925
|
Ll as default
|
|
919
926
|
};
|